mono.git
11 years agoHide marshalbyref and contextbound properties under accessors so we can easily config...
Rodrigo Kumpera [Tue, 26 Feb 2013 00:03:12 +0000 (19:03 -0500)]
Hide marshalbyref and contextbound properties under accessors so we can easily configure them out.

11 years agoAdd configure option to disable remoting.
Rodrigo Kumpera [Wed, 27 Feb 2013 19:20:52 +0000 (14:20 -0500)]
Add configure option to disable remoting.

Disabling remoting includes type proxies, x-domain communication and makes COM unusable.

11 years agoFix gsharedvt delegate invokes from gsharedvt code.
Zoltan Varga [Thu, 28 Feb 2013 19:54:18 +0000 (20:54 +0100)]
Fix gsharedvt delegate invokes from gsharedvt code.

11 years agoMerge pull request #537 from madewokherd/ccwmarshal
Rodrigo Kumpera [Thu, 28 Feb 2013 19:49:46 +0000 (11:49 -0800)]
Merge pull request #537 from madewokherd/ccwmarshal

cominterop: Free IMarshal interface with the CCW.

11 years ago[mkbundle] add explicit --style option to specify output style for as.
Atsushi Eno [Thu, 28 Feb 2013 18:40:58 +0000 (03:40 +0900)]
[mkbundle] add explicit --style option to specify output style for as.

11 years agoRemove ArrayList dependency
Marek Safar [Thu, 28 Feb 2013 15:59:09 +0000 (16:59 +0100)]
Remove ArrayList dependency

11 years agoUse generic comparer
Marek Safar [Thu, 28 Feb 2013 15:58:40 +0000 (16:58 +0100)]
Use generic comparer

11 years agoUse faster versions of string comparers
Marek Safar [Thu, 28 Feb 2013 14:19:22 +0000 (15:19 +0100)]
Use faster versions of string comparers

11 years agoRemove culture info from simple string concatenation formating
Marek Safar [Thu, 28 Feb 2013 14:16:56 +0000 (15:16 +0100)]
Remove culture info from simple string concatenation formating

11 years agoRemove static constructor from HashSet
Marek Safar [Thu, 28 Feb 2013 12:19:36 +0000 (13:19 +0100)]
Remove static constructor from HashSet

11 years agoAdd static rgctx trampolines in calls from gshared to gsharedvt code if needed.
Zoltan Varga [Thu, 28 Feb 2013 14:00:54 +0000 (15:00 +0100)]
Add static rgctx trampolines in calls from gshared to gsharedvt code if needed.

11 years agoIgnore activationAttributes and never try to create a proxy under MOBILE.
Rodrigo Kumpera [Thu, 28 Feb 2013 13:35:42 +0000 (08:35 -0500)]
Ignore activationAttributes and never try to create a proxy under MOBILE.

11 years agoDon't build windows code paths on mobile profiles
Marek Safar [Thu, 28 Feb 2013 09:56:02 +0000 (10:56 +0100)]
Don't build windows code paths on mobile profiles

11 years agoFix compiler warnings
Marek Safar [Thu, 28 Feb 2013 08:19:09 +0000 (09:19 +0100)]
Fix compiler warnings

11 years agoDon't add Array::BinarySearch dependency for unreachable code
Marek Safar [Thu, 28 Feb 2013 07:58:44 +0000 (08:58 +0100)]
Don't add Array::BinarySearch dependency for unreachable code

11 years agoUse faster running on windows check
Marek Safar [Wed, 27 Feb 2013 23:31:30 +0000 (00:31 +0100)]
Use faster running on windows check

11 years agoMerge pull request #576 from UCIS/patch-1
Marek Safar [Thu, 28 Feb 2013 07:48:52 +0000 (23:48 -0800)]
Merge pull request #576 from UCIS/patch-1

Fix ISerializable implementation in mcs/class/corlib/System/OperatingSystem.cs

11 years agoFix serialization of DateTime struct for MS compatibility
Ivo Smits [Thu, 28 Feb 2013 01:27:40 +0000 (02:27 +0100)]
Fix serialization of DateTime struct for MS compatibility

Microsoft uses the UInt64 for the serialized dateData field.
Microsoft also uses Convert.ToUInt64 to convert the serialized
value to UInt64, which results in an overflow exception when
deserializing a DateTime serialized by mono.

