mono.git
13 years agoPretty print generic instances better in xdebug.
Zoltan Varga [Wed, 30 Mar 2011 13:32:35 +0000 (15:32 +0200)]
Pretty print generic instances better in xdebug.

13 years agoAdd some checks to the ActivationServices:AllocateUninitializedClassInstance () icall...
Zoltan Varga [Wed, 30 Mar 2011 13:27:40 +0000 (15:27 +0200)]
Add some checks to the ActivationServices:AllocateUninitializedClassInstance () icall to avoid instantiating interfaces/abstract types.

13 years agoMerge branch 'master' of github.com:mono/mono
Dick Porter [Wed, 30 Mar 2011 12:01:57 +0000 (13:01 +0100)]
Merge branch 'master' of github.com:mono/mono

13 years ago[io-layer] Make debug spew compile
Rolf Bjarne Kvinge [Wed, 30 Mar 2011 11:24:40 +0000 (13:24 +0200)]
[io-layer] Make debug spew compile

13 years agoEnable sgen on Solaris
Dick Porter [Thu, 28 Oct 2010 13:12:42 +0000 (14:12 +0100)]
Enable sgen on Solaris

13 years ago[asp.net] Fix for bug #658184. AuthorizationRule restores its Action when unmerging.
Martin [Wed, 30 Mar 2011 10:20:33 +0000 (12:20 +0200)]
[asp.net] Fix for bug #658184. AuthorizationRule restores its Action when unmerging.

13 years agoAllow XML documentation predefined types to be used with parameters for methods
Marek Safar [Wed, 30 Mar 2011 09:39:33 +0000 (10:39 +0100)]
Allow XML documentation predefined types to be used with parameters for methods

13 years agoCheck XML documentation parameters on all parameters-like member kinds
Marek Safar [Wed, 30 Mar 2011 09:05:37 +0000 (10:05 +0100)]
Check XML documentation parameters on all parameters-like member kinds

13 years agoNew test
Marek Safar [Wed, 30 Mar 2011 08:24:00 +0000 (09:24 +0100)]
New test

13 years ago[DataAnnotations] Implemented the Validator and CustomValidationAttribute 4.0 classes
Marek Habersack [Mon, 28 Mar 2011 12:07:09 +0000 (14:07 +0200)]
[DataAnnotations] Implemented the Validator and CustomValidationAttribute 4.0 classes

13 years agoSet correctly scope of namespace global attributes
Marek Safar [Wed, 30 Mar 2011 08:03:07 +0000 (09:03 +0100)]
Set correctly scope of namespace global attributes

13 years agoFix Sys.Xaml test build which got broken with the latest mcs since 9cc5c9e.
Atsushi Eno [Wed, 30 Mar 2011 07:15:39 +0000 (16:15 +0900)]
Fix Sys.Xaml test build which got broken with the latest mcs since 9cc5c9e.

13 years ago[proclib] Break after reading the line we need
Gonzalo Paniagua Javier [Wed, 30 Mar 2011 05:38:53 +0000 (01:38 -0400)]
[proclib] Break after reading the line we need

13 years agoFix the previous change.
Zoltan Varga [Wed, 30 Mar 2011 03:26:19 +0000 (05:26 +0200)]
Fix the previous change.

13 years agoCall SleepEx in a loop in the Thread.Sleep () icall, to avoid a race when the sleep...
Zoltan Varga [Wed, 30 Mar 2011 03:05:06 +0000 (05:05 +0200)]
Call SleepEx in a loop in the Thread.Sleep () icall, to avoid a race when the sleep is interrupted. Fixes #683519.

13 years agoFix domain TLS loading.
Rodrigo Kumpera [Wed, 30 Mar 2011 02:45:38 +0000 (23:45 -0300)]
Fix domain TLS loading.

* sgen-os-mach.c (mono_sgen_thread_handshake): Given
recent changes in mono-compiler than enabled fast TLS
for mach, we now must use mono_domain_get_tls_offset
since io-layer TLS won't be used.

