mono.git
13 years ago[xbuild] ImportCollections.TryGetImport and other fixes
Ankit Jain [Thu, 3 Mar 2011 14:31:23 +0000 (20:01 +0530)]
[xbuild] ImportCollections.TryGetImport and other fixes

13 years ago[xbuild] Expression.ParseAs<T> - new method
Ankit Jain [Thu, 3 Mar 2011 14:30:54 +0000 (20:00 +0530)]
[xbuild] Expression.ParseAs<T> - new method

13 years ago[xbuild] DirectoryScanner.HasWildcard - new method
Ankit Jain [Thu, 3 Mar 2011 14:30:13 +0000 (20:00 +0530)]
[xbuild] DirectoryScanner.HasWildcard - new method

13 years ago[xbuild] Log build errors and raise events even if a build fails.
Ankit Jain [Thu, 3 Mar 2011 14:27:21 +0000 (19:57 +0530)]
[xbuild] Log build errors and raise events even if a build fails.

13 years agoSwitch amd64 to use MonoContext
Rodrigo Kumpera [Thu, 3 Mar 2011 16:09:18 +0000 (17:09 +0100)]
Switch amd64 to use MonoContext

13 years agoUse MonoContext from utils/mono-context
Rodrigo Kumpera [Thu, 3 Mar 2011 16:08:28 +0000 (17:08 +0100)]
Use MonoContext from utils/mono-context

13 years agoImplement MonoContext for amd64.
Rodrigo Kumpera [Thu, 3 Mar 2011 16:06:48 +0000 (17:06 +0100)]
Implement MonoContext for amd64.

* mono-context.h: Add amd64 support. Different than
what we have on mini, we must store all 16 gregs.

13 years agoCleanup the #ifdef mess.
Rodrigo Kumpera [Thu, 3 Mar 2011 16:06:06 +0000 (17:06 +0100)]
Cleanup the #ifdef mess.

13 years agoMake sure we scan all gregs on x86
Rodrigo Kumpera [Thu, 3 Mar 2011 16:01:12 +0000 (17:01 +0100)]
Make sure we scan all gregs on x86

13 years agoDisable testbundle for powerpc too.
Zoltan Varga [Thu, 3 Mar 2011 15:35:12 +0000 (16:35 +0100)]
Disable testbundle for powerpc too.

13 years agoImplement accessibility check for protected members via type parameter qualifier
Marek Safar [Thu, 3 Mar 2011 14:17:38 +0000 (14:17 +0000)]
Implement accessibility check for protected members via type parameter qualifier

13 years agoImport base interfaces using full hierarchy to work with output produced by some...
Marek Safar [Thu, 3 Mar 2011 12:18:59 +0000 (12:18 +0000)]
Import base interfaces using full hierarchy to work with output produced by some odd compilers

13 years agoUpdate to the latest IKVM
Marek Safar [Thu, 3 Mar 2011 10:32:32 +0000 (10:32 +0000)]
Update to the latest IKVM

13 years agoResurrect THREAD_DEBUG.
Zoltan Varga [Thu, 3 Mar 2011 10:29:35 +0000 (11:29 +0100)]
Resurrect THREAD_DEBUG.

13 years agoChange an #ifdef DEBUG to THREAD_DEBUG(). Fixes #676615.
Zoltan Varga [Thu, 3 Mar 2011 10:24:42 +0000 (11:24 +0100)]
Change an #ifdef DEBUG to THREAD_DEBUG(). Fixes #676615.

13 years ago[676476] Make UTF8 default encoding on all platforms
Marek Safar [Thu, 3 Mar 2011 10:10:27 +0000 (10:10 +0000)]
[676476] Make UTF8 default encoding on all platforms

13 years agoSimplify constant expression by removing Resolve phase
Marek Safar [Thu, 3 Mar 2011 08:11:41 +0000 (08:11 +0000)]
Simplify constant expression by removing Resolve phase

13 years agoWiring of BuildinType
Marek Safar [Wed, 2 Mar 2011 15:39:11 +0000 (15:39 +0000)]
Wiring of BuildinType

13 years agoFix linux build
Rodrigo Kumpera [Wed, 2 Mar 2011 19:45:07 +0000 (19:45 +0000)]
Fix linux build

