mono.git
12 years agoDon't reference WindowsBase in the mobile profiles.
Paolo Molaro [Fri, 7 Oct 2011 08:59:24 +0000 (10:59 +0200)]
Don't reference WindowsBase in the mobile profiles.

12 years ago[System] Added NetworkCredential.SecurePassword.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:42:58 +0000 (13:42 +0200)]
[System] Added NetworkCredential.SecurePassword.

12 years ago[Microsoft.Build] Stub out a lot of classes to make NuGet build with mono.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:41:10 +0000 (13:41 +0200)]
[Microsoft.Build] Stub out a lot of classes to make NuGet build with mono.

12 years agoIgnore headers generated by dtrace.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:35:57 +0000 (13:35 +0200)]
Ignore headers generated by dtrace.

12 years ago[System.Data] Clean up temporary file when done generating the parser.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:32:08 +0000 (13:32 +0200)]
[System.Data] Clean up temporary file when done generating the parser.

12 years agoUpdated .gitignore to ignore local files MonoDevelop creates.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:29:57 +0000 (13:29 +0200)]
Updated .gitignore to ignore local files MonoDevelop creates.

12 years ago[Microsoft.Build.Framework] Add a couple of 4.0 interfaces.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:28:35 +0000 (13:28 +0200)]
[Microsoft.Build.Framework] Add a couple of 4.0 interfaces.

12 years ago[WindowsBase] Relationship ids must be valid XML identifiers.
Rolf Bjarne Kvinge [Fri, 23 Sep 2011 11:21:39 +0000 (13:21 +0200)]
[WindowsBase] Relationship ids must be valid XML identifiers.

12 years agoFix the OSX build
Zoltan Varga [Thu, 6 Oct 2011 23:33:43 +0000 (01:33 +0200)]
Fix the OSX build

12 years agoMake the mono_native_thread functions real functions on all platforms
Zoltan Varga [Thu, 6 Oct 2011 17:11:46 +0000 (19:11 +0200)]
Make the mono_native_thread functions real functions on all platforms

12 years agoFix a windows warning
Zoltan Varga [Thu, 6 Oct 2011 17:10:41 +0000 (19:10 +0200)]
Fix a windows warning

12 years agoAvoid calling mono_monitor_get_fast_path () for the net 2.0 Enter
Zoltan Varga [Thu, 6 Oct 2011 17:10:15 +0000 (19:10 +0200)]
Avoid calling mono_monitor_get_fast_path () for the net 2.0 Enter

12 years ago[RabbitMQ.Client] Add spec files for 4.5 profile.
alexrp [Thu, 6 Oct 2011 12:27:15 +0000 (07:27 -0500)]
[RabbitMQ.Client] Add spec files for 4.5 profile.

12 years agoFix predefined SetResult parameters filter, so it can be used inside mscorlib
Marek Safar [Thu, 6 Oct 2011 10:50:39 +0000 (11:50 +0100)]
Fix predefined SetResult parameters filter, so it can be used inside mscorlib

12 years agoFix a warning
Marek Safar [Wed, 5 Oct 2011 15:31:07 +0000 (16:31 +0100)]
Fix a warning

12 years agoUse functions instead of macros from the mono_native_thread_... functions, add comments.
Zoltan Varga [Thu, 6 Oct 2011 01:01:06 +0000 (03:01 +0200)]
Use functions instead of macros from the mono_native_thread_... functions, add comments.

12 years agoEmit precise GC maps for vtypes passed as parameters, improve debug logging
Zoltan Varga [Thu, 6 Oct 2011 00:21:50 +0000 (02:21 +0200)]
Emit precise GC maps for vtypes passed as parameters, improve debug logging

