mono.git
11 years agoMerge pull request #440 from mono-soc-2012/garyb/resources
Jérémie Laval [Thu, 11 Oct 2012 15:40:26 +0000 (08:40 -0700)]
Merge pull request #440 from mono-soc-2012/garyb/resources

Bring resources implementation close to .NET 2 standard.

11 years ago[sgen] Fix bridge code internal memory tag bug.
Mark Probst [Thu, 11 Oct 2012 15:37:39 +0000 (17:37 +0200)]
[sgen] Fix bridge code internal memory tag bug.

We need to use a different internal memory tag for each kind of data
item, otherwise we'll get an assertion.

11 years ago[Not Resources Related] Fixed buggy tests breaking the test build.
garyb [Thu, 11 Oct 2012 15:17:54 +0000 (16:17 +0100)]
[Not Resources Related] Fixed buggy tests breaking the test build.

11 years agoFix project files again after failed rebase
garyb [Thu, 11 Oct 2012 14:11:19 +0000 (15:11 +0100)]
Fix project files again after failed rebase

11 years agoBump bootstrap compiler support to include default parameters
Marek Safar [Thu, 11 Oct 2012 11:03:26 +0000 (12:03 +0100)]
Bump bootstrap compiler support to include default parameters

11 years agoImplement PropertyInfo simple Get/SetValue. Fixes #7725
Marek Safar [Thu, 11 Oct 2012 10:55:45 +0000 (11:55 +0100)]
Implement PropertyInfo simple Get/SetValue. Fixes #7725

11 years agoRemove extra attributes
Marek Safar [Thu, 11 Oct 2012 09:49:59 +0000 (10:49 +0100)]
Remove extra attributes

11 years agoAdd more incomplete expressions to ast.
Marek Safar [Thu, 11 Oct 2012 09:49:09 +0000 (10:49 +0100)]
Add more incomplete expressions to ast.

11 years agoMake block field readonly
Marek Safar [Wed, 10 Oct 2012 18:47:37 +0000 (19:47 +0100)]
Make block field readonly

11 years agoAdd new test
Marek Safar [Wed, 10 Oct 2012 18:47:13 +0000 (19:47 +0100)]
Add new test

11 years agoManaged.Windows.Forms relies on System.Runtime.Serialization.Formatters.Soap
garyb [Wed, 10 Oct 2012 22:18:17 +0000 (23:18 +0100)]
Managed.Windows.Forms relies on System.Runtime.Serialization.Formatters.Soap

11 years agoTest solution added to Test folder, some project file updates
garyb [Thu, 13 Sep 2012 22:15:50 +0000 (23:15 +0100)]
Test solution added to Test folder, some project file updates

11 years agoFix System.Web build
garyb [Fri, 14 Sep 2012 15:46:14 +0000 (16:46 +0100)]
Fix System.Web build

11 years agoTidy after feedback
garyb [Thu, 13 Sep 2012 20:27:54 +0000 (21:27 +0100)]
Tidy after feedback

11 years agoTidy after feedback
garyb [Thu, 13 Sep 2012 20:26:33 +0000 (21:26 +0100)]
Tidy after feedback

11 years agoMark test NotWorking
garyb [Tue, 21 Aug 2012 19:38:56 +0000 (20:38 +0100)]
Mark test NotWorking

11 years agoSystem.Resources: Tidy file headers
garyb [Mon, 20 Aug 2012 16:31:15 +0000 (17:31 +0100)]
System.Resources: Tidy file headers

11 years agoSystem.Design: Tidy file headers and add test files to projects
garyb [Mon, 20 Aug 2012 14:52:20 +0000 (15:52 +0100)]
System.Design: Tidy file headers and add test files to projects

11 years agoSupport for ResXResourceWriter.BasePath being deeper than actual filepath
garyb [Sat, 18 Aug 2012 20:59:11 +0000 (21:59 +0100)]
Support for ResXResourceWriter.BasePath being deeper than actual filepath

11 years agoImplement Basepath on ResXResourceWriter
garyb [Fri, 17 Aug 2012 20:32:53 +0000 (21:32 +0100)]
Implement Basepath on ResXResourceWriter

11 years agoFixed bug where using ResXResourceWriter filename ctor caused corrupted output
garyb [Fri, 27 Jul 2012 15:43:54 +0000 (16:43 +0100)]
Fixed bug where using ResXResourceWriter filename ctor caused corrupted output

