mono.git
9 years ago[corlib] In a TimeZone test, UtcOffset is taken for the current year, so take Dayligh...
Vladimir Kargov [Wed, 3 Sep 2014 12:29:05 +0000 (16:29 +0400)]
[corlib] In a TimeZone test, UtcOffset is taken for the current year, so take DaylightChanges for the current year as well.

9 years agoMerge pull request #1242 from esdrubal/xelement
Marek Safar [Fri, 29 Aug 2014 10:16:24 +0000 (01:16 -0900)]
Merge pull request #1242 from esdrubal/xelement

Fixes XContainer attempt to create a XNode from a null value.

9 years agoFixes XContainer attempt to create a XNode from a null value.
Marcos Henrich [Fri, 29 Aug 2014 09:59:39 +0000 (17:59 +0800)]
Fixes XContainer attempt to create a XNode from a null value.
Fixes #20151.

9 years agoTest XElement constructed from array with null values as object.
Marcos Henrich [Fri, 29 Aug 2014 09:57:31 +0000 (17:57 +0800)]
Test XElement constructed from array with null values as object.
Covers #20151.

9 years agoMerge pull request #1237 from esdrubal/xdocument
Marek Safar [Fri, 29 Aug 2014 06:05:14 +0000 (21:05 -0900)]
Merge pull request #1237 from esdrubal/xdocument

Changed XObject OnChanged and OnChanging to use Owner.

9 years agoMerge pull request #1241 from RyanMelenaNoesis/patch-1
Marek Safar [Fri, 29 Aug 2014 06:03:44 +0000 (21:03 -0900)]
Merge pull request #1241 from RyanMelenaNoesis/patch-1

Update X509CertificateValidationMode.cs

9 years agoUpdate X509CertificateValidationMode.cs
Ryan Melena [Fri, 29 Aug 2014 01:26:08 +0000 (20:26 -0500)]
Update X509CertificateValidationMode.cs

Remove explicit enum values for sake of consistency with existing enum.

9 years agoMerge pull request #1240 from NoesisLabs/master
Alexis Christoforides [Fri, 29 Aug 2014 00:21:58 +0000 (20:21 -0400)]
Merge pull request #1240 from NoesisLabs/master

Correct duplicate X509CertificateValidationMode definition error

9 years agoCorrect duplicate X509CertificateValidationMode definition error caused by enum chang...
Ryan J. Melena [Fri, 29 Aug 2014 00:01:48 +0000 (19:01 -0500)]
Correct duplicate X509CertificateValidationMode definition error caused by enum changing assemblies between .NET 4.0 and 4.5.

9 years agoMerge pull request #1200 from akoeplinger/remove-jvm
Zoltan Varga [Thu, 28 Aug 2014 23:17:43 +0000 (19:17 -0400)]
Merge pull request #1200 from akoeplinger/remove-jvm

[Cleanup] Remove TARGET_JVM

9 years agoRevert "Merge pull request #1219 from panzone/los_partial_marking"
Rodrigo Kumpera [Thu, 28 Aug 2014 23:12:51 +0000 (19:12 -0400)]
Revert "Merge pull request #1219 from panzone/los_partial_marking"

This reverts commit 397176d70101b9bcb7b016ad028378cadb3d302e, reversing
changes made to 33c345a945fb67d8964213dc032214ba65e55321.

9 years agoMerge pull request #1235 from directhex/master
Zoltan Varga [Thu, 28 Aug 2014 22:50:47 +0000 (18:50 -0400)]
Merge pull request #1235 from directhex/master

Add g_Ctoc to list of acceptable g_* symbols in mono, for test-eglib-remap

9 years ago[runtime] Fix a crash in the logging profiler when enumerating elf images.
Zoltan Varga [Thu, 28 Aug 2014 20:44:45 +0000 (16:44 -0400)]
[runtime] Fix a crash in the logging profiler when enumerating elf images.

