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 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: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
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
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
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
Everaldo Canuto [Wed, 19 Dec 2007 09:09:36 +0000 (09:09 -0000)]
2007-12-18 Everaldo Canuto <ecanuto@novell.com>
* MenuItemTest.cs: Add a test case for menuitem properties when created by
CloneMenu. Thanks Luke Page for test case.
svn path=/trunk/mcs/; revision=91609
Everaldo Canuto [Wed, 19 Dec 2007 09:08:35 +0000 (09:08 -0000)]
2007-12-18 Everaldo Canuto <ecanuto@novell.com>
* MenuItem.cs: When cloning menuitem clone also name and tag properties for
2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
svn path=/trunk/mcs/; revision=91608
Carlos Alberto Cortez [Wed, 19 Dec 2007 02:07:34 +0000 (02:07 -0000)]
2007-12-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: When a key gets pressed, try to find a string
if the key is a character or a digit.
Fixes #343971.
svn path=/trunk/mcs/; revision=91604
Jb Evain [Tue, 18 Dec 2007 21:58:35 +0000 (21:58 -0000)]
2007-12-18 Jb Evain <jbevain@novell.com>
* Enumerable.cs: refactor some Min.
svn path=/trunk/mcs/; revision=91587
Stephane Delcroix [Tue, 18 Dec 2007 20:35:37 +0000 (20:35 -0000)]
trying to fix the tests for good
svn path=/trunk/mcs/; revision=91582
Ivan Zlatev [Tue, 18 Dec 2007 19:55:51 +0000 (19:55 -0000)]
2007-12-18 Ivan N. Zlatev <contact@i-nz.net>
* CodeDomDesignerLoader.cs: Fix the serialization to use the
same type as the deserialization.
* CodeDomSerializer.cs, ComponentCodeDomSerializer.cs:
Always SetExpression if not set yet.
svn path=/trunk/mcs/; revision=91577
Stephane Delcroix [Tue, 18 Dec 2007 19:53:41 +0000 (19:53 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: forcing the tests to fix the build. en-us
locale was expected, but invariantculture is the default on the buildbot
svn path=/trunk/mcs/; revision=91576
Ivan Zlatev [Tue, 18 Dec 2007 19:53:39 +0000 (19:53 -0000)]
2007-12-18 Ivan N. Zlatev <contact@i-nz.net>
* ControlCodeDomSerializer.cs: Add. Handles Resume/Suspend
layout serialization.
* ControlCollectionCodeDomSerializer.cs: Add.
* DesignerSerializationManager.cs: DesignerSerializerAttribute
should have higher precedence than the serializer providers.
svn path=/trunk/mcs/; revision=91575
Miguel de Icaza [Tue, 18 Dec 2007 18:11:19 +0000 (18:11 -0000)]
2007-12-18 Miguel de Icaza <miguel@novell.com>
* HttpCookieCollection.cs (Get): implement using the indexer to
share some code. Should fix #349564.
svn path=/trunk/mcs/; revision=91570
Jb Evain [Tue, 18 Dec 2007 15:32:54 +0000 (15:32 -0000)]
2007-12-18 Jb Evain <jbevain@novell.com>
* Enumerable.cs: refactor some more Max.
svn path=/trunk/mcs/; revision=91564
Rodrigo Kumpera [Tue, 18 Dec 2007 15:07:15 +0000 (15:07 -0000)]
2007-12-18 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (is_correct_leave): check for filter clauses.
* verify.c (do_filter): added.
* verify.c (mono_method_verify): property verification of leave.
svn path=/trunk/mono/; revision=91560
Rodrigo Kumpera [Tue, 18 Dec 2007 15:04:45 +0000 (15:04 -0000)]
2007-12-18 Rodrigo Kumpera <rkumpera@novell.com>
* make_test.sh: added tests for filter
* make_filter_test.sh: new test generator
svn path=/trunk/mono/; revision=91559
Stephane Delcroix [Tue, 18 Dec 2007 14:14:09 +0000 (14:14 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: implementing the 4 ToString overloads by reusing
large chunks of System.DateTime code.
svn path=/trunk/mcs/; revision=91546
Stephane Delcroix [Tue, 18 Dec 2007 14:13:41 +0000 (14:13 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: tests for ToString methods.
svn path=/trunk/mcs/; revision=91544
Mark Probst [Tue, 18 Dec 2007 13:24:49 +0000 (13:24 -0000)]
2007-12-18 Mark Probst <mark.probst@gmail.com>
* threads.c: Disable calls to _wapi_thread_signal_self() to fix
Win32 build, until we figure out how to do the proper thing on
Win32.
svn path=/trunk/mono/; revision=91537
Vladimir Krasnov [Tue, 18 Dec 2007 09:47:52 +0000 (09:47 -0000)]
* ListBoxTest.cs: added tests for ListControl's viewstate
svn path=/trunk/mcs/; revision=91519
Vladimir Krasnov [Tue, 18 Dec 2007 09:46:00 +0000 (09:46 -0000)]
* ListControl.cs: fixed Load/SaveViewState, removed selected indices storing
* ListItem.cs: fixed Load/SaveViewState, added selected state storing
* ListItemCollection.cs: fixed Load/SaveViewState, added flag to not rebuild the collection if wasnt changed
svn path=/trunk/mcs/; revision=91518
Stephane Delcroix [Tue, 18 Dec 2007 08:39:06 +0000 (08:39 -0000)]
2007-12-18 Stephane Delcroix <sdelcroix@novell.com>
* IsolatedStorageFileEnumerator.cs: Ifdef'ing out too. Fixes the build.
svn path=/trunk/mcs/; revision=91512
Miguel de Icaza [Tue, 18 Dec 2007 05:59:49 +0000 (05:59 -0000)]
2007-12-18 Miguel de Icaza <miguel@novell.com>
* Ifdef out the large bodies of code that will just not work with
Silverlight, ran into this problem again trying to run
http://fluxtools.net/emailphotos
Its not worth trying to alter this implementation of
IsolatedStorage to work in both the regular and the Moonlight
profiles, instead am going to write a simple implementation while
we wait for the real 2.0 API to come out.
svn path=/trunk/mcs/; revision=91511
Jonathan Pryor [Mon, 17 Dec 2007 22:54:24 +0000 (22:54 -0000)]
* UnixEnvironment.cs: Update MachineName property accesor to use uname(2)
instead of gethostname(2), as gethostname(2) truncates the machine name to
16 characters, while uname(2) doesn't.
svn path=/trunk/mcs/; revision=91501
Jonathan Pryor [Mon, 17 Dec 2007 22:49:20 +0000 (22:49 -0000)]
* map.h: Flush; add Mono_Posix_Syscall__Utsname, Mono_Posix_Syscall_uname()
declarations.
* Makefile.am: Add sys-utsname.c to the build.
* sys-utsname.c: Added; binding for uname(2).
* mph.h: Change definition of _mph_copy_structure_strings() so that the
offset array specifies whether the string is a pointer (char*) or inline
array (char[]) within the structure. Necessary because most bound
structure string members are pointers, but `struct utsname' uses arrays.
* fstab.c, pwd.c: Update offset array generation due to above.
* x-struct-str.c: Update _mph_copy_structure_strings() as above.
svn path=/trunk/mono/; revision=91500
Jonathan Pryor [Mon, 17 Dec 2007 20:49:02 +0000 (20:49 -0000)]
* Syscall.cs: Bind uname(2).
svn path=/trunk/mcs/; revision=91491
Zoltan Varga [Mon, 17 Dec 2007 20:42:22 +0000 (20:42 -0000)]
2007-12-17 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Fix a crash introduced
by the previous patch.
svn path=/trunk/mono/; revision=91490
Jonathan Pobst [Mon, 17 Dec 2007 19:20:12 +0000 (19:20 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* TableLayoutPanel.cs: Remove some unused variables.
svn path=/trunk/mcs/; revision=91486