13 years agoCast p to char* since the offset is in byte units.
Rodrigo Kumpera [Wed, 30 Mar 2011 02:44:33 +0000 (23:44 -0300)]
Cast p to char* since the offset is in byte units.

13 years agoSystem.Windows.Forms.Mime: Use freedesktop.org only on Unix platforms.
Vincent Povirk [Tue, 29 Mar 2011 18:59:09 +0000 (13:59 -0500)]
System.Windows.Forms.Mime: Use freedesktop.org only on Unix platforms.

13 years ago[nl] Move a bunch of #if's out of the way.
Gonzalo Paniagua Javier [Tue, 29 Mar 2011 18:24:04 +0000 (14:24 -0400)]
[nl] Move a bunch of #if's out of the way.

13 years agoReset BytesTransferred on every reuse.
Gonzalo Paniagua Javier [Tue, 29 Mar 2011 17:45:57 +0000 (13:45 -0400)]
Reset BytesTransferred on every reuse.

13 years agoAllow braces to be used instead of brackets for XML documentation
Marek Safar [Tue, 29 Mar 2011 17:03:56 +0000 (18:03 +0100)]
Allow braces to be used instead of brackets for XML documentation

13 years agoMake dynamic test for 4.0 profile only
Marek Safar [Tue, 29 Mar 2011 16:40:42 +0000 (17:40 +0100)]
Make dynamic test for 4.0 profile only

13 years agoDon't check constraints for anonymous method stories it's not needed and it's hard...
Marek Safar [Tue, 29 Mar 2011 16:35:54 +0000 (17:35 +0100)]
Don't check constraints for anonymous method stories it's not needed and it's hard to get it right

13 years agoBetter error message for fixed size collections
Marek Safar [Tue, 29 Mar 2011 16:35:22 +0000 (17:35 +0100)]
Better error message for fixed size collections

13 years agoMajor update of XML documentation support
Marek Safar [Tue, 29 Mar 2011 14:41:00 +0000 (15:41 +0100)]
Major update of XML documentation support

13 years agoFix vasprintf() for empty strings.
Gonzalo Paniagua Javier [Tue, 29 Mar 2011 03:22:23 +0000 (23:22 -0400)]
Fix vasprintf() for empty strings.

James Bellinger entered bug #682963 and he ended up debugging it and
providing the solution.

13 years agoDo not forget mmember stack pop in XamlXmlReader. Fixed bug #682933.
Atsushi Eno [Tue, 29 Mar 2011 02:51:01 +0000 (11:51 +0900)]
Do not forget mmember stack pop in XamlXmlReader. Fixed bug #682933.

13 years ago.gitignore
Gonzalo Paniagua Javier [Mon, 28 Mar 2011 22:15:26 +0000 (18:15 -0400)]
.gitignore

13 years ago(c) lines.
Gonzalo Paniagua Javier [Mon, 28 Mar 2011 22:14:47 +0000 (18:14 -0400)]
(c) lines.

13 years agoFix a typo in Directory.GetFiles ()
Gonzalo Paniagua Javier [Mon, 28 Mar 2011 21:47:41 +0000 (17:47 -0400)]
Fix a typo in Directory.GetFiles ()

The mask never matched the attributes and all files were discarded.
This fixes bug #683203.

13 years agoDefine MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX for arm.
Zoltan Varga [Mon, 28 Mar 2011 13:51:54 +0000 (15:51 +0200)]
Define MONO_ARCH_HAVE_SIGCTX_TO_MONOCTX for arm.

13 years agoRemove some unused fields from MonoDynamicGenericClass.
Zoltan Varga [Mon, 28 Mar 2011 12:54:50 +0000 (14:54 +0200)]
Remove some unused fields from MonoDynamicGenericClass.

13 years agoCosmetic corcompare-based updates in Sys.SM.Web.
Atsushi Eno [Mon, 28 Mar 2011 12:17:24 +0000 (21:17 +0900)]
Cosmetic corcompare-based updates in Sys.SM.Web.

