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
Sebastien Pouliot [Fri, 9 Sep 2011 15:29:52 +0000 (11:29 -0400)]
Ensure we can roundtrip 'Local' (special case) timezone. Fix bug #326
Sebastien Pouliot [Thu, 8 Sep 2011 14:47:15 +0000 (10:47 -0400)]
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
Marek Safar [Thu, 8 Sep 2011 12:45:28 +0000 (13:45 +0100)]
Don't back reference local variable from its info
Marek Safar [Thu, 8 Sep 2011 12:45:11 +0000 (13:45 +0100)]
New tests
Marek Safar [Wed, 7 Sep 2011 16:54:15 +0000 (17:54 +0100)]
Run definitely assigned check on dynamic member access. Fixes #593369
Miguel de Icaza [Wed, 7 Sep 2011 22:44:10 +0000 (18:44 -0400)]
Fallback: load profiler from the Mono default path. This in particular allows users to run mono --profiler=log foo.exe without having to set anuy environment variables
Marek Safar [Wed, 7 Sep 2011 14:15:41 +0000 (15:15 +0100)]
Fix definitive assignment for imported structs. Fixes #629547
Marek Safar [Wed, 7 Sep 2011 13:51:09 +0000 (14:51 +0100)]
Assign uninitialized out parameter
Marek Safar [Wed, 7 Sep 2011 10:41:21 +0000 (11:41 +0100)]
New tests
Marek Safar [Wed, 7 Sep 2011 10:40:03 +0000 (11:40 +0100)]
Better fix for fixed buffer definite assignment checks. Fixes #619228
Marek Safar [Wed, 7 Sep 2011 09:52:01 +0000 (10:52 +0100)]
Run definitely assigned check on extension method argument. Fixes #518349
Sebastien Pouliot [Wed, 7 Sep 2011 15:16:23 +0000 (11:16 -0400)]
Add null-check on 'partDesc'. Fix bug #612 (WCF regression)
Marek Safar [Wed, 7 Sep 2011 09:12:29 +0000 (10:12 +0100)]
Marek Safar [Wed, 7 Sep 2011 09:04:40 +0000 (10:04 +0100)]
Run definitely assigned check on member access expression where left expression is variable. Fixes #278
Marek Safar [Wed, 7 Sep 2011 08:22:12 +0000 (09:22 +0100)]
Delay foreach variable initialization
Rodrigo Kumpera [Tue, 6 Sep 2011 22:27:45 +0000 (19:27 -0300)]
Let the system figure our permissions instead of doing a poor job at it.
io.c (DeleteFile): We can't forbit a file to be deleted just before
it's mask is not u+w. We should just call unlink and let the kernel
figure out permissions.
We are not SAMBA.
We're not in the job of trying to mingle windows and unix permissions
models so we just let the kernel figure it out and translate the appropriate
errno value to UnauthorizedAccessException.
Jérémie Laval [Tue, 6 Sep 2011 21:53:42 +0000 (23:53 +0200)]
Rework TaskFactory.FromAsync, it was a bit messy.
Jérémie Laval [Tue, 6 Sep 2011 21:52:57 +0000 (23:52 +0200)]
Use a TaskCompletionSource in non-generic ContinueWhenAny case. Fix #647.
Zoltan Varga [Tue, 6 Sep 2011 20:31:48 +0000 (13:31 -0700)]
Merge pull request #169 from madewokherd/master
replace uint with guint
Vincent Povirk [Tue, 6 Sep 2011 19:44:01 +0000 (14:44 -0500)]
Use guint instead of uint.
Rodrigo Kumpera [Tue, 6 Sep 2011 17:22:06 +0000 (14:22 -0300)]
Improve exception message.
Rodrigo Kumpera [Fri, 2 Sep 2011 20:53:50 +0000 (17:53 -0300)]
Add sgen collection pause times to mono trace log.
Marek Safar [Tue, 6 Sep 2011 14:27:59 +0000 (15:27 +0100)]
Fix start location of char literals
Marek Safar [Tue, 6 Sep 2011 12:44:43 +0000 (13:44 +0100)]
Persist char literal value under full ast
Marek Safar [Tue, 6 Sep 2011 12:20:59 +0000 (13:20 +0100)]
Add more async extensions
Marek Safar [Tue, 6 Sep 2011 11:15:30 +0000 (12:15 +0100)]
make test public
Marek Safar [Tue, 6 Sep 2011 10:58:10 +0000 (11:58 +0100)]
Revert part of
4a17e24982852fc0d939 which broke most of existing tests
Marek Safar [Tue, 6 Sep 2011 09:44:43 +0000 (10:44 +0100)]
Remove NET_2_0
Marek Safar [Tue, 6 Sep 2011 09:37:09 +0000 (10:37 +0100)]
Fix ResourceSet regression caused by
4a17e24982852fc0d939
Marek Safar [Tue, 6 Sep 2011 09:26:51 +0000 (10:26 +0100)]
Remove NET_2_0
Marek Safar [Tue, 6 Sep 2011 09:18:40 +0000 (10:18 +0100)]
Fix wrong string unit test
Marek Safar [Tue, 6 Sep 2011 09:05:25 +0000 (10:05 +0100)]
Remove NET_2_0
Marek Safar [Tue, 6 Sep 2011 08:29:40 +0000 (09:29 +0100)]
Don't set NewSlot attribute when base class already implements the interface method and same method exists in derived class
Gonzalo Paniagua Javier [Tue, 6 Sep 2011 01:12:14 +0000 (21:12 -0400)]
Display more debugging info when epoll fails
Gonzalo Paniagua Javier [Tue, 6 Sep 2011 00:49:08 +0000 (20:49 -0400)]
Fallback to poll() if epoll_create() fails
From a patch by Zoltan in bug #705190.
Zoltan Varga [Tue, 6 Sep 2011 02:20:51 +0000 (04:20 +0200)]
Handle threads which die without detaching.
Zoltan Varga [Tue, 6 Sep 2011 02:11:10 +0000 (04:11 +0200)]
Add a few missing cases to event_to_string () in sdb.
Zoltan Varga [Tue, 6 Sep 2011 00:41:49 +0000 (02:41 +0200)]
Remove some unused arguments from mono_arch_handle_exception () / mono_handle_exception ().
Zoltan Varga [Tue, 6 Sep 2011 00:10:04 +0000 (02:10 +0200)]
Implement mono_arch_setup_async_callback () for amd64.
Zoltan Varga [Mon, 5 Sep 2011 22:19:41 +0000 (00:19 +0200)]
Fix a warning.
Zoltan Varga [Mon, 5 Sep 2011 20:12:38 +0000 (22:12 +0200)]
Optimize AOT generics data structures a bit more.
Zoltan Varga [Mon, 5 Sep 2011 18:53:46 +0000 (20:53 +0200)]
Avoid searching out-of-date AOT modules for 'extra' methods.
Zoltan Varga [Mon, 5 Sep 2011 18:32:20 +0000 (20:32 +0200)]
Remove some AOT assertions left in by mistake.
Marek Safar [Mon, 5 Sep 2011 15:43:56 +0000 (16:43 +0100)]
Few corcompare fixes
Marek Safar [Mon, 5 Sep 2011 13:30:06 +0000 (14:30 +0100)]
Resolve conditional expression unreachable expression with unreachable flag set
Marek Safar [Mon, 5 Sep 2011 11:11:41 +0000 (12:11 +0100)]
Unify anonymous method test names
Marek Safar [Mon, 5 Sep 2011 10:55:14 +0000 (11:55 +0100)]
Fix compilation of array initializer used inside field initializer of an anonymous method
Marek Safar [Mon, 5 Sep 2011 09:05:11 +0000 (10:05 +0100)]
Reduced ternary operator expression is allowed as an attribute argument
Marek Safar [Fri, 2 Sep 2011 16:02:11 +0000 (17:02 +0100)]
Remove NET_2_0
Jérémie Laval [Mon, 5 Sep 2011 17:20:31 +0000 (19:20 +0200)]
Revert
12fdfa365c2aa449c132bf0e04f59393792479f0 and save/restore task status to also fix #561.
Zoltan Varga [Sun, 4 Sep 2011 23:54:05 +0000 (01:54 +0200)]
Rework the encoding of classes in AOT to save space for generic instances. This decreases the size of a full-aot mscorlib by about 50k.
Zoltan Varga [Sun, 4 Sep 2011 17:28:39 +0000 (19:28 +0200)]
Improve the name of the proxy isinst wrappers.
Zoltan Varga [Sun, 4 Sep 2011 17:27:36 +0000 (19:27 +0200)]
Compute and print the space used by the GOT entry info among the AOT compiler stats.
Zoltan Varga [Sun, 4 Sep 2011 01:19:33 +0000 (03:19 +0200)]
Implement AppDomain.ResourceResolve. Fixes #579.
Zoltan Varga [Sun, 4 Sep 2011 00:53:37 +0000 (02:53 +0200)]
Print null MonoVTable's correctly in gdb.
Zoltan Varga [Sun, 4 Sep 2011 00:49:57 +0000 (02:49 +0200)]
Fix unwinding through an LMF on ARM.
Marek Safar [Fri, 2 Sep 2011 15:36:16 +0000 (16:36 +0100)]
Implement Stream ReadAsync/WriteAsync
Marek Safar [Fri, 2 Sep 2011 15:34:17 +0000 (16:34 +0100)]
Make Stream BeginRead/BeginWrite asynchronous
Marek Safar [Thu, 1 Sep 2011 15:56:36 +0000 (16:56 +0100)]
Make MemoryStream more .net compatible
Marek Safar [Thu, 1 Sep 2011 15:41:21 +0000 (16:41 +0100)]
Remove NET_2_0 conditional
Marek Safar [Thu, 1 Sep 2011 14:18:04 +0000 (15:18 +0100)]
Add new test
Atsushi Eno [Sat, 3 Sep 2011 01:50:38 +0000 (18:50 -0700)]
XDocument could also be filled IXmlLineInfo.
Rodrigo Kumpera [Thu, 1 Sep 2011 23:59:20 +0000 (20:59 -0300)]
The fin hashtable holds no value, so revert to tagging in the same way as 2-10 does.
Rodrigo Kumpera [Thu, 1 Sep 2011 22:12:53 +0000 (19:12 -0300)]
Handle finalizable objects pointed by bridge objects. (cont...)
* sgen-fin-weak-hash.c:
* sgen-gc.c: Bridge objects are used to represent objects
that have references outside of sgen's control. They are
kept around until the embedder figures out it's ok to
collect them.
Until those bridge objects turn externally unreachable,
they must be kept around. Up to now, the expected pattern
was to resurrect them during finalization.
The problem with this approach is that if they hold references
to other finalizable, non-bridge objects those will be finalized
and we will resurrect objects that point to dead ones.
Think of this:
class BridgeObject {
FileStream stream;
}
The bridge object is resurrected on the finalizer and so will
stream, disposing its native handle and been permanently unusable.
The solution is to process brige objects before we do ordinary
finalization. We record all dead bridges and copy/mark them.
We drain the gray queue on the end, which makes sure all other
finalizable objects that transitively reachable are too.
Finally, we introduce a breaking change to the bridge API.
The bridge must set to NULL the first object of all SCC
entries that remain alive. Other entries will be considered
dead and will be subject to regular finalization.
This way, sgen knows when a given bridge object is completely
unreachable and provides adequate finalization semantics to
them and referenced objects.
This fixes bxc #375
Rodrigo Kumpera [Thu, 1 Sep 2011 20:36:52 +0000 (17:36 -0300)]
Add new sgen-hash method that changes the value of an existing key but doesn't insert when the key is not found.
Marek Safar [Thu, 1 Sep 2011 13:25:01 +0000 (06:25 -0700)]
Merge pull request #168 from tomaszkubacki/master
added Quit method to csharp eval
Marek Safar [Thu, 1 Sep 2011 12:31:50 +0000 (13:31 +0100)]
Fix wrong condition
Marek Safar [Thu, 1 Sep 2011 12:23:00 +0000 (13:23 +0100)]
Implement properly TaskFactory::FromAsync
Marek Safar [Thu, 1 Sep 2011 12:22:44 +0000 (13:22 +0100)]
Add missing finalizer
Marek Safar [Thu, 1 Sep 2011 12:20:47 +0000 (13:20 +0100)]
Make Task debugging more pleasant
Atsushi Eno [Thu, 1 Sep 2011 00:49:36 +0000 (17:49 -0700)]
DiffLoader didn't handle encoded name and caused mismatch between .NET.
Atsushi Eno [Wed, 31 Aug 2011 21:10:43 +0000 (14:10 -0700)]
Fix invalid path check for Windows regarding ':'.
Atsushi Eno [Wed, 31 Aug 2011 21:10:15 +0000 (14:10 -0700)]
Add test for bug #545.