Jonathan Pryor [Thu, 3 Oct 2013 15:06:21 +0000 (11:06 -0400)]
Support deserializing relative Uris. Fixes #15169.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=15169
Marek Safar [Thu, 3 Oct 2013 13:07:13 +0000 (09:07 -0400)]
Rodrigo Kumpera [Wed, 2 Oct 2013 21:45:09 +0000 (14:45 -0700)]
Merge pull request #769 from schani/fix-exception-throw-signal
[x86] Fix bug when getting a signal while throwing exception.
Marek Safar [Wed, 2 Oct 2013 21:29:12 +0000 (17:29 -0400)]
Emit better debugger attribute for stepping over state machine initialization
Sebastien Pouliot [Wed, 2 Oct 2013 20:28:04 +0000 (16:28 -0400)]
Use more detailled assert messages in some, randomly failing, Timer unit tests (to help track #14305)
Zoltan Varga [Wed, 2 Oct 2013 17:20:43 +0000 (13:20 -0400)]
[runtime] Save MonoTrampInfo structures in a list so mono_print_method_from_ip () would work on trampolines.
Mark Probst [Wed, 2 Oct 2013 14:58:53 +0000 (10:58 -0400)]
[x86] Fix bug when getting a signal while throwing exception.
Mark Probst [Wed, 2 Oct 2013 14:00:59 +0000 (07:00 -0700)]
[AMD64] Fix bug when getting a signal while throwing exception.
This is a very rarely occurring bug that's also still present on x86
and possibly other architectures, as well.
Atsushi Eno [Wed, 2 Oct 2013 14:04:44 +0000 (23:04 +0900)]
revive XSLT standalone tests (which was broken because of dependency on too old nunit and build profiles).
Zoltan Varga [Wed, 2 Oct 2013 13:24:32 +0000 (09:24 -0400)]
[runtime] Fix a runtime test which got broken by the newly added methods to the Marshal class.
Martin Baulig [Tue, 1 Oct 2013 16:48:00 +0000 (12:48 -0400)]
[System]: Fix System.IO.Compression.CompressionLevel enum.
Sebastien Pouliot [Tue, 1 Oct 2013 00:39:14 +0000 (20:39 -0400)]
Relax name check when deserializing a WindowsIdentity instance as the name can be empty (e.g. iOS7 simulator will hide the user name) [#12789]
Sebastien Pouliot [Mon, 30 Sep 2013 21:32:38 +0000 (17:32 -0400)]
[mono-api-html] Better handling of generic types (so they can be simplified and displayed correctly, e.g. for arrays)
Sebastien Pouliot [Mon, 30 Sep 2013 21:31:50 +0000 (17:31 -0400)]
[mono-api-html] Fix ending quote for non-string fields
Marek Safar [Sun, 29 Sep 2013 21:56:23 +0000 (17:56 -0400)]
Anonymous method with this access inside an iterator needs to initialize captured this field from iterator's copy. Fixes #14926
Sebastien Pouliot [Sat, 28 Sep 2013 17:06:35 +0000 (13:06 -0400)]
Fix potential NRE and give better output for fields and some types
Atsushi Eno [Sat, 28 Sep 2013 11:58:52 +0000 (20:58 +0900)]
Add ConsoleLoggerTest and fixed implementation to match .NET implementation.
Atsushi Eno [Sat, 28 Sep 2013 11:57:50 +0000 (20:57 +0900)]
implement some "new in 4.0" build event args types.
Rodrigo Kumpera [Fri, 27 Sep 2013 23:51:54 +0000 (19:51 -0400)]
Revert "Allow workitems to startup faster and reduce polling thread interval in the threadpool."
This commit is causing unbound growth in the number of threads for a series of workloads.
It's leading a sgen test to crash with 800 tp threads around, which doesn't make sense on a
4 cores system with default TP configuration.
This reverts commit
3c347d5d3a9c58666ef33c96e28a16c751e59619.
Rolf Bjarne Kvinge [Fri, 27 Sep 2013 13:03:23 +0000 (15:03 +0200)]
[Mono.Tuner] Remove unused field.
Atsushi Eno [Fri, 27 Sep 2013 11:02:14 +0000 (20:02 +0900)]
Add some "new in 4.0" API regarding build event args.
Zoltan Varga [Fri, 27 Sep 2013 10:35:12 +0000 (12:35 +0200)]
[sdb] Fix decoding of nested structs. Fixes #14942.
Atsushi Eno [Fri, 27 Sep 2013 10:12:54 +0000 (19:12 +0900)]
Fix build.
I forgot to save buffer, build, then save, then committed :(
Sebastien Pouliot [Thu, 26 Sep 2013 20:17:15 +0000 (16:17 -0400)]
Drop the System.Enum and System.ValueType for enum and struct.
Sebastien Pouliot [Thu, 26 Sep 2013 19:41:16 +0000 (15:41 -0400)]
Add a new tool to produce HTML diff of assemblies similar to what Xamarin.iOS has been producing
Atsushi Eno [Thu, 26 Sep 2013 16:54:41 +0000 (01:54 +0900)]
implement some primary members of ConsoleLogger (and FileLogger).
Jeffrey Stedfast [Thu, 26 Sep 2013 16:27:12 +0000 (12:27 -0400)]
[MacProxy] Initialize err to IntPtr.Zero before calling CFNetworkCopyProxiesForAutoConfigurationScript
Zoltan Varga [Thu, 26 Sep 2013 11:02:30 +0000 (13:02 +0200)]
[sdb] Fix a race in the sdb tests exposed by the recent threadpool changes.
Mark Probst [Thu, 26 Sep 2013 01:38:59 +0000 (18:38 -0700)]
[sgen] A better fix for the POSIX stop-world deadlock.
Zoltan Varga [Wed, 25 Sep 2013 11:03:51 +0000 (13:03 +0200)]
Implement net 4.5.1 generic wrapper methods in Marshal.
Atsushi Eno [Wed, 25 Sep 2013 09:37:30 +0000 (18:37 +0900)]
Fix bug #14951 - there was another escape sequence 1B 24 40 to indicate "old" JIS.
Marek Safar [Wed, 25 Sep 2013 09:27:06 +0000 (11:27 +0200)]
Bump ikvm-reflect
Marek Safar [Wed, 25 Sep 2013 09:20:09 +0000 (11:20 +0200)]
Report less cascading errors
Marek Safar [Wed, 25 Sep 2013 08:53:03 +0000 (10:53 +0200)]
Don't crash when reporting invalid named argument name. Fixes #14962
Zoltan Varga [Tue, 24 Sep 2013 23:35:19 +0000 (01:35 +0200)]
Fix the build.
Mark Probst [Tue, 24 Sep 2013 22:17:14 +0000 (15:17 -0700)]
Add a section to the README on how to submit bug reports.
Jonathan Pryor [Tue, 24 Sep 2013 21:14:55 +0000 (17:14 -0400)]
[System] Fix the CSharpCodeCompiler error parsing regex.
Use the same regex as xbuild uses for error parsing; see
7a2d2c24.
Jonathan Pryor [Tue, 24 Sep 2013 20:16:32 +0000 (16:16 -0400)]
[MSBuild] Fix the ${level} and ${number} capture.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=14767
Some people, when confronted with a problem, think
“I know, I'll use regular expressions.” Now they have two problems.
- http://regex.info/blog/2006-09-15/247
ToolTask uses a regular expression to extract various bits of
information from the warning/error message. Unfortunately it was
inadequate, and didn't correctly match on some errors.
The error message in this case is:
class1.cs(16,4): error CS0152: The label `case 1:' already occurs in this switch statement.
The problem was that while the previous regular expression would
succeed in matching the above string, it was horribly inaccurate in
what it captured:
${file} = "error CS0152"
${line} = "16"
${column} = "4"
${level} = "The"
${number} = "label `case 1"
${message}= "' already occurs in this switch statement."
Did I mention hilariously wrong?
There were two problems with the previous pattern:
1. It allowed filename+(line,column) to be _repeated_, which is
clearly insane. Filename/etc. shouldn't be repeated.
2. ${number} captured ".*\d", i.e. anything ending with a number, so
when the message had a number embedded within it, it was captured.
For good measure, use RegexOptions.IgnorePatternWhitespace so that
we don't have a horrendously long regex pattern to compare for diffs
the next time this needs fixing, and add NUnit tests.
Mark Probst [Tue, 24 Sep 2013 17:55:22 +0000 (10:55 -0700)]
[sgen] Fix a thread startup deadlock on POSIX.
If the GC stops the world and a thread is in the process of starting
up, but has not yet registered (it's not in the thread_list), it is
possible that the thread does register while the world is stopped.
When restarting the GC will then try to restart said thread, but since
it never got the suspend signal, it cannot answer the restart signal,
so a deadlock results.
This is triggered by `tests/sgen-bridge.cs`, about once every 10 runs.
We solve this by using a negative value in the `signal` field in the
thread info to indicate threads that have never been suspended.
Marek Safar [Tue, 24 Sep 2013 17:17:06 +0000 (19:17 +0200)]
Better checks for inaccessible member used via dynamic proxy. Fixes #14762
Marek Safar [Tue, 24 Sep 2013 14:04:07 +0000 (16:04 +0200)]
Reenable accidentally disabled test
Marek Safar [Tue, 24 Sep 2013 14:00:00 +0000 (16:00 +0200)]
Fixes compilation error on Mavericks
Marek Safar [Tue, 24 Sep 2013 13:56:45 +0000 (15:56 +0200)]
Initialize cookie container for default requests. Fixes #14783
Marek Safar [Tue, 24 Sep 2013 13:53:25 +0000 (15:53 +0200)]
Optmizes one string comparison.
Remove useless GC.SuppressFinalize
Paolo Molaro [Tue, 24 Sep 2013 13:25:53 +0000 (15:25 +0200)]
Allow workitems to startup faster and reduce polling thread interval in the threadpool.
Deals with xambug #14644 and similar issues.
Sebastien Pouliot [Tue, 24 Sep 2013 12:13:05 +0000 (08:13 -0400)]
Update cecil sources to latest
Sebastien Pouliot [Sat, 21 Sep 2013 02:26:54 +0000 (22:26 -0400)]
[linker] Resolve every type references if we're to save an assembly that is not linked (so the scope won't point to assemblies that were removed)
Marek Safar [Tue, 24 Sep 2013 07:44:44 +0000 (09:44 +0200)]
Check modifying members of readonly value-type field. Fixes #14802
Zoltan Varga [Tue, 24 Sep 2013 04:11:50 +0000 (06:11 +0200)]
Fix the windows build.
Rodrigo Kumpera [Mon, 23 Sep 2013 23:14:05 +0000 (19:14 -0400)]
Fix the windows build.
Rodrigo Kumpera [Mon, 23 Sep 2013 23:07:42 +0000 (19:07 -0400)]
Add test case for xref behavior for the sgen bridge.
Rodrigo Kumpera [Mon, 23 Sep 2013 22:51:34 +0000 (18:51 -0400)]
Make sure we properly account for transitive liveness when processing bridge objects. Fixes #13858
We depend on the latent liveness state of objects at the time we collect bridged objects. To
preserve this we must perform the dfs1 step right after collecting them and before we drain the
gray stack or all objects pointed by candidate bridge objects will be marked as alive.
Miguel de Icaza [Mon, 23 Sep 2013 17:03:05 +0000 (13:03 -0400)]
Wrap the code in MONO_BEGIN/END_DECLS
Miguel de Icaza [Mon, 16 Sep 2013 20:28:29 +0000 (16:28 -0400)]
Update message
Marek Safar [Sun, 22 Sep 2013 17:23:17 +0000 (19:23 +0200)]
Pass cancellation token to CopyAsync read block
Marek Safar [Sun, 22 Sep 2013 17:15:08 +0000 (19:15 +0200)]
Implements content loading cancellation. Fixes #13200
Marek Safar [Sun, 22 Sep 2013 15:43:41 +0000 (17:43 +0200)]
Test update
Marek Safar [Sun, 22 Sep 2013 15:42:47 +0000 (17:42 +0200)]
Bump ikvm-reflection
Zoltan Varga [Sat, 21 Sep 2013 12:56:58 +0000 (14:56 +0200)]
[runtime] Ignore --llvm when LLVM is not enabled in configure.
Vincent Povirk [Mon, 22 Apr 2013 21:06:10 +0000 (16:06 -0500)]
Add test for native thiscall methods.
Licensed under MIT/X11.
Vincent Povirk [Fri, 26 Jul 2013 20:50:11 +0000 (15:50 -0500)]
Add support for thiscall pinvokes on x86.
Licensed under MIT/X11.
Zoltan Varga [Sat, 21 Sep 2013 03:03:48 +0000 (05:03 +0200)]
[aot] Pass correct architecture to llc on x86-64.
Zoltan Varga [Sat, 21 Sep 2013 00:45:09 +0000 (02:45 +0200)]
Make the test-aot test less verbose.
Zoltan Varga [Fri, 20 Sep 2013 22:51:35 +0000 (15:51 -0700)]
Merge pull request #765 from knocte/runtime_fixage
[sgen] Improve fix for BXC#14834 to avoid redundant code
Andrés G. Aragoneses [Fri, 20 Sep 2013 20:15:42 +0000 (22:15 +0200)]
[sgen] Improve fix for BXC#14834 to avoid redundant code
Improve https://github.com/mono/mono/commit/
d2cc22580898df5d4a15e0f99ab513e1570a6082
by making OBJ_BITMAP_FOREACH be less redundant thanks to new macro
GNUC_BUILTIN_CTZ
Marek Safar [Fri, 20 Sep 2013 17:39:12 +0000 (19:39 +0200)]
Fixed TaskFactory::ContinueWhenAny with func result. Fixes #14839
Zoltan Varga [Fri, 20 Sep 2013 17:06:34 +0000 (19:06 +0200)]
[sgen] Use __builtin_ctzl () in OBJ_BITMAP_FOREACH_PTR () on 64 bit platforms. Fixes #14834.
Mark Probst [Fri, 20 Sep 2013 16:34:44 +0000 (09:34 -0700)]
Fix the build.
Marek Safar [Fri, 20 Sep 2013 15:59:28 +0000 (17:59 +0200)]
AggregateException::GetBaseException uses only 1-based inner exceptions. Fixes #14824
Marek Safar [Fri, 20 Sep 2013 15:39:51 +0000 (08:39 -0700)]
Merge pull request #760 from mayerwin/patch-2
Fix: bug https://bugzilla.xamarin.com/show_bug.cgi?id=14811 (to be reviewed)
Martin Baulig [Thu, 19 Sep 2013 22:56:30 +0000 (00:56 +0200)]
[xbuild]: Actually add the $(TargetFrameworkMonikerAssemblyAttributesPath) to @(Compile).
Marek Habersack [Fri, 20 Sep 2013 12:21:52 +0000 (05:21 -0700)]
Merge pull request #758 from echampet/capabilities
Fix crashes with browser capabilities
Etienne CHAMPETIER [Wed, 18 Sep 2013 11:37:45 +0000 (13:37 +0200)]
[System.Web] Re-enable AppBrowsersTest.cs tests for net_2_0
For now mcs/class/System.Web/Test/mainsoft/NunitWebResources/adapters.browser
depends on System.Web_test_net_2_0.dll
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Etienne CHAMPETIER [Thu, 19 Sep 2013 11:48:06 +0000 (13:48 +0200)]
[Install] Add Compat.browser files for net_4_0 and net_4_5
Without that referencing browser 'Default' (parentID="Default")
in a .browser file make the app throw exceptions here
mcs/class/System.Web/System.Web.Configuration_2.0/nBrowser/Build.cs#L206
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Frederic Mestayer [Mon, 16 Sep 2013 16:18:04 +0000 (18:18 +0200)]
[System.Web] Do not crash on duplicate keys in browser capabilities
Correct https://bugzilla.xamarin.com/show_bug.cgi?id=14720 and
probably https://bugzilla.xamarin.com/show_bug.cgi?id=13014
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@fiducial.net>
Signed-off-by: Frederic Mestayer <f.mestayer@fiducial.net>
Rolf Bjarne Kvinge [Fri, 20 Sep 2013 08:33:24 +0000 (10:33 +0200)]
[System.Net] Fix CFNetworkCopyProxiesForAutoConfigurationScript signature. Fixes #7923.
Rolf Bjarne Kvinge [Thu, 19 Sep 2013 22:18:22 +0000 (00:18 +0200)]
[System.Net.Http] Add a way to add extra build arguments.
This is used by monotouch to add a reference to monotouch.dll.
Also add a profile-specific sources file for monotouch so the
extensions module can add even more files.
Rodrigo Kumpera [Thu, 19 Sep 2013 22:05:15 +0000 (15:05 -0700)]
Merge pull request #763 from madewokherd/mingwbuild
Fix the mingw-w64 build
Vincent Povirk [Thu, 19 Sep 2013 21:16:04 +0000 (16:16 -0500)]
Fix undeclared variables in exceptions-amd64.c on win64.
This commit is licensed under MIT/X11.
Vincent Povirk [Thu, 19 Sep 2013 21:14:52 +0000 (16:14 -0500)]
Test for InterlockedCompareExchange64 in the configure script.
mingw.org doesn't have this function but mingw-w64 does.
This commit is licensed under MIT/X11.
Zoltan Varga [Thu, 19 Sep 2013 20:33:16 +0000 (22:33 +0200)]
Disable the LLVM version check for now, it doesn't work if llvm was not compiled in a git repo.
Zoltan Varga [Thu, 19 Sep 2013 20:04:49 +0000 (22:04 +0200)]
Check the version of LLVM at configure time to make sure it has a matching version.
Rodrigo Kumpera [Thu, 19 Sep 2013 20:03:12 +0000 (16:03 -0400)]
Add test-aot target.
Rodrigo Kumpera [Thu, 19 Sep 2013 19:13:49 +0000 (15:13 -0400)]
[runtime]Fix typo in detection of the need of 64bits atomic intrinsics.
Sebastien Pouliot [Thu, 19 Sep 2013 19:28:40 +0000 (15:28 -0400)]
Change Random implementation to JKISS which is faster and has a longer period. Also match .NET 2.0 behaviour wrt calls to protected Sample. Add unit tests (and removed the commented ones). Ref: www0.cs.ucl.ac.uk/staff/d.jones/GoodPracticeRNG.pdf
Zoltan Varga [Thu, 19 Sep 2013 19:23:24 +0000 (21:23 +0200)]
[runtime] Improve error checking for temporary file creation in the AOT compiler.
Rolf Bjarne Kvinge [Thu, 19 Sep 2013 17:47:29 +0000 (19:47 +0200)]
Revert "Add System.Net.Http.dll to the monotouch build."
This reverts commit
9df6eebc346a066811e26128b9b500a2cd46170c.
Not quite ready for this yet, more changes are needed.
Rolf Bjarne Kvinge [Thu, 19 Sep 2013 16:50:34 +0000 (18:50 +0200)]
Add System.Net.Http.dll to the monotouch build.
Rodrigo Kumpera [Thu, 19 Sep 2013 16:50:27 +0000 (12:50 -0400)]
[llvm] On OSX we need to search in /Libraries in addition to /lib.
Zoltan Varga [Wed, 18 Sep 2013 22:19:41 +0000 (00:19 +0200)]
[runtime] Fix a bug in the local register allocator when an fp vreg wasn't clobbered by a call if its href happened to be equal to the hreg of the call instruction. Fixes #12510.
Rodrigo Kumpera [Wed, 18 Sep 2013 20:21:49 +0000 (16:21 -0400)]
Fix the Makefile addition of a new test.
Rodrigo Kumpera [Wed, 18 Sep 2013 20:12:00 +0000 (16:12 -0400)]
[runtime]Do an alignment check before using the atomic op.
Zoltan Varga [Wed, 18 Sep 2013 20:09:23 +0000 (22:09 +0200)]
Fix the DISABLE_JIT build.
Rodrigo Kumpera [Tue, 17 Sep 2013 23:25:27 +0000 (19:25 -0400)]
Add a sgen test for threads joining/leaving at random places.
Rodrigo Kumpera [Tue, 17 Sep 2013 23:23:08 +0000 (19:23 -0400)]
[sgen] Kill SgenThreadInfo::thread_is_dying in favor of the thread-info state information.
Rodrigo Kumpera [Tue, 17 Sep 2013 23:16:03 +0000 (19:16 -0400)]
[runtime]Properly set mono-thread state as when starting/running/shutting down/dead.
Rodrigo Kumpera [Tue, 17 Sep 2013 22:24:10 +0000 (18:24 -0400)]
[sgen]Remove doing_handshake field since the race condition it fixes is now handled by mono-threads.
Rodrigo Kumpera [Tue, 17 Sep 2013 21:04:53 +0000 (17:04 -0400)]
[io-layer] Fix a warning.
Rodrigo Kumpera [Tue, 17 Sep 2013 21:04:11 +0000 (17:04 -0400)]
[runtime] Small optimizations and cleanup in ves_icall_System_Array_FastCopy.
Rodrigo Kumpera [Tue, 17 Sep 2013 21:01:30 +0000 (17:01 -0400)]
[runtime]Add more fast variants of the mono_array functions as those shown up in profiling.