9 years agoMerge pull request #1238 from esdrubal/datetimeoffset
Rodrigo Kumpera [Thu, 28 Aug 2014 20:12:47 +0000 (16:12 -0400)]
Merge pull request #1238 from esdrubal/datetimeoffset

Fixed DateTime compiler errors.

9 years agoMerge pull request #1236 from NoesisLabs/master
Alexis Christoforides [Thu, 28 Aug 2014 20:08:46 +0000 (16:08 -0400)]
Merge pull request #1236 from NoesisLabs/master

Support JWT functionality in System.IdentityModel.Tokens.Jwt

9 years agoFixed DateTime compiler errors.
Marcos Henrich [Thu, 28 Aug 2014 19:58:03 +0000 (03:58 +0800)]
Fixed DateTime compiler errors.

9 years agoChanged XObject OnChanged and OnChanging to use Owner.
Marcos Henrich [Thu, 28 Aug 2014 18:09:12 +0000 (02:09 +0800)]
Changed XObject OnChanged and OnChanging to use Owner.
When XObject.Owner is not a XElement XObject.Parent returns null and the owner would not be notified of changing and changed events.
Fixes:#18772

9 years agoTest XDocument.Changed event. Covers #18772.
Marcos Henrich [Thu, 28 Aug 2014 18:00:30 +0000 (02:00 +0800)]
Test XDocument.Changed event. Covers #18772.

9 years agoAdd compiler pragmas for conditional .NET 4.5 compilation
Ryan J. Melena [Thu, 28 Aug 2014 15:34:09 +0000 (10:34 -0500)]
Add compiler pragmas for conditional .NET 4.5 compilation

9 years agoAdd file comment headers. This change is released under the MIT license.
Ryan J. Melena [Thu, 28 Aug 2014 15:05:58 +0000 (10:05 -0500)]
Add file comment headers.  This change is released under the MIT license.

9 years agoFix VS changes to .csproj file. This change is released under the MIT license.
Ryan J. Melena [Thu, 28 Aug 2014 14:23:51 +0000 (09:23 -0500)]
Fix VS changes to .csproj file.  This change is released under the MIT license.

