mono.git
13 years agoMove DOLT macro back into acinclude.m4 so it works
Jeffrey Stedfast [Tue, 19 Apr 2011 20:29:16 +0000 (16:29 -0400)]
Move DOLT macro back into acinclude.m4 so it works

13 years agoModernize eglib/libgc automake/conf fu
Jeffrey Stedfast [Tue, 19 Apr 2011 20:15:23 +0000 (16:15 -0400)]
Modernize eglib/libgc automake/conf fu

13 years agoMore auto* fixes and moved dolt macros to m4/dolt.m4
Jeffrey Stedfast [Tue, 19 Apr 2011 19:55:11 +0000 (15:55 -0400)]
More auto* fixes and moved dolt macros to m4/dolt.m4

13 years ago.m4 files no longer exist in the toplevel
Jeffrey Stedfast [Tue, 19 Apr 2011 19:17:55 +0000 (15:17 -0400)]
.m4 files no longer exist in the toplevel

13 years agoUpdated the build system
Jeffrey Stedfast [Tue, 19 Apr 2011 18:01:32 +0000 (14:01 -0400)]
Updated the build system

13 years ago[HttpListener] Fix matching directories
Gonzalo Paniagua Javier [Tue, 19 Apr 2011 17:54:27 +0000 (13:54 -0400)]
[HttpListener] Fix matching directories

/foo was not properly matched.
Fixes bug #688353.

13 years agoFixed autogen.sh and optimized some string funcs
Jeffrey Stedfast [Tue, 19 Apr 2011 16:19:00 +0000 (12:19 -0400)]
Fixed autogen.sh and optimized some string funcs

13 years agoFixed libiconv checks
Jeffrey Stedfast [Tue, 19 Apr 2011 16:05:32 +0000 (12:05 -0400)]
Fixed libiconv checks

13 years agoNew test
Marek Safar [Tue, 19 Apr 2011 12:03:50 +0000 (13:03 +0100)]
New test

13 years ago[687282] Fixes cross references of nested anonymous methods which don't start at...
Marek Safar [Tue, 19 Apr 2011 12:00:18 +0000 (13:00 +0100)]
[687282] Fixes cross references of nested anonymous methods which don't start at parameters level block

13 years agoFix ICollection.CopyTo in the Stack class
Lluis Sanchez [Tue, 19 Apr 2011 10:56:00 +0000 (12:56 +0200)]
Fix ICollection.CopyTo in the Stack class

13 years agoExplicit method implementation can have ambiguous candidates
Marek Safar [Tue, 19 Apr 2011 09:58:38 +0000 (10:58 +0100)]
Explicit method implementation can have ambiguous candidates

13 years agoDon't check interface unified parameters on parameterless methods
Marek Safar [Tue, 19 Apr 2011 07:34:53 +0000 (08:34 +0100)]
Don't check interface unified parameters on parameterless methods

13 years agoUpdate test file
Marek Safar [Mon, 18 Apr 2011 18:37:18 +0000 (19:37 +0100)]
Update test file

13 years agoadd implementation for stpcpy
Chris Toshok [Mon, 18 Apr 2011 22:15:54 +0000 (15:15 -0700)]
add implementation for stpcpy

13 years agoImplemented g_iconv*() functions w/ cache
Jeffrey Stedfast [Mon, 18 Apr 2011 23:06:09 +0000 (19:06 -0400)]
Implemented g_iconv*() functions w/ cache

13 years agoit's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user...
Chris Toshok [Mon, 18 Apr 2011 21:17:17 +0000 (14:17 -0700)]
it's valid to pass NULLs to g_hash_table_lookup_extended. don't crash if the user does.

13 years agoImplement g_byte_array_* in terms of GArray
Chris Toshok [Mon, 18 Apr 2011 21:16:44 +0000 (14:16 -0700)]
Implement g_byte_array_* in terms of GArray

