mono.git
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'

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.