13 years agoFix non x86 builds
Rodrigo Kumpera [Wed, 2 Mar 2011 18:11:57 +0000 (19:11 +0100)]
Fix non x86 builds

13 years agoUse mono-context machinery for x86.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:25:34 +0000 (18:25 +0100)]
Use mono-context machinery for x86.

* sgen-archdep.h: Use mono-context for x86.

* sgen-gc.c: Guard all uses of stopped_regs with
USE_MONO_CTX. The ifdef abuse is intentional to make
it easy to review it since this is temporary until
we move all other archs.

13 years agoUse new mono-context.h for x86.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:24:55 +0000 (18:24 +0100)]
Use new mono-context.h for x86.

* exceptions-x86.c: Use code from utils/mono-context.

13 years agoInitial implementation of mono-context.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:22:25 +0000 (18:22 +0100)]
Initial implementation of mono-context.

* mono-context.c: New file to represent platform independent
machine state. It basically moves MonoContext and associated
macros/functions from mini to utils.

13 years agoMove mgreg_t to utils.
Rodrigo Kumpera [Wed, 2 Mar 2011 17:19:51 +0000 (18:19 +0100)]
Move mgreg_t to utils.

* mini.h: Move mgreg_t to utils/mono-machine.h.

13 years agoReset iid of unloaded generic interfaces correctly.
Rodrigo Kumpera [Wed, 2 Mar 2011 14:09:27 +0000 (15:09 +0100)]
Reset iid of unloaded generic interfaces correctly.

* class.c (mono_get_unique_iid): Don't store
the iid of generic instances on their GTD image
since they can be unloaded before.

* metadata.c (free_generic_class): Reset the iid
used by interfaces.

13 years agoRemove wrong overrides in RequestChannelBase in discovery.
Atsushi Eno [Wed, 2 Mar 2011 11:28:22 +0000 (20:28 +0900)]
Remove wrong overrides in RequestChannelBase in discovery.

13 years agoWhen checking protected access via qualifier ignore internal modifier for external...
Marek Safar [Wed, 2 Mar 2011 11:25:15 +0000 (11:25 +0000)]
When checking protected access via qualifier ignore internal modifier for external references

13 years agoWiring of BuildinType
Marek Safar [Wed, 2 Mar 2011 10:38:01 +0000 (10:38 +0000)]
Wiring of BuildinType

13 years agoUse correct location for string literals
Marek Safar [Wed, 2 Mar 2011 10:35:54 +0000 (10:35 +0000)]
Use correct location for string literals

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 19:31:54 +0000 (19:31 +0000)]
Wiring of BuildinType

13 years agoHandle System.Void using special member kind
Marek Safar [Tue, 1 Mar 2011 17:46:48 +0000 (17:46 +0000)]
Handle System.Void using special member kind

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 15:08:04 +0000 (15:08 +0000)]
Wiring of BuildinType

13 years agoFix llvm+aot support.
Zoltan Varga [Wed, 2 Mar 2011 10:58:35 +0000 (11:58 +0100)]
Fix llvm+aot support.

13 years agoUpdate to the latest version of the LLVM mono branch.
Zoltan Varga [Wed, 2 Mar 2011 10:53:03 +0000 (11:53 +0100)]
Update to the latest version of the LLVM mono branch.

13 years agoSmall cleanups to the last sdb changes.
Zoltan Varga [Wed, 2 Mar 2011 01:24:30 +0000 (02:24 +0100)]
Small cleanups to the last sdb changes.

13 years agoImplement better semantics for unverifiable code.
Rodrigo Kumpera [Tue, 1 Mar 2011 22:50:20 +0000 (23:50 +0100)]
Implement better semantics for unverifiable code.

* verify.c (mono_method_verify_with_current_settings): Add
extra param telling if the method should be treated as fulltrust
regardless of verifier settings.

The only implication of this is that fulltrust verification
can't stop on the first unverifiable error like verifiable
code can. This only impact unverifiable methods running
on non standard verification setups.

* mini.c (mini_method_verify): If the verifier is enabled
and the method belongs to an assembly with a valid skip
verification token (the UnverifiableCodeAttribute cattr)
the code will be checked now for errors instead of simply
been ignored.

This patch gives --verify-all much more saner behavior
for assemblies with unsafe code.

