mono.git
11 years agoUpdate ikvm
Marek Safar [Tue, 26 Feb 2013 21:54:11 +0000 (22:54 +0100)]
Update ikvm

11 years agoAllow 'ios' as the os part of the target triple on ARM.
Zoltan Varga [Tue, 26 Feb 2013 21:43:41 +0000 (22:43 +0100)]
Allow 'ios' as the os part of the target triple on ARM.

11 years agoBuild all resource test types
Marek Safar [Tue, 26 Feb 2013 21:28:56 +0000 (22:28 +0100)]
Build all resource test types

11 years agoRemove the unmaintained and incomplete hppa backend.
Zoltan Varga [Tue, 26 Feb 2013 21:08:26 +0000 (22:08 +0100)]
Remove the unmaintained and incomplete hppa backend.

11 years agoFix ambiguous type in test
Marek Safar [Tue, 26 Feb 2013 20:40:36 +0000 (21:40 +0100)]
Fix ambiguous type in test

11 years agoFix make dist
Marek Safar [Tue, 26 Feb 2013 20:21:20 +0000 (21:21 +0100)]
Fix make dist

11 years agoRevert "Add beginnings of support for calling JIT icalls directly in full-aot mode."
Zoltan Varga [Tue, 26 Feb 2013 19:21:55 +0000 (20:21 +0100)]
Revert "Add beginnings of support for calling JIT icalls directly in full-aot mode."

This reverts commit 09354d2febff7c5f4ddfae769c8e231a09dc768e.

Revert this for now as it breaks MT.

11 years agoBump version to 3.0.6
Duncan Mak [Tue, 26 Feb 2013 18:22:11 +0000 (13:22 -0500)]
Bump version to 3.0.6

11 years agoMobile tests update
Marek Safar [Tue, 26 Feb 2013 16:17:22 +0000 (17:17 +0100)]
Mobile tests update

11 years agoMerge tests from mobile branch
Marek Safar [Tue, 26 Feb 2013 15:28:36 +0000 (16:28 +0100)]
Merge tests from mobile branch

11 years agoDon't add compiler generated assembly attributes to satellite assemblies
Marek Safar [Tue, 26 Feb 2013 15:27:58 +0000 (16:27 +0100)]
Don't add compiler generated assembly attributes to satellite assemblies

11 years agoTest clean up
Marek Safar [Tue, 26 Feb 2013 13:47:39 +0000 (14:47 +0100)]
Test clean up

11 years agoFixes build
Marek Safar [Tue, 26 Feb 2013 13:47:07 +0000 (14:47 +0100)]
Fixes build

11 years agoFix mobile test
Marek Safar [Tue, 26 Feb 2013 09:35:54 +0000 (10:35 +0100)]
Fix mobile test

11 years agoFix more compiler warnings
Marek Safar [Mon, 25 Feb 2013 21:53:02 +0000 (22:53 +0100)]
Fix more compiler warnings

11 years agoFix failing mobile tests
Marek Safar [Mon, 25 Feb 2013 21:52:37 +0000 (22:52 +0100)]
Fix failing mobile tests

11 years ago[sgen] Fix small bitmap descriptor bug with large objects.
Mark Probst [Tue, 26 Feb 2013 00:32:45 +0000 (16:32 -0800)]
[sgen] Fix small bitmap descriptor bug with large objects.

Objects larger than 64k whose references still fit within a small bitmap
would overflow the size bit field within the descriptor.

11 years agoFix the DISABLE_JIT build.
Zoltan Varga [Mon, 25 Feb 2013 22:12:38 +0000 (23:12 +0100)]
Fix the DISABLE_JIT build.

11 years agoFix the DISABLE_JIT build.
Zoltan Varga [Mon, 25 Feb 2013 21:59:30 +0000 (22:59 +0100)]
Fix the DISABLE_JIT build.

11 years agoAdd beginnings of support for calling JIT icalls directly in full-aot mode.
Zoltan Varga [Sun, 24 Feb 2013 13:27:10 +0000 (14:27 +0100)]
Add beginnings of support for calling JIT icalls directly in full-aot mode.