13 years agoLooks like WCF serializer supports XmlNode, so we do as well.
Atsushi Eno [Mon, 28 Mar 2011 08:09:25 +0000 (17:09 +0900)]
Looks like WCF serializer supports XmlNode, so we do as well.

for details: http://msdn.microsoft.com/en-us/library/aa347876.aspx

Fixed bug #682957.

13 years agoXamlXmlReader didn't update current_member after EndMember and kept old one.
Atsushi Eno [Mon, 28 Mar 2011 07:05:17 +0000 (16:05 +0900)]
XamlXmlReader didn't update current_member after EndMember and kept old one.

Fixed bug #682933.

13 years agoFix a case where class->instance_size was not set for dynamic classes.
Zoltan Varga [Mon, 28 Mar 2011 06:18:58 +0000 (08:18 +0200)]
Fix a case where class->instance_size was not set for dynamic classes.

13 years agoPretty print null MonoGenericContext's in xdebug correctly.
Zoltan Varga [Mon, 28 Mar 2011 04:44:28 +0000 (06:44 +0200)]
Pretty print null MonoGenericContext's in xdebug correctly.

13 years ago[NetworkInformation] Support network IP/status events
Gonzalo Paniagua Javier [Sun, 27 Mar 2011 22:49:17 +0000 (18:49 -0400)]
[NetworkInformation] Support network IP/status events

Add support for the events in NetworkChanged (linux-only).

13 years agoAdd new crlupdate tool
Sebastien Pouliot [Sun, 27 Mar 2011 20:59:26 +0000 (16:59 -0400)]
Add new crlupdate tool

* man/Makefile.am:
* man/crlupdate.1:
* man/man.xml:
Add new manual page for crlupdate

* mcs/tools/security/Makefile:
* mcs/tools/security/crlupdate.cs:
Add new crlupdate tool

* scripts/Makefile.am:
Generate script wrapper for crlupdate

13 years agoExpose the distribution points from cRLDistrubutionPoint extension
Sebastien Pouliot [Sun, 27 Mar 2011 20:55:43 +0000 (16:55 -0400)]
Expose the distribution points from cRLDistrubutionPoint extension

* CRLDistributionPointsExtension.cs: Expose the DP from the extension
so it is easier to retrieve the URL to download them

13 years agoDo not throw in IsSelfSigned on non-RSA based certificates
Sebastien Pouliot [Sun, 27 Mar 2011 20:54:02 +0000 (16:54 -0400)]
Do not throw in IsSelfSigned on non-RSA based certificates

* X509Certificate.cs: Handle DSA or DSA paramaters-only certificates
in IsSeldSigned

13 years agoHandle non-existing user CA store gracefully
Sebastien Pouliot [Sun, 27 Mar 2011 20:52:33 +0000 (16:52 -0400)]
Handle non-existing user CA store gracefully

* X509Chain.cs: Handle non-existing user CA store gracefully

13 years agoAllow certmgr to display X.509 CRL inside the stores
Sebastien Pouliot [Sun, 27 Mar 2011 20:50:40 +0000 (16:50 -0400)]
Allow certmgr to display X.509 CRL inside the stores

* certmgr.cs: Implement display of X.509 CRL

13 years agoMake mono_arch_context_get_int_reg () return an mgreg_t.
Zoltan Varga [Sun, 27 Mar 2011 06:56:54 +0000 (08:56 +0200)]
Make mono_arch_context_get_int_reg () return an mgreg_t.

13 years agoVTune Amplifier XE 2011 plugin for Mono
Virgile Bello [Fri, 25 Mar 2011 11:16:24 +0000 (20:16 +0900)]
VTune Amplifier XE 2011 plugin for Mono

13 years agoImplement mono_arch_context_set_int_reg () for arm.
Zoltan Varga [Sun, 27 Mar 2011 00:37:10 +0000 (01:37 +0100)]
Implement mono_arch_context_set_int_reg () for arm.

