Marek Safar [Wed, 5 Jan 2011 10:34:59 +0000 (10:34 +0000)]
Unify naming convention for all 2.0 files
Marek Safar [Wed, 5 Jan 2011 10:29:54 +0000 (10:29 +0000)]
Fix invalid test constraint
Marek Safar [Wed, 5 Jan 2011 10:03:51 +0000 (10:03 +0000)]
Add missing Accessibility reference
Marek Safar [Wed, 5 Jan 2011 09:53:43 +0000 (09:53 +0000)]
Build mcs before docs
Marek Habersack [Wed, 5 Jan 2011 09:27:50 +0000 (10:27 +0100)]
[asp.net] Rewrote CacheItemPriorityQueue tests generator to produce simpler test case.
The new test case uses arrays and postpones creation of CacheItemPriorityQueueTestItem and TestCacheItem
instances till the actual test is ran. This reduces complexity of the CacheItemPrioritQueueTest class
constructor and allows the code to run successfully on 32 bit machines.
Atsushi Eno [Wed, 5 Jan 2011 08:00:58 +0000 (17:00 +0900)]
Fix ToDateTime() with serialization mode to not mess hour based on timezone.
Fixed bug #661787.
Marek Safar [Tue, 4 Jan 2011 22:31:34 +0000 (22:31 +0000)]
Set build-in types modifiers
Marek Safar [Tue, 4 Jan 2011 21:47:58 +0000 (21:47 +0000)]
New test
Atsushi Eno [Wed, 5 Jan 2011 07:17:20 +0000 (16:17 +0900)]
AssemblyPath support, patch by Michel Faucault.
Ankit Jain [Wed, 5 Jan 2011 00:44:20 +0000 (06:14 +0530)]
[xbuild] Fix failing test in msbuild.tasks .
Ankit Jain [Wed, 5 Jan 2011 00:39:48 +0000 (06:09 +0530)]
[xbuild] Fix bug #662355.
Support reference aliases in Csc task.
Rodrigo Kumpera [Tue, 4 Jan 2011 03:12:33 +0000 (11:12 +0800)]
Make test messages more usefull
Rodrigo Kumpera [Tue, 4 Jan 2011 02:56:39 +0000 (10:56 +0800)]
Fix guard interrupt protection.
* mini.h: Introduce a new MonoContext variable to be used
by the interrupt protection code.
* mini-exceptions.c: Use new field.
* mini-trampolines.c: Ditto.
This fixes finally_guard.exe on OSX.
Rodrigo Kumpera [Tue, 4 Jan 2011 02:55:05 +0000 (10:55 +0800)]
Fix alignment of the block guard trampoline.
* tramp-x86.c (mono_arch_create_handler_block_trampoline): Make
sure we call the target with a properly aligned frame.
Zoltan Varga [Tue, 4 Jan 2011 21:07:39 +0000 (22:07 +0100)]
Eliminate the first PLT entry, it is no longer used.
Zoltan Varga [Tue, 4 Jan 2011 21:03:46 +0000 (22:03 +0100)]
Emit separate thumb2 plt entries called by LLVM code.
Sebastien Pouliot [Tue, 4 Jan 2011 20:38:06 +0000 (15:38 -0500)]
[moon] String.Join needs 'params' on MOONLIGHT profile too
* String.cs: Silverlight 4 use the same API as FX4 for Join
Zoltan Varga [Tue, 4 Jan 2011 19:00:23 +0000 (20:00 +0100)]
Avoid thumb->arm trampolines when calling between llvm methods.
vvaradhan [Tue, 4 Jan 2011 18:04:37 +0000 (23:34 +0530)]
Fixes #635335 - map System.Transactions to 4.0 framework assemblies.
Marek Safar [Tue, 4 Jan 2011 17:56:23 +0000 (17:56 +0000)]
Type correctly implicit as expression
Jérémie Laval [Tue, 4 Jan 2011 16:58:30 +0000 (16:58 +0000)]
Use correct exception when a key is not found in ConcurrentDictionary
Jérémie Laval [Tue, 4 Jan 2011 16:52:27 +0000 (16:52 +0000)]
Use proper pattern for executing synchronous Task
Zoltan Varga [Tue, 4 Jan 2011 15:38:33 +0000 (16:38 +0100)]
Remove glib dependencies from the embed samples. Fixes #660117.
Zoltan Varga [Tue, 4 Jan 2011 14:29:44 +0000 (15:29 +0100)]
Add AssemblyLoadEventRequest () type to the sdb api, and use it to fix the test suite.
Rodrigo Kumpera [Mon, 3 Jan 2011 18:39:25 +0000 (02:39 +0800)]
Fixes the Monitor.Enter race on x86.
* mini-x86.h: Define MONO_ARCH_MONITOR_ENTER_ADJUSTMENT to
cover the whole stack adjustment add that comes after call.
* mini.c (create_jit_info): Use an ARCH define for how
big the try block adjustment needs to be as x86 is more
spacy than amd64.
Marek Habersack [Tue, 4 Jan 2011 13:27:51 +0000 (14:27 +0100)]
[system] Unbreak a 4.0 System.ServiceModel test.
This type is instantiated by one of the tests for the System.ServiceModel.Channels.HttpTransportBindingElement type.
Marek Safar [Tue, 4 Jan 2011 13:06:01 +0000 (13:06 +0000)]
Cleanup isinst expression resolver
Marek Safar [Tue, 4 Jan 2011 12:39:28 +0000 (12:39 +0000)]
Use reduced expression for transparent is check
Marek Habersack [Tue, 4 Jan 2011 12:52:43 +0000 (13:52 +0100)]
[wcf] UriTemplate must trim the first leading slash in the rendered template.
When using BindBy{Name,Position} UriTemplate must remove the the first slash from
the rendered URI. This fixes the 4 failing tests.
Marek Habersack [Tue, 4 Jan 2011 12:12:10 +0000 (13:12 +0100)]
[asp.net] The test must always run with the en-US locale
Marek Safar [Tue, 4 Jan 2011 11:29:09 +0000 (11:29 +0000)]
Use one routine for type argument scan for type parameter
Jérémie Laval [Tue, 4 Jan 2011 11:14:25 +0000 (11:14 +0000)]
Update ThreadLocal to use default(T) for initialization with parameterless ctor following comment on https://connect.microsoft.com/VisualStudio/feedback/details/630350/threadlocal-documentation-and-actual-behavior-mismatch
Marek Habersack [Tue, 4 Jan 2011 09:22:22 +0000 (10:22 +0100)]
[system.runtime.caching] Do not test the invalid behavior
Marek Habersack [Tue, 4 Jan 2011 09:02:29 +0000 (10:02 +0100)]
[asp.net] Failing tests fixes.
Zoltan Varga [Tue, 4 Jan 2011 08:37:10 +0000 (09:37 +0100)]
Fix ia64 build.
Marek Habersack [Tue, 4 Jan 2011 07:20:20 +0000 (08:20 +0100)]
[asp.net] Added code to handle local resources copying in the test suite
Marek Habersack [Tue, 4 Jan 2011 06:57:03 +0000 (07:57 +0100)]
[asp.net] Don't attempt to use System.Web resources in System.Web.Extensions test build
WebTest is now a partial class and every code outside System.Web that uses it can copy its own
resources in addition to the common ones by implementing the CopyResourcesLocal partial method.
Luke Halliwell [Sun, 26 Dec 2010 16:26:44 +0000 (08:26 -0800)]
Fix for bug 349053 - unable to serialize SortedDictionary
Gonzalo Paniagua Javier [Tue, 4 Jan 2011 02:09:29 +0000 (21:09 -0500)]
Socket is not connected after error
Gonzalo Paniagua Javier [Mon, 3 Jan 2011 22:18:55 +0000 (17:18 -0500)]
Add a case-insensitive hashtable
Use a hashtable instead of a loop when 'ignoreCase' is set.
Based on a patch by Curtis Wensley.
Zoltan Varga [Mon, 3 Jan 2011 21:23:19 +0000 (22:23 +0100)]
Implement VBByRefStr marshalling. Fixes #661917.
Rodrigo Kumpera [Mon, 3 Jan 2011 01:32:31 +0000 (09:32 +0800)]
Get rid of mymono_metadata_type_(equal|hash).
* reflection.c: The copy versions of type/hash functions
is no longer needed. Just get rid of them which brings
some niceties such such as support for FNPTR.
Zoltan Varga [Mon, 3 Jan 2011 20:32:46 +0000 (21:32 +0100)]
Fix a warning.
Zoltan Varga [Mon, 3 Jan 2011 18:26:05 +0000 (19:26 +0100)]
Add more comments for the fields of MonoAotFileInfo.
Zoltan Varga [Mon, 3 Jan 2011 18:10:40 +0000 (19:10 +0100)]
Don't make the 'thumb_end' symbol global.
Zoltan Varga [Mon, 3 Jan 2011 17:49:19 +0000 (18:49 +0100)]
Reorganize the AOT file format once more, get rid of most globals, store them as pointers inside MonoAotFileInfo instead.
Rodrigo Kumpera [Sun, 2 Jan 2011 21:32:19 +0000 (05:32 +0800)]
Ignore non-realizable reflection types.
* class.c (mono_class_implement_interface_slow): If the reflection
type has not been realized, ignore it since can't affort
to do it from here.
Fixes #656262
Zoltan Varga [Mon, 3 Jan 2011 16:14:37 +0000 (17:14 +0100)]
Avoid mixing llvm aot code and non-llvm code on arm. Clean up the printing of AOT messages.
Zoltan Varga [Mon, 3 Jan 2011 15:42:39 +0000 (16:42 +0100)]
Implement support for llvm+thumb2+aot on arm.
Zoltan Varga [Mon, 3 Jan 2011 15:42:28 +0000 (16:42 +0100)]
Add thumb2 support for ARM EH code.
Zoltan Varga [Mon, 3 Jan 2011 15:41:43 +0000 (16:41 +0100)]
Implement support for NULL pointers in the bin_writer_emit_pointer ().
Paolo Molaro [Mon, 3 Jan 2011 14:35:48 +0000 (15:35 +0100)]
Allow the special ECMA key when parsing assembly names (bug#660570).
Zoltan Varga [Mon, 3 Jan 2011 14:52:11 +0000 (15:52 +0100)]
Avoid computing GC maps if precise stack marking is disabled.
Zoltan Varga [Mon, 3 Jan 2011 14:45:14 +0000 (15:45 +0100)]
Merge branch 'precise-gc-maps'
Zoltan Varga [Mon, 3 Jan 2011 11:50:59 +0000 (12:50 +0100)]
.gitignore
Zoltan Varga [Mon, 3 Jan 2011 11:48:23 +0000 (12:48 +0100)]
Make conservative stack marking the default for now.
Zoltan Varga [Mon, 3 Jan 2011 11:44:46 +0000 (12:44 +0100)]
Fix an assert which can be hit for types unloadable types.
Zoltan Varga [Mon, 3 Jan 2011 11:40:57 +0000 (12:40 +0100)]
Add 'save_locations' to mono_arch_find_jit_info () signature on all platforms.
Zoltan Varga [Mon, 3 Jan 2011 11:25:14 +0000 (12:25 +0100)]
Fix a warning.
Zoltan Varga [Mon, 3 Jan 2011 11:25:02 +0000 (12:25 +0100)]
Fix some merge problems.
Zoltan Varga [Fri, 12 Nov 2010 23:12:23 +0000 (00:12 +0100)]
Don't set 'last' after emitting the OP_GC_SPILL_SLOT_LIVENESS_DEF () opcode.
Zoltan Varga [Fri, 12 Nov 2010 20:12:05 +0000 (21:12 +0100)]
Fix a merge problem.
Zoltan Varga [Wed, 10 Nov 2010 13:32:17 +0000 (14:32 +0100)]
Properly copy the contexts for FRAME_TYPE_MANAGED_TO_NATIVE.
Zoltan Varga [Wed, 10 Nov 2010 13:08:08 +0000 (14:08 +0100)]
Remove obsolete conservative-stack-mark MONO_GC_DEBUG option, it is superseded by a MONO_GC_PARAMS option.
Zoltan Varga [Wed, 10 Nov 2010 12:57:07 +0000 (13:57 +0100)]
Fix some merge problems.
Zoltan Varga [Wed, 13 Oct 2010 13:18:59 +0000 (15:18 +0200)]
Implement AOT support.
Zoltan Varga [Mon, 11 Oct 2010 14:12:40 +0000 (16:12 +0200)]
Add stats for the number of pinned objects during all collections. Avoid scanning the frames above the start_wrapper () frame. Rework start_wrapper () to avoid references to the Thread object, so hopefully it won't get pinned.
Zoltan Varga [Fri, 8 Oct 2010 10:26:31 +0000 (12:26 +0200)]
Fix formatting.
Zoltan Varga [Fri, 8 Oct 2010 10:19:18 +0000 (12:19 +0200)]
Implement x86 support.
Zoltan Varga [Tue, 5 Oct 2010 22:32:34 +0000 (00:32 +0200)]
Remove unused DEBUG_GC_MAP macros.
Zoltan Varga [Tue, 5 Oct 2010 04:30:06 +0000 (06:30 +0200)]
Log to stdout by default, so it matches up with the output of the program.
Zoltan Varga [Tue, 5 Oct 2010 04:26:43 +0000 (06:26 +0200)]
Share the log file between sgen and the stack marking code.
Zoltan Varga [Tue, 5 Oct 2010 04:08:32 +0000 (06:08 +0200)]
Don't crash in one place if logging is turned on. Add some FIXMEs.
Zoltan Varga [Mon, 4 Oct 2010 16:27:36 +0000 (18:27 +0200)]
Revert "Flush the actual file too in binary_protocol_flush_buffers ()."
This reverts commit
27bb69444433cd4eda1fccfcd45fcc619559a29d.
Zoltan Varga [Mon, 4 Oct 2010 00:34:13 +0000 (02:34 +0200)]
Flush the actual file too in binary_protocol_flush_buffers ().
Zoltan Varga [Mon, 4 Oct 2010 00:33:53 +0000 (02:33 +0200)]
Use sizeof (mgreg_t) in a few more places.
Zoltan Varga [Mon, 4 Oct 2010 00:15:08 +0000 (02:15 +0200)]
Print frame info during the precise pass as well.
Zoltan Varga [Sat, 2 Oct 2010 20:19:22 +0000 (22:19 +0200)]
Add a MONO_GCMAP_DEBUG env variable. Redirect debug messages to a logfile. Fix tracking of registers through managed-to-native transitions.
Zoltan Varga [Sat, 2 Oct 2010 20:18:22 +0000 (22:18 +0200)]
Allow an argument to collect-before-allocs to force sgen to do a minor collection every N allocations. Implement major_ptr_is_in_non_pinned_space ().
Zoltan Varga [Fri, 1 Oct 2010 03:35:35 +0000 (05:35 +0200)]
Allocate a few more vregs as REF/MP.
Zoltan Varga [Wed, 29 Sep 2010 03:06:38 +0000 (05:06 +0200)]
Improve logging even more. Fix a crash which happened when tls->nframes was not initialized in a code path.
Zoltan Varga [Tue, 28 Sep 2010 22:50:15 +0000 (00:50 +0200)]
Improve logging, really set vtype slots without liveness info to PIN.
Zoltan Varga [Tue, 28 Sep 2010 20:57:07 +0000 (22:57 +0200)]
Don't treat arguments in registers live for the whole method.
Zoltan Varga [Mon, 27 Sep 2010 23:36:09 +0000 (01:36 +0200)]
Make gshared variables GC tracked.
Zoltan Varga [Mon, 27 Sep 2010 04:22:55 +0000 (06:22 +0200)]
Add stats for the size of the scanned native stacks.
Zoltan Varga [Mon, 27 Sep 2010 04:17:41 +0000 (06:17 +0200)]
Fix the computation of frame start so some areas are not scanned twice.
Zoltan Varga [Mon, 27 Sep 2010 02:15:27 +0000 (04:15 +0200)]
Log if the frame stack is full.
Zoltan Varga [Mon, 27 Sep 2010 00:29:49 +0000 (02:29 +0200)]
Move the handling of finally clauses into a separate function. Treat the frame pointer as a precise reg.
Zoltan Varga [Sun, 26 Sep 2010 23:52:29 +0000 (01:52 +0200)]
Make a log statement depend on cfg->verbose_level.
Zoltan Varga [Sun, 26 Sep 2010 23:35:27 +0000 (01:35 +0200)]
Fix the handling of methods with finally clauses so it is correct and reasonable efficient: only callsites inside finally blocks are treated conservatively.
Zoltan Varga [Sun, 26 Sep 2010 22:06:34 +0000 (00:06 +0200)]
Mark the dreg of OP_NEWARR as a ref.
Zoltan Varga [Sun, 26 Sep 2010 18:26:35 +0000 (20:26 +0200)]
Add an option to turn on CLEAR_AT_GC.
Zoltan Varga [Sun, 26 Sep 2010 18:25:53 +0000 (20:25 +0200)]
Improve logging. Treat the result of an LDIND.REF as a ref. Treat methods with finally clauses very conservatively again.
Zoltan Varga [Sat, 25 Sep 2010 20:33:11 +0000 (22:33 +0200)]
Rename a few fields.
Zoltan Varga [Sat, 25 Sep 2010 15:29:37 +0000 (17:29 +0200)]
Make GC maps for methods with finally clauses more precise.
Zoltan Varga [Sat, 25 Sep 2010 03:17:13 +0000 (05:17 +0200)]
Optimize the frames with finally clauses a bit so at least the non-ref slots are scanned precisely.
Zoltan Varga [Sat, 25 Sep 2010 00:05:40 +0000 (02:05 +0200)]
Don't assert in describe_ptr () for oldspace pointers.
Zoltan Varga [Sat, 25 Sep 2010 00:04:20 +0000 (02:04 +0200)]
Allow wrapper frames to be precisely tracked.
Zoltan Varga [Fri, 24 Sep 2010 23:07:45 +0000 (01:07 +0200)]
Fix regressions introduced by the last few changes. Mark THROW/RETHROW as call sites.
Zoltan Varga [Fri, 24 Sep 2010 21:02:35 +0000 (23:02 +0200)]
Treat the frame reg as precisely tracked.