Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:46:10 +0000 (12:46 +0100)]
Merge branch 'master' of https://github.com/kebby/mono
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:08:48 +0000 (12:08 +0100)]
Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:15:14 +0000 (12:15 +0100)]
Fix error message in Process.CancelErrorRead
Tammo 'kb' Hinrichs [Tue, 18 Mar 2014 11:08:48 +0000 (12:08 +0100)]
Fix Process.CancelErrorRead
Fixed CancelErrorRead throwing an InvalidOperationException because it checked the wrong output stream (probably a cut&paste mistake).
Tammo 'kb' Hinrichs [Wed, 6 Nov 2013 14:55:32 +0000 (15:55 +0100)]
Added tests for Task.WhenAll w/ empty list
Tammo 'kb' Hinrichs [Wed, 6 Nov 2013 12:21:47 +0000 (13:21 +0100)]
Return empty result array when calling Task.WhenAllCore<T> with empty argument list. Fixes #15956
Tammo 'kb' Hinrichs [Wed, 12 Jun 2013 17:52:14 +0000 (19:52 +0200)]
Reverted whitespace changes
Tammo 'kb' Hinrichs [Wed, 8 May 2013 14:34:17 +0000 (16:34 +0200)]
Fix race condition in WebConnectionStream
See https://bugzilla.xamarin.com/show_bug.cgi?id=1553
Alex Rønne Petersen [Sat, 4 May 2013 04:58:32 +0000 (06:58 +0200)]
configure.in: Remove all explicit ARM_FPU_* definitions.
We now properly detect this via the toolchain, so these
explicit definitions are now pointless.
Zoltan Varga [Sat, 4 May 2013 02:19:05 +0000 (04:19 +0200)]
Disable a System.Core test which fails on mt because of linking.
Sebastien Pouliot [Fri, 3 May 2013 18:41:02 +0000 (14:41 -0400)]
Fix build for mobile (ios and android) wrt recent pull request on System.Data
Sebastien Pouliot [Fri, 3 May 2013 17:43:54 +0000 (13:43 -0400)]
Hardcode the use of CFNetwork.GetDefaultProxy for iOS so WebProxy is not required (and can be removed by the linker)
Zoltan Varga [Fri, 3 May 2013 17:50:16 +0000 (19:50 +0200)]
Implement division/remainder in hardware when using armv7s+llvm+thumb.
Martin Baulig [Fri, 3 May 2013 16:36:56 +0000 (18:36 +0200)]
Add facade assemblies to the rpm spec file.
Marek Safar [Fri, 3 May 2013 14:47:06 +0000 (07:47 -0700)]
Merge pull request #628 from pdonald/master
Implemented async methods in System.Data.Common
root [Fri, 3 May 2013 11:56:05 +0000 (11:56 +0000)]
Implemented async methods in System.Data.Common
Martin Baulig [Thu, 2 May 2013 18:56:29 +0000 (20:56 +0200)]
Hmm, 'dist-local: dist-default', maybe ...
Martin Baulig [Thu, 2 May 2013 18:37:39 +0000 (20:37 +0200)]
Fix 'make dist'.
Martin Baulig [Thu, 2 May 2013 18:13:05 +0000 (20:13 +0200)]
Fix linux build (/r:System.Xml, not System.XML).
Martin Baulig [Wed, 13 Mar 2013 22:35:25 +0000 (18:35 -0400)]
Add PCL Facade assemblies.
Aaron Bockover [Thu, 2 May 2013 15:03:27 +0000 (11:03 -0400)]
mac-reachability.c: update for C89isms
In response to Rodrigo's comments on PR 629.
Aaron Bockover [Wed, 1 May 2013 22:10:06 +0000 (18:10 -0400)]
mac-reachability.c: enable for TARGET_IOS
Miguel de Icaza [Wed, 1 May 2013 21:59:41 +0000 (14:59 -0700)]
Merge pull request #627 from abock/master
Support Mac OS X for System.Net.NetworkInformation.NetworkChange
Aaron Bockover [Wed, 1 May 2013 21:49:44 +0000 (17:49 -0400)]
NetworkChange: Support Mac OS X (bcx#12038)
Refactor System.Net.NetworkingInformation in order
to support multiple "providers"; previously only
Linux was ever supported for this API.
This patch provides basic support for Mac OS X
via the SystemConfiguration framework's
SCNetworkReachability API.
bxc#12038
Bojan Rajkovic [Wed, 1 May 2013 21:05:12 +0000 (17:05 -0400)]
Revert "Merge pull request #618 from knocte/aspnet_lru"
This reverts commit
675328ef1686ce884326df89f8c570943e2d20d2, reversing
changes made to
edc181c514ddc082ce44cde69f2272a12e942b88.
Sebastien Pouliot [Wed, 1 May 2013 20:19:44 +0000 (16:19 -0400)]
[ios] throw an TimeZoneNotFoundException if the timezone name is unknown
Sebastien Pouliot [Wed, 1 May 2013 18:48:13 +0000 (14:48 -0400)]
Fix compilation of Variant for iOS: Marshal.GetObjectForIUnknown, like a lot of COM specific methods, is not available for iOS
Sebastien Pouliot [Wed, 1 May 2013 18:30:56 +0000 (14:30 -0400)]
Remove reflection usage to access NSTimeZone for iOS
Atsushi Eno [Wed, 1 May 2013 04:21:45 +0000 (13:21 +0900)]
remove wrong EOLs after Libs: in reactive.pc.in. Third attempt to fix bug #10002.
Alex Rønne Petersen [Tue, 30 Apr 2013 23:18:26 +0000 (16:18 -0700)]
Merge pull request #624 from jbevain-forks/mimemapping
Add new net_4_5 class System.Web.MimeMapping
Zoltan Varga [Tue, 30 Apr 2013 22:51:23 +0000 (00:51 +0200)]
Fix support for reference types in unbox.any in gsharedvt code.
Jb Evain [Tue, 30 Apr 2013 22:34:09 +0000 (00:34 +0200)]
Add new net_4_5 class System.Web.MimeMapping
Alex Rønne Petersen [Tue, 30 Apr 2013 19:32:58 +0000 (12:32 -0700)]
Merge pull request #623 from madewokherd/byrefvariants
Implement reading byref variants.
Vincent Povirk [Mon, 29 Apr 2013 21:36:49 +0000 (16:36 -0500)]
Implement reading byref variants.
This commit is licensed under MIT/X11.
Sebastien Pouliot [Mon, 29 Apr 2013 21:44:07 +0000 (17:44 -0400)]
Avoid potential NRE is the UserCAStore could not be created. ref: desk #33432
Jonathan Pryor [Mon, 29 Apr 2013 18:31:57 +0000 (14:31 -0400)]
Add System.Diagnostics.Switch/etc. to the MOBILE profile.
Followup to:
http://forums.xamarin.com/discussion/comment/11823/#Comment_11823
These are Switches with a labotomy: the MOBILE profile does not
support System.Configuration.dll, so there is no support for
.exe.config files or
System.Diagnostics.DiagnosticsConfigurationHandler.
Consequently these Switches are largely a compatibility/portability
aid: they DO NOT have the full functionality that the desktop
profile affords. Specifically, there is no way to provide an XML
config file that contains the Switch values to use. If you need to set
the Switch values, this MUST be done manually, e.g. through a Switch
constructor's `defaultSwitchValue` parameter or through a property,
e.g. for SourceSwitch:
http://msdn.microsoft.com/en-us/library/w65awck1.aspx
http://msdn.microsoft.com/en-us/library/system.diagnostics.sourceswitch.level.aspx
Marek Safar [Mon, 29 Apr 2013 16:02:58 +0000 (18:02 +0200)]
Run repl in unsafe mode by default
Marek Safar [Mon, 29 Apr 2013 16:00:09 +0000 (18:00 +0200)]
Allow parsing compiler arguments with user specified defaults
Marek Safar [Mon, 29 Apr 2013 15:38:59 +0000 (17:38 +0200)]
Make LocatedToken top level type
Marek Safar [Mon, 29 Apr 2013 15:31:19 +0000 (17:31 +0200)]
Make reusing few expressions easier
Marek Safar [Mon, 29 Apr 2013 14:51:34 +0000 (16:51 +0200)]
Don't throw when trying to parse leading sign number only. Fixes #12008
Marek Safar [Mon, 29 Apr 2013 13:02:01 +0000 (15:02 +0200)]
Don't try to inflate nested types of missing type. Fixes #11996
Marek Safar [Mon, 29 Apr 2013 09:25:17 +0000 (11:25 +0200)]
Revert "Merge pull request #615 from nealef/master"
This reverts commit
ce6acbe4db3caca1d54f08f9758a88a7768ff236, reversing
changes made to
7f0328f12ae9b91c9adc5dd0c9ce0fc770f81a06.
Marek Safar [Fri, 26 Apr 2013 08:25:28 +0000 (10:25 +0200)]
Add anonymous type evaluator test
Rodrigo Kumpera [Mon, 29 Apr 2013 01:34:26 +0000 (21:34 -0400)]
[verifier] Add regression test for the case where the function being used in a delegate returns a variant interface.
Rodrigo Kumpera [Mon, 29 Apr 2013 01:28:55 +0000 (21:28 -0400)]
[verifier]Handle variance correcty when checking delegate parameters.
* verify.c (verifier_class_is_assignable_from): If the target
is a variant interface, check if the candidate is one too that
is a direct match.
Rodrigo Kumpera [Sat, 27 Apr 2013 22:50:05 +0000 (18:50 -0400)]
[verifier] Add regression test for stack merge of boxed valuetypes.
Rodrigo Kumpera [Sat, 27 Apr 2013 22:48:58 +0000 (18:48 -0400)]
[verifier] Properly merge stacks when both ends have the same boxed valuetype.
Fixes System.Data.Services.Client.dll failure on wrench.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:27:01 +0000 (16:27 -0400)]
[verifier]Add test case for #11263.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:25:07 +0000 (16:25 -0400)]
[verifier]A type constraint must be visible to the generic type definition. Fixes #11263.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:24:10 +0000 (16:24 -0400)]
[verifier]Fill in the assembly name so checks for InternalsVisibleTo don't crash.
Rodrigo Kumpera [Sat, 27 Apr 2013 20:23:29 +0000 (16:23 -0400)]
Add mono_class_can_access_class so the verifier can check if one type can access another.
Sebastien Pouliot [Sat, 27 Apr 2013 15:03:16 +0000 (11:03 -0400)]
Avoid using reflection to redirect Console.Write* to NSLog
Sebastien Pouliot [Sat, 27 Apr 2013 15:02:00 +0000 (11:02 -0400)]
Avoid using reflection to initialize RegionInfo from iOS current NSLocale
Zoltan Varga [Sat, 27 Apr 2013 14:18:07 +0000 (16:18 +0200)]
Ignore requests to set breakpoints at il offsets belonging to dead code. Fixes #11880.
Zoltan Varga [Sat, 27 Apr 2013 13:28:19 +0000 (15:28 +0200)]
Fix a warning.
Jonathan Pryor [Sat, 27 Apr 2013 13:30:04 +0000 (09:30 -0400)]
Add System.Diagnostics.Trace to the MOBILE profile.
Requested here:
http://forums.xamarin.com/discussion/3300/rationale-behind-removal-of-system-diagnostics-trace-in-xa-and-xi
Rodrigo Kumpera [Fri, 26 Apr 2013 23:41:40 +0000 (19:41 -0400)]
Revert "The build bots run on Snow Leopard that doesn't have pthread_spis.h. Let's revert this for now until the bots are switched to lion."
This reverts commit
6fb1b1fa551bd4c58fcabbbd22fdc9f7b6685192.
All our bots are now running on Lion or Mountain Lion so we can now happily enjoy this fix.
Marek Safar [Fri, 26 Apr 2013 22:21:27 +0000 (15:21 -0700)]
Merge pull request #621 from andreazevedo/master
Using existing contants
andreazevedo [Fri, 26 Apr 2013 21:49:24 +0000 (18:49 -0300)]
Using existing constant instead of number literal
Miguel de Icaza [Fri, 26 Apr 2013 16:55:22 +0000 (09:55 -0700)]
Merge pull request #615 from nealef/master
Fix incompatibility with .NET's serialization of ObservableCollection
Miguel de Icaza [Fri, 26 Apr 2013 16:48:29 +0000 (09:48 -0700)]
Merge pull request #620 from knocte/monoservice_playground
Little improvements to mono-service land.
Miguel de Icaza [Fri, 26 Apr 2013 16:47:07 +0000 (09:47 -0700)]
Merge pull request #618 from knocte/aspnet_lru
[WebConfigurationManager] Fix memleak by using a LruCache (BXC#5598)
Andres G. Aragoneses [Fri, 26 Apr 2013 16:03:54 +0000 (17:03 +0100)]
[System.Web] Use STDERR instead of STDOUT in LRUcache
As suggested by Marek Habersack
Andres G. Aragoneses [Fri, 26 Apr 2013 15:58:50 +0000 (16:58 +0100)]
[System.Web] Move MONO_ASPNET_WEBCONFIG_CACHESIZE parsing out of LRUcache
Zoltan Varga [Thu, 25 Apr 2013 23:34:43 +0000 (01:34 +0200)]
Avoid creating any new threadpool threads while the runtime is suspended by sdb, since they cannot do any work, causing the code in monitor_thread () to spawn new ones indefinitely. Fixes #6452/11940.
Rodrigo Kumpera [Thu, 25 Apr 2013 22:38:10 +0000 (18:38 -0400)]
When attaching a foreigh thread, make sure we initialize MOnoInternalThread::thread_info.
Duncan Mak [Thu, 25 Apr 2013 22:19:32 +0000 (18:19 -0400)]
Bump version number to 3.0.11
Mark Probst [Thu, 25 Apr 2013 21:32:02 +0000 (14:32 -0700)]
[profiler] Fix sampling timestamp output.
Neale Ferguson [Thu, 25 Apr 2013 21:18:53 +0000 (17:18 -0400)]
Correct call parameter processing for GENERICINST types
Neale Ferguson [Thu, 25 Apr 2013 14:01:14 +0000 (10:01 -0400)]
Add lazy rgctx support to s390x
Rodrigo Kumpera [Thu, 25 Apr 2013 19:56:37 +0000 (15:56 -0400)]
Document the new function and fix a typo on other.
Rodrigo Kumpera [Thu, 25 Apr 2013 19:51:49 +0000 (15:51 -0400)]
Add MonoThreadInfo::runtime_thread so we can know if this thread is managed by the runtime or not.
* mono-threads.h: Add new field to MonoThreadInfo.
* threads.c: New API function mono_thread_is_foreign that allows one to query if a given thread
is foreign or not.
Rodrigo Kumpera [Thu, 25 Apr 2013 18:49:45 +0000 (14:49 -0400)]
On windows, Register/unregister runtime-managed threads from our wrapper.
* driver.c: Don't auto attach all threads, this is the same behavior of
posix and mach. We still auto-detach so we can catch foreign threads that
forgot to do it.
* mono-threads-windows.c: Detach the thread after the thread fun has run to
completion, this ensures we cleanup runtime-managed threads in a saner fashion.
Rodrigo Kumpera [Thu, 25 Apr 2013 18:49:13 +0000 (14:49 -0400)]
Unregister runtime-managed threads before OS cleanup kicks in.
* mono-threads.c:
* mono-threads-posix.c: Explicitly detach a thread from the wrapper
instead of relying on the TLS destructor. This gives a good environment
most of the time for other parts of the runtime to work with.
Rodrigo Kumpera [Thu, 25 Apr 2013 17:59:18 +0000 (13:59 -0400)]
Don't emit thread event twice when explicitly detaching a thread.
Sebastien Pouliot [Thu, 25 Apr 2013 19:24:56 +0000 (15:24 -0400)]
[linker] Move the special marking of serializable types in a virtual method
Sebastien Pouliot [Thu, 25 Apr 2013 19:23:56 +0000 (15:23 -0400)]
Use field for GetObjectData and this (instead of base) for .ctor in SecurityException to help linker remove more code
Marek Safar [Thu, 25 Apr 2013 15:11:06 +0000 (17:11 +0200)]
Better error message
Andres G. Aragoneses [Thu, 25 Apr 2013 13:23:41 +0000 (14:23 +0100)]
[System.ServiceProcess.ServiceController] Remove NET_2_0 ifdefs
Also dropping ONLY_1_1.
Andres G. Aragoneses [Thu, 25 Apr 2013 13:22:23 +0000 (14:22 +0100)]
[mono-service] Report to syslog if ExitCode ended up != 0 after Stop()
In the previous commit, ExitCode was implemented, so we can query it now.
This is useful because many Windows Services nowadays use this variable
to notify about a problem at stop time.
Andres G. Aragoneses [Thu, 25 Apr 2013 13:20:33 +0000 (14:20 +0100)]
[System.ServiceProcess.ServiceBase]: Implement Stop() and ExitCode
Stop() wasn't calling OnStop, so a unit test was added, its basic
functionality was implemented, and MonoTODO is removed.
ExitCode now also stops throwing NIE. A unit test is added to confirm
that ServiceBase class doesn't modify it across runs. This property will
be useful for my next commit in mono-service.cs.
Martin Baulig [Thu, 25 Apr 2013 03:55:21 +0000 (05:55 +0200)]
Trying to fix the opensuse build.
Andres G. Aragoneses [Wed, 24 Apr 2013 23:10:50 +0000 (00:10 +0100)]
[WebConfigurationManager] Reset LRUcache eviction count in Clear()
Andres G. Aragoneses [Wed, 24 Apr 2013 23:01:08 +0000 (00:01 +0100)]
[WebConfigurationManager] Make the max LRUcache size configurable
Using the env var MONO_ASPNET_WEBCONFIG_CACHESIZE, as discussed in BXC#5598
Martin Baulig [Wed, 24 Apr 2013 22:35:56 +0000 (00:35 +0200)]
[monodoc]: Use shell script for jay to support parallel builds.
Zoltan Varga [Wed, 24 Apr 2013 15:00:52 +0000 (17:00 +0200)]
Fix gsharedvt support for gsharedvt methods on shared classes. Fixes #11933.
Andres G. Aragoneses [Wed, 24 Apr 2013 14:04:26 +0000 (15:04 +0100)]
[man] Update mono version 2.11->3.0
Andres G. Aragoneses [Wed, 24 Apr 2013 11:35:26 +0000 (12:35 +0100)]
[System.Web] Coding style nits in LruCache
Alex Rønne Petersen [Wed, 24 Apr 2013 09:18:10 +0000 (02:18 -0700)]
Merge pull request #610 from metanest/tests_gc_descriptors_vpath_build_2013Mar_spike
modify for VPATH builds
Marek Safar [Wed, 24 Apr 2013 08:28:37 +0000 (10:28 +0200)]
Don't check public token on missing references. Fixes #11796
Marek Safar [Wed, 24 Apr 2013 08:26:29 +0000 (10:26 +0200)]
Task.Yield needs to continue on synchronization context if there is any. Fixes #11908
Marek Safar [Tue, 23 Apr 2013 17:15:03 +0000 (19:15 +0200)]
Remove double verification checks
Marek Safar [Tue, 23 Apr 2013 11:41:09 +0000 (13:41 +0200)]
Don't catch aggregate exception handle predicate exceptions. Fixes #11867
Marek Safar [Tue, 23 Apr 2013 10:34:52 +0000 (12:34 +0200)]
Fix quoted values parsing for custom tostring formats. Fixes #11739
Rodrigo Kumpera [Tue, 23 Apr 2013 21:43:28 +0000 (17:43 -0400)]
Another try in fixing the windows build.
Rodrigo Kumpera [Tue, 23 Apr 2013 21:29:16 +0000 (17:29 -0400)]
Fix the build.
Rodrigo Kumpera [Tue, 23 Apr 2013 21:04:17 +0000 (17:04 -0400)]
[sgen] Fix bridge interop missing some xrefs due to improve registration.
* sgen-bridge.c: Split the registration and dfs1 steps so we avoid issues
where an earlier entry that points to a later one would not have a xref
created between them.
First we insert all bridges into the hash table and then we do dfs1.
It must be done in 2 steps since the bridge arrays doesn't come in reverse topological order,
which means that we can have entry N pointing to entry N + 1.
If we dfs1 entry N before N + 1 is registered we'll not consider N + 1 for this bridge
pass and not create the required xref between the two.
Atsushi Eno [Tue, 23 Apr 2013 20:46:48 +0000 (05:46 +0900)]
quick nullref fix for part of bugfix #11916.
Zoltan Varga [Tue, 23 Apr 2013 18:29:29 +0000 (20:29 +0200)]
Clean the domain tls var on all code paths in thread_cleanup ().