11 years agoRefactored, cleaned up
garyb [Wed, 18 Jul 2012 12:58:53 +0000 (13:58 +0100)]
Refactored, cleaned up

11 years agoRemove reliance on 2.0 profile test assembly
garyb [Wed, 18 Jul 2012 11:31:24 +0000 (12:31 +0100)]
Remove reliance on 2.0 profile test assembly

11 years agoFixed comment writing. Ref to serialized obj no longer kept. Refactoring.
garyb [Wed, 18 Jul 2012 10:09:57 +0000 (11:09 +0100)]
Fixed comment writing. Ref to serialized obj no longer kept. Refactoring.

11 years agoMore tests, more tidying, all present currently pass
garyb [Tue, 17 Jul 2012 17:01:04 +0000 (18:01 +0100)]
More tests, more tidying, all present currently pass

11 years agoFixes RE failing tests
garyb [Tue, 17 Jul 2012 10:23:53 +0000 (11:23 +0100)]
Fixes RE failing tests

11 years agoResXDataNode based resx handling nearly complete. More tests added.
garyb [Mon, 16 Jul 2012 15:34:22 +0000 (16:34 +0100)]
ResXDataNode based resx handling nearly complete. More tests added.

11 years agoResXDataNode test refactoring, few more member tests.
garyb [Thu, 12 Jul 2012 16:56:39 +0000 (17:56 +0100)]
ResXDataNode test refactoring, few more member tests.

11 years agoAdded File Headers
garyb [Wed, 11 Jul 2012 11:19:14 +0000 (12:19 +0100)]
Added File Headers

11 years agoDraft Tests and Implementation of ResXDataNode Based ResX Handling
garyb [Wed, 11 Jul 2012 10:24:48 +0000 (11:24 +0100)]
Draft Tests and Implementation of ResXDataNode Based ResX Handling

11 years agoStronglyTypedResourceBuilder implementation and tests.
garyb [Tue, 19 Jun 2012 17:55:25 +0000 (18:55 +0100)]
StronglyTypedResourceBuilder implementation and tests.

11 years agoMerge remote-tracking branch 'joncham/sgen-msvc2'
Rodrigo Kumpera [Wed, 10 Oct 2012 22:01:21 +0000 (18:01 -0400)]
Merge remote-tracking branch 'joncham/sgen-msvc2'

Conflicts:
mono/metadata/sgen-copy-object.h
mono/metadata/sgen-gc.c

11 years agoMerge pull request #438 from mattleibow/master
Rodrigo Kumpera [Wed, 10 Oct 2012 20:32:58 +0000 (13:32 -0700)]
Merge pull request #438 from mattleibow/master

UInt32 is too large for Int32

11 years agoAdd test for g_utf8_to_utf16_with_nuls.
Andrew Wilson [Mon, 3 Sep 2012 20:13:28 +0000 (21:13 +0100)]
Add test for g_utf8_to_utf16_with_nuls.

11 years agoFix bug 5732, nuls in attribute strings.
Andrew Wilson [Mon, 3 Sep 2012 20:06:50 +0000 (21:06 +0100)]
Fix bug 5732, nuls in attribute strings.

11 years agoAdd g_utf8_to_utf16_with_nuls for strings containing nul.
Andrew Wilson [Mon, 3 Sep 2012 20:12:47 +0000 (21:12 +0100)]
Add g_utf8_to_utf16_with_nuls for strings containing nul.

11 years agoMake sure that the unsafe array store intrinsics emit a write barrier.
Rodrigo Kumpera [Wed, 3 Oct 2012 16:26:28 +0000 (12:26 -0400)]
Make sure that the unsafe array store intrinsics emit a write barrier.

* method-to-ir.c: Array.UnsafeStore and Array.SetGenericValueImpl must
emit a write barrier for reference types.

11 years agoAdd catch variable to ast when block is missing
Marek Safar [Wed, 10 Oct 2012 07:47:44 +0000 (08:47 +0100)]
Add catch variable to ast when block is missing

11 years ago[OSX][iOS] Ensure 'sectrust' is released even if we deny the request
Sebastien Pouliot [Tue, 9 Oct 2012 23:45:36 +0000 (19:45 -0400)]
[OSX][iOS] Ensure 'sectrust' is released even if we deny the request