Fixes #676054

13 years agoThread id fixes for event processing.
Zoltan Varga [Mon, 28 Feb 2011 15:06:44 +0000 (16:06 +0100)]
Thread id fixes for event processing.

13 years agoThrow exception on disconnect.
Zoltan Varga [Mon, 28 Feb 2011 15:05:59 +0000 (16:05 +0100)]
Throw exception on disconnect.

13 years ago[Cleanup] Remove windows-specific shutdown hackaround.
Levi Bard [Thu, 24 Feb 2011 10:15:45 +0000 (11:15 +0100)]
[Cleanup] Remove windows-specific shutdown hackaround.

 * debugger-agent.c: Remove windows-specific shutdown hackaround.

License: MIT/X11

13 years ago[Cleanup] Don't force unrequested events to be sent.
Levi Bard [Thu, 24 Feb 2011 10:13:44 +0000 (11:13 +0100)]
[Cleanup] Don't force unrequested events to be sent.

 * debugger-agent.c: Don't force unrequested events to be sent.

License: MIT/X11

13 years ago[Debugger] Track loaded classes on a per-domain basis.
Levi Bard [Wed, 23 Feb 2011 18:38:21 +0000 (19:38 +0100)]
[Debugger] Track loaded classes on a per-domain basis.

 * debugger-agent.c: Move loaded-classes to AgentDomainInfo

License: MIT/X11

13 years ago[Cleanup] Remove comment about now-fixed bug.
Levi Bard [Wed, 23 Feb 2011 17:32:47 +0000 (18:32 +0100)]
[Cleanup] Remove comment about now-fixed bug.

 * debugger-agent.c: Remove comment about now-fixed bug.

License: MIT/X11

13 years ago[Cleanup] Classlibs cleanup per vargaz comment.
Levi Bard [Wed, 23 Feb 2011 16:36:57 +0000 (17:36 +0100)]
[Cleanup] Classlibs cleanup per vargaz comment.

 * Mono.Debugger.Soft/VirtualMachine.cs: Cleanup per vargaz comment.

License: MIT/X11

13 years ago[Cleanup] Cleanup per vargaz comments.
Levi Bard [Tue, 22 Feb 2011 15:19:49 +0000 (16:19 +0100)]
[Cleanup] Cleanup per vargaz comments.

 * debugger-agent.c: Cleanup per vargaz comments.

License: MIT/X11

13 years ago[Debugger] Implement deferred attaching for sdb.
Levi Bard [Fri, 4 Feb 2011 17:24:30 +0000 (18:24 +0100)]
[Debugger] Implement deferred attaching for sdb.
License: MIT/X11

Squashed commit of the following:

commit 5e960e4812b492a511871694a2e77e8db88b2260
Author: Levi Bard <levi@unity3d.com>
Date:   Fri Feb 4 12:50:44 2011 +0100

    Add information about suspend suboption to mono man page.

     * mono.1: Add information about suspend suboption.

    License: MIT/X11

commit ee859cf9a82b53aeacf5e4b8ca01bf753e25af69
Author: Levi Bard <levi@unity3d.com>
Date:   Tue Feb 1 13:47:01 2011 +0100

    [Debugger] Conform to java debugger command line options.

     * debugger-agent.c: Replace defer=y with server=y,suspend=n.

    License: MIT/X11

commit 1256b48d5b03f0bb7c1742ffa2efa937ec6921c7
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Jan 31 16:16:09 2011 +0100

    Revert changelog mangling.

commit c86d8718a15afe07aa48a70906af19926b43e277
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Jan 31 15:42:42 2011 +0100

    [Debugger] Fix build.

     * debugger-agent.c: Fix build.

    License: MIT/X11

commit 08c96e1088e01a13657f9c226fa86441ccf225ea
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Jan 13 16:34:50 2011 +0100

    [Debugger] Allow runtime to survive not being able to listen for attachments.

     * debugger-agent.c: Allow runtime to survive not being able to listen for attachments.

    License: MIT/X11

commit 4afa67dc14c360afe6a04761e05a3b081b5b4c29
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Jan 13 09:46:24 2011 +0100

    [SDB] Unregress non-windows runtime shutdown.

     * debugger-agent.c: Unregress non-windows runtime shutdown.

    License: MIT/X11

