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
Atsushi Eno [Mon, 17 Dec 2007 19:11:46 +0000 (19:11 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* RelaxngPattern.cs : (RelaxngInclude) when it is constructed from
the compact syntax, resolve included file as compact syntax too.
* RelaxngGrammar.cs : to make above possible, add a new
IsSourceCompactSyntax field that is to be set in RncParser.
* RncParser.jay : if the parsed pattern is grammar, set
IsSourceCompactSyntax so that "include" pattern is resolved to
parse compact syntax, not xml syntax.
svn path=/trunk/mcs/; revision=91484
Noam Lampert [Mon, 17 Dec 2007 19:07:30 +0000 (19:07 -0000)]
Revert commit 91482. Breaks compiler csc.exe of FW 2.0 without SP1
svn path=/trunk/mcs/; revision=91483
Noam Lampert [Mon, 17 Dec 2007 18:46:54 +0000 (18:46 -0000)]
Fix compilation errors discovered with csc.exe of FW 2.0 SP1
svn path=/trunk/mcs/; revision=91482
Zoltan Varga [Mon, 17 Dec 2007 17:48:27 +0000 (17:48 -0000)]
2007-12-17 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (ves_icall_System_AppDomain_LoadAssembly): Avoid calling
the assembly resolve handler for refonly assemblies.
svn path=/trunk/mono/; revision=91469
Jonathan Pobst [Mon, 17 Dec 2007 17:34:34 +0000 (17:34 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* DateTimePicker.cs: Commit patch from Luke Page that ensures
we don't end up at an invalid date when we click the up/down
spinner to change the month or year. Fixes bug #348682.
svn path=/trunk/mcs/; revision=91467
Jonathan Pobst [Mon, 17 Dec 2007 17:20:47 +0000 (17:20 -0000)]
2007-12-17 Jonathan Pobst <monkey@jpobst.com>
* Application.cs: Calling Exit in 2.0 should chain to the
Exit (CancelEventArgs) version so it can be cancelled.
* Form.cs: Create a flag to allow raising the Closing
events to be skipped. We raise them once in Application.Exit
and don't want to raise them again when the Form is actually
closed. [Fixes bug #349073]
svn path=/trunk/mcs/; revision=91465
Marek Habersack [Mon, 17 Dec 2007 16:50:49 +0000 (16:50 -0000)]
2007-12-17 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: support the 'Src' directive attribute on 2.0
profile as well as on the 1.1 one. Fixes bug #319016
svn path=/trunk/mcs/; revision=91462
Noam Lampert [Mon, 17 Dec 2007 15:55:39 +0000 (15:55 -0000)]
Enable java build
svn path=/trunk/mcs/; revision=91458
Noam Lampert [Mon, 17 Dec 2007 15:47:18 +0000 (15:47 -0000)]
Allow build in java
svn path=/trunk/mcs/; revision=91456
Jonathan Pryor [Mon, 17 Dec 2007 15:31:31 +0000 (15:31 -0000)]
* UnixDirectoryInfo.cs: Fix Parent property so that it properly handles
returning the parent of "/". UnixPath.GetDirectoryName() returns "" on
"error", not null; act accordingly.
* UnixDriveInfo.cs: Fix IsReady property so that it returns `false' if no
media is mounted. The presence of media is determined by comparing the
Statvfs.f_fsid value of the current and parent directories; if they
differ, it is assumed that media is present, and thus the directory is
ready. If they're identical, then media isn't present, and the directory
isn't ready.
* UnixPath.cs: UnixPath.GetDirectoryName("/mnt") should return "/", not "".
svn path=/trunk/mcs/; revision=91452
Mark Probst [Mon, 17 Dec 2007 14:50:40 +0000 (14:50 -0000)]
2007-12-17 Mark Probst <mark.probst@gmail.com>
* threads.c, thread-types.h, icall.c: New shutdown safeguards.
Make sure only one thread is allowed to commence shutdown, and
don't allow new threads to be started once shutdown is in
progress.
2007-12-17 Mark Probst <mark.probst@gmail.com>
* threads.c: Guard against a race condition involving
thread_hash_key that can occur during shutdown.
2007-12-17 Mark Probst <mark.probst@gmail.com>
* thread-exit.cs, Makefile.am: Test case for #347676.
svn path=/trunk/mono/; revision=91443
Arina Itkes [Mon, 17 Dec 2007 14:33:46 +0000 (14:33 -0000)]
Stubs for missed public APIs.
svn path=/trunk/mcs/; revision=91441
Gert Driesen [Mon, 17 Dec 2007 14:08:21 +0000 (14:08 -0000)]
* certmgr.cs: Fixed reflection magic to look for ServerCertificates in
SslStreamBase. This avoids breakage once patch for bug #349078 is
applied. Added support for removing CRL's from store.
svn path=/trunk/mcs/; revision=91440
Atsushi Eno [Mon, 17 Dec 2007 10:39:16 +0000 (10:39 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : added NET_3_5 members.
svn path=/trunk/mcs/; revision=91429
Jb Evain [Mon, 17 Dec 2007 09:43:05 +0000 (09:43 -0000)]
2007-12-17 Jb Evain <jbevain@novell.com>
* Makefile: build Mono.Cecil only in the default profile.
svn path=/trunk/mcs/; revision=91414
Jb Evain [Mon, 17 Dec 2007 09:41:37 +0000 (09:41 -0000)]
2007-12-17 Jb Evain <jbevain@novell.com>
* Mono.Cecil/IMemberDefinition.cs: make IMemberDefinition
implement ICustomAttributeProvider.
svn path=/trunk/mcs/; revision=91412
Atsushi Eno [Mon, 17 Dec 2007 08:51:58 +0000 (08:51 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : oops, extra removal that causes perf. loss.
svn path=/trunk/mcs/; revision=91406
Atsushi Eno [Mon, 17 Dec 2007 08:25:12 +0000 (08:25 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Iterator.cs : be more strict to detect the end of
PredicateIterator. Fixed bug #349111.
* XslTransformTests.cs : added test for bug #349111.
svn path=/trunk/mcs/; revision=91405
Arina Itkes [Mon, 17 Dec 2007 08:03:34 +0000 (08:03 -0000)]
Visual Studio project file for the library.
svn path=/trunk/mcs/; revision=91404
Atsushi Eno [Mon, 17 Dec 2007 07:46:50 +0000 (07:46 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* GDIPlusTest.cs : fix test build.
svn path=/trunk/mcs/; revision=91403
Atsushi Eno [Mon, 17 Dec 2007 07:28:33 +0000 (07:28 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* Expression.cs : In any comparison expr, treat RTF as equivalent to
string type (as specified in XSLT 1.0 section 11.1: "An operation
is permitted on a result tree fragment only if that operation would
be permitted on a string." ...). Fixed bug #349035.
* XslTransformTests.cs : added test for bug #349035.
svn path=/trunk/mcs/; revision=91402
Atsushi Eno [Mon, 17 Dec 2007 06:31:49 +0000 (06:31 -0000)]
2007-12-17 Atsushi Enomoto <atsushi@ximian.com>
* XslValueOf.cs : allow external elements in xsl:value-of.
Fixed bug #348786.
* XslTransformTests.cs : added test for bug #348786.
svn path=/trunk/mcs/; revision=91401
Jonathan Pobst [Sun, 16 Dec 2007 23:56:32 +0000 (23:56 -0000)]
2007-12-16 Jonathan Pobst <monkey@jpobst.com>
* ToolStripDropDown.cs: Guard against an NRE when there
hasn't been a mainform set in the application context.
[Fixes bug #349108]
svn path=/trunk/mcs/; revision=91398
Miguel de Icaza [Sun, 16 Dec 2007 19:04:34 +0000 (19:04 -0000)]
2007-12-16 Miguel de Icaza <miguel@novell.com>
* Image.cs: Use the existing GdipPropertyItem.MarshalTo method to
conver the PropertyItem into a property item with Sequential
attached to it, and pass that to unmanaged code. Fixes #349103.
svn path=/trunk/mcs/; revision=91391
R. Tyler Ballance [Sun, 16 Dec 2007 16:05:18 +0000 (16:05 -0000)]
MonoTODO is cAsE SenSItIve stephane! :)
svn path=/trunk/mcs/; revision=91386
Stephane Delcroix [Sun, 16 Dec 2007 14:26:04 +0000 (14:26 -0000)]
tests & bugfixes
svn path=/trunk/mcs/; revision=91383
Stephane Delcroix [Sun, 16 Dec 2007 14:00:00 +0000 (14:00 -0000)]
2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffset.cs: almost complete implementation, still missing the
Parse* and ToString methods.
2007-12-16 Stephane Delcroix <sdelcroix@novell.com>
* DateTimeOffsetTest.cs: first batch of tests.
svn path=/trunk/mcs/; revision=91382
Igor Zelmanovich [Sun, 16 Dec 2007 08:38:16 +0000 (08:38 -0000)]
2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
* HttpContext.cs: added IsProcessingInclude property.
* HttpServerUtility.cs: set IsProcessingInclude value within Execute.
2007-12-16 Igor Zelmanovich <igorz@mainsoft.com>
* Page.cs: on CrossPagePostBack previous page is processed by Execute API,
that allow CurrentHandler property works correctly during Page processing.
svn path=/trunk/mcs/; revision=91373
Miguel de Icaza [Sun, 16 Dec 2007 06:17:17 +0000 (06:17 -0000)]
Fix indent
svn path=/trunk/mcs/; revision=91372
Miguel de Icaza [Sun, 16 Dec 2007 05:38:06 +0000 (05:38 -0000)]
2007-12-16 Miguel de Icaza <miguel@novell.com>
* WebClient.cs: Got the arguments in the wrong order, fix
svn path=/trunk/mcs/; revision=91371
Carlos Alberto Cortez [Sun, 16 Dec 2007 01:04:53 +0000 (01:04 -0000)]
2007-12-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListViewItemTest.cs: Added new Constructor_Group test, that I
forgot to add after fixing a 2.0 bug.
svn path=/trunk/mcs/; revision=91370