11 years agoProvide a non-null X509Chain in the callback for MonoTouch (useful for custom validat...
Sebastien Pouliot [Tue, 9 Oct 2012 23:43:52 +0000 (19:43 -0400)]
Provide a non-null X509Chain in the callback for MonoTouch (useful for custom validations) but we are not fully building it (since we do not use the output) and this can be done if customization is required

11 years ago[WCF,Serialization] Improve and fully implement support for collection types.
Martin Baulig [Tue, 9 Oct 2012 19:49:05 +0000 (21:49 +0200)]
[WCF,Serialization] Improve and fully implement support for collection types.

* System.Runtime.Serialization/XsdDataContractImporter:
      Check ImportOptions.ReferencedCollectionTypes to determine the proxy type.

* System.ServiceModel.Description/MetadataImporter.cs:
      Very simply implementation of the 'State' property.

* System.ServiceModel.Description/DataContractSerializerMessageContractImporter.cs:
      Use it here.

* Test/Resources/WSDL: Added some sample .wsdl files for the new tests; adding
      these as resources to the test dll.

* Test/System.Runtime.Serialization: Added WsdlHelper.cs,
      XsdDataContractImporterTest2.cs and XsdDataContractExportTest2.cs

11 years agoClean up some cross-compilation issues on osx. Add a TARGET_MACH define instead of...
Zoltan Varga [Tue, 9 Oct 2012 19:36:26 +0000 (21:36 +0200)]
Clean up some cross-compilation issues on osx. Add a TARGET_MACH define instead of using __MACH__.

11 years agoDon't include prepared catch block in ast when it's unfinished
Marek Safar [Tue, 9 Oct 2012 07:49:36 +0000 (08:49 +0100)]
Don't include prepared catch block in ast when it's unfinished

11 years agoFix MonoInternalThread layout problems introduced by 1b0326d73f9709456c9de5728edafec9...
Zoltan Varga [Mon, 8 Oct 2012 12:45:21 +0000 (14:45 +0200)]
Fix MonoInternalThread layout problems introduced by 1b0326d73f9709456c9de5728edafec96f8d996e. Add an assert to avoid this happening again.

11 years agoHandle more incomplete declarations with full ast
Marek Safar [Mon, 8 Oct 2012 12:08:05 +0000 (13:08 +0100)]
Handle more incomplete declarations with full ast

11 years agoBetter reference type check
Marek Safar [Mon, 8 Oct 2012 12:07:49 +0000 (13:07 +0100)]
Better reference type check

11 years agoRemove an unused define.
Zoltan Varga [Fri, 5 Oct 2012 18:07:54 +0000 (20:07 +0200)]
Remove an unused define.

11 years agoUse #ifdef MONO_ARCH_SIMD_INTRINSICS in more places.
Zoltan Varga [Fri, 5 Oct 2012 17:09:34 +0000 (19:09 +0200)]
Use #ifdef MONO_ARCH_SIMD_INTRINSICS in more places.

11 years agoRevert "Allow inlining of methods which consist of only a call."
Zoltan Varga [Fri, 5 Oct 2012 16:48:42 +0000 (18:48 +0200)]
Revert "Allow inlining of methods which consist of only a call."

This reverts commit 9a2345d3f86e8f3b106eb5749939e8117b6c6bd9.

11 years agoRevert "Fix the previous commit."
Zoltan Varga [Fri, 5 Oct 2012 16:48:31 +0000 (18:48 +0200)]
Revert "Fix the previous commit."

This reverts commit dad73706274401838604806a571a3aad3d51124a.

11 years agoSetup partial type constraints types without expanding interface list
Marek Safar [Fri, 5 Oct 2012 15:36:19 +0000 (16:36 +0100)]
Setup partial type constraints types without expanding interface list

11 years agoRemove some redundant initializations
Marek Safar [Fri, 5 Oct 2012 12:44:43 +0000 (13:44 +0100)]
Remove some redundant initializations

11 years agoClean up the InternalThread structure. Synchronize fields between the managed and...
Zoltan Varga [Fri, 5 Oct 2012 12:29:37 +0000 (14:29 +0200)]
Clean up the InternalThread structure. Synchronize fields between the managed and unmanaged versions, group reference fields together near the beginning.

11 years agoFix a warning.
Zoltan Varga [Fri, 5 Oct 2012 11:02:12 +0000 (13:02 +0200)]
Fix a warning.

11 years agoFix the previous commit.
Zoltan Varga [Fri, 5 Oct 2012 10:49:43 +0000 (12:49 +0200)]
Fix the previous commit.

11 years agoAllow inlining of methods which consist of only a call.
Zoltan Varga [Fri, 5 Oct 2012 06:00:31 +0000 (08:00 +0200)]
Allow inlining of methods which consist of only a call.

11 years agoAllow 64 bit method addresses in the amd64 backend, LLVM on osx seems to generate...
Zoltan Varga [Fri, 5 Oct 2012 05:08:52 +0000 (07:08 +0200)]
Allow 64 bit method addresses in the amd64 backend, LLVM on osx seems to generate them.

11 years agoReport warning when calling async method without wait in non-async context.
Marek Safar [Thu, 4 Oct 2012 14:13:38 +0000 (15:13 +0100)]
Report warning when calling async method without wait in non-async context.

11 years agoUpdate IKVM.Reflection
Marek Safar [Thu, 4 Oct 2012 11:56:00 +0000 (12:56 +0100)]
Update IKVM.Reflection

11 years agoSave fp registers in the ARM throw trampoline, ios has callee saved fp registers...
Zoltan Varga [Thu, 4 Oct 2012 11:03:06 +0000 (13:03 +0200)]
Save fp registers in the ARM throw trampoline, ios has callee saved fp registers, and LLVM generates code which uses them.

11 years agoBeginGetRequestStream cannot be called once the request has been submitted.
Marek Safar [Thu, 4 Oct 2012 10:52:09 +0000 (11:52 +0100)]
BeginGetRequestStream cannot be called once the request has been submitted.

11 years agoAdd missing configureawait
Marek Safar [Thu, 4 Oct 2012 10:39:21 +0000 (11:39 +0100)]
Add missing configureawait

11 years agoRemove unnecessary and incompatible finalizer
Marek Safar [Thu, 4 Oct 2012 10:35:30 +0000 (11:35 +0100)]
Remove unnecessary and incompatible finalizer

11 years agoFlush StreamWriter buffer even if underlying stream is kept open. Fixes #7510
Marek Safar [Thu, 4 Oct 2012 10:31:10 +0000 (11:31 +0100)]
Flush StreamWriter buffer even if underlying stream is kept open. Fixes #7510

11 years agoOptimize list enumerator
Marek Safar [Wed, 3 Oct 2012 13:54:01 +0000 (14:54 +0100)]
Optimize list enumerator

11 years ago[sgen] Complete the bridge weak reference fix.
Mark Probst [Tue, 2 Oct 2012 12:20:12 +0000 (14:20 +0200)]
[sgen] Complete the bridge weak reference fix.

When dereferencing a weak link we check whether bridge processing is
in progress.  If it is, we wait for it to finish.  This ensures that
we never follow weak links to dead objects before bridge processing
can null them.

11 years ago[sgen] Use a hash table for the bridge weak references step.
Mark Probst [Tue, 18 Sep 2012 14:34:26 +0000 (16:34 +0200)]
[sgen] Use a hash table for the bridge weak references step.

11 years ago[sgen] Incomplete bridge weak reference fix.
Mark Probst [Tue, 18 Sep 2012 13:30:24 +0000 (15:30 +0200)]
[sgen] Incomplete bridge weak reference fix.

This is an incomplete fix for #6715.  After bridge processing we
iterate through all weak references again, this time nulling those
that point to bridged objects that were diagnosed as dead by the
bridge.

As of now it's inefficient because it uses linear search for each weak
reference lookup, as well as incomplete because the code runs while
the world is running, so the weak links might be accessed before they
are consistent.

11 years ago[sgen] Separate header for the hash table.
Mark Probst [Tue, 18 Sep 2012 13:17:27 +0000 (15:17 +0200)]
[sgen] Separate header for the hash table.

This is so that we can use the hash table more easily in the
mobile-master branch which doesn't yet have the hash table factored
out.

11 years agoImplement constrained calls to iface methods correctly. Fixes #7571.
Zoltan Varga [Wed, 3 Oct 2012 11:26:28 +0000 (13:26 +0200)]
Implement constrained calls to iface methods correctly. Fixes #7571.

11 years agoMerge pull request #474 from knocte/master
Marek Safar [Wed, 3 Oct 2012 11:26:07 +0000 (04:26 -0700)]
Merge pull request #474 from knocte/master

 [System.XML]: Do not set XmlTypeMapElementInfo.IsNullable if it's already True

11 years agoClean up some static initializers
Marek Safar [Wed, 3 Oct 2012 11:19:19 +0000 (12:19 +0100)]
Clean up some static initializers

11 years ago[System.XML]: Do not set XmlTypeMapElementInfo.IsNullable if it's already True
Andres G. Aragoneses [Wed, 3 Oct 2012 11:08:16 +0000 (12:08 +0100)]
[System.XML]: Do not set XmlTypeMapElementInfo.IsNullable if it's already True

The IsNullable attribute in XmlElementAttribute is false by default,
so when not using it in a member which was already nullable
(i.e. Nullable<DateTime>), Mono was overriding the attribute causing
a FormatException later if an xsi:nil value was found when deserializing.

Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=7613

11 years agoAdd more information about inline failures to the verbose JIT output.
Zoltan Varga [Wed, 3 Oct 2012 10:21:23 +0000 (12:21 +0200)]
Add more information about inline failures to the verbose JIT output.

11 years agoFix a warning.
Zoltan Varga [Wed, 3 Oct 2012 08:27:43 +0000 (10:27 +0200)]
Fix a warning.

11 years agoUse AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer...
Zoltan Varga [Wed, 3 Oct 2012 08:26:37 +0000 (10:26 +0200)]
Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer supported, see lists.gnu.org/archive/html/automake/2012-08/msg00087.html.

11 years agoDisable the type check on reference type array stores.
Rodrigo Kumpera [Tue, 2 Oct 2012 19:13:11 +0000 (15:13 -0400)]
Disable the type check on reference type array stores.

* method-to-ir.c (emit_array_store): We can avoid the type check
on stores to reference arrays as it turns out List<T> is not
covariant to its element type as I previously thought so.

11 years agoImplement TaskFactory::FromAsync for calls completed synchronously.
Marek Safar [Tue, 2 Oct 2012 16:03:15 +0000 (17:03 +0100)]
Implement TaskFactory::FromAsync for calls completed synchronously.

11 years agoSpped up array reverse
Marek Safar [Tue, 2 Oct 2012 12:20:07 +0000 (13:20 +0100)]
Spped up array reverse

11 years agoFix array IStructuralEquatable.GetHashCode to use provided comparer.
Marek Safar [Tue, 2 Oct 2012 08:46:16 +0000 (09:46 +0100)]
Fix array IStructuralEquatable.GetHashCode to use provided comparer.

11 years ago[sgen] Fix race condition in mono_gc_weak_link_get ().
Mark Probst [Tue, 2 Oct 2012 10:52:10 +0000 (12:52 +0200)]
[sgen] Fix race condition in mono_gc_weak_link_get ().

11 years agoForce List<T> accessors to be inlined.
Rodrigo Kumpera [Mon, 1 Oct 2012 18:22:49 +0000 (14:22 -0400)]
Force List<T> accessors to be inlined.

* List.cs: Make sure indexers are always inlined. We use the 256 literal instead
of MethodImplOptions.AggressiveInlining since the later is only available on 4.5.

11 years agoList<T> accessors now use Array.Unsafe(Load|Store).
Rodrigo Kumpera [Mon, 1 Oct 2012 17:11:07 +0000 (13:11 -0400)]
List<T> accessors now use Array.Unsafe(Load|Store).

11 years agoImplement Array.UnsafeLoad and Array.UnsafeStore. Both functions ignores bounds check...
Rodrigo Kumpera [Mon, 1 Oct 2012 17:02:34 +0000 (13:02 -0400)]
Implement Array.UnsafeLoad and Array.UnsafeStore. Both functions ignores bounds check when possible.

* Array.cs: Add UnsafeLoad and UnsafeStore functions that don't perform bounds check.
The JIT will generate, when possible, direct a load/store. Right now the only case we can't
handle are stores to reference arrays.

Reference arrays are covariant on their element type which means that we must perform a runtime
type check on stores to preserve type safety. Since the type check is usually must more expensive
than the bounds check we simply ignore this for now.

The reasoning behind this decision was that given our initial target are corlib's collections and
they are too covariant to their element types they do need too a runtime type check on stores to ensure
correctness.

11 years agoExtract the array store code to separare function.
Rodrigo Kumpera [Mon, 1 Oct 2012 16:28:42 +0000 (12:28 -0400)]
Extract the array store code to separare function.

11 years agoRevert "Disable wrapper generation code when DISABLE_JIT is defined."
Zoltan Varga [Mon, 16 Apr 2012 12:22:31 +0000 (14:22 +0200)]
Revert "Disable wrapper generation code when DISABLE_JIT is defined."

This reverts commit a6583c60c0c3814ca02bf2569c7a5e48b46377a7.

This doesn't work since emit_marshal () is used to compute the signatures of the wrappers themselves through the 'conv_arg_type' argument.

11 years agoUpdate to the latest IKVM.Reflection
Marek Safar [Mon, 1 Oct 2012 17:41:03 +0000 (18:41 +0100)]
Update to the latest IKVM.Reflection

11 years agoMake large float arrays emit faster
Marek Safar [Mon, 1 Oct 2012 16:44:00 +0000 (17:44 +0100)]
Make large float arrays emit faster

11 years agoRemove commented code
Marek Safar [Mon, 1 Oct 2012 12:17:54 +0000 (13:17 +0100)]
Remove commented code

11 years ago[WCF]: Fix WSDL import of methods with complex return types.
Martin Baulig [Mon, 1 Oct 2012 12:47:49 +0000 (14:47 +0200)]
[WCF]: Fix WSDL import of methods with complex return types.

There is no bug report, the problem has been reported here:
http://stackoverflow.com/questions/12551090/monotouch-wcf-service-reference-cs-errors/12669880

DataContractSerializerMessageContractImporter.IsOperationImported()
did not check the method's return value, so it failed to recognize
methods such as

[OperationContract]
DateTime GetDate ();

as already being imported.  This caused the method to be imported with
both the DataContractMessageContractImporterInternal and the
XmlSerializerMessageContractImporterInternal, but the latter does not
resolve type references, see the FIXME in that class.

I also added a new test case for this.

11 years agoAvoid calling mono_jit_info_table_find () in is_ip_in_managed_allocator (). This...
Zoltan Varga [Mon, 1 Oct 2012 13:02:03 +0000 (15:02 +0200)]
Avoid calling mono_jit_info_table_find () in is_ip_in_managed_allocator (). This leads to a small speedup, and works around #7564.

11 years agoSpeed up implicitly typed array inference. Fixes #7222
Marek Safar [Mon, 1 Oct 2012 12:14:47 +0000 (13:14 +0100)]
Speed up implicitly typed array inference. Fixes #7222

11 years agoFix a memory overwrite in the handling of some simd opcodes in the LLVM backend.
Zoltan Varga [Sun, 30 Sep 2012 01:53:49 +0000 (03:53 +0200)]
Fix a memory overwrite in the handling of some simd opcodes in the LLVM backend.

11 years agoRemove the fconv_to_i test from iltests.il, it basically only works on x86.
Zoltan Varga [Sun, 30 Sep 2012 01:17:26 +0000 (03:17 +0200)]
Remove the fconv_to_i test from iltests.il, it basically only works on x86.

11 years agoAvoid copying the stack alignment area during tail calls on x86, if the caller method...
Zoltan Varga [Sun, 30 Sep 2012 01:15:49 +0000 (03:15 +0200)]
Avoid copying the stack alignment area during tail calls on x86, if the caller method is frm LLVM, it might not have that area.

11 years agoFix dwarf register mapping on darwin/x86.
Zoltan Varga [Sun, 30 Sep 2012 01:14:38 +0000 (03:14 +0200)]
Fix dwarf register mapping on darwin/x86.

11 years agoDisable OP_TLS_GET support in the LLVM backend on non-linux platforms.
Zoltan Varga [Sat, 29 Sep 2012 23:16:09 +0000 (01:16 +0200)]
Disable OP_TLS_GET support in the LLVM backend on non-linux platforms.

11 years agoMerge pull request #471 from antoniusriha/master
Marek Safar [Sat, 29 Sep 2012 17:09:20 +0000 (10:09 -0700)]
Merge pull request #471 from antoniusriha/master

[System] Fix Uri.MakeRelativeUri on paths to higher level dir

11 years agoMerge pull request #470 from clcrutch/SystemIcons
Marek Safar [Sat, 29 Sep 2012 17:08:09 +0000 (10:08 -0700)]
Merge pull request #470 from clcrutch/SystemIcons

System.Drawing.SystemIcons.Shield

11 years ago[System] Fix Uri.MakeRelativeUri on paths to higher level dir
Antonius Riha [Sat, 29 Sep 2012 16:40:27 +0000 (18:40 +0200)]
[System] Fix Uri.MakeRelativeUri on paths to higher level dir

Given the test case when a relative path should be built from a lower
level dir to a higher level dir, the last bit from the "From-Path" is always
considered to be a file - even if it ends with "/". In contrast, .NET
considers paths ending with "/" as directories and therefore the
resulting path goes one level further up than the resulting path of the
mono implementation. This patch aims to fix that.