Marek Safar [Tue, 27 Sep 2011 10:48:21 +0000 (11:48 +0100)]
Another build profile version fix
Marek Safar [Tue, 27 Sep 2011 09:49:41 +0000 (10:49 +0100)]
Remove 2.0 reference from 4.0 profile xbuild
Marek Safar [Tue, 27 Sep 2011 09:23:32 +0000 (10:23 +0100)]
Use correct version of xbuild 4.0 targets
Rodrigo Kumpera [Mon, 26 Sep 2011 22:19:58 +0000 (19:19 -0300)]
Split bridge processing in two steps.
* sgen-bridge.c: Bridge processing must be split in
two steps because the object scanning step must be done
with world stop and before we copy the finalizable objects
and the ones pointed by them.
Rodrigo Kumpera [Mon, 26 Sep 2011 21:26:31 +0000 (18:26 -0300)]
Fix the interation of non tracking weak refs and ephemerons.
* sgen-gc.c (finish_gray_stack): We must process ephemerons
before we check for non track weak refs to make sure we mark
those values whose only root are their keys.
Marek Safar [Mon, 26 Sep 2011 21:36:32 +0000 (22:36 +0100)]
Fix another framework version check
Marek Safar [Mon, 26 Sep 2011 14:47:58 +0000 (15:47 +0100)]
Clean up mixed tabs and spaces
Rodrigo Kumpera [Mon, 26 Sep 2011 19:40:58 +0000 (16:40 -0300)]
Fix a bunch of data races.
Rodrigo Kumpera [Mon, 26 Sep 2011 19:40:39 +0000 (16:40 -0300)]
Fix enter/exit critical region visibility.
Rodrigo Kumpera [Mon, 26 Sep 2011 19:39:28 +0000 (16:39 -0300)]
Complete acquire/release ops. Make acquire/release have ECMA sematics.
Jonathan Pryor [Mon, 26 Sep 2011 18:22:49 +0000 (14:22 -0400)]
[mdoc-update] Properly implement C#4 dynamic support.
The `dynamic` support in
d80fadf was incomplete, in that it would only
find `dynamic` types, and not generic types, e.g.
`Dictionary<string, dynamic>` would be declared as
`Dictionary<string, object>`.
To figure this out, we need to read the
DynamicAttribute.TransformFlags value, which is a bool[] which
specifies which types in the depth-first traversal of the type should
be `dynamic` instead of the actual type, e.g. for
Dictionary<string,object> the bool[] is {false, false, true}.
This requires that we pass a "context" object whenever we have the
"root" of the object, so that we can properly count the depth-first
generic type traversal and generate an appropriate declaration.
Jonathan Pryor [Mon, 26 Sep 2011 18:20:05 +0000 (14:20 -0400)]
Run mdoc tests with --debug.
It's more useful to see a stacktrace when things regress. :-)
Marek Safar [Mon, 26 Sep 2011 11:27:51 +0000 (12:27 +0100)]
Don't install resgen when cannot be used
Marek Safar [Mon, 26 Sep 2011 11:26:40 +0000 (12:26 +0100)]
Fix System.Threading.Tasks.Dataflow version info
Marek Safar [Mon, 26 Sep 2011 11:08:01 +0000 (12:08 +0100)]
Install 4.0 profile as developers package and make 4.5 profile default gac target for 4.x
Gonzalo Paniagua Javier [Sun, 25 Sep 2011 06:19:45 +0000 (02:19 -0400)]
Create the first tp thread right away.
Avoid 500ms delay. Fixes Xamarin bug #1036.
Jérémie Laval [Sun, 25 Sep 2011 16:53:56 +0000 (18:53 +0200)]
Move things around in Task and Task_T
Jérémie Laval [Sun, 25 Sep 2011 16:36:02 +0000 (18:36 +0200)]
Optimize more how continuation are registered and executed to avoid extra allocation
Jérémie Laval [Sun, 25 Sep 2011 16:31:45 +0000 (18:31 +0200)]
Mimic simpleAction usage in Task<T> to avoid creating an extra delegate in the simple case
Jérémie Laval [Sun, 25 Sep 2011 16:11:27 +0000 (18:11 +0200)]
Use quicket methods to launch a Task on the threadpool
Jérémie Laval [Sun, 25 Sep 2011 14:17:29 +0000 (16:17 +0200)]
Don't create a delegate each time we use a TaskCompletionSource method
Jérémie Laval [Sun, 25 Sep 2011 10:54:36 +0000 (12:54 +0200)]
Lazy allocate childTasks field in Task
Jérémie Laval [Sun, 25 Sep 2011 10:53:30 +0000 (12:53 +0200)]
Optimize continuation registration for a single ContinueWith.
Jérémie Laval [Sun, 25 Sep 2011 10:25:42 +0000 (12:25 +0200)]
Fix build
Jérémie Laval [Sun, 25 Sep 2011 09:22:51 +0000 (11:22 +0200)]
Fix double adding in ConcurrentDictionary ctor with IEnumerable seed.
Jérémie Laval [Mon, 19 Sep 2011 16:30:25 +0000 (18:30 +0200)]
Fix for #892
Jérémie Laval [Mon, 19 Sep 2011 16:17:56 +0000 (18:17 +0200)]
Fix more argument checking for Task<T>
Jérémie Laval [Mon, 19 Sep 2011 15:33:56 +0000 (17:33 +0200)]
Check that supplied function argument in a Task<T> ctor isn't null
Mark Probst [Sat, 24 Sep 2011 12:39:06 +0000 (14:39 +0200)]
[sgen] If we couldn't evacuate the nursery after a major collection, do a minor collection.
If in the course of a major collection we run out of memory, we might
not be able to evacuate the nursery anymore, which means we'd probably
go into degraded mode soon. It's very likely, however, that memory is
freed again during the sweep phase, so if we do a nursery collection
after the major collection, we should have a clean nursery again.
Mark Probst [Sat, 24 Sep 2011 12:16:56 +0000 (14:16 +0200)]
[sgen] Never directly pin objects on the M&S major heap.
We don't use the pin bit in the M&S heap blocks. If we did that we'd
have to scan them all in the sweep phase, which would not be good
cache behaviour.
Instead, to pin an object we set its mark bit and the block's
has_pinned flag. We'd need to (should) set the latter anyway, to
avoid evicting other objects out of that block.
Sebastien Pouliot [Sat, 24 Sep 2011 13:35:23 +0000 (09:35 -0400)]
Provide binding for sqlite3_config to allow setting the threading model. Fix bug #652
Zoltan Varga [Sat, 24 Sep 2011 01:21:45 +0000 (03:21 +0200)]
Fix the namespace of a corlib test and quiet some tests.
Marek Safar [Fri, 23 Sep 2011 21:52:39 +0000 (22:52 +0100)]
Add missing RabbitMW source
Marek Safar [Fri, 23 Sep 2011 18:56:46 +0000 (19:56 +0100)]
Add extra 4.5 conditional
Marek Safar [Fri, 23 Sep 2011 18:53:26 +0000 (19:53 +0100)]
Update gitignore
Marek Safar [Fri, 23 Sep 2011 18:37:04 +0000 (19:37 +0100)]
Introduce separate .net 4.5 profile
Marek Safar [Thu, 22 Sep 2011 17:26:01 +0000 (18:26 +0100)]
Update test with timeout
Marek Safar [Thu, 22 Sep 2011 17:25:25 +0000 (18:25 +0100)]
Use correct expression for infered default value argument. Fixes #983
Marek Safar [Thu, 22 Sep 2011 16:10:44 +0000 (17:10 +0100)]
Add a few new async stream methods
Marek Safar [Wed, 21 Sep 2011 16:11:13 +0000 (17:11 +0100)]
Make CancellationToken more lightweight and fix few bugs in it
Rolf Bjarne Kvinge [Wed, 21 Sep 2011 21:14:33 +0000 (23:14 +0200)]
[Microsoft.Build] Stub out a few types to make nuget run.
Gonzalo Paniagua Javier [Wed, 21 Sep 2011 11:37:59 +0000 (07:37 -0400)]
Return the right empty collection in ParseQueryString.
Fixes Xamarin bug #970.
Sebastien Pouliot [Wed, 21 Sep 2011 15:17:46 +0000 (08:17 -0700)]
Merge pull request #173 from juhovh/master
Bug in HMACSHA384 and HMACSHA512 calculation
Juho Vähä-Herttua [Wed, 21 Sep 2011 14:16:01 +0000 (17:16 +0300)]
Fix HMACSHA384 and HMACSHA512 for key length of [65, 128] bytes.
Marek Safar [Wed, 21 Sep 2011 08:26:25 +0000 (09:26 +0100)]
Remove few compiler workarounds
Marek Safar [Wed, 21 Sep 2011 08:24:28 +0000 (09:24 +0100)]
Fix build for 4.0 rtm
Miguel de Icaza [Wed, 21 Sep 2011 06:00:07 +0000 (02:00 -0400)]
Fix the build, resolve the ambiguity
Marek Safar [Tue, 20 Sep 2011 18:01:01 +0000 (19:01 +0100)]
Add more task awaiters and optimize existing ones by using new overloads
Miguel de Icaza [Tue, 20 Sep 2011 02:53:17 +0000 (22:53 -0400)]
Fix my profiler loader.
This is what happens when you test on a pre-configured environment that
already worked fine. This depended on a function that was never called
so we ended up probing for paths on NULL (repeating the same process twice)
instead of loading the profiler from the installation directory.
Miguel de Icaza [Wed, 31 Aug 2011 03:49:33 +0000 (23:49 -0400)]
Update copyrights
Zoltan Varga [Tue, 20 Sep 2011 02:08:05 +0000 (04:08 +0200)]
Fix warnings.
Zoltan Varga [Tue, 20 Sep 2011 00:30:36 +0000 (02:30 +0200)]
Fix the ObjRefs sdb test
Zoltan Varga [Mon, 19 Sep 2011 23:40:18 +0000 (01:40 +0200)]
Fix debugger invokes when using soft breakpoints on arm, fix setting values in registers
Zoltan Varga [Tue, 20 Sep 2011 02:00:14 +0000 (04:00 +0200)]
Implement the new interrupt machinery for ARM
Zoltan Varga [Mon, 19 Sep 2011 23:38:55 +0000 (01:38 +0200)]
Call ensure_synch_cs_set () in thread_cleanup () too, it is needed when disposing the debugger thread
Zoltan Varga [Thu, 15 Sep 2011 23:07:43 +0000 (01:07 +0200)]
Allocate a param area in START_HANDLER. Fixes filter-stack.exe on arm
Zoltan Varga [Tue, 6 Sep 2011 21:06:03 +0000 (23:06 +0200)]
Fix a timing issue in a test
Jonathan Pryor [Mon, 19 Sep 2011 19:43:41 +0000 (15:43 -0400)]
[Mono.Options] Don't throw ArgumentOutOfRangeException for trailing whitespace
Trailing whitespace in option description text shouldn't throw an
ArgumentOutOfRangeException.
Marek Safar [Mon, 19 Sep 2011 18:33:56 +0000 (19:33 +0100)]
Add few new 4.5 overloads
Marek Safar [Mon, 19 Sep 2011 15:56:52 +0000 (16:56 +0100)]
Add 4.5 readonly collection interfaces
Marek Safar [Mon, 19 Sep 2011 15:20:57 +0000 (16:20 +0100)]
Report error about missing async support types
Sebastien Pouliot [Mon, 19 Sep 2011 15:22:36 +0000 (11:22 -0400)]
fix previous fix (wrt #808)
Marek Safar [Mon, 19 Sep 2011 14:00:15 +0000 (15:00 +0100)]
Move some async types to corlib
Marek Safar [Mon, 19 Sep 2011 11:46:11 +0000 (12:46 +0100)]
Update public corlib api
Michael Hutchinson [Mon, 19 Sep 2011 12:14:47 +0000 (13:14 +0100)]
[Mono.Debugger.Soft] Support custom transports
Marek Safar [Fri, 16 Sep 2011 12:11:37 +0000 (13:11 +0100)]
Allow async block to capture this inside value types
Marek Safar [Fri, 16 Sep 2011 10:56:48 +0000 (11:56 +0100)]
Better error reporting for special runtime types
Marek Safar [Fri, 16 Sep 2011 09:20:20 +0000 (10:20 +0100)]
Update mcs lang version
Marek Safar [Fri, 16 Sep 2011 08:44:28 +0000 (09:44 +0100)]
Better error reporting for async delegates
Sebastien Pouliot [Sun, 18 Sep 2011 14:35:15 +0000 (10:35 -0400)]
Fix typo (bug #808)
Sebastien Pouliot [Sun, 18 Sep 2011 14:26:13 +0000 (10:26 -0400)]
Expose Dispose under the NET_2_1 based profiles. Fix bug #154
Jonathan Pryor [Sat, 17 Sep 2011 02:01:07 +0000 (22:01 -0400)]
[mdoc] Add C#4 default parameter value support.
Jonathan Pryor [Sat, 17 Sep 2011 02:00:17 +0000 (22:00 -0400)]
[mdoc-net] Copy 2.0 assemblies for .NET support.
mdoc.exe is built against the 2.0 profile, so copying 4.0 support
assemblies results in runtime errors under .NET.
Paolo Molaro [Fri, 16 Sep 2011 12:07:07 +0000 (14:07 +0200)]
GetMarshalledDomainObjRef() is needed also in the 2.1-based profiles for appdomain creation.
Sebastien Pouliot [Fri, 16 Sep 2011 02:20:11 +0000 (22:20 -0400)]
Allow commit/rollback/update events to work under MonoTouch. Fix bug #233
Paolo Molaro [Thu, 15 Sep 2011 15:41:20 +0000 (17:41 +0200)]
Added the new mobile profile to the build.
Gonzalo Paniagua Javier [Thu, 15 Sep 2011 15:33:59 +0000 (11:33 -0400)]
Remove duplicate 'using' statement
Marek Safar [Thu, 15 Sep 2011 15:08:47 +0000 (16:08 +0100)]
Update few async error codes
Marek Safar [Thu, 15 Sep 2011 14:06:49 +0000 (15:06 +0100)]
Extension methods cannot be declared on interfaces. Fixes #825
Marek Safar [Thu, 15 Sep 2011 12:27:35 +0000 (13:27 +0100)]
Update test
Marek Safar [Wed, 14 Sep 2011 14:45:08 +0000 (15:45 +0100)]
Generate better code for small switch statements
Zoltan Varga [Thu, 15 Sep 2011 12:15:57 +0000 (14:15 +0200)]
Quiet the 'copying selected object files' libtool message
Jonathan Chambers [Wed, 14 Sep 2011 01:11:00 +0000 (21:11 -0400)]
Update .gitignore
Gonzalo Paniagua Javier [Wed, 14 Sep 2011 00:20:04 +0000 (20:20 -0400)]
Stop lying in the comments
Gonzalo Paniagua Javier [Wed, 14 Sep 2011 00:18:30 +0000 (20:18 -0400)]
Report compilation errors when the type named in 'class' can't be loaded.
Miguel de Icaza [Mon, 12 Sep 2011 23:31:09 +0000 (19:31 -0400)]
Update copyrights
Rodrigo Kumpera [Tue, 13 Sep 2011 17:15:10 +0000 (14:15 -0300)]
Avoid duplicates in the SSC xrefs.
* sgen-brige.c (scc_add_xref): Make sure that the xref
array is kept sorted by doing sorted insertion for single elements
and merging for a pair of lists.
This avoids degenerated cases where performance of the dfs2 step
goes unbound and slows us down significantly.
Fixes bxc #496
Rodrigo Kumpera [Tue, 13 Sep 2011 17:48:45 +0000 (14:48 -0300)]
Add logging to sgen-bridge. Log times and sizes.
Tom Hindle [Tue, 13 Sep 2011 16:05:42 +0000 (17:05 +0100)]
Store current threads Synchronization Context, if present, on ComObject
creation so that in its finalizer ReleaseInterfaces is called on the correct
thread.
Fixes bug #672879
Rolf Bjarne Kvinge [Tue, 13 Sep 2011 12:02:51 +0000 (14:02 +0200)]
[System.Data] Delay column expression evaluation after all the columns have been cloned when cloning a table. Fixes #666.
When cloning a table we loop over all the columns and clone them, but if a column
contains an expression with a reference to a later column, we'll throw an exception
unless we delay the expression compilation until all the columns have been added
to the new table clone.
So I've split out the expression compilation logic from the Expression property setter,
and now the column Clone method only sets the field. The Clone caller is responsible
for calling CompileExpression on the cloned column after adding all the cloned columns to
the cloned table.
Rolf Bjarne Kvinge [Tue, 13 Sep 2011 09:52:11 +0000 (11:52 +0200)]
[System.Data] Properly clone a column's extended properties when cloning a table. Fixes #668.
Marek Safar [Tue, 13 Sep 2011 10:56:19 +0000 (11:56 +0100)]
Check whether parent struct field is assigned when assigning to child field. Fixes #685916
Marek Safar [Fri, 9 Sep 2011 10:06:49 +0000 (11:06 +0100)]
Omit struct flow analysis only when resolving member access expression
Gonzalo Paniagua Javier [Tue, 13 Sep 2011 05:22:39 +0000 (01:22 -0400)]
Delay initialization of the stream until first read
This way uri-based resources are not fetched before they are supposed
to.
Fixes Xamarin bug #762.
Gonzalo Paniagua Javier [Tue, 13 Sep 2011 04:01:38 +0000 (00:01 -0400)]
Internal worker is kept while there is an ongoing operation
When there is an ongoing operation we can't dispose the internal
worker because it might be used by the IO threadpool.
Fixes Novell bug #691076 and Xamarin bug #766.
Sebastien Pouliot [Mon, 12 Sep 2011 14:48:12 +0000 (10:48 -0400)]
More fixes for running unit tests under NET_2_1 profile
Miguel de Icaza [Sat, 10 Sep 2011 02:02:46 +0000 (22:02 -0400)]
Various fixes to the Expression parser, the fixes include:
* Fixes to the SUBSTRING and TRIM function to allow
a wider range of functions to be passed as
parameters. This fixes xamarin #665
* Fix to the Parser.jay grammar to eliminate the
reduce/reduce conflicts.
* Dropping the string concatenation code and instead
use the existing arithmetic addition operator which
also fixes the concatenation operation in the presence
of null values
* Adds the null literal
With the associated test cases.
Sebastien Pouliot [Fri, 9 Sep 2011 17:43:15 +0000 (13:43 -0400)]
Adjust corlib unit tests to reduce failures when executed on the NET_2_1 profile
Sebastien Pouliot [Fri, 9 Sep 2011 17:41:00 +0000 (13:41 -0400)]
fix FileStream test failures under Mac OSX
Sebastien Pouliot [Fri, 9 Sep 2011 17:18:37 +0000 (13:18 -0400)]
Throwing IsolatedStorageException is a Moonlight-behavior and should not have been exposed to other 2.1 profiles