Suggested change may break compatibility with previous versions
of mono, but should work with the Microsoft implementation.

11 years agoUpdate mcs/class/corlib/System/OperatingSystem.cs
Ivo Smits [Thu, 28 Feb 2013 01:18:42 +0000 (02:18 +0100)]
Update mcs/class/corlib/System/OperatingSystem.cs

"The ISerializable interface implies a constructor with the signature constructor (SerializationInfo information, StreamingContext context)."
from http://msdn.microsoft.com/en-us/library/system.runtime.serialization.iserializable.aspx

11 years agoRefactor to make it possible for the linker to remove, by default, less used Calendar...
Sebastien Pouliot [Thu, 28 Feb 2013 01:01:25 +0000 (20:01 -0500)]
Refactor to make it possible for the linker to remove, by default, less used Calendar types from applications

11 years agoFix typo in test name (confusing)
Sebastien Pouliot [Thu, 28 Feb 2013 00:54:36 +0000 (19:54 -0500)]
Fix typo in test name (confusing)

11 years ago[sgen] Remove SCAN_OBJECT_ACTION - dead code.
Mark Probst [Wed, 27 Feb 2013 23:24:07 +0000 (15:24 -0800)]
[sgen] Remove SCAN_OBJECT_ACTION - dead code.

11 years agoMerge branch 'feature-remove-ssb'
Mark Probst [Wed, 27 Feb 2013 23:14:15 +0000 (15:14 -0800)]
Merge branch 'feature-remove-ssb'

11 years ago[sgen] Remove unnecessary entries from remembered set function table.
Mark Probst [Wed, 27 Feb 2013 22:22:36 +0000 (14:22 -0800)]
[sgen] Remove unnecessary entries from remembered set function table.

11 years ago[sgen] Remove SSB write barrier.
Mark Probst [Tue, 26 Feb 2013 22:00:21 +0000 (14:00 -0800)]
[sgen] Remove SSB write barrier.

11 years ago[tests] Make finalizer-wait.cs less prone to pinning.
Mark Probst [Wed, 27 Feb 2013 23:03:57 +0000 (15:03 -0800)]
[tests] Make finalizer-wait.cs less prone to pinning.

11 years agoAdd missing file
Marek Safar [Wed, 27 Feb 2013 22:20:25 +0000 (23:20 +0100)]
Add missing file

11 years agoChange g_log (and friends) to print to stderr. Fixes #10577.
Rolf Bjarne Kvinge [Wed, 27 Feb 2013 21:53:58 +0000 (22:53 +0100)]
Change g_log (and friends) to print to stderr. Fixes #10577.

Stdout is block buffered somewhere (and fflushing 'stdout' doesn't
fix it, only fflushing all streams works), and takes forever to
show up in any output.

11 years agoReplace some hashtables with dictionaries
Marek Safar [Wed, 27 Feb 2013 21:58:05 +0000 (22:58 +0100)]
Replace some hashtables with dictionaries

11 years agoFix Type and Module name filters to match
Marek Safar [Wed, 27 Feb 2013 21:56:25 +0000 (22:56 +0100)]
Fix Type and Module name filters to match

11 years agoShare more common code
Marek Safar [Wed, 27 Feb 2013 17:00:13 +0000 (18:00 +0100)]
Share more common code

11 years ago[sgen] Cementing bugfix for concurrent M&S.
Mark Probst [Wed, 27 Feb 2013 19:00:51 +0000 (11:00 -0800)]
[sgen] Cementing bugfix for concurrent M&S.

We have to pin cemented objects at the finishing collection pause, too.  If we don't,
we don't scan them, and if they reference major objects that aren't referenced
elsewhere, we don't mark those major objects, and we break.

11 years ago[sgen] Fix names of descriptor types in describe_ptr().
Mark Probst [Wed, 27 Feb 2013 18:58:40 +0000 (10:58 -0800)]
[sgen] Fix names of descriptor types in describe_ptr().

11 years ago[sgen] Fix build of sgen-grep-binprot.
Mark Probst [Wed, 27 Feb 2013 18:58:05 +0000 (10:58 -0800)]
[sgen] Fix build of sgen-grep-binprot.