11 years agoFixes failing tests
Marek Safar [Mon, 25 Feb 2013 21:10:45 +0000 (22:10 +0100)]
Fixes failing tests

11 years agoRemove another duplicate type
Marek Safar [Mon, 25 Feb 2013 20:53:55 +0000 (21:53 +0100)]
Remove another duplicate type

11 years agoFixes build
Marek Safar [Mon, 25 Feb 2013 20:53:46 +0000 (21:53 +0100)]
Fixes build

11 years agoBetter error message
Marek Safar [Mon, 25 Feb 2013 20:53:23 +0000 (21:53 +0100)]
Better error message

11 years agoFix few warnings
Marek Safar [Mon, 25 Feb 2013 18:09:44 +0000 (19:09 +0100)]
Fix few warnings

11 years agoRemove duplicated files from system.dll (saves about 100kb)
Marek Safar [Mon, 25 Feb 2013 17:03:41 +0000 (18:03 +0100)]
Remove duplicated files from system.dll (saves about 100kb)

11 years agoRemove unused variable
Marek Safar [Mon, 25 Feb 2013 13:19:21 +0000 (14:19 +0100)]
Remove unused variable

11 years agoMake Mono.Runtime public on mobile. Make GetDisplayName() public.
Mark Probst [Sat, 23 Feb 2013 01:14:57 +0000 (17:14 -0800)]
Make Mono.Runtime public on mobile.  Make GetDisplayName() public.

11 years agoMerge pull request #571 from igotti-google/jt2
Zoltan Varga [Mon, 25 Feb 2013 15:12:30 +0000 (07:12 -0800)]
Merge pull request #571 from igotti-google/jt2

Generic jumptables support (needed for ARM NaCl port),

11 years agoMoved all jumptables code to mini/ directory.
Nikolay Igotti [Mon, 25 Feb 2013 13:41:40 +0000 (17:41 +0400)]
Moved all jumptables code to mini/ directory.

11 years agoOptimize parameters handling to do much less allocation
Marek Safar [Mon, 25 Feb 2013 13:10:11 +0000 (14:10 +0100)]
Optimize parameters handling to do much less allocation

11 years agoAdd static to static like type
Marek Safar [Mon, 25 Feb 2013 12:31:08 +0000 (13:31 +0100)]
Add static to static like type

11 years agoClean up params binder
Marek Safar [Mon, 25 Feb 2013 11:03:24 +0000 (12:03 +0100)]
Clean up params binder

11 years agoExpand params arguments only when not binding directly parameter types. Fixes #10551
Marek Safar [Mon, 25 Feb 2013 10:01:45 +0000 (11:01 +0100)]
Expand params arguments only when not binding directly parameter types. Fixes #10551

11 years agoFix loading of documentation XML fragments to use source file and not process path
Marek Safar [Sun, 24 Feb 2013 11:42:59 +0000 (12:42 +0100)]
Fix loading of documentation XML fragments to use source file and not process path

11 years agoNew test
Marek Safar [Sun, 24 Feb 2013 11:42:48 +0000 (12:42 +0100)]
New test

11 years agoAdd magic token for path replacement
Marek Safar [Fri, 22 Feb 2013 22:48:02 +0000 (23:48 +0100)]
Add magic token for path replacement

11 years agoFix error message to match others
Marek Safar [Fri, 22 Feb 2013 22:47:36 +0000 (23:47 +0100)]
Fix error message to match others

11 years ago[System] Add System.Net.WebSockets to the build
Jérémie Laval [Sun, 24 Feb 2013 19:48:18 +0000 (20:48 +0100)]
[System] Add System.Net.WebSockets to the build

11 years ago[System] Add stub for System.Net.WebSockets
Jérémie Laval [Sun, 24 Feb 2013 19:34:08 +0000 (20:34 +0100)]
[System] Add stub for System.Net.WebSockets

