mono.git
13 years agoMerge branch 'master' of github.com:mono/mono
Neale Ferguson [Mon, 14 Feb 2011 14:31:38 +0000 (09:31 -0500)]
Merge branch 'master' of github.com:mono/mono

13 years agoAdd unwind support to s390x and fix stack unwinding so that exception17 now passes
Neale Ferguson [Mon, 14 Feb 2011 14:31:00 +0000 (09:31 -0500)]
Add unwind support to s390x and fix stack unwinding so that exception17 now passes

13 years agoNew test
Marek Safar [Mon, 14 Feb 2011 13:15:59 +0000 (13:15 +0000)]
New test

13 years ago[671552] Use correct emit method for stobj type
Marek Safar [Mon, 14 Feb 2011 12:42:22 +0000 (12:42 +0000)]
[671552] Use correct emit method for stobj type

13 years agoDo not build in parallel
Miguel de Icaza [Mon, 14 Feb 2011 13:17:25 +0000 (08:17 -0500)]
Do not build in parallel

13 years agoUpdate to the latest IKVM
Marek Safar [Mon, 14 Feb 2011 12:18:58 +0000 (12:18 +0000)]
Update to the latest IKVM

13 years agoComment out test that does not work on linux.
Gonzalo Paniagua Javier [Mon, 14 Feb 2011 00:51:23 +0000 (19:51 -0500)]
Comment out test that does not work on linux.

13 years ago[HttpWebRequest] Use the timeout in GetResponse()
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 20:01:29 +0000 (15:01 -0500)]
[HttpWebRequest] Use the timeout in GetResponse()

The timeout was not being used in GetResponse.
Fixes bug #603794.

13 years ago[HttpWebRequest] Avoid nullref on empty cookie header.
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 19:53:08 +0000 (14:53 -0500)]
[HttpWebRequest] Avoid nullref on empty cookie header.

If the Set-Cookie header is empty, the cookie instance is not created.
Fixes bug #670189.

13 years agoDon't assert on broken DM names.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:52:02 +0000 (19:52 +0100)]
Don't assert on broken DM names.

* reflection.c (reflection_methodbuilder_to_mono_method):
Avoid asserting if the method name has invalid surrogates.

Fixes #643372.

13 years agoAdd bad string resistent utf16-utf8 conversions.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:50:28 +0000 (19:50 +0100)]
Add bad string resistent utf16-utf8 conversions.

* object.c: Add _ignore versions of the mono_string_to_utf8
family of functions that work with broken strings by
encoding them on a best effort basis.

13 years agoAvoid an infinite loop on broken utf16.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:48:01 +0000 (19:48 +0100)]
Avoid an infinite loop on broken utf16.

* gutf8.c (g_utf16_to_utf8): Increase the input counter
when encountering broken surrogates head or tails to
make sure we don't end in an infinite loop.

13 years agoMake Int32.Parse respect current culture.
Rodrigo Kumpera [Sun, 13 Feb 2011 18:33:35 +0000 (19:33 +0100)]
Make Int32.Parse respect current culture.

* Int32.cs (Parse): Repect current culture for
positive and negative signs.

Fixes #586085

13 years agoFix sizeof(T) in non-gshared code. Fixes #580189.
Alexandre Mutel [Sun, 13 Feb 2011 15:14:55 +0000 (16:14 +0100)]
Fix sizeof(T) in non-gshared code. Fixes #580189.

13 years agoMerge branch 'bugfix-main-thread-root'
Mark Probst [Sun, 13 Feb 2011 15:10:10 +0000 (16:10 +0100)]
Merge branch 'bugfix-main-thread-root'

13 years agoAdd an assembly version to Mono.Debugger.Soft. Fixes #671536.
Zoltan Varga [Sun, 13 Feb 2011 15:03:54 +0000 (16:03 +0100)]
Add an assembly version to Mono.Debugger.Soft. Fixes #671536.

13 years ago[sgen] Register the main_thread as a GC root. Fixes shutdown crashes.
Mark Probst [Sun, 13 Feb 2011 14:47:50 +0000 (15:47 +0100)]
[sgen] Register the main_thread as a GC root.  Fixes shutdown crashes.

13 years ago[HttpListener] Small improvements
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 13:13:13 +0000 (08:13 -0500)]
[HttpListener] Small improvements