13 years agonull JSON type must be handled in JsonWriter.
Atsushi Eno [Sat, 26 Mar 2011 12:27:19 +0000 (21:27 +0900)]
null JSON type must be handled in JsonWriter.

13 years agoDo not always assume ascii == 1 byte in JsonWriter. Fix utf-16 usage.
Atsushi Eno [Sat, 26 Mar 2011 12:00:16 +0000 (21:00 +0900)]
Do not always assume ascii == 1 byte in JsonWriter. Fix utf-16 usage.

13 years agoXStreamingElement should be covered in WriteTo(). It's not derived from XNode.
Atsushi Eno [Sat, 26 Mar 2011 10:26:14 +0000 (19:26 +0900)]
XStreamingElement should be covered in WriteTo(). It's not derived from XNode.

13 years agoNowadays, XmlDeclaratoin.WriteTo() writes PI instead of raw.
Atsushi Eno [Sat, 26 Mar 2011 10:13:47 +0000 (19:13 +0900)]
Nowadays, XmlDeclaratoin.WriteTo() writes PI instead of raw.

This resulted in invalid output to JsonWriter (via JsonReaderWriterFactory).

13 years agoImplement mono_arch_context_set_int_reg () for x86.
Zoltan Varga [Sat, 26 Mar 2011 04:19:34 +0000 (05:19 +0100)]
Implement mono_arch_context_set_int_reg () for x86.

13 years ago[asp.net] HtmlForum.Name rendering updates + test updates
Marek Habersack [Fri, 25 Mar 2011 21:44:17 +0000 (22:44 +0100)]
[asp.net] HtmlForum.Name rendering updates + test updates

13 years agoAdd support for reading/writing variables in registers to sdb.
Zoltan Varga [Fri, 25 Mar 2011 18:55:09 +0000 (19:55 +0100)]
Add support for reading/writing variables in registers to sdb.

13 years agoAdd a mono_arch_context_set_int_reg () function, amd64 only for now.
Zoltan Varga [Fri, 25 Mar 2011 18:54:31 +0000 (19:54 +0100)]
Add a mono_arch_context_set_int_reg () function, amd64 only for now.

13 years agoAdd an unwind option to enable collection of register save locations during stack...
Zoltan Varga [Fri, 25 Mar 2011 18:34:40 +0000 (19:34 +0100)]
Add an unwind option to enable collection of register save locations during stack unwinding.

13 years agoReplace ENABLE_COREE with a runtime switch.
Vincent Povirk [Mon, 7 Mar 2011 19:41:46 +0000 (13:41 -0600)]
Replace ENABLE_COREE with a runtime switch.

13 years agoAlign our coreclr inheritance rules to match MS
Sebastien Pouliot [Fri, 25 Mar 2011 15:15:11 +0000 (11:15 -0400)]
Align our coreclr inheritance rules to match MS

* mono/metadata/security-core-clr.c: Change our inheritance check to be
closer to MS implementation wrt default ctors.

* mcs/tools/tuner/Mono.Tuner/InjectSecurityAttributes.cs: Let the tuner
inject the extra .ctor required to match the rules from above.

13 years agoDo not allow extra elements in policy
Sebastien Pouliot [Fri, 25 Mar 2011 14:12:20 +0000 (10:12 -0400)]
Do not allow extra elements in policy

* ClientAccessPolicyParser.cs: Fix regression (from a023b07a) found by
DRT #666. More test cases to be added into moonlight WebPolicies test
application

13 years ago[tests,runtime] A kludge to make 2.0 tests using CodeDOM work
Marek Habersack [Fri, 25 Mar 2011 13:19:48 +0000 (14:19 +0100)]
[tests,runtime] A kludge to make 2.0 tests using CodeDOM work

When running the 2.0 test suite some assemblies will invoke mcs via
CodeDOM and the new mcs process will find the MONO_PATH variable in its
environment pointing to the net_2_0 library which will cause the runtime
to attempt to load the 2.0 corlib into 4.0 process and thus mcs will
fail. At the same time, we must not touch MONO_PATH when running outside
the test suite, thus the kludge.

