mono.git
12 years agoMerge pull request #274 from iainlane/master
Zoltan Varga [Tue, 17 Apr 2012 16:34:48 +0000 (09:34 -0700)]
Merge pull request #274 from iainlane/master

Merge two smallish fixes

12 years agoUse mono_gc_memmove instead of memcpy to ensure store atomicity.
Rodrigo Kumpera [Mon, 16 Apr 2012 18:13:51 +0000 (15:13 -0300)]
Use mono_gc_memmove instead of memcpy to ensure store atomicity.

12 years agoWhen range allocating, pick the largest available block that fits minimum_size.
Rodrigo Kumpera [Mon, 16 Apr 2012 18:12:32 +0000 (15:12 -0300)]
When range allocating, pick the largest available block that fits minimum_size.

12 years agoHandle fragment alignment for split nursery correctly.
Rodrigo Kumpera [Mon, 16 Apr 2012 17:49:52 +0000 (14:49 -0300)]
Handle fragment alignment for split nursery correctly.

* sgen-split-nursery.c (prepare_to_space): If a fragment is not
aligned to the nursery alloc granule, we must insert phony arrays
for those areas as they might be needed by pinning and fragment
building.

12 years agoFix the signature of range allocs.
Rodrigo Kumpera [Mon, 16 Apr 2012 17:43:09 +0000 (14:43 -0300)]
Fix the signature of range allocs.

12 years agoIncrease timeout for some task tests
Marek Safar [Mon, 16 Apr 2012 16:49:38 +0000 (17:49 +0100)]
Increase timeout for some task tests

12 years agoFix time zone test
Marek Safar [Mon, 16 Apr 2012 16:35:15 +0000 (17:35 +0100)]
Fix time zone test

12 years agoConvert old unit tests
Marek Safar [Mon, 16 Apr 2012 15:14:23 +0000 (16:14 +0100)]
Convert old unit tests

12 years agoFix checking of index parameters for master infos
Marek Safar [Mon, 16 Apr 2012 13:52:38 +0000 (14:52 +0100)]
Fix checking of index parameters for master infos

12 years agoRemove 1.1 only members with wrong profile check
Marek Safar [Mon, 16 Apr 2012 13:24:04 +0000 (14:24 +0100)]
Remove 1.1 only members with wrong profile check

12 years agoFix System.Net.Http.Formatting compilation
Marek Habersack [Mon, 16 Apr 2012 14:33:44 +0000 (16:33 +0200)]
Fix System.Net.Http.Formatting compilation

12 years agoMVC3 compilation fix
Marek Habersack [Mon, 16 Apr 2012 14:28:48 +0000 (16:28 +0200)]
MVC3 compilation fix

12 years agoUpdated aspnetwebstack
Marek Habersack [Mon, 16 Apr 2012 13:29:51 +0000 (15:29 +0200)]
Updated aspnetwebstack

12 years agoAdd serial range alloc and export range alloc functions.
Rodrigo Kumpera [Sun, 15 Apr 2012 17:41:57 +0000 (14:41 -0300)]
Add serial range alloc and export range alloc functions.

12 years agoChange missing Task parent reference
Jeremie Laval [Mon, 16 Apr 2012 13:10:13 +0000 (14:10 +0100)]
Change missing Task parent reference

12 years agoSystem.Net.Http.Formatting, System.Web.Http and System.Web.WebPages updates
Marek Habersack [Mon, 16 Apr 2012 12:15:17 +0000 (14:15 +0200)]
System.Net.Http.Formatting, System.Web.Http and System.Web.WebPages updates

12 years agoUpdated aspnetwebstack to the latest upstream
Marek Habersack [Mon, 16 Apr 2012 12:14:26 +0000 (14:14 +0200)]
Updated aspnetwebstack to the latest upstream

12 years agoFix compilation of tests in the 4.5 profile
Marek Habersack [Thu, 12 Apr 2012 14:21:34 +0000 (16:21 +0200)]
Fix compilation of tests in the 4.5 profile