13 years agoImplement 99% of what moonlight needs to run on eglib
Chris Toshok [Mon, 18 Apr 2011 20:54:14 +0000 (13:54 -0700)]
Implement 99% of what moonlight needs to run on eglib

Add a bunch of typedefs/enums/#defines to glib.h, as well as many implementations of glib functions:

    g_array_set_size
    g_array_sized_new
    g_list_remove_all
    g_string_erase
    g_string_insert
    g_string_set_size
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast
    g_unichar_is_space
    g_unicode_break_type (stubbed, always returns G_UNICODE_BREAK_UNKNOWN at the moment)
    g_utf8_offset_to_pointer
    g_utf8_pointer_to_offset
    g_utf8_to_ucs4_fast

13 years agoWorkaround io-layer crashing when the runtime exit without cleaning up everything.
Rodrigo Kumpera [Mon, 18 Apr 2011 19:41:16 +0000 (16:41 -0300)]
Workaround io-layer crashing when the runtime exit without cleaning up everything.

* handles.c (handle_cleanup): When the runtime exit(), not
everything is shutdown and the main thread might be waiting
on other threads to finish. On this case, io-layer cleanup
with assert as a mutex will be in use.
The work-around is to be lenient to busy resources during
shutdown.

13 years agoFix a crash in the sgen suspend code which happens when a thread is suspended while...
Zoltan Varga [Mon, 18 Apr 2011 17:25:32 +0000 (19:25 +0200)]
Fix a crash in the sgen suspend code which happens when a thread is suspended while it is dying.

13 years agoCheck for identical override when implementing generic interface
Marek Safar [Mon, 18 Apr 2011 17:06:57 +0000 (18:06 +0100)]
Check for identical override when implementing generic interface

13 years agoNew test
Marek Safar [Mon, 18 Apr 2011 17:06:29 +0000 (18:06 +0100)]
New test

13 years agoFix documentation header for some tests
Marek Safar [Mon, 18 Apr 2011 14:31:32 +0000 (15:31 +0100)]
Fix documentation header for some tests

13 years agoMerge error files from 4.0 profile
Marek Safar [Mon, 18 Apr 2011 13:48:25 +0000 (14:48 +0100)]
Merge error files from 4.0 profile

13 years agoRemove unnecessary future option
Marek Safar [Mon, 18 Apr 2011 13:01:08 +0000 (14:01 +0100)]
Remove unnecessary future option

13 years agoRemove unnecessary future option
Marek Safar [Mon, 18 Apr 2011 12:38:22 +0000 (13:38 +0100)]
Remove unnecessary future option

13 years ago[HttpWebRequest] Fix half-baked commit
Gonzalo Paniagua Javier [Mon, 18 Apr 2011 14:56:07 +0000 (10:56 -0400)]
[HttpWebRequest] Fix half-baked commit

Fixes bug #688100.

13 years agoFix DynamicInvoke when the delegate is closed over null
Jb Evain [Mon, 18 Apr 2011 13:47:33 +0000 (15:47 +0200)]
Fix DynamicInvoke when the delegate is closed over null

13 years agoAdd test for #664205
Jb Evain [Mon, 18 Apr 2011 13:46:31 +0000 (15:46 +0200)]
Add test for #664205

13 years agoFixed variable cannot be captured
Marek Safar [Fri, 15 Apr 2011 14:51:12 +0000 (15:51 +0100)]
Fixed variable cannot be captured

13 years agoMove IsValue/Reference type checks to type
Marek Safar [Fri, 15 Apr 2011 14:18:44 +0000 (15:18 +0100)]
Move IsValue/Reference type checks to type

13 years ago[asp.net] ScriptResourceHandler must correctly encode script literals.
Marek Habersack [Mon, 18 Apr 2011 11:22:20 +0000 (13:22 +0200)]
[asp.net] ScriptResourceHandler must correctly encode script literals.

13 years agoEmpty XmlReader message caused failure on buffereed copy.
Atsushi Eno [Mon, 18 Apr 2011 08:20:22 +0000 (17:20 +0900)]
Empty XmlReader message caused failure on buffereed copy.

