Michael Hutchinson [Fri, 28 Jun 2013 23:22:13 +0000 (16:22 -0700)]
Merge pull request #642 from Ventero/CleanCopyLocal
[xbuild] Actually delete common files (CopyLocal) during Clean.
Michael Hutchinson [Fri, 28 Jun 2013 22:20:54 +0000 (18:20 -0400)]
[Mono.Debugger.Soft] More specific exception when not suspended
Marek Safar [Fri, 28 Jun 2013 16:48:18 +0000 (18:48 +0200)]
Fix generated generated code for implicit nullable conversions involving numeric binary promotion
Marek Safar [Fri, 28 Jun 2013 09:32:00 +0000 (11:32 +0200)]
Handle unicode line separators when parsing C# files
Rodrigo Kumpera [Fri, 28 Jun 2013 15:01:50 +0000 (11:01 -0400)]
Fix the build if -j4 is used.
Rodrigo Kumpera [Fri, 28 Jun 2013 14:48:03 +0000 (10:48 -0400)]
Cleanup automake warnings.
Rodrigo Kumpera [Fri, 28 Jun 2013 12:54:14 +0000 (08:54 -0400)]
Another go fighting autohell.
Marek Safar [Fri, 28 Jun 2013 09:21:47 +0000 (02:21 -0700)]
Merge pull request #676 from TalAloni/master
Fix for bug 12892 - Path.GetFullPath() may return incorrect relative path under Windows
TalAloni [Fri, 28 Jun 2013 08:25:54 +0000 (11:25 +0300)]
Fix for bug 12892 - Path.GetFullPath() may return incorrect relative path under Windows
Marek Safar [Fri, 28 Jun 2013 08:15:53 +0000 (10:15 +0200)]
Recover more from invalid throw statement. Fixes #12889
Marek Safar [Fri, 28 Jun 2013 07:30:36 +0000 (09:30 +0200)]
Better error candidate selection for anonymous methods
Zoltan Varga [Fri, 28 Jun 2013 00:24:37 +0000 (02:24 +0200)]
Add a missing case to mono_patch_info_hash ().
Rodrigo Kumpera [Thu, 27 Jun 2013 20:40:40 +0000 (16:40 -0400)]
Fix the build.
Rodrigo Kumpera [Thu, 27 Jun 2013 16:59:48 +0000 (12:59 -0400)]
[build]Fix make dist and use a symlink for mono.
Zoltan Varga [Thu, 27 Jun 2013 14:42:54 +0000 (16:42 +0200)]
Remove a pass from the llvm opt pipeline which is not a function pass.
Marek Safar [Thu, 27 Jun 2013 14:01:08 +0000 (16:01 +0200)]
Block task awaiter until task completes. Fixes #12745
Zoltan Varga [Thu, 27 Jun 2013 13:35:46 +0000 (15:35 +0200)]
Enable dolt on x64/osx.
Zoltan Varga [Thu, 27 Jun 2013 13:35:26 +0000 (15:35 +0200)]
Disable some warnings when using clang.
Zoltan Varga [Thu, 27 Jun 2013 13:35:03 +0000 (15:35 +0200)]
Fix returning uninitialized memory in get_pid_status_item ().
Marek Safar [Thu, 27 Jun 2013 12:03:19 +0000 (05:03 -0700)]
Merge pull request #671 from Blewzman/master
Fix SemaphoreSlim
Blewzman [Thu, 27 Jun 2013 11:33:50 +0000 (13:33 +0200)]
Fix SemaphoreSlim Constructor.
Fix https://bugzilla.xamarin.com/show_bug.cgi?id=11598.
Marek Safar [Thu, 27 Jun 2013 09:50:24 +0000 (11:50 +0200)]
Fix NRE on invalid second attribute target
Marek Safar [Wed, 26 Jun 2013 18:39:46 +0000 (20:39 +0200)]
Fix source file name comments
Martin Baulig [Thu, 27 Jun 2013 04:12:33 +0000 (06:12 +0200)]
Rodrigo Kumpera [Thu, 27 Jun 2013 00:26:31 +0000 (20:26 -0400)]
Add regression test for #12898.
Rodrigo Kumpera [Thu, 27 Jun 2013 00:24:02 +0000 (20:24 -0400)]
[verifier] Verify if the catch type is valid under the method context. Fixes BXC #12898.
Sebastien Pouliot [Wed, 26 Jun 2013 23:56:14 +0000 (19:56 -0400)]
Do not throw, optionally, when facing an unknown OID. Fix mozroot facing an sha384ECDSA signed certificate)
Rodrigo Kumpera [Wed, 26 Jun 2013 22:43:32 +0000 (18:43 -0400)]
[sgen] Fix string size calculation in the string alloc wrapper.
It turns out copying the size calculation code from boehm's string wrapper
was a bad idea as it does it incorrectly. The whole runtime calculates it as
"sizeof (MonoString) + (len + 1) * 2" and not offsetof (MonoString, chars) + (len + 1) * 2".
This difference is 4 bytes on 64bits OSX and causes the world to crash.
It might be that we're over allocating here, but we must follow what everything else
expects us to do.
Rodrigo Kumpera [Wed, 26 Jun 2013 22:24:39 +0000 (18:24 -0400)]
[sgen] Fix NALLOC_DEBUG.
Rodrigo Kumpera [Wed, 26 Jun 2013 20:09:13 +0000 (16:09 -0400)]
Fix build due to boehm->sgen changes.
Rodrigo Kumpera [Wed, 26 Jun 2013 15:52:24 +0000 (11:52 -0400)]
Mono now defaults to sgen. We now ship a libmonoboehm for those that need it.
Rodrigo Kumpera [Wed, 26 Jun 2013 15:54:46 +0000 (11:54 -0400)]
Fix the build.
Zoltan Varga [Wed, 26 Jun 2013 17:22:05 +0000 (19:22 +0200)]
Don't make mono_tramp_info_create () assume ownership of its 'name' argument to avoid crashes if the caller passes in a static string.
Zoltan Varga [Wed, 26 Jun 2013 17:11:37 +0000 (19:11 +0200)]
Upgrade llvm backend to match https://github.com/mono/llvm/commit/
411ba3e5b299e841a9418d7fa18c48a2543248d2.
Zoltan Varga [Wed, 26 Jun 2013 17:05:40 +0000 (19:05 +0200)]
Fix the LLVM JIT.
Zoltan Varga [Wed, 26 Jun 2013 15:41:04 +0000 (17:41 +0200)]
Add some comments to the gsharedvt constrained call code.
Rodrigo Kumpera [Wed, 26 Jun 2013 15:00:10 +0000 (08:00 -0700)]
Merge pull request #670 from LogosBible/nostrndup
Don't try to detect strndup on OS X; it is only available on 10.7+.
Martin Potter [Wed, 26 Jun 2013 14:06:26 +0000 (07:06 -0700)]
Don't try to detect strndup on OS X; it is only available on 10.7+.
Marek Safar [Wed, 26 Jun 2013 13:32:25 +0000 (15:32 +0200)]
Mutate generic catch block type when needed. Fixes #12799
Marek Safar [Wed, 26 Jun 2013 12:42:24 +0000 (14:42 +0200)]
Fix order of capturing of this inside switch statement. Fixes #12544
Marek Safar [Wed, 26 Jun 2013 12:40:09 +0000 (14:40 +0200)]
Update test
Martin Baulig [Wed, 26 Jun 2013 11:28:04 +0000 (13:28 +0200)]
[System]: Make WebClient report an error when the download aborted prematurely.
On iOS, Stream.Read() returns 0 if you put the device to sleep while the
download is still running. We now work around that by checking whether the
file has been fully downloaded. Note that this only works if the server
included a Content-Length header.
Fixes #3924.
Marek Safar [Wed, 26 Jun 2013 08:57:01 +0000 (10:57 +0200)]
Rodrigo Kumpera [Wed, 26 Jun 2013 01:33:53 +0000 (18:33 -0700)]
Merge pull request #654 from alesliehughes/master
Implement two functions for supporting IDispatch.
Alistair Leslie-Hughes [Thu, 21 Mar 2013 00:40:20 +0000 (11:40 +1100)]
Implement cominterop_ccw_get_ids_of_names
License: This patch is under the MIT/X11 license.
Alistair Leslie-Hughes [Thu, 21 Mar 2013 00:27:33 +0000 (11:27 +1100)]
Implement cominterop_ccw_get_type_info_count
License: This patch is under the MIT/X11 license.
Zoltan Varga [Tue, 25 Jun 2013 23:55:17 +0000 (01:55 +0200)]
Implement proper osx aot tls support for amd64 too.
Martin Baulig [Tue, 25 Jun 2013 23:28:36 +0000 (01:28 +0200)]
[System]: Partially fix #12393.
Duncan Mak [Tue, 25 Jun 2013 22:04:53 +0000 (18:04 -0400)]
Bump version number to 3.1.0
Marek Safar [Tue, 25 Jun 2013 20:57:32 +0000 (22:57 +0200)]
Update verification data
Marek Safar [Tue, 25 Jun 2013 14:30:54 +0000 (16:30 +0200)]
Fix MethodImplOptions argument checks. Fixes #12638
Marek Safar [Tue, 25 Jun 2013 12:47:15 +0000 (14:47 +0200)]
Better crash reporting
Jonathan Pryor [Tue, 25 Jun 2013 19:19:01 +0000 (15:19 -0400)]
[System.Core/Android] Use correct comparison for timezone ids.
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=7953
The names within zoneinfo.idx are sorted ordinally, which is not the
default string comparison that Array.BinarySearch() uses.
Consequently, many timezones would not be found even though they were
present, including "Pacific/Auckland".
Use the correct string comparison so that names can be found.
Marek Safar [Tue, 25 Jun 2013 19:35:06 +0000 (12:35 -0700)]
Merge pull request #669 from LogosBible/Uri_TryCreate
Escape path for absolute Uris created using Uri.TryCreate(string, UriKind, out Uri)
Rodrigo Kumpera [Tue, 25 Jun 2013 18:22:48 +0000 (14:22 -0400)]
[corlib] Fix MethodInfo::ToString () to properly format generic structs. Fixes BXC #12856
Rodrigo Kumpera [Tue, 25 Jun 2013 15:44:44 +0000 (11:44 -0400)]
[aot]Clean the loader error after calling mini_method_compile to avoid poisoning further calls.
Zoltan Varga [Tue, 25 Jun 2013 15:53:57 +0000 (17:53 +0200)]
Add a workaround for an AOT crash in mt.
Grayson Hansard [Thu, 24 Jan 2013 23:04:03 +0000 (15:04 -0800)]
Escape path for absolute Uris created using Uri.TryCreate(string, UriKind, out bool)
Zoltan Varga [Tue, 25 Jun 2013 14:52:51 +0000 (16:52 +0200)]
Make the AOT compiler stats output a bit more compact.
Marek Safar [Tue, 25 Jun 2013 10:35:45 +0000 (12:35 +0200)]
Rewrite lifted binary operators to match C# spec more closely. Fixes #12608 and about 10 other issues.
Marek Safar [Sat, 22 Jun 2013 16:17:01 +0000 (18:17 +0200)]
Fix wrong MediaType comparison
Martin Baulig [Mon, 24 Jun 2013 22:18:43 +0000 (00:18 +0200)]
[System]: Stub out System.Net.WebSockets.ClientWebSocket.
Zoltan Varga [Mon, 24 Jun 2013 21:09:40 +0000 (23:09 +0200)]
Use --relocation-model=pic for llvm on ios.
Zoltan Varga [Mon, 24 Jun 2013 21:06:31 +0000 (23:06 +0200)]
Fix the build.
Zoltan Varga [Mon, 24 Jun 2013 20:33:08 +0000 (22:33 +0200)]
Store AOT method indexes in the Mono EH frame instead of method addresses, since the former needs no relocations.
Martin Baulig [Mon, 24 Jun 2013 17:00:19 +0000 (19:00 +0200)]
[System]: Add System.Uri test for bug #12631.
Martin Baulig [Mon, 24 Jun 2013 16:30:40 +0000 (18:30 +0200)]
Implement System.Net.Http.WebRequestHandler.
Zoltan Varga [Sun, 23 Jun 2013 21:08:01 +0000 (23:08 +0200)]
Add a GSHAREDVT_REG_IREG return marshalling convention on ARM.
Zoltan Varga [Sat, 22 Jun 2013 21:42:39 +0000 (23:42 +0200)]
Emit dummy dwarf line number info for methods without line numbers, like wrappers.
Zoltan Varga [Sat, 22 Jun 2013 12:49:21 +0000 (14:49 +0200)]
When unloading domains, free dynamic assemblies first, since they have no ref counting, so they can depend on static assemblies which are already freed. Fixes #12786.
Zoltan Varga [Sat, 22 Jun 2013 11:58:31 +0000 (13:58 +0200)]
Fix register allocation for hw remainder opcodes on armv7s. Fixes #12741.
Rodrigo Kumpera [Sat, 22 Jun 2013 00:31:02 +0000 (20:31 -0400)]
When compiling gshared code, always use the cached isinst/castclass as it's faster than the cached one.
Rodrigo Kumpera [Fri, 21 Jun 2013 23:56:16 +0000 (19:56 -0400)]
Enable managed allocation under gsharing.
We do that by using the NORMAL allocator instead of the SMALL allocator
as sizes might overflow at runtime.
The other change was to fix the GC api to take a MonoClass instead of a
MonoVTable.
Rodrigo Kumpera [Fri, 21 Jun 2013 20:35:50 +0000 (16:35 -0400)]
Implement the string allocator for sgen.
Rodrigo Kumpera [Fri, 21 Jun 2013 17:33:16 +0000 (13:33 -0400)]
[corlib]String.IndexOf is culture aware, while String.Contains is not.
Zoltan Varga [Sat, 22 Jun 2013 00:04:41 +0000 (02:04 +0200)]
Zoltan Varga [Fri, 21 Jun 2013 23:55:47 +0000 (01:55 +0200)]
Emit dwarf line number info using .file/.loc assembler directives on osx. Fixes #12731.
Sebastien Pouliot [Fri, 21 Jun 2013 15:54:38 +0000 (11:54 -0400)]
Add [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]
Zoltan Varga [Fri, 21 Jun 2013 15:41:52 +0000 (17:41 +0200)]
Change the prolog of managed-to-native wrappers so they conform to the ios unwind abi too.
Zoltan Varga [Fri, 21 Jun 2013 15:41:05 +0000 (17:41 +0200)]
Change the linkage of 'mono_aot_personality' to Internal, otherwise older llvm generates code which cannot be assembled by clang.
Miguel de Icaza [Sun, 5 May 2013 18:30:21 +0000 (14:30 -0400)]
[compiler docs]: Update to reflect way to debug the parser
Martin Baulig [Fri, 21 Jun 2013 12:12:27 +0000 (14:12 +0200)]
[System]: Make ServicePointManager hash on the proxy as well as uri and use_connect.
This fixes #12640.
Rodrigo Kumpera [Thu, 20 Jun 2013 23:28:34 +0000 (19:28 -0400)]
Remove COM types from mono_defaults and lazily fetch them at runtime.
Added some macros to generate functions to lazily fetch corlib types.
Rodrigo Kumpera [Thu, 20 Jun 2013 20:43:34 +0000 (16:43 -0400)]
Try to make lldb backtracing more reliable.
Michael Hutchinson [Thu, 20 Jun 2013 20:32:33 +0000 (16:32 -0400)]
[Cairo] Destroy should suppress finalizer
Sebastien Pouliot [Thu, 20 Jun 2013 19:46:41 +0000 (15:46 -0400)]
Do not assume AddressList[0] has the address the test wants, that's not always the case, and not what UdpClient should be testing
Michael Hutchinson [Thu, 20 Jun 2013 18:06:30 +0000 (14:06 -0400)]
[man] document MONO_CAIRO_DEBUG_DISPOSE
Miguel de Icaza [Thu, 20 Jun 2013 17:56:48 +0000 (10:56 -0700)]
Merge pull request #666 from mhutch/cairo-fix-3.0
Mono.Cairo improvements
Sebastien Pouliot [Thu, 20 Jun 2013 13:32:23 +0000 (09:32 -0400)]
[ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789)
Mark Probst [Thu, 20 Jun 2013 00:02:12 +0000 (17:02 -0700)]
[sgen] Fix a Clang warning.
Rodrigo Kumpera [Wed, 19 Jun 2013 23:42:30 +0000 (19:42 -0400)]
[sdb] Add a test case for returning the right error when a m2n frame has no information.
Michael Hutchinson [Wed, 6 Mar 2013 05:41:14 +0000 (00:41 -0500)]
[Mono.Cairo] Use getter methods for returning IDisposables
This makes it a bit clearer that the caller is responsible for
disposing IDisposable objects returned from any method.
Michael Hutchinson [Wed, 6 Mar 2013 05:35:46 +0000 (00:35 -0500)]
[Mono.Cairo] Clean up Region's Dispose/ctor
Michael Hutchinson [Wed, 6 Mar 2013 05:09:01 +0000 (00:09 -0500)]
Make debug more robust
Mike Kestner [Sun, 24 Feb 2013 18:45:16 +0000 (19:45 +0100)]
Mono.Cairo: Add Region class for cairo_region_* API added in cairo 1.10
The Region type is needed for new API introduced by GDK 3.0.
This requires cairo 1.10 or above.
Bertrand Lorentz [Sun, 24 Feb 2013 17:53:04 +0000 (18:53 +0100)]
Mono.Cairo: Re-order a few native methods and update API index URL
Bertrand Lorentz [Sun, 24 Feb 2013 15:56:55 +0000 (16:56 +0100)]
Mono.Cairo: Fix names of native functions used in PSSurface
It seems cairo_ps_surface_begin_* functions never existed, they were
always named cairo_ps_surface_dsc_begin_*.
Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/PSSurface.cs
Cameron White [Sun, 23 Dec 2012 19:10:51 +0000 (14:10 -0500)]
Mono.Cairo: Fix rectangles returned by StrokeExtents and FillExtents
The third and fourth parameters of the Rectangle constructor are width
and height, but cairo_stroke_extents and cairo_fill_extents give right
and bottom coordinates.
Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/Context.cs
Michael Hutchinson [Wed, 6 Mar 2013 00:49:35 +0000 (19:49 -0500)]
[Mono.Cairo] Put some classes in separate files
Michael Hutchinson [Wed, 6 Mar 2013 00:47:17 +0000 (19:47 -0500)]
Introduce Mono.Cairo to the concept of reference ownership
Also:
* improving naming consistency
* obsolete old/broken stuff
* clean up tabs/space mix
NOTE: this removes the wrapper caches for Pattern and Surface as
there was no reliable way to clear them.
Conflicts:
mcs/class/Mono.Cairo/Mono.Cairo/Context.cs