mono.git
11 years agodo not check order sequence if option /order was not used
Nicolas Raoul [Tue, 6 Nov 2012 01:34:15 +0000 (10:34 +0900)]
do not check order sequence if option /order was not used

11 years agoMerge remote-tracking branch 'upstream/master' into fix-for-issue2907-with-no-formatt...
Nicolas Raoul [Tue, 6 Nov 2012 01:12:27 +0000 (10:12 +0900)]
Merge remote-tracking branch 'upstream/master' into fix-for-issue2907-with-no-formatting-changes

11 years agoRemove SRE.UnmanagedMarshal dependency from System.Reflection.
Rodrigo Kumpera [Mon, 5 Nov 2012 19:13:57 +0000 (14:13 -0500)]
Remove SRE.UnmanagedMarshal dependency from System.Reflection.

* FieldInfo.cs:
* MonoMethod.cs:
* ParameterInfo.cs: Remove silly dep on UnmanagedMarshal to use
MarshalAsAttribute which is what we need in the end.

* icall.c:
* reflection.c: Use the custom attribute type instead of the SRE
one. This allows FULL_AOT_RUNTIME to work with stuff that uses
MarshalAs.

11 years agoRemove FieldInfo::UMarshal, which is dead code.
Rodrigo Kumpera [Mon, 5 Nov 2012 19:08:07 +0000 (14:08 -0500)]
Remove FieldInfo::UMarshal, which is dead code.

11 years agoExpose MarshalAsAttribute to the runtime.
Rodrigo Kumpera [Mon, 5 Nov 2012 19:02:58 +0000 (14:02 -0500)]
Expose MarshalAsAttribute to the runtime.

11 years agoMerge pull request #488 from roji/email_attachment_fixes
Jeffrey Stedfast [Mon, 5 Nov 2012 13:54:11 +0000 (05:54 -0800)]
Merge pull request #488 from roji/email_attachment_fixes

Fixed missing Content-Id email headers

11 years agoMerge pull request #497 from Shabbafru/ImageListPatches
Marek Safar [Mon, 5 Nov 2012 09:39:29 +0000 (01:39 -0800)]
Merge pull request #497 from Shabbafru/ImageListPatches

Fixed clearing of the ImageList

11 years agoFix JavaScriptSerializer.Deserialize() for dictionary of array of anonymously typed...
Atsushi Eno [Mon, 5 Nov 2012 09:22:29 +0000 (18:22 +0900)]
Fix JavaScriptSerializer.Deserialize() for dictionary of array of anonymously typed dictionary.

context: https://twitter.com/muo_jp/status/265373491224801280

11 years agofixed clearing of the ImageList
Shabbafru [Mon, 5 Nov 2012 08:35:28 +0000 (09:35 +0100)]
fixed clearing of the ImageList

11 years agoRemoved debugging prints that slipped through
Shay Rojansky [Mon, 5 Nov 2012 01:36:23 +0000 (03:36 +0200)]
Removed debugging prints that slipped through

11 years agoAllow setting a custom Profile without using reflection
Sebastien Pouliot [Fri, 2 Nov 2012 21:15:02 +0000 (17:15 -0400)]
Allow setting a custom Profile without using reflection

11 years agoMerge pull request #492 from pruiz/systx-fixes
Marek Safar [Fri, 2 Nov 2012 09:12:41 +0000 (02:12 -0700)]
Merge pull request #492 from pruiz/systx-fixes

Sys.Tx: Avoid uncatched exceptions during Prepare phase, which might crash the whole application.

11 years agoFix for issue 2907. I took Roman Zavalov's patch at https://bugzilla.xamarin.com...
Nicolas Raoul [Fri, 2 Nov 2012 07:26:47 +0000 (16:26 +0900)]
Fix for issue 2907. I took Roman Zavalov's patch at https://bugzilla.xamarin.com/show_bug.cgi?id=2907#c10 and reverted the numerous formatting changes that were obscuring the real changes, hopefully making the diff clearer

