Marek Habersack [Fri, 30 Nov 2012 09:59:01 +0000 (01:59 -0800)]
Merge pull request #498 from Unroll-Me/master
Fix HttpContextWrapper.Session when Session State is disabled
Marek Safar [Fri, 30 Nov 2012 08:04:46 +0000 (00:04 -0800)]
Merge pull request #515 from pruiz/syswebrouting-fixes
Fixes xamarin-bug #8646: Inconsistencies with MS.NET on Sys.Web.Routing logic
Rodrigo Kumpera [Thu, 29 Nov 2012 17:47:40 +0000 (12:47 -0500)]
Add stats for cards remarked by the gc and left untouched by the mutator after.
* sgen-cardtable.c: A nursery object might not be promoted if it's pinned
or, unlikely, the major heap is full. Under those circumstances we need
to remark the card and leave the object behind.
With this we can see how many extra cards are kept due to pinning.
Jeremie Laval [Thu, 29 Nov 2012 17:38:15 +0000 (17:38 +0000)]
[monkeydoc] Precise the HelpSource that is tested in the error output
Jeremie Laval [Thu, 29 Nov 2012 17:37:42 +0000 (17:37 +0000)]
[monkeydoc] Robustify EcmaDesc equality checking and fix unit tests
Jeremie Laval [Thu, 29 Nov 2012 17:35:33 +0000 (17:35 +0000)]
[monkeydoc] Due to some existing doc, revert to Ordinal instead of OrdinalIgnoreCase
Mark Probst [Thu, 29 Nov 2012 16:35:34 +0000 (17:35 +0100)]
[tests] Fix pinning in finalizer-exception.cs.
The finalizable object got pinned, so it wouldn't be finalised. Just
recurse a bit and allocate it there.
Pablo Ruiz Garcia [Thu, 29 Nov 2012 16:00:21 +0000 (17:00 +0100)]
Fix style to adhere to mono's coding guidelines.
Jeremie Laval [Thu, 29 Nov 2012 15:21:19 +0000 (15:21 +0000)]
Revert "Revert "[monkeydoc] Remove debug spew""
This reverts commit
783bcfb735b17b48eee7670a896a29dfd6023174.
Jeremie Laval [Thu, 29 Nov 2012 15:20:28 +0000 (15:20 +0000)]
[monkeydoc] Disable now unneeded hack
Jeremie Laval [Thu, 29 Nov 2012 15:19:59 +0000 (15:19 +0000)]
[monkeydoc] Handle more special generation case
Jeremie Laval [Thu, 29 Nov 2012 15:18:52 +0000 (15:18 +0000)]
[monkeydoc] Proxy back GetCachedHelpStream to the right member
Jeremie Laval [Thu, 29 Nov 2012 15:17:01 +0000 (15:17 +0000)]
[monkeydoc] Only calculate internal id if necessary
Jeremie Laval [Thu, 29 Nov 2012 15:14:44 +0000 (15:14 +0000)]
[monkeydoc] Use a map to quickly access zip archive content.
Jeremie Laval [Thu, 29 Nov 2012 15:13:57 +0000 (15:13 +0000)]
[monkeydoc] Avoid variable name clash
Jeremie Laval [Wed, 28 Nov 2012 16:59:48 +0000 (16:59 +0000)]
Revert "[monkeydoc] Remove debug spew"
This reverts commit
8344309a7b2285db8ebb0af5ec8651d6bf02f375.
Jeremie Laval [Wed, 28 Nov 2012 16:59:15 +0000 (16:59 +0000)]
[monkeydoc] Create the summary files in ecma-provider
Jeremie Laval [Wed, 28 Nov 2012 16:58:22 +0000 (16:58 +0000)]
[monkeydoc] Don't mistakenly close the zip out stream when storing text.
Jeremie Laval [Wed, 28 Nov 2012 14:56:46 +0000 (14:56 +0000)]
[monkeydoc] Fill in more details about the node for rendering to work correctly
Jeremie Laval [Wed, 28 Nov 2012 14:55:59 +0000 (14:55 +0000)]
[monkeydoc] Correctly process arguments given to the ecma html-izer
Jeremie Laval [Wed, 28 Nov 2012 14:55:09 +0000 (14:55 +0000)]
[monkeydoc] Enable ecma XML rendering
Jeremie Laval [Wed, 28 Nov 2012 13:36:31 +0000 (13:36 +0000)]
[monkeydoc] Purge extra id parameters in ecma-provider
Jeremie Laval [Wed, 28 Nov 2012 13:36:06 +0000 (13:36 +0000)]
[monkeydoc] Fix generated ecma: url format
Jeremie Laval [Wed, 28 Nov 2012 13:25:21 +0000 (13:25 +0000)]
[Microsoft.Build.Tasks] Put failing test into NotWorking category as they are dependent on environment.
Jeremie Laval [Wed, 28 Nov 2012 11:28:10 +0000 (11:28 +0000)]
[monkeydoc] Use Lucene.Net via a submodule set on their 3.0.3 release
Jeremie Laval [Wed, 28 Nov 2012 11:25:41 +0000 (11:25 +0000)]
[monkeydoc] Implement GetHashCode for EcmaDesc
Jeremie Laval [Wed, 28 Nov 2012 10:40:11 +0000 (10:40 +0000)]
[monkeydoc] Remove hard-copy of Lucene.net
Jeremie Laval [Wed, 28 Nov 2012 10:32:47 +0000 (10:32 +0000)]
[monkeydoc] Remove debug spew
Pablo Ruiz Garcia [Thu, 29 Nov 2012 14:46:49 +0000 (15:46 +0100)]
Fixed routes with CatchAll argument, in order to make them succesfully
match requests with empty (or null) catch-all portion.
Included a couple of unit-tests which pass both here, and on ms.net land.
License: This patch is under MIT/X11 license.
Pablo Ruiz Garcia [Thu, 29 Nov 2012 04:21:37 +0000 (05:21 +0100)]
One line typo bug which passed unoticed on previous commit.
Pablo Ruiz Garcia [Thu, 29 Nov 2012 00:33:55 +0000 (01:33 +0100)]
Fixes xamarin-bug #8646: Inconsistencies with MS.NET on Sys.Web.Routing logic.
This patch fixes some inconsistencies on Sys.Web.Routing between our implementation
and the one found on MS.NET.. Both relating to URL Generation code inside of
Route.GetVirtualPath().
1) When defining a route with a parameter with both a default value and some
constraint, Route.GetVirtualPath() fails to match if no parameter values is specified.
2) HttpMethodConstraint, does not take into account RouteDirection.UrlGeneration.
See: https://bugzilla.xamarin.com/show_bug.cgi?id=8646
License: This patch is under MIT/X11 license.
Rodrigo Kumpera [Wed, 28 Nov 2012 23:12:20 +0000 (18:12 -0500)]
Make each test output to a different file to make it easy to figure out which configuration crashed.
Rodrigo Kumpera [Wed, 28 Nov 2012 23:11:25 +0000 (18:11 -0500)]
Add a domain unloading test to the sgen test suite.
Rodrigo Kumpera [Wed, 28 Nov 2012 23:09:11 +0000 (18:09 -0500)]
Fix GC logging and make output neater.
Rodrigo Kumpera [Wed, 28 Nov 2012 23:07:13 +0000 (18:07 -0500)]
Lazy sweep blocks when walking the heap.
* sgen-marksweep.c (major_iterate_objects): We must lazy sweep blocks
before we enumerate them to correctly account liveness.
Rodrigo Kumpera [Wed, 28 Nov 2012 22:04:27 +0000 (17:04 -0500)]
Make sure we don't corrupt the heap when serializing a unix domain socketaddr.
* socket-io.c (create_object_from_sockaddr): The resulting array size must
be two bytes larger than the sockaddr one since we always serialize the family
kind at the beginning.
This fixes a crash on MD-linux-amd64-mono-sgen-3.0 running unit tests.
Martin Baulig [Wed, 28 Nov 2012 15:04:56 +0000 (16:04 +0100)]
[WCF]: Metadata test improvements.
Only check whether 'System.Web.Services.Binding.Extensions' contains
the policy XmlElement when importing metadata, not when creating it
programmatically.
Zoltan Varga [Wed, 28 Nov 2012 14:28:21 +0000 (15:28 +0100)]
Add some debug logging to lookup_data_table () to help track down why it asserts sometimes.
Zoltan Varga [Wed, 28 Nov 2012 14:24:27 +0000 (15:24 +0100)]
Remove the setup_jit_tls_data () call from mini_init (), it is done later by mono_thread_attach ().
Martin Baulig [Wed, 28 Nov 2012 13:59:23 +0000 (14:59 +0100)]
[WCF]: Add and improve MetadataImport tests.
We now run the same tests from ImportTests.cs three times
using the following profiles:
* We load the metadata from an XML file.
* We create the metadata programmatically.
* We create the metadata programmatically, export it into
XML, then import it back (round-trip).
Martin Baulig [Wed, 28 Nov 2012 11:35:24 +0000 (12:35 +0100)]
[WCF]: Fix accessibility of 'ClientBase<T>.ChannelBase<T>'.
Mark it as 'protected internal' in .NET 4.0 and Monotouch and
'internal' otherwise. According to the MSDN docs, the class
is 'protected' and exists in Silverlight, .NET 4.0 and .4.5.
See http://stackoverflow.com/questions/
13389652/how-to-override-clientbase-createchannel-in-mono-on-ios.
Marek Safar [Wed, 28 Nov 2012 07:35:35 +0000 (23:35 -0800)]
Merge pull request #514 from pmarks/FixNoWarnXBuild
[xbuild] handle <NoWarn> tags of the form <NoWarn>1234, 5678</NoWarn>
Patrick Marks [Wed, 28 Nov 2012 06:28:08 +0000 (22:28 -0800)]
[xbuild] handle <NoWarn> tags of the form <NoWarn>1234, 5678</NoWarn>,
for improved compatibility with msbuild
Rolf Bjarne Kvinge [Fri, 23 Nov 2012 12:07:42 +0000 (13:07 +0100)]
Make WaitHandle.Wait* behave the same wrt WAIT_IO_COMPLETION. Fixes #8566.
Make the all check for exceptions if interrupted, and wait again
with a re-calculated timeout if no exceptions were to be thrown.
This fixes a deadlock in WaitAny, because WaitAny wasn't checking
for exceptions, just re-calculating the timeout. It also makes
the methods behave the same wrt other APC reasons.
Jeremie Laval [Tue, 27 Nov 2012 18:14:57 +0000 (18:14 +0000)]
[monkeydoc] Special case pluralization of 'Property'.
Jeremie Laval [Tue, 27 Nov 2012 17:06:40 +0000 (17:06 +0000)]
[monkeydoc] Correctly instantiate read and write zip handles for ZipStorage.
Jeremie Laval [Tue, 27 Nov 2012 17:06:12 +0000 (17:06 +0000)]
[monkeydoc] Fix ecma doc generation
Jeremie Laval [Tue, 27 Nov 2012 17:04:40 +0000 (17:04 +0000)]
[monkeydoc] Don't allow empty caption or element when creating nodes.
Jeremie Laval [Tue, 27 Nov 2012 16:28:06 +0000 (16:28 +0000)]
[build] Always report full stack-trace when running mdoc in mcs/docs.
Jeremie Laval [Tue, 27 Nov 2012 16:26:30 +0000 (16:26 +0000)]
[System.Windows.Forms] Fix documentation to remove illegal XML characters.
Jeremie Laval [Tue, 27 Nov 2012 13:56:44 +0000 (13:56 +0000)]
[mdoc] Remove obsolete warning
Jeremie Laval [Tue, 27 Nov 2012 13:53:31 +0000 (13:53 +0000)]
[monkeydoc] Allow to set RootTree on HelpSource. Required by mdoc.
Jeremie Laval [Tue, 27 Nov 2012 13:52:56 +0000 (13:52 +0000)]
[monkeydoc] Move Node class to its own file
Jeremie Laval [Tue, 27 Nov 2012 12:23:19 +0000 (12:23 +0000)]
[monkeydoc] Add support for multiple input directory in ecma-provider
Jeremie Laval [Tue, 27 Nov 2012 12:22:10 +0000 (12:22 +0000)]
[monkeydoc] Restore mono.addins provider
Jeremie Laval [Tue, 27 Nov 2012 12:20:46 +0000 (12:20 +0000)]
[monkeydoc] Tiny refactorings
Marek Safar [Tue, 27 Nov 2012 16:48:14 +0000 (08:48 -0800)]
Merge pull request #512 from LogosBible/string_CompareOrdinal
Making the behavior of substring versions of string.CompareOrdinal and s...
Martin Potter [Mon, 26 Nov 2012 18:21:39 +0000 (10:21 -0800)]
Making the behavior of substring versions of string.CompareOrdinal and string.CompareOrdinalCaseInsensitive match Microsoft's implementation.
The MSDN documentation states "Because CompareOrdinal is a static method, strA and strB can be null. If both values are null, the method returns 0 (zero), which indicates that strA and strB are equal. If only one of the values is null, the method considers the non-null value to be greater." Previously, CompareOrdinal and CompareOrdinalCaseInsensitive would throw a NullReferenceException if strA or strB was null.
Marek Safar [Tue, 27 Nov 2012 15:29:28 +0000 (16:29 +0100)]
Use same rule for reference alias identifer as for normal identifiers.
Atsushi Eno [Tue, 27 Nov 2012 10:49:19 +0000 (19:49 +0900)]
fix bug #8533 - more than one user config section should be generated in ApplicationSettingsBase.Save().
Patch by Kei Nakazawa.
Atsushi Eno [Tue, 27 Nov 2012 07:13:30 +0000 (16:13 +0900)]
fix xbc bug #8592: Make sure to reload configuration when Reset() was invoked.
Patch by Kei Nakazawa.
Martin Baulig [Tue, 27 Nov 2012 01:23:11 +0000 (02:23 +0100)]
[WCF]: Implement missing WsdlImporter pieces.
The WsdlImporter can now import Bindings and Endpoints
from the WSDL, currently supporting BasicHttpBinding,
BasicHttpsBinding and NetTcpBinding.
There is also - limited and still experimental - support
for WS-Policy 1.5. I only did the very basic pieces so
far, for instance things like TransportWithMessageCredentials
are not supported yet.
The policy importer will emit lots of warnings via
`MetadataImporter.Errors` (as warnings, not errors) whenever
it encounters something that it doesn't understand and
is also forgiving towards unknown and/or mal-formed
policy assertions.
This behavior is different from the MS runtime, which is
very strict, but there are simply too many missing pieces
to be more pedentic here. Check whether Errors.Count == 0
to see whether all policy assertions have been correctly
imported.
There are also a few metadata samples, which are part of the
new nunit tests. These are currently working:
BasicHttp.xml, BasicHttp_Mtom.xml, BasicHttp_NtlmAuth.xml,
BasicHttp_TransportSecurity.xml, BasicHttps.xml,
BasicHttps_NtlmAuth.xml, NetTcp.xml, NetTcp_TransferMode.xml,
NetTcp_TransportSecurity.xml
There are a few more in the Tests/MetadataTests/Resources/
directory which demonstrate missing pieces.
Martin Baulig [Tue, 27 Nov 2012 00:33:30 +0000 (01:33 +0100)]
[WCF]: BasicHttpBinding API changes for .NET 4.5.
BasicHttpBinding received a few API cleanups and refactorings
in .NET 4.5:
* There is a new abstract HttpBindingBase class and most of
BasicHttpBinding's API has been moved into this new class.
* There is a new BasicHttpsBinding.
* BasicHttpBinding / BasicHttpsBinding now only contain the APIs
which are specific to http / https, the rest now lives in the
new abstract HttpBindingBase.
* Similarly, there's now also HttpBindingBaseElement for the
configuration.
* There is a new BasicHttpsSecurityMode enum, which only contains
'Transport' and 'TransportWithMessageCredential', so you can't
accidentally use an insecure transport.
Martin Baulig [Mon, 26 Nov 2012 23:52:06 +0000 (00:52 +0100)]
[WCF]: New WsdlImporter nunit tests and sample wsdl docs.
This adds a bunch of new nunit tests and sample wsdl docs to
test the import of endpoints and bindings using WsdlImporter.
Marek Safar [Mon, 26 Nov 2012 22:03:05 +0000 (23:03 +0100)]
Don't install MT runtime profile
Rodrigo Kumpera [Mon, 26 Nov 2012 17:02:08 +0000 (12:02 -0500)]
Fix the split nursery to work with the SERIALCOPY_OBJECT_FROM_OBJ optimization.
Rodrigo Kumpera [Mon, 26 Nov 2012 16:50:33 +0000 (11:50 -0500)]
Revert "Revert SERIAL_COPY_OBJECT_FROM_OBJ as it's only benefit is to avoid a remset check"
This re-applies Zoltan's
9c599488867f02f913d9fed50f49df279044408c that introduces SERIAL_COPY_OBJECT_FROM_OBJ.
It avoid some nursery checks for the simple nursery.
Rodrigo Kumpera [Mon, 26 Nov 2012 16:47:30 +0000 (11:47 -0500)]
Revert "Use Zoltan's simpler promotion failure check for the simple nursery."
This reverts commit
fc5b3d68426f0aaf53a960f23e5e0ecbb9de860b.
This broke ssb in std tests.
Jeremie Laval [Mon, 26 Nov 2012 16:47:04 +0000 (16:47 +0000)]
[corlib] Fix MaxConcurrencyLevel and MaxDegreeOfParallelism usage. Fix OOM error introduced in
1f246742d8afd878985b38599e7960accb4f76b3.
Zoltan Varga [Mon, 26 Nov 2012 15:52:33 +0000 (16:52 +0100)]
Mark OP_TAILCALL as a GC call site on x86.
Marek Safar [Mon, 26 Nov 2012 15:28:44 +0000 (16:28 +0100)]
Add DefaultParameterValueAttribute to mobile profiles
Jeremie Laval [Mon, 26 Nov 2012 15:06:24 +0000 (15:06 +0000)]
[monkeydoc] Avoid creating temporary strings in the comparer
Jeremie Laval [Mon, 26 Nov 2012 14:30:43 +0000 (14:30 +0000)]
[monkeydoc] Optimize the tokenizer.
Shave off two seconds of the unit tests but might now be worth the unsafeness in the end. To revert later if that's the case.
Jeremie Laval [Fri, 23 Nov 2012 17:17:31 +0000 (17:17 +0000)]
[monkeydoc] Cache PublicUrl
Jeremie Laval [Fri, 23 Nov 2012 17:18:01 +0000 (17:18 +0000)]
[monkeydoc] Specify StringComparison with StartsWith too
Jeremie Laval [Mon, 26 Nov 2012 12:08:33 +0000 (12:08 +0000)]
[corlib] Pass the right scheduler for worker number calculation. Fix #8559.
Mark Probst [Sun, 25 Nov 2012 10:06:47 +0000 (11:06 +0100)]
[sgen] Switch license of SGen to LGPL2.
We add the new license header to all SGen files we change
from now on.
Zoltan Varga [Sat, 24 Nov 2012 10:12:19 +0000 (11:12 +0100)]
Treat exceptions caught in non-user code as unhandled in sdb.
Zoltan Varga [Sat, 24 Nov 2012 07:15:02 +0000 (08:15 +0100)]
Update URL for the 'Unmanaged code called delegate of type %s which was already garbage collected.' message.
Atsushi Eno [Fri, 23 Nov 2012 19:56:32 +0000 (11:56 -0800)]
Merge pull request #409 from Alkarex/patch-1
Update mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng/RelaxngPattern....
Marek Safar [Fri, 23 Nov 2012 17:23:45 +0000 (18:23 +0100)]
Add new test
Marek Safar [Fri, 23 Nov 2012 17:12:52 +0000 (18:12 +0100)]
Support import of F# extension methods. Fixes #8561
Jeremie Laval [Fri, 23 Nov 2012 15:37:43 +0000 (15:37 +0000)]
[monodoc] Big bro is watching you. Log when someone push a new binary to the server.
Jeremie Laval [Fri, 23 Nov 2012 15:19:35 +0000 (15:19 +0000)]
[monkeydoc] Avoid extra copying of EcmaDesc
Jeremie Laval [Fri, 23 Nov 2012 14:56:15 +0000 (14:56 +0000)]
[monkeydoc] Merge/add monkeydoc to master.
The commit also contains tiny changes to existing xml documentation, restoring docs that were lost and a couple fixes to mdoc/monodoc to cope with the new system.
Zoltan Varga [Fri, 23 Nov 2012 14:49:33 +0000 (15:49 +0100)]
Mark mono_arch_create_llvm_native_thunk () as MONO_LLVM_INTERNAL.
Zoltan Varga [Fri, 23 Nov 2012 11:47:36 +0000 (12:47 +0100)]
Marek Safar [Fri, 23 Nov 2012 11:41:21 +0000 (12:41 +0100)]
Fix MaximumConcurrencyLevel. Fixes #8557
Zoltan Varga [Fri, 23 Nov 2012 11:40:12 +0000 (12:40 +0100)]
Zoltan Varga [Fri, 23 Nov 2012 11:19:14 +0000 (12:19 +0100)]
Fix support for --disable-executables used together with --disable-shared.
Zoltan Varga [Fri, 23 Nov 2012 09:01:10 +0000 (10:01 +0100)]
Add a thunk for calls from LLVM code to native functions on amd64, since the call displacement might exceed 32 bits. Hopefully fixes #8502.
Sebastien Pouliot [Thu, 22 Nov 2012 21:34:47 +0000 (16:34 -0500)]
Do not send IP address as server_name entries and skip non-fatal (warning) alerts when negotiating. Fix bug #8553
Marek Safar [Thu, 22 Nov 2012 14:18:55 +0000 (15:18 +0100)]
Fix public ikvm module location
Zoltan Varga [Thu, 22 Nov 2012 14:03:26 +0000 (15:03 +0100)]
Fix a buffer overflow in the LLVM backend. Fixes #8502.
Marek Safar [Thu, 22 Nov 2012 13:14:24 +0000 (05:14 -0800)]
Merge pull request #510 from bprzygoda/eval_improvements
Fixed Evaluator' GetUsing method by implementing ToString overrides.
Marek Safar [Thu, 22 Nov 2012 13:13:17 +0000 (05:13 -0800)]
Merge pull request #509 from antoniusriha/master
WindowsBase: Add IEditableCollectionViewAddNewItem.cs
bprzygoda [Thu, 22 Nov 2012 09:41:46 +0000 (10:41 +0100)]
Fixed Evaluator' GetUsing method by implementing ToString override for UsingNamespace and Namespace classes.
Antonius Riha [Thu, 22 Nov 2012 09:02:47 +0000 (10:02 +0100)]
[WindowsBase] Add IEditableCollectionViewAddNewItem.cs
Zoltan Varga [Wed, 21 Nov 2012 18:07:35 +0000 (19:07 +0100)]
Fix the clang configure check.
Zoltan Varga [Wed, 21 Nov 2012 18:07:25 +0000 (19:07 +0100)]
Fix a warning.