13 years agoFix Object.MemberwiseClone () on arrays. Fixes #688033.
Zoltan Varga [Sun, 17 Apr 2011 21:48:30 +0000 (23:48 +0200)]
Fix Object.MemberwiseClone () on arrays. Fixes #688033.

13 years agoMIPS: Make sure callee-saved registers end up on word boundaries
Damien Diederen [Thu, 14 Apr 2011 23:07:41 +0000 (01:07 +0200)]
MIPS: Make sure callee-saved registers end up on word boundaries

In addition to handling parameters and local variables,
mono_arch_allocate_vars reserves space for callee-saved registers.

Even though the current implementation takes care of properly aligning
the variables according to their datatype, it doesn't force alignment
to a word boundary before processing the callee-saved area.  This can
result in misaligned accesses if the last locals are booleans or small
integers.

Worse still: the garbage collector does then not see these non-word-
aligned references, and can end up reclaiming the pointed-to objects
if there are no other references to them--causing strange crashes and
type morphing effects under memory pressure.

Fix that by forcibly aligning the callee-saved area.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Do not lower {LOAD,STORE}*_MEMBASE ops which can handle non-imm16 offsets
Damien Diederen [Sun, 20 Mar 2011 23:06:14 +0000 (00:06 +0100)]
MIPS: Do not lower {LOAD,STORE}*_MEMBASE ops which can handle non-imm16 offsets

As:

 1. They use a compact encoding when possible, and

 2. The operations they are being lowered to are not implemented anyway.

Commit contributed under the MIT/X11 license.

13 years agoMIPS: Adjust offset by alloc2_size to support split frame initialization
Damien Diederen [Sun, 20 Mar 2011 22:58:24 +0000 (23:58 +0100)]
MIPS: Adjust offset by alloc2_size to support split frame initialization

The backend splits very large stack frames in two areas, one that can
be accessed using immediate offsets, and another which requires
indirect addressing.

Without this patch, the code generator does not take the split into
account when accessing on-stack arguments, causing crashes and
corruption.

Fix that by subtracting the size of the second area from the IR-specified
offset while generating the native code.

Commit contributed under the MIT/X11 license.

13 years ago[webclient] Only set the credentials when they are not null.
Gonzalo Paniagua Javier [Sun, 17 Apr 2011 17:57:38 +0000 (13:57 -0400)]
[webclient] Only set the credentials when they are not null.

Setting the credentials to null makes FtpWebRequest throw.
Fixes bug #688007.

13 years agoImplemented IDisposable on System.Security.Cryptography.DeriveBytes to match the...
Sebastien Pouliot [Sun, 17 Apr 2011 14:40:06 +0000 (10:40 -0400)]
Implemented IDisposable on System.Security.Cryptography.DeriveBytes to match the .Net 4.0 implementation.
From: Chris Shaffer <chris@chrisshaffer.net>

