mono.git
13 years agoAdd test for bug 665788
Jb Evain [Thu, 20 Jan 2011 15:36:37 +0000 (16:36 +0100)]
Add test for bug 665788

13 years ago[linker] fix reading of symbols for assemblies loaded with -a
Jb Evain [Thu, 20 Jan 2011 15:22:53 +0000 (16:22 +0100)]
[linker] fix reading of symbols for assemblies loaded with -a

13 years ago[asp.net] Avoid passing duplicate assemblies on mcs command line.
Marek Habersack [Thu, 20 Jan 2011 13:30:33 +0000 (14:30 +0100)]
[asp.net] Avoid passing duplicate assemblies on mcs command line.

13 years ago[asp.net,mvc] Make unobtrustive request validation in MVC v3 possible
Marek Habersack [Wed, 19 Jan 2011 13:03:11 +0000 (14:03 +0100)]
[asp.net,mvc] Make unobtrustive request validation in MVC v3 possible

Validation is enabled early in the pipeline during request. ValidationUtility makes sure that validation is indeed enabled and
replaces the default form and query string collections with a lazy version which will validate values only when an existing key
is found and requested.

13 years ago[asp.net] Do not throw NREX when firstError is null in ErrorMessage getter
Marek Habersack [Thu, 20 Jan 2011 10:38:03 +0000 (11:38 +0100)]
[asp.net] Do not throw NREX when firstError is null in ErrorMessage getter

13 years agoFix errors dist
Marek Safar [Thu, 20 Jan 2011 13:26:40 +0000 (13:26 +0000)]
Fix errors dist

13 years agoFix mcs dist
Marek Safar [Thu, 20 Jan 2011 13:13:30 +0000 (13:13 +0000)]
Fix mcs dist

13 years agoRemove SMCS define and related files
Marek Safar [Thu, 20 Jan 2011 12:40:55 +0000 (12:40 +0000)]
Remove SMCS define and related files

13 years agoRemove unused ?mcs files
Marek Safar [Thu, 20 Jan 2011 12:09:49 +0000 (12:09 +0000)]
Remove unused ?mcs files

13 years agoAllow referencing multiple versions of same framework assembly
Marek Safar [Thu, 20 Jan 2011 11:43:17 +0000 (11:43 +0000)]
Allow referencing multiple versions of same framework assembly

13 years agoFix CodeDom mcs path
Marek Safar [Thu, 20 Jan 2011 11:38:50 +0000 (11:38 +0000)]
Fix CodeDom mcs path

13 years agoUpdated IKVM to the latest version
Marek Safar [Thu, 20 Jan 2011 11:28:25 +0000 (11:28 +0000)]
Updated IKVM to the latest version

13 years agoCSharpCodeCompiler NET_2_0 cleanup
Marek Safar [Thu, 20 Jan 2011 11:27:48 +0000 (11:27 +0000)]
CSharpCodeCompiler NET_2_0 cleanup

13 years agoRemove more *mcs.exe references
Marek Safar [Thu, 20 Jan 2011 09:30:18 +0000 (09:30 +0000)]
Remove more *mcs.exe references

13 years agoImplement XamlMemberInvoker.UnknownInvoker too.
Atsushi Eno [Thu, 20 Jan 2011 09:28:19 +0000 (18:28 +0900)]
Implement XamlMemberInvoker.UnknownInvoker too.

13 years agoImplement XamlTypeInvoker.UnknownInvoker.
Atsushi Eno [Thu, 20 Jan 2011 09:20:08 +0000 (18:20 +0900)]
Implement XamlTypeInvoker.UnknownInvoker.

13 years agoImplement some XamlTypeInvoker methods (mostly unused yet).
Atsushi Eno [Thu, 20 Jan 2011 08:55:53 +0000 (17:55 +0900)]
Implement some XamlTypeInvoker methods (mostly unused yet).

13 years agoUpdate mcs location
Marek Safar [Thu, 20 Jan 2011 08:31:20 +0000 (08:31 +0000)]
Update mcs location

13 years agoSupport IXamlLineInfo in XamlNodeQueue.
Atsushi Eno [Thu, 20 Jan 2011 08:21:11 +0000 (17:21 +0900)]
Support IXamlLineInfo in XamlNodeQueue.

13 years agofinish XamlType.BaseType implementation.
Atsushi Eno [Thu, 20 Jan 2011 07:59:05 +0000 (16:59 +0900)]
finish XamlType.BaseType implementation.

