Jb Evain [Tue, 23 Nov 2010 10:17:06 +0000 (11:17 +0100)]
Remove dead code
Jb Evain [Tue, 23 Nov 2010 10:12:44 +0000 (11:12 +0100)]
Fix sweeping of nested types
Jb Evain [Tue, 23 Nov 2010 10:11:20 +0000 (11:11 +0100)]
Fix corlib type lookup
Zoltan Varga [Tue, 23 Nov 2010 00:20:56 +0000 (01:20 +0100)]
Disable a PS3 test, fix up the argument processing in the Test Driver.
Jb Evain [Mon, 22 Nov 2010 23:37:13 +0000 (00:37 +0100)]
Merge branch 'cecil-light'
Jb Evain [Mon, 22 Nov 2010 23:28:22 +0000 (00:28 +0100)]
Facilitate the merge
Jonathan Pryor [Mon, 22 Nov 2010 22:30:15 +0000 (17:30 -0500)]
Remove IVT from System.ServiceModel on MonoDroid, MonoTouch profiles.
This is ~identical to commit
a3ba2ab7a091b96c9e8917aab9bd9ad042a5d639,
just applied to the MonoDroid and MonoTouch profiles.
Furthermore, without this patch the MonoDroid & MonoTouch profiles fail to
build, as current versions of mcs (nicely) attempt to verify that the output
assembly name matches the IVT of a referenced assembly, which isn't possible
when System.Xml.dll has an IVT entry for System.ServiceModel.Web.dll which
differs from System.ServiceModel.dll's IVT entry for
System.ServiceModel.Web.dll.
Sebastien Pouliot [Mon, 22 Nov 2010 19:54:56 +0000 (14:54 -0500)]
Remove IVT from System.ServiceModel on Moonlight profile
* AssemblyInfo.cs: Remove IVT from System.ServiceModel on Moonlight
profile since SL use a different public key and it is not required
for the limited build provided by SL.
Jérémie Laval [Mon, 22 Nov 2010 13:48:38 +0000 (13:48 +0000)]
Improve fallback SpinWait to include the initial logic of SpinWait
Jérémie Laval [Fri, 12 Nov 2010 15:50:07 +0000 (15:50 +0000)]
Plug SplitOrderedList inside TemplateControl.
Jérémie Laval [Fri, 12 Nov 2010 15:49:31 +0000 (15:49 +0000)]
Define more correctly
Jérémie Laval [Fri, 12 Nov 2010 15:46:55 +0000 (15:46 +0000)]
Add a default implementation of SpinWait when SplitOrderedList is built with Sys.Web 2.0 and add it to the build
Zoltan Varga [Mon, 22 Nov 2010 17:48:16 +0000 (18:48 +0100)]
Fix a memory leak.
Marek Safar [Mon, 22 Nov 2010 17:37:12 +0000 (17:37 +0000)]
Don't multiply fixed buffer size (it's done by runtime). Fixes #654058
Marek Safar [Mon, 22 Nov 2010 16:50:33 +0000 (16:50 +0000)]
Removed SetCharSet
Marek Safar [Mon, 22 Nov 2010 16:49:47 +0000 (16:49 +0000)]
Emit fixed buffers using standard api only
Marek Safar [Mon, 22 Nov 2010 16:37:36 +0000 (16:37 +0000)]
Fix retrieving of StructLayoutAttribute.Pack
Marek Safar [Mon, 22 Nov 2010 15:18:12 +0000 (15:18 +0000)]
group all fixed buffer tests
Marek Safar [Mon, 22 Nov 2010 12:07:56 +0000 (12:07 +0000)]
Tweak async modifier constant value
Alexander Corrado [Thu, 18 Nov 2010 20:20:17 +0000 (12:20 -0800)]
Added 'async' as a recognized method modifier.
Jérémie Laval [Fri, 19 Nov 2010 12:17:11 +0000 (12:17 +0000)]
Use a custom-wrapper for Aggregate operation invocation
Jérémie Laval [Fri, 19 Nov 2010 12:16:42 +0000 (12:16 +0000)]
Remove AreTasksFinished in Scheduler and directly use a non volatile version of IsCompleted
Jérémie Laval [Fri, 19 Nov 2010 12:15:58 +0000 (12:15 +0000)]
Increase the deepSleepTime of ThreadWorker
Marek Safar [Mon, 22 Nov 2010 11:36:46 +0000 (11:36 +0000)]
Comment out no longer used code
Marek Safar [Mon, 22 Nov 2010 11:28:51 +0000 (11:28 +0000)]
Updated mcs tests failures
Marek Safar [Mon, 22 Nov 2010 11:00:58 +0000 (11:00 +0000)]
Add comment details to DefineUnmanagedResource
Marek Safar [Mon, 22 Nov 2010 09:51:57 +0000 (09:51 +0000)]
Define embeded resources using standard API
Marek Safar [Sun, 21 Nov 2010 19:46:04 +0000 (19:46 +0000)]
Move entry point handling to AssemblyDefinition
Marek Safar [Sun, 21 Nov 2010 18:54:23 +0000 (18:54 +0000)]
Make generated assembly attributes container name unique
Marek Safar [Sun, 21 Nov 2010 17:34:51 +0000 (17:34 +0000)]
Don't sign netmodules.
Marek Safar [Sun, 21 Nov 2010 17:23:46 +0000 (17:23 +0000)]
Put back private key handling
Marek Safar [Sun, 21 Nov 2010 10:48:36 +0000 (10:48 +0000)]
Improve handling of netmodules. Fixes #504085
Marek Safar [Fri, 19 Nov 2010 16:21:47 +0000 (16:21 +0000)]
Add AssemblySpec to handle all assembly attributes in same way.
Marek Safar [Fri, 19 Nov 2010 16:12:09 +0000 (16:12 +0000)]
Add missing file
Zoltan Varga [Mon, 22 Nov 2010 04:50:27 +0000 (05:50 +0100)]
Allocate memory for generic instances from the mempool of the image set they belong to. Use this to simplify the freeing of these instances.
Zoltan Varga [Mon, 22 Nov 2010 04:50:10 +0000 (05:50 +0100)]
Fix g_hash_table_remove_all ().
Rodrigo Kumpera [Mon, 22 Nov 2010 03:04:14 +0000 (01:04 -0200)]
Handle cattr with arrays of System.Type.
* metadata-verify.c (is_valid_fixed_param): Handle arrays
of types. They can be encoded as 0x1B or 0x50.
* metadata-verify.c (is_valid_cattr_content): Ditto.
Fixes #655159
Jb Evain [Sun, 21 Nov 2010 21:38:10 +0000 (22:38 +0100)]
internalize private cecil
Jb Evain [Sun, 21 Nov 2010 21:29:28 +0000 (22:29 +0100)]
Fix makefile
Jb Evain [Sun, 21 Nov 2010 21:16:10 +0000 (22:16 +0100)]
Preserve mono-cil-strip feature by embedding the old Cecil
Gonzalo Paniagua Javier [Sun, 21 Nov 2010 20:12:45 +0000 (15:12 -0500)]
[File.ReadLines] Dispose the StreamReader in the right place.
The StreamReader was being disposed immediately after the call to
ReadLines() causing the enumerator to fails.
Fixes bug #649464.
Zoltan Varga [Sun, 21 Nov 2010 19:24:05 +0000 (20:24 +0100)]
Free the JIT tls data for the main thread.
Zoltan Varga [Sun, 21 Nov 2010 19:15:03 +0000 (20:15 +0100)]
Allocate generic param constraint data from the image mempool.
Zoltan Varga [Sun, 21 Nov 2010 18:06:45 +0000 (19:06 +0100)]
Unref all handles on shutdown so their memory is freed.
Jb Evain [Sun, 21 Nov 2010 12:39:57 +0000 (13:39 +0100)]
update cecil to upstream
Zoltan Varga [Sun, 21 Nov 2010 05:49:48 +0000 (06:49 +0100)]
Fix some small memory leaks.
Zoltan Varga [Sun, 21 Nov 2010 04:32:15 +0000 (05:32 +0100)]
Remove the AOT log files on 'clean'.
Zoltan Varga [Sun, 21 Nov 2010 04:26:55 +0000 (05:26 +0100)]
Link the iomap profiler against eglib. Fixes #627889.
Zoltan Varga [Sun, 21 Nov 2010 00:48:43 +0000 (01:48 +0100)]
Fix a warning.
Gonzalo Paniagua Javier [Sat, 20 Nov 2010 21:48:01 +0000 (16:48 -0500)]
[HttpListener] Reduce the code inside lock {}
Avoid nesting locks when they are not needed.
Gonzalo Paniagua Javier [Sat, 20 Nov 2010 21:46:07 +0000 (16:46 -0500)]
[HttpListener] Use RWL instead of lock()
Most of the time we just want to read the prefixes instead of
adding/removing one.
Gonzalo Paniagua Javier [Sat, 20 Nov 2010 21:40:03 +0000 (16:40 -0500)]
[Timer] Use a WaitHandle instead of Wait/Pulse
Notifications of changes were sent using Monitor.Pulse() while the
scheduler thread was in a Monitor.Wait(). The way we handle
Monitor.Wait() internally involves creating an manual-reset event and
waiting on it each time Monitor.Wait() is called.
With this change, one 1 event is created for the lifetime of the
appdomain. These seems to help avoiding contention when there are a lot
of timers in play.
Miguel de Icaza [Sat, 20 Nov 2010 18:09:16 +0000 (13:09 -0500)]
Remove experimental from the name
Geoff Norton [Sat, 20 Nov 2010 04:33:13 +0000 (23:33 -0500)]
Fix a potential NRE when using bitmap contexts
Zoltan Varga [Sat, 20 Nov 2010 02:13:04 +0000 (03:13 +0100)]
Increase maximum size of ppc prolog. Fixes #654460.
Zoltan Varga [Sat, 20 Nov 2010 02:08:32 +0000 (03:08 +0100)]
Add support for the processorArchitecture field in assembly names. Fixes #655096.
Mark Probst [Fri, 19 Nov 2010 21:53:50 +0000 (22:53 +0100)]
[sgen] Implement evacuation for parallel mark.
Jackson Harper [Fri, 19 Nov 2010 20:37:16 +0000 (15:37 -0500)]
Parse RequestPathInvalidCharacters properly. Fixes urls with commas in them.
This fixes bug #654476. https://bugzilla.novell.com/show_bug.cgi?id=654476
These values are stored as a comma separated list, not just a list
of chars. So we need to parse out all the values, ignoring whitespace.
Gonzalo Paniagua Javier [Fri, 19 Nov 2010 17:46:48 +0000 (12:46 -0500)]
Web service help fix
Generate the wsdl document with UTF8 encoding.
Gonzalo Paniagua Javier [Fri, 19 Nov 2010 17:36:04 +0000 (12:36 -0500)]
Fix the build.
Zoltan Varga [Fri, 19 Nov 2010 16:19:04 +0000 (17:19 +0100)]
Fix the previous arm EH change.
Miguel de Icaza [Fri, 19 Nov 2010 16:09:28 +0000 (11:09 -0500)]
Remove mentions of Logging and Heap Shot profilers from man page
Zoltan Varga [Fri, 19 Nov 2010 16:07:43 +0000 (17:07 +0100)]
Load dependent assemblies of an aot image from the assembly's basedir. Fixes #654850.
Atsushi Eno [Fri, 19 Nov 2010 12:24:36 +0000 (21:24 +0900)]
Implement XamlType.CanAssignTo(). Remove extra writer state members.
Atsushi Eno [Fri, 19 Nov 2010 07:21:26 +0000 (16:21 +0900)]
Call OnWriteStratObject() after pushing current state.
Atsushi Eno [Fri, 19 Nov 2010 06:05:49 +0000 (15:05 +0900)]
Fix TypeValueSerializer and ValueSerializerContext to work fine with XamlObjectWriter.
Atsushi Eno [Fri, 19 Nov 2010 04:31:03 +0000 (13:31 +0900)]
Remove unnecessary code. String type check is only for XamlXmlWriter.
Atsushi Eno [Fri, 19 Nov 2010 04:04:58 +0000 (13:04 +0900)]
The test is network dependent.
Atsushi Eno [Fri, 19 Nov 2010 04:02:04 +0000 (13:02 +0900)]
Merge branch 'myeisha-xml-fixes'
Atsushi Eno [Fri, 19 Nov 2010 03:28:01 +0000 (12:28 +0900)]
Merge branch 'xml-fixes' of https://github.com/myeisha/mono into myeisha-xml-fixes
Marek Habersack [Fri, 19 Nov 2010 01:25:30 +0000 (02:25 +0100)]
[asp.net] Disabled array clearing on heap resize in CacheItemPriorityQueue as it causes NREX to be thrown with > 8192 items in the queue.
- Rewrote the CacheItem priority queue test generator to generate better code.
- CacheItem in System.Web doesn't have the unused Guid field now (the field is used only for tests)
- Added a huge sequence to CacheItem priority queue tests (10k entries)
Marek Habersack [Thu, 18 Nov 2010 11:32:49 +0000 (12:32 +0100)]
[asp.net] Added a reminder comment about stack scanning in CacheItemPriorityQueue.ResizeHeap
Zoltan Varga [Fri, 19 Nov 2010 00:38:36 +0000 (01:38 +0100)]
Set the thumb bit in the CPSR when resuming from a signal handler to a thumb function on arm.
Zoltan Varga [Thu, 18 Nov 2010 23:54:15 +0000 (00:54 +0100)]
Fix the thumb build.
Gonzalo Paniagua Javier [Thu, 18 Nov 2010 23:15:15 +0000 (18:15 -0500)]
Hush cross-compilation warnings
Zoltan Varga [Thu, 18 Nov 2010 23:02:32 +0000 (00:02 +0100)]
Improve tail call support on x86 too.
Gonzalo Paniagua Javier [Thu, 18 Nov 2010 22:32:56 +0000 (17:32 -0500)]
Don't throw when unable to write autogen keys
It is possible that the user running the ASP.NET application does not
have permission to write to the registry. In this case, the auto
generated keys will be created on every application start.
Zoltan Varga [Thu, 18 Nov 2010 20:09:46 +0000 (21:09 +0100)]
Fix an assert in single stepping if an IL offset doesn't correspond to a seq point. Fixes #654694.
Mark Probst [Thu, 18 Nov 2010 19:50:43 +0000 (20:50 +0100)]
[sgen] Use bit fields for the booleans in MSBlockInfo.
Zoltan Varga [Thu, 18 Nov 2010 17:58:37 +0000 (18:58 +0100)]
Fix infinite recursion in the CompareExchange aot code.
Gonzalo Paniagua Javier [Thu, 18 Nov 2010 17:29:06 +0000 (12:29 -0500)]
Fix g_dir_open et al for windows.
This was using the *A functiones instead of the *W ones and passing in UTF16.
It was also opening and closing the directory just to check that it was
there and then open it again !?.
Fixes bug #645189.
Mark Probst [Thu, 18 Nov 2010 17:01:33 +0000 (18:01 +0100)]
[fix] Fix build.
Sebastien Pouliot [Thu, 18 Nov 2010 16:18:54 +0000 (11:18 -0500)]
Fix bugs in UriFormat.SafeUnescaped
* System/Uri.cs: Add support for 'safe' unescaping rules
* System/UriParser.cs: Add support for SafeUnescaped in Format. Avoid
escaping the # when adding a fragment at the end of the Uri
* Test/System/UriTest.cs: More test cases for GetComponents wrt
different UriFormat
Jonathan Pryor [Thu, 18 Nov 2010 15:49:48 +0000 (10:49 -0500)]
[mdoc export-html] Fixup href generation for nested generics.
In certain situations, the type-parameter counting code doesn't
skip tokens properly. In some circumstances, this results in
invalid links (e.g. refing KeyValuePair`1, not KeyValuePair`2),
in others it results in an XSLT error with "!WTF 2".
The problem was we weren't properly checking for nested types.
Rodrigo Kumpera [Thu, 18 Nov 2010 13:51:19 +0000 (11:51 -0200)]
Handle broken invalid generic instantiations.
* loader.c (method_from_methodspec): Don't crash
if parsing of the generic instance fails.
Fixed #560834
Rodrigo Kumpera [Thu, 18 Nov 2010 13:04:22 +0000 (11:04 -0200)]
Add regression test for #562324
Jérémie Laval [Thu, 18 Nov 2010 12:46:28 +0000 (12:46 +0000)]
Revert the CER-like changes made to SpinLock.Enter method and document the problem.
Rodrigo Kumpera [Thu, 18 Nov 2010 12:33:42 +0000 (10:33 -0200)]
Verify the return value of called functions.
* verify.c (do_invoke_method): Make sure the returned
value is valid in the caller's context.
Fixes #562324
Jérémie Laval [Fri, 12 Nov 2010 15:06:46 +0000 (15:06 +0000)]
Another fix related to the rebase
Jérémie Laval [Fri, 12 Nov 2010 14:37:42 +0000 (14:37 +0000)]
Fix compile error introduced by rebasing
Jérémie Laval [Fri, 22 Oct 2010 14:13:25 +0000 (15:13 +0100)]
Protect TryEnter and Exit methods of SpinLock against asynchronous exceptions.
Jérémie Laval [Fri, 22 Oct 2010 14:09:28 +0000 (15:09 +0100)]
Protect ExitUpgradeable part of ReaderWriterLockSlim against asynchronous exception.
This ensure that the lock state remains consistent even when it's interrupted by an async exception (such as ThreadAbortException).
Jérémie Laval [Fri, 22 Oct 2010 14:04:52 +0000 (15:04 +0100)]
Protect Enter/Exit write part of ReaderWriterLockSlim against asynchronous exception.
This ensure that the lock state remains consistent even when it's interrupted by an async exception (such as ThreadAbortException).
Jérémie Laval [Fri, 22 Oct 2010 14:02:06 +0000 (15:02 +0100)]
Protect Enter/Exit read part of ReaderWriterLockSlim against asynchronous exception.
This ensure that the lock state remains consistent even when it's interrupted by an async exception (such as ThreadAbortException).
Paolo Molaro [Thu, 18 Nov 2010 10:37:03 +0000 (11:37 +0100)]
Provide better coverage of jitted methods to the profiler.
Sometimes we use wrapper methods or other tricks under the hood,
but we provided to the profiler some inconsistent information,
for example the MonoMethod pointer in enter/leave events could be
different from the one used in reporting jit compilation.
This patch introduces a concept of aliased methods: more
than one MonoMethod pointer could correspond to the same jit info
and as such, more end_jit notifications can happen for the same
compiled code. This also means, in turn, that you can get a
end_jit notification for MonoMethod pointers that weren't reported
in a start_jit event.
This partially reverts the change in
2e0067422b9cb, which doesn't
have an associated bug report anyway (this change instead fixes
the issue with unresolved methods in the log profiler).
Paolo Molaro [Wed, 17 Nov 2010 18:40:09 +0000 (19:40 +0100)]
Log profiler: be more specific about unknown methods and classes.
Zoltan Varga [Thu, 18 Nov 2010 02:45:48 +0000 (03:45 +0100)]
Pop the arguments to the throw trampoline from the stack on x86. Fixes #654322.
joncham [Thu, 18 Nov 2010 02:38:56 +0000 (21:38 -0500)]
Update vcxproj files.
joncham [Thu, 18 Nov 2010 02:37:57 +0000 (21:37 -0500)]
Undefine AF_INET6 on windows to disable IPv6 for now.
Jonathan Pryor [Thu, 18 Nov 2010 02:27:38 +0000 (21:27 -0500)]
[mdoc-update] Add C#4 dynamic support for method declarations.