mono.git
11 years ago[sgen] More information in describe_ptr(), and unify with describe_pointer().
Mark Probst [Fri, 11 Jan 2013 00:30:08 +0000 (01:30 +0100)]
[sgen] More information in describe_ptr(), and unify with describe_pointer().

11 years ago[sgen] Binary protocol entry for card scanning.
Mark Probst [Fri, 11 Jan 2013 00:20:53 +0000 (01:20 +0100)]
[sgen] Binary protocol entry for card scanning.

11 years ago[msbuild] Fix import set to expected path when invalid imports are allowed.
Atsushi Eno [Fri, 11 Jan 2013 11:43:53 +0000 (20:43 +0900)]
[msbuild] Fix import set to expected path when invalid imports are allowed.

It was failing to resolve <Import> to correct path because it allowed
invalid imports too early in Import.ForEachExtensionPathTillFound().

It is due to Project.AddSingleImport() that checks if invalid imports
can be ignored by load setting. But simply removing this check results
in regressions in nunit tests that fails to report required invalid imports.

This bug was one of the blockers to build fsharp-droid from xbuild:
https://github.com/fahadsuhaib/fsharp-droid

11 years agoApplied patch from Tal Aloni <tal.aloni.il@gmail.com>. Fix building with VS2010.
Zoltan Varga [Fri, 11 Jan 2013 10:50:26 +0000 (11:50 +0100)]
Applied patch from Tal Aloni <tal.aloni.il@gmail.com>. Fix building with VS2010.

11 years agoAllow array fields with marshal descriptions in can_marshal_struct (), so PtrToStruct...
Zoltan Varga [Fri, 11 Jan 2013 10:06:37 +0000 (11:06 +0100)]
Allow array fields with marshal descriptions in can_marshal_struct (), so PtrToStructure/StructureToPtr wrappers are generated for them when using full-aot. Fixes #9408.

11 years agoMOBILE now builds with 4.0 enabled but its version remains 2.0.5.0.
Rodrigo Kumpera [Thu, 10 Jan 2013 23:11:30 +0000 (18:11 -0500)]
MOBILE now builds with 4.0 enabled but its version remains 2.0.5.0.

* Consts.cs.in: We must check for mobile before 4.0 to make sure
we don't end up with a 4.0.0.0 mobile BCL.

11 years agoMerge pull request #517 from getsometoast/master
Rodrigo Kumpera [Thu, 10 Jan 2013 17:28:22 +0000 (09:28 -0800)]
Merge pull request #517 from getsometoast/master

[System.Data.SqlClient] Support for "Connection Lifetime" parameter

11 years ago[corlib] Handle overflow correctly in Timer to avoid spinning. Fixes #8782
Rodrigo Kumpera [Wed, 9 Jan 2013 21:27:00 +0000 (16:27 -0500)]
[corlib] Handle overflow correctly in Timer to avoid spinning. Fixes #8782

* Timer.cs: Very long timers can lead to timeout values that are
bigger than Int32.MaxValue, leading to a negative value and us
spinning.

11 years ago[bcl] Add 4.0 and 4.5 defines to monodroid's bcl.
Rodrigo Kumpera [Wed, 9 Jan 2013 20:26:06 +0000 (15:26 -0500)]
[bcl] Add 4.0 and 4.5 defines to monodroid's bcl.

11 years ago[bcl] Build System.Data.Services.Client monodroid profile in the same way we do the...
Rodrigo Kumpera [Wed, 9 Jan 2013 20:25:25 +0000 (15:25 -0500)]
[bcl] Build System.Data.Services.Client monodroid profile in the same way we do the monotouch one.

11 years ago[profiler]Explicitly include <sys/syscall.h> when using perf on linux.
Rodrigo Kumpera [Wed, 9 Jan 2013 20:23:27 +0000 (15:23 -0500)]
[profiler]Explicitly include <sys/syscall.h> when using perf on linux.

* proflog.c: We include it to fix mobile builds as the definition was missing otherwise.

11 years agoBump mono to 3.0.4
Duncan Mak [Tue, 8 Jan 2013 20:35:20 +0000 (15:35 -0500)]
Bump mono to 3.0.4

11 years agoLockFile() should error with ERROR_INVALID_PARAMETER on overflow
Jonathan Pryor [Wed, 9 Jan 2013 16:59:09 +0000 (11:59 -0500)]
LockFile() should error with ERROR_INVALID_PARAMETER on overflow

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