11 years agoMerge pull request #573 from mrieker/master
Miguel de Icaza [Sun, 24 Feb 2013 02:23:34 +0000 (18:23 -0800)]
Merge pull request #573 from mrieker/master

tasklets.c: update used stack size

11 years agoFix Xamarin bug 7594.
Stephen McConnel [Tue, 2 Oct 2012 20:36:38 +0000 (15:36 -0500)]
Fix Xamarin bug 7594.

@(DocFileItem) is an output of CoreCompile, not an input.  (This bug still
exists in the current sources in the mono git repository.)

11 years agoStore the domain where an exception event happened to avoid an assert if single stepp...
Zoltan Varga [Sat, 23 Feb 2013 20:26:26 +0000 (21:26 +0100)]
Store the domain where an exception event happened to avoid an assert if single stepping is started from that location.

11 years agotasklets.c: update used stack size
mrieker@nii.net [Sat, 23 Feb 2013 19:55:35 +0000 (14:55 -0500)]
tasklets.c: update used stack size

was allowing case of stack_used_size < num_bytes to
slip by so restore function wasn't restoring all bytes

11 years agoFix a regression introduced by the gsharedvt changes. Delegate invokes to gshared...
Zoltan Varga [Sat, 23 Feb 2013 18:59:48 +0000 (19:59 +0100)]
Fix a regression introduced by the gsharedvt changes. Delegate invokes to gshared methods using a non-generic delegate type would crash. Fixes #10513.

11 years agoErasure the type of some fields in AppDomain so the linker can remove their types.
Rodrigo Kumpera [Sat, 23 Feb 2013 01:11:10 +0000 (20:11 -0500)]
Erasure the type of some fields in AppDomain so the linker can remove their types.

11 years agoThe runtime doesn't raise AccessViolationException.
Rodrigo Kumpera [Sat, 23 Feb 2013 01:10:45 +0000 (20:10 -0500)]
The runtime doesn't raise AccessViolationException.

11 years agoMerge branch 'feature-concurrent-evacuation'
Mark Probst [Sat, 23 Feb 2013 00:35:00 +0000 (16:35 -0800)]
Merge branch 'feature-concurrent-evacuation'

11 years ago[gc] Mono.Runtime method for enabling/disabling synchronous collections.
Mark Probst [Tue, 19 Feb 2013 18:25:50 +0000 (10:25 -0800)]
[gc] Mono.Runtime method for enabling/disabling synchronous collections.

11 years ago[sgen] Do non-concurrent GC to evacuate when the need arises.
Mark Probst [Sat, 16 Feb 2013 03:42:52 +0000 (19:42 -0800)]
[sgen] Do non-concurrent GC to evacuate when the need arises.

11 years ago[sgen] Evacuation for concurrent mark (during forced collections).
Mark Probst [Sun, 27 Jan 2013 22:10:03 +0000 (23:10 +0100)]
[sgen] Evacuation for concurrent mark (during forced collections).

11 years ago[sgen] Make synchronous collections with marksweep-conc more standard.
Mark Probst [Sun, 27 Jan 2013 11:36:03 +0000 (12:36 +0100)]
[sgen] Make synchronous collections with marksweep-conc more standard.

Before, to do a synchronous collection with marksweep-conc we would start a
concurrent collection and then wait for it to finish.  To integrate evacuation with
marksweep-conc we need synchronous collections to work like they do with the
non-concurrent collectors.

11 years ago[sgen] Remove concurrent_cementing argument to sgen_add_to_global_remset().
Mark Probst [Sun, 27 Jan 2013 11:26:12 +0000 (12:26 +0100)]
[sgen] Remove concurrent_cementing argument to sgen_add_to_global_remset().

Since it doesn't need to pass it on to sgen_cement_lookup_or_register() it's not
needed anymore.

11 years ago[sgen] Remove redundant argument to sgen_cement_lookup_or_register().
Mark Probst [Sun, 27 Jan 2013 11:23:17 +0000 (12:23 +0100)]
[sgen] Remove redundant argument to sgen_cement_lookup_or_register().