11 years agoRevert "Merge pull request #464 from gregoryyoung/master"
Rodrigo Kumpera [Thu, 1 Nov 2012 21:43:25 +0000 (17:43 -0400)]
Revert "Merge pull request #464 from gregoryyoung/master"

This commit causes deadlock in the tpool backend in the following way:

thread 1:
socket_io_add locks io_lock
tp_poll_modify waits on new_sem

thread 2:
tp_poll_wait tries to lock io_lock

tp_poll_wait is the responsible to post to new_sem, which it can't do since it's
blocked on io_lock, held by a thread waiting on new_sem.

This reverts commit 11286da0ac2e2bab7b2d8ab04b9f6a4da4e12131, reversing
changes made to 94bfdf21e6f06424ad96980a27c35c99ba42b1d3.

11 years agoWhen inflating a (M)VAR make sure we're not using a broken type.
Rodrigo Kumpera [Thu, 1 Nov 2012 20:23:50 +0000 (16:23 -0400)]
When inflating a (M)VAR make sure we're not using a broken type.

*class.c (inflate_generic_type): When inflating (M)VAR we must
check if the replaced type is not void or typedbyref as both can
later lead to all sorts of nasty crashes or memory corruption.

11 years ago[sgen] MONO_GC_DEBUG option for disabling the managed allocator.
Mark Probst [Thu, 1 Nov 2012 19:13:11 +0000 (20:13 +0100)]
[sgen] MONO_GC_DEBUG option for disabling the managed allocator.

This can be used to make all object allocations show up in the dtrace probe.

11 years ago[mdoc] Update XSD @id, @tool for docs team.
Jonathan Pryor [Thu, 1 Nov 2012 17:59:30 +0000 (13:59 -0400)]
[mdoc] Update XSD @id, @tool for docs team.

Xamarin docs team has requested the following changes to make life
easier and increase tooling support:

//para/@id:
Similar in concept/purpose to the HTML @id attribute.
//para/@tool:
Contains the name of a tool which generated the <para/>.
//exception/list:
Allow lists within <exception/> blocks.

11 years agoMerge pull request #490 from knocte/master
Marek Safar [Thu, 1 Nov 2012 17:27:28 +0000 (10:27 -0700)]
Merge pull request #490 from knocte/master

[System.Configuration] IntegerValidator's maxValue was 0 even if not used

11 years agoDisable LLVM+AOT for methods with clauses on ARM, because some tests still fail.
Zoltan Varga [Thu, 1 Nov 2012 17:12:25 +0000 (18:12 +0100)]
Disable LLVM+AOT for methods with clauses on ARM, because some tests still fail.

11 years agoImplement SqlConnection.DbProviderFactory. Fixes #7936
Marek Safar [Thu, 1 Nov 2012 16:54:29 +0000 (17:54 +0100)]
Implement SqlConnection.DbProviderFactory. Fixes #7936

11 years agoMerge pull request #491 from mono/fix_keyvaluepair
Alex Rønne Petersen [Thu, 1 Nov 2012 16:09:21 +0000 (09:09 -0700)]
Merge pull request #491 from mono/fix_keyvaluepair

[corlib] Remove the DebuggerDisplay attribute from KeyValuePair

11 years ago[corlib] Remove the DebuggerDisplay attribute from KeyValuePair and DictionaryEntry
Alan McGovern [Thu, 1 Nov 2012 15:47:18 +0000 (15:47 +0000)]
[corlib] Remove the DebuggerDisplay attribute from KeyValuePair and DictionaryEntry

This attribute gives us a horrible debugging experience when the
'Value' of the KeyValuePair is null. By using this attribute, the
user is told that the KeyValuePair itself is null when they inspect
something like 'new KeyValuePair<string, string> (null, null)'.
This is very confusing.

