Ankit Jain [Thu, 10 Mar 2011 11:26:33 +0000 (16:56 +0530)]
[xbuild] Evaluate Import with MSBuildThisFile* properties set.
Marek Safar [Fri, 11 Mar 2011 12:48:52 +0000 (12:48 +0000)]
Add another local quick test target
Marek Safar [Fri, 11 Mar 2011 12:39:55 +0000 (12:39 +0000)]
Reduce scope for escaped identifier to only necessary attribute section
Marek Safar [Fri, 11 Mar 2011 10:30:24 +0000 (10:30 +0000)]
Simple member context is enough when checking member accessibility (removes misused FakeInternalType)
Marek Safar [Thu, 10 Mar 2011 17:51:52 +0000 (17:51 +0000)]
Finally remove RootContext.ToplevelTypes hacking from GlobalAttribute (what a joy!)
Marek Safar [Thu, 10 Mar 2011 17:03:52 +0000 (17:03 +0000)]
Verify namespace usings without global static state (fixes few hard to track bugs)
Marek Safar [Thu, 10 Mar 2011 16:55:47 +0000 (16:55 +0000)]
Remove wrong using
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 06:53:45 +0000 (01:53 -0500)]
[HttpListener] Paranoid cleanup
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 06:46:04 +0000 (01:46 -0500)]
[HttpListener] Plug leak.
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 03:14:58 +0000 (22:14 -0500)]
Support NLS when opening assemblies on windows.
Patch by Horst Kakuschke that fixes bug #673793.
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 00:03:57 +0000 (19:03 -0500)]
Test for both Set-Cookie and Set-Cookie2
Gonzalo Paniagua Javier [Fri, 11 Mar 2011 00:03:37 +0000 (19:03 -0500)]
[HttpWebRequest] Only uppercase known methods
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 22:46:10 +0000 (17:46 -0500)]
[Socket] Remove more auto-delegates
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 22:03:59 +0000 (17:03 -0500)]
[Timer] Use static CB for invoking timer callbacks.
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 19:56:28 +0000 (14:56 -0500)]
[Socket] Minimize allocations of delegates
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 23:24:48 +0000 (18:24 -0500)]
[HttpListener] Avoid blocking in FlushInput
Geoff Norton [Thu, 10 Mar 2011 21:27:54 +0000 (16:27 -0500)]
Fix ARCH_STORE_REGS on arm
Rodrigo Kumpera [Thu, 10 Mar 2011 21:26:11 +0000 (22:26 +0100)]
Export mono_raise_exception_with_ctx to metadata.
Rodrigo Kumpera [Thu, 10 Mar 2011 20:17:44 +0000 (21:17 +0100)]
Fix ia64 mono-context.h
Rodrigo Kumpera [Thu, 10 Mar 2011 20:15:46 +0000 (21:15 +0100)]
Remote all traces of old style unwinding from mini.
Rodrigo Kumpera [Thu, 10 Mar 2011 19:38:10 +0000 (20:38 +0100)]
Export new style unwinding functions
Rodrigo Kumpera [Thu, 10 Mar 2011 18:19:08 +0000 (19:19 +0100)]
Unify EH callbacks.
* object-internals.h: New callback struct
MonoRuntimeExceptionHandlingCallbacks for
raising and unwinding callbacks.
* loader.c:
* object.c:
* mini-exceptions.c: Move to the new struct.
Rodrigo Kumpera [Thu, 10 Mar 2011 17:57:03 +0000 (18:57 +0100)]
Move EH handler to mono_exceptions_init
Sebastien Pouliot [Thu, 10 Mar 2011 19:30:48 +0000 (14:30 -0500)]
Fix API compatibility with SL4
* BinaryReader.cs:
* BinaryWriter.cs:
Adding || MOONLIGHT since Dispose (new in FX4) is also exposed
in SL4
Sebastien Pouliot [Thu, 10 Mar 2011 19:28:00 +0000 (14:28 -0500)]
Fix parameter name mismatches between Moonlight and Silverlight
Sebastien Pouliot [Wed, 9 Mar 2011 14:51:53 +0000 (09:51 -0500)]
Add some missing API into Moonlight
* System.Runtime.Versioning/ComponentGuaranteesAttribute.cs:
* System.Runtime.Versioning/ComponentGuaranteesOptions.cs:
Add || MOONLIGHT
* System.Security.Permissions/SecurityAction.cs
* System/ContextStaticAttribute.cs
* System/ExecutionEngineException.cs
Make sure the [Obsolete] attributes are present in moonlight
* moonlight_raw_corlib.dll.sources: Include both System.Runtime.Versioning
ComponentGuarantees[Attribute|Options] into moonlight build
Zoltan Varga [Thu, 10 Mar 2011 19:50:07 +0000 (20:50 +0100)]
Use LLVM_CHECK_VERSION() in one place to fix a build failure.
Rodrigo Kumpera [Thu, 10 Mar 2011 18:46:32 +0000 (19:46 +0100)]
Move MonoContext to mono-context for ia64
Rodrigo Kumpera [Thu, 10 Mar 2011 18:41:30 +0000 (19:41 +0100)]
Move MonoContext to mono-context for sparc
Rodrigo Kumpera [Wed, 9 Mar 2011 16:52:17 +0000 (17:52 +0100)]
Move MonoContext to mono-context for ppc
Rodrigo Kumpera [Thu, 10 Mar 2011 17:27:55 +0000 (18:27 +0100)]
dist new file
Rodrigo Kumpera [Thu, 10 Mar 2011 13:00:55 +0000 (14:00 +0100)]
Fix some opcodes dreg type.
Zoltan Varga [Thu, 10 Mar 2011 16:30:56 +0000 (17:30 +0100)]
Fix a warning.
Duane Wandless [Thu, 10 Mar 2011 14:12:39 +0000 (22:12 +0800)]
GetApplicableRule returns NULL in TimeZoneInfo.cs yet the code does not always handle a NULL return value.
This change fixes this issue and allows timezones like China Standard Time to work.
Atsushi Eno [Thu, 10 Mar 2011 13:40:44 +0000 (22:40 +0900)]
Result-preserving node list while not performance-harmful until node removal.
Node removal while iterating should be prohibited as documented in MSDN though.
Rodrigo Kumpera [Thu, 10 Mar 2011 12:13:03 +0000 (13:13 +0100)]
Fix a warning
Rodrigo Kumpera [Thu, 10 Mar 2011 12:11:01 +0000 (13:11 +0100)]
mono_gc_alloc_mature must check if the object needs to be registered for finalization
Lucas Meijer [Tue, 1 Feb 2011 18:51:50 +0000 (19:51 +0100)]
Implement signal chaining for windows. Useful for letting custom crash reporters be able to deal with native crashes, without mono eating the native exception while checking to see if it was caused by a managed null dereference in jitted code or not. provided under MIT X11 license.
Rodrigo Kumpera [Thu, 10 Mar 2011 10:47:42 +0000 (11:47 +0100)]
Cleanup and document the new unwind stuff a bit.
* mini-exceptions.c: Document the new unwind stuff a bit
and make the _with_* variants have saner behavior when no
context is passed by capturing the current one.
Rodrigo Kumpera [Thu, 10 Mar 2011 10:34:45 +0000 (11:34 +0100)]
Replace mono_walk_stack with mono_stack_walk_simple.
* mini-exceptions.c: Kill the one zillion arguments
mono_walk_stack. Now you are supposed to use either
_with_context or _with_state versions if you need
to unwind from a non cannonical starting point.
Rodrigo Kumpera [Wed, 9 Mar 2011 22:41:23 +0000 (23:41 +0100)]
Cleanup sdb to use the new unwind state code.
* debugger-agent.c: Instead of having tons
of fields for MonoContext, domain and lmf
simply use MonoThreadUnwindState. This simplifies
code dealing with unwinding remote threads.
Rodrigo Kumpera [Wed, 9 Mar 2011 22:40:17 +0000 (23:40 +0100)]
Add mono_thread_state_init_from_monoctx
Marek Safar [Thu, 10 Mar 2011 09:21:05 +0000 (09:21 +0000)]
Clean up few misused DeclSpace(s)
Marek Safar [Wed, 9 Mar 2011 14:22:12 +0000 (14:22 +0000)]
Decorate more initialized static fields with readonly
Marek Safar [Wed, 9 Mar 2011 13:36:54 +0000 (13:36 +0000)]
Move more module specific caches to ModuleContainer
Gonzalo Paniagua Javier [Thu, 10 Mar 2011 05:44:33 +0000 (00:44 -0500)]
[HttpListener] Memory use reductions
Atsushi Eno [Thu, 10 Mar 2011 05:33:02 +0000 (14:33 +0900)]
In some collection case, xsi:type is explicitly written. Try to copy that behavior.
Zoltan Varga [Thu, 10 Mar 2011 00:10:41 +0000 (01:10 +0100)]
Fix a warning.
Zoltan Varga [Thu, 10 Mar 2011 00:10:07 +0000 (01:10 +0100)]
Use mono_field_get_type () in one place to fix a crash. Fixes #678269.
Zoltan Varga [Wed, 9 Mar 2011 23:59:43 +0000 (00:59 +0100)]
Mark threads created when calling from native code into the runtime as background threads. Fixes #678164.
Levi Bard [Wed, 23 Feb 2011 17:15:30 +0000 (18:15 +0100)]
[Fix] Make path building on windows behave the same as stock mono+glib.
* src/gpath.c: Make path building on windows behave the same as stock mono+glib.
License: MIT/X11
Gonzalo Paniagua Javier [Wed, 9 Mar 2011 21:11:23 +0000 (16:11 -0500)]
IO threads have their own name
Rodrigo Kumpera [Wed, 9 Mar 2011 20:10:11 +0000 (21:10 +0100)]
First pass removing the old unwinding code.
* mini.c: Move unwinding callback initialization
to mini-exceptions.c
* mini-exceptions.c: Remove mono_jit_walk_stack_from_ctx.
Rodrigo Kumpera [Wed, 9 Mar 2011 19:08:04 +0000 (20:08 +0100)]
Introduce MonoThreadUnwindState and a bunch overloads to mono_walk_stack.
* mono-stack-unwinding.h: Add MonoThreadUnwindState struct
that holds all state necessary to unwind a given thread.
* mini-exceptions.c: Add a few variants of mono_walk_stack
to simplify its usage. Added code to handle the new struct.
Rodrigo Kumpera [Tue, 8 Mar 2011 19:30:50 +0000 (20:30 +0100)]
Move some stack unwinding defines to utils
Gonzalo Paniagua Javier [Wed, 9 Mar 2011 20:25:53 +0000 (15:25 -0500)]
Some changes to the threadpool
-Reduce stack size for IO threads.
-Create threads on demand up to min_threads, then throttle.
Ankit Jain [Wed, 9 Mar 2011 12:31:15 +0000 (18:01 +0530)]
[xbuild] Fix test on windows.
AssignTargetPathTest.TestLink : Fix test on windows
Ankit Jain [Wed, 9 Mar 2011 12:23:05 +0000 (17:53 +0530)]
[xbuild] Clean up test logs.
Remove unnecessary debug spew for tests that pass.
Atsushi Eno [Wed, 9 Mar 2011 13:50:25 +0000 (22:50 +0900)]
Some attempts to make KnownTypeCollection parallel access safe.
Atsushi Eno [Wed, 9 Mar 2011 12:17:59 +0000 (21:17 +0900)]
Remove old windows threading workaround.
Rolf Bjarne Kvinge [Tue, 8 Mar 2011 23:15:30 +0000 (00:15 +0100)]
Microsoft.Build.Tasks: vbnc2 must be used for the 2.0 profile
Marek Safar [Wed, 9 Mar 2011 08:16:08 +0000 (08:16 +0000)]
Checking array elements is done using ImplicitReferenceConversionExists
Marek Safar [Tue, 8 Mar 2011 19:50:10 +0000 (19:50 +0000)]
Remove more temporary expressions from probing converts
Marek Safar [Tue, 8 Mar 2011 19:26:35 +0000 (19:26 +0000)]
Don't allocate conversion expression for probing implicit type-parameter conversion
Marek Safar [Tue, 8 Mar 2011 17:14:57 +0000 (17:14 +0000)]
Clean up more static state
Marek Safar [Tue, 8 Mar 2011 16:29:48 +0000 (16:29 +0000)]
Remove more static stuff
Atsushi Eno [Wed, 9 Mar 2011 06:56:16 +0000 (15:56 +0900)]
Auto detect BOM-less utf-16 and utf-32. Fixed bug #674580.
Peter Gerbrandt [Wed, 9 Mar 2011 04:59:15 +0000 (13:59 +0900)]
Implement support for QNameIndex (0xBC) in attribute nodes.
Atsushi Eno [Wed, 9 Mar 2011 01:18:42 +0000 (10:18 +0900)]
Temporarily disable InternalsVisibleTo(System.ServiceModel).
until mcs (in 2-10 or later release) fixes the issue.
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 23:05:15 +0000 (18:05 -0500)]
Avoid null refs when capacity set to 0
This fixes bug #676060.
Miguel de Icaza [Tue, 8 Mar 2011 22:51:20 +0000 (17:51 -0500)]
[System.Json] Fix loader.
The current loader failed with some Json strings due to the implementation
of the BufferedStreamReader. Removed that implementation completely,
and instead depend on the StreamReader to do the actual BOM detection.
This removes the JavaScriptObjectDeserializer.cs file
Miguel de Icaza [Tue, 8 Mar 2011 22:51:09 +0000 (17:51 -0500)]
Make print take an object
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 22:34:53 +0000 (17:34 -0500)]
Turn the method to upper case.
Fixes bug #675731.
joncham [Tue, 8 Mar 2011 21:59:02 +0000 (16:59 -0500)]
Pass -w to the diff to avoid CR/LF issues.
Sebastien Pouliot [Tue, 8 Mar 2011 20:20:46 +0000 (15:20 -0500)]
Reduce peverify errors on moonlight tuned assemblies
* InjectSecurityAttributes.cs: When (and only when) we remove the
security declarations we must set HasSecurity to false. This greatly
reduce peverify errors on the moonlight tuned assemblies
Gonzalo Paniagua Javier [Tue, 8 Mar 2011 17:34:14 +0000 (12:34 -0500)]
No need to create an extra instance of Worker.
Rodrigo Kumpera [Tue, 8 Mar 2011 16:32:33 +0000 (17:32 +0100)]
Fix windows build
Atsushi Eno [Tue, 8 Mar 2011 14:52:26 +0000 (23:52 +0900)]
In XNodeWriter, extra xmlns was written and often rejected for duplicate decls.
Fixed bug #675620.
Marek Safar [Tue, 8 Mar 2011 14:40:44 +0000 (14:40 +0000)]
[677550] Fixes fixed buffer regressions
Marek Safar [Tue, 8 Mar 2011 14:07:05 +0000 (14:07 +0000)]
Enhance the check for internal protected members used via a qualifier
Marek Safar [Tue, 8 Mar 2011 14:02:36 +0000 (14:02 +0000)]
Fix invalid il body for few tests
Marek Safar [Tue, 8 Mar 2011 13:57:15 +0000 (13:57 +0000)]
Fixes build
Marek Safar [Tue, 8 Mar 2011 08:57:27 +0000 (08:57 +0000)]
Fixed few unit tests build issues
Atsushi Eno [Tue, 8 Mar 2011 13:04:18 +0000 (22:04 +0900)]
More xml output fixes in XmlSyndicationContent and SydicationElementExtension.
They have couple of complicated xml outputs in both GetReader(AtContent)
and Write(Contents)To methods... check new tests for details.
Ankit Jain [Tue, 8 Mar 2011 12:38:13 +0000 (18:08 +0530)]
[xbuild] Implement FileLogger . Fix #676650 .
* FileLogger.cs: Implement
Add corresponding command line args for file loggers.
Update man page.
Ankit Jain [Tue, 8 Mar 2011 12:09:12 +0000 (17:39 +0530)]
[xbuild] ConsoleLogger - parse params only on Initialize.
Zoltan Varga [Tue, 8 Mar 2011 12:28:31 +0000 (13:28 +0100)]
Use ip as scratch reg when saving the LMF on arm, instead of r2.
Zoltan Varga [Tue, 8 Mar 2011 11:59:21 +0000 (12:59 +0100)]
Refactor the LMF save/restore code into separate functions on ARM, and optimize it a little.
Zoltan Varga [Tue, 8 Mar 2011 11:14:52 +0000 (12:14 +0100)]
Fix some warnings.
Zoltan Varga [Tue, 8 Mar 2011 11:10:02 +0000 (12:10 +0100)]
Get rid of mono_allocate_stack_slots, since all callers use the _full version.
Atsushi Eno [Tue, 8 Mar 2011 09:56:00 +0000 (18:56 +0900)]
Couple of fixes around XmlSyndicationContent.GetReaderAtContent().
- The returned XmlReader is positioned at the beginning of the element.
- XmlSyndicationContent.GetReaderAtContent() returns XmlReader that begins
with the "wrapper" which is dummy Atom 1.0 content element.
Marek Safar [Tue, 8 Mar 2011 08:43:17 +0000 (08:43 +0000)]
Simplify checking for few more special compiler types
Marek Safar [Mon, 7 Mar 2011 18:14:21 +0000 (18:14 +0000)]
Clean up predefined members caching
Atsushi Eno [Tue, 8 Mar 2011 06:26:51 +0000 (15:26 +0900)]
Remove wrong buffer size check in XmlTextReader.ReadChrs().
Atsushi Eno [Tue, 8 Mar 2011 05:52:04 +0000 (14:52 +0900)]
Make sure to call MoveToContent() to correctly determine node type.
Fix "Dictionary deserialization from xml with indent" issue.
Atsushi Eno [Tue, 8 Mar 2011 02:01:57 +0000 (11:01 +0900)]
DateTimeOffset child elements have fixed namespace.
Mark Probst [Tue, 8 Mar 2011 00:32:42 +0000 (01:32 +0100)]
Merge branch 'sgen-job-distribution'
Mark Probst [Mon, 7 Mar 2011 18:05:46 +0000 (19:05 +0100)]
[sgen] Store the destination's vtable before CASing the forwarding pointer.
Sometimes the binary protocol crashed because we were not doing this
before. It should not be strictly necessary if the binary protocol
is turned off, though.
Mark Probst [Fri, 4 Mar 2011 00:03:50 +0000 (01:03 +0100)]
[sgen] Make scan from remsets a job.
Mark Probst [Thu, 3 Mar 2011 23:35:59 +0000 (00:35 +0100)]
[sgen] Parallel nursery collection.
Do parallel nursery collections when using the parallel
Mark&Sweep collector.