mono.git
12 years ago[sgen] Debug option for printing the heap usage and minor collection allowance.
Mark Probst [Fri, 8 Jul 2011 19:47:00 +0000 (21:47 +0200)]
[sgen] Debug option for printing the heap usage and minor collection allowance.

12 years agoFix caching in mono_marshal_get_array_address ().
Zoltan Varga [Sun, 10 Jul 2011 22:23:36 +0000 (00:23 +0200)]
Fix caching in mono_marshal_get_array_address ().

12 years agoFix signal chaining to handle a stupid previous handler.
Rodrigo Kumpera [Sat, 9 Jul 2011 16:10:44 +0000 (13:10 -0300)]
Fix signal chaining to handle a stupid previous handler.

12 years agoDisable the exception thread under iOS since it's neither needed nor working.
Rodrigo Kumpera [Fri, 8 Jul 2011 23:44:21 +0000 (20:44 -0300)]
Disable the exception thread under iOS since it's neither needed nor working.

12 years agoFull equivalence comparison is unnecessary for MessageEncoder ContentType.
Atsushi Eno [Fri, 8 Jul 2011 21:50:58 +0000 (06:50 +0900)]
Full equivalence comparison is unnecessary for MessageEncoder ContentType.

based on https://github.com/mono/mono/pull/130

12 years agoResurrect the AOT profiler.
Zoltan Varga [Fri, 8 Jul 2011 12:37:44 +0000 (14:37 +0200)]
Resurrect the AOT profiler.

12 years agoMerge pull request #131 from txdv/master
Marek Safar [Fri, 8 Jul 2011 07:14:17 +0000 (00:14 -0700)]
Merge pull request #131 from txdv/master

Encoding constants should be in lower case.

12 years agoFix upper case encoding constants.
Andrius Bentkus [Fri, 8 Jul 2011 04:32:57 +0000 (06:32 +0200)]
Fix upper case encoding constants.

name.ToLowerInvariant ().Replace ('-', '_') should ensure that they
are all lowercase.

12 years ago'async' is becoming a keyword. Fix variables named async.
Jonathan Pobst [Thu, 7 Jul 2011 21:52:46 +0000 (16:52 -0500)]
'async' is becoming a keyword.  Fix variables named async.

12 years agoHandle DBNull's.
Jonathan Pobst [Thu, 7 Jul 2011 21:50:49 +0000 (16:50 -0500)]
Handle DBNull's.

12 years agoInitial skeleton of secondary approach of await stack handling
Marek Safar [Thu, 7 Jul 2011 15:34:28 +0000 (16:34 +0100)]
Initial skeleton of secondary approach of await stack handling

12 years agoRemove debug comment
Marek Safar [Tue, 5 Jul 2011 16:29:42 +0000 (17:29 +0100)]
Remove debug comment

12 years agoReverted previous commit, struct sizes vary way too much between platforms
Jeffrey Stedfast [Wed, 6 Jul 2011 22:21:29 +0000 (18:21 -0400)]
Reverted previous commit, struct sizes vary way too much between platforms

12 years agoUse a struct utsname when calling uname() instead of an 8K buffer
Jeffrey Stedfast [Wed, 6 Jul 2011 22:06:14 +0000 (18:06 -0400)]
Use a struct utsname when calling uname() instead of an 8K buffer

12 years agoAdd System/Platform.cs to *System*.dll.sources
Jeffrey Stedfast [Wed, 6 Jul 2011 17:32:05 +0000 (13:32 -0400)]
Add System/Platform.cs to *System*.dll.sources

12 years agoMerge pull request #128 from paszczi/master
Rodrigo Kumpera [Wed, 6 Jul 2011 17:01:15 +0000 (10:01 -0700)]
Merge pull request #128 from paszczi/master

Fix for bug #701733

12 years agoMake internal Platform class static
Jeffrey Stedfast [Wed, 6 Jul 2011 16:42:24 +0000 (12:42 -0400)]
Make internal Platform class static

12 years agoLoad the correct type for MacOSX (as opposed to iOS)
Jeffrey Stedfast [Wed, 6 Jul 2011 16:06:12 +0000 (12:06 -0400)]
Load the correct type for MacOSX (as opposed to iOS)

