mono.git
10 years agoMerge pull request #642 from Ventero/CleanCopyLocal
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.

10 years ago[Mono.Debugger.Soft] More specific exception when not suspended
Michael Hutchinson [Fri, 28 Jun 2013 22:20:54 +0000 (18:20 -0400)]
[Mono.Debugger.Soft] More specific exception when not suspended

10 years agoFix generated generated code for implicit nullable conversions involving numeric...
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

10 years agoHandle unicode line separators when parsing C# files
Marek Safar [Fri, 28 Jun 2013 09:32:00 +0000 (11:32 +0200)]
Handle unicode line separators when parsing C# files

10 years agoFix the build if -j4 is used.
Rodrigo Kumpera [Fri, 28 Jun 2013 15:01:50 +0000 (11:01 -0400)]
Fix the build if -j4 is used.

10 years agoCleanup automake warnings.
Rodrigo Kumpera [Fri, 28 Jun 2013 14:48:03 +0000 (10:48 -0400)]
Cleanup automake warnings.

10 years agoAnother go fighting autohell.
Rodrigo Kumpera [Fri, 28 Jun 2013 12:54:14 +0000 (08:54 -0400)]
Another go fighting autohell.

10 years agoMerge pull request #676 from TalAloni/master
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

10 years agoFix 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

10 years agoRecover more from invalid throw statement. Fixes #12889
Marek Safar [Fri, 28 Jun 2013 08:15:53 +0000 (10:15 +0200)]
Recover more from invalid throw statement. Fixes #12889

10 years agoBetter error candidate selection for anonymous methods
Marek Safar [Fri, 28 Jun 2013 07:30:36 +0000 (09:30 +0200)]
Better error candidate selection for anonymous methods

10 years agoAdd a missing case to mono_patch_info_hash ().
Zoltan Varga [Fri, 28 Jun 2013 00:24:37 +0000 (02:24 +0200)]
Add a missing case to mono_patch_info_hash ().

10 years agoFix the build.
Rodrigo Kumpera [Thu, 27 Jun 2013 20:40:40 +0000 (16:40 -0400)]
Fix the build.

10 years ago[build]Fix make dist and use a symlink for mono.
Rodrigo Kumpera [Thu, 27 Jun 2013 16:59:48 +0000 (12:59 -0400)]
[build]Fix make dist and use a symlink for mono.

10 years agoRemove a pass from the llvm opt pipeline which is not a function pass.
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.

10 years agoBlock task awaiter until task completes. Fixes #12745
Marek Safar [Thu, 27 Jun 2013 14:01:08 +0000 (16:01 +0200)]
Block task awaiter until task completes. Fixes #12745

10 years agoEnable dolt on x64/osx.
Zoltan Varga [Thu, 27 Jun 2013 13:35:46 +0000 (15:35 +0200)]
Enable dolt on x64/osx.

10 years agoDisable some warnings when using clang.
Zoltan Varga [Thu, 27 Jun 2013 13:35:26 +0000 (15:35 +0200)]
Disable some warnings when using clang.

10 years agoFix returning uninitialized memory in get_pid_status_item ().
Zoltan Varga [Thu, 27 Jun 2013 13:35:03 +0000 (15:35 +0200)]
Fix returning uninitialized memory in get_pid_status_item ().

10 years agoMerge pull request #671 from Blewzman/master
Marek Safar [Thu, 27 Jun 2013 12:03:19 +0000 (05:03 -0700)]
Merge pull request #671 from Blewzman/master

Fix SemaphoreSlim

10 years agoFix SemaphoreSlim Constructor.
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.

10 years agoFix NRE on invalid second attribute target
Marek Safar [Thu, 27 Jun 2013 09:50:24 +0000 (11:50 +0200)]
Fix NRE on invalid second attribute target

10 years agoFix source file name comments
Marek Safar [Wed, 26 Jun 2013 18:39:46 +0000 (20:39 +0200)]
Fix source file name comments

