Gonzalo Paniagua Javier [Sat, 3 Mar 2012 21:43:57 +0000 (16:43 -0500)]
2 fixes for NTLM authentication
-Set the correct flags when the domain is not set. This fixes
authentication with an empty or null domain name.
-Allow domain\user and domain/user as the user name and set domain and
user accordingly.
Zoltan Varga [Sat, 3 Mar 2012 16:16:31 +0000 (17:16 +0100)]
Fix an aot assertion if the monitor fast path wrapper does not exist.
Zoltan Varga [Sat, 3 Mar 2012 16:14:02 +0000 (17:14 +0100)]
Revert "Get rid of the <foo>-static libraries, libtool doesn't know that they need to be compiled only in static mode, so each source file was compiled up to 8 times. Pass -static in the _LDFLAGS for the mono executables instead."
This reverts commit
8e386cce7f723f16624b49b3074b09e3e34da39d.
The libtool convenience libraries only contain the PIC versions of object files, causing fast tls support to fail.
Alex Corrado [Fri, 2 Mar 2012 23:27:25 +0000 (18:27 -0500)]
Fix make dist
Search and replace all the files renamed in
9dd69426
and removed in
70cc60e
Rodrigo Kumpera [Fri, 2 Mar 2012 18:08:04 +0000 (15:08 -0300)]
Fix a mach race condition between a thread triggering a NRE and another aborting the former.
Marek Safar [Fri, 2 Mar 2012 14:17:02 +0000 (14:17 +0000)]
Use simple Convert when storing registry values
Marek Safar [Fri, 2 Mar 2012 13:53:57 +0000 (13:53 +0000)]
Implement some async System.Net.Http methods
Marek Safar [Thu, 1 Mar 2012 18:17:39 +0000 (18:17 +0000)]
Allow await after member access cast.
Marek Safar [Thu, 1 Mar 2012 15:06:32 +0000 (15:06 +0000)]
Add new compiler platform options
Marek Safar [Thu, 1 Mar 2012 14:04:36 +0000 (14:04 +0000)]
Add some new System.Reflection flags
Marek Safar [Thu, 1 Mar 2012 13:26:57 +0000 (13:26 +0000)]
Tweak comparison inside string.Split
Miguel de Icaza [Fri, 2 Mar 2012 15:10:55 +0000 (10:10 -0500)]
Remove footer, since not all docs rendered are by Mono
Miguel de Icaza [Fri, 2 Mar 2012 15:10:20 +0000 (10:10 -0500)]
Revert "Remove footer, since not all docs rendered are by Mono"
This reverts commit
6cd93dd2e8021db7e0f94e32477d019655cab381.
Miguel de Icaza [Fri, 2 Mar 2012 15:09:39 +0000 (10:09 -0500)]
Remove footer, since not all docs rendered are by Mono
Marek Safar [Fri, 2 Mar 2012 13:01:55 +0000 (05:01 -0800)]
Merge pull request #233 from knocte/master
corlib: List's enumerator should not mutate after being disposed
Andres G. Aragoneses [Fri, 2 Mar 2012 12:49:16 +0000 (12:49 +0000)]
corlib: List's enumerator should not mutate after being disposed
List<T>.Enumerator is a struct so current Dispose() implementation was causing mutability on it.
Depending on this behaviour may seem overkill but some codebases may implement IEnumerator<T> themselves by caching the enumerator of their initial readonly list.
Making Dispose() not do anything may seem incorrect, but it is not. For a good read about this, take a look at Stephen Cleary's first comment in:
http://social.msdn.microsoft.com/Forums/en/netfxbcl/thread/
f5a59eac-4a3e-4417-99a8-
83d4a6a9e41d
(Added NUnit tests that demonstrate the issue too.)
For a good example: this fix makes a simple HelloWorld System.Web.IHttpHandler work in Mono within the OpenRasta framework (at least tested with the stable branch).
Atsushi Eno [Thu, 1 Mar 2012 14:51:55 +0000 (23:51 +0900)]
Revert previous non-standard "ends-with" function.
A valid way to do equivalent, from IRC:
[12:05] <eno> miguel: I believe you shouldn't add non-standard "ends-with" as the standard XPath implementation. Use extension framework instead.
[12:05] <eno> regarding https://github.com/mono/mono/commit/
9b07497f9067ab4d3f4a7964f2868c7eafef1b5d
[13:39] <migueld> Seems like it is XPath 2.0
[13:46] <eno> Yes, XPath 2.0 contains that one. .NET implementation is for 1.0.
[13:46] <eno> This would help you to use XSLT extension http://msdn.microsoft.com/en-us/library/tf741884.aspx
[13:47] <eno> or this might be handy: http://msdn.microsoft.com/en-us/library/wxaw5z5e.aspx
[13:49] <eno> Add this under <stylesheet> or <transform> : <msxsl:script language="C#" implements-prefix="x" xmlns:msxsl="urn:schemas-microsoft-com:xslt">public bool ends_with (string s, string target) { return s.EndsWith (target); }</msxsl:script>
[13:49] <eno> and use "x:ends_with(foo, bar)" instead
Marek Safar [Thu, 1 Mar 2012 12:43:54 +0000 (12:43 +0000)]
Better exception message
Marek Safar [Thu, 1 Mar 2012 12:23:22 +0000 (12:23 +0000)]
Don't resolve partial method default parameters twice
Marek Safar [Thu, 1 Mar 2012 11:35:39 +0000 (11:35 +0000)]
Extension methods can also be found in non-static partial classes
Jeremie Laval [Thu, 1 Mar 2012 12:01:57 +0000 (13:01 +0100)]
Fix #3639
The search code was taking care of hash collision for different objects inside the collection but it didn't handle properly the case where the supplied search key has the same hash than a different object inside the collection.
Marek Safar [Thu, 1 Mar 2012 10:53:33 +0000 (10:53 +0000)]
Add one more missing .csproj
Marek Safar [Thu, 1 Mar 2012 10:52:18 +0000 (10:52 +0000)]
Add System.Net.Http to build
Marek Safar [Thu, 1 Mar 2012 09:37:02 +0000 (09:37 +0000)]
Fix --fatal exception throwing
Gonzalo Paniagua Javier [Thu, 1 Mar 2012 08:37:06 +0000 (00:37 -0800)]
Merge pull request #232 from justincc/
159271bfbe2202e1a4b23b7607be60d408f86e40
Generate ServerProtocolViolation If WebConnection.GetResponse() returns -1 in ReadDone()
Miguel de Icaza [Thu, 1 Mar 2012 01:44:17 +0000 (20:44 -0500)]
Add ends-with function to our XPath processor
Justin Clark-Casey [Thu, 1 Mar 2012 01:06:08 +0000 (01:06 +0000)]
If WebConnection.GetResponse() returns -1 in ReadDone() then also treat this as a ServerProtocolViolation rather than failing with an exception later on.
We occasionally see this happen in the OpenSimulator project when web requests are made (the project makes a lot of these).
I'm reasoning that a -1 from GetResponse() also indicates that the response is badly formatted (wrong number of parts or not properly terminated) as well as catching an Exception.
Making this change removes the issues that we see.
Zoltan Varga [Thu, 1 Mar 2012 00:58:20 +0000 (01:58 +0100)]
Fix llvm on x86. Fixes #3689.
Zoltan Varga [Thu, 1 Mar 2012 00:55:24 +0000 (01:55 +0100)]
Fix a warnings.
Zoltan Varga [Wed, 29 Feb 2012 22:52:19 +0000 (23:52 +0100)]
Wrap exceptions thrown by property getters into TargetInvocationExceptions even when using the optimized getter delegates in PropertyInfo.GetValue (). Fixes #3690.
Marek Safar [Wed, 29 Feb 2012 18:08:48 +0000 (18:08 +0000)]
Implement content support for System.Net.Http
Marek Safar [Wed, 29 Feb 2012 17:14:39 +0000 (17:14 +0000)]
Add list of .net 4.5 assemblies
Marek Safar [Wed, 29 Feb 2012 10:21:19 +0000 (10:21 +0000)]
Report less cascading errors
Marek Safar [Mon, 27 Feb 2012 17:17:58 +0000 (17:17 +0000)]
Change few Assertions to Asserts
Zoltan Varga [Wed, 29 Feb 2012 16:50:15 +0000 (17:50 +0100)]
Fix some configure tests so they work with clang.
Zoltan Varga [Wed, 29 Feb 2012 12:04:08 +0000 (13:04 +0100)]
Fix warnings reported by clang.
Zoltan Varga [Wed, 29 Feb 2012 12:03:32 +0000 (13:03 +0100)]
Disable -Wswitch-enum, its part of -Wall for clang.
Marek Safar [Wed, 29 Feb 2012 08:29:18 +0000 (00:29 -0800)]
Merge pull request #231 from linquize/
a853199c497bb0977970974303fac7e42080809d
Add Encoding iso_2022_kr -> euc_kr
Gonzalo Paniagua Javier [Wed, 29 Feb 2012 06:37:59 +0000 (01:37 -0500)]
Add MinimumLength when formatting
Jeffrey Stedfast [Wed, 29 Feb 2012 00:55:43 +0000 (19:55 -0500)]
[Mono.Debugger.Soft] Made Connection disposable.
Jonathan Pryor [Wed, 29 Feb 2012 00:31:02 +0000 (19:31 -0500)]
[System.Data.Services.Client] Compile in string resources.
System.Data.Services.Client uses System.Resources for localization
purposes (even though only one language is provided...). Consequently,
to get _useful_ strings (read: error messages) out of
System.Data.Services.Client, System.Resources needs to be able to find
them, such that the following works:
$ csharp -r:System.Data.Services.Client;
Mono C# Shell, type "help;" for help
Enter statements below.
csharp> using System.Resources;
csharp> using System.Data.Services.Client;
csharp> var a = typeof(SendingRequestEventArgs).Assembly;
csharp> var r = new ResourceManager("System.Data.Services.Client", a);
csharp> r.GetString("AtomMaterializer_PropertyNotExpectedEntry");
If `r.GetString()` fails, it'll throw an exception instead of
returning a useful string, which is bad. Unfortunately, it failed.
To fix this, we use `resgen` to compile
Client/System.Data.Services.Client.txt into a .resources file and
compile the .resources file into the assembly with `gmcs -resource:`,
which allows the above `csharp` fragment to work w/o throwing (and
thus allows OData users to get useful, meaningful error messages).
Alex Corrado [Thu, 15 Sep 2011 17:07:57 +0000 (13:07 -0400)]
Fix prepending $(CURDIR) to paths failing under cygwin
Duncan Mak [Tue, 28 Feb 2012 22:33:36 +0000 (17:33 -0500)]
Fix the .gitattribute file for 'System.Runtime.Remote.Channels.Tcp'.
It was accidentally corrupted by
af53850f.
Zoltan Varga [Tue, 28 Feb 2012 17:53:42 +0000 (18:53 +0100)]
Increase generic trampoline sizes on amd64 to avoid an assertion introduced by
948f06a03f22725233d523302715d71780ee8fa4.
Jonathan Pryor [Mon, 27 Feb 2012 22:37:20 +0000 (17:37 -0500)]
[MonoPosixHelper] Allow MmapFlags.MAP_ANON use on OS X.
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=3419
The problem is that OS X defines MAP_ANON but not MAP_ANONYMOUS, AND
MAP_ANON and MAP_ANONYMOUS have the same value. Furthermore,
create-native-map doesn't have any special support for constants with
the same value, so it emits the validation independently.
The result is that the following fails on OS X:
$ csharp -r:Mono.Posix.dll
csharp> int r;
csharp> using Mono.Unix.Native;
csharp> NativeConvert.TryFromMmapFlags(MmapFlags.MAP_ANONYMOUS, out r);
false
csharp> r;
The (hackish) fix is to provide MAP_ANONYMOUS on OS X, thus allowing
the existing validation logic to work as expected.
Rodrigo Kumpera [Tue, 14 Feb 2012 19:04:12 +0000 (17:04 -0200)]
Let the metadata verifier access the new agressive inlining bit.
Marek Safar [Mon, 27 Feb 2012 16:57:58 +0000 (16:57 +0000)]
Convert some old nunit tests
Zoltan Varga [Mon, 27 Feb 2012 16:14:01 +0000 (17:14 +0100)]
Add stack alignment checking to the amd64 trampolines and align the stack properly in the handler block trampoline. Fixes #2642.
Gonzalo Paniagua Javier [Mon, 27 Feb 2012 15:53:41 +0000 (10:53 -0500)]
DELETE can have a request stream
Fixes bug #3276.
Marek Safar [Mon, 27 Feb 2012 10:23:31 +0000 (10:23 +0000)]
Abstract override does not implement base method. Fixes #3647
Zoltan Varga [Sun, 26 Feb 2012 14:43:18 +0000 (15:43 +0100)]
Load JIT AOT info eagerly when running under sdb, since loading it lazily is not signal safe. Hopefully fixes #3411.
Miguel de Icaza [Fri, 24 Feb 2012 23:47:24 +0000 (18:47 -0500)]
mono: work around an Xcode 4.3/llvm bug with __alignof__ that reported 64-bit values on 32-bit mode to be 64-bit aligned, whicih is not the case
Miguel de Icaza [Fri, 24 Feb 2012 22:46:30 +0000 (17:46 -0500)]
[corlib-tests] If MONO_IOMAP=all, special case the IsPathRooted tests to cope with its semantics
Miguel de Icaza [Fri, 24 Feb 2012 22:22:55 +0000 (17:22 -0500)]
Fix the previous patch
Miguel de Icaza [Fri, 24 Feb 2012 21:14:39 +0000 (16:14 -0500)]
[registry] fix for #3632
Marek Safar [Fri, 24 Feb 2012 15:21:22 +0000 (15:21 +0000)]
Turn LookupExtensionMethod into an instance method
Marek Safar [Fri, 24 Feb 2012 15:00:01 +0000 (15:00 +0000)]
Use correct count length in string split
Marek Safar [Fri, 24 Feb 2012 14:50:12 +0000 (14:50 +0000)]
Add reading from stream support to MonoSymbolFile and clean up Cecil ifdefs
Marek Safar [Fri, 24 Feb 2012 14:43:42 +0000 (14:43 +0000)]
Comment out unused internal call
Marek Safar [Fri, 24 Feb 2012 13:48:08 +0000 (13:48 +0000)]
Make some mcs methods static
Marek Safar [Fri, 24 Feb 2012 13:14:08 +0000 (13:14 +0000)]
Remove some unused code
Marek Safar [Fri, 24 Feb 2012 11:40:41 +0000 (11:40 +0000)]
Remove some string.Empty references
Marek Safar [Fri, 24 Feb 2012 11:17:48 +0000 (11:17 +0000)]
Remove static whitespace characters from string, speed up Split for whitespace characters up to 10x
Marek Safar [Fri, 24 Feb 2012 08:21:12 +0000 (00:21 -0800)]
Merge pull request #228 from QuickJack/
3e163743eda89cc8c239779a75dd245be12aee3c
Fixes a bunch of warnings in System.Configuration
QuickJack [Thu, 23 Feb 2012 22:42:05 +0000 (23:42 +0100)]
Fixes a bunch of warnings in System.Configuration.
Rodrigo Kumpera [Thu, 23 Feb 2012 21:22:23 +0000 (19:22 -0200)]
Fix the guard to disable precise stack scanning on OSX.
Rodrigo Kumpera [Thu, 23 Feb 2012 21:21:30 +0000 (19:21 -0200)]
Properly compute end_data for the nursery section. This makes nursery walking work again.
Rodrigo Kumpera [Thu, 23 Feb 2012 21:19:53 +0000 (19:19 -0200)]
Handle filler objects when walking the nursery.
Marek Safar [Thu, 23 Feb 2012 16:02:55 +0000 (16:02 +0000)]
Fix user currency parsing for core types
Zoltan Varga [Thu, 23 Feb 2012 12:13:55 +0000 (13:13 +0100)]
Add an IsNativeTransition property to StackFrame which marks whenever the frame transitions to native code. Add a GetMethodImplementationFlags () method to MethodMirror. Add a NativeTransitions static property to ThreadMirror which sets whenever GetFrames () should return frames for managed-to-native transitions.
Zoltan Varga [Thu, 23 Feb 2012 11:37:50 +0000 (12:37 +0100)]
Really fix the previous sdb change.
Zoltan Varga [Thu, 23 Feb 2012 11:31:15 +0000 (12:31 +0100)]
Fix the previous sdb change.
Zoltan Varga [Thu, 23 Feb 2012 10:48:34 +0000 (11:48 +0100)]
Add a NATIVE_TRANSITION to StackFrameFlags in sdb, which would allow the debugger to display managed-to-native transitions in stack frames. Not exposed in the API yet.
Marek Safar [Wed, 22 Feb 2012 16:51:46 +0000 (16:51 +0000)]
Fix datetime miliseconds parsing. Fixes #992
Marek Safar [Wed, 22 Feb 2012 15:33:26 +0000 (15:33 +0000)]
Try to recover from incomplete method header. Fixes #3577
Marek Safar [Wed, 22 Feb 2012 14:45:14 +0000 (14:45 +0000)]
Try to recover from incomplete constraint clause. Fixes #3576
Marek Safar [Wed, 22 Feb 2012 11:07:59 +0000 (11:07 +0000)]
Better check for System.Void usage. Fixes #3571
Marek Safar [Tue, 21 Feb 2012 19:43:31 +0000 (19:43 +0000)]
Try to recover from base type syntax error. Fixes #3356
Marek Safar [Tue, 21 Feb 2012 15:20:29 +0000 (15:20 +0000)]
Set unreachable flowanalysis context for unreachable blocks. Fixes #3553
Jeremie Laval [Tue, 21 Feb 2012 14:19:58 +0000 (15:19 +0100)]
[monodoc] Fix previous xpath expression
Jeremie Laval [Tue, 21 Feb 2012 13:33:07 +0000 (14:33 +0100)]
[monodoc] Don't start a parameter constraints list if the constraint is about covariance/contravariance
Miguel de Icaza [Tue, 21 Feb 2012 13:18:00 +0000 (08:18 -0500)]
Update documentation to include Mono.CSharp and Mono.Data.Sqlite
Marek Safar [Tue, 21 Feb 2012 11:27:18 +0000 (11:27 +0000)]
Fix few DateTime parse tests
Marek Safar [Mon, 20 Feb 2012 16:38:15 +0000 (16:38 +0000)]
Implement numbers exponent parsing. Fixes #2516
Marek Safar [Mon, 20 Feb 2012 14:53:15 +0000 (14:53 +0000)]
Make strings PadLeft|PadRight homogeneous
Sebastien Pouliot [Mon, 20 Feb 2012 14:01:59 +0000 (09:01 -0500)]
Allow inheriting and customizing the MarkStep
Sebastien Pouliot [Mon, 20 Feb 2012 14:00:18 +0000 (09:00 -0500)]
There can be more than one base method to consider (e.g. interfaces). Fix from MMP code base.
Marek Safar [Mon, 20 Feb 2012 14:48:29 +0000 (14:48 +0000)]
string.Split method should look for delimiters by performing comparisons using case-sensitive ordinal sort rules. Fixes #3534
Marek Safar [Mon, 20 Feb 2012 14:12:05 +0000 (14:12 +0000)]
Emit debugger hidden attribute for more compiler generated members
Marek Safar [Mon, 20 Feb 2012 09:47:48 +0000 (09:47 +0000)]
Don't write duplicate symbols for partial types
Miguel de Icaza [Sun, 19 Feb 2012 20:58:03 +0000 (15:58 -0500)]
Document the iOS5 specific connection string features
Miguel de Icaza [Sun, 19 Feb 2012 20:29:45 +0000 (15:29 -0500)]
Add the inline docs into the documentation using: mdoc update -i doc.xml -o Documentation/en ../../class/lib/net_4_5/Mono.Data.Sqlite.dll
Miguel de Icaza [Sun, 19 Feb 2012 20:29:04 +0000 (15:29 -0500)]
Add stubs for Mono.Data.Sqlite
Gonzalo Paniagua Javier [Sun, 19 Feb 2012 17:08:57 +0000 (09:08 -0800)]
Merge pull request #226 from petejohanson/uri-templates-unprefixed-wildcard
Fix Bug #658, allowing uri templates with no text preceding a wildcard.
Zoltan Varga [Sun, 19 Feb 2012 15:10:33 +0000 (16:10 +0100)]
Add a Filter property to StepEventRequest allowing the filtering of locations where the single step should stop. Currently only filtering of static cctors is suppored. Part of a fix for #3272.
Zoltan Varga [Sun, 19 Feb 2012 14:54:52 +0000 (15:54 +0100)]
Quiet a debugger test.
Miguel de Icaza [Sun, 19 Feb 2012 02:54:14 +0000 (21:54 -0500)]
Add iOS FileProtection attributes to the Connection String
Sebastien Pouliot [Fri, 17 Feb 2012 21:30:23 +0000 (16:30 -0500)]
merge back definitions from mmp
Sebastien Pouliot [Fri, 17 Feb 2012 21:27:34 +0000 (16:27 -0500)]
Ensure we remove any debugging or configuration items if the assembly is not required
Sebastien Pouliot [Fri, 17 Feb 2012 18:24:12 +0000 (13:24 -0500)]
For MonoTouch we fallback to NSLocale if we can't determine the current RegionInfo using CultureInfo