13 years ago[asp.net] Fix for bug #681553. Look for direct child controls before calling up on...
Marek Habersack [Fri, 25 Mar 2011 10:55:06 +0000 (11:55 +0100)]
[asp.net] Fix for bug #681553. Look for direct child controls before calling up on the NamingContainer

13 years agoConsole encoding fix for bug 678357
Miguel de Icaza [Fri, 25 Mar 2011 01:31:17 +0000 (21:31 -0400)]
Console encoding fix for bug 678357

Move the stream setup into a separate method and recreate the
streams whenever the input or output streams change.

13 years ago[asp.net] Fix for bug #681164. Page.InitOutputCache ignores calls with duration <= 0
Marek Habersack [Thu, 24 Mar 2011 22:31:46 +0000 (23:31 +0100)]
[asp.net] Fix for bug #681164. Page.InitOutputCache ignores calls with duration <= 0

It is ok to ignore such calls for two reasons - the cache with duration <= 0 will not
be effective anyway and the @OutputCache directive throws an exception for duration <= 0

13 years agoFix generic interface lookup to not miss exact match. Fixed bug #682140.
Atsushi Eno [Thu, 24 Mar 2011 16:37:02 +0000 (01:37 +0900)]
Fix generic interface lookup to not miss exact match. Fixed bug #682140.

13 years agoAgain I forgot to add test xml file...
Atsushi Eno [Thu, 24 Mar 2011 14:25:16 +0000 (23:25 +0900)]
Again I forgot to add test xml file...

13 years agoSupport get-based property value (as omitted StartObject form) in XamlXmlReader.
Atsushi Eno [Thu, 24 Mar 2011 14:20:18 +0000 (23:20 +0900)]
Support get-based property value (as omitted StartObject form) in XamlXmlReader.

This is a bit complicated to determine, and the identified condition could
be wrong (so far no regression).

It may be now missing the point to use IsWritePublic in some area to identify
GetObject node from XML stream. (Future consideration.)

Fixed bug #682131.

13 years agoNullable type needs special treatment in XamlValueConverter. fixed bug #682119.
Atsushi Eno [Thu, 24 Mar 2011 12:32:27 +0000 (21:32 +0900)]
Nullable type needs special treatment in XamlValueConverter. fixed bug #682119.

13 years agoRemove static members from documentation generator
Marek Safar [Thu, 24 Mar 2011 10:55:14 +0000 (10:55 +0000)]
Remove static members from documentation generator

13 years agoClean up few excessive documentation members
Marek Safar [Thu, 24 Mar 2011 09:34:37 +0000 (09:34 +0000)]
Clean up few excessive documentation members

13 years agoBetter error message for common xml documentation error
Marek Safar [Wed, 23 Mar 2011 20:03:45 +0000 (20:03 +0000)]
Better error message for common xml documentation error

13 years agoFix LookupNullable(). It is not lookable-up by interface (struct).
Atsushi Eno [Thu, 24 Mar 2011 10:40:35 +0000 (19:40 +0900)]
Fix LookupNullable(). It is not lookable-up by interface (struct).

13 years agoUndo unwanted comment out.
Atsushi Eno [Thu, 24 Mar 2011 10:33:48 +0000 (19:33 +0900)]
Undo unwanted comment out.

13 years agoImplemented IAmbientProvider support in XamlObjectWriter. Fixed bug #682102.
Atsushi Eno [Thu, 24 Mar 2011 10:17:31 +0000 (19:17 +0900)]
Implemented IAmbientProvider support in XamlObjectWriter. Fixed bug #682102.

13 years agoFix serialization test build that depended on compiler contravariance bug.
Atsushi Eno [Thu, 24 Mar 2011 09:00:58 +0000 (18:00 +0900)]
Fix serialization test build that depended on compiler contravariance bug.

13 years agoCursors.cs: Fix the appearance of the SizeNESW cursor when not running on Unix. Fixes...
Thomas Goldstein [Thu, 24 Mar 2011 07:29:39 +0000 (08:29 +0100)]
Cursors.cs: Fix the appearance of the SizeNESW cursor when not running on Unix. Fixes bug 681032.