10 years agoFix commit c31a58b6565c3d6a3994cac8bfd9e9eac1a54c71.
Martin Baulig [Thu, 27 Jun 2013 04:12:33 +0000 (06:12 +0200)]
Fix commit c31a58b6565c3d6a3994cac8bfd9e9eac1a54c71.

10 years agoAdd regression test for #12898.
Rodrigo Kumpera [Thu, 27 Jun 2013 00:26:31 +0000 (20:26 -0400)]
Add regression test for #12898.

10 years ago[verifier] Verify if the catch type is valid under the method context. Fixes BXC...
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.

10 years agoDo not throw, optionally, when facing an unknown OID. Fix mozroot facing an sha384ECD...
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)

10 years ago[sgen] Fix string size calculation in the string alloc wrapper.
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.

10 years ago[sgen] Fix NALLOC_DEBUG.
Rodrigo Kumpera [Wed, 26 Jun 2013 22:24:39 +0000 (18:24 -0400)]
[sgen] Fix NALLOC_DEBUG.

10 years agoFix build due to boehm->sgen changes.
Rodrigo Kumpera [Wed, 26 Jun 2013 20:09:13 +0000 (16:09 -0400)]
Fix build due to boehm->sgen changes.

10 years agoMono now defaults to sgen. We now ship a libmonoboehm for those that need it.
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.

10 years agoFix the build.
Rodrigo Kumpera [Wed, 26 Jun 2013 15:54:46 +0000 (11:54 -0400)]
Fix the build.

10 years agoDon't make mono_tramp_info_create () assume ownership of its 'name' argument to avoid...
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.

10 years agoUpgrade llvm backend to match https://github.com/mono/llvm/commit/411ba3e5b299e841a94...
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.

10 years agoFix the LLVM JIT.
Zoltan Varga [Wed, 26 Jun 2013 17:05:40 +0000 (19:05 +0200)]
Fix the LLVM JIT.

10 years agoAdd some comments to the gsharedvt constrained call code.
Zoltan Varga [Wed, 26 Jun 2013 15:41:04 +0000 (17:41 +0200)]
Add some comments to the gsharedvt constrained call code.

10 years agoMerge pull request #670 from LogosBible/nostrndup
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+.

10 years agoDon'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+.

10 years agoMutate generic catch block type when needed. Fixes #12799
Marek Safar [Wed, 26 Jun 2013 13:32:25 +0000 (15:32 +0200)]
Mutate generic catch block type when needed. Fixes #12799

10 years agoFix order of capturing of this inside switch statement. Fixes #12544
Marek Safar [Wed, 26 Jun 2013 12:42:24 +0000 (14:42 +0200)]
Fix order of capturing of this inside switch statement. Fixes #12544

10 years agoUpdate test
Marek Safar [Wed, 26 Jun 2013 12:40:09 +0000 (14:40 +0200)]
Update test

10 years ago[System]: Make WebClient report an error when the download aborted prematurely.
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.

10 years agoFixes commit 99204b75da5d59607683886989ece047e164f0ff
Marek Safar [Wed, 26 Jun 2013 08:57:01 +0000 (10:57 +0200)]
Fixes commit 99204b75da5d59607683886989ece047e164f0ff

10 years agoMerge pull request #654 from alesliehughes/master
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.

10 years agoImplement cominterop_ccw_get_ids_of_names
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.

10 years agoImplement cominterop_ccw_get_type_info_count
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.

10 years agoImplement proper osx aot tls support for amd64 too.
Zoltan Varga [Tue, 25 Jun 2013 23:55:17 +0000 (01:55 +0200)]
Implement proper osx aot tls support for amd64 too.

10 years ago[System]: Partially fix #12393.
Martin Baulig [Tue, 25 Jun 2013 23:28:36 +0000 (01:28 +0200)]
[System]: Partially fix #12393.

10 years agoBump version number to 3.1.0
Duncan Mak [Tue, 25 Jun 2013 22:04:53 +0000 (18:04 -0400)]
Bump version number to 3.1.0

10 years agoUpdate verification data
Marek Safar [Tue, 25 Jun 2013 20:57:32 +0000 (22:57 +0200)]
Update verification data

