Igor Zelmanovich [Sun, 23 Dec 2007 12:08:33 +0000 (12:08 -0000)]
for TARGET_J2EE only:
implement integration with JSF.
svn path=/trunk/mcs/; revision=91825
Noam Lampert [Sun, 23 Dec 2007 10:43:31 +0000 (10:43 -0000)]
Allow compilation in Java
svn path=/trunk/mcs/; revision=91824
Igor Zelmanovich [Sun, 23 Dec 2007 10:36:14 +0000 (10:36 -0000)]
for TARGET_J2EE only:
implement integration with JSF.
svn path=/trunk/mcs/; revision=91823
Marek Safar [Sun, 23 Dec 2007 10:17:27 +0000 (10:17 -0000)]
2007-12-23 Marek Safar <marek.safar@gmail.com>
A test for bug #348076
svn path=/trunk/mcs/; revision=91822
Marek Safar [Sun, 23 Dec 2007 10:16:10 +0000 (10:16 -0000)]
2007-12-23 Marek Safar <marek.safar@gmail.com>
A fix for bug #348076
* ecore.cs (FieldExpr.DoResolve): Allow any variable based expression.
svn path=/trunk/mcs/; revision=91821
Igor Zelmanovich [Sun, 23 Dec 2007 08:42:23 +0000 (08:42 -0000)]
refactoring
svn path=/trunk/mcs/; revision=91820
Carlos Alberto Cortez [Sun, 23 Dec 2007 03:21:40 +0000 (03:21 -0000)]
2007-12-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListView.cs: Implement -finally- support for dnd, by calling
OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
authors list ;-).
* ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
simple calculation of distances for all the items in the owner
listview.
svn path=/trunk/mcs/; revision=91819
Zoltan Varga [Sat, 22 Dec 2007 23:40:02 +0000 (23:40 -0000)]
2007-12-23 Zoltan Varga <vargaz@gmail.com>
* threads.h: Don't include the internal threads-types.h header file. Fixes
#349952.
svn path=/trunk/mono/; revision=91816
Zoltan Varga [Sat, 22 Dec 2007 23:30:20 +0000 (23:30 -0000)]
2007-12-23 Zoltan Varga <vargaz@gmail.com>
* src/glib.h: Include <limits.h>. Fixes #350482.
svn path=/trunk/mono/; revision=91815
Miguel de Icaza [Sat, 22 Dec 2007 21:51:54 +0000 (21:51 -0000)]
Add early implementation (will be redone with 2.0 anyways) of IsolatedStorage
svn path=/trunk/mcs/; revision=91813
Marek Safar [Sat, 22 Dec 2007 19:32:50 +0000 (19:32 -0000)]
New test.
svn path=/trunk/mcs/; revision=91812
Marek Safar [Sat, 22 Dec 2007 19:32:22 +0000 (19:32 -0000)]
2007-12-22 Marek Safar <marek.safar@gmail.com>
* ecore.cs (MethodGroupExpr.OverloadResolve): Set type arguments for
discovered extension methods.
svn path=/trunk/mcs/; revision=91811
Marek Safar [Sat, 22 Dec 2007 13:18:15 +0000 (13:18 -0000)]
New test.
svn path=/trunk/mcs/; revision=91809
Marek Safar [Sat, 22 Dec 2007 13:17:48 +0000 (13:17 -0000)]
Error message updates
svn path=/trunk/mcs/; revision=91808
Marek Safar [Sat, 22 Dec 2007 13:17:22 +0000 (13:17 -0000)]
2007-12-22 Marek Safar <marek.safar@gmail.com>
* ecore.cs, namespace.cs, expression.cs: Removed broken ResolveGeneric
method.
svn path=/trunk/mcs/; revision=91807
Gert Driesen [Sat, 22 Dec 2007 09:48:37 +0000 (09:48 -0000)]
* Process.cs: In PriorityClass setter, first check whether value is
valid and remove LAMESPEC since the documentation has been corrected
for .NET 3.5. Code formatting.
* ProcessTest.cs: Added tests for PriorityClass.
svn path=/trunk/mcs/; revision=91804
Geoff Norton [Sat, 22 Dec 2007 00:22:45 +0000 (00:22 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Ensure that we create WindowMapping handles
for windows that are originally created as invisible. Fixes missing
main window in paint-mono.
svn path=/trunk/mcs/; revision=91800
Miguel de Icaza [Fri, 21 Dec 2007 22:58:18 +0000 (22:58 -0000)]
Add support for OSX
svn path=/trunk/mcs/; revision=91798
Miguel de Icaza [Fri, 21 Dec 2007 22:40:19 +0000 (22:40 -0000)]
update
svn path=/trunk/mono/; revision=91797
Miguel de Icaza [Fri, 21 Dec 2007 22:34:49 +0000 (22:34 -0000)]
off by one
svn path=/trunk/mcs/; revision=91796
Miguel de Icaza [Fri, 21 Dec 2007 22:33:55 +0000 (22:33 -0000)]
Require a prefix
svn path=/trunk/mcs/; revision=91795
Miguel de Icaza [Fri, 21 Dec 2007 22:18:40 +0000 (22:18 -0000)]
Add docs
svn path=/trunk/mono/; revision=91794
Miguel de Icaza [Fri, 21 Dec 2007 22:18:20 +0000 (22:18 -0000)]
2007-12-21 Miguel de Icaza <miguel@novell.com>
* report.cs (ErrorMessage): Add support for using colors on
terminals that support it.
svn path=/trunk/mcs/; revision=91793
Geoff Norton [Fri, 21 Dec 2007 21:55:30 +0000 (21:55 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* Dnd.cs: Flush the message queue during drag callbacks. This allows
queued paints to occur when we're dragging.
svn path=/trunk/mcs/; revision=91792
Geoff Norton [Fri, 21 Dec 2007 21:27:37 +0000 (21:27 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* Dnd.cs: Add support for D&D of objects internally and serialized
objects across instances.
svn path=/trunk/mcs/; revision=91790
Marek Habersack [Fri, 21 Dec 2007 20:59:53 +0000 (20:59 -0000)]
2007-12-21 Marek Habersack <mhabersack@novell.com>
* BaseCompiler.cs: Refactoring. Move the provider creation code to
an internal static method, so that other piece of code which need
to create the provider can do it using the same code.
Added setters to several internal properties, so that they can be
shared with derivative classes.
* WebServiceCompiler.cs: adjust to the changes above. Fixes bug
#350398.
* CachingCompiler.cs: adjust to the changes above. Also some
refactoring.
svn path=/trunk/mcs/; revision=91789
Zoltan Varga [Fri, 21 Dec 2007 20:17:42 +0000 (20:17 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* mini.c (setup_jit_tls_data): Use the MONO_ARCH_INIT_TOP_LMF_ENTRY macro if
defined.
* mini-amd64.h mini-amd64.c exceptions-amd64.c tramp-amd64.c: Rename lmf->ebp to
lmf->rbp.
svn path=/trunk/mono/; revision=91788
Zoltan Varga [Fri, 21 Dec 2007 20:00:42 +0000 (20:00 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_find_jit_info): Fix the detection of whenever
the top LMF entry belongs to the current method.
svn path=/trunk/mono/; revision=91786
Rodrigo Kumpera [Fri, 21 Dec 2007 19:26:09 +0000 (19:26 -0000)]
2007-12-21 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: added enum value IL_CODE_FLAG_WAS_TARGET, to represent
instructions that were target of branches or are at protected block boundaries.
* verify.c (in_same_block): handle filter clauses.
* verify.c (is_valid_branch_instruction): added. checks the target of
instructions br or brtrue/false.
* verify.c (is_valid_cmp_branch_instruction): added. checks the target of
binary branch instructions such as beq and bge.
* verify.c (init_stack_with_value): renamed to init_stack_with_value_at_exception_boundary
and made it pin the instruction as been part of the exception block.
* verify.c (do_boolean_branch_op): use is_valid_branch_instruction instead
of in_same_block.
* verify.c (do_branch_op): use is_valid_cmp_branch_instruction instead
of in_same_block.
* verify.c (do_ret): ret from a protected block is unverifiable and
not invalid.
* verify.c (do_static_branch): verify br and br.s instructions.
* verify.c (merge_stacks): add extra param to support detection
of branches in the middle of instructions.
* verify.c (mono_method_verify): verify branches and exception blocks
that target the middle of instructions. Proper verification of br and br.s.
svn path=/trunk/mono/; revision=91784
Zoltan Varga [Fri, 21 Dec 2007 19:04:24 +0000 (19:04 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* reflection.c (reflection_methodbuilder_from_ctor_builder): Initialize
skip_visibility field.
(reflection_methodbuilder_from_dynamic_method): Ditto.
svn path=/trunk/mono/; revision=91783
Rodrigo Kumpera [Fri, 21 Dec 2007 19:04:20 +0000 (19:04 -0000)]
2007-12-21 Rodrigo Kumpera <rkumpera@novell.com>
* make_branch_test.sh: new test generator.
* make_exception_branch_test.sh: added
support to test generator to specify
the expected result.
* make_tests.sh: some results for
make_exception_branch_test.sh were
wrong, fixed that.
* make_tests.sh: added some tests
to beq and bge.
* make_tests.sh added tests for br.
* valid_exception_sequence.il: new test
svn path=/trunk/mono/; revision=91782
Rolf Bjarne Kvinge [Fri, 21 Dec 2007 18:45:39 +0000 (18:45 -0000)]
* Test/Microsoft.CSharp/CodeGeneratorFromTypeTest.cs,
Test/System.CodeDom.Compiler/CodeGeneratorFromTypeTestBase.cs,
Test/Microsoft.VisualBasic/CodeGeneratorFromTypeTest.cs: Added
PartialTypeTest.
* Microsoft.VisualBasic/VBCodeGenerator.cs: Split array of keywords in
two, one for 1.1 and one for 2.0. Add some 2.0 specific keywords.
When writing a type, escape the name of the type if necessary.
Output "Partial" if a type is partial.
svn path=/trunk/mcs/; revision=91780
Zoltan Varga [Fri, 21 Dec 2007 17:41:03 +0000 (17:41 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_compute_gc_descriptor): Remove more unused icall
registrations. Fixes #348193.
svn path=/trunk/mono/; revision=91778
Geoff Norton [Fri, 21 Dec 2007 17:25:25 +0000 (17:25 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* XplatUICarbon.cs: Register our D&D handler. Register our custom
subclass handler for com.novell.mwfview subclassing HIView. Implement
Pasteboard and Dnd methods.
svn path=/trunk/mcs/; revision=91777
Geoff Norton [Fri, 21 Dec 2007 17:24:23 +0000 (17:24 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* System.Windows.Forms.dll.sources: Add Dnd.cs, Pasteboard.cs and HIObjectHandler.cs
to the build
svn path=/trunk/mcs/; revision=91776
Geoff Norton [Fri, 21 Dec 2007 17:21:48 +0000 (17:21 -0000)]
2007-12-21 Geoff Norton <gnorton@novell.com>
* *Handler.cs: Update the ProcessEvent method to pass the callref
in as well.
* ControlHandler.cs: Direct the kEventControlDrag events to our
Dnd implementation.
* EventHandler.cs: Register kEventControlDrag event callbacks and
HIObject subclassing callbacks.
* KeyboardHandler.cs: Keep some key modifiers in a Keys state.
* MouseHandler.cs: Dont prevent non-hwnd events from going to the next
Event handler.
* Dnd.cs: Initial D&D implementation. Supports dragging internally
and from finder->mwf apps.
* Pasteboard.cs: Initial clipboard support.
* HIObjectHandler.cs: Subclass HIView and run our own specialized
native object constructor. This is required for dnd.
svn path=/trunk/mcs/; revision=91775
Marek Safar [Fri, 21 Dec 2007 13:21:13 +0000 (13:21 -0000)]
New test.
svn path=/trunk/mcs/; revision=91761
Marek Safar [Fri, 21 Dec 2007 13:20:56 +0000 (13:20 -0000)]
New test.
svn path=/trunk/mcs/; revision=91760
Marek Safar [Fri, 21 Dec 2007 13:20:40 +0000 (13:20 -0000)]
2007-12-21 Marek Safar <marek.safar@gmail.com>
* ecore.cs: Use information about expanded params for error reporting.
svn path=/trunk/mcs/; revision=91759
Marek Safar [Fri, 21 Dec 2007 09:54:56 +0000 (09:54 -0000)]
New test.
svn path=/trunk/mcs/; revision=91758
Marek Safar [Fri, 21 Dec 2007 09:45:57 +0000 (09:45 -0000)]
2007-12-21 Marek Safar <marek.safar@gmail.com>
* ecore.cs, generic.cs, delegate.cs: Refactoring of method overloading code
and logic for params overloads.
svn path=/trunk/mcs/; revision=91757
Carlos Alberto Cortez [Fri, 21 Dec 2007 00:43:18 +0000 (00:43 -0000)]
2007-12-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When we got focus, give focus to first item if there
wasn't any pervious focused item. Also update navigation to depend on
SelectedIndex rather than FocusedItem, just as .Net does.
Fixes #349174.
svn path=/trunk/mcs/; revision=91749
Jb Evain [Fri, 21 Dec 2007 00:18:49 +0000 (00:18 -0000)]
2007-12-21 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionReader.cs
Mono.Cecil/AggressiveReflectionReader.cs
Mono.Cecil.Signatures/SignatureReader.cs:
Don't crash on force resolve for nested arrays
in custom attributes.
svn path=/trunk/mcs/; revision=91745
Zoltan Varga [Thu, 20 Dec 2007 22:56:41 +0000 (22:56 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* mini.c: Update after renaming of mono_thread_get_pending_exception ().
svn path=/trunk/mono/; revision=91742
Zoltan Varga [Thu, 20 Dec 2007 22:55:32 +0000 (22:55 -0000)]
2007-12-21 Zoltan Varga <vargaz@gmail.com>
* threads.h: Move the internal mono_thread_get_pending_exception () to
threads-types.h and rename it to mono_thread_get_undeniable_exception ().
svn path=/trunk/mono/; revision=91741
Zoltan Varga [Thu, 20 Dec 2007 21:47:35 +0000 (21:47 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_compute_gc_descriptor): Remove unused GC_gcj_fast_malloc
icall registration. Fixes #348193.
svn path=/trunk/mono/; revision=91739
Zoltan Varga [Thu, 20 Dec 2007 19:49:14 +0000 (19:49 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* tramp-ia64.c (mono_arch_create_trampoline_code): Fix a warning.
svn path=/trunk/mono/; revision=91736
Zoltan Varga [Thu, 20 Dec 2007 19:43:17 +0000 (19:43 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* tramp-ia64.c (mono_arch_create_trampoline_code): Ditto.
* tramp-sparc.c (mono_arch_create_trampoline_code): Check for thread interruption.
svn path=/trunk/mono/; revision=91735
Zoltan Varga [Thu, 20 Dec 2007 19:27:25 +0000 (19:27 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* Makefile.am: Enable the async-exc-compilation test on x86/amd64.
svn path=/trunk/mono/; revision=91734
Zoltan Varga [Thu, 20 Dec 2007 19:26:25 +0000 (19:26 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* tramp-amd64.c (mono_arch_create_trampoline_code): Ditto.
* tramp-x86.c (mono_arch_create_trampoline_code): Check for thread interruption.
svn path=/trunk/mono/; revision=91733
Zoltan Varga [Thu, 20 Dec 2007 18:00:35 +0000 (18:00 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* cpu-amd64.md mini-amd64.h mini-amd64.c inssel-amd64.brg: Add ulong->double
implementation.
* basic-float.cs: Add an ulong->double cast test.
svn path=/trunk/mono/; revision=91725
Jonathan Pobst [Thu, 20 Dec 2007 17:26:24 +0000 (17:26 -0000)]
Revert r91713. It breaks MonoTests.System.Windows.Forms.RichTextBoxTest.SelectionFontTest : A1.
svn path=/trunk/mcs/; revision=91720
Zoltan Varga [Thu, 20 Dec 2007 16:07:08 +0000 (16:07 -0000)]
2007-12-20 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Put all runtime invoke wrappers
for corlib classes into object. Fixes #349621.
svn path=/trunk/mono/; revision=91715
Jonathan Pobst [Thu, 20 Dec 2007 15:06:43 +0000 (15:06 -0000)]
2007-12-20 Jonathan Pobst <monkey@jpobst.com>
* Line.cs, TextControl.cs: Apply patch from Luke Page that finds the
end of a tag better, fixing a IndexOutOfRangeException.
[Fixes bug #349926]
svn path=/trunk/mcs/; revision=91713
Gert Driesen [Thu, 20 Dec 2007 14:50:48 +0000 (14:50 -0000)]
* TypeTest.cs: Added GetProperty and GetProperties tests for bug
#349078.
svn path=/trunk/mcs/; revision=91712
Gert Driesen [Thu, 20 Dec 2007 14:48:10 +0000 (14:48 -0000)]
* icall.c (property_accessor_nonpublic): new function to determine
whether an accessor allows a property to be considered non-public.
Returns false for private accessor(s) from parent class, and internal
accessor(s) from parent on 2.0 profile (and higher).
(ves_icall_Type_GetPropertiesByName): Use newly introduced function
to determine whether property should be included if NonPublic flag
is set. Fixes bug #349078.
svn path=/trunk/mono/; revision=91711
Martin Baulig [Thu, 20 Dec 2007 14:33:02 +0000 (14:33 -0000)]
Destroy this week's work.
svn path=/trunk/mono/; revision=91710
Arina Itkes [Thu, 20 Dec 2007 14:30:11 +0000 (14:30 -0000)]
Fix for 9491 bug. Socket should not throw exception when it closed by another thread.
svn path=/trunk/mcs/; revision=91709
Stephane Delcroix [Thu, 20 Dec 2007 13:03:34 +0000 (13:03 -0000)]
2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
* TimeZoneInfoTest.cs:
* TimeZoneInfo.AdjustmentRule.cs:
* TimeZoneInfo.TransitionTime.cs: Finally adding the 60 tests.
svn path=/trunk/mcs/; revision=91702
Stephane Delcroix [Thu, 20 Dec 2007 13:02:53 +0000 (13:02 -0000)]
2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
* TimeZoneInfo.cs: adapting length check to parse TZif2 files
introduced by glibc 2.6.x.
svn path=/trunk/mcs/; revision=91701
Igor Zelmanovich [Thu, 20 Dec 2007 13:02:47 +0000 (13:02 -0000)]
refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91700
Igor Zelmanovich [Thu, 20 Dec 2007 12:42:11 +0000 (12:42 -0000)]
2007-12-20 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: refactoring:
split method such InternalProcessRequest to several methods.
It is required for implementing alternative hosting under TARGET_J2EE.
svn path=/trunk/mcs/; revision=91699
Rodrigo Kumpera [Thu, 20 Dec 2007 12:40:56 +0000 (12:40 -0000)]
2007-12-20 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (init_stack_with_value): added
* verify.c (mono_method_verify): extracted common
code for exception initialization into init_stack_with_value.
* verify.c (mono_method_verify): initialize the exception
for handler clauses as well.
* verify.c (mono_method_verify): fix the exception clause
ordering rules, it should use handler end offset and not
start offset.
svn path=/trunk/mono/; revision=91698
Rodrigo Kumpera [Thu, 20 Dec 2007 12:37:27 +0000 (12:37 -0000)]
2007-12-20 Rodrigo Kumpera <rkumpera@novell.com>
*valid_exception_sequence.il: new test
for what blocks take an exception on
stack at the begin.
svn path=/trunk/mono/; revision=91697
Gert Driesen [Thu, 20 Dec 2007 11:59:41 +0000 (11:59 -0000)]
* AppDomain.cs: Added check for null AssemblyName, and invalid
AssemblyName.Name to DefineDynamicAssembly overloads. Loosely based on
patch provided by Cedric Vivier. Fixes bug #349272.
* AppDomainTest.cs: Added tests for AssemblyName argument checks in
DefineDynamicAssembly overloads.
svn path=/trunk/mcs/; revision=91695
Marek Habersack [Thu, 20 Dec 2007 11:31:45 +0000 (11:31 -0000)]
2007-12-20 Marek Habersack <mhabersack@novell.com>
* ClientScriptManager.cs: write hidden fields inside a div only in
the 2.0 profile. Fixes bug #349991
svn path=/trunk/mcs/; revision=91691
Paolo Molaro [Thu, 20 Dec 2007 10:56:06 +0000 (10:56 -0000)]
Thu Dec 20 12:27:24 CET 2007 Paolo Molaro <lupus@ximian.com>
* rawbuffer.c: remove useless warning.
svn path=/trunk/mono/; revision=91689
Paolo Molaro [Thu, 20 Dec 2007 10:41:44 +0000 (10:41 -0000)]
Thu Dec 20 12:10:38 CET 2007 Paolo Molaro <lupus@ximian.com>
* threads.h, threads-types.h: move functions to the correct header
(fixes bug#349952).
svn path=/trunk/mono/; revision=91688
Igor Zelmanovich [Thu, 20 Dec 2007 10:26:04 +0000 (10:26 -0000)]
refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91686
Igor Zelmanovich [Thu, 20 Dec 2007 10:11:28 +0000 (10:11 -0000)]
2007-12-20 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs:
* Control.cs:
* ClientScriptManager.cs:
refactoring: removed Page.LifeCycle internal API,
used Control's stateMask flag instead.
svn path=/trunk/mcs/; revision=91685
Noam Lampert [Thu, 20 Dec 2007 10:07:23 +0000 (10:07 -0000)]
Remove TimeoutManager.cs to match sources file.
Correct references.
svn path=/trunk/mcs/; revision=91684
Marek Safar [Thu, 20 Dec 2007 09:09:05 +0000 (09:09 -0000)]
Fixed wrong test.
svn path=/trunk/mcs/; revision=91682
Igor Zelmanovich [Thu, 20 Dec 2007 08:19:19 +0000 (08:19 -0000)]
refactoring
svn path=/branches/mainsoft/JSF/mcs/; revision=91680
Stephane Delcroix [Thu, 20 Dec 2007 07:48:52 +0000 (07:48 -0000)]
2007-12-20 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: set [Min|Max]Value to UTC. Fixes #349621.
svn path=/trunk/mcs/; revision=91679
Carlos Alberto Cortez [Thu, 20 Dec 2007 05:17:58 +0000 (05:17 -0000)]
2007-12-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBoxTest.cs: New assertions in FindStringTest and
FindStringExactTest methods, needed to make sure we are doing the right
thing in those methods.
svn path=/trunk/mcs/; revision=91678
Carlos Alberto Cortez [Thu, 20 Dec 2007 05:16:25 +0000 (05:16 -0000)]
2007-12-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Both FindString and FindStringExact methods must do an
case insensitive search, should allow the last valid index to be
passed in the overload taking an initial index, and should also
continue searching from the top back to the specified index when it
reaches the bottom.
svn path=/trunk/mcs/; revision=91677
Jb Evain [Wed, 19 Dec 2007 22:05:02 +0000 (22:05 -0000)]
2007-12-19 Jb Evain <jbevain@novell.com>
* Makefile: include MicrosoftAjaxLibrary/License.htm
in the dist.
svn path=/trunk/mcs/; revision=91665
Jonathan Pobst [Wed, 19 Dec 2007 21:32:47 +0000 (21:32 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Apply patch from Luke Page that fixes a scrolling
redraw issue, and allows RichTextBox to draw colored text even while
disabled or readonly.
svn path=/trunk/mcs/; revision=91662
Jonathan Pobst [Wed, 19 Dec 2007 21:07:35 +0000 (21:07 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
and doesn't grey text in a disabled RichTextBox.
svn path=/trunk/mcs/; revision=91660
Jonathan Pobst [Wed, 19 Dec 2007 20:37:59 +0000 (20:37 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* RichTextBox.cs: Apply patch from Luke Page that adds better support
for many RTF commands: quad alignment, separate formatting for blocks
inside groups, and ParDef support. Makes the test case from bug #324589
look much better.
svn path=/trunk/mcs/; revision=91658
Jonathan Pobst [Wed, 19 Dec 2007 20:24:02 +0000 (20:24 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* RTF.cs: Patch from Luke Page that ignores CRLF during tokenisation
and to support multiple groups inside an optional destination. Fixes
a part of bug #324589.
svn path=/trunk/mcs/; revision=91656
Jonathan Pobst [Wed, 19 Dec 2007 19:39:35 +0000 (19:39 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* LineTag.cs: Fix an error in the new Draw method that caused
a crash when rendering the document on bug #324589.
svn path=/trunk/mcs/; revision=91653
Jonathan Pobst [Wed, 19 Dec 2007 19:13:09 +0000 (19:13 -0000)]
2007-12-19 Jonathan Pobst <monkey@jpobst.com>
* Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
TextControl.cs: Apply patch from Luke Page that adds support
for URL links in RichTextBox.
[Fixes enhancement #342516]
svn path=/trunk/mcs/; revision=91652
Rodrigo Kumpera [Wed, 19 Dec 2007 18:20:56 +0000 (18:20 -0000)]
2007-12-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): proper verification
of exception handling clauses ranges and fallthru in
and out of protected blocks.
svn path=/trunk/mono/; revision=91649
Martin Baulig [Wed, 19 Dec 2007 17:54:25 +0000 (17:54 -0000)]
2007-12-19 Martin Baulig <martin@ximian.com>
* mono-dbg.[ch]: New files. Initial version of the debugger
runtime library. We only use this for generics at the moment.
* Makefile.am: Create libmono-dbg.la if the debugger is supported;
also install <mono/jit/mono-dbg.h>.
svn path=/trunk/mono/; revision=91642
Rodrigo Kumpera [Wed, 19 Dec 2007 17:51:04 +0000 (17:51 -0000)]
2007-12-19 Rodrigo Kumpera <rkumpera@novell.com>
* invalid_empty_catch_block.il
* invalid_empty_fault_block.il
* invalid_empty_filter_block.il
* invalid_empty_finally_block.il
* invalid_empty_handler_block.il
* invalid_empty_try_block.il
tests for empty protected blocks.
* invalid_exception_blocks_order.il:
test for the required ordering of exception
clauses.
* invalid_finally_block_overlap_try_block.il
* invalid_try_block_includes_catch_block.il
* invalid_try_block_inside_filter_block.il
tests for ill formed exception clauses.
* invalid_fallout_of_filter_block.il
* invalid_fallout_of_handler_block.il
* invalid_fallthru_into_filter_block.il
* invalid_fallthru_into_handler_block.il
* unverifiable_fallout_of_catch_block.il
* unverifiable_fallout_of_fault_block.il
* unverifiable_fallout_of_finally_block.il
* unverifiable_fallout_of_try_block.il
* unverifiable_fallthru_into_catch_block.il
* unverifiable_fallthru_into_fault_block.il
* unverifiable_fallthru_into_finally_block.il
* valid_end_try_block_with_throw.il:
tests for fallthru in and out of protected blocks.
svn path=/trunk/mono/; revision=91641
Gert Driesen [Wed, 19 Dec 2007 17:06:15 +0000 (17:06 -0000)]
* HttpCookieCollectionTest.cs: Added test for string indexer and
Get (String) overload.
svn path=/trunk/mcs/; revision=91638
Igor Zelmanovich [Wed, 19 Dec 2007 16:54:33 +0000 (16:54 -0000)]
typo fix
svn path=/branches/mainsoft/JSF/mcs/; revision=91637
Sebastien Pouliot [Wed, 19 Dec 2007 16:23:09 +0000 (16:23 -0000)]
2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
* TestGraphics.cs: Add test case on TransformPoints for #349800.
svn path=/trunk/mcs/; revision=91635
Sebastien Pouliot [Wed, 19 Dec 2007 16:22:03 +0000 (16:22 -0000)]
2007-12-19 Sebastien Pouliot <sebastien@ximian.com>
* Graphics.cs: Fix Point/PointF typo in FromUnManagedMemoryToPoint.
Added a few space to make it easier to read those methods. Fix #349800
svn path=/trunk/mcs/; revision=91634
Stephane Delcroix [Wed, 19 Dec 2007 15:14:10 +0000 (15:14 -0000)]
2007-12-19 Stephane Delcroix <sdelcroix@novell.com>
* DateTime.cs:
* DateTimeOffset.cs:
* DateTimeUtils.cs: factored out the common pieces of DT and DTO into DTU.
svn path=/trunk/mcs/; revision=91633
Rodrigo Kumpera [Wed, 19 Dec 2007 14:58:36 +0000 (14:58 -0000)]
2007-12-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): fixed compilation issue.
svn path=/trunk/mono/; revision=91632
Rodrigo Kumpera [Wed, 19 Dec 2007 14:36:01 +0000 (14:36 -0000)]
2007-12-19 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): a printf slipped in, changed
to use verifier debug macro.
svn path=/trunk/mono/; revision=91630
Dick Porter [Wed, 19 Dec 2007 14:25:14 +0000 (14:25 -0000)]
2007-12-19 Dick Porter <dick@ximian.com>
* Process.cs: Check that the process has been started before
getting or setting the priority class. Fixes bug 348415.
2007-12-19 Dick Porter <dick@ximian.com>
* Win32Exception.cs: Add text for error 5, Access denied.
svn path=/trunk/mcs/; revision=91629
Igor Zelmanovich [Wed, 19 Dec 2007 13:42:47 +0000 (13:42 -0000)]
used Trace/Debug.WriteLine instead Console.
svn path=/branches/mainsoft/JSF/mcs/; revision=91626
Igor Zelmanovich [Wed, 19 Dec 2007 13:18:50 +0000 (13:18 -0000)]
used Trace/Debug.WriteLine instead Console.
svn path=/branches/mainsoft/JSF/mcs/; revision=91625
Igor Zelmanovich [Wed, 19 Dec 2007 12:31:17 +0000 (12:31 -0000)]
1. refactoring
2. used Trace.WriteLine instead Console.
svn path=/branches/mainsoft/JSF/mcs/; revision=91618
Juraj Skripsky [Wed, 19 Dec 2007 11:27:00 +0000 (11:27 -0000)]
2007-12-19 Juraj Skripsky <js@hotfeet.ch>
* Cache.cs: Replace periodic timer (60s) with per-cache-item expiration
timers.
2007-12-19 Juraj Skripsky <js@hotfeet.ch>
* HttpContext.cs, HttpApplication.cs: Move timeout tracking from
TimeoutManager into HttpContext. Replace periodic timeout checks with
separate per-context timeout timers.
* HttpRuntime.cs: remove TimeoutManager.
2007-12-19 Juraj Skripsky <js@hotfeet.ch>
* System.Web.dll.sources: removed TimeoutManager.cs
svn path=/trunk/mcs/; revision=91612
Palaniappan N [Wed, 19 Dec 2007 11:24:01 +0000 (11:24 -0000)]
In the SearchResultEventArgs.ToString(), the function classification was
hard coded earlier. This has been corrected now.
svn path=/trunk/mcs/; revision=91611
Palaniappan N [Wed, 19 Dec 2007 11:22:57 +0000 (11:22 -0000)]
Fix for the issue of getting occasional -5875 error on the server when
disconnecting the client
svn path=/trunk/mcs/; revision=91610