Zoltan Varga [Wed, 2 Feb 2011 23:25:29 +0000 (00:25 +0100)]
Add support for --debug=casts to Array:SetValue (). Fixes #668851.
Rodrigo Kumpera [Wed, 2 Feb 2011 20:44:27 +0000 (21:44 +0100)]
Avoid the loader lock in the common path.
* class.c (mono_generic_class_get_class): Don't take
the loader lock to check if cached_class was created.
Use full memory barriers to make sure proper visibility.
Rodrigo Kumpera [Wed, 2 Feb 2011 18:24:24 +0000 (19:24 +0100)]
Fix dynamic method cleanup at shutdown.
* gc.c (mono_gc_cleanup): Cleanup all reference
queues after regular finalization.
* reflection.c: The dynamic method ref queue is finalized
by the runtime itself.
* runtime.c: Ditto.
Miguel de Icaza [Wed, 2 Feb 2011 18:05:03 +0000 (13:05 -0500)]
[csharp] Change the signature for print
Marek Safar [Wed, 2 Feb 2011 17:23:30 +0000 (17:23 +0000)]
New test
Marek Safar [Wed, 2 Feb 2011 17:23:15 +0000 (17:23 +0000)]
Better log details for CS0281
Marek Safar [Wed, 2 Feb 2011 16:15:31 +0000 (16:15 +0000)]
Implement support for implicit user conversion for DefaultParameterValue (very odd)
Jérémie Laval [Wed, 2 Feb 2011 16:40:53 +0000 (16:40 +0000)]
Steal more agressively once we have found a potential available worker
Jérémie Laval [Wed, 2 Feb 2011 16:40:01 +0000 (16:40 +0000)]
Move call to Set a bit higher to avoid calling them to repeatdly in ThreadWorker
Jérémie Laval [Wed, 2 Feb 2011 16:39:31 +0000 (16:39 +0000)]
Adjust some ThreadWorker constants
Jérémie Laval [Wed, 2 Feb 2011 16:38:36 +0000 (16:38 +0000)]
Don't reset ThreadWorker event when it's not needed
Jérémie Laval [Wed, 2 Feb 2011 16:37:01 +0000 (16:37 +0000)]
Avoid wrapping task body given as Action into Action<object>
Atsushi Eno [Wed, 2 Feb 2011 16:07:44 +0000 (01:07 +0900)]
Now operations are collected per corresponding ContractDescription.
This fixes naming of MessageDescription Action URI from its type.
Zoltan Varga [Wed, 2 Feb 2011 15:20:16 +0000 (16:20 +0100)]
Rebuild mscorlib/mcs AOT images if the runtime changes.
Lucas Meijer [Tue, 26 Oct 2010 17:00:46 +0000 (19:00 +0200)]
make mono_print_thread_dump output to the visualstudio debugger window, for better debugger experience
Jérémie Laval [Wed, 2 Feb 2011 15:00:11 +0000 (15:00 +0000)]
Also check directly Task.IsCompleted when we are waiting
Jérémie Laval [Wed, 2 Feb 2011 14:58:13 +0000 (14:58 +0000)]
Avoid possible races in ManualResetEventSlim in case handle was already created but not with correct value
Jérémie Laval [Wed, 2 Feb 2011 14:56:03 +0000 (14:56 +0000)]
Cache ChildWorkAdder delegate object in ThreadWorker
Jérémie Laval [Wed, 2 Feb 2011 14:52:20 +0000 (14:52 +0000)]
Lazy creation of the continuation queue in Task
Jérémie Laval [Wed, 2 Feb 2011 14:50:16 +0000 (14:50 +0000)]
Inline read and write calls in CyclicDeque
Jérémie Laval [Wed, 2 Feb 2011 14:47:31 +0000 (14:47 +0000)]
Make some CyclicDeque operation faster
Ankit Jain [Wed, 2 Feb 2011 12:19:05 +0000 (17:49 +0530)]
[xbuild] Warn for unknown toolsVersion only on build.
Emit warning for unknown toolsversion only on a build, and
*not* everytime the project file is parsed.
* class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Project.cs
(GetToolsVersionToUse): Add a 'emitWarning' bool param.
(Build): Call GetToolsVersionToUse () to ensure that a warning is
emitted in case of a unknown tools version.
Marek Safar [Wed, 2 Feb 2011 12:38:44 +0000 (12:38 +0000)]
Update error tests
Marek Safar [Wed, 2 Feb 2011 12:35:37 +0000 (12:35 +0000)]
Update mono.spec with new mcs.exe location
Marek Safar [Wed, 2 Feb 2011 12:31:53 +0000 (12:31 +0000)]
Compile&Run runtime tests with 4.0 corlib
Marek Safar [Wed, 2 Feb 2011 12:14:26 +0000 (12:14 +0000)]
Move DynamicContext class into a new file
Marek Safar [Wed, 2 Feb 2011 12:07:12 +0000 (12:07 +0000)]
Add handling of broken Convert callsite from Orchard Project
Rodrigo Kumpera [Wed, 2 Feb 2011 11:30:35 +0000 (12:30 +0100)]
Align call instructions to make code patching SMP safe.
* mini-x86.c (emit_call): Align call instructions on
3 mod 4 so the address is 4 bytes aligned and can't span
two cache lines. This is required for proper SMP support
as CAS is not atomic across cache lines.
Fixes one of the crashes due to #667921.
Marek Safar [Wed, 2 Feb 2011 11:07:50 +0000 (11:07 +0000)]
Another attempt to build resgen correctly
Marek Safar [Wed, 2 Feb 2011 11:07:42 +0000 (11:07 +0000)]
New test
Marek Safar [Wed, 2 Feb 2011 10:01:51 +0000 (10:01 +0000)]
Update to the latest mcs
Marek Safar [Wed, 2 Feb 2011 09:44:00 +0000 (09:44 +0000)]
Update resgen header
Marek Safar [Wed, 2 Feb 2011 09:40:52 +0000 (09:40 +0000)]
Update to the latest mcs
Marek Safar [Wed, 2 Feb 2011 09:13:59 +0000 (09:13 +0000)]
Make resgen build profile specific
Marek Safar [Wed, 2 Feb 2011 09:09:48 +0000 (09:09 +0000)]
Clean up resource files
Atsushi Eno [Wed, 2 Feb 2011 09:18:02 +0000 (18:18 +0900)]
Implement XamlReader.ReadSubtree().
Atsushi Eno [Wed, 2 Feb 2011 09:14:24 +0000 (18:14 +0900)]
Add missing test files.
Atsushi Eno [Wed, 2 Feb 2011 07:11:58 +0000 (16:11 +0900)]
Implement GetInheritedContracts(), towards bugfix #668089.
Geoff Norton [Wed, 2 Feb 2011 04:53:36 +0000 (23:53 -0500)]
Avoid a stack overflow when deactivating a window
Michael Hutchinson [Wed, 2 Feb 2011 03:54:34 +0000 (22:54 -0500)]
[Sdb] Pass out assigned port from VirtualMachineManager.BeginListen
Rolf Bjarne Kvinge [Mon, 24 Jan 2011 21:49:01 +0000 (22:49 +0100)]
Updated .gitignore
Rodrigo Kumpera [Tue, 1 Feb 2011 17:08:36 +0000 (18:08 +0100)]
Add test for dynamic method resurrection.
Marek Safar [Tue, 1 Feb 2011 16:59:53 +0000 (16:59 +0000)]
security was missing in 4.0 profile
Zoltan Varga [Tue, 1 Feb 2011 15:14:38 +0000 (16:14 +0100)]
Make caching in mono_marshal_get_virtual_stelemref () thread-safe. Fixes #668489.
Rodrigo Kumpera [Tue, 1 Feb 2011 15:50:24 +0000 (16:50 +0100)]
Don't use finalization to cleanup dynamic methods.
* reflection.c: Use a reference queue to cleanup
dynamic methods instead of finalization.
* runtime.c: Shutdown the dynamic method queue
before runtime cleanup begins.
* DynamicMethod.cs: No longer finalizable.
* icall-def.h: Remove unused dynamic method icall.
Fixes #660422
Rodrigo Kumpera [Tue, 1 Feb 2011 15:15:59 +0000 (16:15 +0100)]
Implement a reference queue API.
* gc.c: A reference queue allows one to queue
callbcks for when objects are collected.
It allows for safe cleanup of objects that can
only be done when it is effectively collected.
The major difference with regular finalization
is that the collector makes sure the object
was collected - and can't be resurrected.
* gc-internal.h: Export entrypoints for the
new API.
Marek Safar [Tue, 1 Feb 2011 15:05:37 +0000 (15:05 +0000)]
Fix culevel execution path
Marek Safar [Tue, 1 Feb 2011 14:59:08 +0000 (14:59 +0000)]
Add gacutil to perprofile build
joncham [Tue, 1 Feb 2011 02:47:07 +0000 (21:47 -0500)]
Disable finally_guard test on Windows.
Marek Safar [Tue, 1 Feb 2011 14:27:01 +0000 (14:27 +0000)]
Fix resgen profile path
Marek Safar [Tue, 1 Feb 2011 13:41:07 +0000 (13:41 +0000)]
Fix empty cast conversion from dynamic type object type argument
Marek Safar [Tue, 1 Feb 2011 13:34:02 +0000 (13:34 +0000)]
Default mcs sdk version is now 4
Jérémie Laval [Mon, 31 Jan 2011 18:08:45 +0000 (18:08 +0000)]
Adapt Parallel.For stealing to all processor flavors
Marek Safar [Tue, 1 Feb 2011 12:52:50 +0000 (12:52 +0000)]
Make mcs.exe .net4 application
Marek Safar [Mon, 31 Jan 2011 18:12:00 +0000 (18:12 +0000)]
Remove unused file
Atsushi Eno [Tue, 1 Feb 2011 12:23:44 +0000 (21:23 +0900)]
Make sure to clear compiled items. Fixes regressions appeared in WCF land.
Atsushi Eno [Tue, 1 Feb 2011 11:25:40 +0000 (20:25 +0900)]
standard endpoint and protocol mapping support were lacking at client side.
Turned out that they had nothing to do with #668089..
Marek Habersack [Tue, 1 Feb 2011 07:52:20 +0000 (08:52 +0100)]
[asp.net] FormsAuthenticationTicket.FromByteArray stops early if it is passed a null parameter
Marek Habersack [Mon, 31 Jan 2011 15:33:19 +0000 (16:33 +0100)]
[runtime] AddWatcher icall must look up the path in an IOMAP-aware way
Atsushi Eno [Tue, 1 Feb 2011 06:53:05 +0000 (15:53 +0900)]
Members in the base type in different namespace are serialized in base ns.
When the serializer serializes a Type B which is derived from A, it used to
serialize member M in A as in namespace_of_B, not in namespace_of_A.
This should fix bug #652331.
Atsushi Eno [Tue, 1 Feb 2011 03:59:44 +0000 (12:59 +0900)]
quick build workaround.
Atsushi Eno [Tue, 1 Feb 2011 01:56:07 +0000 (10:56 +0900)]
in NET_4_0, remove types that went into System.Xaml.dll. Change build order.
Bit Diff [Mon, 31 Jan 2011 22:57:19 +0000 (17:57 -0500)]
Fixes #527447 whereby it was not possible to pass additional arguments to mono-service2 (if your executable required command-line arguments of it's own).
Zoltan Varga [Mon, 31 Jan 2011 21:44:13 +0000 (22:44 +0100)]
Remove some duplicate code from mono_arch_find_jit_info ().
Zoltan Varga [Mon, 31 Jan 2011 21:39:28 +0000 (22:39 +0100)]
Fix stack walks on sparc.
Gonzalo Paniagua Javier [Mon, 31 Jan 2011 21:34:44 +0000 (16:34 -0500)]
Handle wrapped ThreadAbortException
Third party ProcessRequest() like the one from Razor can wrap a
ThreadAbortException originated from response.Redirect().
Jonathan Pryor [Mon, 31 Jan 2011 20:17:46 +0000 (15:17 -0500)]
Fix the basic-profile build.
Jonathan Pryor [Mon, 31 Jan 2011 19:08:41 +0000 (14:08 -0500)]
[monodroid] Fix System.TimeZoneInfo.
Most System.TimeZoneInfo members weren't be included in the build.
Gonzalo Paniagua Javier [Mon, 31 Jan 2011 15:47:23 +0000 (10:47 -0500)]
Allow forcing HTTP protocol version
If the version is manually set, ignore the version from the service
point when set.
Fixes bug #668199.
Lluis Sanchez [Mon, 31 Jan 2011 15:32:43 +0000 (16:32 +0100)]
Handle possible exceptions thrown by Socket.Close
Marek Habersack [Mon, 31 Jan 2011 14:10:52 +0000 (15:10 +0100)]
[asp.net] Implemented 4.0 types System.Web.Security.{MachineKey,MachineKeyProtection} plus tests
Jb Evain [Mon, 31 Jan 2011 14:02:24 +0000 (15:02 +0100)]
unbreak the build
Marek Safar [Mon, 31 Jan 2011 13:52:37 +0000 (13:52 +0000)]
Add more details to mcs time tracing
Levi Bard [Mon, 22 Nov 2010 13:16:34 +0000 (14:16 +0100)]
[Fix] Cleanup per github comments.
* io-layer/processes.c:
* io-layer/process-private.h:
Cleanup per github comments.
License: MIT/X11
Tak [Fri, 22 Oct 2010 10:51:56 +0000 (12:51 +0200)]
[Fix] Fix process scanning on OSX.
* io-layer/process-private.h: Generalize PID masking.
* io-layer/processes.c: Fix process scanning on OSX.
License: MIT/X11
Zoltan Varga [Mon, 31 Jan 2011 10:45:38 +0000 (11:45 +0100)]
When using xdebug, allocate all code from the code manager of the root domain. Hopefully fixes #666152.
Marek Habersack [Mon, 31 Jan 2011 10:06:41 +0000 (11:06 +0100)]
[asp.net] Ignore directories that don't exist instead of throwing.
Atsushi Eno [Mon, 31 Jan 2011 09:02:09 +0000 (18:02 +0900)]
Fix bug #661400 - fix complicated namespace resolution issue.
Namespaces in nested external schemas have to be validated against
immediately-containing schema. If there is a schema A with urn:x
targetNamespace imports a schema B with urn:y targetNamespace which
in turn includes another schema C, then C must be validated its namespace
against B, not A.
Marek Habersack [Fri, 28 Jan 2011 23:29:44 +0000 (00:29 +0100)]
[runtime] Use IOAMP-aware method of looking for domain configuration file
Jo Shields [Sun, 30 Jan 2011 20:37:24 +0000 (20:37 +0000)]
Really fix sgen on PowerPC Linux. Assembler on Linux requires that register names are just bare numbers, unlike OSX, i.e. "r0" must be "0" on Linux.
Atsushi Eno [Mon, 31 Jan 2011 04:27:46 +0000 (13:27 +0900)]
Do not return DocumentFragment from AppendChild() etc. Fixed bug #666249.
Atsushi Eno [Mon, 31 Jan 2011 03:09:06 +0000 (12:09 +0900)]
Fixed bug #666872; XElement.Changed and .Changing were not triggered.
Patch almost by Cambell Prince.
Atsushi Eno [Mon, 31 Jan 2011 02:49:22 +0000 (11:49 +0900)]
add public NetTcpSecurity .ctor() and close #667429.
Miguel de Icaza [Sun, 30 Jan 2011 22:42:58 +0000 (17:42 -0500)]
[repl] Fix running specified scripts from command line, allow #! syntax, add print command
We were calling the Reset () method after we had initialized the driver
with the new command line arguments, clearing the list of files to execute
before we executed them.
Added support for #! in the csharp repl, and added the print() command to
the InteractiveBase
Add a better way of dealing with -e, without adding hacks to the core that wont work
in the future
Miguel de Icaza [Sun, 30 Jan 2011 16:31:08 +0000 (11:31 -0500)]
[repl] Fix running specified scripts from command line, allow #! syntax, add print command
We were calling the Reset () method after we had initialized the driver
with the new command line arguments, clearing the list of files to execute
before we executed them.
Added support for #! in the csharp repl, and added the print() command to
the InteractiveBase
Veerapuram Varadhan [Sun, 30 Jan 2011 19:44:14 +0000 (01:14 +0530)]
Fixes 667236 - Handle numeric types appropriately
Miguel de Icaza [Sun, 30 Jan 2011 17:06:10 +0000 (12:06 -0500)]
[repl] Add support for -e EXPRESSION to the csharp command
Miguel de Icaza [Sun, 30 Jan 2011 16:40:59 +0000 (11:40 -0500)]
Document csharp #! support
Veerapuram Varadhan [Fri, 28 Jan 2011 17:33:02 +0000 (23:03 +0530)]
Added schema file to fix test break
Veerapuram Varadhan [Fri, 21 Jan 2011 20:53:46 +0000 (02:23 +0530)]
Don't run the test. Fixes test break.
Zoltan Varga [Sun, 30 Jan 2011 08:12:08 +0000 (09:12 +0100)]
Mark a newly added test as !FULLAOT.
Zoltan Varga [Sun, 30 Jan 2011 08:10:30 +0000 (09:10 +0100)]
Fix some quadratic behavior in the AOT compiler.
Zoltan Varga [Sun, 30 Jan 2011 08:10:09 +0000 (09:10 +0100)]
Improve hashing of MONO_PATCH_INFO_TYPE_FROM_HANDLE.
Zoltan Varga [Sun, 30 Jan 2011 05:59:42 +0000 (06:59 +0100)]
Don't crash when inlining static methods called using callvirt. Fixes #668170.
Zoltan Varga [Sat, 29 Jan 2011 19:51:23 +0000 (20:51 +0100)]
Clear the 'need_rgctx_tramp' flag when creating a synchronized wrapper. Fixes
Geoff Norton [Sat, 29 Jan 2011 16:35:54 +0000 (11:35 -0500)]
Typo
Thomas Goldstein [Sat, 29 Jan 2011 09:23:59 +0000 (10:23 +0100)]
Remove .NET 1.1 internal class: System.Windows.Forms.IDeviceContext
Geoff Norton [Sat, 29 Jan 2011 00:05:21 +0000 (19:05 -0500)]
Avoid a crash when shutting down jit attached threads
Zoltan Varga [Fri, 28 Jan 2011 16:32:33 +0000 (17:32 +0100)]
Remove unused --with-glib/--with-jit/--with-interp options.
Zoltan Varga [Fri, 28 Jan 2011 05:28:28 +0000 (06:28 +0100)]
Add an AtLeast version to sdb's VersionInfo class.