12 years agoDo some work towards making ARM fp mode runtime configurable, still far from working.
Zoltan Varga [Wed, 6 Jul 2011 14:17:09 +0000 (16:17 +0200)]
Do some work towards making ARM fp mode runtime configurable, still far from working.

12 years agoPrefix ARM FPA codegen macros with 'FPA'.
Zoltan Varga [Wed, 6 Jul 2011 14:16:16 +0000 (16:16 +0200)]
Prefix ARM FPA codegen macros with 'FPA'.

12 years agoAvoid calling add_method () twice.
Zoltan Varga [Wed, 6 Jul 2011 13:37:32 +0000 (15:37 +0200)]
Avoid calling add_method () twice.

12 years agoAdd an ExportSymbol property to MonoPInvokeCallbackAttribute to instruct the AOT...
Zoltan Varga [Wed, 6 Jul 2011 02:12:59 +0000 (04:12 +0200)]
Add an ExportSymbol property to MonoPInvokeCallbackAttribute to instruct the AOT compiler to generate a global symbol for the native-to-managed wrapper.

12 years agoOops, we need Platform.cs too
Jeffrey Stedfast [Tue, 5 Jul 2011 21:53:54 +0000 (17:53 -0400)]
Oops, we need Platform.cs too

12 years agoImplemented a shared way to do MacOSX detection in System.dll
Jeffrey Stedfast [Tue, 5 Jul 2011 21:52:25 +0000 (17:52 -0400)]
Implemented a shared way to do MacOSX detection in System.dll

12 years agoDoh, do proper OSX detection
Jeffrey Stedfast [Tue, 5 Jul 2011 21:00:58 +0000 (17:00 -0400)]
Doh, do proper OSX detection

12 years agoUse runtime detection to decide to use CoreFoundation.CFNetwork.GetDefaultProxy()
Jeffrey Stedfast [Tue, 5 Jul 2011 20:31:47 +0000 (16:31 -0400)]
Use runtime detection to decide to use CoreFoundation.CFNetwork.GetDefaultProxy()

12 years agoOn MonoTouch, call CoreFoundation.CFNetwork.GetDefaultProxy() to get the default...
Jeffrey Stedfast [Tue, 5 Jul 2011 18:10:14 +0000 (14:10 -0400)]
On MonoTouch, call CoreFoundation.CFNetwork.GetDefaultProxy() to get the default proxy

12 years agoEnsure the .mdb file is copied if the linker decides not the link, but copy, an assembly
Sebastien Pouliot [Tue, 5 Jul 2011 14:17:41 +0000 (10:17 -0400)]
Ensure the .mdb file is copied if the linker decides not the link, but copy, an assembly

12 years agoDo not mark all static fields when marking a ValueType (except for enums)
Sebastien Pouliot [Tue, 5 Jul 2011 14:17:06 +0000 (10:17 -0400)]
Do not mark all static fields when marking a ValueType (except for enums)

12 years agoReuse fields used by hoisted stack slots
Marek Safar [Tue, 5 Jul 2011 09:30:11 +0000 (10:30 +0100)]
Reuse fields used by hoisted stack slots

12 years agoFix for bug #701733
Maciej Paszta [Tue, 5 Jul 2011 05:42:02 +0000 (07:42 +0200)]
Fix for bug #701733

12 years agoStack forwarder don't not need explicit this when one of the arguments is this
Marek Safar [Mon, 4 Jul 2011 19:02:58 +0000 (20:02 +0100)]
Stack forwarder don't not need explicit this when one of the arguments is this

12 years agoImplement stack persistance for nested async
Marek Safar [Fri, 1 Jul 2011 19:51:35 +0000 (20:51 +0100)]
Implement stack persistance for nested async

12 years agoMerge pull request #127 from trustme/master
Geoff Norton [Fri, 1 Jul 2011 16:15:26 +0000 (09:15 -0700)]
Merge pull request #127 from trustme/master

Fix crash on Lion when exiting

12 years agoFix crash on Lion when exiting
Duane Wandless [Fri, 1 Jul 2011 12:46:28 +0000 (08:46 -0400)]
Fix crash on Lion when exiting