13 years agoContract-based type must ensure that the base type is also contract-based.
Atsushi Eno [Thu, 20 Jan 2011 07:16:56 +0000 (16:16 +0900)]
Contract-based type must ensure that the base type is also contract-based.

Fixed bug #661987 on WCF side.

13 years agoRead body content if required. Fixed all issues in bug #656020.
Atsushi Eno [Thu, 20 Jan 2011 06:32:33 +0000 (15:32 +0900)]
Read body content if required. Fixed all issues in bug #656020.

Now it considers message content format and IsWrapped[Request|Response] to
retrieve XmlObjectSerializer.

13 years ago[xbuild] Fix bug #665637.
Ankit Jain [Thu, 20 Jan 2011 05:30:22 +0000 (11:00 +0530)]
[xbuild] Fix bug #665637.

Pass $(WarningsNotAsErrors) to Csc task.

13 years agoClean up the ARM generic trampoline.
Zoltan Varga [Thu, 20 Jan 2011 05:20:02 +0000 (06:20 +0100)]
Clean up the ARM generic trampoline.

13 years agoProperly align the stack in the arm generic trampoline.
Zoltan Varga [Thu, 20 Jan 2011 04:35:44 +0000 (05:35 +0100)]
Properly align the stack in the arm generic trampoline.

13 years agoAdd a TID field to ThreadMirror which returns the system thread id.
Zoltan Varga [Thu, 20 Jan 2011 01:13:35 +0000 (02:13 +0100)]
Add a TID field to ThreadMirror which returns the system thread id.

13 years agoBindingSourceTest.cs: Add FIXME comment (erroneous test).
Thomas Goldstein [Wed, 19 Jan 2011 22:46:01 +0000 (23:46 +0100)]
BindingSourceTest.cs: Add FIXME comment (erroneous test).

13 years agoBindingSourceTest.cs: Add unit test for bug 664833.
Thomas Goldstein [Wed, 19 Jan 2011 22:43:13 +0000 (23:43 +0100)]
BindingSourceTest.cs: Add unit test for bug 664833.

13 years agoBindingSource.cs: Fix DataSource setter which could reset the DataMember. Fixes bug...
Clinton Volzke [Wed, 19 Jan 2011 22:37:56 +0000 (23:37 +0100)]
BindingSource.cs: Fix DataSource setter which could reset the DataMember. Fixes bug 664833.

13 years agoDist more files needed by MSVC build
Andrew Jorgensen [Wed, 19 Jan 2011 22:41:35 +0000 (15:41 -0700)]
Dist more files needed by MSVC build

13 years agoUnify the way the interfaces are checked for shadowing
Marek Safar [Wed, 19 Jan 2011 19:49:16 +0000 (19:49 +0000)]
Unify the way the interfaces are checked for shadowing

13 years ago[665333] Encode Length of Public Key correctly
Marek Safar [Wed, 19 Jan 2011 17:57:24 +0000 (17:57 +0000)]
[665333] Encode Length of Public Key correctly

13 years agoFix CS0108 for interfaces with multiple methods of same name
Marek Safar [Wed, 19 Jan 2011 17:49:52 +0000 (17:49 +0000)]
Fix CS0108 for interfaces with multiple methods of same name

13 years agoClean up resolving of DefaultCharSetAttribute
Marek Safar [Wed, 19 Jan 2011 09:21:35 +0000 (09:21 +0000)]
Clean up resolving of DefaultCharSetAttribute

13 years agoRemoved SetCorlibTypeBuilders call
Marek Safar [Wed, 19 Jan 2011 08:44:04 +0000 (08:44 +0000)]
Removed SetCorlibTypeBuilders call

13 years agoRemoved hack for compilation of enums inside corlib
Marek Safar [Wed, 19 Jan 2011 08:41:31 +0000 (08:41 +0000)]
Removed hack for compilation of enums inside corlib

13 years agoUpdate Mono.Parallel docs with new properties
Jérémie Laval [Wed, 19 Jan 2011 14:29:48 +0000 (14:29 +0000)]
Update Mono.Parallel docs with new properties

13 years agoDocument precise marking
Rodrigo Kumpera [Wed, 19 Jan 2011 13:53:51 +0000 (14:53 +0100)]
Document precise marking

13 years agoFix mono manpage header
Rodrigo Kumpera [Wed, 19 Jan 2011 13:53:17 +0000 (14:53 +0100)]
Fix mono manpage header