11 years ago[sgen] Binary protocol entries for scanning objects and vtypes.
Mark Probst [Wed, 27 Feb 2013 18:57:35 +0000 (10:57 -0800)]
[sgen] Binary protocol entries for scanning objects and vtypes.

11 years agoFix the build.
Zoltan Varga [Wed, 27 Feb 2013 19:36:47 +0000 (20:36 +0100)]
Fix the build.

11 years agoFix the calculation of TARGET_IOS/OSX in configure. Fixes #10726.
Zoltan Varga [Wed, 27 Feb 2013 18:53:53 +0000 (19:53 +0100)]
Fix the calculation of TARGET_IOS/OSX in configure. Fixes #10726.

11 years agoFix space in makefile
Marek Safar [Wed, 27 Feb 2013 13:56:40 +0000 (14:56 +0100)]
Fix space in makefile

11 years agofix collation/normalization resource builder up to complete build.
Atsushi Eno [Wed, 27 Feb 2013 13:46:27 +0000 (22:46 +0900)]
fix collation/normalization resource builder up to complete build.

Then there are some resource value differences that likely needs other
fixes. But since some people seem to have changed some tests "to match
.NET" that actually changed the behavior, it won't recover the working
state. The resource generator generates "almost compatible" resource,
but won't be perfect.

11 years agoFixes make dist
Marek Safar [Wed, 27 Feb 2013 13:20:22 +0000 (14:20 +0100)]
Fixes make dist

11 years agoUpdate for mobile profile
Marek Safar [Wed, 27 Feb 2013 13:07:48 +0000 (14:07 +0100)]
Update for mobile profile

11 years agoFix monodroid build.
Atsushi Eno [Wed, 27 Feb 2013 08:51:56 +0000 (17:51 +0900)]
Fix monodroid build.

11 years agoFix possible NRE caused by null XmlResolver settings.
Atsushi Eno [Wed, 27 Feb 2013 07:50:54 +0000 (16:50 +0900)]
Fix possible NRE caused by null XmlResolver settings.

11 years agoRevert wrong ikvm update from 10ebeb32e1f7506557c3709046b2e673962cb437
Marek Safar [Wed, 27 Feb 2013 07:48:31 +0000 (08:48 +0100)]
Revert wrong ikvm update from 10ebeb32e1f7506557c3709046b2e673962cb437

11 years agoGetDisplayName should either be internal or public
Alan McGovern [Wed, 27 Feb 2013 00:39:09 +0000 (00:39 +0000)]
GetDisplayName should either be internal or public

11 years agoReally make GetDisplayName public in MOBILE only
Alan McGovern [Wed, 27 Feb 2013 00:32:54 +0000 (00:32 +0000)]
Really make GetDisplayName public in MOBILE only

The wrong 'public' was ifdef'ed in the last commit

11 years agoRevert "Bump version to 3.0.7."
Duncan Mak [Tue, 26 Feb 2013 23:44:26 +0000 (18:44 -0500)]
Revert "Bump version to 3.0.7."

This reverts commit 7874bc4045778eb3b74fd40ef0e4517bcbd75a79.

11 years agoBump version to 3.0.7.
Duncan Mak [Tue, 26 Feb 2013 22:28:29 +0000 (17:28 -0500)]
Bump version to 3.0.7.

11 years agoMake GetDisplayName public in MOBILE only.
Duncan Mak [Tue, 26 Feb 2013 22:28:13 +0000 (17:28 -0500)]
Make GetDisplayName public in MOBILE only.

The previous change, which made GetDisplayName always public, broke this
advertised technique for detecting Mono:

http://stackoverflow.com/questions/8413922/programmatically-determining-mono-runtime-version

11 years agoRemove trailing whitespace.
Duncan Mak [Tue, 26 Feb 2013 22:24:30 +0000 (17:24 -0500)]
Remove trailing whitespace.

11 years agoFix the hppa removal.
Rodrigo Kumpera [Tue, 26 Feb 2013 22:25:42 +0000 (17:25 -0500)]
Fix the hppa removal.

11 years agoFix failing tests
Marek Safar [Tue, 26 Feb 2013 22:19:34 +0000 (23:19 +0100)]
Fix failing tests

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'