12 years agoFix a race in continuation setup
Marek Safar [Fri, 1 Jul 2011 11:09:35 +0000 (12:09 +0100)]
Fix a race in continuation setup

12 years agoMigrate more emit specific code to EmitContext and clean it up for stack tracking
Marek Safar [Fri, 1 Jul 2011 11:01:51 +0000 (12:01 +0100)]
Migrate more emit specific code to EmitContext and clean it up for stack tracking

12 years agoFix the Thread.Interrupt () test now that it is implemented.
Zoltan Varga [Fri, 1 Jul 2011 00:49:08 +0000 (02:49 +0200)]
Fix the Thread.Interrupt () test now that it is implemented.

12 years agoFix some tests broken by some NET 4.0 changes.
Zoltan Varga [Fri, 1 Jul 2011 00:32:25 +0000 (02:32 +0200)]
Fix some tests broken by some NET 4.0 changes.

12 years agoFix an enum test.
Zoltan Varga [Thu, 30 Jun 2011 23:00:59 +0000 (01:00 +0200)]
Fix an enum test.

12 years agoFix sorting of ulong[] arrays among others when using the non-generic Sort() overloads.
Zoltan Varga [Thu, 30 Jun 2011 23:00:31 +0000 (01:00 +0200)]
Fix sorting of ulong[] arrays among others when using the non-generic Sort() overloads.

12 years agoDisable a not working delegate test.
Zoltan Varga [Thu, 30 Jun 2011 22:59:52 +0000 (00:59 +0200)]
Disable a not working delegate test.

12 years ago[asp.net] Added FormsAuthentication.Timeout 4.0 property
Marek Habersack [Thu, 30 Jun 2011 21:59:55 +0000 (23:59 +0200)]
[asp.net] Added FormsAuthentication.Timeout 4.0 property

12 years agoRevert delegate-invoke.exe as the commit it depends on, 929c6bc9b6d76a273f251e6f5dfac...
Zoltan Varga [Thu, 30 Jun 2011 20:41:56 +0000 (22:41 +0200)]
Revert delegate-invoke.exe as the commit it depends on, 929c6bc9b6d76a273f251e6f5dfacac36e9c38bd has been removed.

12 years agoDisable a test which fails with AOT.
Zoltan Varga [Thu, 30 Jun 2011 20:29:39 +0000 (22:29 +0200)]
Disable a test which fails with AOT.

12 years agoAvoid creating an AssemblyBuilder in DynamicMethod if not needed.
Zoltan Varga [Thu, 30 Jun 2011 18:46:11 +0000 (20:46 +0200)]
Avoid creating an AssemblyBuilder in DynamicMethod if not needed.

12 years agoFix handling of null in the non generic implementation of EqualityComparer. Fixes...
Jb Evain [Wed, 29 Jun 2011 23:24:50 +0000 (01:24 +0200)]
Fix handling of null in the non generic implementation of EqualityComparer. Fixes 703027.

12 years agoAdd test for bug #703027.
Jb Evain [Wed, 29 Jun 2011 23:23:14 +0000 (01:23 +0200)]
Add test for bug #703027.

12 years agoFix more typos.
Rodrigo Kumpera [Wed, 29 Jun 2011 14:04:18 +0000 (11:04 -0300)]
Fix more typos.

12 years agoUse correct method to declare local variable
Marek Safar [Tue, 28 Jun 2011 21:56:07 +0000 (22:56 +0100)]
Use correct method to declare local variable

12 years agoRemove redundant local variable copy
Marek Safar [Tue, 28 Jun 2011 15:25:14 +0000 (16:25 +0100)]
Remove redundant local variable copy

12 years agoMake continuation jump more explicit
Marek Safar [Mon, 27 Jun 2011 17:08:59 +0000 (18:08 +0100)]
Make continuation jump more explicit

12 years agoRemove redundant override
Marek Safar [Sat, 25 Jun 2011 13:54:06 +0000 (14:54 +0100)]
Remove redundant override