13 years agoEnable duplicate "UriMatched" error check, with couple of FIXMEs.
Atsushi Eno [Wed, 19 Jan 2011 11:22:45 +0000 (20:22 +0900)]
Enable duplicate "UriMatched" error check, with couple of FIXMEs.

.NET is very unclear about those UriTemplate behavior. Too minor to mind.

13 years agoFix template match logic to first check HTTP-method-matching ones.
Atsushi Eno [Wed, 19 Jan 2011 10:01:49 +0000 (19:01 +0900)]
Fix template match logic to first check HTTP-method-matching ones.

Part of the fix for bug #656020.

13 years ago[xbuild] Fix bug #665004. Honor /nologo option.
Ankit Jain [Wed, 19 Jan 2011 08:43:38 +0000 (14:13 +0530)]
[xbuild] Fix bug #665004. Honor /nologo option.

* tools/xbuild/Parameters.cs (DisplayVersion): Remove, not required.

13 years agoStop building *mcs.exe compilers
Marek Safar [Wed, 19 Jan 2011 08:24:07 +0000 (08:24 +0000)]
Stop building *mcs.exe compilers

13 years agoUpdate IKVM sources
Marek Safar [Wed, 19 Jan 2011 08:23:07 +0000 (08:23 +0000)]
Update IKVM sources

13 years agoUpdate mcs error to test against mcs compiler
Marek Safar [Tue, 18 Jan 2011 19:24:48 +0000 (19:24 +0000)]
Update mcs error to test against mcs compiler

13 years agoupdate test results
Marek Safar [Tue, 18 Jan 2011 18:51:08 +0000 (18:51 +0000)]
update test results

13 years agoUpdate test target to check mcs compiler
Marek Safar [Tue, 18 Jan 2011 18:33:44 +0000 (18:33 +0000)]
Update test target to check mcs compiler

13 years agoSerialize non-mapped message parameter as body content. Part of bug #656020 fix.
Atsushi Eno [Wed, 19 Jan 2011 08:05:07 +0000 (17:05 +0900)]
Serialize non-mapped message parameter as body content. Part of bug #656020 fix.

13 years agoHappy new year.
Gonzalo Paniagua Javier [Wed, 19 Jan 2011 03:43:24 +0000 (22:43 -0500)]
Happy new year.

13 years agoProperly clear weak refs that don't track resurrection.
Rodrigo Kumpera [Wed, 19 Jan 2011 00:21:00 +0000 (01:21 +0100)]
Properly clear weak refs that don't track resurrection.

* sgen-gc.c (finish_gray_stack): We must clear
weak refs that don't track resurrection before
processing finalizable objects otherwise we'll
copy/mark them and the weak ref won't be cleared
until after finalization.

Fixes #657408

13 years ago[HttpWebRequest] New 4.0 AddRange overloads.
Gonzalo Paniagua Javier [Tue, 18 Jan 2011 23:56:13 +0000 (18:56 -0500)]
[HttpWebRequest] New 4.0 AddRange overloads.