We should just let the ToString method be invoked, which returns a
nicely formatted string. This is also the behaviour observed when
debugging using Visual Studio.

11 years agoAvoid throwing exceptions from WeakReference.IsAlive after finalization when the...
Zoltan Varga [Thu, 1 Nov 2012 15:15:41 +0000 (16:15 +0100)]
Avoid throwing exceptions from WeakReference.IsAlive after finalization when the underlying GCHandle is already finalized. Fixes #8072.

11 years agoProperly inflate arrays of generic parameters in resolve_object (). Fixes #7964.
Zoltan Varga [Thu, 1 Nov 2012 14:41:20 +0000 (15:41 +0100)]
Properly inflate arrays of generic parameters in resolve_object (). Fixes #7964.

11 years agoMake the AOT statistic output more dense.
Zoltan Varga [Thu, 1 Nov 2012 04:29:24 +0000 (05:29 +0100)]
Make the AOT statistic output more dense.

11 years ago[System.Configuration] IntegerValidator's maxValue was 0 even if not used
Andres G. Aragoneses [Wed, 31 Oct 2012 23:33:20 +0000 (23:33 +0000)]
[System.Configuration] IntegerValidator's maxValue was 0 even if not used

When using IntegerValidator, if only MinValue is used, max value should
not be set by default to 0. Fix and unit tests included.

This fixes BNC#654721 (https://bugzilla.novell.com/show_bug.cgi?id=654721)
and therefore allows Enyim.Memcached to be used with Mono.

11 years agoMake gc maps optional and disabled by default for AOT.
Rodrigo Kumpera [Wed, 31 Oct 2012 21:52:10 +0000 (17:52 -0400)]
Make gc maps optional and disabled by default for AOT.

11 years agoAllow an existing 4.0 assembly to fill in for a 2.0 reference
Sebastien Pouliot [Wed, 31 Oct 2012 20:04:44 +0000 (16:04 -0400)]
Allow an existing 4.0 assembly to fill in for a 2.0 reference

11 years agoAvoid processing (and creating) empty collections
Sebastien Pouliot [Wed, 31 Oct 2012 20:03:06 +0000 (16:03 -0400)]
Avoid processing (and creating) empty collections

11 years agoImplement GetObjectData
Neale Ferguson [Wed, 31 Oct 2012 16:13:00 +0000 (12:13 -0400)]
Implement GetObjectData

11 years agoIncrease flushinput timeout to 1 second as 1/10th second is sometimes not enough
Neale Ferguson [Thu, 11 Oct 2012 00:21:09 +0000 (20:21 -0400)]
Increase flushinput timeout to 1 second as 1/10th second is sometimes not enough

11 years agoMerge pull request #489 from alesliehughes/master
Marek Safar [Wed, 31 Oct 2012 10:24:33 +0000 (03:24 -0700)]
Merge pull request #489 from alesliehughes/master

Pathces for  AxHosts, RegistrationServices and Marshal

11 years agoImplement Marshal.GenerateProgIdForType
Alistair Leslie-Hughes [Wed, 24 Oct 2012 05:36:32 +0000 (16:36 +1100)]
Implement Marshal.GenerateProgIdForType

11 years agoImplement RegistrationServices.GetManagedCategoryGuid
Alistair Leslie-Hughes [Wed, 24 Oct 2012 05:35:16 +0000 (16:35 +1100)]
Implement RegistrationServices.GetManagedCategoryGuid

11 years agoAdd AxHost.OcxState support
Alistair Leslie-Hughes [Wed, 24 Oct 2012 05:28:21 +0000 (16:28 +1100)]
Add AxHost.OcxState support

11 years agoAllow overriding MarkMethod (without resolving the reference multiple times)
Sebastien Pouliot [Tue, 30 Oct 2012 20:36:39 +0000 (16:36 -0400)]
Allow overriding MarkMethod (without resolving the reference multiple times)

