mono.git
8 years agoMerge pull request #2223 from lobrien/master
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

8 years ago[aot] Cache inflated methods loaded from aot images to avoid repeating an expensive...
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.

8 years agoFix a warning.
Zoltan Varga [Tue, 1 Dec 2015 21:16:22 +0000 (16:16 -0500)]
Fix a warning.

8 years ago[aot] Add instances of EnumEqualityCompater<T> for all integer types. Fixes #36370.
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.

8 years agoMerge pull request #2277 from lewurm/xmldoc
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

8 years ago[mcs] Remove parenthesized null operator special case. Fixes #36425
Marek Safar [Tue, 1 Dec 2015 20:35:23 +0000 (15:35 -0500)]
[mcs] Remove parenthesized null operator special case. Fixes #36425

8 years ago[docs] fix case in Makefile
Bernhard Urban [Tue, 1 Dec 2015 20:14:20 +0000 (15:14 -0500)]
[docs] fix case in Makefile

8 years agoMerge pull request #2275 from lewurm/httputilityfix
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

8 years ago[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

8 years ago[aot] Add instances of EnumEqualityComparer which is used by EqualityComparer to...
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.

8 years ago[gsharedvt] Fix support for constrained calls on interfaces. Fixes #36383.
Zoltan Varga [Tue, 1 Dec 2015 17:12:17 +0000 (12:12 -0500)]
[gsharedvt] Fix support for constrained calls on interfaces. Fixes #36383.

8 years ago[mcs] Better fix for commit 1bcab9bcd735c65ea850bed2bb5a03f267f906e5
Marek Safar [Tue, 1 Dec 2015 17:10:57 +0000 (12:10 -0500)]
[mcs] Better fix for commit 1bcab9bcd735c65ea850bed2bb5a03f267f906e5

8 years ago[System] Add test case for bug #2231
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

8 years agoMerge pull request #2256 from joelmartinez/docs-morenetdocs
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`

8 years agoMerge pull request #2258 from protel-opensource/protelmaster
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

8 years agoMerge pull request #2269 from dellis1972/xmlpeek
João Matos [Tue, 1 Dec 2015 15:27:11 +0000 (10:27 -0500)]
Merge pull request #2269 from dellis1972/xmlpeek

[msbuild] Added XmlPeek

8 years agoMerge pull request #2265 from directhex/pthread_tls_on_mips
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

8 years agoMerge pull request #2272 from alex-skiffin/master
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

8 years ago[NetworkInterface] Implement IPv4Mask property on 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.

8 years ago[mcs] Tidy up better function betterness for methods with default parameters and...
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

8 years agoBump external/referencesource to get mobile fixes
Sebastien Pouliot [Mon, 30 Nov 2015 21:58:15 +0000 (16:58 -0500)]
Bump external/referencesource to get mobile fixes

8 years agoMerge pull request #2271 from BrzVlad/fix-sizeof-monoarray
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

8 years ago[sdb] Fix ppdb support by adding a variant of mono_debug_symfile_lookup_location...
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.

8 years ago[jit] Disable the gsharedvt version of Array.UnsafeMov.
Zoltan Varga [Mon, 30 Nov 2015 17:43:56 +0000 (12:43 -0500)]
[jit] Disable the gsharedvt version of Array.UnsafeMov.

8 years ago[llvm] Remove unused includes from mini-llvm-cpp.cpp.
Zoltan Varga [Sun, 29 Nov 2015 04:03:57 +0000 (23:03 -0500)]
[llvm] Remove unused includes from mini-llvm-cpp.cpp.

8 years ago[llvm] Move the JIT related code to a separate llvm-jit.cpp file.
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.

8 years ago[llvm] Fix the passing of the this argument which got broken by 7336f89c6e883be7e0852...
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.

8 years ago[runtime] Fix support for MONO_ENV_OPTIONS which got broken by 8593c4dddc28a83bb137e2...
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.

8 years ago[jit] Fix the verbosity of the 'LLVM failed for' messages.
Zoltan Varga [Sat, 28 Nov 2015 19:55:33 +0000 (14:55 -0500)]
[jit] Fix the verbosity of the 'LLVM failed for' messages.

8 years ago[ppdb] Fix reading of locals/scopes for the last method in the scope table. Fixes...
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.

8 years ago[System.Data] Remove unneeded files that includes win32 specific p/invokes in the...
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

8 years agoFix a warning.
Zoltan Varga [Fri, 27 Nov 2015 16:08:33 +0000 (11:08 -0500)]
Fix a warning.

8 years ago[System.Xml] Do not build MS RS Win8Helpers.cs file (which includes win32-specific...
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

8 years ago[mcs] Add new test
Marek Safar [Fri, 27 Nov 2015 11:15:09 +0000 (12:15 +0100)]
[mcs] Add new test

8 years ago[mcs] Fix codegen for nested binary bitwise operators.
Marek Safar [Fri, 27 Nov 2015 11:11:14 +0000 (12:11 +0100)]
[mcs] Fix codegen for nested binary bitwise operators.

8 years ago[mscorlib][System] Use PlatformNotSupportedException instead of NotSupportedException...
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.

8 years ago[System][ios] Disable non-working Ping code (and non-existing DllImport)
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

8 years ago[mcs] Fixes codegen for lifted bitwise operators which are liften only due to null...
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

8 years ago[Mono.Data.Sqlite] Remove p/invokes to symbols that are not available on iOS version...
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.

8 years ago[mscorlib] Do not include several win32-p/invoke calls (AccessControl) for the mobile...
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

8 years ago[mscorlib] Do not include a win32-p/invoke call (GetFullPathName) for the mobile...
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

8 years ago[runtime] Fix sizeof MonoArray with non gnu compiler
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.

8 years ago[msbuild] Added XmlPeek
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.

8 years ago[mcs] Fix null coalescing operator on cast of source expression resolved to implicit...
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

8 years agoRevert "[aot] Cache inflated methods loaded from aot images to avoid repeating an...
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.

8 years ago[jit] Comment out a call to mono_debug_count (), it should only be enabled during...
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.

8 years ago[Mono.Security]: Actually rename MonoSslStream.cs into IMonoSslStream.cs.
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)

8 years ago[aot] Cache inflated methods loaded from aot images to avoid repeating an expensive...
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.

8 years ago[Mono.Security]: Rename 'Mono.Security.Interface.MonoSslStream' into 'IMonoSslStream...
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)

8 years ago[Mono.Security]: Add a few more 'Mono.Security.Interface' APIs.
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)

8 years ago[System]: Make $(the_libdir_base)Mono.Security.dll depend on ../Mono.Security/Makefile.
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)

8 years ago[System.Data] Implement CommandBehavior.SequentialAccess support for GetValues method...
Marek Safar [Wed, 25 Nov 2015 18:04:04 +0000 (19:04 +0100)]
[System.Data] Implement CommandBehavior.SequentialAccess support for GetValues method. Fixes #35857

8 years ago[aot] Escape some characters in method names to avoid assembler problems with obfusca...
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.

8 years agoForce with_tls=pthreads on MIPS, which lacks proper __threads implementation
Jo Shields [Wed, 25 Nov 2015 17:15:58 +0000 (17:15 +0000)]
Force with_tls=pthreads on MIPS, which lacks proper __threads implementation

8 years ago[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
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.

8 years ago[System] Fix SmtpClientTest.Deliver_Async to not require main thread processing.
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.

8 years ago[System] Remove Process.Start and related API from TvOS/WatchOS.
Rolf Bjarne Kvinge [Tue, 6 Oct 2015 12:56:38 +0000 (14:56 +0200)]
[System] Remove Process.Start and related API from TvOS/WatchOS.

8 years ago[corlib] Re-introduce Thread.Abort/Suspend/Resume, but make them throw NotSupportedEx...
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.

8 years ago[System] Tweak tests to work with Thread.Interrupt as well.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 15:56:25 +0000 (16:56 +0100)]
[System] Tweak tests to work with Thread.Interrupt as well.

8 years ago[System] Don't throw SocketExceptions when we're stopping.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 15:56:06 +0000 (16:56 +0100)]
[System] Don't throw SocketExceptions when we're stopping.

8 years ago[aot] Handle gsharedvt versions of delegate invoke wrappers correctly, there could...
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.

8 years agoMerge pull request #2263 from akoeplinger/net_4_6.xml
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

8 years ago[Mono.Security]: Minor 'Mono.Security.Interface' API improvements.
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)

8 years ago[System]: Allow null 'settings' argument in ChainValidationHelper.
Martin Baulig [Tue, 24 Nov 2015 19:22:50 +0000 (14:22 -0500)]
[System]: Allow null 'settings' argument in ChainValidationHelper.

(cherry picked from commit 9d6b03a587b0230eb66404f611ff09616832c8d3)

8 years agoMerge pull request #2264 from xmcclure/fix-testwaitany-mini
Jonathan Pryor [Tue, 24 Nov 2015 19:03:20 +0000 (14:03 -0500)]
Merge pull request #2264 from xmcclure/fix-testwaitany-mini

Minimal fix for sporadic Mono.Unix.UnixSignalTest.TestWaitAny crashes (bug #35936)

8 years agoDon't fsync() on a pipe (causes bug #35936)
Andi McClure [Tue, 24 Nov 2015 18:46:19 +0000 (13:46 -0500)]
Don't fsync() on a pipe (causes bug #35936)

fsync() on a file descriptor from a pipe() is invalid, and
occasionally crashes on current OS X.

8 years ago[xbuild] Add net_4.6.xml/net_4.6.1.xml and wire through xbuild
Alexander Köplinger [Tue, 24 Nov 2015 16:49:29 +0000 (17:49 +0100)]
[xbuild] Add net_4.6.xml/net_4.6.1.xml and wire through xbuild

Commented the entries in ToolLocationHelper, they could be misunderstood since the 4.0/4.5/4.6 entries are all the same.

8 years ago[System.ComponentModel.DataAnnotations] Update tests to match the new strings from...
Alexander Köplinger [Tue, 24 Nov 2015 16:53:48 +0000 (17:53 +0100)]
[System.ComponentModel.DataAnnotations] Update tests to match the new strings from 21a3421f4c1a40a0b3af25e2533e3fef72e31869

8 years ago[system][monodroid] Remove reference to Win32NetworkInterfaceAPI (as the type was...
Sebastien Pouliot [Tue, 24 Nov 2015 14:37:46 +0000 (09:37 -0500)]
[system][monodroid] Remove reference to Win32NetworkInterfaceAPI (as the type was removed from the profile earlier)

8 years ago[system.net.http] Make HttpClient a partial class and skip default .ctor when buildin...
Sebastien Pouliot [Sun, 22 Nov 2015 22:05:08 +0000 (17:05 -0500)]
[system.net.http] Make HttpClient a partial class and skip default .ctor when building for iOS

8 years agoMerge pull request #2208 from martinbooth/dataannotation_strings_from_corefx_without_resx
Alexander Köplinger [Tue, 24 Nov 2015 14:26:39 +0000 (15:26 +0100)]
Merge pull request #2208 from martinbooth/dataannotation_strings_from_corefx_without_resx

[System.ComponentModel.DataAnnotations] Replaced data annotation error messages with values extracted from corefx resource file

8 years agoMerge pull request #2248 from barsgroup/bugfix/35980
Alexander Köplinger [Tue, 24 Nov 2015 14:16:03 +0000 (15:16 +0100)]
Merge pull request #2248 from barsgroup/bugfix/35980

CSharpCodeCompiler should treat multi-line warning messages as warnings

8 years agoCSharpCodeCompiler should not treat multi-line warnings from mcs as internal compiler...
Dmitry Kalyanov [Wed, 18 Nov 2015 13:04:46 +0000 (16:04 +0300)]
CSharpCodeCompiler should not treat multi-line warnings from mcs as internal compiler errors.

Most errors and warnings from c# compiler are reported in one line in format "FILE(LINE, COL): warning CS1234: Text".
But some warning span multiple lines:

  /tmp/3fb23cc0/634d2022.0.cs(22,29): warning CS0114: `NS.B.F()' hides inherited member `NS.A.F()' ..
  /tmp/3fb23cc0/634d2022.0.cs(16,29): (Location of the symbol related to previous warning)

Previously the second line was considered to be an internal compiler error since it doesn't match the error regex.

This seems to be only type of messages that span multiple lines.

This fixes #35980

8 years ago[llvm] Fix the mapping of byref types.
Zoltan Varga [Tue, 24 Nov 2015 02:18:40 +0000 (21:18 -0500)]
[llvm] Fix the mapping of byref types.

8 years agoMerge pull request #2259 from xmcclure/modet-pointer
Jonathan Pryor [Mon, 23 Nov 2015 20:31:02 +0000 (15:31 -0500)]
Merge pull request #2259 from xmcclure/modet-pointer

Fix unsafe pointer conversion in sys-stat.c

8 years agoFix sys-stat.c where a pointer to a mode_t (potentially an int16) was being unsafely...
Andi McClure [Mon, 23 Nov 2015 19:33:44 +0000 (14:33 -0500)]
Fix sys-stat.c where a pointer to a mode_t (potentially an int16) was being unsafely converted to an int32 pointer

8 years agoImprove nunit error reporting in case of a test returning a null results object in...
Andi McClure [Mon, 23 Nov 2015 19:27:18 +0000 (14:27 -0500)]
Improve nunit error reporting in case of a test returning a null results object in the absence of an exception.

8 years agoFix error handling for case of invalid host name
Jan Thonemann [Wed, 18 Jun 2014 15:15:45 +0000 (17:15 +0200)]
Fix error handling for case of invalid host name

If a attacker injects invalid content into the "host" header field like
"><script>alert(123)</script>
this content is now html encoded.
This prevents XSS attacks.

8 years ago[runtime] Fix non-byref LPArray marshalling. Fixes #36128.
Zoltan Varga [Sun, 22 Nov 2015 14:04:18 +0000 (09:04 -0500)]
[runtime] Fix non-byref LPArray marshalling. Fixes #36128.

8 years agoMerge pull request #2255 from directhex/override-mono-wrapper
Alexander Köplinger [Sun, 22 Nov 2015 14:01:04 +0000 (15:01 +0100)]
Merge pull request #2255 from directhex/override-mono-wrapper

Allow mono-wrapper executable to be overridden by environment

8 years ago[ji] Add a mini-llvm.h header file for the functions implemented by the LLVM backend.
Zoltan Varga [Sat, 21 Nov 2015 15:13:52 +0000 (10:13 -0500)]
[ji] Add a mini-llvm.h header file for the functions implemented by the LLVM backend.

8 years ago[runtime] Implement FIXMEs in the portable ppdb code.
Zoltan Varga [Sat, 21 Nov 2015 14:30:45 +0000 (09:30 -0500)]
[runtime] Implement FIXMEs in the portable ppdb code.

8 years ago[runtime] Fix the loading of ppdb files.
Zoltan Varga [Sat, 21 Nov 2015 13:32:24 +0000 (08:32 -0500)]
[runtime] Fix the loading of ppdb files.

8 years ago[aot] Fix support for runtime invokes to array accessors of reference arrays. Fixes...
Zoltan Varga [Sat, 21 Nov 2015 11:53:50 +0000 (06:53 -0500)]
[aot] Fix support for runtime invokes to array accessors of reference arrays. Fixes #35855.

8 years ago[system] Bump uri limit to match .net. Fixes #36095
Marek Safar [Sat, 21 Nov 2015 09:46:20 +0000 (10:46 +0100)]
[system] Bump uri limit to match .net. Fixes #36095

8 years ago[mkbundle] Improved support for Windows
Alexis Christoforides [Sat, 21 Nov 2015 02:40:07 +0000 (21:40 -0500)]
[mkbundle] Improved support for Windows

8 years ago[System.Data] Remove some win32-specific p/invokes for the mobile profile
Sebastien Pouliot [Sat, 21 Nov 2015 02:33:49 +0000 (21:33 -0500)]
[System.Data] Remove some win32-specific p/invokes for the mobile profile

This reduce the size of System.dll and also removes some Win32 specific
p/invokes.

They cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

**Incomplete** (some remains) but enough so we can run LinkSDK and
System.Data unit tests apps (the managed linker can remove the rest)

8 years ago[mdoc] Add some diagnostics
Miguel de Icaza [Sat, 21 Nov 2015 01:31:18 +0000 (20:31 -0500)]
[mdoc] Add some diagnostics

8 years ago[corlib] Bump reference source for .net 4.6 hotfix. Fixes #36003
Marek Safar [Fri, 20 Nov 2015 23:18:21 +0000 (00:18 +0100)]
[corlib] Bump reference source for .net 4.6 hotfix. Fixes #36003

8 years ago[runtime] Use the standard __MOBILE__ define instead of MOBILE for the mini tests.
Zoltan Varga [Fri, 20 Nov 2015 22:48:56 +0000 (17:48 -0500)]
[runtime] Use the standard __MOBILE__ define instead of MOBILE for the mini tests.

8 years ago[docs] Added more libraries to `netdocs`.
Joel Martinez [Fri, 20 Nov 2015 18:34:06 +0000 (13:34 -0500)]
[docs] Added more libraries to `netdocs`.
In response to various customer queries, wondering why various libraries could not be found in our documentation. The libraries being added to the  doc set are:

- System.Json
- System.Net.Http
- System.Runtime.Serialization
- System.ServiceModel
- System.XML.Linq

8 years ago[System] Remove internal Win32* classes from mobile builds
Sebastien Pouliot [Fri, 20 Nov 2015 16:57:48 +0000 (11:57 -0500)]
[System] Remove internal Win32* classes from mobile builds

This reduce the size of System.dll and also removes some Win32 specific
p/invokes.

They cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

8 years ago[System.ServiceModel.Internals] Do not include win32 p/invokes in mobile builds
Sebastien Pouliot [Fri, 20 Nov 2015 15:07:37 +0000 (10:07 -0500)]
[System.ServiceModel.Internals] Do not include win32 p/invokes in mobile builds

This cause native linking issues for tvOS as Xcode 7.1 does not allow
`-u` in bitcode-enabled builds so we have to call directly the symbols
and it must exists at (native) link time.

8 years ago[runtime] Revert breaking changes in MonoGHashGCType.
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 13:19:16 +0000 (14:19 +0100)]
[runtime] Revert breaking changes in MonoGHashGCType.