13 years agoCast result of s390x_emit16/32 to eliminate lots of warning messages
Neale Ferguson [Mon, 17 Jan 2011 04:40:23 +0000 (23:40 -0500)]
Cast result of s390x_emit16/32 to eliminate lots of warning messages
Check for wrapper-managed-to-native when assessing call parameters and have emit_prolog use native_size when processing those parameters
Signed-off-by: Neale Ferguson <neale@sinenomine.net>
13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 12).
Thomas Goldstein [Tue, 18 Jan 2011 23:02:22 +0000 (00:02 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 12).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 11).
Thomas Goldstein [Tue, 18 Jan 2011 22:58:04 +0000 (23:58 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 11).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 10).
Thomas Goldstein [Tue, 18 Jan 2011 22:52:59 +0000 (23:52 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 10).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 9).
Thomas Goldstein [Tue, 18 Jan 2011 22:44:43 +0000 (23:44 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 9).

13 years ago[HttpWebRequest] Support 4.0 Date property.
Gonzalo Paniagua Javier [Tue, 18 Jan 2011 21:43:51 +0000 (16:43 -0500)]
[HttpWebRequest] Support 4.0 Date property.

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 8).
Thomas Goldstein [Tue, 18 Jan 2011 21:26:25 +0000 (22:26 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 8).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 7).
Thomas Goldstein [Tue, 18 Jan 2011 21:22:30 +0000 (22:22 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 7).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 6).
Thomas Goldstein [Tue, 18 Jan 2011 21:19:21 +0000 (22:19 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 6).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 5).
Thomas Goldstein [Tue, 18 Jan 2011 21:16:06 +0000 (22:16 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 5).

13 years agoExpose ThreadWorker fields
Jérémie Laval [Tue, 18 Jan 2011 19:21:59 +0000 (19:21 +0000)]
Expose ThreadWorker fields

13 years ago[HttpWebRequest] Support 4.0 Host property.
Gonzalo Paniagua Javier [Mon, 17 Jan 2011 06:04:37 +0000 (01:04 -0500)]
[HttpWebRequest] Support 4.0 Host property.

13 years agoBuild declared interface based on full type hierarchy
Marek Safar [Tue, 18 Jan 2011 17:34:04 +0000 (17:34 +0000)]
Build declared interface based on full type hierarchy

13 years agoMake the stacks of aot image non-executable.
Zoltan Varga [Tue, 18 Jan 2011 17:10:34 +0000 (18:10 +0100)]
Make the stacks of aot image non-executable.

13 years agoChecking skd path for is not enough, add check for mscorlib as well
Marek Safar [Tue, 18 Jan 2011 17:07:47 +0000 (17:07 +0000)]
Checking skd path for is not enough, add check for mscorlib as well

13 years agoFix loading of same assembly when used with different reference aliases
Marek Safar [Tue, 18 Jan 2011 17:07:08 +0000 (17:07 +0000)]
Fix loading of same assembly when used with different reference aliases

13 years agoRemove unused type
Marek Safar [Tue, 18 Jan 2011 16:05:20 +0000 (16:05 +0000)]
Remove unused type

13 years agoDisable some of the FastCopy fast paths since they are racy.
Zoltan Varga [Tue, 18 Jan 2011 16:16:40 +0000 (17:16 +0100)]
Disable some of the FastCopy fast paths since they are racy.

13 years agoFix Task.Wait timeout regression
Jérémie Laval [Tue, 18 Jan 2011 15:59:27 +0000 (15:59 +0000)]
Fix Task.Wait timeout regression

13 years agoExpose ThreadWorker in Mono.Parallel
Jérémie Laval [Tue, 18 Jan 2011 15:28:07 +0000 (15:28 +0000)]
Expose ThreadWorker in Mono.Parallel

13 years agoAdd doc for IMonoTaskScheduler extra behavior
Jérémie Laval [Tue, 18 Jan 2011 15:28:46 +0000 (15:28 +0000)]
Add doc for IMonoTaskScheduler extra behavior

13 years agoUpdate MonoTaskExtensions doc
Jérémie Laval [Tue, 18 Jan 2011 15:25:13 +0000 (15:25 +0000)]
Update MonoTaskExtensions doc

13 years agoFurther checks of ParticipateUntil mashalling
Jérémie Laval [Tue, 18 Jan 2011 15:23:08 +0000 (15:23 +0000)]
Further checks of ParticipateUntil mashalling

13 years agoAllow only primitive types/enums in RuntimeHelpers.InitializeArray ().
Zoltan Varga [Tue, 18 Jan 2011 15:41:37 +0000 (16:41 +0100)]
Allow only primitive types/enums in RuntimeHelpers.InitializeArray ().

13 years agoRemove devirtualization for Type members
Marek Safar [Tue, 18 Jan 2011 13:30:51 +0000 (13:30 +0000)]
Remove devirtualization for Type members

13 years agoSimplify base type interface check
Marek Safar [Tue, 18 Jan 2011 13:17:27 +0000 (13:17 +0000)]
Simplify base type interface check

13 years agoUpdate to the latest IKVM which now has support for missing types
Marek Safar [Tue, 18 Jan 2011 12:49:41 +0000 (12:49 +0000)]
Update to the latest IKVM which now has support for missing types

13 years agoAdd support for external ParticipateUntil method call in user-made TaskScheduler
Jérémie Laval [Mon, 17 Jan 2011 19:40:29 +0000 (19:40 +0000)]
Add support for external ParticipateUntil method call in user-made TaskScheduler

13 years agoUse static initializer for internal Execute binding
Jérémie Laval [Mon, 17 Jan 2011 19:39:03 +0000 (19:39 +0000)]
Use static initializer for internal Execute binding

13 years agoXamlObjectReader does not return non-writable members. Fix Skip() to work with GetObject.
Atsushi Eno [Tue, 18 Jan 2011 10:16:25 +0000 (19:16 +0900)]
XamlObjectReader does not return non-writable members. Fix Skip() to work with GetObject.

13 years ago[asp.net] Removed the /noconfig comment - it turns out this is what is supposed to...
Marek Habersack [Tue, 18 Jan 2011 08:40:23 +0000 (09:40 +0100)]
[asp.net] Removed the /noconfig comment - it turns out this is what is supposed to be done

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 4).
Thomas Goldstein [Tue, 18 Jan 2011 07:46:13 +0000 (08:46 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 4).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 3).
Thomas Goldstein [Tue, 18 Jan 2011 07:43:26 +0000 (08:43 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 3).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 2).
Thomas Goldstein [Tue, 18 Jan 2011 07:41:06 +0000 (08:41 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 2).

13 years agoMWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 1).
Thomas Goldstein [Tue, 18 Jan 2011 07:38:07 +0000 (08:38 +0100)]
MWF: Remove #if NET_2_0 and #if ONLY_1_1 conditions (part 1).

