Jonathan Chambers [Fri, 26 Aug 2011 03:24:46 +0000 (23:24 -0400)]
Add new file to project.
Zoltan Varga [Thu, 25 Aug 2011 23:52:55 +0000 (01:52 +0200)]
Fix the scanning of the register save areas in the precise stack marking code, we were scanning 4/8 slots conservatively instead of just 1.
Zoltan Varga [Thu, 25 Aug 2011 23:18:50 +0000 (01:18 +0200)]
Make the plt symbols used by llvm+aot code more descriptive.
Zoltan Varga [Thu, 25 Aug 2011 23:07:56 +0000 (01:07 +0200)]
Name llvm structure types.
Zoltan Varga [Thu, 25 Aug 2011 22:18:37 +0000 (00:18 +0200)]
Update the LLVM backend to the latest code in the llvm-mono repository.
Alexander Chebaturkin [Wed, 13 Jul 2011 22:47:34 +0000 (02:47 +0400)]
The base architecture for code-contracts analysis
Marek Safar [Wed, 24 Aug 2011 13:59:34 +0000 (14:59 +0100)]
Check TaskFactory continuation options
Jonathan Pryor [Wed, 24 Aug 2011 13:41:01 +0000 (09:41 -0400)]
[mdoc] Remove monodocer.cs.orig, .monodocer.cs.swp.
These never should have been added in the first place. Oops.
Atsushi Eno [Thu, 25 Aug 2011 01:11:25 +0000 (18:11 -0700)]
Revert GET switch for serializing requests. BodyWriter handles it better.
Atsushi Eno [Wed, 24 Aug 2011 23:46:08 +0000 (16:46 -0700)]
for GET request, just skip the member. It does not contain xml for null.
Atsushi Eno [Wed, 24 Aug 2011 19:14:48 +0000 (12:14 -0700)]
Skip serialization when the return type is void.
This batch should fix bug #206.
Atsushi Eno [Wed, 24 Aug 2011 19:12:04 +0000 (12:12 -0700)]
Do not try to output empty message body to logs.
Atsushi Eno [Wed, 24 Aug 2011 19:10:31 +0000 (12:10 -0700)]
When there is void return, the common message formatter should ignore it.
This case occurs when MessageContract is used and there is no member for
the return value.
Atsushi Eno [Wed, 24 Aug 2011 19:09:16 +0000 (12:09 -0700)]
ReturnValue in MessageDescription was missing when there was MessageContract.
Atsushi Eno [Wed, 24 Aug 2011 19:05:05 +0000 (12:05 -0700)]
Differentiate GET query parameter binding from another request binding.
This is one core of the bugfix for #206.
Atsushi Eno [Wed, 24 Aug 2011 19:02:38 +0000 (12:02 -0700)]
When there was no path parameter, it ignored the whole path part.
Atsushi Eno [Wed, 24 Aug 2011 19:00:59 +0000 (12:00 -0700)]
This filter should ignore port, and should not filter out anonymous URIs.
Jérémie Laval [Tue, 23 Aug 2011 20:27:53 +0000 (22:27 +0200)]
Add System.Threading.Tasks.Dataflow assembly to the 4.0 build
Jonathan Pryor [Tue, 23 Aug 2011 19:51:09 +0000 (15:51 -0400)]
[mdoc-update] Fix interaction between --delete, -fno-assembly-versions.
`mdoc update --delete` is supposed to remove XML for types and type
members that are no longer present. This works sanely if the
type/member has only one assembly version in it, but once a member is
found in multiple versions, --delete only removes for the assembly
version currently being processed, and thus the member may stay in.
Ordinarily this is sufficient, and is why the HTML output lists the
assembly versions the type/member is found in.
However, then we introduce -fno-assembly-versions, which removes the
version store (if present) and doesn't re-generate. Thus, when both
are present, we would expect types and members to be removed,
irregardless of any pre-existing version information (because that
version information will be removed). This didn't happen. Worse,
because we kept re-processing version information, we'd ~never remove
any members even after repeated invocations, because we weren't
properly skipping the version store. Oops.
Fix the interaction, and Add tests so we ensure this works.
Zoltan Varga [Tue, 23 Aug 2011 16:50:23 +0000 (18:50 +0200)]
Allow ldfld/stfld/ldflda to work on static fields by merging the relevant JIT code with the ldsfld/stsfld code. Fixes #705383.
Marek Safar [Tue, 23 Aug 2011 14:24:02 +0000 (15:24 +0100)]
Void type is not convertible to reference types
Marek Safar [Tue, 23 Aug 2011 13:59:20 +0000 (14:59 +0100)]
Remove wrong assembly attribute
Marek Safar [Tue, 23 Aug 2011 13:58:03 +0000 (14:58 +0100)]
Fix struct cycle detection for static generic type fields
Marek Safar [Tue, 23 Aug 2011 09:22:30 +0000 (10:22 +0100)]
Use inflated version of interfaces when checking base method type parameter contraints
Rodrigo Kumpera [Mon, 22 Aug 2011 22:43:19 +0000 (19:43 -0300)]
Rework self suspend to avoid a race on Mach.
* mono-threads.c (mono_thread_info_self_suspend): Implement
self suspend using semaphores in the same way it's done on
posix.
* mono-threads-posix.c:
* mono-threads-mach.c: Remove mono_threads_core_self_suspend
as this is now done on the platform independent bits.
* mono-threads.h: Add suspend bits to the state enum.
Marek Safar [Tue, 23 Aug 2011 12:48:04 +0000 (05:48 -0700)]
Merge pull request #162 from garuma/tpl-dataflow-blocks
@marek - TPL Dataflow part 4
Atsushi Eno [Tue, 23 Aug 2011 18:31:06 +0000 (11:31 -0700)]
UriTemplate should not be mandatory, make it optional. Fix unit test.
Jérémie Laval [Mon, 22 Aug 2011 15:49:23 +0000 (17:49 +0200)]
Use events to wait for completion (where applicable) in dataflow unit tests
Jérémie Laval [Mon, 22 Aug 2011 15:07:12 +0000 (17:07 +0200)]
Fix file name in source comment
Jérémie Laval [Thu, 11 Aug 2011 12:27:39 +0000 (14:27 +0200)]
Remove #if NET_4_0 and add MonoTODO attribute
Jérémie Laval [Wed, 10 Aug 2011 16:40:37 +0000 (18:40 +0200)]
Add blocks implementation
Zoltan Varga [Mon, 22 Aug 2011 22:51:29 +0000 (00:51 +0200)]
Link libmono-profiler-cov against eglib as well.
Zoltan Varga [Thu, 18 Aug 2011 14:58:26 +0000 (16:58 +0200)]
Disable some failing LLVM passes. Should fix bxc #280.
Atsushi Eno [Mon, 22 Aug 2011 05:06:15 +0000 (14:06 +0900)]
Fix mobile builds in the latest Tasks change.
Jérémie Laval [Sat, 20 Aug 2011 15:53:07 +0000 (17:53 +0200)]
Update System build too
Jérémie Laval [Sat, 20 Aug 2011 15:05:11 +0000 (17:05 +0200)]
Split internal types in their own files
Jérémie Laval [Sat, 20 Aug 2011 12:59:31 +0000 (14:59 +0200)]
Throw when a non-finished task is started
Jérémie Laval [Sat, 20 Aug 2011 12:51:45 +0000 (14:51 +0200)]
Make TaskCompletionSource methods thread-safe
Jérémie Laval [Sat, 20 Aug 2011 12:12:09 +0000 (14:12 +0200)]
Move old default task scheduler to Mono.Parallel
Jérémie Laval [Sat, 20 Aug 2011 11:49:13 +0000 (13:49 +0200)]
Revert "Remove the old PFX Scheduler from the build"
This reverts commit
d3f95a523031f569eb823f28685fbad113f33bae.
Miguel de Icaza [Sat, 20 Aug 2011 03:50:40 +0000 (23:50 -0400)]
Remove the old PFX Scheduler from the build
Rodrigo Kumpera [Fri, 19 Aug 2011 21:54:15 +0000 (18:54 -0300)]
Fix variance test involving nullable types.
* class.c (mono_class_is_variant_compatible): Reject valuetypes
if not the same straight away. This fixes testing IEnumerable<int?>
with IEnumerable<int>.
Fixes bxc #185
Marek Safar [Fri, 19 Aug 2011 15:33:46 +0000 (16:33 +0100)]
Split TaskFactory.cs file
Mark Probst [Fri, 19 Aug 2011 13:14:15 +0000 (15:14 +0200)]
[sgen] Pinning and remset statistics per class.
Mark Probst [Thu, 18 Aug 2011 09:31:45 +0000 (11:31 +0200)]
[sgen] Optional equality function for the hash table.
Mark Probst [Thu, 18 Aug 2011 09:21:52 +0000 (11:21 +0200)]
[sgen] Use GLib's hash func typedef instead of our own.
Marek Safar [Fri, 19 Aug 2011 11:50:18 +0000 (12:50 +0100)]
TaskCompletionSource.SetException cannot be used with empty array
Rodrigo Kumpera [Fri, 19 Aug 2011 00:52:58 +0000 (21:52 -0300)]
Correctly calculate the size of the freed array buffer.
* sgen-bridge.c (dyn_array_ensure_capacity): We must correctly
calculate the size as our allocator asserts when we do it with
very large allocs.
Marek Safar [Thu, 18 Aug 2011 17:06:22 +0000 (18:06 +0100)]
Run scheduled continuation on current context
Marek Safar [Thu, 18 Aug 2011 15:26:30 +0000 (16:26 +0100)]
remove bom
Marek Safar [Thu, 18 Aug 2011 15:20:24 +0000 (16:20 +0100)]
Make await contextual keyword
Marek Safar [Thu, 18 Aug 2011 15:19:53 +0000 (16:19 +0100)]
Warn about misused async modifier
Alan McGovern [Thu, 18 Aug 2011 15:00:23 +0000 (16:00 +0100)]
[LinkedList] Optimise Clear slightly.
Alan McGovern [Thu, 18 Aug 2011 14:58:36 +0000 (07:58 -0700)]
Merge pull request #161 from LogosBible/master
Fix bug #311: On LinkedList.Clear, detach each node instead of dropping them en masse.
Marek Safar [Thu, 18 Aug 2011 13:44:38 +0000 (06:44 -0700)]
Merge pull request #160 from garuma/tpl-dataflow-plumbing
@marek - TPL Dataflow part 3
Marek Safar [Thu, 18 Aug 2011 09:09:48 +0000 (10:09 +0100)]
Make async keyword context sensitive
Marek Safar [Wed, 17 Aug 2011 10:12:29 +0000 (11:12 +0100)]
Anonymous methods cannot be used as infered type
Marek Safar [Wed, 17 Aug 2011 10:03:16 +0000 (11:03 +0100)]
Remove unused field
Marek Safar [Wed, 17 Aug 2011 09:08:04 +0000 (10:08 +0100)]
Add new test
Rodrigo Kumpera [Thu, 18 Aug 2011 01:55:46 +0000 (22:55 -0300)]
Handle android's broken pthread_kill in sgen too.
Rodrigo Kumpera [Thu, 18 Aug 2011 01:40:51 +0000 (22:40 -0300)]
Handle android's broken pthread_kill.
* mono-threads-posix.c: Add mono_threads_pthread_kill
to handle android's pthread bug in which the main-thread
has an invalid tid.
Todd Foster [Wed, 17 Aug 2011 17:23:58 +0000 (10:23 -0700)]
Fix bug #311: On LinkedList.Clear, detach each node instead of dropping them en masse.
Jérémie Laval [Thu, 11 Aug 2011 12:23:19 +0000 (14:23 +0200)]
Remove #if NET_4_0
Jérémie Laval [Wed, 10 Aug 2011 16:28:53 +0000 (18:28 +0200)]
Add plumbing internal classes used throughout the framework
Jérémie Laval [Wed, 17 Aug 2011 18:00:05 +0000 (20:00 +0200)]
Fix coding style
Mark Probst [Wed, 17 Aug 2011 17:32:06 +0000 (19:32 +0200)]
Merge branch 'sgen-hash-table'
Mark Probst [Wed, 17 Aug 2011 17:01:09 +0000 (19:01 +0200)]
[sgen] Use the reusable hash table for the bridge hash.
Mark Probst [Wed, 17 Aug 2011 15:33:03 +0000 (17:33 +0200)]
[sgen] Use the reusable hash table for the weak link hashes.
Mark Probst [Wed, 17 Aug 2011 13:50:44 +0000 (15:50 +0200)]
[sgen] Use the reusable hash table for the roots hashes.
Mark Probst [Sun, 31 Jul 2011 22:44:25 +0000 (00:44 +0200)]
[sgen] Factor out the finalize hash tables into a reusable hash table implementation.
Jb Evain [Wed, 17 Aug 2011 16:30:54 +0000 (18:30 +0200)]
Fix wrong references to Cecil
Sebastien Pouliot [Wed, 17 Aug 2011 14:17:28 +0000 (10:17 -0400)]
Provide an error message if an instance method is decorated with [MonoPInvokeCallback]. Ease finding issues like bug #296
Jb Evain [Wed, 17 Aug 2011 14:09:36 +0000 (16:09 +0200)]
update Cecil
Alan McGovern [Wed, 17 Aug 2011 12:44:54 +0000 (13:44 +0100)]
[System.IO.Packaging] Add another test
Alan McGovern [Wed, 17 Aug 2011 12:23:05 +0000 (13:23 +0100)]
[minizip] Ensure we don't ever accidentally change calling convention
Make sure we always #define ZCALLBACK to empty so we don't change
the calling convention on windows by including a header which defines
'CALLBACK'. This will keep things as cdecl as required by the c#
pinvokes.
Alan McGovern [Wed, 17 Aug 2011 10:52:22 +0000 (11:52 +0100)]
[System.IO.Packaging] Fix calling convention related issues
The P/Invokes should be Cdecl as the library is compiled with that
calling convention. The delegates passed to native code must also
be marshalled as Cdecl. Fixes BXC #223.
Marek Safar [Wed, 17 Aug 2011 08:28:35 +0000 (09:28 +0100)]
Update to the latest IKVM reflect
Marek Safar [Wed, 17 Aug 2011 08:26:31 +0000 (09:26 +0100)]
Do full identity conversion when converting variant interface types. Fixes #293
Marek Safar [Tue, 16 Aug 2011 20:44:56 +0000 (21:44 +0100)]
Fix resolving of named arguments which break optional arguments into more than 2 sets
Miguel de Icaza [Wed, 17 Aug 2011 05:18:27 +0000 (01:18 -0400)]
More updates
Miguel de Icaza [Wed, 17 Aug 2011 04:52:23 +0000 (00:52 -0400)]
update copyrights
Rodrigo Kumpera [Tue, 16 Aug 2011 19:28:42 +0000 (16:28 -0300)]
Fix g_log redirection under android.
Marek Safar [Tue, 16 Aug 2011 15:22:53 +0000 (16:22 +0100)]
Implement await dynamic type expression
Marek Safar [Tue, 16 Aug 2011 12:11:23 +0000 (05:11 -0700)]
Merge pull request #157 from garuma/tpl-dataflow-ifaces
@marek - TPL Dataflow part 2
Jérémie Laval [Thu, 11 Aug 2011 11:57:31 +0000 (13:57 +0200)]
Remove #if NET_4_0
Jérémie Laval [Wed, 10 Aug 2011 15:44:51 +0000 (17:44 +0200)]
Add Dataflow specific boilerplate & interfaces
Jérémie Laval [Mon, 15 Aug 2011 20:57:17 +0000 (22:57 +0200)]
Correctly check TaskCreationOptions upper bound
Marek Safar [Mon, 15 Aug 2011 19:19:55 +0000 (20:19 +0100)]
Enable await expressions to work with dynamic binder
Jeffrey Stedfast [Mon, 15 Aug 2011 19:15:32 +0000 (15:15 -0400)]
Fix for bug #445855
In this day and age of mobile personal computing devices,
we need to periodically check the underlying system
timezone because the device may have crossed a timezone
boundary.
Zoltan Varga [Sun, 14 Aug 2011 20:30:54 +0000 (22:30 +0200)]
Don't pass MONO_UNWIND_ACTUAL_METHOD to the stack walker in a signal handler, its not signal safe. Fixes bxc #263.
Gonzalo Paniagua Javier [Sat, 13 Aug 2011 04:32:20 +0000 (00:32 -0400)]
[threadpool] Exit on unhandled exceptions only
Unhandled exceptions will only set the exitcode if there is no
AppDomain unhandled exception handler. When the exitcode is set,
the TP will exit for unhandled exceptions.
Fixes bug #227.
Gonzalo Paniagua Javier [Sat, 13 Aug 2011 03:13:38 +0000 (23:13 -0400)]
[threadpool] Work around for a race-condition
Under some circumstances new_job was not signaled and the threadpool
threads didn't realized there was a workitem in the queue.
Fixes Xamarin bug #12 and Novell bug #690357.
Marek Safar [Sat, 13 Aug 2011 17:10:13 +0000 (18:10 +0100)]
Implement hoisting of anonymous methods with variables inside async body
Marek Safar [Sat, 13 Aug 2011 07:13:41 +0000 (08:13 +0100)]
Change the way how using declarators statements are generated to handle await in using body
Marek Safar [Fri, 12 Aug 2011 12:45:17 +0000 (13:45 +0100)]
Check using and fixed statement declarators for missing initializer
Marek Safar [Sat, 13 Aug 2011 11:54:28 +0000 (04:54 -0700)]
Merge pull request #156 from garuma/tpl-dataflow-tasks
@marek - TPL Dataflow part 1
Chris Toshok [Sat, 13 Aug 2011 01:51:50 +0000 (18:51 -0700)]
force has_finalize to be initialized before we write out the cached class info. We were
ending up with classes that had finalizers in their hierarchy but weren't registering for
finalization when full-aot mode was used.
Miguel de Icaza [Fri, 12 Aug 2011 22:34:37 +0000 (18:34 -0400)]
Ship System.Json for 2.0 and 4.0 as well.
Just because the .NET framework does not ship System.Json with their
core profiles does not mean we should not distribuet them.
Bring the joy of System.Json from Silverlight to the desktop
# with '#' will be ignored, and an empty message aborts the commit.
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: ../Makefile
# modified: Makefile
# modified: System.Json.dll.sources
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# ../../../eglib/src/gpath.c.orig
# System.Json/.JsonValue.cs.swp
# sources
# ../System/System.Net/#WebRequest.cs#
# ../../tools/monodoc/Resources/mono-ecma.css.orig
# ../../../mono.h
# ../../../mono/metadata/y
# ../../../mono/mini/.aot-compiler.c.swp
# ../../../mono/utils/mono-dtrace.h
# ../../../monotouch-enterprise.ashx
# ../../../web/
Sebastien Pouliot [Fri, 12 Aug 2011 18:57:16 +0000 (14:57 -0400)]
Use 'as' for casting certificate extensions since we already deal with null and malformed extensions will throw, hard to debug, ICE when we just want to ignore them
Sebastien Pouliot [Fri, 12 Aug 2011 18:55:52 +0000 (14:55 -0400)]
fix building unit tests