10 years agoFix MethodImplOptions argument checks. Fixes #12638
Marek Safar [Tue, 25 Jun 2013 14:30:54 +0000 (16:30 +0200)]
Fix MethodImplOptions argument checks. Fixes #12638

10 years agoBetter crash reporting
Marek Safar [Tue, 25 Jun 2013 12:47:15 +0000 (14:47 +0200)]
Better crash reporting

10 years ago[System.Core/Android] Use correct comparison for timezone ids.
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.

10 years agoMerge pull request #669 from LogosBible/Uri_TryCreate
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)

10 years ago[corlib] Fix MethodInfo::ToString () to properly format generic structs. Fixes BXC...
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

10 years ago[aot]Clean the loader error after calling mini_method_compile to avoid poisoning...
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.

10 years agoAdd a workaround for an AOT crash in mt.
Zoltan Varga [Tue, 25 Jun 2013 15:53:57 +0000 (17:53 +0200)]
Add a workaround for an AOT crash in mt.

10 years agoEscape path for absolute Uris created using Uri.TryCreate(string, UriKind, out bool)
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)

10 years agoMake the AOT compiler stats output a bit more compact.
Zoltan Varga [Tue, 25 Jun 2013 14:52:51 +0000 (16:52 +0200)]
Make the AOT compiler stats output a bit more compact.

10 years agoRewrite lifted binary operators to match C# spec more closely. Fixes #12608 and about...
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.

10 years agoFix wrong MediaType comparison
Marek Safar [Sat, 22 Jun 2013 16:17:01 +0000 (18:17 +0200)]
Fix wrong MediaType comparison

10 years ago[System]: Stub out System.Net.WebSockets.ClientWebSocket.
Martin Baulig [Mon, 24 Jun 2013 22:18:43 +0000 (00:18 +0200)]
[System]: Stub out System.Net.WebSockets.ClientWebSocket.

10 years agoUse --relocation-model=pic for llvm on ios.
Zoltan Varga [Mon, 24 Jun 2013 21:09:40 +0000 (23:09 +0200)]
Use --relocation-model=pic for llvm on ios.

10 years agoFix the build.
Zoltan Varga [Mon, 24 Jun 2013 21:06:31 +0000 (23:06 +0200)]
Fix the build.

10 years agoStore AOT method indexes in the Mono EH frame instead of method addresses, since...
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.

10 years ago[System]: Add System.Uri test for bug #12631.
Martin Baulig [Mon, 24 Jun 2013 17:00:19 +0000 (19:00 +0200)]
[System]: Add System.Uri test for bug #12631.

10 years agoImplement System.Net.Http.WebRequestHandler.
Martin Baulig [Mon, 24 Jun 2013 16:30:40 +0000 (18:30 +0200)]
Implement System.Net.Http.WebRequestHandler.

10 years agoAdd a GSHAREDVT_REG_IREG return marshalling convention on ARM.
Zoltan Varga [Sun, 23 Jun 2013 21:08:01 +0000 (23:08 +0200)]
Add a GSHAREDVT_REG_IREG return marshalling convention on ARM.

10 years agoEmit dummy dwarf line number info for methods without line numbers, like wrappers.
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.

10 years agoWhen unloading domains, free dynamic assemblies first, since they have no ref countin...
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.

10 years agoFix register allocation for hw remainder opcodes on armv7s. Fixes #12741.
Zoltan Varga [Sat, 22 Jun 2013 11:58:31 +0000 (13:58 +0200)]
Fix register allocation for hw remainder opcodes on armv7s. Fixes #12741.

10 years agoWhen compiling gshared code, always use the cached isinst/castclass as it's faster...
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.

10 years agoEnable managed allocation under gsharing.
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.

10 years agoImplement the string allocator for sgen.
Rodrigo Kumpera [Fri, 21 Jun 2013 20:35:50 +0000 (16:35 -0400)]
Implement the string allocator for sgen.

