Marek Habersack [Fri, 5 Dec 2008 12:01:37 +0000 (12:01 -0000)]
Backport of r120823.
svn path=/branches/mono-2-2/mcs/; revision=120825
Marek Habersack [Fri, 5 Dec 2008 12:00:14 +0000 (12:00 -0000)]
Backport of r120822.
svn path=/branches/mono-2-2/mcs/; revision=120824
Miguel de Icaza [Thu, 4 Dec 2008 22:03:09 +0000 (22:03 -0000)]
Backport ReaderWriterLockSlim for MEF
svn path=/branches/mono-2-2/mcs/; revision=120768
Zoltan Varga [Thu, 4 Dec 2008 21:04:20 +0000 (21:04 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
Backport of r120756.
* aot-compiler.c (add_wrappers): Add pinvoke wrappers.
* mini.c (mono_resolve_patch_target): Allow pinvoke methods in
MONO_PATCH_INFO_ICALL_ADDR.
svn path=/branches/mono-2-2/mono/; revision=120757
Zoltan Varga [Thu, 4 Dec 2008 20:48:32 +0000 (20:48 -0000)]
2008-12-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_emit_native_wrapper): Add AOT support for pinvoke
wrappers by emitting the function address using a CEE_MONO_ICALL_ADDR
instruction instead of a pointer constant.
svn path=/branches/mono-2-2/mono/; revision=120750
Marek Safar [Wed, 3 Dec 2008 19:49:33 +0000 (19:49 -0000)]
2008-12-03 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, namespace.cs, driver.cs: Allow ExtensionAttribute
to be imported from any assembly.
svn path=/branches/mono-2-2/mcs/; revision=120629
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:35:50 +0000 (15:35 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClientTest.cs: test closing a UDP socket while receiving.
svn path=/branches/mono-2-2/mcs/; revision=120605
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 15:33:28 +0000 (15:33 -0000)]
2008-12-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UdpClient.cs: don't Poll() in Receive(), the call to ReceiveFrom
will block anyway. Fixes bug #455894.
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: mark the socket as not connected when there is a pending
error or exception about to be thrown.
Bug #443346 fixed.
svn path=/branches/mono-2-2/mcs/; revision=120602
Mark Probst [Wed, 3 Dec 2008 14:22:24 +0000 (14:22 -0000)]
2008-12-03 Mark Probst <mark.probst@gmail.com>
Backport of r120589.
* method-to-ir.c (mono_method_to_ir): Handle ldtoken of an open
generic type (via a typedef or typeref) correctly.
2008-12-03 Mark Probst <mark.probst@gmail.com>
Backport of r120589.
* generic-typedef.2.cs: New test for ldtoken of open generic
types.
* Makefile.am: Test added.
svn path=/branches/mono-2-2/mono/; revision=120595
Marek Habersack [Wed, 3 Dec 2008 13:55:22 +0000 (13:55 -0000)]
Backport of r120592.
svn path=/branches/mono-2-2/mcs/; revision=120593
Marek Habersack [Wed, 3 Dec 2008 13:33:22 +0000 (13:33 -0000)]
Backport of r120590.
svn path=/branches/mono-2-2/mcs/; revision=120591
Rodrigo Kumpera [Wed, 3 Dec 2008 12:31:09 +0000 (12:31 -0000)]
2008-12-03 Rodrigo Kumpera <rkumpera@novell.com>
* mono-property-hash.c (mono_property_hash_destroy): Release
the root hashtable as well.
Backported from trunk.
svn path=/branches/mono-2-2/mono/; revision=120587
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:17:54 +0000 (00:17 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* AspParser.cs: reset to the next character in a partial match in case
of failure. Fixes bug #314688.
svn path=/branches/mono-2-2/mcs/; revision=120552
Gonzalo Paniagua Javier [Wed, 3 Dec 2008 00:17:25 +0000 (00:17 -0000)]
2008-12-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Page.cs: make sure we don't return null in Title.
svn path=/branches/mono-2-2/mcs/; revision=120551
Marek Habersack [Tue, 2 Dec 2008 23:13:43 +0000 (23:13 -0000)]
Backport of r120545.
svn path=/branches/mono-2-2/mono/; revision=120546
Zoltan Varga [Tue, 2 Dec 2008 23:04:35 +0000 (23:04 -0000)]
2008-12-03 Zoltan Varga <vargaz@gmail.com>
Backport of r120543.
* mini-trampolines.c (mono_magic_trampoline): Add some debugging code to help
diagnose an assertion failure.
svn path=/branches/mono-2-2/mono/; revision=120544
Miguel de Icaza [Tue, 2 Dec 2008 21:57:01 +0000 (21:57 -0000)]
backport the fix for erase/delete for OSX
svn path=/branches/mono-2-2/mcs/; revision=120539
Marek Habersack [Tue, 2 Dec 2008 14:28:23 +0000 (14:28 -0000)]
Backport of r120485.
svn path=/branches/mono-2-2/mcs/; revision=120486
Marek Habersack [Tue, 2 Dec 2008 01:36:46 +0000 (01:36 -0000)]
Backport of r120442.
svn path=/branches/mono-2-2/mcs/; revision=120444
Marek Habersack [Tue, 2 Dec 2008 01:08:01 +0000 (01:08 -0000)]
Backport of r120436.
svn path=/branches/mono-2-2/mcs/; revision=120437
Rodrigo Kumpera [Mon, 1 Dec 2008 23:28:37 +0000 (23:28 -0000)]
2008-12-01 Rodrigo Kumpera <kumpera@gmail.com>
* main.c (get_uninitialized_data_type): Make crappy static analyzers happy.
Backported from trunk.
svn path=/branches/mono-2-2/mono/; revision=120417
Marek Habersack [Mon, 1 Dec 2008 19:33:50 +0000 (19:33 -0000)]
Backport of r120376.
svn path=/branches/mono-2-2/mcs/; revision=120377
Marek Habersack [Mon, 1 Dec 2008 14:45:31 +0000 (14:45 -0000)]
Backport of r120353.
svn path=/branches/mono-2-2/mcs/; revision=120354
Marek Habersack [Mon, 1 Dec 2008 12:35:03 +0000 (12:35 -0000)]
Backport of r120345.
svn path=/branches/mono-2-2/mcs/; revision=120346
Zoltan Varga [Sat, 29 Nov 2008 20:28:25 +0000 (20:28 -0000)]
2008-11-29 Zoltan Varga <vargaz@gmail.com>
Backport of r120273.
* mini.h aot-runtime.c: Fix building with DISABLE_AOT.
svn path=/branches/mono-2-2/mono/; revision=120283
Zoltan Varga [Sat, 29 Nov 2008 17:00:46 +0000 (17:00 -0000)]
2008-11-29 Zoltan Varga <vargaz@gmail.com>
Backport of r120273.
* mini.h aot-runtime.c: Fix building with DISABLE_AOT.
svn path=/branches/mono-2-2/mono/; revision=120274
Marek Habersack [Fri, 28 Nov 2008 01:44:16 +0000 (01:44 -0000)]
Backport of r120199
svn path=/branches/mono-2-2/mcs/; revision=120200
Marek Habersack [Thu, 27 Nov 2008 02:04:58 +0000 (02:04 -0000)]
Backport of r120047
svn path=/branches/mono-2-2/mcs/; revision=120107
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 17:41:38 +0000 (17:41 -0000)]
2008-11-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* pedump.c: initialize perf. counters. Fixes a segv.
svn path=/branches/mono-2-2/mono/; revision=119980
Marek Safar [Tue, 25 Nov 2008 16:29:53 +0000 (16:29 -0000)]
2008-11-25 Marek Safar <marek.safar@gmail.com>
A fix for bug #447027
* anonymous.cs (HoistedVariable): Cache also outer access to deal
with context variables stored as expression instances.
svn path=/branches/mono-2-2/mcs/; revision=119967
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:13:22 +0000 (02:13 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequestTest.cs: the upload test now passes with the MS
runtime. Added another test for download.
svn path=/branches/mono-2-2/mcs/; revision=119913
Gonzalo Paniagua Javier [Tue, 25 Nov 2008 02:10:49 +0000 (02:10 -0000)]
2008-11-13 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpDataStream.cs: use the socket for reading until the end of a
stream that wasn't read entirely. Remove unused ManualResetEvent.
* FtpWebRequest.cs: set the file_name when downloading. Update the
response status after every SendCommand. Send a "OPTS utf8 on" as MS
does (the control cnc reader should do something with UTF8)
svn path=/branches/mono-2-2/mcs/; revision=119912
Marek Habersack [Tue, 25 Nov 2008 01:47:27 +0000 (01:47 -0000)]
those need to be in there as well
svn path=/branches/mono-2-2/mcs/; revision=119911
Marek Habersack [Tue, 25 Nov 2008 01:46:30 +0000 (01:46 -0000)]
This needs to be here too :P
svn path=/branches/mono-2-2/mcs/; revision=119910
Marek Habersack [Tue, 25 Nov 2008 01:44:55 +0000 (01:44 -0000)]
This needs to be here too :P
svn path=/branches/mono-2-2/mcs/; revision=119909
Marek Habersack [Tue, 25 Nov 2008 01:28:55 +0000 (01:28 -0000)]
Backport of r119699
svn path=/branches/mono-2-2/mcs/; revision=119908
Marek Habersack [Tue, 25 Nov 2008 01:27:45 +0000 (01:27 -0000)]
Backport of r119893
svn path=/branches/mono-2-2/mcs/; revision=119906
Marek Habersack [Tue, 25 Nov 2008 01:27:24 +0000 (01:27 -0000)]
Backport of r119800
svn path=/branches/mono-2-2/mcs/; revision=119905
Marek Habersack [Tue, 25 Nov 2008 01:26:37 +0000 (01:26 -0000)]
Backport of r119673
svn path=/branches/mono-2-2/mcs/; revision=119904
Marek Habersack [Tue, 25 Nov 2008 01:23:35 +0000 (01:23 -0000)]
Backport of r119661
svn path=/branches/mono-2-2/mcs/; revision=119902
Marek Habersack [Tue, 25 Nov 2008 01:22:48 +0000 (01:22 -0000)]
Backport of r119126
svn path=/branches/mono-2-2/mcs/; revision=119901
Marek Habersack [Tue, 25 Nov 2008 01:10:41 +0000 (01:10 -0000)]
Backport of r119378
svn path=/branches/mono-2-2/mcs/; revision=119898
Marek Habersack [Tue, 25 Nov 2008 01:10:13 +0000 (01:10 -0000)]
Backport of r119269
svn path=/branches/mono-2-2/mcs/; revision=119897
Marek Habersack [Tue, 25 Nov 2008 01:09:43 +0000 (01:09 -0000)]
Backport of r119233
svn path=/branches/mono-2-2/mcs/; revision=119896
Marek Habersack [Tue, 25 Nov 2008 01:09:06 +0000 (01:09 -0000)]
Backport of r119130
svn path=/branches/mono-2-2/mcs/; revision=119895
Marek Habersack [Tue, 25 Nov 2008 01:08:29 +0000 (01:08 -0000)]
Backport of r118917
svn path=/branches/mono-2-2/mcs/; revision=119894
Marek Habersack [Mon, 24 Nov 2008 18:48:26 +0000 (18:48 -0000)]
Backport of r119827
svn path=/branches/mono-2-2/mcs/; revision=119829
Jonathan Pobst [Mon, 24 Nov 2008 17:05:25 +0000 (17:05 -0000)]
2008-11-24 Jonathan Pobst <monkey@jpobst.com>
* Form.cs: Don't change min/max size if it is empty.
[Fixes bug #447873]
2008-11-23 Jonathan Pobst <monkey@jpobst.com>
* FormTest.cs: Add test for bug #447873.
svn path=/branches/mono-2-2/mcs/; revision=119813
Jonathan Pobst [Fri, 21 Nov 2008 17:07:43 +0000 (17:07 -0000)]
2008-11-21 Jonathan Pobst <monkey@jpobst.com>
* XPlatUI.cs: Take new Platform.MacOSX into account.
[Fixes bug #447663]
svn path=/branches/mono-2-2/mcs/; revision=119638
Rodrigo Kumpera [Fri, 21 Nov 2008 14:15:07 +0000 (14:15 -0000)]
2008-11-21 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (mono_method_get_equivalent_method): Make sure
method->klass->methods is inited before looping over it.
Backported from trunk.
svn path=/branches/mono-2-2/mono/; revision=119613
Andreia Gaita [Fri, 21 Nov 2008 14:06:56 +0000 (14:06 -0000)]
* Mono.Mozilla/DOM/ContentListener.cs: Added (oops)
2008-11-21 Andreia Gaita <shana@jitted.com>
svn path=/branches/mono-2-2/mcs/; revision=119612
Andreia Gaita [Fri, 21 Nov 2008 05:50:55 +0000 (05:50 -0000)]
* System.Drawing/Image.cs: On win32, when cloning images initialized from
resources, also clone the underlying stream, since it needs to stay
around for the life of the image (gdi doesn't clone the underlying
stream when cloning images, so when the gc disposes the original, it
will also dispose the stream, which invalidates the clone).
* System.Drawing/Bitmap.cs: Save the underlying stream when creating bitmaps from a
clone under win32
* System.Drawing.Imaging/Metafile.cs: Save the underlying stream when creating from a
clone under win32
[fixes #438886, Backported from r119580]
2008-11-21 Andreia Gaita <shana@jitted.com>
svn path=/branches/mono-2-2/mcs/; revision=119581
Jonathan Pobst [Fri, 21 Nov 2008 00:23:09 +0000 (00:23 -0000)]
2008-11-20 Jonathan Pobst <monkey@jpobst.com>
* ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
through DroppedDown so the proper events get called and state gets reset.
[Fixes bug #446805]
svn path=/branches/mono-2-2/mcs/; revision=119561
Andreia Gaita [Thu, 20 Nov 2008 19:19:56 +0000 (19:19 -0000)]
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support script
execution directly in the browser object
[Backported, r118685]
2008-11-20 Andreia Gaita <shana@jitted.com>
svn path=/branches/mono-2-2/mcs/; revision=119494
Andreia Gaita [Thu, 20 Nov 2008 19:19:51 +0000 (19:19 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
operators
[Backported, r118684, r119336]
2008-11-20 Andreia Gaita <shana@jitted.com>
svn path=/branches/mono-2-2/mcs/; revision=119493
Andreia Gaita [Thu, 20 Nov 2008 19:19:47 +0000 (19:19 -0000)]
* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
Mono.Mozilla/interfaces/nsIURIContentListener.cs,
Mono.Mozilla/DOM/ContentListener.cs: New class added to listen for load
requests and handle content types
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: New
NavigationRequested event to catch load requests
[Backported, r118617]
2008-11-20 Andreia Gaita <shana@jitted.com>
svn path=/branches/mono-2-2/mcs/; revision=119492
Zoltan Varga [Thu, 20 Nov 2008 14:30:04 +0000 (14:30 -0000)]
2008-11-20 Zoltan Varga <vargaz@gmail.com>
Backport of r119444.
* arm/Makefile.am (libmonoarch_arm_la_SOURCES): Don't build tramp.c, it is only
used by the interpreter.
svn path=/branches/mono-2-2/mono/; revision=119445
Zoltan Varga [Thu, 20 Nov 2008 00:22:29 +0000 (00:22 -0000)]
2008-11-20 Zoltan Varga <vargaz@gmail.com>
Backport of r119398.
* pinvoke2.cs: Add a test for passing/receiving generic struct instances.
svn path=/branches/mono-2-2/mono/; revision=119400
Zoltan Varga [Thu, 20 Nov 2008 00:21:27 +0000 (00:21 -0000)]
2008-11-20 Zoltan Varga <vargaz@gmail.com>
Backport of r119397.
* marshal.c: Add support for MONO_TYPE_GENERICINST to some functions.
Fixes #444715. Fix a warning.
svn path=/branches/mono-2-2/mono/; revision=119399
Jonathan Pryor [Wed, 19 Nov 2008 13:09:00 +0000 (13:09 -0000)]
* Makefile.am (EXTRA_DIST): Add mono-file-formats{.config,.source} and
mono-tools{.config,.source} (fixes the build).
svn path=/branches/mono-2-2/mono/; revision=119304
Jonathan Pryor [Wed, 19 Nov 2008 02:27:54 +0000 (02:27 -0000)]
* docs.make, Makefile.am: Build mono-file-formats{.tree,.zip},
mono-tool{.tree,.zip} files.
* mono-file-formats.config, mono-tools.config: Alter paths to man
pages so that they're valid for building from mono/docs.
* monoapi.make: Rename to docs.make.
svn path=/branches/mono-2-2/mono/; revision=119260
Jonathan Pryor [Wed, 19 Nov 2008 02:27:31 +0000 (02:27 -0000)]
* docs/Makefile: Don't build mono-file-formats.*, mono-tools.*
* docs/mono-file-formats.config, docs/mono-file-formats.source,
docs/mono-tools.config, docs/mono-tools.source: Removed (now located
in mono/docs).
svn path=/branches/mono-2-2/mcs/; revision=119259
Jonathan Pryor [Wed, 19 Nov 2008 02:22:52 +0000 (02:22 -0000)]
These files need to move into mono/docs to fix
https://bugzilla.novell.com/show_bug.cgi?id=445156
svn path=/branches/mono-2-2/mono/; revision=119256
Bill Holmes [Mon, 17 Nov 2008 21:05:37 +0000 (21:05 -0000)]
2008-11-17 Bill Holmes <billholmes54@gmail.com>
Backport of 119064 and 119081.
* marshal.h : cominterop_ccw_getfreethreadedmarshaler added to return the
free threaded marshaler when QueryInterface is called on a COM callable
wrapper requesting the IMarshal interface.
Code is contributed under MIT/X11 license.
svn path=/branches/mono-2-2/mono/; revision=119088
Rodrigo Kumpera [Mon, 17 Nov 2008 18:55:56 +0000 (18:55 -0000)]
2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
* FieldInfoTest.cs: Test FieldInfo::GetValue on a constant of an open
generic type.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=119079
Rodrigo Kumpera [Mon, 17 Nov 2008 18:55:16 +0000 (18:55 -0000)]
2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
* MonoField.cs (GetValue): Don't check for open generic types if the field
is a constant.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=119078
Rodrigo Kumpera [Mon, 17 Nov 2008 18:00:08 +0000 (18:00 -0000)]
2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c (vector2l_intrinsics): CompareGreaterThan requires sse 4.2
and not 4.1.
Backported from trunk.
svn path=/branches/mono-2-2/mono/; revision=119065
Rodrigo Kumpera [Mon, 17 Nov 2008 17:22:18 +0000 (17:22 -0000)]
2008-11-17 Rodrigo Kumpera <rkumpera@novell.com>
* Vector2l.cs (CompareGreaterThan): This method requires sse 4.2
and 4.1.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=119062
Marek Safar [Mon, 17 Nov 2008 15:39:41 +0000 (15:39 -0000)]
2008-11-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #445303
* location.cs (IsConditionalDefined): Handle undefined global
defines.
svn path=/branches/mono-2-2/mcs/; revision=119040
Marek Safar [Mon, 17 Nov 2008 14:45:40 +0000 (14:45 -0000)]
2008-11-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #444678
* expression.cs (TryReduceConstant): Always create new constant
instance.
svn path=/branches/mono-2-2/mcs/; revision=119028
Marek Safar [Mon, 17 Nov 2008 13:19:46 +0000 (13:19 -0000)]
2008-11-17 Marek Safar <marek.safar@gmail.com>
A fix for bug #444673
* ecore.cs: Ignore open generic types when used as generic type
instance fields.
svn path=/branches/mono-2-2/mcs/; revision=119016
Zoltan Varga [Mon, 17 Nov 2008 00:39:13 +0000 (00:39 -0000)]
2008-11-17 Zoltan Varga <vargaz@gmail.com>
Merge r118977 from HEAD.
* mini-amd64.h: Change the monitor fastpath defines to check for
!PLATFORM_WIN32 so they work on *bsd too.
svn path=/branches/mono-2-2/mono/; revision=118978
Gonzalo Paniagua Javier [Fri, 14 Nov 2008 06:31:29 +0000 (06:31 -0000)]
2008-11-14 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DefaultWsdlHelpGenerator.aspx: use javascript instead of
HttpWebRequest to avoid a deadlock if the web service uses Session.
Bug #444343 fixed.
re: miguel
svn path=/branches/mono-2-2/mono/; revision=118834
Marek Habersack [Fri, 14 Nov 2008 02:09:17 +0000 (02:09 -0000)]
Backport of r118813
svn path=/branches/mono-2-2/mcs/; revision=118815
Marek Habersack [Fri, 14 Nov 2008 00:41:19 +0000 (00:41 -0000)]
Backport of r118799
svn path=/branches/mono-2-2/mcs/; revision=118800
Veerapuram Varadhan [Thu, 13 Nov 2008 20:22:23 +0000 (20:22 -0000)]
reset the connection on timeout exception from TDS
svn path=/branches/mono-2-2/mcs/; revision=118762
Veerapuram Varadhan [Thu, 13 Nov 2008 20:17:48 +0000 (20:17 -0000)]
instead of executing sp_reset_connection, set reset connection bit.
svn path=/branches/mono-2-2/mcs/; revision=118760
Veerapuram Varadhan [Thu, 13 Nov 2008 20:15:34 +0000 (20:15 -0000)]
Tests ported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=118759
Bill Holmes [Thu, 13 Nov 2008 18:00:06 +0000 (18:00 -0000)]
2008-11-13 Bill Holmes <billholmes54@gmail.com>
Backport of r118724.
* process.h : Adding method declaration for
ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* process.c : Adding implementation for
ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* wait.h : Adding method declaration for WaitForInputIdle.
* wait.c : Adding implementation for WaitForInputIdle.
* Process.cs : Adding an implementation for WaitForInputIdle
to call the an internal call. The internal call is only
implemented properly on Windows.
Code is contributed under MIT/X11 license.
svn path=/branches/mono-2-2/mcs/; revision=118743
Bill Holmes [Thu, 13 Nov 2008 18:00:06 +0000 (18:00 -0000)]
2008-11-13 Bill Holmes <billholmes54@gmail.com>
Backport of r118724.
* process.h : Adding method declaration for
ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* process.c : Adding implementation for
ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* icall-def.h : Registering ICALL Processs.WaitForInputIdle_internal
to ves_icall_System_Diagnostics_Process_WaitForInputIdle_internal.
* wait.h : Adding method declaration for WaitForInputIdle.
* wait.c : Adding implementation for WaitForInputIdle.
* Process.cs : Adding an implementation for WaitForInputIdle
to call the an internal call. The internal call is only
implemented properly on Windows.
Code is contributed under MIT/X11 license.
svn path=/branches/mono-2-2/mono/; revision=118743
Veerapuram Varadhan [Thu, 13 Nov 2008 17:31:07 +0000 (17:31 -0000)]
Backported fix for bug#428139 from trunk
svn path=/branches/mono-2-2/mcs/; revision=118738
Zoltan Varga [Thu, 13 Nov 2008 17:15:35 +0000 (17:15 -0000)]
2008-11-13 Zoltan Varga <vargaz@gmail.com>
Backport r118729 from HEAD.
* RxInterpreter.cs: Fix pc computation in various opcodes. Fixes #443841.
svn path=/branches/mono-2-2/mcs/; revision=118732
Marek Safar [Thu, 13 Nov 2008 15:30:22 +0000 (15:30 -0000)]
2008-11-13 Marek Safar <marek.safar@gmail.com>
A fix for bug #444271
* anonymous.cs: Rescan parent storeys when best candidate was
undone.
svn path=/branches/mono-2-2/mcs/; revision=118720
Rodrigo Kumpera [Tue, 11 Nov 2008 20:18:38 +0000 (20:18 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* ModuleTest.cs : Add test for ResolveMethod with a methodspec
token.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=118545
Rodrigo Kumpera [Tue, 11 Nov 2008 20:18:13 +0000 (20:18 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* Module.cs (ResolveMethod): Use internal method
GetMethodFromHandleNoGenericCheck to avoid the generic type
limitation of GetMethodFromHandle.
Fixes #443763.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=118544
Rodrigo Kumpera [Tue, 11 Nov 2008 17:15:57 +0000 (17:15 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConstructorOnTypeBuilderInstTest.cs: Add test for
MetadataToken under compilation context.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=118519
Rodrigo Kumpera [Tue, 11 Nov 2008 17:15:29 +0000 (17:15 -0000)]
Wrong date in the changelog
svn path=/branches/mono-2-2/mcs/; revision=118518
Rodrigo Kumpera [Tue, 11 Nov 2008 17:14:31 +0000 (17:14 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* ConstructorOnTypeBuilderInst.cs (MetadataToken): Make this
* property
work under compiler context. Same hack as the one applied to
MethodOnTypeBuilderInst.
Fixes #442610.
Backported from trunk.
svn path=/branches/mono-2-2/mcs/; revision=118517
Zoltan Varga [Tue, 11 Nov 2008 11:21:15 +0000 (11:21 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
Backport r118484 from HEAD.
* CILCompiler.cs: Implement Reference opcode.
svn path=/branches/mono-2-2/mcs/; revision=118485
Andrew Jorgensen [Tue, 11 Nov 2008 00:24:15 +0000 (00:24 -0000)]
Bump versions to 2.2
svn path=/branches/mono-2-2/mono/; revision=118446
Zoltan Varga [Mon, 10 Nov 2008 23:04:25 +0000 (23:04 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* regalloc2.c (assign_spill_slots): Set cfg->rgctx_var.
svn path=/trunk/mono/; revision=118435
Michael Hutchinson [Mon, 10 Nov 2008 22:36:17 +0000 (22:36 -0000)]
2008-11-10 Michael Hutchinson <mhutchinson@novell.com>
* HttpServerTransportSink.cs: Seek to beginning of server response
stream. Fixes Bug 436995 - Xml-Rpc.net does not work since
Mono 1.9.x.
svn path=/trunk/mcs/; revision=118429
Miguel de Icaza [Mon, 10 Nov 2008 22:26:46 +0000 (22:26 -0000)]
Try to fix Solaris
svn path=/trunk/mono/; revision=118426
Bill Holmes [Mon, 10 Nov 2008 21:42:09 +0000 (21:42 -0000)]
2008-11-10 Bill Holmes <billholmes54@gmail.com>
* genmdesc.vcproj, monoburg.vcproj : Adding quotes to paths in the
post build steps.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=118417
Rodrigo Kumpera [Mon, 10 Nov 2008 20:58:13 +0000 (20:58 -0000)]
2008-11-10 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (unload_thread_main): Clean up threadpool by
calling mono_thread_pool_remove_domain_jobs.
* domain-internals.h (struct _MonoDomain): Add new fields to
help coordinate the cleanup of the threadpool.
* threadpool.c (mono_thread_pool_remove_domain_jobs): New fuction
that cleans up the threadpool of all jobs associated with an appdomain.
It does that by cleaning up the queues and making sure all active
threads are accounted.
* threadpool.c (async_invoke_io_thread): Ignore job if its domain is
unloaded or in the process of. Take this is such way that there is
no race condition between another thread starting the unload and the
current thread acknowledging it.
* threadpool.c (async_invoke_thread): Same.
* threadpool.c (start_io_thread_or_queue): Increment threadpool_jobs before
firing the new thread.
* threadpool.c (start_tpthread): Same.
* theadpool.c (append_job): Increment threadpool_jobs before queueing.
* threadpool.h: Add mono_thread_pool_remove_domain_jobs.
svn path=/trunk/mono/; revision=118413
Mark Probst [Mon, 10 Nov 2008 20:54:37 +0000 (20:54 -0000)]
2008-11-10 Mark Probst <mark.probst@gmail.com>
* mini-x86.c (mono_arch_get_argument_info): Don't align argument
space for stdcall. Fixes regressions on Win32.
svn path=/trunk/mono/; revision=118412
Gonzalo Paniagua Javier [Mon, 10 Nov 2008 20:46:00 +0000 (20:46 -0000)]
2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConfigurationManager.cs: when we're dealing with an EXE hosted
application, the configuration file is the one for the AppDomain,
otherwise we might try to get a config file for a dll. Fixes the
regression in 2.0 sys.config.
svn path=/trunk/mcs/; revision=118410
Jonathan Pobst [Mon, 10 Nov 2008 20:17:05 +0000 (20:17 -0000)]
2008-11-10 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Add some order of operation to our math so
we don't end up with a negative height for our invalidate rect.
[Fixes bug #381889]
svn path=/trunk/mcs/; revision=118409
Marek Safar [Mon, 10 Nov 2008 19:50:40 +0000 (19:50 -0000)]
2008-11-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #442610
* anonymous.cs (MutateConstructor): More SRE hacking.
svn path=/trunk/mcs/; revision=118406
Raja R Harinath [Mon, 10 Nov 2008 19:39:31 +0000 (19:39 -0000)]
Bring testsuite into compilability
* OptionContextTest.cs: Fix syntax error.
* OptionTest.cs: Likewise.
* OptionSetTest.cs: Likewise.
(OptionalValues, CombinationPlatter, Exceptions): Disable for now.
svn path=/trunk/mcs/; revision=118405