12 years ago[PATCH 2/2] Improve code readability
Eberhard Beilharz [Wed, 29 Jun 2011 06:25:44 +0000 (08:25 +0200)]
[PATCH 2/2] Improve code readability

Use enum instead of hard coded values for XLookupStatus values.

12 years ago[PATCH 1/2] Improved fix for mono bug #692206
Eberhard Beilharz [Wed, 29 Jun 2011 06:23:21 +0000 (08:23 +0200)]
[PATCH 1/2] Improved fix for mono bug #692206

In contrast to Xutf8LookupString, XLookupString returns the number
of characters stored in the buffer instead of a status. If the buffer
is too small the output is truncated, but we don't know it. However, it
seems pretty unlikely that a buffer of 24 chars shouldn't be enough for a
single key press, so I simplified the code a little bit.
Also, XLookupString converts the keySym to an ISO Latin-1
character so that there is no need to do an explicit conversion.

Add variable to store Ansi encoding so that we have to get it only once.

Fix a few problems encountered debugging this problem.

12 years agoWe can accidently swallow out of FD errors here since this function is called from...
Jackson Harper [Wed, 29 Jun 2011 03:22:44 +0000 (23:22 -0400)]
We can accidently swallow out of FD errors here since this function is called from a threadpool thread.

12 years agoFix typo.
Rodrigo Kumpera [Tue, 28 Jun 2011 21:16:10 +0000 (18:16 -0300)]
Fix typo.

12 years agoImplement support for Stream param with WebHttpBinding raw content format.
Atsushi Eno [Tue, 28 Jun 2011 11:43:13 +0000 (20:43 +0900)]
Implement support for Stream param with WebHttpBinding raw content format.

12 years agoImplement support for generic data contract type name with "{x}".
Atsushi Eno [Tue, 28 Jun 2011 09:01:38 +0000 (18:01 +0900)]
Implement support for generic data contract type name with "{x}".

12 years agoMerge pull request #112 from skolima/master
Marek Habersack [Mon, 27 Jun 2011 17:59:03 +0000 (10:59 -0700)]
Merge pull request #112 from skolima/master

[MSBuild] Preserve comments in build files & use LinkedList to store children

12 years agoAdd an aot option to override the value of readonly static fields.
Paolo Molaro [Mon, 27 Jun 2011 13:49:48 +0000 (15:49 +0200)]
Add an aot option to override the value of readonly static fields.

If the static constructor of a type has been run, the JIT can perform
some optimizations based on the actual value of static readonly fields.
This isn't possible in AOT mode, since the code won't be ran before compile
time: this option allows to set any number of static readonly fields to
a constant value so that the compiler can perform the same kind of
optimizations.

12 years agoRemove the data field from MonoVTable to reduce memory usage.
Paolo Molaro [Fri, 10 Jun 2011 13:08:33 +0000 (15:08 +0200)]
Remove the data field from MonoVTable to reduce memory usage.

We now store a pointer to the static fields area of a type at the
end of the vtable array only when needed, so we save memory for all
the types that have no static fields.
All the direct accesses to the field have been changed to use the
already existing function accessor.

12 years ago[MSBuild] Fixed issues found by Paul Selormey.
Leszek 'skolima' Ciesielski [Sat, 25 Jun 2011 13:57:06 +0000 (15:57 +0200)]
[MSBuild] Fixed issues found by Paul Selormey.

Unset attributes should return String.Empty, null is only for invalid.

12 years ago[MSBuild] LinkedList used for storing children
Leszek 'skolima' Ciesielski [Tue, 21 Jun 2011 17:14:32 +0000 (19:14 +0200)]
[MSBuild] LinkedList used for storing children

ProjectElementContainer should now handle modifications faster.

12 years ago[MSBuild] Preserve comments in build files
Leszek 'skolima' Ciesielski [Sat, 4 Jun 2011 15:56:00 +0000 (17:56 +0200)]
[MSBuild] Preserve comments in build files

Contribution by Paul Selormey

12 years ago[sgen] Do the bridge callback after the world has been restarted.
Mark Probst [Thu, 23 Jun 2011 15:05:46 +0000 (17:05 +0200)]
[sgen] Do the bridge callback after the world has been restarted.