13 years agoAdd AmbientProperty tests (complicated, not working) for bug #682102.
Atsushi Eno [Thu, 24 Mar 2011 06:19:30 +0000 (15:19 +0900)]
Add AmbientProperty tests (complicated, not working) for bug #682102.

13 years agoAvoid warnigs.
Gonzalo Paniagua Javier [Wed, 23 Mar 2011 20:02:53 +0000 (16:02 -0400)]
Avoid warnigs.

13 years agoRelax policy parser to accept text elements - fix 681699
Sebastien Pouliot [Wed, 23 Mar 2011 17:54:37 +0000 (13:54 -0400)]
Relax policy parser to accept text elements - fix 681699

* ClientAccessPolicyParser.cs: Allow non-element between the expected
XML elements. Fix text, like '-', being present inside policies.

13 years ago[457081] Mixed documentation comment format was not detected for single lines
Marek Safar [Wed, 23 Mar 2011 18:03:04 +0000 (18:03 +0000)]
[457081] Mixed documentation comment format was not detected for single lines

13 years agoUpdate some documentation tests
Marek Safar [Wed, 23 Mar 2011 17:24:59 +0000 (17:24 +0000)]
Update some documentation tests

13 years ago[643460] Set delegate documentation scope correctly
Marek Safar [Wed, 23 Mar 2011 17:23:23 +0000 (17:23 +0000)]
[643460] Set delegate documentation scope correctly

13 years agoFixes another long standing issue where explicit type attributes could not be used...
Marek Safar [Wed, 23 Mar 2011 16:53:18 +0000 (16:53 +0000)]
Fixes another long standing issue where explicit type attributes could not be used at beginning of the file

13 years agoMake this OSX specific instead
Miguel de Icaza [Wed, 23 Mar 2011 14:11:54 +0000 (10:11 -0400)]
Make this OSX specific instead

13 years agoAllow generated files here
Miguel de Icaza [Mon, 21 Mar 2011 17:25:47 +0000 (13:25 -0400)]
Allow generated files here

13 years agoCheck in these autogenerated files, since they keep breaking the concurrent make...
Miguel de Icaza [Mon, 21 Mar 2011 17:25:22 +0000 (13:25 -0400)]
Check in these autogenerated files, since they keep breaking the concurrent make builds

13 years agoAdd another complicated ContentProperty case.
Atsushi Eno [Wed, 23 Mar 2011 13:33:56 +0000 (22:33 +0900)]
Add another complicated ContentProperty case.

13 years agoAdd missing API that are to be decorated with [SecurityCritical] for compatibility
Sebastien Pouliot [Tue, 22 Mar 2011 12:38:17 +0000 (08:38 -0400)]
Add missing API that are to be decorated with [SecurityCritical] for compatibility

* System.Reflection.Emit/AssemblyBuilder.cs: Add missing GetName(bool)
* System.Threading/ThreadPool.cs: Add missing UnsafeQueueNativeOverlapped

This is not a big issue since the missing API are unusable from
application code (and obviously not needed inside the platform code).
However it makes validating the tuned assemblies easier :)

13 years agoForgot to add test xml files for the previous commit.
Atsushi Eno [Wed, 23 Mar 2011 12:30:09 +0000 (21:30 +0900)]
Forgot to add test xml files for the previous commit.

13 years agoContentProperty with collection caused unexpected read in XamlXmlReader.
Atsushi Eno [Wed, 23 Mar 2011 12:21:33 +0000 (21:21 +0900)]
ContentProperty with collection caused unexpected read in XamlXmlReader.

The fix is actually complicated. When a ContentProperty list is settable,
.NET allows omitting start element for it i.e. it *may* or *may not* appear,
which for each is interpreted as:
- it is StartObject if the start element can be of the member.
- otherwise it is GetObject.

