mono.git
13 years agoAdd MonoTaskExtensions to Mono.Parallel (with test and doc).
Jérémie Laval [Fri, 14 Jan 2011 17:20:48 +0000 (17:20 +0000)]
Add MonoTaskExtensions to Mono.Parallel (with test and doc).

13 years agoUpdate namespaces
Jérémie Laval [Fri, 14 Jan 2011 16:57:34 +0000 (16:57 +0000)]
Update namespaces

13 years agoError out instead of crashing when using sgen+pthread.
Zoltan Varga [Fri, 14 Jan 2011 13:57:47 +0000 (14:57 +0100)]
Error out instead of crashing when using sgen+pthread.

13 years agoFix a warning.
Zoltan Varga [Fri, 14 Jan 2011 13:57:40 +0000 (14:57 +0100)]
Fix a warning.

13 years agoDisable unification into current assembly, it's not fully implemented yet
Marek Safar [Fri, 14 Jan 2011 13:10:35 +0000 (13:10 +0000)]
Disable unification into current assembly, it's not fully implemented yet

13 years agoAdd weak name as allowed identity comparison result
Marek Safar [Fri, 14 Jan 2011 12:41:41 +0000 (12:41 +0000)]
Add weak name as allowed identity comparison result

13 years agoFix AOT.
Zoltan Varga [Fri, 14 Jan 2011 12:39:44 +0000 (13:39 +0100)]
Fix AOT.

13 years agoMake use of the wait changes in the internal TaskScheduler -> IScheduler proxy.
Jérémie Laval [Thu, 13 Jan 2011 17:15:02 +0000 (17:15 +0000)]
Make use of the wait changes in the internal TaskScheduler -> IScheduler proxy.

13 years agoInternal ThreadWorker deque creation is now delegated to the scheduler.
Jérémie Laval [Thu, 13 Jan 2011 17:14:05 +0000 (17:14 +0000)]
Internal ThreadWorker deque creation is now delegated to the scheduler.

Looking into exporting ThreadWorker to Mono.Parallel

13 years ago[xbuild] Update Novell copyright.
Ankit Jain [Fri, 14 Jan 2011 09:20:51 +0000 (14:50 +0530)]
[xbuild] Update Novell copyright.

13 years ago[xbuild] Error out, if no target is found in a project.
Ankit Jain [Fri, 14 Jan 2011 09:17:50 +0000 (14:47 +0530)]
[xbuild] Error out, if no target is found in a project.

13 years agoUpdate ikvm sources
Marek Safar [Fri, 14 Jan 2011 08:17:57 +0000 (08:17 +0000)]
Update ikvm sources

13 years agoRegister also default assemblies in loaded files list
Marek Safar [Thu, 13 Jan 2011 22:27:05 +0000 (22:27 +0000)]
Register also default assemblies in loaded files list

13 years agoFix System.Data.Services.Client public key
Marek Safar [Thu, 13 Jan 2011 19:58:30 +0000 (19:58 +0000)]
Fix System.Data.Services.Client public key

13 years agoDecrease the length of the dyn_call opcode on arm to fix a warning.
Zoltan Varga [Fri, 14 Jan 2011 02:27:43 +0000 (03:27 +0100)]
Decrease the length of the dyn_call opcode on arm to fix a warning.

13 years agoAvoid defining boehm/sgen defines when compiling files in mini/.
Zoltan Varga [Thu, 13 Jan 2011 23:43:11 +0000 (00:43 +0100)]
Avoid defining boehm/sgen defines when compiling files in mini/.

13 years agoAdd some more functions to gc-internal.h to help remove all HAVE_SGEN_GC defines
Zoltan Varga [Thu, 13 Jan 2011 22:47:47 +0000 (23:47 +0100)]
Add some more functions to gc-internal.h to help remove all HAVE_SGEN_GC defines
from mini/.

13 years agoFix a warning.
Zoltan Varga [Thu, 13 Jan 2011 22:36:29 +0000 (23:36 +0100)]
Fix a warning.