commit 6c37f95fab689462e573d0c5ff088ed3141e210b
Author: Tak <levi@unity3d.com>
Date:   Wed Jan 12 13:54:11 2011 +0100

    [SDB] Fix race-to-crash on runtime shutdown.

     * debugger-agent.c: Fix race-to-crash on runtime shutdown.

    License: MIT/X11

commit 4941e44c76b98ffa1d08c0b2ba70aa48ba23d6df
Author: Tak <levi@unity3d.com>
Date:   Wed Dec 15 14:44:58 2010 +0100

    Fix shutdown crashes on windows.

commit 6949582e6630dc9274da9bf555e29251b9699a57
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Dec 13 18:34:23 2010 +0100

    [Debugger] Remove unused type load pending - all loaded types are resent on
    attach.

    * mono/mini/debugger-agent.c: Remove unused type load pending.

    License: MIT/X11

commit 423ed88cfbb8a09ab1f3913b50248f5e553ac8f1
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Dec 13 13:45:48 2010 +0100

    [Debugger] Remove thread start assert that's now nonsensical.

     * mono/mini/debugger-agent.c: Remove thread start
       assert that's now nonsensical.

    License: MIT/X11

commit c556b0073f27b74c11019524e780920911dbacc2
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 24 15:06:03 2010 +0100

    [Debugger] Listen on any address when deferring.

     * mini/debugger-agent.c: Listen on any address when deferring.

    License: MIT/X11

commit 4dfe4e99c2ed0e837ffde8b0838f4beec21c8861
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Nov 22 17:08:58 2010 +0100

    [Debugger] Autogenerate default port based on PID.

     * mini/debugger-agent.c: Autogenerate default port based on PID.

    License: MIT/X11

commit 33b21e89b41c5868aa8d7e86510769cd0155c017
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Nov 22 15:40:09 2010 +0100

    [Debugger] Reset pre-attach state on detach.

     * mini/debugger-agent.c: Reset pre-attach state on detach.

    License: MIT/X11

commit 11a909ca84e208775b3ef995735784e8256164f9
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:52:24 2010 +0100

    Undo erroneous changelog modification.

commit d4cab97de93cfa05cfc01ff368655b16f28ca799
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:34:36 2010 +0100

    [Debugger] Don't pend assembly loads while waiting for attach.

    * mini/debugger-agent.c: Don't pend assembly loads
      while waiting for attach.

    License: MIT/X11

commit 530b82b5e29300bfed7810ad7a2a4c5dc2a8afe0
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:33:24 2010 +0100

    [Debugger] Cleanup event processing while attaching.

    * mini/debugger-agent.c: Cleanup event processing
      while attaching.

    License: MIT/X11

commit 91a417067d8d4576d842cf3feeaf27952c4a179b
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:32:09 2010 +0100

    [Debugger] Cleanup state transmission on attach.

    * mini/debugger-agent.c: Cleanup state transmission
      on attach.

    License: MIT/X11

commit 629a10e783448a34b3ec3c30d12b16ee93ace0c6
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:29:49 2010 +0100

    [Debugger] Add functions for emitting thread start.

    * mini/debugger-agent.c: Add functions for emitting
      thread start.

    License: MIT/X11

commit 6194d7d359e1210e44e0b612197209a45f3d83d9
Author: Levi Bard <levi@unity3d.com>
Date:   Thu Nov 18 09:27:49 2010 +0100

    [Debugger] Appdomain unload fixes.

    * mini/debugger-agent.c: Clear pending typeloads
      when unloading, remove appdomain from table
      earlier, take loader lock.

    License: MIT/X11

commit bb746b75700b8de6a55bc52dd366ab9616d8af21
Author: Levi Bard <levi@unity3d.com>
Date:   Mon Nov 8 12:14:29 2010 +0100

    [Debugger] Cleanup debug output.

    * mini/debugger-agent.c: Cleanup debug output.

    License: MIT/X11

commit 84f4deb1b167b2ae6d9af423de0f9048e998c9ed
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 3 17:18:25 2010 +0100

    [SDB] Allow VM disconnection without forcing the VM to exit.

    * Mono.Debugger.Soft/Connection.cs: Allow connection close without forcing the VM to exit.
    * Mono.Debugger.Soft/VirtualMachine.cs: Allow VM disconnection without forcing the VM to exit.

    License: MIT/X11