11 years agoCorrectly encode nested typeof type inside namespace.
Marek Safar [Tue, 30 Oct 2012 15:56:16 +0000 (16:56 +0100)]
Correctly encode nested typeof type inside namespace.

11 years agoDon't set sequential type attribute for async containers
Marek Safar [Tue, 30 Oct 2012 14:57:22 +0000 (15:57 +0100)]
Don't set sequential type attribute for async containers

11 years agoMove corlib path check after nostdlib
Marek Safar [Tue, 30 Oct 2012 12:40:51 +0000 (13:40 +0100)]
Move corlib path check after nostdlib

11 years agoSeparate namespace and name arguments for Inherits to avoid memory allocations
Sebastien Pouliot [Mon, 29 Oct 2012 23:07:48 +0000 (19:07 -0400)]
Separate namespace and name arguments for Inherits to avoid memory allocations

11 years agoPropertly handle the layout of generic valuetypes. Fixes bxc #7574.
Rodrigo Kumpera [Mon, 29 Oct 2012 21:10:28 +0000 (17:10 -0400)]
Propertly handle the layout of generic valuetypes. Fixes bxc #7574.

class.c (mono_class_layout_fields): All valuetype checks must account to
the fact that for generic instances the byval_arg/this_arg type will be
of a generic instance and not of a valuetype. The right check is for
MonoClass::valuetype. Fixes bxc #7574.

11 years agoAdd new test
Marek Safar [Mon, 29 Oct 2012 17:01:42 +0000 (18:01 +0100)]
Add new test

11 years agoMerge pull request #485 from mtausig/master
Marek Safar [Mon, 29 Oct 2012 16:49:43 +0000 (09:49 -0700)]
Merge pull request #485 from mtausig/master

Bugfix for DirectoryInfo.GetDirectories()

11 years agoFix: Removed wrong increment
mtausig [Mon, 29 Oct 2012 15:50:35 +0000 (16:50 +0100)]
Fix: Removed wrong increment

11 years agoAdd missing 3rd System reference
Marek Safar [Mon, 29 Oct 2012 15:34:16 +0000 (16:34 +0100)]
Add missing 3rd System reference