12 years agoMerge pull request #122 from rabink/master
Gonzalo Paniagua Javier [Fri, 24 Jun 2011 17:42:44 +0000 (10:42 -0700)]
Merge pull request #122 from rabink/master

Added support for p12 files

12 years agoMerge pull request #121 from LogosBible/processfixes
Gonzalo Paniagua Javier [Fri, 24 Jun 2011 05:03:39 +0000 (22:03 -0700)]
Merge pull request #121 from LogosBible/processfixes

Fixes crash when calling Process.Start on a file with a ' in the path

12 years agoTreat CEE_BREAK the same as Debugger:Break (), i.e. route it through sdb.
Zoltan Varga [Thu, 23 Jun 2011 22:23:08 +0000 (00:23 +0200)]
Treat CEE_BREAK the same as Debugger:Break (), i.e. route it through sdb.

12 years agoFix out-of-tree builds on arm.
Zoltan Varga [Thu, 23 Jun 2011 19:33:43 +0000 (21:33 +0200)]
Fix out-of-tree builds on arm.

12 years agoFix a warning if MONO_FAST_TLS_DECLARE is not defined.
Zoltan Varga [Thu, 23 Jun 2011 19:17:22 +0000 (21:17 +0200)]
Fix a warning if MONO_FAST_TLS_DECLARE is not defined.

12 years agoCompile 'arch' before 'utils' since mono-context.h now references generated files...
Zoltan Varga [Thu, 23 Jun 2011 19:11:11 +0000 (21:11 +0200)]
Compile 'arch' before 'utils' since mono-context.h now references generated files from 'arch'.

12 years agoAllow adding certificates using PKCS12 file
Rabin Karki [Thu, 23 Jun 2011 17:33:08 +0000 (13:33 -0400)]
Allow adding certificates using PKCS12 file

12 years ago[sgen] Give warnings when degraded allocations happen.
Mark Probst [Thu, 23 Jun 2011 10:12:09 +0000 (12:12 +0200)]
[sgen] Give warnings when degraded allocations happen.

12 years ago[sgen] Don't accept size parameters with incorrect suffix.
Mark Probst [Wed, 22 Jun 2011 15:40:12 +0000 (17:40 +0200)]
[sgen] Don't accept size parameters with incorrect suffix.

Previously if you set, for example, nursery-size=64x, which is
nonsense, it was interpreted as 64 bytes.  Now it'll fail.

12 years agoChange the importance of MakeDir log messages to 'normal'.
Zoltan Varga [Wed, 22 Jun 2011 23:01:13 +0000 (01:01 +0200)]
Change the importance of MakeDir log messages to 'normal'.

12 years agoFix queryable enumerable expression transformation
Jb Evain [Wed, 22 Jun 2011 22:32:27 +0000 (00:32 +0200)]
Fix queryable enumerable expression transformation

12 years agoDon't emit null queryable constants when rewriting linq queries, fix #701187
Jb Evain [Wed, 22 Jun 2011 22:18:23 +0000 (00:18 +0200)]
Don't emit null queryable constants when rewriting linq queries, fix #701187

12 years agoadd test case for #701187
Jb Evain [Wed, 22 Jun 2011 22:11:34 +0000 (00:11 +0200)]
add test case for #701187

12 years agoMerge pull request #119 from konrad-kruczynski/SslStreamNoTimeout
Sebastien Pouliot [Wed, 22 Jun 2011 00:38:00 +0000 (17:38 -0700)]
Merge pull request #119 from konrad-kruczynski/SslStreamNoTimeout

Removed hard coded timeout for SslStreamBase.

12 years agoFix amd64, again. Damn me.
Rodrigo Kumpera [Tue, 21 Jun 2011 21:14:16 +0000 (18:14 -0300)]
Fix amd64, again. Damn me.

12 years agoImplement an IL version of the cardtable write-barrier.
Rodrigo Kumpera [Tue, 21 Jun 2011 17:10:23 +0000 (14:10 -0300)]
Implement an IL version of the cardtable write-barrier.

12 years agoExtract the nursery check code into a separate function.
Rodrigo Kumpera [Mon, 20 Jun 2011 23:19:41 +0000 (20:19 -0300)]
Extract the nursery check code into a separate function.