13 years ago[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini...
Marek Habersack [Sun, 17 Apr 2011 01:00:15 +0000 (03:00 +0200)]
[asp.net] Implemented undocumented BuildManagerHost class to support the Cassini ASP.NET host

13 years ago[asp.net] MinimizableAttributeTypeConverter only converts from strings.
Marek Habersack [Sat, 16 Apr 2011 00:09:47 +0000 (02:09 +0200)]
[asp.net] MinimizableAttributeTypeConverter only converts from strings.

It returns a boolean 'false' when the passed string matches (case-insensitively) 'false' or
is empty, returns 'true' otherwise.
All the other types (and a null value) cause it to throw the NotSupportedException.

13 years agoHandle a new dwarf CFA op generated by newer LLVM versions.
Zoltan Varga [Fri, 15 Apr 2011 23:21:55 +0000 (01:21 +0200)]
Handle a new dwarf CFA op generated by newer LLVM versions.

13 years agoFix non-element in XML flash policy (same as #681699 was for silverlight policies)
Sebastien Pouliot [Thu, 14 Apr 2011 19:27:54 +0000 (15:27 -0400)]
Fix non-element in XML flash policy (same as #681699 was for silverlight policies)

* FlashCrossDomainPolicyParser.cs: Skip, not throw, if we find a non-
element node type in a flash policy file.

13 years agoPrepare for HostNameComparisonMode support (i.e. incomplete).
Atsushi Eno [Fri, 15 Apr 2011 16:05:22 +0000 (01:05 +0900)]
Prepare for HostNameComparisonMode support (i.e. incomplete).

This is for bugfix #687580.

13 years agoReturn null for empty message in WebMessageFormatter. Useful eror messages.
Atsushi Eno [Fri, 15 Apr 2011 14:49:39 +0000 (23:49 +0900)]
Return null for empty message in WebMessageFormatter. Useful eror messages.

13 years agoSome argument check in TextMessageEncoder.
Atsushi Eno [Fri, 15 Apr 2011 14:48:31 +0000 (23:48 +0900)]
Some argument check in TextMessageEncoder.

13 years agoMore fun with value type constraints
Marek Safar [Fri, 15 Apr 2011 13:04:40 +0000 (14:04 +0100)]
More fun with value type constraints

13 years ago[corlib] Ensure Thread.ManagedThreadId is unique per thread.
Rolf Bjarne Kvinge [Fri, 15 Apr 2011 11:31:03 +0000 (13:31 +0200)]
[corlib] Ensure Thread.ManagedThreadId is unique per thread.

This fixes bug #667329.

The problem was that ManagedThreadId was created from a per-appdomain
counter, but stored in a per-thread storage, so if two threads could
end up with the same ManagedThreadId if a second appdomain executed
on the second thread first.

13 years agoUse correct MessageVersion instead of Default for empty response.
Atsushi Eno [Fri, 15 Apr 2011 12:30:04 +0000 (21:30 +0900)]
Use correct MessageVersion instead of Default for empty response.

Part of bugfix #687580.

13 years agoRemove warnings
Jb Evain [Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)]
Remove warnings

13 years agoPrefer immutable string return for ease of debugging in UriTemplate.
Atsushi Eno [Fri, 15 Apr 2011 11:03:12 +0000 (20:03 +0900)]
Prefer immutable string return for ease of debugging in UriTemplate.

13 years agoNew test
Marek Safar [Fri, 15 Apr 2011 10:30:00 +0000 (11:30 +0100)]
New test

13 years agoChange ImplicitReferenceConversion not to relly on broken IsValueType
Marek Safar [Fri, 15 Apr 2011 09:45:57 +0000 (10:45 +0100)]
Change ImplicitReferenceConversion not to relly on broken IsValueType

13 years agoFix regression for counter case to 6005f0a7.
Atsushi Eno [Fri, 15 Apr 2011 07:37:58 +0000 (16:37 +0900)]
Fix regression for counter case to 6005f0a7.

http://localhost/x + X should not result in http://localhost/xX.

13 years agoImplement support for KnownTypeAttribute.MethodName.
Atsushi Eno [Fri, 15 Apr 2011 06:40:42 +0000 (15:40 +0900)]
Implement support for KnownTypeAttribute.MethodName.

13 years agoPrepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).
Atsushi Eno [Fri, 15 Apr 2011 06:00:40 +0000 (15:00 +0900)]
Prepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).

13 years agoFlush XmlWriter and TextWriter so that incomplete changes are not lost.
Atsushi Eno [Fri, 15 Apr 2011 05:56:11 +0000 (14:56 +0900)]
Flush XmlWriter and TextWriter so that incomplete changes are not lost.

13 years agoOne more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.
Atsushi Eno [Fri, 15 Apr 2011 05:45:39 +0000 (14:45 +0900)]
One more step to enable WCF diagnostics in Logger, and add HttpReplyChannel log.

