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
Marek Safar [Thu, 26 Apr 2012 12:39:23 +0000 (13:39 +0100)]
Add System.Net.Http project files
Marek Safar [Thu, 26 Apr 2012 08:02:06 +0000 (09:02 +0100)]
Capture anonymous method variables into separate storey when inside iterator. Fixes #4641
Marek Habersack [Thu, 26 Apr 2012 10:14:51 +0000 (12:14 +0200)]
Include MVC3 and aspnetwebstack assemblies pkg-config files
Neale Ferguson [Wed, 25 Apr 2012 21:48:36 +0000 (17:48 -0400)]
Revert previous fix for 3205
Rodrigo Kumpera [Wed, 25 Apr 2012 21:07:27 +0000 (14:07 -0700)]
Merge pull request #279 from alexrp/master
Replicate .NET behavior for exceptions in the finalizer thread.
Neale Ferguson [Wed, 25 Apr 2012 19:48:25 +0000 (15:48 -0400)]
Fix bug #3205
Marek Safar [Wed, 25 Apr 2012 18:40:25 +0000 (19:40 +0100)]
Issue error for recursive generic constructors. Fixes #4647
Jérémie Laval [Wed, 25 Apr 2012 18:29:20 +0000 (19:29 +0100)]
Fix constructor call in QueryConcatNode
alexrp [Wed, 25 Apr 2012 13:57:40 +0000 (15:57 +0200)]
Replicate .NET behavior for exceptions in the finalizer thread.
On .NET, when an exception occurs in the finalizer thread, it is
printed, the AppDomain.UnhandledException event is raised, and
the runtime is aborted (exact same thing as what happens when an
exception is thrown in a thread pool thread).
We now do the same.
Note that this is a breaking change; previously, we just silently
swallowed exceptions that occurred in the finalizer thread. Given
this, a test had to be adjusted (and renamed). An extra test has
been added to verify that the UnhandledException event is raised
correctly.
Marek Safar [Wed, 25 Apr 2012 14:03:54 +0000 (07:03 -0700)]
Merge pull request #278 from JamesB7/patch-1
See bug 4543: This fixes Mono's Windows serial support for COM10+, ...
Marek Safar [Wed, 25 Apr 2012 13:25:34 +0000 (14:25 +0100)]
Add exception ignore mode to HttpWebRequest
Marek Safar [Tue, 24 Apr 2012 19:47:21 +0000 (20:47 +0100)]
Make System.Net.Http.HttpClient tests more robust
Zoltan Varga [Wed, 25 Apr 2012 10:33:51 +0000 (12:33 +0200)]
Turn on global single stepping for STEP_OUT too. Fixes #4549.
Zoltan Varga [Wed, 25 Apr 2012 09:11:00 +0000 (11:11 +0200)]
Allow setting nullable values in sdb. Fixes #4385.
Rodrigo Kumpera [Wed, 25 Apr 2012 03:00:00 +0000 (00:00 -0300)]
Make sure no live object is left unscanned before we process disappearing links & finalizable objects.
Rodrigo Kumpera [Tue, 24 Apr 2012 19:38:46 +0000 (16:38 -0300)]
Add regression test for #3903.
Rodrigo Kumpera [Tue, 24 Apr 2012 19:36:16 +0000 (16:36 -0300)]
Use MonoClass::element_class for non array types when computing array interfaces. Fixes #3903.
* class.c (get_implicit_generic_array_interfaces): When computing the interfaces
of Array::InternalEnumerator<T> don't use element_class for array types as we
only want to do that to drop from enum to base type and uint->int.
Fixes #3903.
Marek Safar [Tue, 24 Apr 2012 17:14:04 +0000 (18:14 +0100)]
Fix WebMatrix.Data tests
Marek Safar [Tue, 24 Apr 2012 16:36:12 +0000 (17:36 +0100)]
Fix setting cookie port from uri
JamesB7 [Tue, 24 Apr 2012 16:33:16 +0000 (13:33 -0300)]
This fixes Mono's Windows serial support for COM10+, while also not breaking compatibility with Mono for Windows programs that rely on the earlier incorrect behavior.
alexrp [Tue, 24 Apr 2012 15:51:47 +0000 (17:51 +0200)]
'make check' build fixes in Mono.Parallel and WebMatrix.Data.
Marek Safar [Tue, 24 Apr 2012 15:23:24 +0000 (16:23 +0100)]
Add missing reference
Marek Safar [Tue, 24 Apr 2012 14:36:09 +0000 (15:36 +0100)]
Fix programs clean target
Marek Safar [Tue, 24 Apr 2012 14:35:38 +0000 (15:35 +0100)]
No tests for xbuild.exe
Marek Safar [Tue, 24 Apr 2012 09:08:26 +0000 (10:08 +0100)]
Gonzalo Paniagua Javier [Tue, 24 Apr 2012 08:52:22 +0000 (04:52 -0400)]
Avoid deadlocking when getting the ServicePoint
SSL connections were deadlocking when getting the service point for the
connection in the last few releases of 2.10.x and in master.
Fixes bug #4599.
Zoltan Varga [Tue, 24 Apr 2012 08:20:18 +0000 (10:20 +0200)]
Make sure we are processing the wrappers during single stepping instead of the icall methods. Fixes #4519.
Miguel de Icaza [Tue, 24 Apr 2012 04:08:16 +0000 (00:08 -0400)]
AOT not supported on Windows, warn the user
Miguel de Icaza [Mon, 23 Apr 2012 22:49:48 +0000 (18:49 -0400)]
Add these to MOBILE as well
Rodrigo Kumpera [Mon, 23 Apr 2012 18:37:51 +0000 (15:37 -0300)]
Handle type merging when there is a shared iface. Fixes #4180.
Jeremie Laval [Mon, 23 Apr 2012 18:16:36 +0000 (19:16 +0100)]
[build] Try to enable parallel make on RPM build
Marek Safar [Mon, 23 Apr 2012 17:38:00 +0000 (18:38 +0100)]
Implement more System.Net.Http tostring methods
Sebastien Pouliot [Mon, 23 Apr 2012 17:40:58 +0000 (13:40 -0400)]
Fix leak by releasing the certificate elements from the CFArray since it was created with a null CFArrayCallBacks
Sebastien Pouliot [Mon, 23 Apr 2012 17:34:42 +0000 (13:34 -0400)]
Fix leak when an error message is returned from sqlite3_exec
Rodrigo Kumpera [Mon, 23 Apr 2012 16:38:30 +0000 (09:38 -0700)]
Merge pull request #277 from konrad-kruczynski/master
FIx for problem with MRES.Wait(timeout, token) with not immediate Set