12 years agoFix Task child waiting for RunSynchronously
Jeremie Laval [Mon, 16 Apr 2012 11:37:24 +0000 (12:37 +0100)]
Fix Task child waiting for RunSynchronously

12 years agoChange how parent is selected during Task creation and do not force continuation...
Jeremie Laval [Mon, 16 Apr 2012 11:35:42 +0000 (12:35 +0100)]
Change how parent is selected during Task creation and do not force continuation's parent as they are not necessarily the same as their ancestor

12 years agoRemove/fix invalid Ststem.Json tests.
Atsushi Eno [Mon, 16 Apr 2012 10:51:16 +0000 (19:51 +0900)]
Remove/fix invalid Ststem.Json tests.

12 years agoEnsure compiler flags are passed into build system
Iain Lane [Sun, 15 Apr 2012 14:16:24 +0000 (15:16 +0100)]
Ensure compiler flags are passed into build system

This issue was discovered when it was noted that Debian's hardening
buildflags weren't being propogated to all binaries.

The patch is from Simon Ruderich <simon@ruderich.org> and originated on
a Debian bug[0].

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657518

12 years agoFix ARM printf format problems
Iain Lane [Sun, 15 Apr 2012 13:49:55 +0000 (14:49 +0100)]
Fix ARM printf format problems

When building with -Werror=format-security on ARM, mono fails to build
due to incorrect format strings in arm-dis.c

12 years agoRemove HasCacheControl from here too (fixes the build)
Gonzalo Paniagua Javier [Sun, 15 Apr 2012 02:28:13 +0000 (22:28 -0400)]
Remove HasCacheControl from here too (fixes the build)

12 years agoFix issues with caching
Gonzalo Paniagua Javier [Sat, 14 Apr 2012 19:24:53 +0000 (15:24 -0400)]
Fix issues with caching

When the 't' parameter was specified, we returned a 304 if the
timestamp matched the assembly timestamp, even if the client
needed the entire body. We were also setting the 304 response
cachebility as public to further mess things up.

Fixes the treeview in the class status pages.

12 years ago[Mono.Debugger.Soft] Don't use Enum.HasFlags because it's not available in net_2_0.
Duncan Mak [Sat, 14 Apr 2012 04:41:10 +0000 (00:41 -0400)]
[Mono.Debugger.Soft] Don't use Enum.HasFlags because it's not available in net_2_0.

12 years ago[Mono.Debugger.Soft] Implemented TypeMirror.GetMethodsByNameFlags() for older runtimes.
Jeffrey Stedfast [Fri, 13 Apr 2012 23:23:19 +0000 (19:23 -0400)]
[Mono.Debugger.Soft] Implemented TypeMirror.GetMethodsByNameFlags() for older runtimes.

12 years agoParse floating point values with negative exponent correctly. Fix bug #4415
Sebastien Pouliot [Fri, 13 Apr 2012 23:19:13 +0000 (19:19 -0400)]
Parse floating point values with negative exponent correctly. Fix bug #4415

12 years agoFix long standing cast problem that truncated doubles
Neale Ferguson [Fri, 13 Apr 2012 19:53:02 +0000 (15:53 -0400)]
Fix long standing cast problem that truncated doubles

12 years agoDon't overwrite the current variable without first saving its value in case a Task...
Jeremie Laval [Fri, 13 Apr 2012 19:09:59 +0000 (20:09 +0100)]
Don't overwrite the current variable without first saving its value in case a Task is executed inline inside another task

12 years agoFix a warning about an unused function.
Rodrigo Kumpera [Fri, 13 Apr 2012 17:45:03 +0000 (14:45 -0300)]
Fix a warning about an unused function.

12 years agoRestore nursery sizing option.
Rodrigo Kumpera [Fri, 13 Apr 2012 17:44:46 +0000 (14:44 -0300)]
Restore nursery sizing option.

12 years agoFix more formating warnings.
Rodrigo Kumpera [Fri, 13 Apr 2012 17:32:20 +0000 (14:32 -0300)]
Fix more formating warnings.

12 years agoFix darwin pthread macro hack to explose pthread extensions.
Rodrigo Kumpera [Fri, 13 Apr 2012 17:32:09 +0000 (14:32 -0300)]
Fix darwin pthread macro hack to explose pthread extensions.

