Neale Ferguson [Tue, 13 Mar 2012 23:18:12 +0000 (19:18 -0400)]
Merge branch 'master' of ssh://github.com/mono/mono
Neale Ferguson [Tue, 13 Mar 2012 23:15:29 +0000 (19:15 -0400)]
Enable s390x to use TLS variables like amd64 and x86; Enable sgen tests for s390x
Alex Corrado [Tue, 13 Mar 2012 17:23:42 +0000 (13:23 -0400)]
Final spec file changes for 2.11 packaging. Adds back a couple files that were lost in my last commit.
Gonzalo Paniagua Javier [Tue, 13 Mar 2012 15:57:51 +0000 (11:57 -0400)]
If we read an entire chunk, return it in the next read operation
When waiting for the chunk trailer, we can return the data read
so far.
Rolf Bjarne Kvinge [Tue, 13 Mar 2012 11:37:29 +0000 (12:37 +0100)]
Include System.Collections.Generics.SortedSet in the mobile profile. Fixes #3827.
Marek Safar [Tue, 13 Mar 2012 10:26:12 +0000 (10:26 +0000)]
Add System.Net.Http to spec file
Marek Safar [Tue, 13 Mar 2012 10:23:24 +0000 (10:23 +0000)]
Implement C#5 foreach scope rules
Marek Safar [Tue, 13 Mar 2012 10:22:47 +0000 (10:22 +0000)]
System.Web.Mvc is 2.0 profile only
Marek Safar [Mon, 12 Mar 2012 12:30:43 +0000 (12:30 +0000)]
Add new test
Marek Safar [Mon, 12 Mar 2012 12:29:46 +0000 (12:29 +0000)]
Default parameters are ignored for method group conversion. Fixes #3849
Zoltan Varga [Tue, 13 Mar 2012 00:09:45 +0000 (01:09 +0100)]
Derive a dreg > 0 relation from ldaddr in ABCREM.
Rodrigo Kumpera [Mon, 12 Mar 2012 22:50:48 +0000 (19:50 -0300)]
Properly handle ASLR randomization of the main thread stack on darwin.
Rodrigo Kumpera [Thu, 8 Mar 2012 22:10:15 +0000 (19:10 -0300)]
Under full-aot process the types of method arguments that are called from other methods. Fixes #3735.
* aot-compiler.c: If we call a sharable generic method that takes a parameter that
isn't shareable we must include that type or we risk failing at runtime.
Fixes #3735.
Alex Corrado [Mon, 12 Mar 2012 22:37:55 +0000 (18:37 -0400)]
Add back the 4.0 profile assemblies to the spec.
The 4.0 assemblies are not used at runtime, but the metadata is needed to build against the 4.0 profile.
When there is time, we might consider running mono-cil-strip on these to reduce package size.
Alex Corrado [Mon, 12 Mar 2012 18:51:09 +0000 (14:51 -0400)]
Update mdoc.exe from 2.0 to 4.5 in the spec
Alex Corrado [Mon, 12 Mar 2012 18:44:08 +0000 (14:44 -0400)]
Add unpackaged 4.5 install files to the spec
Marek Safar [Mon, 12 Mar 2012 11:37:24 +0000 (11:37 +0000)]
Update spec file to 4.5 profile
Zoltan Varga [Sun, 11 Mar 2012 18:11:46 +0000 (19:11 +0100)]
Add a string ctor test to objects.cs.
Zoltan Varga [Sun, 11 Mar 2012 18:10:31 +0000 (19:10 +0100)]
Make mono_lookup_internal_call () return ves_icall_System_String_ctor_RedirectToCreateString for string icalls if the icall tables are disabled, since some code depends on it.
Zoltan Varga [Sun, 11 Mar 2012 17:19:22 +0000 (18:19 +0100)]
Fix the previous patch.
Zoltan Varga [Sun, 11 Mar 2012 16:53:43 +0000 (17:53 +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.
Zoltan Varga [Sun, 11 Mar 2012 15:48:56 +0000 (08:48 -0700)]
Merge pull request #242 from NN---/patch-1
Fix Nemerle compilation (Do same as .Net)
Zoltan Varga [Sun, 11 Mar 2012 15:45:42 +0000 (08:45 -0700)]
Merge pull request #243 from konrad-kruczynski/bug3661
Fix for bug #3661.
Konrad M. Kruczynski [Sun, 11 Mar 2012 12:04:43 +0000 (13:04 +0100)]
Fix for bug #3661.
Before this fix midpoint rounding mode was lost in case digits = 0.
Now this case is checked on the managed side and Round2 is only
used for digits > 0.
Marek Safar [Sun, 11 Mar 2012 11:22:05 +0000 (04:22 -0700)]
Merge pull request #240 from idank/master
small doc fix
NN [Sun, 11 Mar 2012 07:07:40 +0000 (09:07 +0200)]
Make code behaving like .Net.
The original discussion is here:
https://bugzilla.novell.com/show_bug.cgi?id=689533
And this is the proposed patch:
https://bugzillafiles.novell.org/attachment.cgi?id=426501
Idan Kamara [Sat, 10 Mar 2012 22:18:58 +0000 (00:18 +0200)]
Fix typo
Sebastien Pouliot [Sat, 10 Mar 2012 16:18:02 +0000 (11:18 -0500)]
Tests from bug #3677 (works on master, fails in MonoTouch)
Zoltan Varga [Sat, 10 Mar 2012 15:44:31 +0000 (16:44 +0100)]
Add basic quoting support to MONO_ENV_OPTIONS. Fixes #792.
Marek Safar [Sat, 10 Mar 2012 10:53:42 +0000 (10:53 +0000)]
Don't build symbol files for profiles never used for execution
Gonzalo Paniagua Javier [Sat, 10 Mar 2012 04:42:30 +0000 (23:42 -0500)]
Add another default format
Patch by Tom Hindle.
Fixes bug #3392.
Alex Corrado [Sat, 10 Mar 2012 02:57:01 +0000 (21:57 -0500)]
Update a couple more tools in the spec that moved 4.0 to 4.5
Alex Corrado [Fri, 9 Mar 2012 23:23:06 +0000 (18:23 -0500)]
Update spec file to reflect tools that moved from the 4.0 to the 4.5 profile
Alex Corrado [Fri, 9 Mar 2012 21:57:36 +0000 (16:57 -0500)]
Add some missing 4.5 xbuild target files to the dist
Duncan Mak [Tue, 6 Dec 2011 01:28:03 +0000 (20:28 -0500)]
Add TimeZoneInfo.MonoTouch.cs so that it's included in dist
Alex Corrado [Fri, 9 Mar 2012 19:56:51 +0000 (14:56 -0500)]
Include the spec file in the tarball
Marek Safar [Fri, 9 Mar 2012 19:36:45 +0000 (19:36 +0000)]
Add missing files from last commit
Jonathan Chambers [Fri, 9 Mar 2012 15:07:11 +0000 (10:07 -0500)]
Fix output names for libmono.vcxproj.
Atsushi Eno [Fri, 9 Mar 2012 14:52:34 +0000 (23:52 +0900)]
Fixed bug #3504 - implemented ValidateEndElement() var argument support.
It is documented in MSDN and I could implement it.
For the actual implementation of object-to-string conversion, I could pick
up dead old XmlValueConverter class from pre-RTM .NET 2.0(!).
It is now added to the sources where applicable.
Marek Safar [Fri, 9 Mar 2012 14:41:05 +0000 (14:41 +0000)]
Remove one of never used icalls
Marek Safar [Fri, 9 Mar 2012 14:04:31 +0000 (14:04 +0000)]
Add more async predefined members
Marek Safar [Thu, 8 Mar 2012 17:36:55 +0000 (17:36 +0000)]
Check out parameter flag correctly
Marek Safar [Thu, 8 Mar 2012 16:09:29 +0000 (16:09 +0000)]
Add new async interfaces
Atsushi Eno [Fri, 9 Mar 2012 12:51:19 +0000 (21:51 +0900)]
Fill XmlSchemaInfo validity for attributes (some were missing). Part of bugfix #3504.
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