mono.git
12 years agoFix UriTemplate.Match to work with escaped uris
Dave Ferguson [Mon, 30 Apr 2012 19:34:34 +0000 (15:34 -0400)]
Fix UriTemplate.Match to work with escaped uris
Fixes bug 4793

12 years agoLess debug noise on console
Marek Safar [Mon, 30 Apr 2012 22:13:31 +0000 (23:13 +0100)]
Less debug noise on console

12 years agoAdd support for client certificates to HttpListener
Gonzalo Paniagua Javier [Mon, 30 Apr 2012 21:31:01 +0000 (17:31 -0400)]
Add support for client certificates to HttpListener

Fixes bug #3969.

12 years ago.NET 4.0+ flushes the request stream when content length is not set
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

12 years agoImplement Guid::ToString("X")
Marek Safar [Mon, 30 Apr 2012 18:01:38 +0000 (19:01 +0100)]
Implement Guid::ToString("X")

12 years agoFix Guid::CompareTo. Fixes #4721
Marek Safar [Mon, 30 Apr 2012 15:58:26 +0000 (16:58 +0100)]
Fix Guid::CompareTo. Fixes #4721

12 years agoUse TaskConstants in MOBILE profile as well.
Jonathan Chambers [Mon, 30 Apr 2012 16:46:30 +0000 (12:46 -0400)]
Use TaskConstants in MOBILE profile as well.

12 years ago[Mono.Debugger.Soft] Updated PointerValue
Jeffrey Stedfast [Mon, 30 Apr 2012 16:09:43 +0000 (12:09 -0400)]
[Mono.Debugger.Soft] Updated PointerValue

12 years agoAdd missing semicolon to fix the build.
Duncan Mak [Mon, 30 Apr 2012 04:28:42 +0000 (00:28 -0400)]
Add missing semicolon to fix the build.

12 years agoMerge pull request #281 from JamesB7/master
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

12 years agoFixed a typo and a whitespacing mistake.
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.

12 years agoFinished making the changes.
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.

12 years agoFix for two's complement overflow. Doing it just for BeginReceive first in case GitHu...
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.

12 years agoInsert sequence points based on the debug info emitted by mcs instead of littering...
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.

12 years agoRevert some debug logging.
Zoltan Varga [Sat, 28 Apr 2012 12:28:25 +0000 (14:28 +0200)]
Revert some debug logging.

12 years agoFix asserts/hangs when random addresses are passed to mono_aot_find_jit_info ().
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 ().

12 years ago[Mono.Debugger.Soft] Added PointerValue.cs
Jeffrey Stedfast [Sat, 28 Apr 2012 00:49:07 +0000 (20:49 -0400)]
[Mono.Debugger.Soft] Added PointerValue.cs

12 years agoAdd support for --llvm option to mono_jit_parse_options (). Fixes #4704.
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.

12 years agoDo not attempt to write 0 bytes.
Gonzalo Paniagua Javier [Fri, 27 Apr 2012 19:43:52 +0000 (15:43 -0400)]
Do not attempt to write 0 bytes.

Fixes bug #4669.

12 years agoDo not send all the DNs on the server upon establishing a connection.
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.

12 years agoSwitch Cecil to common git://github.com/mono/cecil.git
Marek Safar [Fri, 27 Apr 2012 18:43:16 +0000 (19:43 +0100)]
Switch Cecil to common git://github.com/mono/cecil.git

12 years agoDon't create temporary module builder for dynamic context, compiler no longer relies...
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

12 years agoFix range check in string::Split
Marek Safar [Fri, 27 Apr 2012 16:25:01 +0000 (17:25 +0100)]
Fix range check in string::Split

12 years agoFix the linux build that broke because of 786db71d
Duncan Mak [Thu, 26 Apr 2012 21:57:18 +0000 (17:57 -0400)]
Fix the linux build that broke because of 786db71d

12 years agoEmit seq points after all call which return a value.
Zoltan Varga [Thu, 26 Apr 2012 18:02:15 +0000 (20:02 +0200)]
Emit seq points after all call which return a value.

12 years agoRemove the g_mem_set_vtable () code, eglib doesn't support it.
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.

12 years ago[xbuild] We still need to throw if we fail to import something.
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.

12 years agoPass correct cancellation token to Task::Delay continuation
Marek Safar [Thu, 26 Apr 2012 16:21:03 +0000 (17:21 +0100)]
Pass correct cancellation token to Task::Delay continuation

12 years agoCanonicalize path on windows. Fixes #4625
Marek Safar [Thu, 26 Apr 2012 15:17:19 +0000 (16:17 +0100)]
Canonicalize path on windows. Fixes #4625