12 years agoUse the right formating (%td) for mword. Fix tons of warnings on OSX.
Rodrigo Kumpera [Fri, 13 Apr 2012 16:43:55 +0000 (13:43 -0300)]
Use the right formating (%td) for mword. Fix tons of warnings on OSX.

12 years agoAdd missing file
Marek Safar [Fri, 13 Apr 2012 17:04:28 +0000 (18:04 +0100)]
Add missing file

12 years agoCorrectly propagate faulted status and exception from child to parent in attached...
Jeremie Laval [Fri, 13 Apr 2012 16:24:58 +0000 (17:24 +0100)]
Correctly propagate faulted status and exception from child to parent in attached case

12 years agoFix calling await on base expressions
Marek Safar [Fri, 13 Apr 2012 16:09:07 +0000 (17:09 +0100)]
Fix calling await on base expressions

12 years agoImplement more of System.Net.Http
Marek Safar [Fri, 13 Apr 2012 15:09:50 +0000 (16:09 +0100)]
Implement more of System.Net.Http

12 years agoFix uri escaping to match .net 4
Marek Safar [Fri, 13 Apr 2012 11:11:03 +0000 (12:11 +0100)]
Fix uri escaping to match .net 4

12 years agoAvoid crashing creating a process when workdir is null.
Rodrigo Kumpera [Fri, 13 Apr 2012 12:47:53 +0000 (09:47 -0300)]
Avoid crashing creating a process when workdir is null.

12 years agoAdd out of range check to exponent parsing.
Marek Safar [Fri, 13 Apr 2012 08:12:02 +0000 (09:12 +0100)]
Add out of range check to exponent parsing.

12 years agoFix warnings on OSX.
Zoltan Varga [Fri, 13 Apr 2012 07:00:43 +0000 (09:00 +0200)]
Fix warnings on OSX.

12 years agoBring this test to the new NUnit syntax
Miguel de Icaza [Fri, 13 Apr 2012 03:25:35 +0000 (23:25 -0400)]
Bring this test to the new NUnit syntax

12 years agoFix the build, add PDComparer to the Makefile
Miguel de Icaza [Fri, 13 Apr 2012 03:04:35 +0000 (23:04 -0400)]
Fix the build, add PDComparer to the Makefile

12 years agoAdd some changes to work on MonoTouch
Miguel de Icaza [Fri, 13 Apr 2012 03:02:11 +0000 (23:02 -0400)]
Add some changes to work on MonoTouch

12 years agoFix parsing of invalid int* exponents. Fixes #4396.
Marek Safar [Thu, 12 Apr 2012 14:46:19 +0000 (15:46 +0100)]
Fix parsing of invalid int* exponents. Fixes #4396.

12 years agoImplement ContentDispositionHeaderValue
Marek Safar [Thu, 12 Apr 2012 13:47:31 +0000 (14:47 +0100)]
Implement ContentDispositionHeaderValue

12 years agoFix setting of byref variables in sdb. Fixes #4362.
Zoltan Varga [Thu, 12 Apr 2012 09:22:57 +0000 (11:22 +0200)]
Fix setting of byref variables in sdb. Fixes #4362.

12 years agoImprove ManualResetEventSlim consistency with new algorithm
Jeremie Laval [Wed, 11 Apr 2012 13:57:56 +0000 (14:57 +0100)]
Improve ManualResetEventSlim consistency with new algorithm

12 years ago[asp.net] Fix for bug #4135. Do not unescape request path in HttpRequest.Path, it...
Marek Habersack [Wed, 11 Apr 2012 10:17:53 +0000 (12:17 +0200)]
[asp.net] Fix for bug #4135. Do not unescape request path in HttpRequest.Path, it's done by the worker

12 years agoRemove unused parameter
Marek Safar [Wed, 11 Apr 2012 09:01:17 +0000 (10:01 +0100)]
Remove unused parameter

12 years agoImplement Task::LongRunning option
Marek Safar [Wed, 11 Apr 2012 08:53:43 +0000 (09:53 +0100)]
Implement Task::LongRunning option