13 years agoDo no t try to instantiate abstract types.
Atsushi Eno [Tue, 18 Jan 2011 07:23:38 +0000 (16:23 +0900)]
Do no t try to instantiate abstract types.

13 years agoFix and unit test for bug #664647.
Tom Hindle [Tue, 18 Jan 2011 02:31:04 +0000 (19:31 -0700)]
Fix and unit test for bug #664647.

13 years agoFallback to corlib location when sdk path cannot be found
Marek Safar [Mon, 17 Jan 2011 22:30:15 +0000 (22:30 +0000)]
Fallback to corlib location when sdk path cannot be found

13 years agoMake *mcs compiler aliases differ in sdk version only
Marek Safar [Mon, 17 Jan 2011 17:48:15 +0000 (17:48 +0000)]
Make *mcs compiler aliases differ in sdk version only

13 years agoMake runtime invoke wrappers use cdecl cconv on windows.
Zoltan Varga [Mon, 17 Jan 2011 22:17:42 +0000 (23:17 +0100)]
Make runtime invoke wrappers use cdecl cconv on windows.

13 years agoApplied patch from KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>. Fix freebsd/amd64...
Zoltan Varga [Mon, 17 Jan 2011 21:58:56 +0000 (22:58 +0100)]
Applied patch from KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>. Fix freebsd/amd64 build.

13 years agoOP_LCOMPARE_IM has type 'L', not 'I'. Fixes #664630.
Zoltan Varga [Mon, 17 Jan 2011 21:43:08 +0000 (22:43 +0100)]
OP_LCOMPARE_IM has type 'L', not 'I'. Fixes #664630.

13 years agoDon't check for brokeness when verifying contraints.
Rodrigo Kumpera [Mon, 17 Jan 2011 17:50:37 +0000 (18:50 +0100)]
Don't check for brokeness when verifying contraints.

* verify.c (is_valid_generic_instantiation): Don't
check if any argument is broken during constraint check
as an instance should be valid, but not realizable, even
if it has broken arguments.

Fixes one of the issues with #664612

13 years agoFix verifier test suite to build on OSX as well
Rodrigo Kumpera [Mon, 17 Jan 2011 15:31:08 +0000 (16:31 +0100)]
Fix verifier test suite to build on OSX as well

13 years agoAdd new mcs -sdk option
Marek Safar [Mon, 17 Jan 2011 17:20:40 +0000 (17:20 +0000)]
Add new mcs -sdk option

13 years agoFix a warning.
Zoltan Varga [Mon, 17 Jan 2011 17:06:42 +0000 (18:06 +0100)]
Fix a warning.

13 years agoAvoid another case of infinite recursion in AOT.
Zoltan Varga [Mon, 17 Jan 2011 15:13:54 +0000 (16:13 +0100)]
Avoid another case of infinite recursion in AOT.

13 years agoFix XamlValueConverter; sometimes ConverterType exists but lacks default constructor.
Atsushi Eno [Mon, 17 Jan 2011 15:03:28 +0000 (00:03 +0900)]
Fix XamlValueConverter; sometimes ConverterType exists but lacks default constructor.

13 years agoFix pdb2mdb when a pdb has a method with no seq points.
Jb Evain [Mon, 17 Jan 2011 14:54:02 +0000 (15:54 +0100)]
Fix pdb2mdb when a pdb has a method with no seq points.

Patch by Thad Thompson <TThompson@nucsafe.com>