12 years agoFix simple return from async non generic Task methods
Marek Safar [Thu, 26 Apr 2012 14:35:08 +0000 (15:35 +0100)]
Fix simple return from async non generic Task methods

12 years ago More work on System.Net.Http
Marek Safar [Thu, 26 Apr 2012 12:40:26 +0000 (13:40 +0100)]
 More work on System.Net.Http

12 years agoAdd System.Net.Http project files
Marek Safar [Thu, 26 Apr 2012 12:39:23 +0000 (13:39 +0100)]
Add System.Net.Http project files

12 years agoCapture anonymous method variables into separate storey when inside iterator. Fixes...
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

12 years agoInclude MVC3 and aspnetwebstack assemblies pkg-config files
Marek Habersack [Thu, 26 Apr 2012 10:14:51 +0000 (12:14 +0200)]
Include MVC3 and aspnetwebstack assemblies pkg-config files

12 years agoRevert previous fix for 3205
Neale Ferguson [Wed, 25 Apr 2012 21:48:36 +0000 (17:48 -0400)]
Revert previous fix for 3205

12 years agoMerge pull request #279 from alexrp/master
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.

12 years agoFix bug #3205
Neale Ferguson [Wed, 25 Apr 2012 19:48:25 +0000 (15:48 -0400)]
Fix bug #3205

12 years agoIssue error for recursive generic constructors. Fixes #4647
Marek Safar [Wed, 25 Apr 2012 18:40:25 +0000 (19:40 +0100)]
Issue error for recursive generic constructors. Fixes #4647

12 years agoFix constructor call in QueryConcatNode
Jérémie Laval [Wed, 25 Apr 2012 18:29:20 +0000 (19:29 +0100)]
Fix constructor call in QueryConcatNode

12 years agoReplicate .NET behavior for exceptions in the finalizer thread.
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.

12 years agoMerge pull request #278 from JamesB7/patch-1
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+, ...

12 years agoAdd exception ignore mode to HttpWebRequest
Marek Safar [Wed, 25 Apr 2012 13:25:34 +0000 (14:25 +0100)]
Add exception ignore mode to HttpWebRequest

12 years agoMake System.Net.Http.HttpClient tests more robust
Marek Safar [Tue, 24 Apr 2012 19:47:21 +0000 (20:47 +0100)]
Make System.Net.Http.HttpClient tests more robust

12 years agoTurn on global single stepping for STEP_OUT too. Fixes #4549.
Zoltan Varga [Wed, 25 Apr 2012 10:33:51 +0000 (12:33 +0200)]
Turn on global single stepping for STEP_OUT too. Fixes #4549.

12 years agoAllow setting nullable values in sdb. Fixes #4385.
Zoltan Varga [Wed, 25 Apr 2012 09:11:00 +0000 (11:11 +0200)]
Allow setting nullable values in sdb. Fixes #4385.

12 years agoMake sure no live object is left unscanned before we process disappearing links ...
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.

12 years agoAdd regression test for #3903.
Rodrigo Kumpera [Tue, 24 Apr 2012 19:38:46 +0000 (16:38 -0300)]
Add regression test for #3903.

12 years agoUse MonoClass::element_class for non array types when computing array interfaces...
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.

12 years agoFix WebMatrix.Data tests
Marek Safar [Tue, 24 Apr 2012 17:14:04 +0000 (18:14 +0100)]
Fix WebMatrix.Data tests

12 years agoFix setting cookie port from uri
Marek Safar [Tue, 24 Apr 2012 16:36:12 +0000 (17:36 +0100)]
Fix setting cookie port from uri

12 years agoThis fixes Mono's Windows serial support for COM10+, while also not breaking compatib...
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.

12 years ago'make check' build fixes in Mono.Parallel and WebMatrix.Data.
alexrp [Tue, 24 Apr 2012 15:51:47 +0000 (17:51 +0200)]
'make check' build fixes in Mono.Parallel and WebMatrix.Data.

12 years agoAdd missing reference
Marek Safar [Tue, 24 Apr 2012 15:23:24 +0000 (16:23 +0100)]
Add missing reference

12 years agoFix programs clean target
Marek Safar [Tue, 24 Apr 2012 14:36:09 +0000 (15:36 +0100)]
Fix programs clean target

12 years agoNo tests for xbuild.exe
Marek Safar [Tue, 24 Apr 2012 14:35:38 +0000 (15:35 +0100)]
No tests for xbuild.exe

12 years agoRevert part of a93835169b16d453f9dfebb6384305fd61b4c0ca
Marek Safar [Tue, 24 Apr 2012 09:08:26 +0000 (10:08 +0100)]
Revert part of a93835169b16d453f9dfebb6384305fd61b4c0ca