12 years agoAdd more visitors
Marek Safar [Wed, 11 Apr 2012 07:44:06 +0000 (08:44 +0100)]
Add more visitors

12 years agoKeep enum base type in ast event if it's invalid
Marek Safar [Wed, 11 Apr 2012 07:29:06 +0000 (08:29 +0100)]
Keep enum base type in ast event if it's invalid

12 years ago[xbuild] Don't evaluate an import unless the file actually exists
Jeffrey Stedfast [Tue, 10 Apr 2012 19:21:33 +0000 (15:21 -0400)]
[xbuild] Don't evaluate an import unless the file actually exists

Fix for bug #4365.

12 years agoTry to recover incomplete case label. Fixes #4004
Marek Safar [Tue, 10 Apr 2012 18:05:56 +0000 (19:05 +0100)]
Try to recover incomplete case label. Fixes #4004

12 years agoBetter error recovery wrong invalid conditional expression.
Marek Safar [Tue, 10 Apr 2012 16:31:03 +0000 (17:31 +0100)]
Better error recovery wrong invalid conditional expression.

12 years agoUse .NET 4.5 implementation of Task's WhenAll/WhenAny for TaskFactory's ContinueWhenA...
Jeremie Laval [Tue, 10 Apr 2012 15:35:02 +0000 (16:35 +0100)]
Use .NET 4.5 implementation of Task's WhenAll/WhenAny for TaskFactory's ContinueWhenAll/ContinueWhenAny

The diff noise in Task.cs is just moving WhenAllCore and WhenAnyCore outside of their NET_4_5 region

12 years agoBetter argument checking in TaskFactory's ContinueWhen* methods
Jeremie Laval [Tue, 10 Apr 2012 15:30:43 +0000 (16:30 +0100)]
Better argument checking in TaskFactory's ContinueWhen* methods

12 years agoRevert "Remove MONO_OPT_SCHED; we don't actually use it and it's misleading."
Paolo Molaro [Tue, 10 Apr 2012 15:08:58 +0000 (17:08 +0200)]
Revert "Remove MONO_OPT_SCHED; we don't actually use it and it's misleading."
This commit breaks binary compatibility for no good reason.

This reverts commit cd794a67a600d4ad7db4ebc31273615a4635b445.

12 years agoLoad the llvm module from the lib dir of an installed mono before the system dirs.
Paolo Molaro [Tue, 10 Apr 2012 15:04:41 +0000 (17:04 +0200)]
Load the llvm module from the lib dir of an installed mono before the system dirs.
Get the executable binary name on OSX, too.
Fix private symbol use in mini-llvm.c.

12 years agoAdd more incomplete statements to AST. Fixes #4361.
Marek Safar [Tue, 10 Apr 2012 14:18:35 +0000 (15:18 +0100)]
Add more incomplete statements to AST. Fixes #4361.

12 years agoCreate better expression type for incomplete new expression. Fixes #4361.
Marek Safar [Tue, 10 Apr 2012 14:06:17 +0000 (15:06 +0100)]
Create better expression type for incomplete new expression. Fixes #4361.

12 years agoBetter error recovery from incomplete argument expression. Fixes #4156
Marek Safar [Tue, 10 Apr 2012 13:40:27 +0000 (14:40 +0100)]
Better error recovery from incomplete argument expression. Fixes #4156

12 years agoRecover attributes from incomplete parameters declaration. Fixes #4058.
Marek Safar [Tue, 10 Apr 2012 12:57:34 +0000 (13:57 +0100)]
Recover attributes from incomplete parameters declaration. Fixes #4058.

12 years agoAdd unit test for bug #2007
Jeremie Laval [Tue, 10 Apr 2012 13:24:45 +0000 (14:24 +0100)]
Add unit test for bug #2007

12 years agoRemove now useless barriers in ManualResetEventSlim since Interlocked do the job...
Jeremie Laval [Tue, 10 Apr 2012 11:48:03 +0000 (12:48 +0100)]
Remove now useless barriers in ManualResetEventSlim since Interlocked do the job for us