It can figure out whether a concurrent collection is running on its own.

11 years ago[sgen] Fix a misplaced #ifdef.
Mark Probst [Sun, 27 Jan 2013 10:58:50 +0000 (11:58 +0100)]
[sgen] Fix a misplaced #ifdef.

This disabled some debugging stuff on platforms not
supporting DTrace.

11 years ago[sgen] Remove obsolete argument to clear_unreachable_ephemerons().
Mark Probst [Sun, 27 Jan 2013 10:57:53 +0000 (11:57 +0100)]
[sgen] Remove obsolete argument to clear_unreachable_ephemerons().

11 years agoDisable the native method-builder under DISABLE_JIT.
Rodrigo Kumpera [Fri, 22 Feb 2013 21:12:42 +0000 (16:12 -0500)]
Disable the native method-builder under DISABLE_JIT.

* method-builder.c: Disable all code related to producing IL under DISABLE_JIT.
This has the side effect of crippling wrapper debugging on device, but given this
feature (IL debugging of wrappers) has almost no users, we're ok.

11 years agoRemove 3 types from mono_defaults that were no longer used.
Rodrigo Kumpera [Thu, 21 Feb 2013 22:49:05 +0000 (17:49 -0500)]
Remove 3 types from mono_defaults that were no longer used.

11 years agoOn OSX and iOS use CommonCrypto/Digest for the runtime requirement on SHA1 and MD5.
Sebastien Pouliot [Fri, 22 Feb 2013 21:30:18 +0000 (16:30 -0500)]
On OSX and iOS use CommonCrypto/Digest for the runtime requirement on SHA1 and MD5.

11 years agoMerge pull request #554 from deplinenoise/ppc_fixes
Miguel de Icaza [Fri, 22 Feb 2013 21:25:21 +0000 (13:25 -0800)]
Merge pull request #554 from deplinenoise/ppc_fixes

PPC build fixes

11 years agoMerge pull request #556 from jack-pappas/ipproto-patch
Miguel de Icaza [Fri, 22 Feb 2013 21:22:36 +0000 (13:22 -0800)]
Merge pull request #556 from jack-pappas/ipproto-patch

Added checks for BSD-compliant protocol constants.

11 years agoMerge pull request #557 from jack-pappas/gacutil-patch
Miguel de Icaza [Fri, 22 Feb 2013 21:22:12 +0000 (13:22 -0800)]
Merge pull request #557 from jack-pappas/gacutil-patch

Fixed gacutil so assemblies with the ".exe" extension can be uninstalled.

11 years agoMerge pull request #560 from duboisj/master
Miguel de Icaza [Fri, 22 Feb 2013 21:07:11 +0000 (13:07 -0800)]
Merge pull request #560 from duboisj/master

Allow cross-compilation on Mac OS X host to Windows target.

11 years agoMerge pull request #561 from akoeplinger/bufferless-fix
Miguel de Icaza [Fri, 22 Feb 2013 20:44:17 +0000 (12:44 -0800)]
Merge pull request #561 from akoeplinger/bufferless-fix

System.Web: Fixed bugs in HttpRequest.GetBufferlessInputStream()

11 years agoMobile tests update
Marek Safar [Fri, 22 Feb 2013 20:40:50 +0000 (21:40 +0100)]
Mobile tests update

11 years agoRemove old workaround
Marek Safar [Fri, 22 Feb 2013 20:39:46 +0000 (21:39 +0100)]
Remove old workaround

11 years agoAdd missing api
Marek Safar [Fri, 22 Feb 2013 09:06:54 +0000 (10:06 +0100)]
Add missing api