Less allocations in managed and unmanaged code.

13 years ago[HttpListenre] Avoid multiple calls to Close()
Gonzalo Paniagua Javier [Sun, 13 Feb 2011 12:06:55 +0000 (07:06 -0500)]
[HttpListenre] Avoid multiple calls to Close()

HttpListenerResponse could be calling HttpConnection.Close() more than
once.

13 years agoFix reading of cattr arguments of type Type[]. Fixes #670331.
Zoltan Varga [Sun, 13 Feb 2011 03:23:20 +0000 (04:23 +0100)]
Fix reading of cattr arguments of type Type[]. Fixes #670331.

13 years agoAdd solution files
Miguel de Icaza [Sun, 13 Feb 2011 03:09:49 +0000 (22:09 -0500)]
Add solution files

13 years agoVarious updates
Miguel de Icaza [Sun, 13 Feb 2011 03:07:05 +0000 (22:07 -0500)]
Various updates

13 years agoPass warnings
Miguel de Icaza [Sat, 12 Feb 2011 21:30:18 +0000 (16:30 -0500)]
Pass warnings

13 years agoVisual Studio build support: updated the scripts that generate csproj files.
Miguel de Icaza [Sat, 12 Feb 2011 06:31:20 +0000 (01:31 -0500)]
Visual Studio build support: updated the scripts that generate csproj files.

With the new C# compiler, the build complexity is vastly reduced, the new setup
is able to produce many of the csproj files.

The next step is to generate a couple of solutions:

* BootstrapSolution: to build the basic assemblies used to
  build the rest of Mono from a set of basic assemblies.

  This should be run to prepare a tree.

* 2.0 solution: builds the various 2.0 libraries and executables

* 4.0 solution: builds the various 4.0 libraries and executables

Installation: where should the resulting assemblies go once they are built?

Where should the assemblies go after the build is complete?

How do we turn a build into an redistributable package?

13 years ago[gzip] Allow partial flush
Gonzalo Paniagua Javier [Sat, 12 Feb 2011 05:03:33 +0000 (00:03 -0500)]
[gzip] Allow partial flush

When Flush() is called explicitly, do a Z_PARTIAL_FLUSH to force gzip
into giving us whatever is available. Less efficient, but compatible
with MS.

13 years agoUpdate the csproj generator targets
Miguel de Icaza [Fri, 11 Feb 2011 23:47:49 +0000 (18:47 -0500)]
Update the csproj generator targets

13 years ago[Socket] Fix invalid cast
Gonzalo Paniagua Javier [Fri, 11 Feb 2011 23:35:29 +0000 (18:35 -0500)]
[Socket] Fix invalid cast

Fix invalid cast when canceling pending operations due to socket.Close.

13 years agoTabControlPainter.cs: Move up the Text / Image of the selected tab, matching .NET.
Thomas Goldstein [Fri, 11 Feb 2011 23:12:54 +0000 (00:12 +0100)]
TabControlPainter.cs: Move up the Text / Image of the selected tab, matching .NET.

13 years agoTabControlPainter.cs: Horizontally center Text and Image when SizeMode = Fixed.
Thomas Goldstein [Fri, 11 Feb 2011 23:08:01 +0000 (00:08 +0100)]
TabControlPainter.cs: Horizontally center Text and Image when SizeMode = Fixed.

13 years agoFix token generation for TypeBuilder's in another assembly. Fixes #671245.
Zoltan Varga [Fri, 11 Feb 2011 23:14:44 +0000 (00:14 +0100)]
Fix token generation for TypeBuilder's in another assembly. Fixes #671245.

13 years ago[fix] changing Form.Enabled sometimes can change the list of OpenForms, fixes 671098
Miguel de Icaza [Fri, 11 Feb 2011 22:34:23 +0000 (17:34 -0500)]
[fix] changing Form.Enabled sometimes can change the list of OpenForms, fixes 671098

13 years agoCheck filename of assemblies before installing with gacutil.
Andrius Bentkus [Sat, 29 Jan 2011 15:35:46 +0000 (16:35 +0100)]
Check filename of assemblies before installing with gacutil.

gacutil just used the filename (which can be different compared to
the assembly name) in order to install assemblies, though afterwards
entirely relied on the filename to be equal to the assembly name.
In other words, installing assemblies where the filename differed
from the assembly name resulted in an incorrect install: the
files were not visible in the GAC.