Related to f8b8ea08f6daeeb4ab9e441c018401b5fc45ae49

12 years agoRework CancellationTokenSource to remove locking. Fix #4173.
Jeremie Laval [Tue, 10 Apr 2012 11:35:18 +0000 (12:35 +0100)]
Rework CancellationTokenSource to remove locking. Fix #4173.

Issue reported by MartinG, unit test code based on his repro.

12 years agoDo not execute a Task continuation when it has already been canceled externally
Jeremie Laval [Tue, 10 Apr 2012 11:34:26 +0000 (12:34 +0100)]
Do not execute a Task continuation when it has already been canceled externally

12 years agoUpdate copyrights
Jeremie Laval [Tue, 10 Apr 2012 10:38:09 +0000 (11:38 +0100)]
Update copyrights

12 years agoAdd consistency unit test for ManualResetEventSlim between internal state and WaitHan...
Jeremie Laval [Thu, 5 Apr 2012 11:19:19 +0000 (12:19 +0100)]
Add consistency unit test for ManualResetEventSlim between internal state and WaitHandle abstraction

12 years agoSwitch from boolean to count mode to safely detect disposability in ManualResetEventSlim.
Jeremie Laval [Thu, 5 Apr 2012 11:16:49 +0000 (12:16 +0100)]
Switch from boolean to count mode to safely detect disposability in ManualResetEventSlim.

Having two concurrent operations of Set/Reset who succeeded in fetching the handle before it was disabled all the while trying to dispose may have caused a early release of the handle.

12 years agoRefactor TaskTests.WaitChildTestCase test
Jeremie Laval [Thu, 5 Apr 2012 10:51:36 +0000 (11:51 +0100)]
Refactor TaskTests.WaitChildTestCase test

12 years agoFix nullable binary comparison with lifted unboxed expression. Fixes #4340
Marek Safar [Tue, 10 Apr 2012 11:32:46 +0000 (12:32 +0100)]
Fix nullable binary comparison with lifted unboxed expression. Fixes #4340

12 years agoBetter error message for misused property. Fixes #4338
Marek Safar [Tue, 10 Apr 2012 09:38:09 +0000 (10:38 +0100)]
Better error message for misused property. Fixes #4338

12 years agoFix test target
Marek Safar [Tue, 10 Apr 2012 08:59:50 +0000 (09:59 +0100)]
Fix test target

12 years agoAdd split minor collector to the test matrix.
Rodrigo Kumpera [Tue, 10 Apr 2012 00:52:14 +0000 (21:52 -0300)]
Add split minor collector to the test matrix.

12 years agoFirst rounds of fixes to the split nursery.
Rodrigo Kumpera [Tue, 10 Apr 2012 00:17:02 +0000 (21:17 -0300)]
First rounds of fixes to the split nursery.

12 years agoMove the scan/copy fast functions to the nursery collectors.
Rodrigo Kumpera [Mon, 9 Apr 2012 19:12:19 +0000 (16:12 -0300)]
Move the scan/copy fast functions to the nursery collectors.

The minor copy/scan functions used to be specialized based on the
major collector. It's better to do so based on the nursery collector
since we expect that more objects are internally promoted than moved
to the major heap.

12 years agoBring back the old nursery design and make it runtime selectable.
Rodrigo Kumpera [Thu, 5 Apr 2012 22:20:25 +0000 (19:20 -0300)]
Bring back the old nursery design and make it runtime selectable.

12 years agoDocument usages of sgen_nursery_is_to_space.
Rodrigo Kumpera [Wed, 4 Apr 2012 21:25:48 +0000 (18:25 -0300)]
Document usages of sgen_nursery_is_to_space.

12 years agoUpdate documentation.
Rodrigo Kumpera [Wed, 4 Apr 2012 16:27:29 +0000 (13:27 -0300)]
Update documentation.

12 years agoFirst take on split nursery.
Rodrigo Kumpera [Mon, 2 Apr 2012 11:05:31 +0000 (08:05 -0300)]
First take on split nursery.

