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.
Andreas [Thu, 3 May 2012 12:42:18 +0000 (14:42 +0200)]
Force disposal of Sqlite commands with using-statements in order to better isolate the unit tests.
Robert Wilkens [Thu, 3 May 2012 12:20:37 +0000 (08:20 -0400)]
This is a minor change to earlier commit which removes a commented out
sql server that should not have been there. It changes nothing functionally,
but the server is a temporary server, so referencing it didn't make sense.
Robert Wilkens [Thu, 3 May 2012 12:05:55 +0000 (08:05 -0400)]
This is the addition of a quick and dirty NUnit test for Bug 4786
This bug was fixed in another commit/push by Robert Wilkens (me).
This NUnit test will fail without the patch (It will raise a
NullReferenceException from within mono), but with the patch for that
bug it will not raise an exception and the test will exit cleanly.
Please note, the top of this patch source sets up a temporary network
socket to listen to a port which pool.GetConnection() simply tries to connect
to. No data is transfered so nothing needed to be done other than to
call Listen() on that socket which was bound to the port. If the listen fails,
it means something else is listening already, which is fine, so we ignore
any excpetions from this part of the code (catch and ignore).
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)
Robert Wilkens [Tue, 1 May 2012 17:00:45 +0000 (13:00 -0400)]
See Reported Bug #4786 in bugzilla which this attempts to resolve (and seems to succesfully).
This is a one line change: result = null; had to be set before going back to the 'retry' point in GetConnection..
This is/should-be safe because we had just disconnected result a few lines earlier.
Without this change, under certain conditions which would flag a retry, when it went to the retry point
it wouldn't reset 'result', and as a result the main loop at the top of the GetConnection() function would
be skipped (it has -- while (result == null) -- at the retry point, and it would always be not null when it reached
that on retry), after which point it would just continue to retry on the same result indefinitely, which would eventually
result in an exception being raised.
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")
Marek Safar [Mon, 30 Apr 2012 15:58:26 +0000 (16:58 +0100)]
Fix Guid::CompareTo. Fixes #4721
Jonathan Chambers [Mon, 30 Apr 2012 16:46:30 +0000 (12:46 -0400)]
Use TaskConstants in MOBILE profile as well.
Jeffrey Stedfast [Mon, 30 Apr 2012 16:09:43 +0000 (12:09 -0400)]
[Mono.Debugger.Soft] Updated PointerValue
Duncan Mak [Mon, 30 Apr 2012 04:28:42 +0000 (00:28 -0400)]
Add missing semicolon to fix the build.
Gonzalo Paniagua Javier [Mon, 30 Apr 2012 04:08:22 +0000 (21:08 -0700)]
Merge pull request #281 from JamesB7/master
Bug 4723 fix: Socket bounds checks not correct for two's complement math
JamesB7 [Sun, 29 Apr 2012 22:40:38 +0000 (19:40 -0300)]
Fixed a typo and a whitespacing mistake.
Also made CheckRange more descriptive - no performance loss since the conditions were ORed before and so both got checked anyway.
JamesB7 [Sun, 29 Apr 2012 22:34:47 +0000 (19:34 -0300)]
Finished making the changes.
There are two types of checks that were being done before:
(1) offset < 0? size < 0? offset + size > buffer.Length? This is trivial to get around. If I make both offset and size positive but have the sum overflow, it will pass all three checks.
(2) offset in range? size in range? If the buffer is very large this might run into overflow issues with its checking, though fine most of the time...
Is the offset in range? And is the size in range against buffer.Length - offset (which we know to be >= 0 from the earlier offset check)? This method of bounds checking is not in any danger from two's complement overflows.
JamesB7 [Sun, 29 Apr 2012 22:15:14 +0000 (19:15 -0300)]
Fix for two's complement overflow. Doing it just for BeginReceive first in case GitHub's code editor screws up again.
Zoltan Varga [Sat, 28 Apr 2012 13:03:26 +0000 (15:03 +0200)]
Insert sequence points based on the debug info emitted by mcs instead of littering the JIT with heuristics.
Zoltan Varga [Sat, 28 Apr 2012 12:28:25 +0000 (14:28 +0200)]
Revert some debug logging.
Zoltan Varga [Sat, 28 Apr 2012 07:35:25 +0000 (09:35 +0200)]
Fix asserts/hangs when random addresses are passed to mono_aot_find_jit_info ().
Jeffrey Stedfast [Sat, 28 Apr 2012 00:49:07 +0000 (20:49 -0400)]
[Mono.Debugger.Soft] Added PointerValue.cs
Zoltan Varga [Fri, 27 Apr 2012 22:07:19 +0000 (00:07 +0200)]
Add support for --llvm option to mono_jit_parse_options (). Fixes #4704.
Gonzalo Paniagua Javier [Fri, 27 Apr 2012 19:43:52 +0000 (15:43 -0400)]
Do not attempt to write 0 bytes.
Fixes bug #4669.
Gonzalo Paniagua Javier [Fri, 27 Apr 2012 19:07:14 +0000 (15:07 -0400)]
Do not send all the DNs on the server upon establishing a connection.
Marek Safar [Fri, 27 Apr 2012 18:43:16 +0000 (19:43 +0100)]
Switch Cecil to common git://github.com/mono/cecil.git
Marek Safar [Fri, 27 Apr 2012 18:17:02 +0000 (19:17 +0100)]
Don't create temporary module builder for dynamic context, compiler no longer relies on SRE
Marek Safar [Fri, 27 Apr 2012 16:25:01 +0000 (17:25 +0100)]
Fix range check in string::Split
Duncan Mak [Thu, 26 Apr 2012 21:57:18 +0000 (17:57 -0400)]
Fix the linux build that broke because of
786db71d
Zoltan Varga [Thu, 26 Apr 2012 18:02:15 +0000 (20:02 +0200)]
Emit seq points after all call which return a value.
Zoltan Varga [Thu, 26 Apr 2012 16:32:30 +0000 (18:32 +0200)]
Remove the g_mem_set_vtable () code, eglib doesn't support it.
Jeffrey Stedfast [Thu, 26 Apr 2012 17:51:10 +0000 (13:51 -0400)]
[xbuild] We still need to throw if we fail to import something.
Marek Safar [Thu, 26 Apr 2012 16:21:03 +0000 (17:21 +0100)]
Pass correct cancellation token to Task::Delay continuation
Marek Safar [Thu, 26 Apr 2012 15:17:19 +0000 (16:17 +0100)]
Canonicalize path on windows. Fixes #4625
Marek Safar [Thu, 26 Apr 2012 14:35:08 +0000 (15:35 +0100)]
Fix simple return from async non generic Task methods
Marek Safar [Thu, 26 Apr 2012 12:40:26 +0000 (13:40 +0100)]
More work on System.Net.Http