12 years agoAvoid deadlocking when getting the ServicePoint
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.

12 years agoMake sure we are processing the wrappers during single stepping instead of the icall...
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.

12 years agoAOT not supported on Windows, warn the user
Miguel de Icaza [Tue, 24 Apr 2012 04:08:16 +0000 (00:08 -0400)]
AOT not supported on Windows, warn the user

12 years agoAdd these to MOBILE as well
Miguel de Icaza [Mon, 23 Apr 2012 22:49:48 +0000 (18:49 -0400)]
Add these to MOBILE as well

12 years agoHandle type merging when there is a shared iface. Fixes #4180.
Rodrigo Kumpera [Mon, 23 Apr 2012 18:37:51 +0000 (15:37 -0300)]
Handle type merging when there is a shared iface. Fixes #4180.

12 years ago[build] Try to enable parallel make on RPM build
Jeremie Laval [Mon, 23 Apr 2012 18:16:36 +0000 (19:16 +0100)]
[build] Try to enable parallel make on RPM build

12 years agoImplement more System.Net.Http tostring methods
Marek Safar [Mon, 23 Apr 2012 17:38:00 +0000 (18:38 +0100)]
Implement more System.Net.Http tostring methods

12 years agoFix leak by releasing the certificate elements from the CFArray since it was created...
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

12 years agoFix leak when an error message is returned from sqlite3_exec
Sebastien Pouliot [Mon, 23 Apr 2012 17:34:42 +0000 (13:34 -0400)]
Fix leak when an error message is returned from sqlite3_exec

12 years agoMerge pull request #277 from konrad-kruczynski/master
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

12 years agoBump test timeout
Marek Safar [Mon, 23 Apr 2012 16:06:43 +0000 (17:06 +0100)]
Bump test timeout

12 years agoDisable failing test
Marek Safar [Mon, 23 Apr 2012 16:02:04 +0000 (17:02 +0100)]
Disable failing test

12 years agoAdd another partially working parser hack. Fixes #4556
Marek Safar [Mon, 23 Apr 2012 15:56:00 +0000 (16:56 +0100)]
Add another partially working parser hack. Fixes #4556

12 years agoAnother fix and unit test added.
Konrad M. Kruczynski [Mon, 23 Apr 2012 13:44:16 +0000 (15:44 +0200)]
Another fix and unit test added.

Now all three possible cases are tested (and working).

12 years agoAvoid setting thread->abort_exc in mono_raise_exception_with_ctx too ().
Zoltan Varga [Mon, 23 Apr 2012 13:19:43 +0000 (15:19 +0200)]
Avoid setting thread->abort_exc in mono_raise_exception_with_ctx too ().

12 years agoAvoid setting thread->abort_exc in mono_raise_exception (), it was already done....
Zoltan Varga [Mon, 23 Apr 2012 13:15:17 +0000 (15:15 +0200)]
Avoid setting thread->abort_exc in mono_raise_exception (), it was already done. Fixes #4413.

12 years agoAvoid keeping the dummy values computed by setup_interface_offsets () when it is...
Zoltan Varga [Mon, 23 Apr 2012 12:34:22 +0000 (14:34 +0200)]
Avoid keeping the dummy values computed by setup_interface_offsets () when it is called from mono_class_setup_interface_offsets (). Fixes #4440.

12 years agoFixes as per the Rodrigo's comment.
Konrad M. Kruczynski [Mon, 23 Apr 2012 10:02:09 +0000 (12:02 +0200)]
Fixes as per the Rodrigo's comment.

Wait now throws an exception in case of cancellation token was
cancelled.

12 years agoWhen running in MonoTouch, compare against a reference image, instead of generating...
Miguel de Icaza [Mon, 23 Apr 2012 01:11:09 +0000 (21:11 -0400)]
When running in MonoTouch, compare against a reference image, instead of generating the reference image

12 years agoAdd concurrent-sweep to sgen's testing matrix.
Rodrigo Kumpera [Mon, 23 Apr 2012 00:08:26 +0000 (21:08 -0300)]
Add concurrent-sweep to sgen's testing matrix.

12 years agoFix concurrent sweep thread start code to actually work.
Rodrigo Kumpera [Mon, 23 Apr 2012 00:02:59 +0000 (21:02 -0300)]
Fix concurrent sweep thread start code to actually work.

12 years agoFix for bug in ManualResetEventSlim.
Konrad M. Kruczynski [Sun, 22 Apr 2012 20:24:14 +0000 (22:24 +0200)]
Fix for bug in ManualResetEventSlim.

The problem occured when one waited for an event with the
cancellation token and the wait was successful but not
immediate. In that case Wait returned false instead of true,
because of wait handle number mismatch. Also the unit test was
added.