Example: gacutil -i mysql.data.dll
Wouldn't return any errors, but the assembly (which is called MySql.Data)
still couldn't be reached.

This patch will check for filename compliance and return an error
if it does not comply, which will look like this:
Failure adding assembly v4/mysql.data.dll to the cache: the filename "mysql.data.dll" doesn't match the assembly name "MySql.Data"

A warning is not sufficient, since it will be impossible to remove
the installed junk with gacutil.

13 years agoAdd Mono.XBuild.Utilities/MSBuildUtils.cs to the build.
Zoltan Varga [Fri, 11 Feb 2011 20:57:25 +0000 (21:57 +0100)]
Add Mono.XBuild.Utilities/MSBuildUtils.cs to the build.

13 years agoPretty print MonoString* too in xdb.
Zoltan Varga [Fri, 11 Feb 2011 20:48:42 +0000 (21:48 +0100)]
Pretty print MonoString* too in xdb.

13 years agoContinue X509Chain processing even if the local machine directory does not exists
Sebastien Pouliot [Fri, 11 Feb 2011 18:10:21 +0000 (13:10 -0500)]
Continue X509Chain processing even if the local machine directory does not exists

* corlib/Mono.Security.X509/X509Store.cs:
* Mono.Security/Mono.Security.X509/X509Store.cs:
Fix key pair persistence to load key pairs from the same location
(machine or user) as the requested certificate. This avoids an
internal exception (on missing local machine directory) that stop
the evaluation of the certificate validity (i.e. no user store
check)
* System/System.Security.Cryptography.X509Certificates/X509Chain.cs:
Ensure that a missing local machine directory does not result in a NRE
while loading CRL (which would fail the certificate being validated)

13 years agoEarlier undefine HAVE_GETPROCESSID when cross compiling
Hib Eris [Wed, 9 Feb 2011 15:58:09 +0000 (16:58 +0100)]
Earlier undefine HAVE_GETPROCESSID when cross compiling

13 years agoAvoid a boehm dependency in driver.c.
Zoltan Varga [Fri, 11 Feb 2011 14:25:09 +0000 (15:25 +0100)]
Avoid a boehm dependency in driver.c.

13 years agoMake maxStackSize behavior compatible with MS.
Rodrigo Kumpera [Fri, 11 Feb 2011 13:51:59 +0000 (14:51 +0100)]
Make maxStackSize behavior compatible with MS.

* Thread.cs (.ctor): Check if maxStackSize is negative
and raise and AOORE. Silently use a saner minimum size
of 128k as mono can't really run with much less than that.

13 years agoFix repl not to accumulate every evaluated expression
Marek Safar [Fri, 11 Feb 2011 12:02:24 +0000 (12:02 +0000)]
Fix repl not to accumulate every evaluated expression

13 years agoMake the wait in the finalizer thread alertable to fix sdb on windows. Fixes #670619.
Zoltan Varga [Fri, 11 Feb 2011 04:50:42 +0000 (05:50 +0100)]
Make the wait in the finalizer thread alertable to fix sdb on windows. Fixes #670619.

13 years agoFix sdb tests on the 4.0 profile.
Zoltan Varga [Fri, 11 Feb 2011 02:37:25 +0000 (03:37 +0100)]
Fix sdb tests on the 4.0 profile.

13 years agoChange some Sleep(0)'s to Sleep(1) in the soft-debugger code to avoid 100% cpu utiliz...
Zoltan Varga [Fri, 11 Feb 2011 00:32:54 +0000 (01:32 +0100)]
Change some Sleep(0)'s to Sleep(1) in the soft-debugger code to avoid 100% cpu utilization on windows.

13 years agoAdd a MONO_ prefix to the PROCESSOR_ARCHITECTURE_ constants to fix the mirriad warnin...
Zoltan Varga [Fri, 11 Feb 2011 00:28:01 +0000 (01:28 +0100)]
Add a MONO_ prefix to the PROCESSOR_ARCHITECTURE_ constants to fix the mirriad warnings on windows.