13 years ago[Socket] Implemented TCP keep alive support
Gonzalo Paniagua Javier [Thu, 13 Jan 2011 23:27:18 +0000 (18:27 -0500)]
[Socket] Implemented TCP keep alive support

Implemented SetTcpKeepAlive for ServicePoint*.

13 years agoAdd vcxproj files for msbuild
Andrew Jorgensen [Thu, 13 Jan 2011 18:15:46 +0000 (11:15 -0700)]
Add vcxproj files for msbuild

13 years ago2.11
Andrew Jorgensen [Thu, 13 Jan 2011 22:55:25 +0000 (15:55 -0700)]
2.11

13 years agoAdd test for #660685
Rodrigo Kumpera [Thu, 13 Jan 2011 22:45:27 +0000 (23:45 +0100)]
Add test for #660685

13 years agoHandle one more case of constraint compatibility.
Rodrigo Kumpera [Thu, 13 Jan 2011 22:42:36 +0000 (23:42 +0100)]
Handle one more case of constraint compatibility.

* verify.c (mono_generic_param_is_constraint_compatible):
Handle the case when a variable has a class constraints
and the target has reference constraint. For example:

C : string
T : class

On the above case, C can satisfy the T constraint.

Fixes #660685

13 years agoRemove an unneccesary HAVE_SGEN_GC.
Zoltan Varga [Thu, 13 Jan 2011 22:22:05 +0000 (23:22 +0100)]
Remove an unneccesary HAVE_SGEN_GC.

13 years ago[xbuild] Use the backing field directly to avoid evaluating again.
Ankit Jain [Thu, 13 Jan 2011 21:59:34 +0000 (03:29 +0530)]
[xbuild] Use the backing field directly to avoid evaluating again.

* Microsoft.Build.BuildEngine.Project.cs (InitializeProperties): Use
evaluatedProperties field instead of EvaluatedProperties property,
to avoid invoking a Reevaluate, since it is already in progress.

13 years ago[xbuild] Fix bug #664349 .
Ankit Jain [Thu, 13 Jan 2011 21:55:19 +0000 (03:25 +0530)]
[xbuild] Fix bug #664349 .

* Microsoft.Build.BuildEngine/Project.cs (BuildInternal): Set needToReevaluate to
false, when reevaluating.

13 years ago[xbuild] Add $(TargetDir) property.
Ankit Jain [Thu, 13 Jan 2011 20:47:04 +0000 (02:17 +0530)]
[xbuild] Add $(TargetDir) property.

Add $(TargetDir) and set TargetPath only if its not set already.

13 years ago[xbuild] Clear the built targets cache on project unload.
Ankit Jain [Thu, 13 Jan 2011 19:50:00 +0000 (01:20 +0530)]
[xbuild] Clear the built targets cache on project unload.

Remove the entries for a project from the built targets cache, on
project unload.

* Microsoft.Build.BuildEngine/Engine.cs (ClearBuiltTargetsForProject): New.
* Microsoft.Build.BuildEngine/Project.cs (BuiltTargetKeys): Remove.
(RemoveBuiltTargets): Use Engine.ClearBuiltTargetsForProject .
* Microsoft.Build.BuildEngine/Target.cs: Track api changes.
*

13 years ago[data-annotations] Added some missing 4.0 members
Marek Habersack [Thu, 13 Jan 2011 19:09:21 +0000 (20:09 +0100)]
[data-annotations] Added some missing 4.0 members

13 years ago[asp.net] Implemented the 4.0 type, FileLevelMasterPageControlBuilder
Marek Habersack [Thu, 13 Jan 2011 18:55:58 +0000 (19:55 +0100)]
[asp.net] Implemented the 4.0 type, FileLevelMasterPageControlBuilder

13 years agoEmit all AOT symbols to 4 bytes on apple.
Zoltan Varga [Thu, 13 Jan 2011 18:03:43 +0000 (19:03 +0100)]
Emit all AOT symbols to 4 bytes on apple.

13 years agoAdd null check to stelem_ref_check () jit icall. Fixes #664297.
Zoltan Varga [Thu, 13 Jan 2011 17:41:01 +0000 (18:41 +0100)]
Add null check to stelem_ref_check () jit icall. Fixes #664297.