commit 0bafdbd73394403908cd3ec4a5d130bd704bd162
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 3 17:09:34 2010 +0100

    [Debugger] Ensure that client listener doesn't block VM exit.

    * mini/debugger-agent.c: Ensure that client listener doesn't block VM exit.

    License: MIT/X11

commit b45c56fcb699e8fd69feea8190aaf4ccfd5cc71d
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 3 17:08:04 2010 +0100

    [Debugger] Ensure the VM resumes when detaching.

    * mini/debugger-agent.c: Ensure the VM resumes when detaching.

    License: MIT/X11

commit 13aff4a2110aac4a39bc380d2a150a882fe9c837
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 3 17:05:42 2010 +0100

    [Debugger] Don't double-emit assembly nor type load information.

    * mini/debugger-agent.c: Don't double-emit assembly nor type load information.

    License: MIT/X11

commit bcab252c3af0aa18aabc0600ca539307dd036ef4
Author: Levi Bard <levi@unity3d.com>
Date:   Wed Nov 3 10:57:02 2010 +0100

    Initial changes to enable deferred attaching to sdb.

13 years ago[xbuild] Add support for Before/AfterTargets.
Ankit Jain [Tue, 1 Mar 2011 20:46:22 +0000 (02:16 +0530)]
[xbuild] Add support for Before/AfterTargets.

A target 'foo' can have BeforeTargets or AfterTargets attributes,
which list the targets before or after, 'foo' should be run.
This is a 4.0 feature.

* Project.cs (ProcessBeforeAndAfterTargets): New.
* Target.cs: Run the before/after targets in the correct order.

* TargetTest.cs (TestBeforeAndAfterTargets): New.

13 years agoadd xbuild-frameworks to rpm
Andrew Jorgensen [Tue, 1 Mar 2011 16:55:06 +0000 (09:55 -0700)]
add xbuild-frameworks to rpm

13 years agoHandle RVA !=0 & pinvoke or icall.
Rodrigo Kumpera [Tue, 1 Mar 2011 16:34:11 +0000 (17:34 +0100)]
Handle RVA !=0 & pinvoke or icall.

metadata-verify.c (verify_method_table): Handle non
zero RVA with runtime supplied implementations.

Fixes #657985

13 years agoImplemented fast version of ThreadLocal<T>.
Paolo Molaro [Tue, 1 Mar 2011 15:31:02 +0000 (16:31 +0100)]
Implemented fast version of ThreadLocal<T>.

This patchset implements a fast version of ThreadLocal<T> by reusing the code from
the implementation of the ThreadStatic attribute. The tls slots are cleaned up
on Dispose (or Finalize) instead of during appdomain shutdown.
Since C# doesn't allow us to define an icall that returns a T& or a T* type, a JIT
hack is used: every load field address instruction for the tlsdata field in
ThreadLocal<T> is intercepted and trasformed into a tls access by using the tls_offset
field from the same ThreadLocal<T> instance. So, while the C# code looks like
it accesses and changes an instance field, under the hood it will access the tls
storage.
The end result is that this is 5-6 times faster than the previous code, 10-15%
faster than using Thread.GetData () (when used with references).
This implementation also fixes a number of issues with disposing and with
per-thread initializers throwing an exception.

13 years agoUse stdint.h for VS 2010 and later.
Zoltan Varga [Tue, 1 Mar 2011 15:33:08 +0000 (16:33 +0100)]
Use stdint.h for VS 2010 and later.

13 years agoFix test to work reliably under boehm
Rodrigo Kumpera [Tue, 1 Mar 2011 15:05:11 +0000 (16:05 +0100)]
Fix test to work reliably under boehm

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 12:58:14 +0000 (12:58 +0000)]
Wiring of BuildinType

13 years agoSimplify check for out of range comparison
Marek Safar [Tue, 1 Mar 2011 10:30:52 +0000 (10:30 +0000)]
Simplify check for out of range comparison

13 years agodmcs update
Marek Safar [Tue, 1 Mar 2011 09:44:41 +0000 (09:44 +0000)]
dmcs update