13 years ago[bugfix: 664695] Calling Dispose on ToolStrip emit events. Doesn't on .NET
Miguel de Icaza [Thu, 10 Feb 2011 23:55:29 +0000 (18:55 -0500)]
[bugfix: 664695] Calling Dispose on ToolStrip emit events. Doesn't on .NET

13 years ago[bugfix: 664695] Calling Dispose on ToolStrip emit events. Doesn't on .NET
Miguel de Icaza [Thu, 10 Feb 2011 23:54:13 +0000 (18:54 -0500)]
[bugfix: 664695] Calling Dispose on ToolStrip emit events. Doesn't on .NET

13 years ago[bugfix: 665233] ToolStrip Menus Keeping Keyboard Capture after hovering over SubMenu
Miguel de Icaza [Thu, 10 Feb 2011 23:53:00 +0000 (18:53 -0500)]
[bugfix: 665233] ToolStrip Menus Keeping Keyboard Capture after hovering over SubMenu

13 years agoMerge branch 'mips-vm-fixes' of https://github.com/ztzg/mono into ztzg-mips-vm-fixes
Zoltan Varga [Thu, 10 Feb 2011 23:34:45 +0000 (00:34 +0100)]
Merge branch 'mips-vm-fixes' of https://github.com/ztzg/mono into ztzg-mips-vm-fixes

13 years agoInclude malloc.h under windows for alloca in glib.h.
Zoltan Varga [Thu, 10 Feb 2011 23:33:19 +0000 (00:33 +0100)]
Include malloc.h under windows for alloca in glib.h.

13 years agoMIPS: Ignore float->int overflow behaviour, as on PPC, ARM, and SPARC
Damien Diederen [Mon, 7 Feb 2011 22:22:40 +0000 (23:22 +0100)]
MIPS: Ignore float->int overflow behaviour, as on PPC, ARM, and SPARC

From the comment:

$TARGET handles overflow by clipping, but this test assumes no overflow
handling.  According to ECMA the result of float->int conversion is undefined
if overflow occurs, so both behaviours are valid.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Do not generate superfluous "load_const" in IMT thunks
Damien Diederen [Mon, 7 Feb 2011 21:56:35 +0000 (22:56 +0100)]
MIPS: Do not generate superfluous "load_const" in IMT thunks

 1. Only three of the four branches need 'load_const's, so let's move
    them down there;

 2. The fourth one already contains its own 'load_const'; the new code
    avoids a duplicate load before each binary search test.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Fix IMT binary search code generation in backend
Damien Diederen [Mon, 7 Feb 2011 21:47:15 +0000 (22:47 +0100)]
MIPS: Fix IMT binary search code generation in backend

Imt_emit_ir, in object.c, generates binary search code for sequences
longer than three elements.  It saves the key of the mid item, then
recursively calls itself on the two halves of the segment:

    item->key = sorted_array [middle]->key;
    ...
    imt_emit_ir (sorted_array, start, middle, out_array);
    item->check_target_idx = imt_emit_ir (sorted_array, middle, end, out_array);

Note how the mid item itself is included in the second half: it is to
be handled as part of that subsequence, whose code starts at index
'check_target_index'.

Given such a piece of binary search IR, the MIPS backend currently
generates:

    load_const (temp, item->key);
    slt (temp, temp, IMT_REG);      ; temp = key < searched_for;
    bne (temp, zero, 0);            ; if (temp) jump_target_index ();

This is broken because no jump happens if (key == searched_for).  The
target method won't be found in the first subtree, so the runtime will
end up jumping to its last method instead of the correct one!

This patch causes the following sequence to be emitted:

    load_const (temp, item->key);
    slt (temp, IMT_REG, temp);      ; temp = searched_for < key;
    beq (temp, zero, 0);            ; if (!temp) jump_target_index ();

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Fix unboxing trampolines for functions returning value types
Damien Diederen [Thu, 3 Feb 2011 20:50:38 +0000 (21:50 +0100)]
MIPS: Fix unboxing trampolines for functions returning value types

Generated methods always place 'this' in a0, but unboxing trampolines
currently bump a1 for functions returning value types (the register
assignments for 'this' and return area pointers probably got swapped
at some point, but the trampoline generator was not updated).

Fix that by always bumping a0.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Use SLTU to implement COND_EXC_LE_UN (Exception when <= unsigned)
Damien Diederen [Wed, 2 Feb 2011 20:13:38 +0000 (21:13 +0100)]
MIPS: Use SLTU to implement COND_EXC_LE_UN (Exception when <= unsigned)

