Miguel de Icaza [Sat, 19 May 2012 04:51:05 +0000 (00:51 -0400)]
Fix from Stephen McConnel for bug 5010
Rodrigo Kumpera [Fri, 18 May 2012 20:06:32 +0000 (17:06 -0300)]
Avoid a deadlock when waiting for pending finalizers.
* gc.c: If the finalizer thread is delay started
we must ensure that we don't block waiting for finalizers
until it is live.
This is required as the delayed start could happen in
the blocked thread - and deadlock us.
Rodrigo Kumpera [Sat, 12 May 2012 12:58:13 +0000 (09:58 -0300)]
Handle a race condition between thread registration and sgen's stop the world. Fixes bxc #1917.
Since new threads can come and go while we're stopping the world, we must
ignore the new ones as they are not supposed to be usable before this STW
cycle.
Since thread registration takes the GC lock, once STW starts all new threads
can't register and thus touch managed memory. This means we can ignore all
of those not seen in the first suspend pass.
This bug and the patch was a contribution by Sam Lang.
Fixes #1917.
Rodrigo Kumpera [Sat, 12 May 2012 12:34:53 +0000 (09:34 -0300)]
Using libc's free as a constant to mean true is cute, but nothing say it better than TRUE.
Rodrigo Kumpera [Sat, 12 May 2012 12:29:06 +0000 (09:29 -0300)]
Parallel gotta be parallel. Parallel nursery should use parallel major allocator.
Rodrigo Kumpera [Sat, 12 May 2012 12:20:16 +0000 (09:20 -0300)]
Make asserts more usefull.
Marek Safar [Fri, 18 May 2012 16:05:27 +0000 (17:05 +0100)]
Insert unattached attributes to AST also for enum members. Fixes #4666
Marek Safar [Fri, 18 May 2012 15:51:30 +0000 (16:51 +0100)]
Better error recovery from incomplete invocation expression. Fixes #4679
Rolf Bjarne Kvinge [Fri, 18 May 2012 12:30:30 +0000 (14:30 +0200)]
Sqlite: Map DATETIME to System.DateTime. Fixes #5078.
Zoltan Varga [Fri, 18 May 2012 11:56:43 +0000 (13:56 +0200)]
Implement full-aot support for ftnptr->delegate conversion using a new MonoNativeFunctionWrapper attribute, which should be attached to the delegate which will be used to wrap the native function. Fixes #4718.
Zoltan Varga [Thu, 17 May 2012 22:49:42 +0000 (00:49 +0200)]
Implement support for OP_LOADR4_MEMBASE/STORER4_MEMBASE with big offsets on ARM. Fixes #5093.
Marek Safar [Thu, 17 May 2012 20:40:15 +0000 (21:40 +0100)]
Resolve lock temporary variables before any embedded statement. Fixes #4994
Marek Safar [Thu, 17 May 2012 12:58:09 +0000 (13:58 +0100)]
Merge branch 'master' of github.com:mono/mono
Marek Safar [Thu, 17 May 2012 12:56:41 +0000 (13:56 +0100)]
Get full expanded interface list when checking for new slot interface implementation. Fixed #5110
Sebastien Pouliot [Wed, 16 May 2012 20:52:17 +0000 (16:52 -0400)]
Add fix and test case from bnc #650402
Rolf Bjarne Kvinge [Wed, 16 May 2012 20:18:37 +0000 (22:18 +0200)]
Add gitignore for Mono.Data.Sqlite
Rolf Bjarne Kvinge [Wed, 16 May 2012 20:18:03 +0000 (22:18 +0200)]
Sqlite: Close the command before the connection when CommandBehavior.CloseConnection is specified. Fixes #5058.
Marek Safar [Wed, 16 May 2012 18:36:46 +0000 (19:36 +0100)]
Add missing dist files
Marek Safar [Wed, 16 May 2012 17:23:24 +0000 (18:23 +0100)]
This instance is not available in base context for anynymous method
Marek Safar [Wed, 16 May 2012 16:01:28 +0000 (17:01 +0100)]
Don't report unresolved using clause error in eval mode multiple times
Jeremie Laval [Wed, 16 May 2012 10:50:17 +0000 (11:50 +0100)]
[corlib] Fix NullRef when using dispose a CancellationTokenRegistration when the initial source has been disposed
Marek Safar [Tue, 15 May 2012 17:34:21 +0000 (18:34 +0100)]
Implement DateTime::ToString format specifier for genitive month names. Fixes #4708
Marek Safar [Tue, 15 May 2012 15:56:36 +0000 (16:56 +0100)]
Fix some existing datetime tests
Marek Safar [Tue, 15 May 2012 12:44:41 +0000 (13:44 +0100)]
Add gitignore
Marek Safar [Tue, 15 May 2012 12:35:39 +0000 (13:35 +0100)]
Update locale builder tool
Marek Safar [Tue, 15 May 2012 12:27:52 +0000 (13:27 +0100)]
Update locale builder tool
Marek Safar [Tue, 15 May 2012 08:42:27 +0000 (09:42 +0100)]
Update culture infos and implement missing or not implemented members
Sebastien Pouliot [Mon, 14 May 2012 13:16:28 +0000 (09:16 -0400)]
newer nunit does not require a [TestFixture] attribute and made those fixture fail. Making them abstract fix this
Zoltan Varga [Mon, 14 May 2012 10:15:07 +0000 (12:15 +0200)]
Check return type compatibility for inlined methods as well. Fixes #5056.
Atsushi Eno [Mon, 14 May 2012 09:25:56 +0000 (18:25 +0900)]
Make use of GetPrefixOfNamespace() in XElement.ToString(). Fixed bug #3972.
Atsushi Eno [Mon, 14 May 2012 08:24:32 +0000 (17:24 +0900)]
Add Xml declaration even for such document that lacks XDeclaration.
Fixed bug #4850.
Atsushi Eno [Mon, 14 May 2012 07:31:54 +0000 (16:31 +0900)]
XNodeNavigator could be used for a node tree without XDocument, so make it work for such case.
Fixed bug #4690, patch by eb1 sil.org.
Atsushi Eno [Mon, 14 May 2012 07:23:06 +0000 (16:23 +0900)]
In XNodeNavigator, do not start text node skip from current node.
Fixed bug #4739, patch by eb1 sil.org.
Zoltan Varga [Mon, 14 May 2012 01:13:16 +0000 (03:13 +0200)]
Fix mono_nullable_box () in full-aot mode. Fixes #5045.
Zoltan Varga [Mon, 14 May 2012 00:40:44 +0000 (02:40 +0200)]
Fix byref stringbuilder marshalling. Fixes #5007.
Zoltan Varga [Sun, 13 May 2012 13:59:53 +0000 (15:59 +0200)]
Implement out support in byref string marshalling. Fixes part of #5007.
Marek Safar [Sun, 13 May 2012 08:33:25 +0000 (01:33 -0700)]
Merge pull request #295 from i59/patch-1
CSharpCodeCompiler ctor: Corrected Windows mcs path, now resides in 4.5 ...
Filip Lundgren [Sat, 12 May 2012 23:42:48 +0000 (02:42 +0300)]
CSharpCodeCompiler ctor: Corrected Windows mcs path, now resides in 4.5 directory.
Miguel de Icaza [Fri, 11 May 2012 14:44:12 +0000 (07:44 -0700)]
Merge pull request #293 from viniciusjarina/fix3258
Fix3258
Rolf Bjarne Kvinge [Thu, 10 May 2012 14:37:54 +0000 (16:37 +0200)]
If the dllname for a dllimport is a full path, try that exact path before anything else. Fixes #4678.
Neale Ferguson [Thu, 10 May 2012 17:45:36 +0000 (13:45 -0400)]
Add seq_point instruction to s390x
Sebastien Pouliot [Thu, 10 May 2012 12:45:01 +0000 (08:45 -0400)]
Add some stubs for methods required by the portable class library profiles
Sebastien Pouliot [Thu, 10 May 2012 00:18:47 +0000 (20:18 -0400)]
Add System.Windows.Input.ICommand which is part of 4.5 and the portable class libraries
Zoltan Varga [Wed, 9 May 2012 23:27:17 +0000 (01:27 +0200)]
Stop at catch clauses when doing a step over in sdb. Fixes #4851.
Rodrigo Kumpera [Wed, 9 May 2012 21:02:16 +0000 (14:02 -0700)]
Merge pull request #294 from madewokherd/createsuspended
Fix race condition in mono_threads_CreateThread.
Vincent Povirk [Wed, 9 May 2012 16:10:15 +0000 (11:10 -0500)]
Fix race condition in mono_threads_CreateThread.
Jonathan Chambers [Wed, 9 May 2012 18:19:14 +0000 (14:19 -0400)]
Include config.h and use TARGET_X86 and TARGET_AMD64 instead of i386 and __x86_64__.
Jeffrey Stedfast [Wed, 9 May 2012 18:46:38 +0000 (14:46 -0400)]
Added call to GC.SupressFinalize() in CFObject.Dispose()
Sebastien Pouliot [Wed, 9 May 2012 14:29:24 +0000 (10:29 -0400)]
Small adjustments needed for Profile[1-4] of the Portable Class Libraries.
Sebastien Pouliot [Wed, 9 May 2012 13:43:11 +0000 (09:43 -0400)]
Thread.Finalize is needed in Profile3 of the Portable Class Libraries.
Sebastien Pouliot [Wed, 9 May 2012 13:42:06 +0000 (09:42 -0400)]
BinaryWriter.Dispose is needed in Profile[1-4] of the Portable Class Libraries. Fix bug #4871
Jeffrey Stedfast [Wed, 9 May 2012 14:45:09 +0000 (10:45 -0400)]
[MacProxy] Fixed refcounting and got rid of unneeded attribute flags
Jeffrey Stedfast [Tue, 8 May 2012 22:59:13 +0000 (18:59 -0400)]
WebRequest.GetDefaultWebProxy() must not assume the type of the system proxy.
Jeffrey Stedfast [Tue, 8 May 2012 22:30:01 +0000 (18:30 -0400)]
[System.Net.WebRequest] Implemented new and improved proxy support on Mac/iOS
Vinicius Jarina [Tue, 8 May 2012 19:09:05 +0000 (16:09 -0300)]
Added unit test for the bug #3258 (Serialize|Deserialize DateTimeOffset?)
Vinicius Jarina [Tue, 8 May 2012 17:05:55 +0000 (14:05 -0300)]
Fix XML serialization of DateTimeOffset?. Fixes #3258
The nullable DateTimeOffset was not properly handled when serialized.
The deserialization changed to work with DateTimeOffset?.
Avoided "i:type" attribute when serializing Nullable type.
Vinicius Jarina [Mon, 7 May 2012 02:17:26 +0000 (23:17 -0300)]
Removed code commented
Rodrigo Kumpera [Tue, 8 May 2012 18:38:45 +0000 (11:38 -0700)]
Merge pull request #292 from QuickJack/master
Remaining changes of my corrupted change request #247
QuickJack [Tue, 8 May 2012 18:28:07 +0000 (20:28 +0200)]
Fixes a waring in System.Configuration.
Jeffrey Stedfast [Mon, 7 May 2012 19:38:19 +0000 (15:38 -0400)]
Fixed capitalization
Jeffrey Stedfast [Mon, 7 May 2012 18:57:18 +0000 (14:57 -0400)]
[Mono.Debugger.Soft] Re-added Dispose() method on VirtualMachine for API compat.
Jeffrey Stedfast [Mon, 7 May 2012 18:50:33 +0000 (14:50 -0400)]
[Mono.Debugger.Soft] Fixed building of tests
Rodrigo Kumpera [Mon, 7 May 2012 14:31:22 +0000 (11:31 -0300)]
When cleaning up the finalizers of a domain, do it in a way that reduces the chance of leftover objects.
* gc.c (finalize_domain_objects): When cleaning up a domain, we run two kinds of finalizers,
those that have already been queued and those for objects that remain alive.
A common problem we need to deal is that some finalizers allocate other finalizable objects
when doing seeminly trivial operations such as String.IndexOf - which might require the Thread
object of the finalizer thread to be instantiated.
We handle those new objects by draining the registered finalizers set until none shows up. This fails
if we run the queued finalizers after that.
The order onto which finalizers are run on domain unload is unspecified and the new behavior can
be argued to be more natural.
Rodrigo Kumpera [Fri, 4 May 2012 20:16:49 +0000 (17:16 -0300)]
Fiz a domain unload race regarding finalizable objects.
* sgen-gc.c (mono_gc_clear_domain): It's possible to have a finalizable object
survive mono_domain_finalize and leak into mono_domain_free, so we make sure this
won't crash by removing from the fin hashtable all objects that belong to the
doomed domain.
Zoltan Varga [Sun, 6 May 2012 13:04:29 +0000 (15:04 +0200)]
Raise an exception instead of aborting if a pinvoke method is not found in full-aot mode.
Rodrigo Kumpera [Fri, 4 May 2012 13:33:05 +0000 (10:33 -0300)]
Add a missing $(srcdir) to bug-3903 build command. Patch by KISHIMOTO, Makoto.
Zoltan Varga [Fri, 4 May 2012 09:08:23 +0000 (02:08 -0700)]
Merge pull request #290 from jbevain-forks/methodbodymirror-exceptions
Add exception handlers to MethodBodyMirror
Jb Evain [Fri, 4 May 2012 07:07:48 +0000 (09:07 +0200)]
Add exception handlers to MethodBodyMirror
Jeffrey Stedfast [Thu, 3 May 2012 22:01:30 +0000 (18:01 -0400)]
[Mono.Debugger.Soft] Don't make Connection disposable.
Atsushi Eno [Thu, 3 May 2012 18:30:51 +0000 (11:30 -0700)]
Merge pull request #286 from dafergu2/bug4794
Fix DataContractSerializer with duplicate qname
Atsushi Eno [Thu, 3 May 2012 14:16:37 +0000 (07:16 -0700)]
Merge pull request #288 from ewxrjk/xmlwriter
Fix XmlTextWriter's use of NewLineHandling.
Zoltan Varga [Thu, 3 May 2012 11:53:55 +0000 (13:53 +0200)]
More fixes for passing/receiving nullables in sdb. Fixes #4659.
Richard Kettlewell [Thu, 3 May 2012 09:49:54 +0000 (10:49 +0100)]
Fix XmlTextWriter's use of NewLineHandling.
- Move the setting of newline_handling early enough that Initialize()
can see it.
- Reduce the set of characters that trigger the slow path for
attribute values for the NewLineHandling.None case.
- Rewrite the handling of \t, \r and \n to match the MS docs
(which match the observed behavior of their implementation)
- Add some tests.
Marek Safar [Thu, 3 May 2012 08:00:48 +0000 (09:00 +0100)]
Merge branch 'master' of github.com:mono/mono
Marek Safar [Thu, 3 May 2012 07:59:20 +0000 (08:59 +0100)]
Fix parsing of -w argument. Fixes #4853
Dave Ferguson [Thu, 3 May 2012 03:28:44 +0000 (23:28 -0400)]
Fix DataContractSerializer with duplicate qname
- Fix bug 4794 by searching the SerializationMap with both type and
qname in all but several cases (see bug report comments)
- Add separate list for known types to mimic behavior of the .NET
runtime
- Make previous test fixtures public so that the unit tests will be run
- Remove unused private method
- Add unit test for bug 4794
Zoltan Varga [Wed, 2 May 2012 23:28:23 +0000 (01:28 +0200)]
Reset the async state and frame info for still running threads when resuming the vm in sdb. Fixes #4737.
Jeffrey Stedfast [Wed, 2 May 2012 20:05:55 +0000 (16:05 -0400)]
[Mono.Debugger.Soft] Prettified PrimitivateValue ToString for null values
Zoltan Varga [Wed, 2 May 2012 17:30:46 +0000 (10:30 -0700)]
Merge pull request #285 from joncham/eglib-fixes
eglib fixes for windows
Jonathan Chambers [Wed, 2 May 2012 17:25:20 +0000 (13:25 -0400)]
Add tests and correctly handle using '/' in windows paths.
Jonathan Chambers [Wed, 2 May 2012 17:16:04 +0000 (13:16 -0400)]
Test paths on windows using valid windows paths.
Jonathan Chambers [Wed, 2 May 2012 17:05:08 +0000 (13:05 -0400)]
Try try and use *nix style paths on Windows in uri tests.
Jonathan Chambers [Wed, 2 May 2012 16:59:44 +0000 (12:59 -0400)]
Adjust linker path to find eglib.lib for test_eglib project.
Marek Safar [Wed, 2 May 2012 15:54:07 +0000 (16:54 +0100)]
Add more tests
Marek Safar [Wed, 2 May 2012 14:33:20 +0000 (15:33 +0100)]
Update wrong test
Marek Safar [Wed, 2 May 2012 09:50:03 +0000 (10:50 +0100)]
Remove empty cctor
Marek Safar [Wed, 2 May 2012 09:44:29 +0000 (10:44 +0100)]
Remove expensive font initialization from default ThemeWin32Classic constructor, it's used indirectly by resgen
Marek Safar [Wed, 2 May 2012 09:32:45 +0000 (10:32 +0100)]
Check warning number for nowarn option as well
Gonzalo Paniagua Javier [Tue, 1 May 2012 19:09:16 +0000 (15:09 -0400)]
Do not raise the client cert callback twice.
Reverts my own patch from 2009.
Marek Safar [Tue, 1 May 2012 19:08:39 +0000 (12:08 -0700)]
Merge pull request #282 from dafergu2/bug4793
Fix UriTemplate.Match to work with escaped uris
Marek Safar [Tue, 1 May 2012 19:03:14 +0000 (20:03 +0100)]
Remove expensive font initialization from default Theme constructor, it's used indirectly by resgen
Marek Safar [Tue, 1 May 2012 17:53:19 +0000 (10:53 -0700)]
Merge pull request #284 from pmsanford/patch-1
Fix compile error in VS Project for csharp
pmsanford [Tue, 1 May 2012 17:49:53 +0000 (14:49 -0300)]
Fix compile error in VS Project for csharp (this broke as a result of SourceMethodBuilder being moved into its own source file)
Marek Safar [Tue, 1 May 2012 16:09:42 +0000 (17:09 +0100)]
Emit iterator finalizer once all nested anonymous methods are resolved. Fixes #4799
Dave Ferguson [Mon, 30 Apr 2012 19:34:34 +0000 (15:34 -0400)]
Fix UriTemplate.Match to work with escaped uris
Fixes bug 4793
Marek Safar [Tue, 1 May 2012 10:00:39 +0000 (11:00 +0100)]
Implement System.Net.Http content upload
Marek Safar [Mon, 30 Apr 2012 22:13:31 +0000 (23:13 +0100)]
Less debug noise on console
Gonzalo Paniagua Javier [Mon, 30 Apr 2012 21:31:01 +0000 (17:31 -0400)]
Add support for client certificates to HttpListener
Fixes bug #3969.
Gonzalo Paniagua Javier [Mon, 30 Apr 2012 18:16:21 +0000 (14:16 -0400)]
.NET 4.0+ flushes the request stream when content length is not set
Fixes bug #4640
Marek Safar [Mon, 30 Apr 2012 18:01:38 +0000 (19:01 +0100)]
Implement Guid::ToString("X")