13 years agoupdate ikvm
Marek Safar [Thu, 13 Jan 2011 16:26:47 +0000 (16:26 +0000)]
update ikvm

13 years agoTests update
Marek Safar [Thu, 13 Jan 2011 16:26:30 +0000 (16:26 +0000)]
Tests update

13 years agoRecover from invalid constraint syntax
Marek Safar [Thu, 13 Jan 2011 16:24:26 +0000 (16:24 +0000)]
Recover from invalid constraint syntax

13 years agoNew file
Marek Safar [Thu, 13 Jan 2011 15:55:03 +0000 (15:55 +0000)]
New file

13 years agoRevert test makefile change
Marek Safar [Thu, 13 Jan 2011 15:53:53 +0000 (15:53 +0000)]
Revert test makefile change

13 years agoImplement assembly name unification for imported references
Marek Safar [Thu, 13 Jan 2011 15:40:16 +0000 (15:40 +0000)]
Implement assembly name unification for imported references

13 years agoAdd CyclicDeque and doc
Jérémie Laval [Tue, 11 Jan 2011 16:02:24 +0000 (16:02 +0000)]
Add CyclicDeque and doc

13 years agoFinish ReaderWriterLockSlimmer documentation
Jérémie Laval [Tue, 11 Jan 2011 13:48:17 +0000 (13:48 +0000)]
Finish ReaderWriterLockSlimmer documentation

13 years agoProtect RwlSlimmer and add Try equivalent
Jérémie Laval [Tue, 11 Jan 2011 13:39:29 +0000 (13:39 +0000)]
Protect RwlSlimmer and add Try equivalent

13 years agoAdd missing documentation files
Jérémie Laval [Tue, 11 Jan 2011 11:43:39 +0000 (11:43 +0000)]
Add missing documentation files

13 years agoAdding ReaderWriterLockSlimmer to the build.
Jérémie Laval [Tue, 11 Jan 2011 11:02:11 +0000 (11:02 +0000)]
Adding ReaderWriterLockSlimmer to the build.

13 years agoDoc for AtomicBoolean(Value)
Jérémie Laval [Mon, 10 Jan 2011 19:12:57 +0000 (19:12 +0000)]
Doc for AtomicBoolean(Value)

13 years agoRefactor CSnzi node to not expose too much stuff
Jérémie Laval [Mon, 10 Jan 2011 19:07:29 +0000 (19:07 +0000)]
Refactor CSnzi node to not expose too much stuff

13 years agoUse correct doc dialect for true and false
Jérémie Laval [Mon, 10 Jan 2011 18:42:39 +0000 (18:42 +0000)]
Use correct doc dialect for true and false

13 years agoFinish docs of non-obvious methods in Mono.Collections.Concurrent
Jérémie Laval [Mon, 10 Jan 2011 17:13:06 +0000 (17:13 +0000)]
Finish docs of non-obvious methods in Mono.Collections.Concurrent

13 years agoUse comparer directly in ConcurrentSkipList rather than wrapped in a lambda.
Jérémie Laval [Mon, 10 Jan 2011 17:12:43 +0000 (17:12 +0000)]
Use comparer directly in ConcurrentSkipList rather than wrapped in a lambda.

13 years agoMake ConcurrentSkipList implements IEnumerable and ICollection instead of IProducerCo...
Jérémie Laval [Mon, 10 Jan 2011 15:43:03 +0000 (15:43 +0000)]
Make ConcurrentSkipList implements IEnumerable and ICollection instead of IProducerConsummerCollection

13 years agoMake ConcurrentOrderedList implements IEnumerable and ICollection
Jérémie Laval [Mon, 10 Jan 2011 15:26:26 +0000 (15:26 +0000)]
Make ConcurrentOrderedList implements IEnumerable and ICollection

13 years agoRename namespaces and update docs
Jérémie Laval [Mon, 10 Jan 2011 14:59:24 +0000 (14:59 +0000)]
Rename namespaces and update docs

