Atsushi Eno [Tue, 19 Jul 2011 00:05:27 +0000 (09:05 +0900)]
fix build regarding ContentType.
Rodrigo Kumpera [Mon, 18 Jul 2011 18:38:35 +0000 (15:38 -0300)]
Fix the altstack check so it works under osx.
Rodrigo Kumpera [Mon, 18 Jul 2011 18:42:45 +0000 (15:42 -0300)]
Do some portability adjustments so altstack works on osx.
* mini-exceptions.c (mono_setup_altstack): Use stack_t instead
of struct sigaltstack. Don't set ss_flags as OSX doesn't like it.
* mini-exceptions.c (mono_free_altstack): Use stack_t instead
of struct sigaltstack.
Rodrigo Kumpera [Mon, 18 Jul 2011 18:13:16 +0000 (15:13 -0300)]
On OSX do SIGBUS on altstack as well since it's used for *0.
Rodrigo Kumpera [Mon, 18 Jul 2011 18:09:15 +0000 (15:09 -0300)]
Handle altstack exceptions in a more portable way on x86.
* exceptions-x86.c (mono_arch_handle_altstack_exception): Push a
MonoContext to the stack instead of an ucontext. It's smaller
and more portable since we don't have to bother with internal
pointers.
Rodrigo Kumpera [Sun, 17 Jul 2011 16:42:34 +0000 (13:42 -0300)]
Fix stack overflow code to work under darwin-x86.
* mini-x86.h: Respect MINSIGSTKSZ under OSX.
* mini-amd64.h: Ditto.
Rodrigo Kumpera [Sun, 17 Jul 2011 01:32:10 +0000 (22:32 -0300)]
Fix mono_thread_get_stack_bounds thread bounds.
Mark Probst [Mon, 18 Jul 2011 17:59:45 +0000 (19:59 +0200)]
[sgen] Use ptrdiff_t instead of ssize_t.
Mark Probst [Mon, 18 Jul 2011 17:58:11 +0000 (19:58 +0200)]
[sgen] Move all signal stuff into sgen-os-posix.c.
This might make Mach stop working or uncompilable.
Mark Probst [Mon, 18 Jul 2011 15:27:13 +0000 (17:27 +0200)]
[gc] Don't do unaligned loads in mono_gc_memmove ().
This caused problems on S390x, at least.
Atsushi Eno [Mon, 18 Jul 2011 17:28:59 +0000 (02:28 +0900)]
support action parameter in SOAP 1.2 content type. Close pull request #133.
Atsushi Eno [Sat, 16 Jul 2011 13:48:41 +0000 (06:48 -0700)]
Fix bug 704813: just ignore members of type IEnumerable`1 without Add().
Rodrigo Kumpera [Fri, 15 Jul 2011 20:54:38 +0000 (17:54 -0300)]
If a thread abort is fatal, print the exception before dying.
Rodrigo Kumpera [Fri, 15 Jul 2011 20:49:41 +0000 (17:49 -0300)]
Improve stacktraces when facing a runtime invoke wrapper.
* mini-exceptions.c (mono_handle_exception_internal_first_pass):
Don't trim the trace list if we find a filter clause from a wrapper.
This makes stacktraces across MRI's work.
Extract trace trimming into a macro to reduce code duplication.
Marek Safar [Fri, 15 Jul 2011 14:53:17 +0000 (15:53 +0100)]
Await support for more expressions
Marek Safar [Thu, 14 Jul 2011 12:22:37 +0000 (13:22 +0100)]
Add await support for more expressions
Marek Safar [Thu, 14 Jul 2011 08:16:16 +0000 (09:16 +0100)]
Use array index instead of an iterator when checking interfaces
Mark Probst [Wed, 13 Jul 2011 17:07:52 +0000 (19:07 +0200)]
[sgen] Option for an allowance limit.
The metric for deciding when to trigger a major collection assumes
that there's unlimited memory, so it does, especially since it's
probably buggy and certainly not very smart, sometimes allow too much
allocation to happen. This new option is a way to tell SGen where to
draw the line. Note that memory will still be allocated, it's just
that once the limit is overstepped, major collections happen more
frequently to keep memory usage down.
Marek Safar [Wed, 13 Jul 2011 16:25:06 +0000 (17:25 +0100)]
Implement await for new expressions
Marek Safar [Wed, 13 Jul 2011 16:00:22 +0000 (17:00 +0100)]
Implement async inside a method with MVARs and contraints
Marek Safar [Wed, 13 Jul 2011 08:39:18 +0000 (09:39 +0100)]
Await for array access expression
Marek Safar [Tue, 12 Jul 2011 12:45:59 +0000 (13:45 +0100)]
Return from async method has to also skip following code block
Rodrigo Kumpera [Tue, 12 Jul 2011 14:01:16 +0000 (11:01 -0300)]
Avoid a .cctor on the initialization path.
Rodrigo Kumpera [Tue, 12 Jul 2011 14:01:10 +0000 (11:01 -0300)]
Add shared_perfcounters option to enable minimal.
Mark Probst [Tue, 12 Jul 2011 15:37:32 +0000 (17:37 +0200)]
[gc] Fix a bug in atomic memmove.
Marek Safar [Tue, 12 Jul 2011 08:26:47 +0000 (09:26 +0100)]
Modify few emits to deal with await expression
Rodrigo Kumpera [Tue, 12 Jul 2011 04:32:25 +0000 (01:32 -0300)]
Do DISABLE_PORTABILITY more agressively.
Zoltan Varga [Tue, 12 Jul 2011 00:49:42 +0000 (02:49 +0200)]
Store precise wrapper info for native-to-managed wrappers, needed by AOT.
Zoltan Varga [Tue, 12 Jul 2011 00:08:29 +0000 (02:08 +0200)]
Avoid register allocation problems when a try clause is nested inside a handler block.
Zoltan Varga [Mon, 11 Jul 2011 21:16:40 +0000 (23:16 +0200)]
Get rid of the 'ut_e_' symbols in AOT, use the normal 'ut_' symbols for them.
Zoltan Varga [Mon, 11 Jul 2011 15:10:04 +0000 (17:10 +0200)]
Fix the length of r4const on arm.
Mark Probst [Fri, 8 Jul 2011 19:47:00 +0000 (21:47 +0200)]
[sgen] Debug option for printing the heap usage and minor collection allowance.
Zoltan Varga [Sun, 10 Jul 2011 22:23:36 +0000 (00:23 +0200)]
Fix caching in mono_marshal_get_array_address ().
Rodrigo Kumpera [Sat, 9 Jul 2011 16:10:44 +0000 (13:10 -0300)]
Fix signal chaining to handle a stupid previous handler.
Rodrigo Kumpera [Fri, 8 Jul 2011 23:44:21 +0000 (20:44 -0300)]
Disable the exception thread under iOS since it's neither needed nor working.
Atsushi Eno [Fri, 8 Jul 2011 21:50:58 +0000 (06:50 +0900)]
Full equivalence comparison is unnecessary for MessageEncoder ContentType.
based on https://github.com/mono/mono/pull/130
Zoltan Varga [Fri, 8 Jul 2011 12:37:44 +0000 (14:37 +0200)]
Resurrect the AOT profiler.
Marek Safar [Fri, 8 Jul 2011 07:14:17 +0000 (00:14 -0700)]
Merge pull request #131 from txdv/master
Encoding constants should be in lower case.
Andrius Bentkus [Fri, 8 Jul 2011 04:32:57 +0000 (06:32 +0200)]
Fix upper case encoding constants.
name.ToLowerInvariant ().Replace ('-', '_') should ensure that they
are all lowercase.
Jonathan Pobst [Thu, 7 Jul 2011 21:52:46 +0000 (16:52 -0500)]
'async' is becoming a keyword. Fix variables named async.
Jonathan Pobst [Thu, 7 Jul 2011 21:50:49 +0000 (16:50 -0500)]
Handle DBNull's.
Marek Safar [Thu, 7 Jul 2011 15:34:28 +0000 (16:34 +0100)]
Initial skeleton of secondary approach of await stack handling
Marek Safar [Tue, 5 Jul 2011 16:29:42 +0000 (17:29 +0100)]
Remove debug comment
Jeffrey Stedfast [Wed, 6 Jul 2011 22:21:29 +0000 (18:21 -0400)]
Reverted previous commit, struct sizes vary way too much between platforms
Jeffrey Stedfast [Wed, 6 Jul 2011 22:06:14 +0000 (18:06 -0400)]
Use a struct utsname when calling uname() instead of an 8K buffer
Jeffrey Stedfast [Wed, 6 Jul 2011 17:32:05 +0000 (13:32 -0400)]
Add System/Platform.cs to *System*.dll.sources
Rodrigo Kumpera [Wed, 6 Jul 2011 17:01:15 +0000 (10:01 -0700)]
Merge pull request #128 from paszczi/master
Fix for bug #701733
Jeffrey Stedfast [Wed, 6 Jul 2011 16:42:24 +0000 (12:42 -0400)]
Make internal Platform class static
Jeffrey Stedfast [Wed, 6 Jul 2011 16:06:12 +0000 (12:06 -0400)]
Load the correct type for MacOSX (as opposed to iOS)
Zoltan Varga [Wed, 6 Jul 2011 14:17:09 +0000 (16:17 +0200)]
Do some work towards making ARM fp mode runtime configurable, still far from working.
Zoltan Varga [Wed, 6 Jul 2011 14:16:16 +0000 (16:16 +0200)]
Prefix ARM FPA codegen macros with 'FPA'.
Zoltan Varga [Wed, 6 Jul 2011 13:37:32 +0000 (15:37 +0200)]
Avoid calling add_method () twice.
Zoltan Varga [Wed, 6 Jul 2011 02:12:59 +0000 (04:12 +0200)]
Add an ExportSymbol property to MonoPInvokeCallbackAttribute to instruct the AOT compiler to generate a global symbol for the native-to-managed wrapper.
Jeffrey Stedfast [Tue, 5 Jul 2011 21:53:54 +0000 (17:53 -0400)]
Oops, we need Platform.cs too
Jeffrey Stedfast [Tue, 5 Jul 2011 21:52:25 +0000 (17:52 -0400)]
Implemented a shared way to do MacOSX detection in System.dll
Jeffrey Stedfast [Tue, 5 Jul 2011 21:00:58 +0000 (17:00 -0400)]
Doh, do proper OSX detection
Jeffrey Stedfast [Tue, 5 Jul 2011 20:31:47 +0000 (16:31 -0400)]
Use runtime detection to decide to use CoreFoundation.CFNetwork.GetDefaultProxy()
Jeffrey Stedfast [Tue, 5 Jul 2011 18:10:14 +0000 (14:10 -0400)]
On MonoTouch, call CoreFoundation.CFNetwork.GetDefaultProxy() to get the default proxy
Sebastien Pouliot [Tue, 5 Jul 2011 14:17:41 +0000 (10:17 -0400)]
Ensure the .mdb file is copied if the linker decides not the link, but copy, an assembly
Sebastien Pouliot [Tue, 5 Jul 2011 14:17:06 +0000 (10:17 -0400)]
Do not mark all static fields when marking a ValueType (except for enums)
Marek Safar [Tue, 5 Jul 2011 09:30:11 +0000 (10:30 +0100)]
Reuse fields used by hoisted stack slots
Maciej Paszta [Tue, 5 Jul 2011 05:42:02 +0000 (07:42 +0200)]
Fix for bug #701733
Marek Safar [Mon, 4 Jul 2011 19:02:58 +0000 (20:02 +0100)]
Stack forwarder don't not need explicit this when one of the arguments is this
Marek Safar [Fri, 1 Jul 2011 19:51:35 +0000 (20:51 +0100)]
Implement stack persistance for nested async
Geoff Norton [Fri, 1 Jul 2011 16:15:26 +0000 (09:15 -0700)]
Merge pull request #127 from trustme/master
Fix crash on Lion when exiting
Duane Wandless [Fri, 1 Jul 2011 12:46:28 +0000 (08:46 -0400)]
Fix crash on Lion when exiting
Marek Safar [Fri, 1 Jul 2011 11:09:35 +0000 (12:09 +0100)]
Fix a race in continuation setup
Marek Safar [Fri, 1 Jul 2011 11:01:51 +0000 (12:01 +0100)]
Migrate more emit specific code to EmitContext and clean it up for stack tracking
Zoltan Varga [Fri, 1 Jul 2011 00:49:08 +0000 (02:49 +0200)]
Fix the Thread.Interrupt () test now that it is implemented.
Zoltan Varga [Fri, 1 Jul 2011 00:32:25 +0000 (02:32 +0200)]
Fix some tests broken by some NET 4.0 changes.
Zoltan Varga [Thu, 30 Jun 2011 23:00:59 +0000 (01:00 +0200)]
Fix an enum test.
Zoltan Varga [Thu, 30 Jun 2011 23:00:31 +0000 (01:00 +0200)]
Fix sorting of ulong[] arrays among others when using the non-generic Sort() overloads.
Zoltan Varga [Thu, 30 Jun 2011 22:59:52 +0000 (00:59 +0200)]
Disable a not working delegate test.
Marek Habersack [Thu, 30 Jun 2011 21:59:55 +0000 (23:59 +0200)]
[asp.net] Added FormsAuthentication.Timeout 4.0 property
Zoltan Varga [Thu, 30 Jun 2011 20:41:56 +0000 (22:41 +0200)]
Revert delegate-invoke.exe as the commit it depends on,
929c6bc9b6d76a273f251e6f5dfacac36e9c38bd has been removed.
Zoltan Varga [Thu, 30 Jun 2011 20:29:39 +0000 (22:29 +0200)]
Disable a test which fails with AOT.
Zoltan Varga [Thu, 30 Jun 2011 18:46:11 +0000 (20:46 +0200)]
Avoid creating an AssemblyBuilder in DynamicMethod if not needed.
Jb Evain [Wed, 29 Jun 2011 23:24:50 +0000 (01:24 +0200)]
Fix handling of null in the non generic implementation of EqualityComparer. Fixes 703027.
Jb Evain [Wed, 29 Jun 2011 23:23:14 +0000 (01:23 +0200)]
Add test for bug #703027.
Rodrigo Kumpera [Wed, 29 Jun 2011 14:04:18 +0000 (11:04 -0300)]
Fix more typos.
Marek Safar [Tue, 28 Jun 2011 21:56:07 +0000 (22:56 +0100)]
Use correct method to declare local variable
Marek Safar [Tue, 28 Jun 2011 15:25:14 +0000 (16:25 +0100)]
Remove redundant local variable copy
Marek Safar [Mon, 27 Jun 2011 17:08:59 +0000 (18:08 +0100)]
Make continuation jump more explicit
Marek Safar [Sat, 25 Jun 2011 13:54:06 +0000 (14:54 +0100)]
Remove redundant override
Eberhard Beilharz [Wed, 29 Jun 2011 06:25:44 +0000 (08:25 +0200)]
[PATCH 2/2] Improve code readability
Use enum instead of hard coded values for XLookupStatus values.
Eberhard Beilharz [Wed, 29 Jun 2011 06:23:21 +0000 (08:23 +0200)]
[PATCH 1/2] Improved fix for mono bug #692206
In contrast to Xutf8LookupString, XLookupString returns the number
of characters stored in the buffer instead of a status. If the buffer
is too small the output is truncated, but we don't know it. However, it
seems pretty unlikely that a buffer of 24 chars shouldn't be enough for a
single key press, so I simplified the code a little bit.
Also, XLookupString converts the keySym to an ISO Latin-1
character so that there is no need to do an explicit conversion.
Add variable to store Ansi encoding so that we have to get it only once.
Fix a few problems encountered debugging this problem.
Jackson Harper [Wed, 29 Jun 2011 03:22:44 +0000 (23:22 -0400)]
We can accidently swallow out of FD errors here since this function is called from a threadpool thread.
Rodrigo Kumpera [Tue, 28 Jun 2011 21:16:10 +0000 (18:16 -0300)]
Fix typo.
Atsushi Eno [Tue, 28 Jun 2011 11:43:13 +0000 (20:43 +0900)]
Implement support for Stream param with WebHttpBinding raw content format.
Atsushi Eno [Tue, 28 Jun 2011 09:01:38 +0000 (18:01 +0900)]
Implement support for generic data contract type name with "{x}".
Marek Habersack [Mon, 27 Jun 2011 17:59:03 +0000 (10:59 -0700)]
Merge pull request #112 from skolima/master
[MSBuild] Preserve comments in build files & use LinkedList to store children
Paolo Molaro [Mon, 27 Jun 2011 13:49:48 +0000 (15:49 +0200)]
Add an aot option to override the value of readonly static fields.
If the static constructor of a type has been run, the JIT can perform
some optimizations based on the actual value of static readonly fields.
This isn't possible in AOT mode, since the code won't be ran before compile
time: this option allows to set any number of static readonly fields to
a constant value so that the compiler can perform the same kind of
optimizations.
Paolo Molaro [Fri, 10 Jun 2011 13:08:33 +0000 (15:08 +0200)]
Remove the data field from MonoVTable to reduce memory usage.
We now store a pointer to the static fields area of a type at the
end of the vtable array only when needed, so we save memory for all
the types that have no static fields.
All the direct accesses to the field have been changed to use the
already existing function accessor.
Leszek 'skolima' Ciesielski [Sat, 25 Jun 2011 13:57:06 +0000 (15:57 +0200)]
[MSBuild] Fixed issues found by Paul Selormey.
Unset attributes should return String.Empty, null is only for invalid.
Leszek 'skolima' Ciesielski [Tue, 21 Jun 2011 17:14:32 +0000 (19:14 +0200)]
[MSBuild] LinkedList used for storing children
ProjectElementContainer should now handle modifications faster.
Leszek 'skolima' Ciesielski [Sat, 4 Jun 2011 15:56:00 +0000 (17:56 +0200)]
[MSBuild] Preserve comments in build files
Contribution by Paul Selormey
Mark Probst [Thu, 23 Jun 2011 15:05:46 +0000 (17:05 +0200)]
[sgen] Do the bridge callback after the world has been restarted.
Gonzalo Paniagua Javier [Fri, 24 Jun 2011 17:42:44 +0000 (10:42 -0700)]
Merge pull request #122 from rabink/master
Added support for p12 files
Gonzalo Paniagua Javier [Fri, 24 Jun 2011 05:03:39 +0000 (22:03 -0700)]
Merge pull request #121 from LogosBible/processfixes
Fixes crash when calling Process.Start on a file with a ' in the path
Zoltan Varga [Thu, 23 Jun 2011 22:23:08 +0000 (00:23 +0200)]
Treat CEE_BREAK the same as Debugger:Break (), i.e. route it through sdb.