Commit Graph
87524 Commits
Author SHA1 Message Date
Zoltan Varga 2bc19bd1e8 Allocate a param area in START_HANDLER. Fixes filter-stack.exe on arm 2011-09-20 03:53:52 +02:00
Zoltan Varga e9f4e521fe Fix a timing issue in a test 2011-09-20 03:52:26 +02:00
Jonathan Pryor 77dd97954e [Mono.Options] Don't throw ArgumentOutOfRangeException for trailing whitespace
Trailing whitespace in option description text shouldn't throw an
ArgumentOutOfRangeException.
2011-09-19 15:44:33 -04:00
Marek Safar 11db01b5a1 Add few new 4.5 overloads 2011-09-19 19:34:27 +01:00
Marek Safar e1c66efea8 Add 4.5 readonly collection interfaces 2011-09-19 19:34:27 +01:00
Marek Safar ad78b706d9 Report error about missing async support types 2011-09-19 19:34:26 +01:00
Sebastien Pouliot 13054ea6e0 fix previous fix (wrt #808) 2011-09-19 11:22:36 -04:00
Marek Safar d6b4a3cc3f Move some async types to corlib 2011-09-19 15:01:21 +01:00
Marek Safar b8887fb8c2 Update public corlib api 2011-09-19 15:01:21 +01:00
Michael Hutchinson 4d71a7c977 [Mono.Debugger.Soft] Support custom transports 2011-09-19 13:15:28 +01:00
Marek Safar e85991f322 Allow async block to capture this inside value types 2011-09-19 11:56:41 +01:00
Marek Safar f3c038c952 Better error reporting for special runtime types 2011-09-19 11:56:41 +01:00
Marek Safar 7a4152aedf Update mcs lang version 2011-09-19 11:56:41 +01:00
Marek Safar 72e0ce74cb Better error reporting for async delegates 2011-09-19 11:56:40 +01:00
Sebastien Pouliot d0a0338f4a Fix typo (bug #808) 2011-09-18 10:35:15 -04:00
Sebastien Pouliot 81cd91ebec Expose Dispose under the NET_2_1 based profiles. Fix bug #154 2011-09-18 10:26:13 -04:00
Jonathan Pryor 0b2c04daec [mdoc] Add C#4 default parameter value support. 2011-09-17 10:26:35 -04:00
Jonathan Pryor ac0f91a42b [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.
2011-09-17 10:26:34 -04:00
Paolo Molaro 749c9e7354 GetMarshalledDomainObjRef() is needed also in the 2.1-based profiles for appdomain creation. 2011-09-16 14:07:50 +02:00
Sebastien Pouliot 86b1b8be98 Allow commit/rollback/update events to work under MonoTouch. Fix bug #233 2011-09-15 22:20:11 -04:00
Paolo Molaro d75c928423 Added the new mobile profile to the build. 2011-09-15 17:42:29 +02:00
Gonzalo Paniagua Javier a05c8bebb2 Remove duplicate 'using' statement 2011-09-15 11:34:41 -04:00
Marek Safar 4498a87ff7 Update few async error codes 2011-09-15 16:08:47 +01:00
Marek Safar 2afa23f221 Extension methods cannot be declared on interfaces. Fixes #825 2011-09-15 15:08:24 +01:00
Marek Safar 28cdcddd6c Update test 2011-09-15 13:28:09 +01:00
Marek Safar 3a68d9c2c6 Generate better code for small switch statements 2011-09-15 13:28:09 +01:00
Zoltan Varga d129e6a7f6 Quiet the 'copying selected object files' libtool message 2011-09-15 14:15:57 +02:00
Jonathan Chambers ed95f38d9c Update .gitignore 2011-09-13 21:15:26 -04:00
Gonzalo Paniagua Javier 1eabda3130 Stop lying in the comments 2011-09-13 20:20:04 -04:00
Gonzalo Paniagua Javier 3656ca07da Report compilation errors when the type named in 'class' can't be loaded. 2011-09-13 20:19:24 -04:00
Miguel de Icaza 2852ed0b59 Update copyrights 2011-09-13 18:26:13 -04:00
Rodrigo Kumpera 00e3f277ac 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
2011-09-13 15:03:55 -03:00
Rodrigo Kumpera 4b430482d2 Add logging to sgen-bridge. Log times and sizes. 2011-09-13 15:03:12 -03:00
Tom Hindle 62ed1d1253 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
2011-09-13 17:05:42 +01:00
Rolf Bjarne Kvinge 36469066f5 [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.
2011-09-13 14:07:27 +02:00
Rolf Bjarne Kvinge 6c7d6c034a [System.Data] Properly clone a column's extended properties when cloning a table. Fixes #668. 2011-09-13 13:01:16 +02:00
Marek Safar d4d21db33f Check whether parent struct field is assigned when assigning to child field. Fixes #685916 2011-09-13 11:57:48 +01:00
Marek Safar 3ca49569bc Omit struct flow analysis only when resolving member access expression 2011-09-13 11:57:48 +01:00
Gonzalo Paniagua Javier 795b8cb0d9 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.
2011-09-13 01:22:39 -04:00
Gonzalo Paniagua Javier b96b00cb9d 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.
2011-09-13 00:01:38 -04:00
Sebastien Pouliot 232b6428d8 More fixes for running unit tests under NET_2_1 profile 2011-09-12 10:48:12 -04:00
Miguel de Icaza 8cf313456e 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.
2011-09-09 22:02:56 -04:00
Sebastien Pouliot 0466ae48a3 Adjust corlib unit tests to reduce failures when executed on the NET_2_1 profile 2011-09-09 13:43:15 -04:00
Sebastien Pouliot 97d989fa95 fix FileStream test failures under Mac OSX 2011-09-09 13:41:00 -04:00
Sebastien Pouliot 8d641b33e7 Throwing IsolatedStorageException is a Moonlight-behavior and should not have been exposed to other 2.1 profiles 2011-09-09 13:18:37 -04:00
Sebastien Pouliot 7fad18abb0 Ensure we can roundtrip 'Local' (special case) timezone. Fix bug #326 2011-09-09 11:29:52 -04:00
Sebastien Pouliot 99909e0e61 Return null instead of catching Activator exception (and return null). What was a corner case before is now very common when the linker is used (e.g. monotouch, m4a). Reported in assistly #1741 2011-09-09 10:13:43 -04:00
Marek Safar c77b7033f5 Don't back reference local variable from its info 2011-09-08 15:36:38 +01:00
Marek Safar 6f06e65f5c New tests 2011-09-08 15:36:38 +01:00
Marek Safar 2c3b57a928 Run definitely assigned check on dynamic member access. Fixes #593369 2011-09-08 15:36:38 +01:00