The current code generator uses a SUBU/BLEZ combination, but this
breaks for non-zero-based arrays.  Given a lower bound 'b', length
'l', and an index 'i', Mini generates:

  real_i = i - b;
  COND_EXC_LE_UN(l, real_i);

Without this patch, the backend generates for e.g. b=42, l=1 and i=0:

  SUBU real_i, 0, 42     => -42
  SUBU at, 1, real_i     => 43 (U only means "no trap.")
  BLEZ at, throw         => No throw because at is positive!

This causes the following sequence to be used instead:

  SUBU real_i, 0, 42     => -42
  SLTU at, real_i, 1     => 0 (Unsigned '<'; real_i is a large value)
  BEQ  at, zero, throw   => Throw.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Throw OverflowException if Int32.MinValue is divided by -1
Damien Diederen [Tue, 1 Feb 2011 21:16:59 +0000 (22:16 +0100)]
MIPS: Throw OverflowException if Int32.MinValue is divided by -1

Without this, the code throws the more general ArithmeticException
when the divisor is -1, independently of the dividend.  The check is
necessary because -Int32.MinValue does not fit into a 32-bit two's
complement integer.

Commit contributed under the MIT/X11 license.

13 years agoRemove unused mono_arch_has_unwind_info () function.
Zoltan Varga [Thu, 10 Feb 2011 22:43:04 +0000 (23:43 +0100)]
Remove unused mono_arch_has_unwind_info () function.

13 years ago[HttpWebRequest] Can't ignore erros here
Gonzalo Paniagua Javier [Thu, 10 Feb 2011 22:17:26 +0000 (17:17 -0500)]
[HttpWebRequest] Can't ignore erros here

13 years ago[HttpWebRequest] Error handling for POST/PUT
Gonzalo Paniagua Javier [Thu, 10 Feb 2011 21:57:20 +0000 (16:57 -0500)]
[HttpWebRequest] Error handling for POST/PUT

When we get an error from the server before writing an entire
unbuffered response, the server might close the connection leading to
write errors. Ignore those and return the actual HTTP status code from
the original server error.

13 years ago[xbuild] Update Utilities.FromMSBuildPath from monodevelop.
Ankit Jain [Thu, 10 Feb 2011 20:01:44 +0000 (01:31 +0530)]
[xbuild] Update Utilities.FromMSBuildPath from monodevelop.

Updating FromMSBuildPath also fixes a bug on windows.

* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Utilities.cs:
Move to..
* Microsoft.Build.Utilities/Mono.XBuild.Utilities/MSBuildUtils.cs:
.. this. Also, update FromMSBuildPath from monodevelop.
* Update Engine/* and Tasks/* to track the new api.

13 years agoHandle ConstructorBuilders on other assemblies.
Rodrigo Kumpera [Thu, 10 Feb 2011 20:18:27 +0000 (21:18 +0100)]
Handle ConstructorBuilders on other assemblies.

* reflection.c (mono_image_get_ctorbuilder_token):
Handle non generic CtorBuilder on another assembly.

Fixes #670949

13 years agoRevert "Don't use io layer semaphores for object monitors."
Rodrigo Kumpera [Thu, 10 Feb 2011 20:44:58 +0000 (21:44 +0100)]
Revert "Don't use io layer semaphores for object monitors."

This reverts commit 7d0e224a7a67b32b214e7eadcc2089708bbd3914.

This is causing severe regressions on OSX.

13 years agoDon't use io layer semaphores for object monitors.
Rodrigo Kumpera [Wed, 9 Feb 2011 17:56:38 +0000 (18:56 +0100)]
Don't use io layer semaphores for object monitors.

* monitor.c: Use a system semaphone instead of io-layer
semaphores as it has a much lower overhead.

13 years agoAdd regression test for #668506
Rodrigo Kumpera [Wed, 9 Feb 2011 17:40:19 +0000 (18:40 +0100)]
Add regression test for #668506

13 years agoAnother .net 4 update
Marek Safar [Thu, 10 Feb 2011 19:04:02 +0000 (19:04 +0000)]
Another .net 4 update

13 years agoRemove more csharp2 references
Marek Safar [Thu, 10 Feb 2011 19:03:33 +0000 (19:03 +0000)]
Remove more csharp2 references

13 years agoFix a warning.
Zoltan Varga [Thu, 10 Feb 2011 15:17:44 +0000 (16:17 +0100)]
Fix a warning.

13 years agoMake all evaluator created type public
Marek Safar [Thu, 10 Feb 2011 13:34:39 +0000 (13:34 +0000)]
Make all evaluator created type public

13 years agoAdd mscorlib as mcs aot dependency
Marek Safar [Thu, 10 Feb 2011 12:21:12 +0000 (12:21 +0000)]
Add mscorlib as mcs aot dependency

13 years agoFix a couple of addressing namespace fixes (found in April2005 version).
Atsushi Eno [Thu, 10 Feb 2011 13:06:17 +0000 (22:06 +0900)]
Fix a couple of addressing namespace fixes (found in April2005 version).

13 years agoFix wrong async completion handling in UDP channel receive.
Atsushi Eno [Thu, 10 Feb 2011 12:16:17 +0000 (21:16 +0900)]
Fix wrong async completion handling in UDP channel receive.

After AsyncWaitHandle.Set(), order of filling results and WaitOne() are
undefined.

13 years agoFixes build
Marek Safar [Thu, 10 Feb 2011 09:22:04 +0000 (09:22 +0000)]
Fixes build

13 years agoEnable eval statements
Marek Safar [Thu, 10 Feb 2011 08:58:16 +0000 (08:58 +0000)]
Enable eval statements

13 years agoDrop csharp2
Marek Safar [Thu, 10 Feb 2011 08:53:44 +0000 (08:53 +0000)]
Drop csharp2

13 years agoFix wrong module context
Marek Safar [Wed, 9 Feb 2011 19:18:14 +0000 (19:18 +0000)]
Fix wrong module context

13 years agoCleanup IMemberContext properties
Marek Safar [Wed, 9 Feb 2011 16:02:34 +0000 (16:02 +0000)]
Cleanup IMemberContext properties

13 years agoFix restore typo
Marek Safar [Wed, 9 Feb 2011 14:34:52 +0000 (14:34 +0000)]
Fix restore typo

13 years agoRemove glib libs from the get-cygwin-deps.sh script.
Zoltan Varga [Wed, 9 Feb 2011 23:52:46 +0000 (00:52 +0100)]
Remove glib libs from the get-cygwin-deps.sh script.

13 years agoDo not throw if we get a RunAndCollect
Miguel de Icaza [Wed, 9 Feb 2011 23:33:05 +0000 (18:33 -0500)]
Do not throw if we get a RunAndCollect

13 years agoStyle
Miguel de Icaza [Wed, 9 Feb 2011 23:25:09 +0000 (18:25 -0500)]
Style

13 years agoMove some code into their own methods.
Gonzalo Paniagua Javier [Wed, 9 Feb 2011 23:09:03 +0000 (18:09 -0500)]
Move some code into their own methods.

13 years ago[Thread] Avoid using BinarySerialization
Gonzalo Paniagua Javier [Wed, 9 Feb 2011 22:16:09 +0000 (17:16 -0500)]
[Thread] Avoid using BinarySerialization

Whenever possible (Generic(Principal|Identity)), do not use
BinarySerialization for the 'principal'.

13 years ago[asp.net] Fix for bug #669048. Fix up virtual precompiled app virtual paths with...
Marek Habersack [Wed, 9 Feb 2011 20:59:00 +0000 (21:59 +0100)]
[asp.net] Fix for bug #669048. Fix up virtual precompiled app virtual paths with the virtual root of the current app

13 years agoAttempt 1
Gonzalo Paniagua Javier [Wed, 9 Feb 2011 17:04:56 +0000 (12:04 -0500)]
Attempt 1

13 years agoAdd files to .gitignore
Gonzalo Paniagua Javier [Wed, 9 Feb 2011 16:01:27 +0000 (11:01 -0500)]
Add files to .gitignore

13 years agoHandle assignment check of variant type and its gtd.
Rodrigo Kumpera [Wed, 9 Feb 2011 15:30:05 +0000 (16:30 +0100)]
Handle assignment check of variant type and its gtd.

* clas.c (mono_class_is_variant_compatible): Return
FALSE if checking a variant type and its gtd instead
of crashing.

Fixes #668506

13 years agoInstall Mono.Debugger.Soft in the 4.0 profile as well.
Zoltan Varga [Wed, 9 Feb 2011 15:17:41 +0000 (16:17 +0100)]
Install Mono.Debugger.Soft in the 4.0 profile as well.

13 years agoFix corlib test
Marek Safar [Wed, 9 Feb 2011 14:27:06 +0000 (14:27 +0000)]
Fix corlib test

13 years agoFix few more mcs locations
Marek Safar [Wed, 9 Feb 2011 14:16:04 +0000 (14:16 +0000)]
Fix few more mcs locations

13 years agoFew mcs property accessors tweaks
Marek Safar [Wed, 9 Feb 2011 14:10:35 +0000 (14:10 +0000)]
Few mcs property accessors tweaks

13 years agoDon't emit static data when running as evaluator
Marek Safar [Tue, 8 Feb 2011 18:01:32 +0000 (18:01 +0000)]
Don't emit static data when running as evaluator

13 years agoAdd MonoCQItem to the moonlight build, otherwise we abort
Rolf Bjarne Kvinge [Wed, 9 Feb 2011 12:01:41 +0000 (13:01 +0100)]
Add MonoCQItem to the moonlight build, otherwise we abort

13 years agoRecent ContractDescription fix uncovered wrong contracts in discovery.
Atsushi Eno [Wed, 9 Feb 2011 11:04:00 +0000 (20:04 +0900)]
Recent ContractDescription fix uncovered wrong contracts in discovery.

13 years agoMerge branch 'master' of github.com:mono/mono
Rodrigo Kumpera [Wed, 9 Feb 2011 10:36:58 +0000 (11:36 +0100)]
Merge branch 'master' of github.com:mono/mono

13 years agoCleanup the reference queue on domain unload.
Rodrigo Kumpera [Wed, 9 Feb 2011 10:20:37 +0000 (11:20 +0100)]
Cleanup the reference queue on domain unload.

* gc.c (finalize_domain_objects): Clear reference
queues on domain unload after running all finalizers.

13 years agoSupport ServiceKnownTypes. Fixed another case on bug #652331.
Atsushi Eno [Wed, 9 Feb 2011 06:42:40 +0000 (15:42 +0900)]
Support ServiceKnownTypes. Fixed another case on bug #652331.

13 years agoFix msvc build for threadpool changes.
Jonathan Pobst [Wed, 9 Feb 2011 05:35:22 +0000 (23:35 -0600)]
Fix msvc build for threadpool changes.

13 years agoDisable OP_INEG cfolding on 32 bit arches, as it breaks the LNEG decomposition. The...
Zoltan Varga [Wed, 9 Feb 2011 04:09:24 +0000 (05:09 +0100)]
Disable OP_INEG cfolding on 32 bit arches, as it breaks the LNEG decomposition. The previous special casing didn't work as the spill pass could insert a store between the ineg and the adc_imm. Fixes #670479.

13 years ago[SmtpClient] Don't send empty display name.
Gonzalo Paniagua Javier [Wed, 9 Feb 2011 02:01:09 +0000 (21:01 -0500)]
[SmtpClient] Don't send empty display name.

If there's no display name, don't send '""'.
Fixes bug #670475.

13 years ago[build] Added runtime/_tmpinst/mcs script to unbreak system.web tests for 2.0
Marek Habersack [Wed, 9 Feb 2011 01:36:00 +0000 (02:36 +0100)]
[build] Added runtime/_tmpinst/mcs script to unbreak system.web tests for 2.0

Also made gmcs force -sdk=2 since -sdk=4 is now the default. _tmpinst/mcs is needed because
the CSharp CodeDOM provider invokes it and without the script in place it will launch the
first mcs available in the path.

13 years ago[asp.net] Be more careful with errors collection when compilation fails.
Marek Habersack [Wed, 9 Feb 2011 00:23:39 +0000 (01:23 +0100)]
[asp.net] Be more careful with errors collection when compilation fails.

13 years ago[asp.net] Implemented CustomErrorsRedirectMode
Marek Habersack [Tue, 8 Feb 2011 23:46:39 +0000 (00:46 +0100)]
[asp.net] Implemented CustomErrorsRedirectMode