Miguel de Icaza [Thu, 3 Dec 2015 17:51:07 +0000 (12:51 -0500)]
Update code_of_conduct.md
Miguel de Icaza [Thu, 3 Dec 2015 17:43:08 +0000 (12:43 -0500)]
Add code of conduct
Zoltan Varga [Thu, 3 Dec 2015 16:30:38 +0000 (11:30 -0500)]
Revert "[jit] Enable partial sharing for the JIT too."
This reverts commit
8bf29464789df37cb396f6de0c5b1c5187ea73a2.
Revert this as it breaks the test.
Zoltan Varga [Thu, 3 Dec 2015 16:30:15 +0000 (11:30 -0500)]
Revert "[jit] Remove the partial sharing enabling code, its always enabled now."
This reverts commit
a8cdc818c838cc6e98a9589caeb50fae8b4a49b5.
Revert this as it breaks tests.
Rodrigo Kumpera [Thu, 3 Dec 2015 15:36:10 +0000 (10:36 -0500)]
Merge pull request #2260 from xmcclure/fix-testwaitany
Cleanup and crash fix around UnixSignal.WaitAny (bug #36214)
Marek Safar [Thu, 3 Dec 2015 15:33:16 +0000 (10:33 -0500)]
[System] Uri component values from reference source
Zoltan Varga [Thu, 3 Dec 2015 03:00:45 +0000 (22:00 -0500)]
Zoltan Varga [Thu, 3 Dec 2015 03:00:30 +0000 (22:00 -0500)]
[aot] Fix the emission of EnumComparer instances, some types use different comparers.
Zoltan Varga [Thu, 3 Dec 2015 02:56:14 +0000 (21:56 -0500)]
[runtime] Mark an AOT tests as GSHAREDVT.
Zoltan Varga [Thu, 3 Dec 2015 00:32:03 +0000 (19:32 -0500)]
[ppdb] Fix support for loading debug info for .dll files.
Marek Safar [Thu, 3 Dec 2015 00:22:55 +0000 (19:22 -0500)]
Merge pull request #2284 from akoeplinger/httpclient-fix
[System.Net.Http] Replace google.com with example.org in a test
Alexander Köplinger [Wed, 2 Dec 2015 23:20:58 +0000 (18:20 -0500)]
[System.Net.Http] Replace google.com with example.org in a test
It sometimes fails on Jenkins and google might be doing unwanted things (like redirecting to https),
so we just use example.org instead which hopefully is more stable in that regard.
Zoltan Varga [Wed, 2 Dec 2015 23:20:00 +0000 (18:20 -0500)]
[jit] Remove the partial sharing enabling code, its always enabled now.
Zoltan Varga [Wed, 2 Dec 2015 22:59:45 +0000 (17:59 -0500)]
[jit] Enable partial sharing for the JIT too.
Zoltan Varga [Wed, 2 Dec 2015 22:43:38 +0000 (17:43 -0500)]
[runtime] Get rid of the unused MONO_ARCH_HAVE_LLVM_IMT_TRAMPOLINE define.
Zoltan Varga [Wed, 2 Dec 2015 22:41:23 +0000 (17:41 -0500)]
[runtime] Get rid of LLVM_IMT_TRAMPOLINE, its no longer used.
Andi McClure [Wed, 2 Dec 2015 22:17:38 +0000 (17:17 -0500)]
Merge pull request #2279 from xmcclure/mono-posix-version
Fail cleanly when MonoPosixHelper.dll version is wrong (bug #35655)
Miguel de Icaza [Wed, 2 Dec 2015 22:04:32 +0000 (17:04 -0500)]
Merge pull request #2282 from joelmartinez/docs-multiassembly-fix
[mdoc] Improved error handling for multiassembly.
Marek Safar [Wed, 2 Dec 2015 21:47:19 +0000 (16:47 -0500)]
Merge pull request #2281 from lambdageek/dev/bug-36418
Make Type.GetProperty() work for indexers returning primitive types
Aleksey Kliger [Wed, 2 Dec 2015 19:25:11 +0000 (14:25 -0500)]
Make System.DefaultBinder.CanConvertPrimitive reflexive (Closes #36418)
Aleksey Kliger [Wed, 2 Dec 2015 19:43:44 +0000 (14:43 -0500)]
Test case for #36418
Joel Martinez [Wed, 2 Dec 2015 21:23:14 +0000 (16:23 -0500)]
[mdoc] Improved error handling for multiassembly.
While there were tests included for the [multiassembly option](https://github.com/mono/mono/pull/2127), unfortunately
the tests did not consider starting from an existing repository. So this patch
rectifies the issue by improving a small function to consider the possibility
of a null result. Test that reproduced, and subsequently proves the resolution
is included here.
Rodrigo Kumpera [Wed, 2 Dec 2015 20:54:17 +0000 (15:54 -0500)]
Merge pull request #2231 from ludovic-henry/coop-sync-friendliness
[coop] Synchronization primitive friendliness
Andi McClure [Wed, 2 Dec 2015 19:58:55 +0000 (14:58 -0500)]
Cleanup in signal.c and related tests
Add comments, add assert for edge case around signal registration, and
make consistent *always* using atomic get/set for memory shared
between the signal handler and the threads.
Zoltan Varga [Wed, 2 Dec 2015 18:21:07 +0000 (13:21 -0500)]
[jit] Initialize gsharing counters in mono_generic_sharing_init () to prevent initialization races. Fixes #36443.
Alexander Köplinger [Wed, 2 Dec 2015 17:13:46 +0000 (12:13 -0500)]
[System.ServiceModel] Fix Bug32886 test to work on cultures with a different decimal separator
Zoltan Varga [Wed, 2 Dec 2015 04:51:38 +0000 (23:51 -0500)]
[runtime] Rename the 'ARCHITECTURE' define to 'MONO_ARCHITECTURE' to avoid a symbol clash with an llvm enumeration value.
Zoltan Varga [Wed, 2 Dec 2015 04:47:15 +0000 (23:47 -0500)]
[runtime] Add a test for MONO_ENV_OPTIONS.
Alexander Köplinger [Wed, 2 Dec 2015 03:35:16 +0000 (22:35 -0500)]
Merge pull request #2278 from akoeplinger/remove-net-45-csproj
[csproj] Remove *net_4_5.csproj files from the class libs
Zoltan Varga [Wed, 2 Dec 2015 03:15:40 +0000 (22:15 -0500)]
[jit] Add a testcase for #36280.
Zoltan Varga [Wed, 2 Dec 2015 03:12:50 +0000 (22:12 -0500)]
[jit] Avoid a verification error in gsharedvt code with ldarga + gshared types. Fixes #36292.
Zoltan Varga [Tue, 1 Dec 2015 23:50:31 +0000 (18:50 -0500)]
[llvm] Zero extend array indexes when targeting llvm, this seems to work around a codegen problem on arm64. Fixes #36263.
Andi McClure [Tue, 1 Dec 2015 23:03:21 +0000 (18:03 -0500)]
Fail cleanly when MonoPosixHelper.dll version is wrong (bug #35655)
Add version keys to the C and C# versions of Mono.Posix and add static
constructors which fail early if the version keys differ.
João Matos [Tue, 1 Dec 2015 22:46:44 +0000 (17:46 -0500)]
Merge pull request #2223 from lobrien/master
Changed link from GUID to URL
Zoltan Varga [Tue, 1 Dec 2015 21:30:46 +0000 (16:30 -0500)]
[aot] Cache inflated methods loaded from aot images to avoid repeating an expensive search. Fixes #36256.
Alexander Köplinger [Tue, 1 Dec 2015 21:19:12 +0000 (22:19 +0100)]
[csproj] Small fixes to the genproj readme
Alexander Köplinger [Tue, 1 Dec 2015 21:16:23 +0000 (22:16 +0100)]
[csproj] Update order.xml and csproj files
Alexander Köplinger [Tue, 1 Dec 2015 20:55:36 +0000 (21:55 +0100)]
[csproj] Remove *net_4_5.csproj files from the class libs
We only use the net_4_x profile now so those csproj's don't make sense anymore.
Zoltan Varga [Tue, 1 Dec 2015 21:16:22 +0000 (16:16 -0500)]
Fix a warning.
Zoltan Varga [Tue, 1 Dec 2015 21:05:31 +0000 (16:05 -0500)]
[aot] Add instances of EnumEqualityCompater<T> for all integer types. Fixes #36370.
Alexander Köplinger [Tue, 1 Dec 2015 20:56:58 +0000 (15:56 -0500)]
Merge pull request #2277 from lewurm/xmldoc
[docs] fix case in Makefile
Marek Safar [Tue, 1 Dec 2015 20:35:23 +0000 (15:35 -0500)]
[mcs] Remove parenthesized null operator special case. Fixes #36425
Bernhard Urban [Tue, 1 Dec 2015 20:14:20 +0000 (15:14 -0500)]
[docs] fix case in Makefile
João Matos [Tue, 1 Dec 2015 18:35:26 +0000 (13:35 -0500)]
Merge pull request #2275 from lewurm/httputilityfix
[System.Net] use WebUtility instead of HttpUtility
Bernhard Urban [Tue, 1 Dec 2015 18:28:45 +0000 (13:28 -0500)]
[System.Net] use WebUtility instead of HttpUtility
Zoltan Varga [Tue, 1 Dec 2015 17:41:57 +0000 (12:41 -0500)]
[aot] Add instances of EnumEqualityComparer which is used by EqualityComparer to compare int/uint based enums. Fixes #36370.
Zoltan Varga [Tue, 1 Dec 2015 17:12:17 +0000 (12:12 -0500)]
[gsharedvt] Fix support for constrained calls on interfaces. Fixes #36383.
Marek Safar [Tue, 1 Dec 2015 17:10:57 +0000 (12:10 -0500)]
Alexander Köplinger [Tue, 1 Dec 2015 14:58:40 +0000 (15:58 +0100)]
[System] Add test case for bug #2231
Provided by Tom Hindle in https://bugzilla.xamarin.com/show_bug.cgi?id=2033#c5
João Matos [Tue, 1 Dec 2015 15:29:12 +0000 (10:29 -0500)]
Merge pull request #2256 from joelmartinez/docs-morenetdocs
[docs] Added more libraries to `netdocs`
João Matos [Tue, 1 Dec 2015 15:28:40 +0000 (10:28 -0500)]
Merge pull request #2258 from protel-opensource/protelmaster
Fix error handling for case of invalid host name
João Matos [Tue, 1 Dec 2015 15:27:11 +0000 (10:27 -0500)]
Merge pull request #2269 from dellis1972/xmlpeek
[msbuild] Added XmlPeek
João Matos [Tue, 1 Dec 2015 15:26:37 +0000 (10:26 -0500)]
Merge pull request #2265 from directhex/pthread_tls_on_mips
Force with_tls=pthreads on MIPS, which lacks proper __threads implementation
Marek Safar [Tue, 1 Dec 2015 13:43:20 +0000 (08:43 -0500)]
Merge pull request #2272 from alex-skiffin/master
[NetworkInterface] IPv4Mask property implementation for Linux
alex-skiffin [Tue, 1 Dec 2015 04:37:40 +0000 (09:37 +0500)]
[NetworkInterface] Implement IPv4Mask property on Linux.
This change is released under the MIT license.
Marek Safar [Mon, 30 Nov 2015 22:47:10 +0000 (17:47 -0500)]
[mcs] Tidy up better function betterness for methods with default parameters and unused params. Fixes #36384
Sebastien Pouliot [Mon, 30 Nov 2015 21:58:15 +0000 (16:58 -0500)]
Bump external/referencesource to get mobile fixes
João Matos [Mon, 30 Nov 2015 19:21:48 +0000 (14:21 -0500)]
Merge pull request #2271 from BrzVlad/fix-sizeof-monoarray
[runtime] Fix sizeof MonoArray with non gnu compiler
Zoltan Varga [Mon, 30 Nov 2015 19:00:55 +0000 (14:00 -0500)]
[sdb] Fix ppdb support by adding a variant of mono_debug_symfile_lookup_location () which works with ppdb too. Fixes #36339.
Zoltan Varga [Mon, 30 Nov 2015 17:43:56 +0000 (12:43 -0500)]
[jit] Disable the gsharedvt version of Array.UnsafeMov.
Zoltan Varga [Sun, 29 Nov 2015 04:03:57 +0000 (23:03 -0500)]
[llvm] Remove unused includes from mini-llvm-cpp.cpp.
Zoltan Varga [Sun, 29 Nov 2015 03:40:06 +0000 (22:40 -0500)]
[llvm] Move the JIT related code to a separate llvm-jit.cpp file.
Zoltan Varga [Sun, 29 Nov 2015 03:37:00 +0000 (22:37 -0500)]
[llvm] Fix the passing of the this argument which got broken by
7336f89c6e883be7e0852386c5f81d0eed0ee417.
Zoltan Varga [Sun, 29 Nov 2015 03:35:45 +0000 (22:35 -0500)]
[runtime] Fix support for MONO_ENV_OPTIONS which got broken by
8593c4dddc28a83bb137e2ad502382efc0d53a0d.
Zoltan Varga [Sat, 28 Nov 2015 19:55:33 +0000 (14:55 -0500)]
[jit] Fix the verbosity of the 'LLVM failed for' messages.
Zoltan Varga [Sat, 28 Nov 2015 19:52:40 +0000 (14:52 -0500)]
[ppdb] Fix reading of locals/scopes for the last method in the scope table. Fixes #36257.
Sebastien Pouliot [Fri, 27 Nov 2015 21:25:46 +0000 (16:25 -0500)]
[System.Data] Remove unneeded files that includes win32 specific p/invokes in the mobile profile
Zoltan Varga [Fri, 27 Nov 2015 16:08:33 +0000 (11:08 -0500)]
Fix a warning.
Sebastien Pouliot [Fri, 27 Nov 2015 13:51:25 +0000 (08:51 -0500)]
[System.Xml] Do not build MS RS Win8Helpers.cs file (which includes win32-specific pinvokes) as it is unneeded for building the mobile profile
Marek Safar [Fri, 27 Nov 2015 11:15:09 +0000 (12:15 +0100)]
[mcs] Add new test
Marek Safar [Fri, 27 Nov 2015 11:11:14 +0000 (12:11 +0100)]
[mcs] Fix codegen for nested binary bitwise operators.
Rolf Bjarne Kvinge [Fri, 27 Nov 2015 08:40:15 +0000 (09:40 +0100)]
[mscorlib][System] Use PlatformNotSupportedException instead of NotSupportedException when it makes sense.
Sebastien Pouliot [Thu, 26 Nov 2015 19:55:00 +0000 (14:55 -0500)]
[System][ios] Disable non-working Ping code (and non-existing DllImport)
* capget is not part of libc (libSystem.dylib) on iOS (or OSX); and
* There's no working Process class to invoke `ping` by itself leading to
[FAIL] DllImportTest.LackOfCapget : System.InvalidOperationException : Process has not been started.
at System.Diagnostics.Process.get_HasExited () [0x00039] in /Users/poupou/git/xamarin/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/System/System.Diagnostics/Process.cs:184
It's technically possible to implement ping on iOS [1] so the code is
not totally removed from the build (API remains identical to existing).
[1] https://bugzilla.xamarin.com/show_bug.cgi?id=964
Marek Safar [Thu, 26 Nov 2015 18:52:25 +0000 (19:52 +0100)]
[mcs] Fixes codegen for lifted bitwise operators which are liften only due to null operand
Sebastien Pouliot [Thu, 26 Nov 2015 16:45:04 +0000 (11:45 -0500)]
[Mono.Data.Sqlite] Remove p/invokes to symbols that are not available on iOS version of libsqlite3
/usr/lib/libsqlite3.dylib: 77 symbols
[NOT FOUND] sqlite3_column_database_name
[NOT FOUND] sqlite3_column_database_name16
[NOT FOUND] sqlite3_column_origin_name
[NOT FOUND] sqlite3_column_origin_name16
[NOT FOUND] sqlite3_column_table_name
[NOT FOUND] sqlite3_column_table_name16
[NOT FOUND] sqlite3_key
[NOT FOUND] sqlite3_rekey
note: XI has unit tests that will detect if those symbols are added in a
future version of iOS.
Sebastien Pouliot [Thu, 26 Nov 2015 16:37:03 +0000 (11:37 -0500)]
[mscorlib] Do not include several win32-p/invoke calls (AccessControl) for the mobile profile
Sebastien Pouliot [Thu, 26 Nov 2015 16:34:41 +0000 (11:34 -0500)]
[mscorlib] Do not include a win32-p/invoke call (GetFullPathName) for the mobile profile
Vlad Brezae [Thu, 26 Nov 2015 12:06:54 +0000 (12:06 +0000)]
[runtime] Fix sizeof MonoArray with non gnu compiler
We would have the problem that array->vector != array + sizeof
(MonoArray), which would waste space and also lead to problems in
accessing the array elements.
Dean Ellis [Thu, 26 Nov 2015 10:49:35 +0000 (10:49 +0000)]
[msbuild] Added XmlPeek
XmlPeek was missing from Mono. Adding it based on the
open source msbuild implementation with a few minor
changes because of missing support classes.
Marek Safar [Thu, 26 Nov 2015 10:37:02 +0000 (11:37 +0100)]
[mcs] Fix null coalescing operator on cast of source expression resolved to implicit user operator conversion. Fixes #36161
Zoltan Varga [Thu, 26 Nov 2015 03:04:45 +0000 (22:04 -0500)]
Revert "[aot] Cache inflated methods loaded from aot images to avoid repeating an expensive search. Fixes #36256."
This reverts commit
d4828b42f0f777049abdba402a7a591fd24bcdac.
Revert this as it causes test failures.
Zoltan Varga [Thu, 26 Nov 2015 03:04:31 +0000 (22:04 -0500)]
[jit] Comment out a call to mono_debug_count (), it should only be enabled during debugging.
Martin Baulig [Wed, 25 Nov 2015 23:45:31 +0000 (18:45 -0500)]
[Mono.Security]: Actually rename MonoSslStream.cs into IMonoSslStream.cs.
(cherry picked from commit
6609e2719437fe2bc20546908053fb4c4f7f80d2)
Zoltan Varga [Wed, 25 Nov 2015 22:31:34 +0000 (17:31 -0500)]
[aot] Cache inflated methods loaded from aot images to avoid repeating an expensive search. Fixes #36256.
Martin Baulig [Wed, 25 Nov 2015 20:06:45 +0000 (15:06 -0500)]
[Mono.Security]: Rename 'Mono.Security.Interface.MonoSslStream' into 'IMonoSslStream' and make it an interface.
(cherry picked from commit
aa2166908a4c377d423b05aa75bc021e45d94c06)
Martin Baulig [Fri, 20 Nov 2015 18:52:01 +0000 (13:52 -0500)]
[Mono.Security]: Add a few more 'Mono.Security.Interface' APIs.
The following general-purpose enums and exception helpers were moved
here from Mono.Security.NewTls.Interface, which is going away.
* Alert, CipherAlgorithmType, CipherSuiteCode, ExchangeAlgorithmType,
HashAlgorithmType, TlsConnectionInfo, TlsException, TlsProtocolCode,
TlsProtocols.
* TlsConnectionInfo has been merged into MonoTlsConnectionInfo.
Note that you may not use 'using' statements for both 'Mono.Security.Interface'
and 'System.Security.Authentication' due to conflicting types. Use a prefix such as
"using MSI = Mono.Security.Interface;" or "using SSA = System.Security.Authentication;"
if you need both namespaces.
(cherry picked from commit
af05134433c658c93f82c6f4d47b93bb4b83257f)
Martin Baulig [Wed, 25 Nov 2015 19:51:19 +0000 (14:51 -0500)]
[System]: Make $(the_libdir_base)Mono.Security.dll depend on ../Mono.Security/Makefile.
(cherry picked from commit
77477b0e2b64bee3b75ed20c69e6f52e121df03f)
Marek Safar [Wed, 25 Nov 2015 18:04:04 +0000 (19:04 +0100)]
[System.Data] Implement CommandBehavior.SequentialAccess support for GetValues method. Fixes #35857
Zoltan Varga [Wed, 25 Nov 2015 17:31:35 +0000 (12:31 -0500)]
[aot] Escape some characters in method names to avoid assembler problems with obfuscated assemblies. Fixes #36247.
Jo Shields [Wed, 25 Nov 2015 17:15:58 +0000 (17:15 +0000)]
Force with_tls=pthreads on MIPS, which lacks proper __threads implementation
Rolf Bjarne Kvinge [Wed, 25 Nov 2015 16:57:33 +0000 (17:57 +0100)]
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest failure.
It looks like the GC might be involved somehow in these random
failures, so make sure objects aren't freed too early.
Rolf Bjarne Kvinge [Wed, 25 Nov 2015 13:03:56 +0000 (14:03 +0100)]
[System] Fix SmtpClientTest.Deliver_Async to not require main thread processing.
Rolf Bjarne Kvinge [Tue, 6 Oct 2015 12:56:38 +0000 (14:56 +0200)]
[System] Remove Process.Start and related API from TvOS/WatchOS.
Rolf Bjarne Kvinge [Tue, 24 Nov 2015 18:49:27 +0000 (19:49 +0100)]
[corlib] Re-introduce Thread.Abort/Suspend/Resume, but make them throw NotSupportedException instead.
Re-introduce Thread.Abort/Suspend/Resume so that we don't have to
create separate PCL profiles.
Instead make them throw a NotSupportedException, and add an
[Obsolete (error: true)] attribute so that these methods can't
be used from source.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 15:56:25 +0000 (16:56 +0100)]
[System] Tweak tests to work with Thread.Interrupt as well.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 15:56:06 +0000 (16:56 +0100)]
[System] Don't throw SocketExceptions when we're stopping.
Zoltan Varga [Tue, 24 Nov 2015 23:42:44 +0000 (18:42 -0500)]
[aot] Handle gsharedvt versions of delegate invoke wrappers correctly, there could be multiple copies of them for the same class. Fixes #36125.
Marek Safar [Tue, 24 Nov 2015 21:48:09 +0000 (22:48 +0100)]
Merge pull request #2263 from akoeplinger/net_4_6.xml
[xbuild] Add net_4.6.xml/net_4.6.1.xml and wire through xbuild
Martin Baulig [Fri, 20 Nov 2015 18:27:55 +0000 (13:27 -0500)]
[Mono.Security]: Minor 'Mono.Security.Interface' API improvements.
* MonoTlsSettings: Add static 'DefaultSettings' and CopyDefaultSettings().
* MonoTlsProvider: Add 'ID' and 'Name' properties.
(cherry picked from commit
51226c86f9f402e7bf09aefeeac7c24ca52bfdbd)
Andi McClure [Tue, 24 Nov 2015 19:48:36 +0000 (14:48 -0500)]
Spinlock to prevent SIGPIPE in signal.c (bug #36214)
There is a race condition in signal.c where a signal-waiting thread
can close the pipe and then the signal handler can try to write to it.
Introduce a locking mechanism to prevent this. Separate mph_int_set
and mph_int_test_and_set to support the lock code.