It could still happen that if such a list could contain an instance of the
same list type, which results in "indeterminant" state. I don't think MS XAML
syntax and/or parser is carefully designed to treat such situation gracefully,
so I leave current implementation as is.

13 years ago[io-layer] Use MonoSemType instead of sem_t
Rolf Bjarne Kvinge [Wed, 23 Mar 2011 07:33:25 +0000 (08:33 +0100)]
[io-layer]  Use MonoSemType instead of sem_t

13 years ago[runtime] Fix compilation
Marek Habersack [Wed, 23 Mar 2011 10:46:28 +0000 (11:46 +0100)]
[runtime] Fix compilation

13 years ago--version shows kqueue now.
Gonzalo Paniagua Javier [Wed, 23 Mar 2011 05:55:09 +0000 (01:55 -0400)]
--version shows kqueue now.

13 years agoOSX, Win32: Implements support for DriveInfo
Miguel de Icaza [Wed, 23 Mar 2011 05:53:30 +0000 (01:53 -0400)]
OSX, Win32: Implements support for DriveInfo

This implements support for DriveInfo for OSX and Windows.

On OSX we use statfs system call that provides the filesystem
type information that we need.   On Linux, we continue to fallback
to mtab parsing

13 years agoAdd OSX support to the io-layer: supports getting a list of mounted file systems...
Miguel de Icaza [Wed, 23 Mar 2011 04:41:18 +0000 (00:41 -0400)]
Add OSX support to the io-layer: supports getting a list of mounted file systems, and OSX-specific file system types

13 years agoAdd Environment.IsMacOS for handling OSX specific bits in corlib
Miguel de Icaza [Wed, 23 Mar 2011 04:40:34 +0000 (00:40 -0400)]
Add Environment.IsMacOS for handling OSX specific bits in corlib

13 years agoAdd support for EnumTypeConverter in XamlValueConverter. Fixed bug #681724.
Atsushi Eno [Wed, 23 Mar 2011 05:45:58 +0000 (14:45 +0900)]
Add support for EnumTypeConverter in XamlValueConverter. Fixed bug #681724.

13 years ago[threadpool] Don't start all the IO threads on first request.
Gonzalo Paniagua Javier [Wed, 23 Mar 2011 01:39:12 +0000 (21:39 -0400)]
[threadpool] Don't start all the IO threads on first request.

The IO threadpool behaves as the regular one now: threads are created
on demand up to the default and then they are throttled based on load
unless Set(Min|Max)Threads is used.

Fix the stack size for threadpool threads when Set(Min|Max)threads is
used.

13 years ago[io-layer] Improve waiting on processes a lot
Rolf Bjarne Kvinge [Fri, 4 Feb 2011 12:51:11 +0000 (13:51 +0100)]
[io-layer] Improve waiting on processes a lot

We now install a SIGCHLD handler when creating a process, and we do the proper
waitpid in the SIGCHLD handler so that the process isn't left as a zombie. We
use a new data structure, MonoProcess, to keep track of created processes, and
where we have a semaphore the SIGCHLD handler releases when the process exits.
This enables us to wait properly (no polling!) for child processes, and
process_wait has been completely reworked to take advantage of this.

The ability to wait for non-child processes is partly there (when shared
handles are enabled any process can wait for a process any other mono process
has created by polling on the pid).

13 years ago[io-layer] When forking ensure the parent's data structures are updated before the...
Rolf Bjarne Kvinge [Fri, 4 Feb 2011 12:34:18 +0000 (13:34 +0100)]
[io-layer] When forking ensure the parent's data structures are updated before the child execs

13 years ago[io-layer] Move duplicated pid validation into one method.
Rolf Bjarne Kvinge [Fri, 4 Feb 2011 12:23:53 +0000 (13:23 +0100)]
[io-layer] Move duplicated pid validation into one method.

13 years ago[io-layer] Make the special_wait functions take an alertable flag.
Rolf Bjarne Kvinge [Fri, 4 Feb 2011 12:08:17 +0000 (13:08 +0100)]
[io-layer] Make the special_wait functions take an alertable flag.