9 years agoMinimal implementation of classes and methods necessary to support the JWT functional...
Ryan J. Melena [Thu, 28 Aug 2014 14:15:15 +0000 (09:15 -0500)]
Minimal implementation of classes and methods necessary to support the JWT functionality in System.IdentityModel.Tokens.Jwt (https://github.com/MSOpenTech/azure-activedirectory-identitymodel-extensions-for-dotnet).  This change is released under the MIT license.

9 years agoMerge pull request #1219 from panzone/los_partial_marking
Rodrigo Kumpera [Thu, 28 Aug 2014 16:28:05 +0000 (12:28 -0400)]
Merge pull request #1219 from panzone/los_partial_marking

[Sgen parallel collector] Los partial marking

9 years agoAdd g_Ctoc to list of acceptable g_* symbols in mono, for test-eglib-remap.
Jo Shields [Thu, 28 Aug 2014 16:26:31 +0000 (17:26 +0100)]
Add g_Ctoc to list of acceptable g_* symbols in mono, for test-eglib-remap.

In theory, this test is used to verify that no unknown glib symbols exist
in eglib. However, it's tripping on g_Ctoc which is not a glib (or eglib)
symbol, instead it comes from the IO layer - and glib symbols never use
uppercase characters anyway

9 years agoMerge pull request #1234 from esdrubal/datetimeoffset
Marek Safar [Thu, 28 Aug 2014 16:06:30 +0000 (07:06 -0900)]
Merge pull request #1234 from esdrubal/datetimeoffset

DateTime.CoreParseExact.

9 years ago[xbuild] Allow metadata in skipped task output expressions
Marek Safar [Thu, 28 Aug 2014 15:44:42 +0000 (17:44 +0200)]
[xbuild] Allow metadata in skipped task output expressions

9 years agoRemoved unreachable code.
Marcos Henrich [Thu, 28 Aug 2014 15:43:10 +0000 (23:43 +0800)]
Removed unreachable code.

9 years agoChanged DateTimeOffset.ParseExact to use DateTime.CoreParseExact.
Marcos Henrich [Thu, 28 Aug 2014 15:39:03 +0000 (23:39 +0800)]
Changed DateTimeOffset.ParseExact to use DateTime.CoreParseExact.

9 years agoImproved DateTime._DoParse offset logic.
Marcos Henrich [Thu, 28 Aug 2014 15:37:29 +0000 (23:37 +0800)]
Improved DateTime._DoParse offset logic.

9 years agoRemoved line causing problems when 'K' was followed by something.
Marcos Henrich [Thu, 28 Aug 2014 15:35:48 +0000 (23:35 +0800)]
Removed line causing problems when 'K' was followed by something.

9 years agoImproved DateTime parsing of years.
Marcos Henrich [Thu, 28 Aug 2014 15:31:19 +0000 (23:31 +0800)]
Improved DateTime parsing of years.
Years with 5 or more digits and less than 1000 are now correctly parsed.

9 years agoCreated DateTime.CoreParseExact so to be used by DateTimeOffset.
Marcos Henrich [Thu, 28 Aug 2014 15:27:57 +0000 (23:27 +0800)]
Created DateTime.CoreParseExact so to be used by DateTimeOffset.

9 years ago[mcs] Fixes failing error test
Marek Safar [Thu, 28 Aug 2014 14:35:31 +0000 (16:35 +0200)]
[mcs] Fixes failing error test

9 years ago[mcs] type pattern expression
Marek Safar [Wed, 27 Aug 2014 15:56:47 +0000 (17:56 +0200)]
[mcs] type pattern expression

9 years agoChanged DateTime._DoParser to support DateTimeOffset patterns.
Marcos Henrich [Thu, 28 Aug 2014 14:11:15 +0000 (22:11 +0800)]
Changed DateTime._DoParser to support DateTimeOffset patterns.

9 years agoMerge pull request #1233 from esdrubal/uriparserisbaseof
Marek Safar [Thu, 28 Aug 2014 12:22:48 +0000 (03:22 -0900)]
Merge pull request #1233 from esdrubal/uriparserisbaseof

UriParser.IsBaseOf now explicitly throws ArgumentNullException.

9 years agoUriParser.IsBaseOf now explicitly throws ArgumentNullException.
Marcos Henrich [Thu, 28 Aug 2014 08:12:06 +0000 (16:12 +0800)]
UriParser.IsBaseOf now explicitly throws ArgumentNullException.
A change in Uri.Compare was making IsBaseOf to return false when arguments were null.
NullReferenceException is thrown by .NET, nonetheless the correct behavior is to throw a ArgumentNullException..

9 years agoMerge pull request #1232 from akoeplinger/fix-test
Marek Safar [Thu, 28 Aug 2014 05:44:34 +0000 (20:44 -0900)]
Merge pull request #1232 from akoeplinger/fix-test

[MSBuild] Fixed a test that failed when the GAC wasn't available

9 years ago[MSBuild] Fixed a test that failed when the GAC wasn't available
Alexander Köplinger [Wed, 27 Aug 2014 20:28:49 +0000 (22:28 +0200)]
[MSBuild] Fixed a test that failed when the GAC wasn't available

PR #1229 added a test that relies on the GAC and fails when it isn't available, like when building on a clean machine with monolite.
Skip the test in that case.

9 years ago[runtime] Incorporate team feedback on the new logging APIs.
Rodrigo Kumpera [Wed, 27 Aug 2014 19:47:06 +0000 (15:47 -0400)]
[runtime] Incorporate team feedback on the new logging APIs.

9 years agoFix badge URL in README.md, the previous one got cached by GitHub
Alexander Köplinger [Wed, 27 Aug 2014 18:06:47 +0000 (20:06 +0200)]
Fix badge URL in README.md, the previous one got cached by GitHub

9 years ago[mcs] Add 6.0 to version error reporting
Marek Safar [Wed, 27 Aug 2014 12:09:25 +0000 (14:09 +0200)]
[mcs] Add 6.0 to version error reporting

9 years agoMerge pull request #1231 from esdrubal/gthreshold
Marek Safar [Wed, 27 Aug 2014 15:13:45 +0000 (06:13 -0900)]
Merge pull request #1231 from esdrubal/gthreshold

Serializer were not generated if generationThreshold was changed.

9 years agoSerializer were not generated if generationThreshold was changed.
Marcos Henrich [Wed, 27 Aug 2014 14:20:00 +0000 (22:20 +0800)]
Serializer were not generated if generationThreshold was changed.

9 years agoMerge pull request #1230 from esdrubal/xslattribute
Marek Safar [Wed, 27 Aug 2014 12:58:41 +0000 (03:58 -0900)]
Merge pull request #1230 from esdrubal/xslattribute

Process XslLiteralElements with only child attributes as empty ones.

9 years agoProcess XslLiteralElements with only child attributes as empty ones.
Marcos Henrich [Wed, 27 Aug 2014 12:37:17 +0000 (20:37 +0800)]
Process XslLiteralElements with only child attributes as empty ones.
Fixes #14751

9 years agoTest xls transformation of single child node to an attribute.
Marcos Henrich [Wed, 27 Aug 2014 12:20:47 +0000 (20:20 +0800)]
Test xls transformation of single child node to an attribute.

9 years ago[eglib] Fix logging on iOS (asl_vlog != asl_log)
Sebastien Pouliot [Wed, 27 Aug 2014 01:54:30 +0000 (21:54 -0400)]
[eglib] Fix logging on iOS (asl_vlog != asl_log)

asl_vlog last parameter is a va_list and giving it a char* leads to crash
which calls our native unhandled exception handler, which also tries to
log what happens making the watchdog unhappy about the food quality

0x000000008badf00d

9 years agoResolve build issues on Windows.
Alexis Christoforides [Tue, 26 Aug 2014 19:48:53 +0000 (15:48 -0400)]
Resolve build issues on Windows.

9 years agoFix the build.
Zoltan Varga [Tue, 26 Aug 2014 19:01:08 +0000 (15:01 -0400)]
Fix the build.

9 years ago[WCF]: Fix #22179 - 'finally' protect ClientRuntimeChannel.Begin/EndProcess().
Martin Baulig [Tue, 26 Aug 2014 17:59:27 +0000 (19:59 +0200)]
[WCF]: Fix #22179 - 'finally' protect ClientRuntimeChannel.Begin/EndProcess().

9 years agoMerge pull request #1229 from andreiagaita/master
Marek Safar [Tue, 26 Aug 2014 17:07:09 +0000 (08:07 -0900)]
Merge pull request #1229 from andreiagaita/master

[MSBuild] Make sure assembly references with extensions are located correctly

9 years ago[mcs] Predefined attibutes can have unresolved parameter types.
Marek Safar [Tue, 26 Aug 2014 15:13:41 +0000 (17:13 +0200)]
[mcs] Predefined attibutes can have unresolved parameter types.

9 years ago[mcs] Put back future lang version for easier migration path
Marek Safar [Tue, 26 Aug 2014 11:46:16 +0000 (13:46 +0200)]
[mcs] Put back future lang version for easier migration path

9 years ago[mcs] Don't report error when predefined InterlockedCompareExchange_T is not available.
Marek Safar [Tue, 26 Aug 2014 11:39:15 +0000 (13:39 +0200)]
[mcs] Don't report error when predefined InterlockedCompareExchange_T is not available.

9 years ago[mcs] Hide backing fields in default debugger display
Marek Safar [Mon, 25 Aug 2014 16:27:41 +0000 (18:27 +0200)]
[mcs] Hide backing fields in default debugger display

9 years ago[mcs] Replace future with experimental
Marek Safar [Mon, 25 Aug 2014 14:41:21 +0000 (16:41 +0200)]
[mcs] Replace future with experimental

9 years ago[mcs] Better error message
Marek Safar [Mon, 25 Aug 2014 14:10:45 +0000 (16:10 +0200)]
[mcs] Better error message

9 years ago[system] Add AcceptWebSocketAsync signatures
Marek Safar [Mon, 25 Aug 2014 14:10:15 +0000 (16:10 +0200)]
[system] Add AcceptWebSocketAsync signatures

9 years agoUpdate the LLVM backend to work with llvm branch mono-2014-08-23-b401e6b9699423409a05...
Zoltan Varga [Tue, 26 Aug 2014 04:32:43 +0000 (00:32 -0400)]
Update the LLVM backend to work with llvm branch mono-2014-08-23-b401e6b9699423409a055dc873e4d3f361a908c0.

9 years ago[runtime] Don't call mono_arch_handle_exception() when chaining
T.J. Purtell [Fri, 15 Aug 2014 20:43:36 +0000 (13:43 -0700)]
[runtime] Don't call mono_arch_handle_exception() when chaining

Context: https://bugzilla.xamarin.com/show_bug.cgi?id=18763#c12
Context: https://bugzilla.xamarin.com/show_bug.cgi?id=18763#c14
Context: http://stackoverflow.com/a/1789879/83444

mono_set_crash_chaining() was added in 8ffc4070 in order to better
support Android crash logs.

Crash logging in Android is "weird" (something we didn't know at the
time of 8ffc4070); when a process crashes on Android, ideally:

 1. The Android signal handler is executed,
 2. Bionic will attempt to connect to /system/bin/debuggerd.
 3. debuggerd will try to connect to the crashing process, then
    retrieve "useful" information from the crashing process (stack
    trace, register values, etc.)

The problem with 8ffc4070 was that there is a "window" between steps
(1) and (3) during which the crashing process continues to execute but
debuggerd hasn't attached to the process. It is possible that the
crashing process can thus exit before debuggerd has had a chance to
attach, killing the purpose of the crash logs.

Case in point: consider mono_sigsegv_signal_handler(). In 8ffc4070,
if mono_do_crash_chaining is TRUE, then Mono will execute:

  mono_handle_native_sigsegv (SIGSEGV, ctx);
  mono_chain_signal (SIG_HANDLER_PARAMS);
  mono_arch_handle_exception (ctx, NULL);

Because mono_chain_signal() doesn't block, abort the process, or
otherwise do anything to prevent execution from continuing, execution
will hit mono_arch_handle_exception(), which will exit the process.
If you're unlucky, this will happen before debuggerd has had a chance
to attach to the process.

The obvious fix is to prevent mono_arch_handle_exception() from being
invoked. The question is, *how*? jonp suggested [0] that after
mono_chain_signal() returns then _exit(2) or a busy loop could be
invoked. Unfortunately, _exit(2) makes the process exit explicit, and
~reliably prevents debuggerd from doing anything.

A busy loop doesn't work because it just causes the process to hang
within signal handler context, and debuggerd is never able to log
anything about the crashed process.

It would seem that the signal handler itself must exit without causing
the process to exit so that debuggerd has a chance to do ANYTHING,
otherwise nothing will happen reliably.

Thanks to T.J. Purtell for investigating and providing the patch.

[0]: https://github.com/mono/mono/pull/1206#issuecomment-52357802

--- Original commit message [formatted] ---

re #18763: After the chained handler executes, it may return to allow
the crashed instruction to be restarted or it may have taken
corrective action so the instruction can be resumed successfully.

For example, bionic resets the signal handler for SIGSEGV to default
expecting that the kernel will restart the offending instruction and
cause the kernel to abort the process.  Don't do mono exception
handling after chaining to support these types of signal management.

9 years ago[eglib] Fix compilation on PLATFORM_ANDROID.
Jonathan Pryor [Tue, 26 Aug 2014 02:43:48 +0000 (22:43 -0400)]
[eglib] Fix compilation on PLATFORM_ANDROID.

Compilation of eglib/src/goutput.c was broken in commit 989165e1:

mono/eglib/src/goutput.c: In function 'monoeg_log_default_handler':
mono/eglib/src/goutput.c:159:75: error: 'args' undeclared (first use in this function)
  __android_log_vprint (to_android_priority (log_level), log_domain, "%s", args);
                                                                           ^
mono/eglib/src/goutput.c:159:75: note: each undeclared identifier is reported only once for each function it appears in
mono/eglib/src/goutput.c: In function 'default_stdout_handler':
mono/eglib/src/goutput.c:168:2: error: incompatible type for argument 4 of '__android_log_vprint'
  __android_log_vprint (ANDROID_LOG_ERROR, "mono", "%s", message);
  ^
mono/eglib/src/goutput.c:139:0:
$ANDROID_NDK_PATH/platforms/android-4/arch-arm/usr/include/android/log.h:109:5: note: expected 'va_list' but argument is of type 'const gchar *'
 int __android_log_vprint(int prio, const char *tag,
     ^
mono/eglib/src/goutput.c: In function 'default_stderr_handler':
mono/eglib/src/goutput.c:175:2: error: incompatible type for argument 4 of '__android_log_vprint'
  __android_log_vprint (ANDROID_LOG_ERROR, "mono", "%s", message);
  ^

(The cause of the breakage is that __android_log_vprint() takes a
va_args parameter, which is no longer present in 989165e1.)

Use __android_log_write() instead of __android_log_vprint().

Note: __android_log_write() writes a "simple string" to `adb logcat`,
meaning there is no printf(3)-style formatting applied.

9 years ago[corlib] Update ClaimsPrincipalTest to avoid Is[Not]Empty as this is not part of...
Sebastien Pouliot [Tue, 26 Aug 2014 00:43:31 +0000 (20:43 -0400)]
[corlib] Update ClaimsPrincipalTest to avoid Is[Not]Empty as this is not part of NUnitLite 1.0 (and can't be run on XiOS)

9 years ago[eglib] Restore previous defaults for some platforms.
Rodrigo Kumpera [Mon, 25 Aug 2014 18:51:07 +0000 (14:51 -0400)]
[eglib] Restore previous defaults for some platforms.

9 years ago[msvc] Fix release 64bits builds.
Rodrigo Kumpera [Mon, 25 Aug 2014 18:40:39 +0000 (14:40 -0400)]
[msvc] Fix release 64bits builds.

9 years ago[jit] Ensure no threads are running when the JIT is asked to cleanup.
Rodrigo Kumpera [Mon, 25 Aug 2014 18:37:22 +0000 (14:37 -0400)]
[jit] Ensure no threads are running when the JIT is asked to cleanup.

9 years ago[utils] Add runtime API for output redirection, logging and aborting.
Rodrigo Kumpera [Mon, 25 Aug 2014 17:59:38 +0000 (13:59 -0400)]
[utils] Add runtime API for output redirection, logging and aborting.

9 years ago[eglib] g_assertion_message should not abort, g_logv will do it.
Rodrigo Kumpera [Fri, 22 Aug 2014 20:58:49 +0000 (16:58 -0400)]
[eglib] g_assertion_message should not abort, g_logv will do it.

9 years ago[eglib] Add log/print redirection functions to eglib.
Rodrigo Kumpera [Fri, 22 Aug 2014 20:55:18 +0000 (16:55 -0400)]
[eglib] Add log/print redirection functions to eglib.

9 years ago[System]: WebClient.OpenWrite() must get the response on close; fixes #10163.
Martin Baulig [Tue, 19 Aug 2014 15:25:49 +0000 (17:25 +0200)]
[System]: WebClient.OpenWrite() must get the response on close; fixes #10163.

When the stream returned by WebClient.OpenWrite() / OpenWriteAsync() /
OpenWriteTaskAsync(), we need to call GetResponse() and read the full
response.

Unfortunately, there is no async API available for this, so this API should
not be used in async applications.

9 years ago[System]: Fix WebClient.UploadValuesTaskAsync(); bug #20359.
Martin Baulig [Fri, 8 Aug 2014 13:48:23 +0000 (15:48 +0200)]
[System]: Fix WebClient.UploadValuesTaskAsync(); bug #20359.

9 years agoTest DateTimeOffest parsing of partial dates.
Marcos Henrich [Mon, 25 Aug 2014 15:51:37 +0000 (23:51 +0800)]
Test DateTimeOffest parsing of partial dates.

9 years ago[msbuild] corcompare public API
Marek Safar [Mon, 25 Aug 2014 12:00:05 +0000 (14:00 +0200)]
[msbuild] corcompare public API

9 years ago[corlib] Fix ClaimsIdentity claim value comparison
Marek Safar [Mon, 25 Aug 2014 11:11:56 +0000 (13:11 +0200)]
[corlib] Fix ClaimsIdentity claim value comparison

9 years ago[corlib] corcompare update
Marek Safar [Mon, 25 Aug 2014 11:08:12 +0000 (13:08 +0200)]
[corlib] corcompare update

9 years agoMerge pull request #1224 from esdrubal/codecompiler
Marek Safar [Mon, 25 Aug 2014 10:56:04 +0000 (12:56 +0200)]
Merge pull request #1224 from esdrubal/codecompiler

Changed mono_path profile replacement to be case insensitive.

9 years agoMerge pull request #1223 from esdrubal/xmlgenerator
Marek Safar [Mon, 25 Aug 2014 10:55:33 +0000 (12:55 +0200)]
Merge pull request #1223 from esdrubal/xmlgenerator

Test SerializationCodeGenerator.

9 years agoMerge pull request #1226 from mattleibow/TransactionScope-InvalidTimoutNotThrowingExc...
Marek Safar [Sat, 23 Aug 2014 05:54:03 +0000 (07:54 +0200)]
Merge pull request #1226 from mattleibow/TransactionScope-InvalidTimoutNotThrowingException

[system.transactions] Throw exception when an invalid TimeSpan is provided

9 years ago[system.transactions] Throw exception when an invalid TimeSpan is provided:
Matthew Leibowitz [Fri, 22 Aug 2014 22:38:15 +0000 (00:38 +0200)]
[system.transactions] Throw exception when an invalid TimeSpan is provided:
 - MS.NET throws
 - prevent construction when an invalid (negative) timeout is provided

9 years agoAdded mono_string_from_utf32()
Alexis Christoforides [Fri, 22 Aug 2014 21:11:11 +0000 (17:11 -0400)]
Added mono_string_from_utf32()

9 years ago[corlib] Improve System.Security.Claims. Fixes #22282
Marek Safar [Fri, 22 Aug 2014 20:08:33 +0000 (22:08 +0200)]
[corlib] Improve System.Security.Claims. Fixes #22282

9 years ago[mcs] Handle partial entry point method
Marek Safar [Fri, 22 Aug 2014 12:57:23 +0000 (14:57 +0200)]
[mcs] Handle partial entry point method

9 years agoRemove unused mdb icall
Marek Safar [Fri, 22 Aug 2014 07:40:49 +0000 (09:40 +0200)]
Remove unused mdb icall

9 years ago[runtime] Add a mono_thread_detach_if_exiting () public api function which can be...
Zoltan Varga [Fri, 22 Aug 2014 15:36:58 +0000 (11:36 -0400)]
[runtime] Add a mono_thread_detach_if_exiting () public api function which can be called by embedding code to detach the runtime if the code is running from a pthread dtor. Fixes part of #21164.

9 years agoChanged mono_path profile replacement to be case insensitive.
Marcos Henrich [Fri, 22 Aug 2014 14:15:10 +0000 (22:15 +0800)]
Changed mono_path profile replacement to be case insensitive.

9 years agoFixed serialization of XmlNode field with attribute XmlAnyElement.
Marcos Henrich [Thu, 21 Aug 2014 18:47:42 +0000 (02:47 +0800)]
Fixed serialization of XmlNode field with attribute XmlAnyElement.
Fixes #3211.

9 years agoAdded missing XmlTypeMapping.IsAny logic.
Marcos Henrich [Thu, 21 Aug 2014 18:17:43 +0000 (02:17 +0800)]
Added missing XmlTypeMapping.IsAny logic.
This complements commit 05444c7c1c570db730f17b6d15dd66d3728b6.

9 years agoReplaced incorrect bool.ToString() by GetLiteral(bool).
Marcos Henrich [Thu, 21 Aug 2014 18:10:35 +0000 (02:10 +0800)]
Replaced incorrect bool.ToString() by GetLiteral(bool).

9 years agoAdded GetTypeFullName, fixes wrong nullable valuetype names.
Marcos Henrich [Thu, 21 Aug 2014 18:08:06 +0000 (02:08 +0800)]
Added GetTypeFullName, fixes wrong nullable valuetype names.

9 years agoChanged UsageCount and generationThreshold to zero based.
Marcos Henrich [Thu, 21 Aug 2014 17:58:17 +0000 (01:58 +0800)]
Changed UsageCount and generationThreshold to zero based.

9 years ago[xbuild] Resolve output properties for skipped task to match task output when it...
Marek Safar [Fri, 22 Aug 2014 07:23:22 +0000 (09:23 +0200)]
[xbuild] Resolve output properties for skipped task to match task output when it's not skipped

9 years agoTest SerializationCodeGenerator.
Marcos Henrich [Thu, 21 Aug 2014 17:45:22 +0000 (01:45 +0800)]
Test SerializationCodeGenerator.
XmlSerializerTests was mostly testing XmlSerializationReaderInterpreter and XmlSerializationWriterInterpreter.
XmlSerializerGeneratorTests forces the usage of SerializationCodeGenerator while running XmlSerializerTests.

9 years agoTests serialization of XmlNode field with attribute XmlAnyElement.
Marcos Henrich [Wed, 20 Aug 2014 19:36:41 +0000 (03:36 +0800)]
Tests serialization of XmlNode field with attribute XmlAnyElement.
Covers #3211.

9 years ago[MSBuild] Make sure assembly references with extensions are located correctly
Andreia Gaita [Sat, 25 Aug 2012 11:21:24 +0000 (13:21 +0200)]
[MSBuild] Make sure assembly references with extensions are located correctly

9 years agoUpdate badge URL in README.md.
Alex Rønne Petersen [Thu, 21 Aug 2014 16:30:17 +0000 (18:30 +0200)]
Update badge URL in README.md.

9 years agoFix a warning in mono-conc-hashtable.
Alex Rønne Petersen [Thu, 21 Aug 2014 16:22:49 +0000 (18:22 +0200)]
Fix a warning in mono-conc-hashtable.

9 years agoRemove unused/undefined function.
Alex Rønne Petersen [Thu, 21 Aug 2014 12:59:52 +0000 (14:59 +0200)]
Remove unused/undefined function.

9 years agoMerge pull request #1221 from LogosBible/uri-compare
Marek Safar [Thu, 21 Aug 2014 13:51:12 +0000 (15:51 +0200)]
Merge pull request #1221 from LogosBible/uri-compare

Fix NullReferenceException in Uri.Compare when only one of the Uris is null

9 years agoMerge pull request #1172 from roji/datarow_null
Alex Rønne Petersen [Thu, 21 Aug 2014 12:59:28 +0000 (14:59 +0200)]
Merge pull request #1172 from roji/datarow_null

Fix DataRow error management

9 years agoFix NullReferenceException in Uri.Compare when only one of the Uris is null
Martin Potter [Thu, 21 Aug 2014 12:52:38 +0000 (05:52 -0700)]
Fix NullReferenceException in Uri.Compare when only one of the Uris is null