12 years agoAdd inline api docs for mono_dll_insert
Miguel de Icaza [Sat, 21 Apr 2012 01:26:05 +0000 (21:26 -0400)]
Add inline api docs for mono_dll_insert

12 years agoUpdate man page with valid values for new parameters.
Rodrigo Kumpera [Fri, 20 Apr 2012 23:35:22 +0000 (20:35 -0300)]
Update man page with valid values for new parameters.

12 years agoRemove the element if SetElement sets the value to null.
Duncan Mak [Fri, 20 Apr 2012 20:04:46 +0000 (16:04 -0400)]
Remove the element if SetElement sets the value to null.

12 years agoBump version
Miguel de Icaza [Fri, 20 Apr 2012 20:24:37 +0000 (16:24 -0400)]
Bump version

12 years ago[monodoc] Fix XSL issue with Microsoft/.NET XSL compiler
Jeremie Laval [Fri, 20 Apr 2012 18:52:12 +0000 (19:52 +0100)]
[monodoc] Fix XSL issue with Microsoft/.NET XSL compiler

12 years ago[monodoc] Fix XSL extension object incompatibility to run on Windows/.NET
Jeremie Laval [Fri, 20 Apr 2012 18:51:13 +0000 (19:51 +0100)]
[monodoc] Fix XSL extension object incompatibility to run on Windows/.NET

12 years agoAvoid key duplication error from bogus ContentType
Gonzalo Paniagua Javier [Fri, 20 Apr 2012 17:57:22 +0000 (13:57 -0400)]
Avoid key duplication error from bogus ContentType

Fixes bug #4542.

12 years agoFix aspnetwebstack
Marek Safar [Fri, 20 Apr 2012 15:13:25 +0000 (16:13 +0100)]
Fix aspnetwebstack

12 years agoReport less cascading errors
Marek Safar [Fri, 20 Apr 2012 15:11:13 +0000 (16:11 +0100)]
Report less cascading errors

12 years agoRemove runtime regression tests, nobody is going to fix them anyway
Marek Safar [Fri, 20 Apr 2012 15:09:52 +0000 (16:09 +0100)]
Remove runtime regression tests, nobody is going to fix them anyway

12 years agoAvoid duplicate errors on indexer parameters
Marek Safar [Fri, 20 Apr 2012 11:18:58 +0000 (12:18 +0100)]
Avoid duplicate errors on indexer parameters

12 years agoDon't run member verification twice on nested types
Marek Safar [Fri, 20 Apr 2012 10:49:29 +0000 (11:49 +0100)]
Don't run member verification twice on nested types

12 years agoFix wrong error message
Marek Safar [Fri, 20 Apr 2012 10:42:11 +0000 (11:42 +0100)]
Fix wrong error message

12 years agoClear session error messages after successful type inference
Marek Safar [Fri, 20 Apr 2012 10:36:01 +0000 (11:36 +0100)]
Clear session error messages after successful type inference

12 years agoAdd new test
Marek Safar [Fri, 20 Apr 2012 09:31:37 +0000 (10:31 +0100)]
Add new test

12 years agoFix task delay tests
Marek Safar [Fri, 20 Apr 2012 09:30:56 +0000 (10:30 +0100)]
Fix task delay tests

12 years agoImplements System.Net.Http MultipartContent
Marek Safar [Fri, 20 Apr 2012 08:17:49 +0000 (09:17 +0100)]
Implements System.Net.Http MultipartContent

12 years agoadd bonus mobile build in System.Data.Linq (not sure if it works well yet).
Atsushi Eno [Fri, 20 Apr 2012 14:11:34 +0000 (23:11 +0900)]
add bonus mobile build in System.Data.Linq (not sure if it works well yet).

12 years agoSome small changes to assist Coregraphics System.Drawing
Miguel de Icaza [Fri, 20 Apr 2012 04:36:44 +0000 (00:36 -0400)]
Some small changes to assist Coregraphics System.Drawing

12 years agoDocument new sgen options in the man page.
Rodrigo Kumpera [Thu, 19 Apr 2012 20:22:11 +0000 (17:22 -0300)]
Document new sgen options in the man page.

12 years agoAdd two tunning knobs to the split nursery.
Rodrigo Kumpera [Thu, 19 Apr 2012 19:41:23 +0000 (16:41 -0300)]
Add two tunning knobs to the split nursery.

12 years agoAdjust split nursery defaults to be more aggressive. In line with common workloads.
Rodrigo Kumpera [Thu, 19 Apr 2012 19:21:25 +0000 (16:21 -0300)]
Adjust split nursery defaults to be more aggressive. In line with common workloads.