11 years agoUse an internal call (to an existing function) so it allow dropping SHA1 (and depende...
Sebastien Pouliot [Fri, 22 Feb 2013 18:36:01 +0000 (13:36 -0500)]
Use an internal call (to an existing function) so it allow dropping SHA1 (and dependencies) when linking applications. Saves 2kb on (unstripped) mscorlib and 4kb on the final binary (release).

11 years agoDo a lighter check for public keys in the mobile profile. It's faster and also quite...
Sebastien Pouliot [Fri, 22 Feb 2013 17:59:07 +0000 (12:59 -0500)]
Do a lighter check for public keys in the mobile profile. It's faster and also quite smaller, once linked. That saves 67kb on (unstripped) mscorlib and 110kb on the final binary (release).

11 years agoMerge pull request #569 from knocte/fix_cairo_profile_versions_problem
Marek Safar [Fri, 22 Feb 2013 13:45:06 +0000 (05:45 -0800)]
Merge pull request #569 from knocte/fix_cairo_profile_versions_problem

[Cairo] Fix mono-cairo.pc file to not hardcode 2.0 profile

11 years agoNo need for indirection in exception checkers.
Nikolay Igotti [Fri, 22 Feb 2013 10:24:27 +0000 (14:24 +0400)]
No need for indirection in exception checkers.

11 years agoUpdate 4.5 bcl solution files
Marek Safar [Thu, 21 Feb 2013 16:25:06 +0000 (17:25 +0100)]
Update 4.5 bcl solution files

11 years agoFixed max instruction lengths.
Nikolay Igotti [Thu, 21 Feb 2013 14:22:42 +0000 (18:22 +0400)]
Fixed max instruction lengths.

11 years agoGeneric jumptables support (needed for ARM NaCl port),
Nikolay Igotti [Thu, 21 Feb 2013 13:50:03 +0000 (17:50 +0400)]
Generic jumptables support (needed for ARM NaCl port),
and ARM port support for that.
Code submitted under MIT/X11 license.

11 years agoUpdate to mdbdump to print more mdb details
Marek Safar [Thu, 21 Feb 2013 13:39:02 +0000 (14:39 +0100)]
Update to mdbdump to print more mdb details

11 years agoOptmize some empty array allocations
Marek Safar [Thu, 21 Feb 2013 13:38:30 +0000 (14:38 +0100)]
Optmize some empty array allocations

11 years agoFix BinaryReader.ReadChars() no longer recursively calls BinaryReader.Read(). Patch...
Marek Safar [Thu, 21 Feb 2013 11:38:08 +0000 (12:38 +0100)]
Fix BinaryReader.ReadChars() no longer recursively calls BinaryReader.Read(). Patch based on tomspilman pull request #559

11 years agoMerge pull request #568 from devlead/patch-1
Marek Safar [Thu, 21 Feb 2013 08:46:45 +0000 (00:46 -0800)]
Merge pull request #568 from devlead/patch-1

Added missing properties available in .Net 4.5

11 years agoMisunderstood styling feedback
Mattias Karlsson [Thu, 21 Feb 2013 08:08:39 +0000 (09:08 +0100)]
Misunderstood styling feedback

My bad should have looked at the excellent README in /mcs/class/README.

11 years ago[Cairo] Fix mono-cairo.pc file to not hardcode 2.0 profile
Andres G. Aragoneses [Thu, 21 Feb 2013 00:52:08 +0000 (00:52 +0000)]
[Cairo] Fix mono-cairo.pc file to not hardcode 2.0 profile

Fixes BXC#10484.

11 years agoFixed code style brace same line & remove space before brace
Mattias Karlsson [Thu, 21 Feb 2013 00:06:02 +0000 (01:06 +0100)]
Fixed code style brace same line & remove space before brace

11 years agoCompile more await identifiers. Fixes part of #10314
Marek Safar [Wed, 20 Feb 2013 20:58:56 +0000 (21:58 +0100)]
Compile more await identifiers. Fixes part of #10314

11 years agoDisable failing test until I have mental strength to fight with stupid jay again
Marek Safar [Wed, 20 Feb 2013 20:57:29 +0000 (21:57 +0100)]
Disable failing test until I have mental strength to fight with stupid jay again

11 years agoFix contextual keywords parsting. Fixes part of #10314
Marek Safar [Wed, 20 Feb 2013 14:57:40 +0000 (15:57 +0100)]
Fix contextual keywords parsting. Fixes part of #10314

11 years agoAdded missing properties available in .Net 4.5
Mattias Karlsson [Wed, 20 Feb 2013 13:39:37 +0000 (14:39 +0100)]
Added missing properties available in .Net 4.5

11 years agoCapture temporary local variables in async context. Fixes #10341
Marek Safar [Wed, 20 Feb 2013 10:15:11 +0000 (11:15 +0100)]
Capture temporary local variables in async context. Fixes #10341

11 years ago[monodoc] Fix test compilation
Jeremie Laval [Wed, 20 Feb 2013 10:07:43 +0000 (10:07 +0000)]
[monodoc] Fix test compilation

11 years agoSkip SDK and product assemblies when preserving https
Sebastien Pouliot [Wed, 20 Feb 2013 02:12:31 +0000 (21:12 -0500)]
Skip SDK and product assemblies when preserving https

11 years agoFix expected value (for System.Security.Cryptography.AesManaged.FeedbackSize) to...
Sebastien Pouliot [Wed, 20 Feb 2013 01:57:54 +0000 (20:57 -0500)]
Fix expected value (for System.Security.Cryptography.AesManaged.FeedbackSize) to make test pass

11 years agoReport correct error message when lambda body contains common error later than at...
Marek Safar [Tue, 19 Feb 2013 22:05:39 +0000 (23:05 +0100)]
Report correct error message when lambda body contains common error later than at first error hit

11 years agoFix DISABLE_JIT for unstripped builds.
Rodrigo Kumpera [Tue, 19 Feb 2013 21:28:45 +0000 (16:28 -0500)]
Fix DISABLE_JIT for unstripped builds.

11 years agoEmit correct this reference when using async lambdas from another lambda with this...
Marek Safar [Tue, 19 Feb 2013 21:07:17 +0000 (22:07 +0100)]
Emit correct this reference when using async lambdas from another lambda with this reference only

11 years agoDo not initialize (and mark) nested types if they were not already marked. Avoid...
Sebastien Pouliot [Tue, 19 Feb 2013 19:27:29 +0000 (14:27 -0500)]
Do not initialize (and mark) nested types if they were not already marked. Avoid adding unused nested types in linked assemblies

11 years ago[sgen] In the MONO_GC_PARAMS usage, show marksweep-conc as well.
Mark Probst [Mon, 21 Jan 2013 19:11:14 +0000 (20:11 +0100)]
[sgen] In the MONO_GC_PARAMS usage, show marksweep-conc as well.

11 years ago[sgen] Don't mark objects on promotion.
Mark Probst [Fri, 11 Jan 2013 12:31:52 +0000 (13:31 +0100)]
[sgen] Don't mark objects on promotion.

This was too conservative and the only reason we needed is because we
had bugs that were partially obscured by this code.

11 years agoBump version to 3.0.5
Duncan Mak [Tue, 19 Feb 2013 18:30:05 +0000 (13:30 -0500)]
Bump version to 3.0.5

11 years ago[Mono.Debugger.Soft] Added ColumnNumber property to StackFrame
Jeffrey Stedfast [Tue, 19 Feb 2013 17:19:21 +0000 (12:19 -0500)]
[Mono.Debugger.Soft] Added ColumnNumber property to StackFrame

11 years agoFix non-aot support for gsharedvt.
Zoltan Varga [Tue, 19 Feb 2013 17:13:40 +0000 (18:13 +0100)]
Fix non-aot support for gsharedvt.

11 years agoAvoid deadce on OP_INEG since it sets the condition codes, and the OP_LNEG decomposit...
Zoltan Varga [Tue, 19 Feb 2013 14:24:24 +0000 (15:24 +0100)]
Avoid deadce on OP_INEG since it sets the condition codes, and the OP_LNEG decomposition depends on this on x86. Fixes #10320.

11 years agoFix sdb tests.
Zoltan Varga [Tue, 19 Feb 2013 13:56:36 +0000 (14:56 +0100)]
Fix sdb tests.