13 years ago[xbuild] Fix warnings.
Ankit Jain [Tue, 1 Mar 2011 11:40:19 +0000 (17:10 +0530)]
[xbuild] Fix warnings.

13 years ago[xbuild] Fix assembly name comparison when resolving references.
Ankit Jain [Tue, 1 Mar 2011 11:25:14 +0000 (16:55 +0530)]
[xbuild] Fix assembly name comparison when resolving references.

AssemblyResolver.cs (AssemblyNamesCompatible): If either of the
references don't have a public key token, then ignore that.

13 years ago[xbuild] Vbc task - make error column check a little non-specific.
Ankit Jain [Tue, 1 Mar 2011 11:24:45 +0000 (16:54 +0530)]
[xbuild] Vbc task - make error column check a little non-specific.

13 years ago[xbuild] Exec task - add support for custom error/warning regex.
Ankit Jain [Tue, 1 Mar 2011 11:23:28 +0000 (16:53 +0530)]
[xbuild] Exec task - add support for custom error/warning regex.

Add 4.0 api, CustomErrorRegularExpression and
CustomWarningRegularExpression.

13 years agoTest update
Marek Safar [Tue, 1 Mar 2011 08:57:53 +0000 (08:57 +0000)]
Test update

13 years ago[675777] Remove invalid zero based optimization
Marek Safar [Tue, 1 Mar 2011 08:51:00 +0000 (08:51 +0000)]
[675777] Remove invalid zero based optimization

13 years agoWiring of BuildinType
Marek Safar [Tue, 1 Mar 2011 08:40:19 +0000 (08:40 +0000)]
Wiring of BuildinType

13 years agoDon't forget to use DESTDIR
Andrew Jorgensen [Tue, 1 Mar 2011 00:18:20 +0000 (17:18 -0700)]
Don't forget to use DESTDIR

13 years agoHandle demormalized object and string types.
Rodrigo Kumpera [Mon, 28 Feb 2011 20:48:11 +0000 (21:48 +0100)]
Handle demormalized object and string types.

* metadata.c (do_mono_metadata_parse_type): NET 1.1
assemblies can have string and object encoded in a denormalized
way.

Fixes #675464.

13 years agoAdd ARM linux cross compile targets.
Zoltan Varga [Mon, 28 Feb 2011 19:16:11 +0000 (20:16 +0100)]
Add ARM linux cross compile targets.

13 years agoDelete an unused define.
Zoltan Varga [Mon, 28 Feb 2011 11:50:49 +0000 (12:50 +0100)]
Delete an unused define.

13 years agoCheck for override visibility in another place.
Rodrigo Kumpera [Mon, 28 Feb 2011 18:39:24 +0000 (19:39 +0100)]
Check for override visibility in another place.

* class.c (check_interface_method_override): Check
here for visibility too.

13 years agoAdd hack for wcf around the fix for #609813
Rodrigo Kumpera [Mon, 28 Feb 2011 18:10:34 +0000 (19:10 +0100)]
Add hack for wcf around the fix for #609813

13 years ago[502582] Use correct type for temporary indirection local variable
Marek Safar [Mon, 28 Feb 2011 14:26:11 +0000 (14:26 +0000)]
[502582] Use correct type for temporary indirection local variable

13 years agoAdd regression test for #674120
Rodrigo Kumpera [Mon, 28 Feb 2011 13:55:05 +0000 (14:55 +0100)]
Add regression test for #674120

13 years agoHandle CompareTo(long) and huge numbers.
Rodrigo Kumpera [Mon, 28 Feb 2011 13:53:42 +0000 (14:53 +0100)]
Handle CompareTo(long) and huge numbers.

* BigInteger.cs (CompareTo): Handle numbers
larger than 64bits.

Fixes #674120

13 years ago[674963] Don't re-emit already closed repl types
Marek Safar [Mon, 28 Feb 2011 12:32:07 +0000 (12:32 +0000)]
[674963] Don't re-emit already closed repl types

13 years ago[xbuild] ToolTask - make error column check a little non-specific.
Ankit Jain [Mon, 28 Feb 2011 10:57:43 +0000 (16:27 +0530)]
[xbuild] ToolTask - make error column check a little non-specific.