12 years agoEnsure consistency when 'emitContext == true' is used in MONOTOUCH profile (since...
Sebastien Pouliot [Wed, 5 Oct 2011 21:30:02 +0000 (17:30 -0400)]
Ensure consistency when 'emitContext == true' is used in MONOTOUCH profile (since it won't work when the linker is enabled). Fix bug #1144

12 years agoInternalize [ComImport] in MONOTOUCH profile since it can make the (unlinked) applica...
Sebastien Pouliot [Wed, 5 Oct 2011 01:14:15 +0000 (21:14 -0400)]
Internalize [ComImport] in MONOTOUCH profile since it can make the (unlinked) application code crash (and we better spot this at compile time). Fix assistly #2357

12 years ago[System.ServiceModel] Write EndPointAddress properly in the 2.1 profile. Fixes #1244
Rolf Bjarne Kvinge [Wed, 5 Oct 2011 14:04:05 +0000 (16:04 +0200)]
[System.ServiceModel] Write EndPointAddress properly in the 2.1 profile. Fixes #1244

12 years agoReport better error for misused await operator
Marek Safar [Wed, 5 Oct 2011 14:41:01 +0000 (15:41 +0100)]
Report better error for misused await operator

12 years agoMake C#5 default lang version for mcs compiler
Marek Safar [Wed, 5 Oct 2011 09:48:31 +0000 (10:48 +0100)]
Make C#5 default lang version for mcs compiler

12 years agoFix a warning
Zoltan Varga [Tue, 4 Oct 2011 23:55:03 +0000 (01:55 +0200)]
Fix a warning

12 years agoFix the build
Zoltan Varga [Tue, 4 Oct 2011 22:29:27 +0000 (00:29 +0200)]
Fix the build

12 years agoAdd runtime support for the .NET Portable Libraries profile, by remapping assembly...
Zoltan Varga [Tue, 4 Oct 2011 21:54:02 +0000 (23:54 +0200)]
Add runtime support for the .NET Portable Libraries profile, by remapping assembly names with the 'retargettable' flag set to the current framework versions, and remapping System.Net to System

12 years agoFix a warning
Zoltan Varga [Tue, 4 Oct 2011 21:05:24 +0000 (23:05 +0200)]
Fix a warning

12 years agoFix MSVC build
Zoltan Varga [Tue, 4 Oct 2011 21:05:01 +0000 (23:05 +0200)]
Fix MSVC build

12 years agoMerge branch 'sgen-windows'
Mark Probst [Tue, 4 Oct 2011 21:19:49 +0000 (23:19 +0200)]
Merge branch 'sgen-windows'

12 years ago[sgen] Small fixes.
Mark Probst [Tue, 4 Oct 2011 09:39:14 +0000 (11:39 +0200)]
[sgen] Small fixes.

12 years ago[sgen] Basic Win32 support.
Mark Probst [Tue, 4 Oct 2011 09:36:45 +0000 (11:36 +0200)]
[sgen] Basic Win32 support.

12 years ago[sgen] Debug print fixes.
Mark Probst [Tue, 4 Oct 2011 09:10:48 +0000 (11:10 +0200)]
[sgen] Debug print fixes.

Also, flush gc_debug_file after debug prints.  Crashes on Windows don't
flush, so we miss the debug outputs.

12 years ago[sgen] Simple abstraction for creating native threads.
Mark Probst [Mon, 3 Oct 2011 23:04:41 +0000 (01:04 +0200)]
[sgen] Simple abstraction for creating native threads.

12 years ago[sgen] Use our mutex abstraction instead of pthreads directly.
Mark Probst [Mon, 3 Oct 2011 22:57:29 +0000 (00:57 +0200)]
[sgen] Use our mutex abstraction instead of pthreads directly.

12 years ago[sgen] Use our TLS abstraction instead of pthreads directly.
Mark Probst [Mon, 3 Oct 2011 22:47:07 +0000 (00:47 +0200)]
[sgen] Use our TLS abstraction instead of pthreads directly.

12 years agoCorrectly capture synchronization context
Marek Safar [Tue, 4 Oct 2011 17:59:17 +0000 (18:59 +0100)]
Correctly capture synchronization context

12 years agoawaiterbuilder cannot be readonly, it causes unexpected behaviour on .net
Marek Safar [Tue, 4 Oct 2011 14:59:18 +0000 (15:59 +0100)]
awaiterbuilder cannot be readonly, it causes unexpected behaviour on .net

12 years agoIntroduce a callback API to have notifications when runtime resources exceed preset...
Paolo Molaro [Tue, 4 Oct 2011 15:50:57 +0000 (17:50 +0200)]
Introduce a callback API to have notifications when runtime resources exceed preset limits.

12 years agoAllow type inference of lambda return type using type argument inside array
Marek Safar [Tue, 4 Oct 2011 10:19:31 +0000 (11:19 +0100)]
Allow type inference of lambda return type using type argument inside array

12 years agoFix recent regression caused by changes to assignment of struct fields
Marek Safar [Tue, 4 Oct 2011 08:33:40 +0000 (09:33 +0100)]
Fix recent regression caused by changes to assignment of struct fields

12 years ago[mdoc] Add tests for C#4 dynamic, default method parameter values.
Jonathan Pryor [Mon, 3 Oct 2011 19:53:44 +0000 (15:53 -0400)]
[mdoc] Add tests for C#4 dynamic, default method parameter values.

12 years ago[mdoc] Add tests for C#4 variance support.
Jonathan Pryor [Mon, 3 Oct 2011 19:27:56 +0000 (15:27 -0400)]
[mdoc] Add tests for C#4 variance support.

12 years agoAdd ProtectionTokenParameter for mutual nego. Patch by Alexander Riman.
Atsushi Eno [Mon, 3 Oct 2011 15:00:43 +0000 (00:00 +0900)]
Add ProtectionTokenParameter for mutual nego. Patch by Alexander Riman.

12 years agoUpdate to the latest ikvm reflection
Marek Safar [Mon, 3 Oct 2011 12:49:24 +0000 (13:49 +0100)]
Update to the latest ikvm reflection

12 years agoFix xbuild.rsp install location
Marek Safar [Mon, 3 Oct 2011 12:22:13 +0000 (13:22 +0100)]
Fix xbuild.rsp install location

12 years agoconfigure.{ac,in}: Point to the new Bugzilla.
alexrp [Fri, 30 Sep 2011 19:08:41 +0000 (21:08 +0200)]
configure.{ac,in}: Point to the new Bugzilla.

12 years agoAdd more 4.5 task methods
Marek Safar [Fri, 30 Sep 2011 18:25:07 +0000 (19:25 +0100)]
Add more 4.5 task methods

12 years agoMutate async awaiter when it's of generic type
Marek Safar [Fri, 30 Sep 2011 18:24:12 +0000 (19:24 +0100)]
Mutate async awaiter when it's of generic type

12 years agoAdd gitignore
Marek Safar [Thu, 29 Sep 2011 14:43:27 +0000 (15:43 +0100)]
Add gitignore

12 years agoMerge pull request #175 from alexrp/master
Marek Safar [Fri, 30 Sep 2011 09:59:16 +0000 (02:59 -0700)]
Merge pull request #175 from alexrp/master

Use Console.Is*Redirected for the 4.5 profile in csharp's repl.cs.

12 years agoUse Console.Is*Redirected for the 4.5 profile in csharp's repl.cs.
alexrp [Fri, 30 Sep 2011 11:35:07 +0000 (13:35 +0200)]
Use Console.Is*Redirected for the 4.5 profile in csharp's repl.cs.

12 years agoAdd new Is*Redirected properties to Console for the 4.5 profile.
alexrp [Thu, 29 Sep 2011 16:43:01 +0000 (18:43 +0200)]
Add new Is*Redirected properties to Console for the 4.5 profile.

12 years agoMerge pull request #174 from alexrp/master
Marek Safar [Fri, 30 Sep 2011 09:00:36 +0000 (02:00 -0700)]
Merge pull request #174 from alexrp/master

Add new Is*Redirected properties to Console for the 4.5 profile.

12 years agoPlug an unmanaged memory leak
Gonzalo Paniagua Javier [Fri, 30 Sep 2011 05:20:29 +0000 (01:20 -0400)]
Plug an unmanaged memory leak

If Flush() was called with final_flush set to true, we were leaking the
unmanaged memory in the output stream (if allocated).

It was "only" an AS leak.

Thanks to Kumpera for the help debugging this.

12 years agoMake mdoc a .NET 4.0 profile app.
Jonathan Pryor [Thu, 29 Sep 2011 16:10:33 +0000 (12:10 -0400)]
Make mdoc a .NET 4.0 profile app.

This isn't so much so that mdoc can use C#4 features. It's instead so
that the mdoc unit tests can use C#4 features. :-)

12 years agoInclude the correct profile directory in MONO_PATH.
Jonathan Pryor [Mon, 26 Sep 2011 19:06:30 +0000 (15:06 -0400)]
Include the correct profile directory in MONO_PATH.

Running a 4.0-built mdoc.exe against the 2.0 profile leads to pain.

12 years agoMerge pull request #167 from konrad-kruczynski/send_async_fix
Gonzalo Paniagua Javier [Thu, 29 Sep 2011 15:30:47 +0000 (08:30 -0700)]
Merge pull request #167 from konrad-kruczynski/send_async_fix

Fix for Xamarin bug #531.

12 years ago[TimeZone] Fixed race condition with renewing the CurrentTimeZone object.
Jeffrey Stedfast [Thu, 29 Sep 2011 14:56:13 +0000 (10:56 -0400)]
[TimeZone] Fixed race condition with renewing the CurrentTimeZone object.

Fixes bug #1055.

12 years agoFix check for ambiguous async tasks
Marek Safar [Thu, 29 Sep 2011 13:55:21 +0000 (14:55 +0100)]
Fix check for ambiguous async tasks

12 years agoSearch for .net 4.5 corlib in correct profile folder
Marek Safar [Thu, 29 Sep 2011 13:13:04 +0000 (14:13 +0100)]
Search for .net 4.5 corlib in correct profile folder

12 years agoDistribute net_4_5 specific data
Marek Safar [Thu, 29 Sep 2011 13:11:03 +0000 (14:11 +0100)]
Distribute net_4_5 specific data

12 years agoRequest ObjectMirror type and domain in a single request.
Rodrigo Kumpera [Thu, 29 Sep 2011 00:51:35 +0000 (02:51 +0200)]
Request ObjectMirror type and domain in a single request.

12 years agoCache thread id.
Rodrigo Kumpera [Wed, 24 Aug 2011 20:30:59 +0000 (17:30 -0300)]
Cache thread id.

12 years agoCache source files.
Rodrigo Kumpera [Wed, 24 Aug 2011 20:30:42 +0000 (17:30 -0300)]
Cache source files.

12 years agoCache ObjectMirror type and domain.
Rodrigo Kumpera [Wed, 24 Aug 2011 00:44:50 +0000 (21:44 -0300)]
Cache ObjectMirror type and domain.

12 years agoAvoid looking up the ctor mirror twice.
Rodrigo Kumpera [Wed, 24 Aug 2011 00:30:22 +0000 (21:30 -0300)]
Avoid looking up the ctor mirror twice.

12 years agoAvoid a crash if mono_debug_open_image_from_memory is called without --debug. Fixes...
Zoltan Varga [Thu, 29 Sep 2011 00:01:11 +0000 (02:01 +0200)]
Avoid a crash if mono_debug_open_image_from_memory is called without --debug. Fixes #1093.

12 years ago[CSharpCodeGenerator] Revert change for not ignoring Final attr on fields
Lluis Sanchez [Wed, 28 Sep 2011 16:20:42 +0000 (18:20 +0200)]
[CSharpCodeGenerator] Revert change for not ignoring Final attr on fields

MS.NET does ignore the Final attribute for fields, so we
have to ignore it to be compatible. Also, CodeMemberField
objects are created with the Final flag set, so with this
change all fields were now generated as readonly, which
is a severe regression.

12 years agoFix broken task test
Marek Safar [Wed, 28 Sep 2011 14:25:09 +0000 (15:25 +0100)]
Fix broken task test

12 years agoDon't crash when constant resolver returns error expression
Marek Safar [Wed, 28 Sep 2011 12:10:46 +0000 (13:10 +0100)]
Don't crash when constant resolver returns error expression

12 years agoUpdate tools makefile to build with latest profile
Marek Safar [Wed, 28 Sep 2011 11:35:26 +0000 (12:35 +0100)]
Update tools makefile to build with latest profile

12 years agoAdd 4.5 sdk detection to mcs
Marek Safar [Wed, 28 Sep 2011 11:33:58 +0000 (12:33 +0100)]
Add 4.5 sdk detection to mcs

12 years agoRemove unused class
Marek Safar [Wed, 28 Sep 2011 10:07:51 +0000 (11:07 +0100)]
Remove unused class

12 years agoYet another wrong version check
Marek Safar [Wed, 28 Sep 2011 08:30:29 +0000 (09:30 +0100)]
Yet another wrong version check

12 years agoFix another version check
Marek Safar [Wed, 28 Sep 2011 08:13:50 +0000 (09:13 +0100)]
Fix another version check

12 years agoImplement stream async methods
Marek Safar [Tue, 27 Sep 2011 17:42:19 +0000 (18:42 +0100)]
Implement stream async methods

12 years agoSave/restore argument registers when instrumenting tail calls. Fixes #971
Zoltan Varga [Tue, 27 Sep 2011 18:57:59 +0000 (20:57 +0200)]
Save/restore argument registers when instrumenting tail calls. Fixes #971

12 years agoFix execution when same continuation is registered several times
Jérémie Laval [Tue, 27 Sep 2011 17:07:41 +0000 (19:07 +0200)]
Fix execution when same continuation is registered several times

12 years agoFix TaskFactoryTest
Marek Safar [Tue, 27 Sep 2011 14:47:38 +0000 (15:47 +0100)]
Fix TaskFactoryTest

12 years agoFix mcs/doc builds
Marek Safar [Tue, 27 Sep 2011 13:23:06 +0000 (14:23 +0100)]
Fix mcs/doc builds

12 years agoAdd 4.5 profile support to xbuild
Marek Safar [Tue, 27 Sep 2011 10:51:47 +0000 (11:51 +0100)]
Add 4.5 profile support to xbuild

12 years agoAnother build profile version fix
Marek Safar [Tue, 27 Sep 2011 10:48:21 +0000 (11:48 +0100)]
Another build profile version fix

12 years agoRemove 2.0 reference from 4.0 profile xbuild
Marek Safar [Tue, 27 Sep 2011 09:49:41 +0000 (10:49 +0100)]
Remove 2.0 reference from 4.0 profile xbuild

12 years agoUse correct version of xbuild 4.0 targets
Marek Safar [Tue, 27 Sep 2011 09:23:32 +0000 (10:23 +0100)]
Use correct version of xbuild 4.0 targets

12 years agoSplit bridge processing in two steps.
Rodrigo Kumpera [Mon, 26 Sep 2011 22:19:58 +0000 (19:19 -0300)]
Split bridge processing in two steps.

* sgen-bridge.c: Bridge processing must be split in
two steps because the object scanning step must be done
with world stop and before we copy the finalizable objects
and the ones pointed by them.

12 years agoFix the interation of non tracking weak refs and ephemerons.
Rodrigo Kumpera [Mon, 26 Sep 2011 21:26:31 +0000 (18:26 -0300)]
Fix the interation of non tracking weak refs and ephemerons.

* sgen-gc.c (finish_gray_stack): We must process ephemerons
before we check for non track weak refs to make sure we mark
those values whose only root are their keys.

12 years agoFix another framework version check
Marek Safar [Mon, 26 Sep 2011 21:36:32 +0000 (22:36 +0100)]
Fix another framework version check

12 years agoClean up mixed tabs and spaces
Marek Safar [Mon, 26 Sep 2011 14:47:58 +0000 (15:47 +0100)]
Clean up mixed tabs and spaces

12 years agoFix a bunch of data races.
Rodrigo Kumpera [Mon, 26 Sep 2011 19:40:58 +0000 (16:40 -0300)]
Fix a bunch of data races.

12 years agoFix enter/exit critical region visibility.
Rodrigo Kumpera [Mon, 26 Sep 2011 19:40:39 +0000 (16:40 -0300)]
Fix enter/exit critical region visibility.

12 years agoComplete acquire/release ops. Make acquire/release have ECMA sematics.
Rodrigo Kumpera [Mon, 26 Sep 2011 19:39:28 +0000 (16:39 -0300)]
Complete acquire/release ops. Make acquire/release have ECMA sematics.

12 years ago[mdoc-update] Properly implement C#4 dynamic support.
Jonathan Pryor [Mon, 26 Sep 2011 18:22:49 +0000 (14:22 -0400)]
[mdoc-update] Properly implement C#4 dynamic support.

The `dynamic` support in d80fadf was incomplete, in that it would only
find `dynamic` types, and not generic types, e.g.
`Dictionary<string, dynamic>` would be declared as
`Dictionary<string, object>`.

To figure this out, we need to read the
DynamicAttribute.TransformFlags value, which is a bool[] which
specifies which types in the depth-first traversal of the type should
be `dynamic` instead of the actual type, e.g. for
Dictionary<string,object> the bool[] is {false, false, true}.

This requires that we pass a "context" object whenever we have the
"root" of the object, so that we can properly count the depth-first
generic type traversal and generate an appropriate declaration.

12 years agoRun mdoc tests with --debug.
Jonathan Pryor [Mon, 26 Sep 2011 18:20:05 +0000 (14:20 -0400)]
Run mdoc tests with --debug.

It's more useful to see a stacktrace when things regress. :-)

12 years agoDon't install resgen when cannot be used
Marek Safar [Mon, 26 Sep 2011 11:27:51 +0000 (12:27 +0100)]
Don't install resgen when cannot be used

12 years agoFix System.Threading.Tasks.Dataflow version info
Marek Safar [Mon, 26 Sep 2011 11:26:40 +0000 (12:26 +0100)]
Fix System.Threading.Tasks.Dataflow version info

12 years agoInstall 4.0 profile as developers package and make 4.5 profile default gac target...
Marek Safar [Mon, 26 Sep 2011 11:08:01 +0000 (12:08 +0100)]
Install 4.0 profile as developers package and make 4.5 profile default gac target for 4.x

12 years agoCreate the first tp thread right away.
Gonzalo Paniagua Javier [Sun, 25 Sep 2011 06:19:45 +0000 (02:19 -0400)]
Create the first tp thread right away.

Avoid 500ms delay.  Fixes Xamarin bug #1036.

12 years agoMove things around in Task and Task_T
Jérémie Laval [Sun, 25 Sep 2011 16:53:56 +0000 (18:53 +0200)]
Move things around in Task and Task_T

12 years agoOptimize more how continuation are registered and executed to avoid extra allocation
Jérémie Laval [Sun, 25 Sep 2011 16:36:02 +0000 (18:36 +0200)]
Optimize more how continuation are registered and executed to avoid extra allocation

12 years agoMimic simpleAction usage in Task<T> to avoid creating an extra delegate in the simple...
Jérémie Laval [Sun, 25 Sep 2011 16:31:45 +0000 (18:31 +0200)]
Mimic simpleAction usage in Task<T> to avoid creating an extra delegate in the simple case

12 years agoUse quicket methods to launch a Task on the threadpool
Jérémie Laval [Sun, 25 Sep 2011 16:11:27 +0000 (18:11 +0200)]
Use quicket methods to launch a Task on the threadpool