What was happening was that this code:

var file = new FileStream (...);
file.Lock (0, long.MaxValue);

was failing on Android (a non-large file platform):

System.IO.IOException: Lock violation on path...

The fact that it errored is correct. The problem is that the error
isn't particularly helpful and is misleading; WHY is there a lock
violation? There isn't a lock violation; the parameters are
invalid.

Why are the parameters invalid? Because `long.MaxValue` was used as
the `length`, which resulted in an `off_t` value of -1 [0] for the
file lock length, which fcntl(2) (rightfully!) errored on.

Update _wapi_lock_file_region()/LockFile() to check for negative
values and set ERROR_INVALID_PARAMETER when invalid values are used.
This will cause an "IOException: Invalid parameter" message, instead
of an "IOException: Lock violation on path" message, which is
considerably more useful.

Related: we noticed that the generation of `offset` and `length` in
LockFile()'s !HAVE_LARGE_FILE_SUPPORT region are incorrect, e.g. this
is broken:

length = length_low;

Assume a `file.Lock(0, 0x100000000L)` invocation. After splitting,
offset_high will be 0x1 and offset_low will be 0x0, so length is 0x0,
which is not semantically correct (it's not at all what the developer
requested!), yet it would result in a successful fcntl(2) call
(because length_high is ignored).

Add an explicit check for length_high and offset_high when
HAVE_LARGE_FILE_SUPPORT isn't set and error out if they're > 0, which
will catch this case.

[0]: fcntl(2) uses off_t for file offset and file lock length,
and off_t is a signed type:

http://www.unix.org/version2/whatsnew/lfs.html#2.2.2.6
> The types blkcnt_t and off_t are defined as extended signed integral types.

11 years agoFix bug 9193 - XmlSerialization not properly deserializing a List
Lluis Sanchez [Wed, 9 Jan 2013 12:54:47 +0000 (13:54 +0100)]
Fix bug 9193 - XmlSerialization not properly deserializing a List

11 years agoAdd some unit tests for bug 9193
Lluis Sanchez [Wed, 9 Jan 2013 11:21:34 +0000 (12:21 +0100)]
Add some unit tests for bug 9193

11 years agoupdate rx (now includes mobile test solutions that should build).
Atsushi Eno [Wed, 9 Jan 2013 12:31:05 +0000 (21:31 +0900)]
update rx (now includes mobile test solutions that should build).

11 years agoFix the check for autoheader in eglib/autogen.sh and libgc/autogen.sh too.
Zoltan Varga [Wed, 9 Jan 2013 12:16:42 +0000 (13:16 +0100)]
Fix the check for autoheader in eglib/autogen.sh and libgc/autogen.sh too.

11 years agoAvoid an assert if seq points are not found for a method in compute_frame_info ().
Zoltan Varga [Wed, 9 Jan 2013 12:07:18 +0000 (13:07 +0100)]
Avoid an assert if seq points are not found for a method in compute_frame_info ().

11 years agoFix the check for autoheader in autogen.sh.
Zoltan Varga [Wed, 9 Jan 2013 10:34:41 +0000 (11:34 +0100)]
Fix the check for autoheader in autogen.sh.

11 years agoRemove automake macros obsoleted by automake 1.13. Fixes #9324.
Zoltan Varga [Tue, 8 Jan 2013 22:29:31 +0000 (23:29 +0100)]
Remove automake macros obsoleted by automake 1.13. Fixes #9324.

11 years agoRemove NET_2_1 default (broken) context
Marek Safar [Tue, 8 Jan 2013 16:27:19 +0000 (17:27 +0100)]
Remove NET_2_1 default (broken) context

11 years agoGuid value fix
Marek Safar [Tue, 8 Jan 2013 09:22:40 +0000 (10:22 +0100)]
Guid value fix

11 years agoRun On*Completed events on original context
Marek Safar [Tue, 8 Jan 2013 09:22:17 +0000 (10:22 +0100)]
Run On*Completed events on original context

11 years agoAccept Version == 0 as valid (just like 1) when verifying a counter signature. Fix...
Sebastien Pouliot [Mon, 7 Jan 2013 16:48:32 +0000 (11:48 -0500)]
Accept Version == 0 as valid (just like 1) when verifying a counter signature. Fix bug #8401