13 years ago[xbuild] Make Engine.DefaultToolsVersion 2.0 .
Ankit Jain [Mon, 28 Feb 2011 10:51:18 +0000 (16:21 +0530)]
[xbuild] Make Engine.DefaultToolsVersion 2.0 .

Engine.DefaultToolsVersion is used when a project is unable
to determine a suitable ToolsVersion to use. Change this fallback
version to 2.0 . This allows vs2005 (.net 2.0) projects which
don't have ToolsVersion explicitly set, to build. Newer projects
set ToolsVersion by default.

13 years ago[xbuild] ResolveAssemblyReference - log task parameters
Ankit Jain [Mon, 28 Feb 2011 09:21:30 +0000 (14:51 +0530)]
[xbuild] ResolveAssemblyReference - log task parameters

13 years ago[xbuild] ResolveAssemblyReference - add missing api.
Ankit Jain [Mon, 28 Feb 2011 09:20:53 +0000 (14:50 +0530)]
[xbuild] ResolveAssemblyReference - add missing api.

13 years ago[xbuild] GetReferenceAssemblyPaths - add missing license header.
Ankit Jain [Sun, 27 Feb 2011 21:43:23 +0000 (03:13 +0530)]
[xbuild] GetReferenceAssemblyPaths - add missing license header.

13 years ago[xbuild] Add support for multi-targeting arbitrary frameworks.
Ankit Jain [Sun, 27 Feb 2011 21:27:17 +0000 (02:57 +0530)]
[xbuild] Add support for multi-targeting arbitrary frameworks.

ToolsVersion 4.0 supports targeting arbitrary frameworks defined
by FrameworkList.xml files and referenced by $(TargetFrameworkMoniker),
which is of the format:
 Identifier,Version=<version>[,Profile=<profile>]

built as:
 $(TargetFrameworkIdentifier),Version=$(TargetFrameworkVersion)[,Profile=$(TargetFrameworkProfile)]

eg. '.NETFramework,Version=v4.0' .

Frameworks are searched for in (order):

  1. Paths specified in the environment variable $XBUILD_FRAMEWORK_FOLDERS_PATH
  2. /Library/Frameworks/Mono.framework/External/xbuild-frameworks on Mac OSX.
  3. MSBuild property $(TargetFrameworkRoot)
  4. $prefix/lib/mono/xbuild-frameworks (default location)

.NET frameworks 2.0/3.0/3.5/4.0 have corresponding FrameworkList.xml
files now, which allows projects to target them. Custom frameworks like
MonoDroid can install suitable FrameworkList.xml files, and projects
can target them using the correct $(TargetFrameworkIdentifier) and
$(TargetFrameworkVersion).

Update man page.

13 years ago[xbuild] ToolTask - add missing api
Ankit Jain [Sun, 27 Feb 2011 19:11:07 +0000 (00:41 +0530)]
[xbuild] ToolTask - add missing api

* Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs
(GetProcessStartInfo): Add missing api. This allows more control
over the execution of the tool.

13 years ago[xbuild] Add missing property to Error/Warning tasks.
Ankit Jain [Sun, 27 Feb 2011 19:09:55 +0000 (00:39 +0530)]
[xbuild] Add missing property to Error/Warning tasks.

13 years ago[xbuild] Add $(MSBuildToolsRoot) reserved property.
Ankit Jain [Sun, 27 Feb 2011 19:04:44 +0000 (00:34 +0530)]
[xbuild] Add $(MSBuildToolsRoot) reserved property.

13 years ago[xbuild] Remove property if Output TaskParameter is null.
Ankit Jain [Sun, 27 Feb 2011 19:02:50 +0000 (00:32 +0530)]
[xbuild] Remove property if Output TaskParameter is null.

If the TaskParameter for Output of a task is null, then remove
the corresponding property.
Add relevant test.

13 years ago[threadpool] Fix typo in threadpool thread names.
Bojan Rajkovic [Sun, 27 Feb 2011 18:27:53 +0000 (13:27 -0500)]
[threadpool] Fix typo in threadpool thread names.

13 years agoCleanup unneeded code and definitions. Add MIT/X11 license header to file. Code submi...
joncham [Sat, 26 Feb 2011 16:07:30 +0000 (11:07 -0500)]
Cleanup unneeded code and definitions. Add MIT/X11 license header to file. Code submitted under MIT/X11 license.