13 years agoAdd Mono.Parallel documentation to global documentation compilation step
Jérémie Laval [Mon, 10 Jan 2011 14:06:54 +0000 (14:06 +0000)]
Add Mono.Parallel documentation to global documentation compilation step

13 years agoMove documentation to the right place
Jérémie Laval [Mon, 10 Jan 2011 14:03:33 +0000 (14:03 +0000)]
Move documentation to the right place

13 years agoMore doc for ConcurrentOrderedList
Jérémie Laval [Mon, 10 Jan 2011 13:42:15 +0000 (13:42 +0000)]
More doc for ConcurrentOrderedList

13 years agoAdd Comparer property to ConcurrentOrderedList
Jérémie Laval [Mon, 10 Jan 2011 13:40:12 +0000 (13:40 +0000)]
Add Comparer property to ConcurrentOrderedList

13 years agoAdd mdoc documentation
Jérémie Laval [Fri, 7 Jan 2011 15:26:34 +0000 (15:26 +0000)]
Add mdoc documentation

13 years agoRename QueryReturn to CSnziQueryReturn
Jérémie Laval [Fri, 7 Jan 2011 15:26:17 +0000 (15:26 +0000)]
Rename QueryReturn to CSnziQueryReturn

13 years agoUse proper configuration of MCS extra flags
Jérémie Laval [Fri, 7 Jan 2011 15:25:16 +0000 (15:25 +0000)]
Use proper configuration of MCS extra flags

13 years agoPlug Mono.Parallel into main build
Jérémie Laval [Fri, 7 Jan 2011 13:49:58 +0000 (13:49 +0000)]
Plug Mono.Parallel into main build

13 years agoFirst drop of a new Mono.Parallel assembly
Jérémie Laval [Fri, 7 Jan 2011 13:43:31 +0000 (13:43 +0000)]
First drop of a new Mono.Parallel assembly

13 years agoRework internal wait mechanism in thread workers participation code
Jérémie Laval [Thu, 13 Jan 2011 15:27:40 +0000 (15:27 +0000)]
Rework internal wait mechanism in thread workers participation code

13 years agoUse more modern method in older Task code path
Jérémie Laval [Thu, 13 Jan 2011 14:37:38 +0000 (14:37 +0000)]
Use more modern method in older Task code path

13 years agoUpdate Watch to a struct
Jérémie Laval [Thu, 13 Jan 2011 14:37:04 +0000 (14:37 +0000)]
Update Watch to a struct

13 years agoFix continuation not being scheduled because of too early and too greedy disposing.
Jérémie Laval [Thu, 13 Jan 2011 14:35:29 +0000 (14:35 +0000)]
Fix continuation not being scheduled because of too early and too greedy disposing.

13 years agoFix marking of default constructor constraint
Jb Evain [Thu, 13 Jan 2011 13:30:48 +0000 (14:30 +0100)]
Fix marking of default constructor constraint

13 years agoImplemented event support.
Atsushi Eno [Thu, 13 Jan 2011 12:12:41 +0000 (21:12 +0900)]
Implemented event support.

13 years agoBetter document how remapping works
Rodrigo Kumpera [Thu, 13 Jan 2011 10:43:47 +0000 (11:43 +0100)]
Better document how remapping works

13 years agoFix 2.0 remapping of System.Transations to 2.0 and not 3.5.
Rodrigo Kumpera [Thu, 13 Jan 2011 10:36:35 +0000 (11:36 +0100)]
Fix 2.0 remapping of System.Transations to 2.0 and not 3.5.

13 years agoAdd more checks for ambiguous assembly references
Marek Safar [Thu, 13 Jan 2011 09:02:17 +0000 (09:02 +0000)]
Add more checks for ambiguous assembly references

13 years agoDocument more AOT options.
Zoltan Varga [Thu, 13 Jan 2011 00:58:12 +0000 (01:58 +0100)]
Document more AOT options.

13 years agoApplied patch from Alexander Stohr <Alexander.Stohr@gmx.de>. Add a help argument...
Zoltan Varga [Thu, 13 Jan 2011 00:37:51 +0000 (01:37 +0100)]
Applied patch from Alexander Stohr <Alexander.Stohr@gmx.de>. Add a help argument to --aot.