11 years agoUse a separate field for avoiding recursion in setup_fields () instead of size_inited...
Zoltan Varga [Mon, 7 Jan 2013 08:25:25 +0000 (09:25 +0100)]
Use a separate field for avoiding recursion in setup_fields () instead of size_inited, since size_inited is used by mono_class_instance_size () to check whenever instance_size was inited, leading to races. Fixes #8905.

11 years agoAdd several tests to cover CFB mode. Some are currently disabled (CFB >8 or PaddingMo...
Sebastien Pouliot [Mon, 7 Jan 2013 01:07:31 +0000 (20:07 -0500)]
Add several tests to cover CFB mode. Some are currently disabled (CFB >8 or PaddingMode != None/Zeros) for RijndaelManaged

11 years agoFix several, but not all, cases where CFB does not work with Rijndael and AES. ref...
Sebastien Pouliot [Mon, 7 Jan 2013 01:05:48 +0000 (20:05 -0500)]
Fix several, but not all, cases where CFB does not work with Rijndael and AES. ref: bug #9247

11 years agoAes.Create returns, by default, an instance of AesCryptoServiceProvider, not AesManag...
Sebastien Pouliot [Fri, 4 Jan 2013 20:20:39 +0000 (15:20 -0500)]
Aes.Create returns, by default, an instance of AesCryptoServiceProvider, not AesManaged (more important now than before wrt CFB support)

11 years agoFix CFB for AesCryptoServiceProvider (only CFB8 worked, 16-64 did not) and move the...
Sebastien Pouliot [Fri, 4 Jan 2013 20:19:18 +0000 (15:19 -0500)]
Fix CFB for AesCryptoServiceProvider (only CFB8 worked, 16-64 did not) and move the different CFB implementation to Rijndael's transform (since it's the only implementation 'working' this way.

11 years agoRevert "Fix CFB mode for Rijndael when data is not a multiple of block size"
Sebastien Pouliot [Fri, 4 Jan 2013 14:29:51 +0000 (09:29 -0500)]
Revert "Fix CFB mode for Rijndael when data is not a multiple of block size"

This reverts commit e094d3dc0cf186f1de32d5340d847dc18aeca0e2.

11 years agoRemove NotWorking from some tests (that works now)
Sebastien Pouliot [Thu, 3 Jan 2013 21:00:04 +0000 (16:00 -0500)]
Remove NotWorking from some tests (that works now)

11 years agoSymmetricAlgorithm.FeedbackSize must be a multiple of 8 (bits)
Sebastien Pouliot [Thu, 3 Jan 2013 20:59:11 +0000 (15:59 -0500)]
SymmetricAlgorithm.FeedbackSize must be a multiple of 8 (bits)

11 years ago[sgen] Pass the reference, not just its location, to sgen_add_to_global_remset().
Mark Probst [Sun, 6 Jan 2013 15:35:31 +0000 (16:35 +0100)]
[sgen] Pass the reference, not just its location, to sgen_add_to_global_remset().

We need this for cementing.

11 years agoUpdate after array interfaces change
Marek Safar [Sat, 5 Jan 2013 16:57:39 +0000 (17:57 +0100)]
Update after array interfaces change

11 years agoIgnore more mt tests
Marek Safar [Sat, 5 Jan 2013 09:40:38 +0000 (10:40 +0100)]
Ignore more mt tests

11 years agoFix version number in 2.0 profile
Marek Safar [Sat, 5 Jan 2013 09:39:39 +0000 (10:39 +0100)]
Fix version number in 2.0 profile

11 years agoDon't swallow the loader error if a field type cannot be loaded. Fixes #8903.
Zoltan Varga [Sat, 5 Jan 2013 09:36:25 +0000 (10:36 +0100)]
Don't swallow the loader error if a field type cannot be loaded. Fixes #8903.

11 years agoFix the previous change.
Zoltan Varga [Sat, 5 Jan 2013 06:42:01 +0000 (07:42 +0100)]
Fix the previous change.

11 years agoFix support for large offsets in the OP_CALL_MEMBASE opcodes on arm. Fixes #9087.
Zoltan Varga [Sat, 5 Jan 2013 06:00:52 +0000 (07:00 +0100)]
Fix support for large offsets in the OP_CALL_MEMBASE opcodes on arm. Fixes #9087.

11 years agoMake arrays implement IReadOnlyList<T> and IReadOnlyCollection<T> in net 4.5. Bump...
Zoltan Varga [Sat, 5 Jan 2013 01:36:21 +0000 (02:36 +0100)]
Make arrays implement IReadOnlyList<T> and IReadOnlyCollection<T> in net 4.5. Bump corlib version. Fixes #8934.

11 years ago[bcl] Add System.Net.Http to the mobile build.
Rodrigo Kumpera [Fri, 4 Jan 2013 23:41:56 +0000 (18:41 -0500)]
[bcl] Add System.Net.Http to the mobile build.

* AssemblyInfo.cs: System.Net.Http.dll needs internal visibility into System.dll so
grant it on all targets but dying silverlight.

11 years ago[runtime]When loading a signature fails with a loader error, properly convert it...
Rodrigo Kumpera [Fri, 4 Jan 2013 22:26:00 +0000 (17:26 -0500)]
[runtime]When loading a signature fails with a loader error, properly convert it to a MonoError.

11 years ago[runtime] Add a function that properly convert a loader error into a MonoError.
Rodrigo Kumpera [Fri, 4 Jan 2013 22:23:01 +0000 (17:23 -0500)]
[runtime] Add a function that properly convert a loader error into a MonoError.

mono-error.c: Add mono_error_set_from_loader_error to consume a loader error
and fill in the supplied MonoError. This both simplifies and enriches all conversions
we do due around the runtime.

11 years agoUpdate test names
Marek Safar [Fri, 4 Jan 2013 18:31:42 +0000 (19:31 +0100)]
Update test names

11 years agoDon't crash on C# invalid DefaultParameterValue
Marek Safar [Fri, 4 Jan 2013 17:36:33 +0000 (18:36 +0100)]
Don't crash on C# invalid DefaultParameterValue

11 years agoRemove duplicate method
Marek Safar [Fri, 4 Jan 2013 15:02:43 +0000 (16:02 +0100)]
Remove duplicate method

11 years agoAdd new test
Marek Safar [Fri, 4 Jan 2013 14:44:05 +0000 (15:44 +0100)]
Add new test

11 years agoFix default parameters of nested generic types.
Marek Safar [Fri, 4 Jan 2013 14:43:13 +0000 (15:43 +0100)]
Fix default parameters of nested generic types.

11 years agoAdd missing check for conditional attributes. Fixes #9225
Marek Safar [Fri, 4 Jan 2013 14:36:26 +0000 (15:36 +0100)]
Add missing check for conditional attributes. Fixes #9225

11 years agoUse more of GetValueOrDefault
Marek Safar [Fri, 4 Jan 2013 14:30:13 +0000 (15:30 +0100)]
Use more of GetValueOrDefault

11 years agoAdd API to get more data from a managed exception's stack trace.
Rolf Bjarne Kvinge [Thu, 3 Jan 2013 16:04:58 +0000 (17:04 +0100)]
Add API to get more data from a managed exception's stack trace.

This is used by crash reporting to report the stack trace of the exception
when the exception was thrown (for unhandled exceptions), instead of the
stack trace when the unhandled exception hook is called (which may be
different because finally clauses may have executed altering the intial
stack state).

11 years ago[mkbundle] Remove broken win32 code.
Rolf Bjarne Kvinge [Thu, 3 Jan 2013 21:58:20 +0000 (22:58 +0100)]
[mkbundle] Remove broken win32 code.

11 years agoAutoconf incorrectly detects strndup getpwuid_r on iOS. Avoid that at configure time.
Rodrigo Kumpera [Thu, 3 Jan 2013 21:14:13 +0000 (16:14 -0500)]
Autoconf incorrectly detects strndup getpwuid_r on iOS. Avoid that at configure time.

11 years agoAdd iOS/OSX detection to eglib.
Rodrigo Kumpera [Thu, 3 Jan 2013 21:10:01 +0000 (16:10 -0500)]
Add iOS/OSX detection to eglib.

11 years agoAes[Managed|CryptoServiceProvider] have a few more differences with RjindaelManaged...
Sebastien Pouliot [Thu, 3 Jan 2013 20:12:05 +0000 (15:12 -0500)]
Aes[Managed|CryptoServiceProvider] have a few more differences with RjindaelManaged. Narrow that gap a bit.

11 years agoAdd a missing quote to autogen.sh
Zoltan Varga [Thu, 3 Jan 2013 18:14:54 +0000 (19:14 +0100)]
Add a missing quote to autogen.sh

11 years agoFix OP_LCONV_TO_R_UN_2 on x86+aot. Fixes #9186.
Zoltan Varga [Thu, 3 Jan 2013 17:53:29 +0000 (18:53 +0100)]
Fix OP_LCONV_TO_R_UN_2 on x86+aot. Fixes #9186.

11 years agoDuplicate less mscorlib code in System.Core
Marek Safar [Thu, 3 Jan 2013 17:39:22 +0000 (18:39 +0100)]
Duplicate less mscorlib code in System.Core

11 years agoBump ikvm
Marek Safar [Thu, 3 Jan 2013 16:35:04 +0000 (17:35 +0100)]
Bump ikvm

11 years agoGenerate better stack trace for exception from async context
Marek Safar [Thu, 3 Jan 2013 16:14:59 +0000 (17:14 +0100)]
Generate better stack trace for exception from async context

11 years agoIgnore empty stack frames when printing stack trace from previous location
Marek Safar [Thu, 3 Jan 2013 15:47:06 +0000 (16:47 +0100)]
Ignore empty stack frames when printing stack trace from previous location

11 years agoRun async continuation without allocating temporary hoisting classes.
Marek Safar [Thu, 3 Jan 2013 13:59:52 +0000 (14:59 +0100)]
Run async continuation without allocating temporary hoisting classes.

11 years agoRemove unused class
Marek Safar [Thu, 3 Jan 2013 09:51:35 +0000 (10:51 +0100)]
Remove unused class

11 years agoimplement some SettingValueElement members to suppress nunit test regressions.
Atsushi Eno [Thu, 3 Jan 2013 17:14:22 +0000 (02:14 +0900)]
implement some SettingValueElement members to suppress nunit test regressions.

11 years ago[Microsoft.Build.Tasks] Fix a regression when replacing readonly files
Alan McGovern [Thu, 3 Jan 2013 16:27:39 +0000 (16:27 +0000)]
[Microsoft.Build.Tasks] Fix a regression when replacing readonly files

We should not delete the destination file if it is readonly as that would
mean all readonly files would be treated as if they were not readonly.

Fixes a failing test.

11 years agoFix build.
Mark Probst [Thu, 3 Jan 2013 15:37:12 +0000 (16:37 +0100)]
Fix build.

Hopefully.

11 years ago[sgen] Don't force synchronous collection unless requested by the user.
Mark Probst [Mon, 31 Dec 2012 19:15:14 +0000 (20:15 +0100)]
[sgen] Don't force synchronous collection unless requested by the user.

11 years ago[boehm] DTrace probes for Boehm.
Mark Probst [Mon, 31 Dec 2012 19:12:47 +0000 (20:12 +0100)]
[boehm] DTrace probes for Boehm.

11 years ago[sgen] More dtrace probes.
Mark Probst [Tue, 11 Dec 2012 13:58:08 +0000 (14:58 +0100)]
[sgen] More dtrace probes.

11 years ago[sgen] Give a warning when precise stack mark is requested but not supported.
Mark Probst [Tue, 11 Dec 2012 13:57:11 +0000 (14:57 +0100)]
[sgen] Give a warning when precise stack mark is requested but not supported.

11 years agoAvoid creating unbox wrappers in mono_delegate_ctor_with_method (), it is done later...
Zoltan Varga [Thu, 3 Jan 2013 05:57:08 +0000 (06:57 +0100)]
Avoid creating unbox wrappers in mono_delegate_ctor_with_method (), it is done later by the JIT in mono_delegate_trampoline ().

11 years agoFix support for AOT modules with more than 240 assembly dependencies. Fixes #9118.
Zoltan Varga [Thu, 3 Jan 2013 04:47:10 +0000 (05:47 +0100)]
Fix support for AOT modules with more than 240 assembly dependencies. Fixes #9118.

11 years agoMetadata's Makefile.am.in can now be patched by the extension module as well.
Rodrigo Kumpera [Wed, 2 Jan 2013 22:34:08 +0000 (17:34 -0500)]
Metadata's Makefile.am.in can now be patched by the extension module as well.

11 years ago[sgen] Pass value of reference to major mark function, too.
Mark Probst [Wed, 2 Jan 2013 21:20:13 +0000 (22:20 +0100)]
[sgen] Pass value of reference to major mark function, too.

The major mark function assumes that the reference to process
 is not NULL.  Its caller checks that it isn't, but the mark function loads
the reference again.  In the concurrent case this is a bug, because
the mutator might have changed the reference between the loads.

11 years agoUpdate compiler tests
Marek Safar [Wed, 2 Jan 2013 16:39:15 +0000 (17:39 +0100)]
Update compiler tests

11 years agoAdd missing ConfigureAwait
Marek Safar [Wed, 2 Jan 2013 16:17:10 +0000 (17:17 +0100)]
Add missing ConfigureAwait

11 years agoAdd argument name to ArgumentOutOfRangeException
Marek Safar [Fri, 21 Dec 2012 10:47:53 +0000 (11:47 +0100)]
Add argument name to ArgumentOutOfRangeException

11 years ago[Microsoft.Build.Tasks] Delete files before copying the new one over
Alan McGovern [Wed, 2 Jan 2013 16:17:32 +0000 (16:17 +0000)]
[Microsoft.Build.Tasks] Delete files before copying the new one over

Handle the case where a process has mmap'ed one of the binaries which
we are trying to copy over. In this scenario we must delete the file
first otherwise we will 'corrupt' the data in memory.

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

11 years agoAvoid an assert which is hit when a 3.0 runtime loads a 2.10 corlib. Fixes #9137.
Zoltan Varga [Wed, 2 Jan 2013 13:52:41 +0000 (14:52 +0100)]
Avoid an assert which is hit when a 3.0 runtime loads a 2.10 corlib. Fixes #9137.

11 years ago[sgen] Don't just allow concurrent collections on nursery collections.
Mark Probst [Fri, 14 Dec 2012 13:23:01 +0000 (14:23 +0100)]
[sgen] Don't just allow concurrent collections on nursery collections.

Some workloads allocate mainly large objects, so if we just trigger
major collections on nursery collections we never actually collect.

11 years ago[System.Configuration]: Fix IsModified() logic for complex elements.
Martin Baulig [Sat, 29 Dec 2012 00:22:33 +0000 (01:22 +0100)]
[System.Configuration]: Fix IsModified() logic for complex elements.

11 years agoMerge pull request #527 from Daniel15/bug-9133
Marek Safar [Wed, 26 Dec 2012 09:43:27 +0000 (01:43 -0800)]
Merge pull request #527 from Daniel15/bug-9133

Fix Xamarin bug #9133 - Routes should be case insensitive

11 years agoFix Xamarin bug #9133 - Routes should be case insensitive.
Daniel Lo Nigro [Wed, 26 Dec 2012 02:24:26 +0000 (13:24 +1100)]
Fix Xamarin bug #9133 - Routes should be case insensitive.

11 years agoExclude LogicalCallContext as the required remoting infrastucture not available on...
Sebastien Pouliot [Sun, 23 Dec 2012 17:45:27 +0000 (12:45 -0500)]
Exclude LogicalCallContext as the required remoting infrastucture not available on MonoTouch

11 years agoMerge pull request #526 from Daniel15/bug-9116
Marek Safar [Sun, 23 Dec 2012 08:49:03 +0000 (00:49 -0800)]
Merge pull request #526 from Daniel15/bug-9116

Fix Xamarin bug #9116

11 years agoFix bug 9116 (https://bugzilla.xamarin.com/show_bug.cgi?id=9116)
Daniel Lo Nigro [Sun, 23 Dec 2012 05:20:40 +0000 (16:20 +1100)]
Fix bug 9116 (https://bugzilla.xamarin.com/show_bug.cgi?id=9116)

Need to use .Equals() for comparison instead of the "!=" operator, as != will do a reference comparison in the case of boxed value types.

11 years agoupdate rx revision (only in our own branch, mostly for mobile changes).
Atsushi Eno [Sat, 22 Dec 2012 13:02:59 +0000 (22:02 +0900)]
update rx revision (only in our own branch, mostly for mobile changes).

11 years agoKeep objects returned by sdb alive during suspensions to avoid ObjectCollectedExcepti...
Zoltan Varga [Sat, 22 Dec 2012 04:31:33 +0000 (05:31 +0100)]
Keep objects returned by sdb alive during suspensions to avoid ObjectCollectedExceptions during debugging. Fixes #1446, #2246 and #6918.

11 years ago[WCF]: Fix MessageEncoder.IsContentTypeSupported().
Martin Baulig [Sat, 22 Dec 2012 04:12:31 +0000 (05:12 +0100)]
[WCF]: Fix MessageEncoder.IsContentTypeSupported().

Use the internal 'Channels.ContentType' class to parse the
content type, make then comparision case-insensitive and ignore
missing parameters.

11 years ago[corlib] Fix ASCIIEncoding with custom DecoderFallback.
Martin Baulig [Sat, 22 Dec 2012 03:12:02 +0000 (04:12 +0100)]
[corlib] Fix ASCIIEncoding with custom DecoderFallback.

Only pass one single byte to DecoderFallback.Fallback(),
throw if there's not enough space in the char array.

11 years agoAdd MONO_WRAPPER_UNBOX to mono_marshal_method_from_wrapper.
Rodrigo Kumpera [Fri, 21 Dec 2012 23:44:56 +0000 (18:44 -0500)]
Add MONO_WRAPPER_UNBOX to mono_marshal_method_from_wrapper.

11 years agoFix support for delegates+unbox trampolines in full-aot mode.
Zoltan Varga [Fri, 21 Dec 2012 22:04:56 +0000 (23:04 +0100)]
Fix support for delegates+unbox trampolines in full-aot mode.

11 years ago[monodoc] More forgotten dist files
Jérémie Laval [Fri, 21 Dec 2012 15:12:15 +0000 (16:12 +0100)]
[monodoc] More forgotten dist files

11 years agoMerge pull request #525 from Arakis/patch-1
Marek Safar [Fri, 21 Dec 2012 13:47:57 +0000 (05:47 -0800)]
Merge pull request #525 from Arakis/patch-1

Update mcs/class/System/System.Media/AudioData.cs

11 years agoUpdate mcs/class/System/System.Media/AudioData.cs
Sebastian Loncar [Fri, 21 Dec 2012 10:58:30 +0000 (11:58 +0100)]
Update mcs/class/System/System.Media/AudioData.cs

Since this line is commented out:
int block_align = buffer [idx++] | (buffer [idx++] << 8);
you will ran into a "bits per sample" exception.
Adding the two increpements (idx+=2) will solve it.

11 years ago[monodoc] Fix test directory
Jérémie Laval [Fri, 21 Dec 2012 10:29:54 +0000 (11:29 +0100)]
[monodoc] Fix test directory

11 years ago[System.Configuration]: SaveMode and UserLevel.
Martin Baulig [Fri, 21 Dec 2012 09:05:00 +0000 (10:05 +0100)]
[System.Configuration]: SaveMode and UserLevel.

* Configuration.Save() and SaveAs() now honors the
  `ConfigurationSaveMode' argument.

* Check whether the file has been modified prior to saving.

* Fix ConfigurationUserLevel inheritance.

* Implement ConfigurationElement.IsModified().

* New ConfigurationSaveTest.cs test:

  - load a custom section using different parent configuration
    files using ExeConfigurationFileMap and different
    ConfigurationUserLevel values.

  - save configuration using different ConfigurationSaveMode
    arguments and different inherited parent configurations.

* ExeConfigurationFileMapTest.cs: Add error checks for missing
  required filenames.

* New TestUtil.cs helper class:

  - RunWithTempFile() and RunWithTempFiles() helper functions.
  - DotNetVersion, ThisDllName and ThisConfigFileName properties,
    moving all the #ifdef's into one central place.

11 years agoAdd missing .gitignore.
Martin Baulig [Fri, 21 Dec 2012 07:15:35 +0000 (08:15 +0100)]
Add missing .gitignore.

11 years agoAdd the now auto-generated Makefile.am to .gitignore.
Martin Baulig [Fri, 21 Dec 2012 05:30:55 +0000 (06:30 +0100)]
Add the now auto-generated Makefile.am to .gitignore.

11 years ago[monodoc] Add EcmaUrlParser.jay to EXTRA_DIST
Jérémie Laval [Thu, 20 Dec 2012 23:36:39 +0000 (00:36 +0100)]
[monodoc] Add EcmaUrlParser.jay to EXTRA_DIST