13 years ago[sgen] Internal alloc debugging.
Mark Probst [Thu, 24 Feb 2011 19:30:27 +0000 (20:30 +0100)]
[sgen] Internal alloc debugging.

If enabled, checks that internal allocations are only
made from the threads that are supposed to use a particular
allocator.

13 years ago[sgen] Separate internal allocator for the distribute gray queue.
Mark Probst [Sat, 26 Feb 2011 01:00:49 +0000 (02:00 +0100)]
[sgen] Separate internal allocator for the distribute gray queue.

The internal allocator is not thread safe, so we have separate
allocators for each worker thread to allocate gray queue sections
from.  We didn't have this for the main thread, however.

13 years agoCache the result of the pthread_specific disassembly when checking for fast tls on...
Geoff Norton [Fri, 25 Feb 2011 21:41:59 +0000 (16:41 -0500)]
Cache the result of the pthread_specific disassembly when checking for fast tls on darwin

13 years agoFix configure check for darwin to support all variants
Geoff Norton [Fri, 25 Feb 2011 20:28:50 +0000 (15:28 -0500)]
Fix configure check for darwin to support all variants

13 years agoImplement TLS_GET for amd64-darwin
Geoff Norton [Fri, 25 Feb 2011 20:27:23 +0000 (15:27 -0500)]
Implement TLS_GET for amd64-darwin

13 years ago[471275] Fix handling of ulong switch statement and speedup resolve of switch signifi...
Marek Safar [Fri, 25 Feb 2011 20:16:21 +0000 (20:16 +0000)]
[471275] Fix handling of ulong switch statement and speedup resolve of switch significantly

13 years agoFix the mobile build
Geoff Norton [Fri, 25 Feb 2011 16:41:10 +0000 (11:41 -0500)]
Fix the mobile build

13 years ago[asp.net] Fix for bug #671753. Route.GetVirtualPath must take ambient values into...
Marek Habersack [Thu, 24 Feb 2011 22:24:01 +0000 (23:24 +0100)]
[asp.net] Fix for bug #671753. Route.GetVirtualPath must take ambient values into account.

13 years agoadded units tests for TextReader ReadLine() and ReadToEnd()
Steve Bjorg [Fri, 25 Feb 2011 05:37:46 +0000 (21:37 -0800)]
added units tests for TextReader ReadLine() and ReadToEnd()

13 years agoTextReader.Null should return "" on ReadToEnd()
Steve Bjorg [Fri, 25 Feb 2011 05:21:11 +0000 (21:21 -0800)]
TextReader.Null should return "" on ReadToEnd()

13 years agoFix build
Miguel de Icaza [Fri, 25 Feb 2011 06:49:02 +0000 (01:49 -0500)]
Fix build

13 years ago[TerminfoDriver] be more tolerant to failures, and fallback gracefully, instead of...
Miguel de Icaza [Fri, 25 Feb 2011 04:59:53 +0000 (23:59 -0500)]
[TerminfoDriver] be more tolerant to failures, and fallback gracefully, instead of aborting

13 years agoDo not throw exceptions, instead return a sensible value, fixes 656468
Miguel de Icaza [Fri, 25 Feb 2011 04:36:07 +0000 (23:36 -0500)]
Do not throw exceptions, instead return a sensible value, fixes 656468

13 years agoBug fix, on EOF, return null from ReadLine
Miguel de Icaza [Fri, 25 Feb 2011 04:14:56 +0000 (23:14 -0500)]
Bug fix, on EOF, return null from ReadLine

13 years agoFix 2.0 test build (disable it).
Atsushi Eno [Fri, 25 Feb 2011 03:35:47 +0000 (12:35 +0900)]
Fix 2.0 test build (disable it).

13 years agoFix previous arm patch.
Zoltan Varga [Fri, 25 Feb 2011 02:19:42 +0000 (03:19 +0100)]
Fix previous arm patch.

13 years agoExtract a macro to loop over all threads.
Rodrigo Kumpera [Thu, 24 Feb 2011 22:18:37 +0000 (23:18 +0100)]
Extract a macro to loop over all threads.

* sgen-gc.h: Add (END_)FOREACH_THREAD macro pair
to loop around threads. This simplify the code
and will make it easier to refactor it.