13 years agoFix array assignability to one of its generic interfaces.
Rodrigo Kumpera [Wed, 12 Jan 2011 16:46:12 +0000 (17:46 +0100)]
Fix array assignability to one of its generic interfaces.

* verify.c: mono_class_is_assignable_from can't handle
IList<GTD<T>> x GTD[] since GTD[] won't have the right
iface slots set. This isn't a problem for the runtime
since GTD[] will never happen as it's an unrealizable type.

Fixes #663815

13 years agoHandle more cases of gtd encoded as ginst over itself.
Rodrigo Kumpera [Wed, 12 Jan 2011 13:03:54 +0000 (14:03 +0100)]
Handle more cases of gtd encoded as ginst over itself.

* verify.c (mono_type_is_valid_type_in_context_full):
The trick of encoding the GTD as an instantiation over its
own arguments is also valid for component types such as GTD[]
GTD[,] and Foo<GTD>.

13 years agoTest update
Marek Safar [Wed, 12 Jan 2011 15:26:15 +0000 (15:26 +0000)]
Test update

13 years agoDeal with missing nested type as well
Marek Safar [Wed, 12 Jan 2011 15:21:02 +0000 (15:21 +0000)]
Deal with missing nested type as well

13 years agoReport full type name for missing type references
Marek Safar [Wed, 12 Jan 2011 10:23:44 +0000 (10:23 +0000)]
Report full type name for missing type references

13 years agoFix cygwin build.
Atsushi Eno [Wed, 12 Jan 2011 10:47:00 +0000 (19:47 +0900)]
Fix cygwin build.

13 years agoAll C# compiler scripts point to mcs.exe now
Marek Safar [Wed, 12 Jan 2011 09:24:32 +0000 (09:24 +0000)]
All C# compiler scripts point to mcs.exe now

13 years ago[375182] Check AssemblyFileVersion version value
Marek Safar [Tue, 11 Jan 2011 19:14:43 +0000 (19:14 +0000)]
[375182] Check AssemblyFileVersion version value

13 years agoReport better error for recursive type reference
Marek Safar [Tue, 11 Jan 2011 17:51:20 +0000 (17:51 +0000)]
Report better error for recursive type reference

13 years agoImplement XamlBackgroundReader.
Atsushi Eno [Wed, 12 Jan 2011 07:49:38 +0000 (16:49 +0900)]
Implement XamlBackgroundReader.

13 years agoFix broken g_int_hash/g_int_equal semantics
Christian Hergert [Wed, 12 Jan 2011 00:02:47 +0000 (16:02 -0800)]
Fix broken g_int_hash/g_int_equal semantics

Both g_int_hash and g_int_equal used the semantics that an
integer is stored directly in the pointer. This is incorrect
as the pointer actually points to a location containing an
integer.

For those wanting the previous (incorrect) implementation,
they should look at g_direct_hash and g_direct_equal.

13 years ago[asp.net] Fix for bug #662918. Do not create the HtmlTitle child control for HtmlHead...
Marek Habersack [Tue, 11 Jan 2011 22:18:47 +0000 (23:18 +0100)]
[asp.net] Fix for bug #662918. Do not create the HtmlTitle child control for HtmlHead if <title> wasn't used in the page code.

13 years ago[sgen] Don't register objects for finalization if the domain is being unloaded.
Mark Probst [Tue, 11 Jan 2011 21:49:38 +0000 (22:49 +0100)]
[sgen] Don't register objects for finalization if the domain is being unloaded.

This fixes a crash in the appdomain unloading test.

13 years agoFix the win32 build
Geoff Norton [Tue, 11 Jan 2011 21:42:20 +0000 (16:42 -0500)]
Fix the win32 build

13 years agoFix win32 build
Geoff Norton [Tue, 11 Jan 2011 21:32:57 +0000 (16:32 -0500)]
Fix win32 build

13 years ago[sgen] Make binary protocol work again.
Mark Probst [Tue, 11 Jan 2011 21:10:15 +0000 (22:10 +0100)]
[sgen] Make binary protocol work again.