10 years ago[corlib]String.IndexOf is culture aware, while String.Contains is not.
Rodrigo Kumpera [Fri, 21 Jun 2013 17:33:16 +0000 (13:33 -0400)]
[corlib]String.IndexOf is culture aware, while String.Contains is not.

10 years agoFix some bugs in 39471e0c672e8d0d7717b424473e70052a061b8e.
Zoltan Varga [Sat, 22 Jun 2013 00:04:41 +0000 (02:04 +0200)]
Fix some bugs in 39471e0c672e8d0d7717b424473e70052a061b8e.

10 years agoEmit dwarf line number info using .file/.loc assembler directives on osx. Fixes ...
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.

10 years agoAdd [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]
Sebastien Pouliot [Fri, 21 Jun 2013 15:54:38 +0000 (11:54 -0400)]
Add [Serializable] to X509Certificate2 (added in .NET 4.0) [#12457]

10 years agoChange the prolog of managed-to-native wrappers so they conform to the ios unwind...
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.

10 years agoChange the linkage of 'mono_aot_personality' to Internal, otherwise older llvm genera...
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.

10 years ago[compiler docs]: Update to reflect way to debug the parser
Miguel de Icaza [Sun, 5 May 2013 18:30:21 +0000 (14:30 -0400)]
[compiler docs]: Update to reflect way to debug the parser

10 years ago[System]: Make ServicePointManager hash on the proxy as well as uri and use_connect.
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.

10 years agoRemove COM types from mono_defaults and lazily fetch them at runtime.
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.

10 years agoTry to make lldb backtracing more reliable.
Rodrigo Kumpera [Thu, 20 Jun 2013 20:43:34 +0000 (16:43 -0400)]
Try to make lldb backtracing more reliable.

10 years ago[Cairo] Destroy should suppress finalizer
Michael Hutchinson [Thu, 20 Jun 2013 20:32:33 +0000 (16:32 -0400)]
[Cairo] Destroy should suppress finalizer

10 years agoDo not assume AddressList[0] has the address the test wants, that's not always the...
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

10 years ago[man] document MONO_CAIRO_DEBUG_DISPOSE
Michael Hutchinson [Thu, 20 Jun 2013 18:06:30 +0000 (14:06 -0400)]
[man] document MONO_CAIRO_DEBUG_DISPOSE

10 years agoMerge pull request #666 from mhutch/cairo-fix-3.0
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

10 years ago[ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789)
Sebastien Pouliot [Thu, 20 Jun 2013 13:32:23 +0000 (09:32 -0400)]
[ios] Ignore the WindowsIdentityTest.SerializeRoundTrip test on iOS (see #12789)

10 years ago[sgen] Fix a Clang warning.
Mark Probst [Thu, 20 Jun 2013 00:02:12 +0000 (17:02 -0700)]
[sgen] Fix a Clang warning.

10 years ago[sdb] Add a test case for returning the right error when a m2n frame has no information.
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.

10 years ago[Mono.Cairo] Use getter methods for returning IDisposables
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.

10 years ago[Mono.Cairo] Clean up Region's Dispose/ctor
Michael Hutchinson [Wed, 6 Mar 2013 05:35:46 +0000 (00:35 -0500)]
[Mono.Cairo] Clean up Region's Dispose/ctor

10 years agoMake debug more robust
Michael Hutchinson [Wed, 6 Mar 2013 05:09:01 +0000 (00:09 -0500)]
Make debug more robust

10 years agoMono.Cairo: Add Region class for cairo_region_* API added in cairo 1.10
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.

10 years agoMono.Cairo: Re-order a few native methods and update API index URL
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

10 years agoMono.Cairo: Fix names of native functions used in PSSurface
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

10 years agoMono.Cairo: Fix rectangles returned by StrokeExtents and FillExtents
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

10 years ago[Mono.Cairo] Put some classes in separate files
Michael Hutchinson [Wed, 6 Mar 2013 00:49:35 +0000 (19:49 -0500)]
[Mono.Cairo] Put some classes in separate files

10 years agoIntroduce Mono.Cairo to the concept of reference ownership
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