11 years ago[#7637][Web]: This is supposed to fail prior to .NET 4.0.
Martin Baulig [Mon, 29 Oct 2012 14:47:49 +0000 (15:47 +0100)]
[#7637][Web]: This is supposed to fail prior to .NET 4.0.

Fixes my previous commit 1ccb01e.

11 years agoRemoved null check of parameter (done in Directory.GetDirectories)
mtausig [Mon, 29 Oct 2012 12:29:24 +0000 (13:29 +0100)]
Removed null check of parameter (done in Directory.GetDirectories)
Changed foreach loop to for loop
Added some comments

11 years agoLabel inside implicit switch block is accessible from any switch case. Fixes #8036
Marek Safar [Mon, 29 Oct 2012 12:09:22 +0000 (13:09 +0100)]
Label inside implicit switch block is accessible from any switch case. Fixes #8036

11 years agoReject incomplete conversion unary user operators. Fixes #7935.
Marek Safar [Mon, 29 Oct 2012 10:23:03 +0000 (11:23 +0100)]
Reject incomplete conversion unary user operators. Fixes #7935.

11 years agoAdded Testcase for DirectoryInfo.GetDirectories with parameter
mtausig [Mon, 29 Oct 2012 10:06:41 +0000 (11:06 +0100)]
Added Testcase for DirectoryInfo.GetDirectories with parameter
SearchOption.AlLDirectories

11 years agoRemoved extra-brace
mtausig [Mon, 29 Oct 2012 10:06:14 +0000 (11:06 +0100)]
Removed extra-brace

11 years agoFixed missing Content-Id email headers
Shay Rojansky [Mon, 29 Oct 2012 00:26:39 +0000 (02:26 +0200)]
Fixed missing Content-Id email headers

When specifying a Content-Id header on Attachments and AlternateViews (but not LinkedResources) the header was not rendered.
This fixes bug #2279.
Also refactored header generation methods.

11 years agoSys.Tx: Avoid uncatched exceptions during Prepare phase, which might crash the whole...
Pablo Ruiz Garcia [Sat, 27 Oct 2012 20:58:18 +0000 (22:58 +0200)]
Sys.Tx: Avoid uncatched exceptions during Prepare phase, which might crash the whole application. Also try to align internal exception handling flow/logic to the one found in MS.NET.

11 years agoDisable the build of libmini.la when libraries are disabled.
Zoltan Varga [Sat, 27 Oct 2012 01:10:26 +0000 (03:10 +0200)]
Disable the build of libmini.la when libraries are disabled.

11 years agoAdd a --disable-libraries command line option to disable the build of libmono.
Zoltan Varga [Sat, 27 Oct 2012 01:03:51 +0000 (03:03 +0200)]
Add a --disable-libraries command line option to disable the build of libmono.

11 years ago[#7637][Web]: Support empty write streams.
Martin Baulig [Fri, 26 Oct 2012 23:15:21 +0000 (01:15 +0200)]
[#7637][Web]: Support empty write streams.

11 years ago[6329][Web]: Fixed abort race condition in WebConnection.ReadDone().
Martin Baulig [Fri, 26 Oct 2012 22:50:10 +0000 (00:50 +0200)]
[6329][Web]: Fixed abort race condition in WebConnection.ReadDone().

ReadDone() now passes the 'WebConnectionData' instance to GetResponse()
and 'readState' has been moved into 'WebConnectionData'.

Abort() can now reset 'Data' while ReadDone() still uses the old
instance, but learns about the abort request from 'data.ReadState'.

11 years agoHandle external protocols correctly in sdb.
Rodrigo Kumpera [Fri, 26 Oct 2012 21:15:48 +0000 (17:15 -0400)]
Handle external protocols correctly in sdb.

* debugger-agent.c: Handle deferred attach in sdb correctly when
an external protocol is used.

11 years agoMerge pull request #484 from roji/transactions_pspe
Marek Safar [Fri, 26 Oct 2012 20:26:43 +0000 (13:26 -0700)]
Merge pull request #484 from roji/transactions_pspe

Transaction now has limited support for PromotableSinglePhaseEnlistment

11 years agoMerge pull request #486 from fvalette/master
Marek Safar [Fri, 26 Oct 2012 20:24:03 +0000 (13:24 -0700)]
Merge pull request #486 from fvalette/master

Fix System.Media.SoundPlayer on Linux

11 years agoDisable LLVM for methods with clauses on darwin, current LLVM versions don't support it.
Zoltan Varga [Fri, 26 Oct 2012 20:13:27 +0000 (22:13 +0200)]
Disable LLVM for methods with clauses on darwin, current LLVM versions don't support it.

11 years agoAlign the trampoline stack size on MIPS.
Zoltan Varga [Fri, 26 Oct 2012 18:10:38 +0000 (20:10 +0200)]
Align the trampoline stack size on MIPS.

11 years agoClear sb->cached_str in mono_string_utf8_to_builder () so if the same stringbuilder...
Zoltan Varga [Fri, 26 Oct 2012 02:12:17 +0000 (04:12 +0200)]
Clear sb->cached_str in mono_string_utf8_to_builder () so if the same stringbuilder is passed to two pinvoke calls, the modifications made by the second are visible in the result of sb.ToString (). Fixes #7980.

11 years agoQuiet some automake warnings.
Zoltan Varga [Fri, 26 Oct 2012 00:52:05 +0000 (02:52 +0200)]
Quiet some automake warnings.

11 years agoEmit WebAsyncResult's callback on same thread on sync completion.
Martin Baulig [Thu, 25 Oct 2012 22:57:25 +0000 (00:57 +0200)]
Emit WebAsyncResult's callback on same thread on sync completion.

This fixes System.Net.Http.HttpClientTest.Send_Content_Put ().

11 years agoFix TaskFactory::FromAsync for methods that completed synchronously.
Martin Baulig [Thu, 25 Oct 2012 19:48:17 +0000 (21:48 +0200)]
Fix TaskFactory::FromAsync for methods that completed synchronously.

Don't call InnerInvoke() a 2nd time if the 'Begin' method that
completed synchronously already invoked the callback.

11 years ago[Fix] AudioData(wav) play performing badly under Linux
Florent Valette [Thu, 25 Oct 2012 15:46:28 +0000 (17:46 +0200)]
[Fix] AudioData(wav) play performing badly under Linux

Fix bug and improve performance of audio data play methode :
- Read only wave/Au raw data from Stream unstead of the whole file
- Play Sound chunk by chunk (chunk size compute at AudioDevice.setFormat call)
this is the best size compute by alsa for the hardware (better than the 4kB arbitrary size)
- Fix the chunk size to play. For Alsa, this size is in fragment, a fragment is one sample per channel
- count the data which are really play by alsa (snd_pcm_writei return a fragment size) and the next
chunk from that count.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years ago[Mono.Posix] Fix whitespace.
Jonathan Pryor [Thu, 25 Oct 2012 15:28:12 +0000 (11:28 -0400)]
[Mono.Posix] Fix whitespace.

Reduce whitespace changes from master.

11 years agoRevert "Increased waiting time for the certificate authentication from 100 ms to...
Jonathan Pryor [Thu, 25 Oct 2012 15:27:26 +0000 (11:27 -0400)]
Revert "Increased waiting time for the certificate authentication from 100 ms to 1000 ms. Because it was not enough for some kind of requests."

This reverts commit 592cdb463ba89cef6943962df5409177710d62d9.

This isn't required for Syscall.getgrouplist(), and should be part of
a separate pull request.

11 years ago[Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs
Florent Valette [Thu, 25 Oct 2012 15:27:08 +0000 (17:27 +0200)]
[Fix] Advanced Linux Sound Architecture (ALSA) configuration in class AudioDevice.cs

Improve the configuration of the Alsa hardware parameters.
The buffer and chunk size are set to the best suitable size according to wave file
caracteristic, i.e., format, channel and sampling rate.

Add Alsa software parameter.
Alsa becomes in Ready State as soon as there is a data chunk in its ring buffer.
Alsa starts playing data as soon as its buffer is full.

Add a UnderRun recovery method while playing a sound. When a underRun occurs, Alsa
layer need to be re set to Ready State (by calling snd_pcm_prepare) and the data chunk
is re send to Alsa.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years ago[Mono.Posix] Add Syscall.getgrouplist().
Jonathan Pryor [Thu, 25 Oct 2012 15:11:42 +0000 (11:11 -0400)]
[Mono.Posix] Add Syscall.getgrouplist().

Merge branch 'master' of git://github.com/alexeymoiseew/mono into alexeymoiseew-master

11 years ago[Fix] Support to wave sound file under linux
Florent Valette [Thu, 25 Oct 2012 14:53:03 +0000 (16:53 +0200)]
[Fix] Support to wave sound file under linux

Some wave file had a 'fact' chunk in header's data.
This is specified for non-PCM format but some PCM wave sound file could have one.
These kind of file are played well by System.Media.SoundPlay on win32 system but no
sound is played at all on unix system because the 'data' chunk is not found. This
patch adds support for wave file which have this optional 'fact' chunk in header's data.
It's also read chunk data according to the chunk size.

Signed-off-by: Florent Valette <florent.valette@gmail.com>
11 years agoMerge back MonoTouch changes inside the linker/tuner code
Sebastien Pouliot [Thu, 25 Oct 2012 14:39:21 +0000 (10:39 -0400)]
Merge back MonoTouch changes inside the linker/tuner code

11 years agoAllow the SortedList unit tests to be built with NUnitLite (MonoTouch)
Sebastien Pouliot [Thu, 25 Oct 2012 14:33:15 +0000 (10:33 -0400)]
Allow the SortedList unit tests to be built with NUnitLite (MonoTouch)

11 years agoMake sgen-fin-weak-hash.c a proper module.
Zoltan Varga [Wed, 24 Oct 2012 23:20:38 +0000 (01:20 +0200)]
Make sgen-fin-weak-hash.c a proper module.

11 years agoReorganize libmonoruntime_la_SOURCES to make it clear which files have compile time...
Zoltan Varga [Wed, 24 Oct 2012 20:51:21 +0000 (22:51 +0200)]
Reorganize libmonoruntime_la_SOURCES to make it clear which files have compile time GC dependencies.

11 years agoRemove the unused HAVE_WRITE_BARRIERS define.
Zoltan Varga [Wed, 24 Oct 2012 20:33:11 +0000 (22:33 +0200)]
Remove the unused HAVE_WRITE_BARRIERS define.

11 years agoRemove sgen dependencies from marshal.c
Zoltan Varga [Wed, 24 Oct 2012 20:32:43 +0000 (22:32 +0200)]
Remove sgen dependencies from marshal.c

11 years agoRemove the last #ifdef HAVE_SGEN_GC from gc-internal.h
Zoltan Varga [Wed, 24 Oct 2012 17:59:15 +0000 (19:59 +0200)]
Remove the last #ifdef HAVE_SGEN_GC from gc-internal.h

11 years agoRemove an unused field from DebuggerTlsData.
Zoltan Varga [Wed, 24 Oct 2012 17:56:16 +0000 (19:56 +0200)]
Remove an unused field from DebuggerTlsData.

11 years agoFix the linux build as it does check even from private glib symbols.
Rodrigo Kumpera [Wed, 24 Oct 2012 17:39:59 +0000 (13:39 -0400)]
Fix the linux build as it does check even from private glib symbols.

11 years agoFix the build.
Rodrigo Kumpera [Wed, 24 Oct 2012 17:39:42 +0000 (13:39 -0400)]
Fix the build.

11 years agoTransaction now has limited support for PromotableSinglePhaseEnlistment
Shay Rojansky [Tue, 23 Oct 2012 00:17:41 +0000 (02:17 +0200)]
Transaction now has limited support for PromotableSinglePhaseEnlistment

System.Transactions.Transaction is only partially implemented, and was lacking support for enlistments of type PromotableSinglePhaseEnlistment.
Specifically, this prevented usage of Npgsql with the ambient transactions feature (TransactionScope).

11 years agousign List except for array to prevent holes on getgrouplist results
Alexey Moiseev [Wed, 24 Oct 2012 15:43:10 +0000 (18:43 +0300)]
usign List except for array to prevent holes on getgrouplist results

11 years agoAdded omiting not valid groups to getgrouplist
Alexey Moiseev [Wed, 24 Oct 2012 15:30:20 +0000 (18:30 +0300)]
Added omiting not valid groups to getgrouplist

11 years agoAdd support for complex descriptors to mono_gc_get_bitmap_for_descr ().
Zoltan Varga [Wed, 24 Oct 2012 15:21:50 +0000 (17:21 +0200)]
Add support for complex descriptors to mono_gc_get_bitmap_for_descr ().

11 years agoMerge pull request #483 from meebey/syslog_gcc_format-security
Jonathan Pryor [Wed, 24 Oct 2012 14:41:05 +0000 (07:41 -0700)]
Merge pull request #483 from meebey/syslog_gcc_format-security

Disable -Werror=format-security on GCC as the input is already validated...

11 years agoDisable -Werror=format-security on GCC as the input is already validated by the caller
Mirco Bauer [Wed, 24 Oct 2012 14:28:09 +0000 (16:28 +0200)]
Disable -Werror=format-security on GCC as the input is already validated by the caller

Jonathan Pryor (jonpryor) commented on f49164b:

The message parameter is validated in managed code:
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L3200
https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs#L366

This change means that '%m' isn't useful in format strings to Syscall.syslog(),
as it'll be escaped instead of "passed through" unchanged.

11 years agofix bug #7957: empty dictionary should not be read siblings as content.
Atsushi Eno [Wed, 24 Oct 2012 02:57:57 +0000 (11:57 +0900)]
fix bug #7957: empty dictionary should not be read siblings as content.

11 years agoFix a problem in the SSA switch elimination code.
Zoltan Varga [Wed, 24 Oct 2012 00:17:40 +0000 (02:17 +0200)]
Fix a problem in the SSA switch elimination code.

11 years ago[#7258][Web]: Fix proxy authentication for non-ssl sessions
Martin Baulig [Tue, 23 Oct 2012 23:17:38 +0000 (01:17 +0200)]
[#7258][Web]: Fix proxy authentication for non-ssl sessions

Thanks a lot to Christian Gan for this patch :-)

11 years agoTest, triggering buildbot run.
Martin Baulig [Tue, 23 Oct 2012 16:18:49 +0000 (18:18 +0200)]
Test, triggering buildbot run.

I disabled Winforms in the mono-mac-master build like it has
already been disabled on mono-opensuse-master.  This should now
produce a green build.

11 years agoAdded overload to getgrouplist with Mono.Unix.Native.Passwd instance as input paramet...
Alexey Moiseev [Tue, 23 Oct 2012 15:43:27 +0000 (18:43 +0300)]
Added overload to getgrouplist with Mono.Unix.Native.Passwd instance as input parameter. Documented getgrouplist functions.

11 years agoDisable failing tests on the Mac.
Martin Baulig [Tue, 23 Oct 2012 10:41:57 +0000 (12:41 +0200)]
Disable failing tests on the Mac.

* System.Drawing (filed #7940 about this):
  GraphicsTest.DrawFillRectangle_Width_2 and
  GraphicsTest.FillDrawRectangle_Width_2

* Mono.Posix (filed #7942):
  UnixUserTest.NonReentrantSyscalls

* WCF (filed #7943):
  CallbackBehaviorAttributeTest.CallbackExample1
  CallbackBehaviorAttributeTest.CallbackExample2
  UriTemplateTest.EscapedUriCandidate
  UriTemplateTest.SimpleWebGet
  AnnouncementClientTest.AnnonceOnlineOfflineAddressSchemeMismatch

11 years agoFix CookieParserTest.TestExpires().
Martin Baulig [Tue, 23 Oct 2012 05:26:42 +0000 (07:26 +0200)]
Fix CookieParserTest.TestExpires().

DateTime.MinValue.ToUniversalTime() != DateTime.MinValue
if you're living east of Greenwich.

11 years agoAdd DateTime test to investigate the TestCookieParser.Expires() issue.
Martin Baulig [Tue, 23 Oct 2012 03:56:16 +0000 (05:56 +0200)]
Add DateTime test to investigate the TestCookieParser.Expires() issue.

11 years agoTest; testing test failure on buildbot.
Martin Baulig [Tue, 23 Oct 2012 00:43:17 +0000 (02:43 +0200)]
Test; testing test failure on buildbot.

11 years agoTest; testing buildbot.
Martin Baulig [Mon, 22 Oct 2012 20:57:08 +0000 (22:57 +0200)]
Test; testing buildbot.

11 years agoMove the sgen stop-the-world code to a separate file.
Zoltan Varga [Mon, 22 Oct 2012 21:31:20 +0000 (23:31 +0200)]
Move the sgen stop-the-world code to a separate file.

11 years agoBump version number to 3.0.1
Duncan Mak [Mon, 22 Oct 2012 21:23:23 +0000 (17:23 -0400)]
Bump version number to 3.0.1