13 years agoDisable system AOT when using the loaded llvm, as it seems to cause crashes on the...
Zoltan Varga [Tue, 11 Jan 2011 19:54:19 +0000 (20:54 +0100)]
Disable system AOT when using the loaded llvm, as it seems to cause crashes on the x86 buildbot.

13 years ago[xbuild] Copy metadata from Project items to target outputs.
Ankit Jain [Tue, 11 Jan 2011 18:08:23 +0000 (23:38 +0530)]
[xbuild] Copy metadata from Project items to target outputs.

Copy metadata from Project items to the corresponding target
outputs in MSBuild task.

Fix the corresponding test also.

13 years ago[xbuild] Ensure trailing slash on some properties.
Ankit Jain [Tue, 11 Jan 2011 16:53:37 +0000 (22:23 +0530)]
[xbuild] Ensure trailing slash on some properties.

Ensure trailing slash on $(BaseIntermediateOutputPath) and
$(IntermediateOutputPath).

13 years agoImplement XamlNodeQueue, and add couple of missing files.
Atsushi Eno [Tue, 11 Jan 2011 17:03:24 +0000 (02:03 +0900)]
Implement XamlNodeQueue, and add couple of missing files.

13 years agoFix AOT on OSX/x86
Geoff Norton [Tue, 11 Jan 2011 15:33:48 +0000 (10:33 -0500)]
Fix AOT on OSX/x86

13 years agoInstall new ikvm based C# compiler as mcs
Marek Safar [Tue, 11 Jan 2011 15:45:17 +0000 (15:45 +0000)]
Install new ikvm based C# compiler as mcs

13 years agoUpdate copyright years
Marek Safar [Tue, 11 Jan 2011 14:29:22 +0000 (14:29 +0000)]
Update copyright years

13 years agoAllow RSACryptoServiceProvider.SignHash to work with SHA-2 family
Sebastien Pouliot [Tue, 11 Jan 2011 15:01:56 +0000 (10:01 -0500)]
Allow RSACryptoServiceProvider.SignHash to work with SHA-2 family

* System.Security.Cryptography/CryptoConfig.cs: Add OID for RIPEMD160
* System.Security.Cryptography/RSACryptoServiceProvider.cs: Update
GetHashNameFromOID to include SHA2-family OIDs. Remove historical
comments about 1.x FX behavior.

* Test/System.Security.Cryptography/CryptoConfigTest.cs: Add test cases
wrt RIPEMD160 OID
* Test/System.Security.Cryptography/RSACryptoServiceProviderTest.cs: Add
test case for SignHash with all FX-provided hash implementations (all
working except RIPEMD160). Remove some NET_2_0/NET_1_1 defines.
* Test/System.Security.Cryptography/RSAPKCS1SignatureFormatterTest.cs:
Remove hacks that were needed for running the tests under FX 1.x. Remove
some NET_2_0/NET_1_1 defines.

13 years agoDump the AOT log upon a failure.
Zoltan Varga [Tue, 11 Jan 2011 13:50:21 +0000 (14:50 +0100)]
Dump the AOT log upon a failure.

13 years ago[xbuild] ConsoleLogger - Correctly indent multi-line messages.
Ankit Jain [Tue, 11 Jan 2011 13:13:49 +0000 (18:43 +0530)]
[xbuild] ConsoleLogger - Correctly indent multi-line messages.

Split and correctly indent multi-line messages in ConsoleLogger.

13 years agoCheck namespace of build-in base types
Marek Safar [Tue, 11 Jan 2011 12:37:23 +0000 (12:37 +0000)]
Check namespace of build-in base types

13 years ago[662222] Import dynamic attribute using attribute type reader
Marek Safar [Tue, 11 Jan 2011 12:29:03 +0000 (12:29 +0000)]
[662222] Import dynamic attribute using attribute type reader

13 years agoUse base type parameters to extract params modifier of virtual method
Marek Safar [Tue, 11 Jan 2011 11:55:29 +0000 (11:55 +0000)]
Use base type parameters to extract params modifier of virtual method