12 years agoIntroduce SgenObjectOperations that holds all copy/scan functions needed by a given...
Rodrigo Kumpera [Wed, 4 Apr 2012 23:59:54 +0000 (20:59 -0300)]
Introduce SgenObjectOperations that holds all copy/scan functions needed by a given collection configuration.

12 years agoFix Mono.Options tests build.
alexrp [Mon, 9 Apr 2012 19:21:53 +0000 (21:21 +0200)]
Fix Mono.Options tests build.

12 years agoFix Mono.Debugger.Soft tests build.
alexrp [Mon, 9 Apr 2012 19:03:11 +0000 (21:03 +0200)]
Fix Mono.Debugger.Soft tests build.

12 years agoIgnore *.mlpd.
alexrp [Mon, 9 Apr 2012 18:59:51 +0000 (20:59 +0200)]
Ignore *.mlpd.

12 years agoRemove MONO_OPT_SCHED; we don't actually use it and it's misleading.
alexrp [Mon, 9 Apr 2012 18:37:10 +0000 (20:37 +0200)]
Remove MONO_OPT_SCHED; we don't actually use it and it's misleading.

12 years agoFix tests build
Marek Safar [Mon, 9 Apr 2012 18:38:28 +0000 (19:38 +0100)]
Fix tests build

12 years agoMerge pull request #272 from metanest/scriptpathproblem_2012Apr_spike
Zoltan Varga [Mon, 9 Apr 2012 09:11:08 +0000 (02:11 -0700)]
Merge pull request #272 from metanest/scriptpathproblem_2012Apr_spike

script path modify. to build in not souce tree.

12 years agoscript path modify. to build in not souce tree.
KISHIMOTO, Makoto [Mon, 9 Apr 2012 08:10:59 +0000 (17:10 +0900)]
script path modify. to build in not souce tree.

12 years agoAvoid using the -e argument to echo in patch-quiet.sh, it doesn't work with osx's...
Zoltan Varga [Mon, 9 Apr 2012 06:52:49 +0000 (08:52 +0200)]
Avoid using the -e argument to echo in patch-quiet.sh, it doesn't work with osx's echo.

12 years agoAllow setting the name of threadpool threads. Fixes #4269.
Zoltan Varga [Mon, 9 Apr 2012 06:29:32 +0000 (08:29 +0200)]
Allow setting the name of threadpool threads. Fixes #4269.

12 years agoHandle --fatal during parsing
Marek Safar [Sun, 8 Apr 2012 21:41:03 +0000 (22:41 +0100)]
Handle --fatal during parsing

12 years agoFix the domains of the objects returned by AssemblyMirror.GetAssemblyObject ()/TypeMi...
Zoltan Varga [Sat, 7 Apr 2012 04:04:10 +0000 (06:04 +0200)]
Fix the domains of the objects returned by AssemblyMirror.GetAssemblyObject ()/TypeMirror.GetTypeObject (). Avoid caching empty strings in AppDomainMirror.FriendlyName. Fixes #4223.

12 years agoSplit the for loop in different states to produce a complete For loop node in the...
Miguel de Icaza [Fri, 6 Apr 2012 21:04:06 +0000 (17:04 -0400)]
Split the for loop in different states to produce a complete For loop node in the AST, to support MonoDevelop, fixed #3578

12 years agoUpdate version
Miguel de Icaza [Thu, 22 Mar 2012 18:06:51 +0000 (14:06 -0400)]
Update version

12 years agoMerge pull request #216 from ilkerde/master
Miguel de Icaza [Fri, 6 Apr 2012 18:03:35 +0000 (11:03 -0700)]
Merge pull request #216 from ilkerde/master

Better CS1529 Compliance for CSharp Code Generator

12 years ago[corlib] Correctly recurse directories in Directory.EnumerateFiles if the first entry...
Marek Habersack [Fri, 6 Apr 2012 17:35:38 +0000 (19:35 +0200)]
[corlib] Correctly recurse directories in Directory.EnumerateFiles if the first entry is a directory

If the first entry in a directory happened to be another directory, the code wouldn't descend if
SearchOption.AllDirectoris was specified.