13 years ago[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not...
Marek Habersack [Thu, 14 Apr 2011 22:50:58 +0000 (00:50 +0200)]
[asp.net] Fix for bug #685116. AJAX post-back which redirects the browser does not need a Page or ScriptManager instance

13 years agoClearing the queue messed up with the per-domain job count
Gonzalo Paniagua Javier [Thu, 14 Apr 2011 22:22:57 +0000 (15:22 -0700)]
Clearing the queue messed up with the per-domain job count

Fixes bug #687399.

13 years agoInitial drop of the new suspend machinery.
Rodrigo Kumpera [Thu, 14 Apr 2011 20:25:54 +0000 (17:25 -0300)]
Initial drop of the new suspend machinery.

* mini-posix.c (mono_runtime_posix_install_handlers): Only
install sigusr1 if the new machinery is not enabled.

* mono-threads.c: Add new suspend machinery. It provides
primitives to suspend and resume a thread. Code to interrupt
still missing.

* mono-threads-mach.c: Darwin backend for mono-threads.

13 years ago[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event...
Marek Habersack [Thu, 14 Apr 2011 20:40:06 +0000 (22:40 +0200)]
[asp.net] Fix for bug #685267. ClientScriptManager generates correct post-back event reference for cross-page post-backs.

13 years ago[asp.net] Removed a few NET_2_0 ifdefs
Marek Habersack [Thu, 14 Apr 2011 19:12:15 +0000 (21:12 +0200)]
[asp.net] Removed a few NET_2_0 ifdefs

13 years agoFix 64bits mono on windows.
Rodrigo Kumpera [Thu, 14 Apr 2011 18:52:50 +0000 (15:52 -0300)]
Fix 64bits mono on windows.

13 years ago[asp.net] Shorten code in WebConfigurationHost
Marek Habersack [Thu, 14 Apr 2011 18:49:30 +0000 (20:49 +0200)]
[asp.net] Shorten code in WebConfigurationHost

13 years ago[asp.net] Fixed a thinko in one of the previous commits
Marek Habersack [Thu, 14 Apr 2011 18:48:54 +0000 (20:48 +0200)]
[asp.net] Fixed a thinko in one of the previous commits

13 years agoAdd regression test
Rodrigo Kumpera [Thu, 14 Apr 2011 17:34:20 +0000 (14:34 -0300)]
Add regression test

13 years agoTake constraints into account when checking for VAR assignability.
Rodrigo Kumpera [Thu, 14 Apr 2011 17:30:04 +0000 (14:30 -0300)]
Take constraints into account when checking for VAR assignability.

* class.c (mono_class_is_assignable_from): Check the constraints
of two (M)VARs to see if one is assignable to the other. This is
needed when we want to check something like:

Foo<T,U> () where T : U

On the above example T is assignable to U.

Fixes #687269

13 years agoFix some tests that got broken due to the verifier getting stricter
Rodrigo Kumpera [Wed, 13 Apr 2011 21:41:45 +0000 (18:41 -0300)]
Fix some tests that got broken due to the verifier getting stricter

13 years agoImprove error message
Rodrigo Kumpera [Wed, 13 Apr 2011 18:27:03 +0000 (15:27 -0300)]
Improve error message

13 years agoFix bug #687444, null-character handling is now closer and as illogical as .NET.
Atsushi Eno [Thu, 14 Apr 2011 12:11:10 +0000 (21:11 +0900)]
Fix bug #687444, null-character handling is now closer and as illogical as .NET.

13 years agoAdd more internal types for IVT for SDK assemblies.
Alan McGovern [Thu, 14 Apr 2011 10:23:03 +0000 (11:23 +0100)]
Add more internal types for IVT for SDK assemblies.

13 years ago[System.ServiceModel] Add some missing properties for IVT compatibility
Alan McGovern [Wed, 13 Apr 2011 17:45:03 +0000 (18:45 +0100)]
[System.ServiceModel] Add some missing properties for IVT compatibility

These are required for moonlight.

13 years ago[System.ServiceModel] return the same object reference from MessageVersion.CreateVersion
Alan McGovern [Wed, 13 Apr 2011 17:16:43 +0000 (18:16 +0100)]
[System.ServiceModel] return the same object reference from MessageVersion.CreateVersion

The Silverlight SDK assemblies rely on this behaviour as do the new tests.

13 years agoAdd another dummy type to keep silverlight sdk assemblies happy wrt
Alan McGovern [Wed, 13 Apr 2011 17:12:18 +0000 (18:12 +0100)]
Add another dummy type to keep silverlight sdk assemblies happy wrt
IVT for System.ServiceModel.

13 years agoEmit readonly. prefix for immutable loads only
Marek Safar [Thu, 14 Apr 2011 09:13:09 +0000 (10:13 +0100)]
Emit readonly. prefix for immutable loads only

13 years agoIn Parse(), throw FormatException instead of ArgumentOutOfRangeException.
Atsushi Eno [Thu, 14 Apr 2011 08:28:35 +0000 (17:28 +0900)]
In Parse(), throw FormatException instead of ArgumentOutOfRangeException.

13 years agoAdd ServiceKnownTypeAttributeTest.
Atsushi Eno [Thu, 14 Apr 2011 06:22:04 +0000 (15:22 +0900)]
Add ServiceKnownTypeAttributeTest.

13 years agoServiceKnownTypeAttribute.MethodName was used way different to lookup method.
Atsushi Eno [Thu, 14 Apr 2011 05:56:07 +0000 (14:56 +0900)]
ServiceKnownTypeAttribute.MethodName was used way different to lookup method.

13 years agoOooops, it's supposed to be 'if (!strcmp (...))' !
Martin Baulig [Wed, 13 Apr 2011 18:17:44 +0000 (20:17 +0200)]
Oooops, it's supposed to be 'if (!strcmp (...))' !

13 years agoImplement the JIT side of the new mono-threads callbacks.
Rodrigo Kumpera [Wed, 13 Apr 2011 17:42:37 +0000 (14:42 -0300)]
Implement the JIT side of the new mono-threads callbacks.

* mini.c: Fill MonoThreadInfoRuntimeCallbacks and
pass it to mono-threads.

* mini-exceptions.c (mono_setup_async_callback): New function
that can be used to inject an async callback into a stopped
thread. It works in a similar fashion as the current out
of signal handler EH.

* mini-posix.c:
* mini-darwin.c:
* mini-windows.c (mono_thread_state_init_from_handle): New
function to capture the context of a suspended thread. This
is meant to be used on targets where the kernel can suspend
a given thread - such as mach and windows.

13 years agoAdd new set of callbacks to be provided by the JIT.
Rodrigo Kumpera [Wed, 13 Apr 2011 17:20:46 +0000 (14:20 -0300)]
Add new set of callbacks to be provided by the JIT.

* mono-threads.h: Add MonoThreadInfoRuntimeCallbacks which
are a set of callbacks to be used by the new interruption
machinery.

13 years agoMove posix only code to a separate file.
Rodrigo Kumpera [Tue, 12 Apr 2011 23:48:00 +0000 (20:48 -0300)]
Move posix only code to a separate file.

13 years agoImprove handling of dependant type parameters
Marek Safar [Wed, 13 Apr 2011 16:52:42 +0000 (17:52 +0100)]
Improve handling of dependant type parameters

13 years ago[asp.net] Make web.config path check test case-insensitive
Marek Habersack [Wed, 13 Apr 2011 14:56:15 +0000 (16:56 +0200)]
[asp.net] Make web.config path check test case-insensitive

13 years ago[asp.net] A more effective way of looking for web.config
Marek Habersack [Wed, 13 Apr 2011 14:25:10 +0000 (16:25 +0200)]
[asp.net] A more effective way of looking for web.config

13 years ago[runtime,IO] Filesystem entries can only be sought for in directories, not files.
Marek Habersack [Wed, 13 Apr 2011 14:24:08 +0000 (16:24 +0200)]
[runtime,IO] Filesystem entries can only be sought for in directories, not files.

13 years agoAdd an IVT from System.ServiceModel to Sys.SM.Web.Extensions for Moonlight
Alan McGovern [Wed, 13 Apr 2011 14:50:42 +0000 (15:50 +0100)]
Add an IVT from System.ServiceModel to Sys.SM.Web.Extensions for Moonlight

13 years agoAdd a few MOONLIGHT defines to remove the RemotingProxy from ML build
Sebastien Pouliot [Wed, 13 Apr 2011 14:31:11 +0000 (10:31 -0400)]
Add a few MOONLIGHT defines to remove the RemotingProxy from ML build

* System.Runtime.Remoting.Activation/ActivationServices.cs:
* System.Runtime.Remoting.Messaging/ConstructionCall.cs
* System.Runtime.Remoting.Proxies/ProxyAttribute.cs
* System.Runtime.Remoting.Proxies/RealProxy.cs
* System.Runtime.Remoting/RemotingServices.cs
Add a few MOONLIGHT defines to remove the RemotingProxy from
being used in Moonlight builds. This reduce the number of SSC
and code size
* moonlight_raw_corlib.dll.sources: Remove System.Runtime.Remoting.
Proxies/RemotingProxy.cs from moonlight build

13 years agoRedirect contract errors on Moonlight to an browser alert dialog
Sebastien Pouliot [Wed, 13 Apr 2011 14:26:46 +0000 (10:26 -0400)]
Redirect contract errors on Moonlight to an browser alert dialog

* corlib/System.Diagnostics.Contracts.Internal/ContractHelper.cs:
For Moonlight (only) change TriggerFailure to reflect into
System.Windows.Browser.dll to show a browser alert dialog if a contract
check fails

* corlib/System.Diagnostics.Contracts/Contract.cs: Avoid code
duplication in AssertMustUseRewriter and call
ContractHelper.TriggerFailure

13 years agoFix location of quoted indentifiers
Marek Safar [Wed, 13 Apr 2011 10:46:23 +0000 (11:46 +0100)]
Fix location of quoted indentifiers

13 years agoAdd check for ambiguous overrides
Marek Safar [Wed, 13 Apr 2011 10:34:39 +0000 (11:34 +0100)]
Add check for ambiguous overrides

13 years agoAdd more checks for generic interfaces
Marek Safar [Tue, 12 Apr 2011 18:18:02 +0000 (19:18 +0100)]
Add more checks for generic interfaces

13 years agoEmit correct number of dimensions for empty array initializer of multi-dimensional...
Marek Safar [Tue, 12 Apr 2011 15:39:01 +0000 (16:39 +0100)]
Emit correct number of dimensions for empty array initializer of multi-dimensional arrays

13 years agoAvoid some duplicate work when we don't have KW_THREAD
Rodrigo Kumpera [Tue, 12 Apr 2011 21:12:43 +0000 (18:12 -0300)]
Avoid some duplicate work when we don't have KW_THREAD

13 years agoImplemented g_mkdir_with_parents() for unix
Jeffrey Stedfast [Tue, 12 Apr 2011 20:54:34 +0000 (16:54 -0400)]
Implemented g_mkdir_with_parents() for unix

13 years agoImplemented a bunch of unicode functions for eglib
Jeffrey Stedfast [Tue, 12 Apr 2011 20:04:46 +0000 (16:04 -0400)]
Implemented a bunch of unicode functions for eglib

13 years agoFix wrong TraceEventType values passed.
Atsushi Eno [Tue, 12 Apr 2011 17:21:02 +0000 (02:21 +0900)]
Fix wrong TraceEventType values passed.

13 years agoOptimized QuickSort routines a bit
Jeffrey Stedfast [Tue, 12 Apr 2011 15:48:43 +0000 (11:48 -0400)]
Optimized QuickSort routines a bit