Atsushi Eno [Fri, 9 Mar 2012 09:59:46 +0000 (18:59 +0900)]
Added test case for #3003.
Atsushi Eno [Fri, 9 Mar 2012 09:01:51 +0000 (18:01 +0900)]
part of fix #3003 - attached properties are also subject to SetValue event flow.
Atsushi Eno [Fri, 9 Mar 2012 08:51:35 +0000 (17:51 +0900)]
Part of fix #3003 - use On[Before|After]Properties event on XamlObjectWriterSettings.
Atsushi Eno [Fri, 9 Mar 2012 08:35:08 +0000 (17:35 +0900)]
Part of fix #3033 - support ISupportInitialize and relevant XamlObjectWriterSettings events.
Atsushi Eno [Fri, 9 Mar 2012 07:59:57 +0000 (16:59 +0900)]
Part of fix #3003 - events do not prevent invoker setter unless Handled is true. Also use parent object as eventSender.
Atsushi Eno [Fri, 9 Mar 2012 05:43:24 +0000 (14:43 +0900)]
lookup interface implementation of "Add" method. Fixed bug #2980.
Zoltan Varga [Fri, 9 Mar 2012 04:03:52 +0000 (05:03 +0100)]
Fix the previous change.
Zoltan Varga [Fri, 9 Mar 2012 03:06:40 +0000 (04:06 +0100)]
Allow mono_lookup_internal_call () to return the dynamically registered icalls even if the icall tables are disabled.
Zoltan Varga [Fri, 9 Mar 2012 01:47:26 +0000 (02:47 +0100)]
Add a few cominterop icalls stuff for the DISABLE_COM case.
Zoltan Varga [Thu, 8 Mar 2012 23:08:37 +0000 (00:08 +0100)]
Fix LLVM type mapping so classes and generic instances are mapped to the same type.
Zoltan Varga [Thu, 8 Mar 2012 22:09:42 +0000 (23:09 +0100)]
Add a configure option to make all icalls non-static. Add another option to disable the icall tables.
Marek Habersack [Thu, 8 Mar 2012 22:12:30 +0000 (14:12 -0800)]
Merge pull request #234 from kripper/master
Fixes Bug #333898 / Fixes Bug of losing ASP.NET sessions (InProcSessions) when using Phalanger with Mono
Gonzalo Paniagua Javier [Thu, 8 Mar 2012 19:30:04 +0000 (14:30 -0500)]
Fix multiple async accepts
Running multiple BeginAccepts or AcceptAsync at the same time on the
same socket requires serialization.
Fixes bug #3805.
Gonzalo Paniagua Javier [Thu, 8 Mar 2012 18:05:21 +0000 (13:05 -0500)]
Initialize struct
Gonzalo Paniagua Javier [Thu, 8 Mar 2012 17:23:12 +0000 (12:23 -0500)]
Just in case...
Gonzalo Paniagua Javier [Thu, 8 Mar 2012 17:21:42 +0000 (12:21 -0500)]
Remove warning
Gonzalo Paniagua Javier [Thu, 8 Mar 2012 16:22:51 +0000 (11:22 -0500)]
ReadTimeout and WriteTimeout
They were returning a 0 timeout when it should be Infinite.
Jeremie Laval [Thu, 8 Mar 2012 16:35:55 +0000 (16:35 +0000)]
[mdoc] Properly recognize external img resources
Atsushi Eno [Thu, 8 Mar 2012 13:42:10 +0000 (22:42 +0900)]
bugfix #3231 - when XmlWriterSettings specifies Indent, some WriteWhitespace() is ignored.
J. Christopher Pereira [Thu, 8 Mar 2012 10:28:43 +0000 (05:28 -0500)]
Update mcs/class/System.Web/System.Web.SessionState_2.0/SessionStateModule.cs
Atsushi Eno [Thu, 8 Mar 2012 09:25:58 +0000 (18:25 +0900)]
Fix XLinq decimal value formatting to become invariant. Fixed bug #3634.
Atsushi Eno [Thu, 8 Mar 2012 09:11:30 +0000 (18:11 +0900)]
Revert previous XPath fix. Fix is rather needed in XPathNodeIterator.GetEnumerator().
The thing is, XPathNodeIterator itself is stateful and does not behave
like IEnumerable, thus GetEnumerator() should not iterate nodes within
*itself*. Rather, it should have returned a clone of it.
After all we didn't have to damage performance to fix bug #3705, which is nice.
Marek Safar [Wed, 7 Mar 2012 16:26:57 +0000 (16:26 +0000)]
Add better errors for async
Atsushi Eno [Thu, 8 Mar 2012 08:32:16 +0000 (17:32 +0900)]
Reuse of XPathNavigator instance is error-prone. Fixed bug #3705. This may significantly harm performance though...
Zoltan Varga [Wed, 7 Mar 2012 17:11:06 +0000 (18:11 +0100)]
Add AOT support for calling icalls directly without going through the GOT.
Alex Corrado [Wed, 7 Mar 2012 23:15:21 +0000 (18:15 -0500)]
Fix make dist after the reorganization of the msvc project files
Alex Corrado [Wed, 7 Mar 2012 21:24:47 +0000 (16:24 -0500)]
Disable running commits-to-changelog.py as part of 'make dist' because it causes wrench to timeout
Zoltan Varga [Wed, 7 Mar 2012 20:53:37 +0000 (12:53 -0800)]
Merge pull request #239 from joncham/msvc-updates
Msvc updates
Jonathan Chambers [Wed, 7 Mar 2012 20:34:38 +0000 (15:34 -0500)]
Merge remote-tracking branch 'local/msvc-updates' into msvc-updates
Jonathan Chambers [Wed, 7 Mar 2012 20:07:49 +0000 (15:07 -0500)]
Rework vcxproj files to match Makefile based build. Build libmonoutils and libmonoruntime seperate from libmono. Initial work on building sgen enabled mono with VS.
Jonathan Chambers [Wed, 7 Mar 2012 02:54:35 +0000 (21:54 -0500)]
Add platform TARGET_* macros to winconfig.h instead of setting in VS project file.
Jonathan Chambers [Wed, 7 Mar 2012 02:53:14 +0000 (21:53 -0500)]
Check for _WIN32 in addition to __WIN32__.
Jonathan Chambers [Wed, 7 Mar 2012 02:49:43 +0000 (21:49 -0500)]
Check for TARGET_* defines in addition to compiler specific arch defines.
Jonathan Chambers [Wed, 7 Mar 2012 02:46:51 +0000 (21:46 -0500)]
Wrap #include <unistd.h> inside an #ifdef HAVE_UNISTD_H.
Gonzalo Paniagua Javier [Wed, 7 Mar 2012 01:56:15 +0000 (20:56 -0500)]
Fix rethrow of the interrupted exception
Fixes bug #2483.
Rolf Bjarne Kvinge [Tue, 6 Mar 2012 23:32:53 +0000 (00:32 +0100)]
Mono.Data.Sqlite: Add support for TIMESTAMP / UnixEpoch column. Fixes #638.
Rolf Bjarne Kvinge [Tue, 6 Mar 2012 23:31:23 +0000 (00:31 +0100)]
Mono.Data.Sqlite: Fix type name comparison to compare the entire name, not just a substring.
Zoltan Varga [Tue, 6 Mar 2012 19:39:15 +0000 (20:39 +0100)]
Revert "Move the thread attach code for native-to-managed wrappers to method_to_ir (), instead of emitting it by hand for each architecture. Also make it save/restore the current domain. Fixes #3623."
This reverts commit
9e0ebefabaac4e39043da4137ccc521a272baf9c.
Marek Safar [Tue, 6 Mar 2012 14:08:58 +0000 (14:08 +0000)]
Remove no longer needed explicit -langversion:future argument
Marek Safar [Tue, 6 Mar 2012 13:56:36 +0000 (13:56 +0000)]
Implement C# 5 caller attributes
Marek Safar [Tue, 6 Mar 2012 10:44:46 +0000 (10:44 +0000)]
Clean up parameter modifiers
Marek Safar [Mon, 5 Mar 2012 14:48:20 +0000 (14:48 +0000)]
Add 4.5 Caller attributes
Jonathan Pryor [Tue, 6 Mar 2012 13:08:07 +0000 (08:08 -0500)]
[Mono.Posix] Add UnixFileSystemInfo.TryGetFileSystemEntry()
UnixFileSystemInfo.GetFileSystemEntry() throws a
DirectoryNotFoundException when provided an invalid path (e.g.
/path/to/filename.ext/extra), because lstat(2) returns ENOTDIR.
Add UnixFileSystemInfo.TryGetFileSystemEntry() as a non-throwing
variant which returns the UnixFileSystemInfo as an `out` parameter.
This allows avoiding the exception, if desired.
Jeremie Laval [Tue, 6 Mar 2012 10:18:28 +0000 (10:18 +0000)]
Correct CancellationTokenSource locking. Fix #3756.
Sebastien Pouliot [Tue, 6 Mar 2012 02:35:59 +0000 (21:35 -0500)]
Change MarkStep.MarkMethods visibility to protected
Zoltan Varga [Mon, 5 Mar 2012 23:28:50 +0000 (00:28 +0100)]
Quiet the sgen tests.
Marek Safar [Mon, 5 Mar 2012 22:52:01 +0000 (14:52 -0800)]
Merge pull request #238 from knocte/master
corlib: return a non-empty array if RemoveEmptyEntries is not passed
Miguel de Icaza [Mon, 5 Mar 2012 21:43:44 +0000 (16:43 -0500)]
Revert the change to syslog message formatting, as JonP's code already does escaping in managed code, see: https://github.com/mono/mono/commit/
f49164bf7658855390b2c19574b170f8728a99ff#commitcomment-
1044747
Andres G. Aragoneses [Mon, 5 Mar 2012 20:50:58 +0000 (20:50 +0000)]
corlib: Simplify logic for String.Empty.Split(char[], RemovEmptyEntries)
Simplified as per Marek Safar's suggestion.
Andres G. Aragoneses [Mon, 5 Mar 2012 18:32:09 +0000 (18:32 +0000)]
corlib: return a non-empty array if RemoveEmptyEntries is not passed
Keep the previously correct behaviour about returning new String[1]{Empty} if StringSplitOptions.RemoveEmptyEntries is not passed, and add a test for it (it wasn't being tested before).
Marek Safar [Mon, 5 Mar 2012 18:29:44 +0000 (10:29 -0800)]
Merge pull request #237 from knocte/master
corlib: String.Split() now returns empty array too for Empty when splitting chars
Andres G. Aragoneses [Mon, 5 Mar 2012 18:08:26 +0000 (18:08 +0000)]
corlib: String.Split() now returns empty array too for Empty when splitting chars
String.Empty.Split(char[]) didn't have the same behaviour as String.Empty.Split(string[]).
Marek Safar [Mon, 5 Mar 2012 14:13:23 +0000 (14:13 +0000)]
Update to the latest IKVM.Reflection
Marek Safar [Mon, 5 Mar 2012 13:28:30 +0000 (13:28 +0000)]
Fix symbol file entry for using dispose call
Marek Safar [Mon, 5 Mar 2012 11:29:36 +0000 (11:29 +0000)]
Move remaining compiler settings out of temporary report printer
Marek Safar [Mon, 5 Mar 2012 11:27:53 +0000 (11:27 +0000)]
Better error message for misused namespace simple name. Fixes #3737
Marek Safar [Mon, 5 Mar 2012 10:11:16 +0000 (10:11 +0000)]
Update mcs translations
Marek Safar [Mon, 5 Mar 2012 10:05:18 +0000 (10:05 +0000)]
Remove old dmcs project
Marek Safar [Mon, 5 Mar 2012 09:46:29 +0000 (01:46 -0800)]
Merge pull request #235 from plobsing/cs0656-bug
CS0656 Bug
Zoltan Varga [Sun, 4 Mar 2012 19:51:00 +0000 (20:51 +0100)]
Move the thread attach code for native-to-managed wrappers to method_to_ir (), instead of emitting it by hand for each architecture. Also make it save/restore the current domain. Fixes #3623.
Marek Safar [Sun, 4 Mar 2012 19:47:37 +0000 (11:47 -0800)]
Merge pull request #236 from plobsing/mmf-view-bug
MemoryMappedFile view accessor bug
Peter Lobsinger [Sun, 4 Mar 2012 16:02:50 +0000 (11:02 -0500)]
Limit ReadArray to only reading up to the requested number of elements.
Peter Lobsinger [Sun, 4 Mar 2012 05:02:37 +0000 (00:02 -0500)]
Add test for System.IO.MemoryMappedFiles.MemoryMappedViewAccessor.ReadArray().
Peter Lobsinger [Sun, 4 Mar 2012 00:46:36 +0000 (19:46 -0500)]
Provide a TypeParameter object when constructing the typespecs on the method signature of compiler-required method System.Threading.Interlocked.CompareExchange<T>.
Peter Lobsinger [Sun, 4 Mar 2012 00:45:01 +0000 (19:45 -0500)]
Add test for missing compiler-required method System.Threading.Interlocked.CompareExchange<T>.
kripper [Sun, 4 Mar 2012 00:42:46 +0000 (19:42 -0500)]
Fixes BUG https://github.com/mono/mono/pull/229#issuecomment-
4212737
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