Xamarin.iOS and Xamarin.Mac uses this enum, and changing the values
causes us to break.

For Xamarin.Mac apps that do not bundle their mono, this would break
when the user updated their system mono.

8 years ago[System.Drawing] Add ifdefs to source code used by Xamarin.iOS/Mac to make it compile...
Rolf Bjarne Kvinge [Fri, 20 Nov 2015 11:20:01 +0000 (12:20 +0100)]
[System.Drawing] Add ifdefs to source code used by Xamarin.iOS/Mac to make it compile there.

8 years ago[aot] Add instances of LongEnumEqualityComparer which is used by EqualityComparer...
Zoltan Varga [Fri, 20 Nov 2015 11:15:56 +0000 (06:15 -0500)]
[aot] Add instances of LongEnumEqualityComparer which is used by EqualityComparer to compare long/ulong based enums.

8 years agoAllow mono-wrapper executable to be overridden by environment
Jo Shields [Fri, 20 Nov 2015 11:04:10 +0000 (11:04 +0000)]
Allow mono-wrapper executable to be overridden by environment

This makes it easier to force Cygwin-brokered test suite runs to use MSVC builds of Mono, i.e. by overriding MONO_EXECUTABLE to .../msvc/bin/Win32/mono-sgen.exe

8 years agoMerge pull request #2254 from Sebmaster/fix-datasourceview
Marek Safar [Fri, 20 Nov 2015 09:42:16 +0000 (10:42 +0100)]
Merge pull request #2254 from Sebmaster/fix-datasourceview

Fix NullReferenceException when reader fails in SqlDataSourceView

8 years ago[corlib] Disable an attribute test which fails on mobile because of linking.
Zoltan Varga [Fri, 20 Nov 2015 07:29:39 +0000 (02:29 -0500)]
[corlib] Disable an attribute test which fails on mobile because of linking.

8 years ago[msvc] Remove outdated projects and configs to fix x64 build
Alexander Köplinger [Fri, 20 Nov 2015 01:17:29 +0000 (02:17 +0100)]
[msvc] Remove outdated projects and configs to fix x64 build

Some of the profiler projects are no longer needed since the corresponding pieces were removed.

Update sln to only build required projects by default and update configurations in projects.

Fixes the Win64 build on Jenkins.