Jérémie Laval [Tue, 5 Apr 2011 13:23:24 +0000 (15:23 +0200)]
Protect entering ReaderWriterLockSlim upgradable mode against async exceptions.
Marek Habersack [Tue, 5 Apr 2011 12:34:17 +0000 (14:34 +0200)]
[asp.net] Fix for bug #684803. XmlSiteMapProvider must take its root node into account when matching an URL.
Atsushi Eno [Tue, 5 Apr 2011 11:55:32 +0000 (20:55 +0900)]
Collection support in JSON serializer was actually for any IEnumerable.
Marek Safar [Tue, 5 Apr 2011 11:34:05 +0000 (12:34 +0100)]
Don't eat escaped U characters
Atsushi Eno [Tue, 5 Apr 2011 11:26:09 +0000 (20:26 +0900)]
Revert PushbackReader changes (was unnecessary and actually bogus).
Marek Safar [Tue, 5 Apr 2011 10:07:51 +0000 (11:07 +0100)]
Fixes parsiong of coalescing operator on nullable type
Atsushi Eno [Tue, 5 Apr 2011 10:47:54 +0000 (19:47 +0900)]
null value also outputs "type='null' in WCF JSON writer.
Atsushi Eno [Tue, 5 Apr 2011 09:22:56 +0000 (18:22 +0900)]
Auto-detect text encoding from input stream for JsonReader. Fix DBCS pushback.
Marek Safar [Tue, 5 Apr 2011 08:37:12 +0000 (09:37 +0100)]
Rename lookup method for consistency
Marek Safar [Mon, 4 Apr 2011 18:19:27 +0000 (19:19 +0100)]
Speed up var expression type resolution
Marek Safar [Mon, 4 Apr 2011 16:01:53 +0000 (17:01 +0100)]
Clearly split namespace and type resolve paths
Marek Safar [Mon, 4 Apr 2011 13:54:59 +0000 (14:54 +0100)]
Warn about name collision between namespace and type
Atsushi Eno [Tue, 5 Apr 2011 04:19:54 +0000 (13:19 +0900)]
IDictionary`2 serialization support was missing in DataContractJsonSerializer.
Fixed bug #685042.
Rodrigo Kumpera [Tue, 5 Apr 2011 02:15:44 +0000 (23:15 -0300)]
Fix thinko
Rodrigo Kumpera [Tue, 5 Apr 2011 02:05:45 +0000 (23:05 -0300)]
Add implementation of a lock free linked list set.
* mono-linked-list-set.c: Implementation based
on M. Michael paper.
Jeffrey Stedfast [Mon, 4 Apr 2011 19:02:37 +0000 (15:02 -0400)]
Huge optimization to eglib qsort_with_data()
Sebastien Pouliot [Mon, 4 Apr 2011 15:32:05 +0000 (11:32 -0400)]
Avoid throwing an ANE on an invalid X.509 extension
* X509ExtensionCollection.cs: Avoid throwing an ArgumentNullException
when processing an invalid X.509 extension (e.g. where the value is not
encoded in an OCTETSTRING). See
E37A3466C703DCB14E6E16E416E51DC04A42A52B
in bnc #682619
Sebastien Pouliot [Mon, 4 Apr 2011 15:30:11 +0000 (11:30 -0400)]
Fix X.500 DN comparison
* X500DistinguishedName.cs: Fix DN comparison. See
D00FB2B40594C460D1D7F5E5A12F6654455D9247 and
D13835AF247D70C32E1032798939CFD32B2BFEA2 in bnc #682619
Sebastien Pouliot [Mon, 4 Apr 2011 15:15:29 +0000 (11:15 -0400)]
Add MD4, SHA384 and SHA512 signature verification to X.509 certificates
* X509Certificate.cs: Add MD4 (if available), SHA384 and SHA512
RSA signature verification
Atsushi Eno [Mon, 4 Apr 2011 13:55:30 +0000 (22:55 +0900)]
unlike told by docs.mono-android.net Trace does not exist in mobile profile.
Jb Evain [Mon, 4 Apr 2011 13:40:25 +0000 (15:40 +0200)]
Fix net_2_0 build
Sebastien Pouliot [Mon, 4 Apr 2011 12:23:19 +0000 (08:23 -0400)]
Allow comments (line starting with #) in the .secattr files
* InjectSecurityAttributes.cs: Allow comments in security attribute files
Sebastien Pouliot [Mon, 4 Apr 2011 12:20:50 +0000 (08:20 -0400)]
AppDomain.GetAssemblies() is available (it's internals) in Moonlight
* JsonSerializationReader.cs: Remove #if wrt MOONLIGHT since the API
is available (internal but Moonlight's mscorlib has an IVT on S.SM)
Marek Safar [Mon, 4 Apr 2011 12:31:11 +0000 (13:31 +0100)]
[684600] Treat all value types equally
Marek Safar [Mon, 4 Apr 2011 12:31:02 +0000 (13:31 +0100)]
Update comment
Atsushi Eno [Mon, 4 Apr 2011 11:57:12 +0000 (20:57 +0900)]
Add WCF diagnostics implementation (not working yet).
Marek Safar [Mon, 4 Apr 2011 10:18:28 +0000 (11:18 +0100)]
Pointer member access can use type arguments
Sebastien Pouliot [Sun, 3 Apr 2011 14:07:55 +0000 (10:07 -0400)]
Avoid throwing (just return false) when verifying an RSA certificate with dsaSHA1
* X509Certificate.cs: Do not throw a CryptographicException for "unknown
hash algorithm" when asked to verify a RSA certificate with dsaSHA1 since
this can happen when a bad/incomplete chain is being tested.
Zoltan Varga [Sun, 3 Apr 2011 06:04:06 +0000 (08:04 +0200)]
Fix warnings.
Kenneth Skovhede [Sun, 3 Apr 2011 03:56:14 +0000 (05:56 +0200)]
Fix the handling of the '%f' descriptor in DataConverter.Unpack (). Fixes #683712.
Marek Habersack [Sat, 2 Apr 2011 22:02:58 +0000 (00:02 +0200)]
[asp.net] 2.0 standalone tests must have the MONO_TESTS_IN_PROGRESS variable exported in the environment
Tomasz Kubacki [Sat, 2 Apr 2011 21:51:36 +0000 (23:51 +0200)]
[asp.net] HttpApplication.InitOnce must ensure that HttpApplication.Context does not return null.
HttpApplication.Context != null is assumed by System.Web.WebPages.WebPagesHttpModule Init method
Zoltan Varga [Sat, 2 Apr 2011 17:45:03 +0000 (19:45 +0200)]
Fix get-cygwin-deps.sh after sourceforge url changes.
Zoltan Varga [Sat, 2 Apr 2011 06:29:36 +0000 (08:29 +0200)]
Fix a harmless memory overwrite in sgen.
Atsushi Eno [Sat, 2 Apr 2011 02:28:19 +0000 (11:28 +0900)]
fix wrong attempt to add restricted headers in HttpRequestChannel.
Marek Habersack [Sat, 2 Apr 2011 00:36:53 +0000 (02:36 +0200)]
[asp.net] Store new heap size when shrinking it. Thanks to Rodrigo Kumpera for noticing it!
This should fix the IndexOutOfRangeError which occur after heap exceeds 8192 elements and is then
shrunk below that value.
Jeffrey Stedfast [Fri, 1 Apr 2011 20:39:05 +0000 (16:39 -0400)]
Minor fixes to qsort_with_data()
Rodrigo Kumpera [Fri, 1 Apr 2011 19:20:51 +0000 (16:20 -0300)]
More plat cleanups.
* sgen-gc.c (mono_sgen_wait_for_suspend_ack): Move the
mach check to the function itself. We later should push
it to plat specific code.
* sgen-gc.c (restart_threads_until_none_in_managed_allocator):
Move mach/posix resume code to plat specific files.
Rodrigo Kumpera [Fri, 1 Apr 2011 19:14:37 +0000 (16:14 -0300)]
Arch cleanup.
* sgen-gc.c: Remove one silly ifdef by implementing
mono_sgen_suspend_thread on posix.
Rodrigo Kumpera [Fri, 1 Apr 2011 19:10:56 +0000 (16:10 -0300)]
Fix thread restart under mach.
* sgen-gc.c (restart_threads_until_none_in_managed_allocator):
On mach we used to simply call thread_suspend/thread_resume
without updating the thread context, which would result in
sgen getting hang.
Rodrigo Kumpera [Fri, 1 Apr 2011 19:10:12 +0000 (16:10 -0300)]
Extract suspend code from mono_sgen_thread_handshake.
sgen-os-mach.c (mono_sgen_thread_handshake): Extract
suspend code into new function mono_sgen_suspend_thread.
Gonzalo Paniagua Javier [Fri, 1 Apr 2011 19:38:04 +0000 (15:38 -0400)]
[eglib] add missing declaration.
Atsushi Eno [Fri, 1 Apr 2011 19:10:09 +0000 (04:10 +0900)]
A bit less !NET_2_1 and !MOONLIGHT in Sys.ServiceModel.Web.
Jeffrey Stedfast [Fri, 1 Apr 2011 13:47:06 +0000 (09:47 -0400)]
Calculate proper stack size for qsort
Jeffrey Stedfast [Fri, 1 Apr 2011 12:11:11 +0000 (08:11 -0400)]
Implemented non-recursive qsort w/ insertion-sort fallback
Jeffrey Stedfast [Fri, 1 Apr 2011 11:45:43 +0000 (07:45 -0400)]
Soptimize qsort by re-ordering while-loop qualifiers
Atsushi Eno [Fri, 1 Apr 2011 11:39:33 +0000 (20:39 +0900)]
Less !NET_2_1/!MOONLIGHT to improve SL4 WCF compatibility.
Marek Habersack [Fri, 1 Apr 2011 11:33:40 +0000 (13:33 +0200)]
[wcf] Unbreak the build (Assembly.IsDynamic is a 4.0 thing)
Marek Safar [Fri, 1 Apr 2011 11:16:14 +0000 (12:16 +0100)]
[684342] Use correct constant underlying type when detecting decimal value
Marek Safar [Fri, 1 Apr 2011 11:01:43 +0000 (12:01 +0100)]
Check name collision between namespaces and types
Marek Habersack [Fri, 1 Apr 2011 09:53:11 +0000 (11:53 +0200)]
[mvc3] Part of fix for bug #683339. Override more NameValueCollection methods.
Without those overrides, merging collections in System.Web.HttpParamsCollection fails.
Marek Habersack [Fri, 1 Apr 2011 09:51:14 +0000 (11:51 +0200)]
[system] Part of fix for bug #683339. NameValueCollection.Add (NameValueCollection) must call the Get* overloads instead of BaseGet*
Otherwise classes wrapping NameValueCollection will not be able to intercept the Add call which leads to errors in MVC3's
FormCollection.
Atsushi Eno [Fri, 1 Apr 2011 09:23:16 +0000 (18:23 +0900)]
Implement ConfigurationName support for ChannelFactory.
It is required for MoonlightDrtViewer bugfixing.
Zoltan Varga [Fri, 1 Apr 2011 06:20:33 +0000 (08:20 +0200)]
Record parameter names for wrapper methods so they could be seen in xdebug.
Peter Gerbrandt [Fri, 1 Apr 2011 05:17:10 +0000 (14:17 +0900)]
Fix contract description for contracts with deep inheritance hierarchy.
Jeffrey Stedfast [Thu, 31 Mar 2011 22:15:53 +0000 (18:15 -0400)]
Implemented g_qsort_with_data using Quicksort
Alan McGovern [Thu, 31 Mar 2011 19:36:42 +0000 (20:36 +0100)]
[log profiler] Keep correct stats about gchandles
We were not keeping track of allocated/destroyed/alive gchandles in the
log profiler. It only ever reported the number of handles alive at the
end of the profiling run and that was misreported as the output claimed
this was the number of gchandles created.
Rodrigo Kumpera [Thu, 31 Mar 2011 19:08:55 +0000 (16:08 -0300)]
Fix win32 file name canonicalization.
* mono-path.c (mono_path_canonicalize): Properly canonicalize
non UNC paths with an extra backslash. Eg:
c:\foo\\bar was been canonicalized to c:\\foo\bar.
This was breaking assembly loading in some rare cases.
Gonzalo Paniagua Javier [Thu, 31 Mar 2011 18:04:44 +0000 (14:04 -0400)]
[eglib] Implement g_ptr_array_sort_with_data()
Marek Safar [Thu, 31 Mar 2011 17:41:09 +0000 (18:41 +0100)]
Add more checks for invalid attribute arguments
Marek Safar [Thu, 31 Mar 2011 14:07:45 +0000 (15:07 +0100)]
[566531] Fix error message for missing parameter name
Lucas Meijer [Fri, 11 Mar 2011 23:07:53 +0000 (00:07 +0100)]
change documentation to be in the right format for public api, and document the meaning of the different enum values.
Lucas Meijer [Wed, 9 Mar 2011 15:10:19 +0000 (16:10 +0100)]
coding style fix
Lucas Meijer [Wed, 9 Mar 2011 15:01:51 +0000 (16:01 +0100)]
integrate spouliots' feedback
Lucas Meijer [Wed, 9 Mar 2011 09:04:00 +0000 (10:04 +0100)]
implement a relaxed mode of CoreCLR for coreclr users that do not require to be like moonlight 100%
Rolf Bjarne Kvinge [Wed, 30 Mar 2011 23:55:36 +0000 (01:55 +0200)]
Fix many corcompare issues for moonlight
Rolf Bjarne Kvinge [Wed, 30 Mar 2011 22:06:01 +0000 (00:06 +0200)]
System.ServiceModel: make it a lot more compatible with Silverlight
Marek Safar [Thu, 31 Mar 2011 13:58:16 +0000 (14:58 +0100)]
Fix few excessive error reports
Louis Salin [Thu, 31 Mar 2011 03:07:49 +0000 (22:07 -0500)]
TraceData and TraceEvent methods must pass a new instance of TraceEventCache
Louis Salin [Thu, 31 Mar 2011 03:07:05 +0000 (22:07 -0500)]
implement getter and setter for HostContext property
Atsushi Eno [Thu, 31 Mar 2011 12:05:19 +0000 (21:05 +0900)]
Reimplemented XamlXmlReader to make it iterator based, much less stateful.
Also fixed bug #638290 (required lots of state management complication).
Marek Safar [Thu, 31 Mar 2011 10:20:04 +0000 (11:20 +0100)]
Apply module character settings to more attributes
Marek Safar [Thu, 31 Mar 2011 10:00:23 +0000 (11:00 +0100)]
[572365] Make ambiguous predefined types detection even more robust
Rolf Bjarne Kvinge [Thu, 31 Mar 2011 00:21:40 +0000 (02:21 +0200)]
[DateTime]: Fix parsing when the date format can't be deduced from the ShortDate.
Rolf Bjarne Kvinge [Thu, 31 Mar 2011 09:35:48 +0000 (11:35 +0200)]
[corlib]: Don't rebuild vts tests every time 'make run-test' is executed
Rolf Bjarne Kvinge [Thu, 31 Mar 2011 08:35:21 +0000 (10:35 +0200)]
[CultureInfo]: Ensure the tests pass on .NET 4.0, and fix our CultureInfo class accordingly.
Gonzalo Paniagua Javier [Thu, 31 Mar 2011 00:23:14 +0000 (20:23 -0400)]
Revert "Fix a typo in Directory.GetFiles ()"
This reverts commit
5bbd6c23f8c5931788ff11722283384639ffbcf0.
Sebastien Pouliot [Wed, 30 Mar 2011 20:15:17 +0000 (16:15 -0400)]
Add -alt option to makecert to a subjectAltName extension
* man/makecert.1: Add documentation for -alt
* mcs/tools/security/makecert.cs: Add (mono only!) -alt to support
adding a subjectAltName extension in certificates. This allows to
speficy (from a file) a list of DNS entries so a single X.509
certificate can be used/shared for SSL (like all the bots hosts)
Sebastien Pouliot [Wed, 30 Mar 2011 20:09:16 +0000 (16:09 -0400)]
Validate CRL (signature and chain) before importing them into the stores
* crlupdate.cs: Validate CRL (signature and chain) before importing them
into the stores. Also warn if the downloaded CRL is not within its
validity dates.
Sebastien Pouliot [Wed, 30 Mar 2011 19:58:08 +0000 (15:58 -0400)]
Relax X.509 CRL verification if the issuer is a CA
* X509CRL.cs: Relax CRL verification when the issuer is known to be
a CA certificate (basic constraints) and has digitalSignature in it's
key usages (instead of the 'expected' cRLSign)
Sebastien Pouliot [Wed, 30 Mar 2011 18:11:31 +0000 (14:11 -0400)]
Add support for validating RSA-based X.509 certifcates using SHA256
* X509Certificate.cs: Add mappings for 1.2.840.113549.1.1.11
Sebastien Pouliot [Wed, 30 Mar 2011 18:07:30 +0000 (14:07 -0400)]
Avoid ANE when a key algorithm parameters is really null (not just ASN.1 null)
* PublicKey.cs: Avoid an ArgumentNullException when the EndodedParameters
is from (Mono's X509Certificate) public key is null (instead of the more
common ASN.1 null). Fix parsing some certificates, see bnc #682619
Gonzalo Paniagua Javier [Wed, 30 Mar 2011 17:46:25 +0000 (13:46 -0400)]
Typo.
Marek Safar [Wed, 30 Mar 2011 17:33:27 +0000 (18:33 +0100)]
New test
Marek Safar [Wed, 30 Mar 2011 17:32:11 +0000 (18:32 +0100)]
[666033] Fixes Mono.WebBrowser versioning
Marek Safar [Wed, 30 Mar 2011 17:24:29 +0000 (18:24 +0100)]
[377519] Avoid creating forwarding proxies to base methods to satisfy interface requirements
Marek Safar [Wed, 30 Mar 2011 17:16:48 +0000 (18:16 +0100)]
Few 4.0 profile corcompare changes
Marek Safar [Wed, 30 Mar 2011 12:03:33 +0000 (13:03 +0100)]
Tweak methods proxy attributes
Marek Safar [Wed, 30 Mar 2011 11:01:02 +0000 (12:01 +0100)]
[347188] Check referenced assemblies for localized culture
Neale Ferguson [Wed, 30 Mar 2011 16:52:24 +0000 (12:52 -0400)]
Fix big endian issue with cardtable and add code for mono_arch_context_get_int_reg
Zoltan Varga [Wed, 30 Mar 2011 13:39:17 +0000 (15:39 +0200)]
Remove .cvsignore files.
Zoltan Varga [Wed, 30 Mar 2011 13:33:42 +0000 (15:33 +0200)]
.gitignore
Zoltan Varga [Wed, 30 Mar 2011 13:32:35 +0000 (15:32 +0200)]
Pretty print generic instances better in xdebug.
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.
Dick Porter [Wed, 30 Mar 2011 12:01:57 +0000 (13:01 +0100)]
Merge branch 'master' of github.com:mono/mono
Rolf Bjarne Kvinge [Wed, 30 Mar 2011 11:24:40 +0000 (13:24 +0200)]
[io-layer] Make debug spew compile
Dick Porter [Thu, 28 Oct 2010 13:12:42 +0000 (14:12 +0100)]
Enable sgen on Solaris
Martin [Wed, 30 Mar 2011 10:20:33 +0000 (12:20 +0200)]
[asp.net] Fix for bug #658184. AuthorizationRule restores its Action when unmerging.
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
Marek Safar [Wed, 30 Mar 2011 09:05:37 +0000 (10:05 +0100)]
Check XML documentation parameters on all parameters-like member kinds