12 years agoFix build.
Rodrigo Kumpera [Tue, 21 Jun 2011 16:25:50 +0000 (13:25 -0300)]
Fix build.

12 years agoBetter side effect checks
Marek Safar [Tue, 21 Jun 2011 14:08:27 +0000 (15:08 +0100)]
Better side effect checks

12 years agoRemoved hard coded timeout for SslStreamBase.
Konrad M. Kruczynski [Tue, 21 Jun 2011 13:39:44 +0000 (15:39 +0200)]
Removed hard coded timeout for SslStreamBase.

SslStream had hard coded timeout, so it waited no more than five minutes to have send/receive operation completed and then throwing exception even if underlying stream was still fully operational.

12 years agoDon't emit reaonly. prefix for reference loads
Marek Safar [Mon, 20 Jun 2011 10:44:19 +0000 (11:44 +0100)]
Don't emit reaonly. prefix for reference loads

12 years agoms_get_empty_block must atomically pop from empty_blocks.
Rodrigo Kumpera [Mon, 20 Jun 2011 16:38:34 +0000 (13:38 -0300)]
ms_get_empty_block must atomically pop from empty_blocks.

12 years agoAvoid emiting membar for cases not needed by amd64 memory model.
Rodrigo Kumpera [Mon, 20 Jun 2011 16:37:48 +0000 (13:37 -0300)]
Avoid emiting membar for cases not needed by amd64 memory model.

12 years agoMust use an IL version of the test since the underlying bug will be fixed on mcs.
Rodrigo Kumpera [Mon, 20 Jun 2011 16:48:38 +0000 (13:48 -0300)]
Must use an IL version of the test since the underlying bug will be fixed on mcs.

12 years agoAdd regression test to cmmp store to local.
Rodrigo Kumpera [Mon, 20 Jun 2011 16:28:28 +0000 (13:28 -0300)]
Add regression test to cmmp store to local.

12 years agoDon't allow storing CMMP managed refs to local variables.
Rodrigo Kumpera [Mon, 20 Jun 2011 15:48:48 +0000 (12:48 -0300)]
Don't allow storing CMMP managed refs to local variables.

12 years agoCleanup code a bit by reducing spurious nesting.
Rodrigo Kumpera [Mon, 20 Jun 2011 15:22:32 +0000 (12:22 -0300)]
Cleanup code a bit by reducing spurious nesting.

12 years agoFix the cairo dllmap on OS X
Michael Hutchinson [Mon, 20 Jun 2011 13:34:12 +0000 (14:34 +0100)]
Fix the cairo dllmap on OS X

12 years agoSDB under darwin can't handle new style interruption.
Rodrigo Kumpera [Mon, 20 Jun 2011 13:29:28 +0000 (10:29 -0300)]
SDB under darwin can't handle new style interruption.

12 years agoAdd mono_thread_info_disable_new_interrupt so we can disable new interruption program...
Rodrigo Kumpera [Mon, 20 Jun 2011 13:28:39 +0000 (10:28 -0300)]
Add mono_thread_info_disable_new_interrupt so we can disable new interruption programatically.

13 years agoUpdate copyrights
Miguel de Icaza [Sun, 19 Jun 2011 22:59:21 +0000 (18:59 -0400)]
Update copyrights

13 years agoMerge pull request #118 from XTZGZoReX/master
Andreia Gaita [Sun, 19 Jun 2011 21:04:38 +0000 (14:04 -0700)]
Merge pull request #118 from XTZGZoReX/master

Socket: Fixed a security issue when default-initialized ArraySegment structs are passed in.

13 years agoSocket: Fixed a security issue when default-initialized ArraySegment structs are...
XTZGZoReX [Sun, 19 Jun 2011 23:02:00 +0000 (01:02 +0200)]
Socket: Fixed a security issue when default-initialized ArraySegment structs are passed in.

This is the same security issue that was recently addressed in MS.NET.

13 years agoAdd some missing files.
Zoltan Varga [Sun, 19 Jun 2011 15:28:21 +0000 (17:28 +0200)]
Add some missing files.