Jeffrey Stedfast [Wed, 20 Apr 2011 20:24:35 +0000 (16:24 -0400)]
Include the m4 dir in the subdirs for `make dist`
Jeffrey Stedfast [Wed, 20 Apr 2011 19:59:12 +0000 (15:59 -0400)]
Added Latin1 support to giconv
Jeffrey Stedfast [Wed, 20 Apr 2011 19:15:32 +0000 (15:15 -0400)]
Fixed MSVC to build giconv.c
Jeffrey Stedfast [Wed, 20 Apr 2011 19:10:22 +0000 (15:10 -0400)]
Ignore generated files
Jeffrey Stedfast [Wed, 20 Apr 2011 19:08:20 +0000 (15:08 -0400)]
Implemented g_iconv() w/ needing libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 18:51:11 +0000 (14:51 -0400)]
Help ajorg dist
Andrew Jorgensen [Wed, 20 Apr 2011 18:11:59 +0000 (12:11 -0600)]
Dist fixes
Rodrigo Kumpera [Wed, 20 Apr 2011 14:17:58 +0000 (11:17 -0300)]
Having a type constraint to a valuetype satisfies .ctor.
* class.c:
* verify.c: If a gparam has a valuetype type constraint it
can satisfy the .ctor constraint from other gparam.
Fixes #687841
Rodrigo Kumpera [Tue, 19 Apr 2011 18:59:16 +0000 (15:59 -0300)]
publish the same events as pthread_stop_world
Jeffrey Stedfast [Wed, 20 Apr 2011 14:08:02 +0000 (10:08 -0400)]
Fixed g_utf8_to_ucs4_fast()
Jeffrey Stedfast [Wed, 20 Apr 2011 13:53:32 +0000 (09:53 -0400)]
Don't forget to link with libiconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:31:24 +0000 (09:31 -0400)]
Various parts of mono use g_convert() which rely on iconv
Jeffrey Stedfast [Wed, 20 Apr 2011 13:15:28 +0000 (09:15 -0400)]
Fixed g_unichar_to_utf8()
Marek Safar [Wed, 20 Apr 2011 11:41:29 +0000 (12:41 +0100)]
Add missing 4.0 api
Marek Safar [Wed, 20 Apr 2011 11:02:14 +0000 (12:02 +0100)]
Use correct local variable when interating parameter modifiers
Atsushi Eno [Wed, 20 Apr 2011 10:11:34 +0000 (19:11 +0900)]
Get real fix for bug #687902. Revert request processor IDisposable.
and handle session shutdown when creating InstanceContext.
Also add note on DisposeInstance(), which got me stuck.
Marek Safar [Wed, 20 Apr 2011 09:20:14 +0000 (10:20 +0100)]
[688651] Fix nullable enum values used with probing operator
Atsushi Eno [Wed, 20 Apr 2011 07:52:36 +0000 (16:52 +0900)]
Ongoing service channel closing fix and session management in ChannelDispatcher.
It is part of bugfix 687902.
To get the bug fixed, the new "using" sections in ChannelDispatcher.cs to
explicitly dispose channels. But this causes regression in PerSession-based
tests. So some new session management code is (likely) required as well.
It will also alter "mixed" MaxConcurrentCalls and MaxConcurrentSessions with
correct management code.
Marek Safar [Wed, 20 Apr 2011 06:58:05 +0000 (07:58 +0100)]
Defer interface unification check until all interface are setup
Marek Safar [Tue, 19 Apr 2011 16:20:55 +0000 (17:20 +0100)]
Fix effective base class for value types
Marek Safar [Tue, 19 Apr 2011 13:38:31 +0000 (14:38 +0100)]
Don't use type parameter effective base class when checking accessibility
Miguel de Icaza [Wed, 20 Apr 2011 03:47:24 +0000 (23:47 -0400)]
Restore the functionality to the REPL that allowed us to pass
files to be parsed on the command line as if they were typed on the
standard input
Miguel de Icaza [Wed, 20 Apr 2011 02:52:39 +0000 (22:52 -0400)]
Prevent crash on scripts that do not contain the #! line
Geoff Norton [Tue, 19 Apr 2011 21:22:59 +0000 (17:22 -0400)]
Actually include the m4 files in aclocal as well
Larry Ewing [Tue, 19 Apr 2011 21:09:14 +0000 (16:09 -0500)]
Implement g_utf8*prev_char and add the negative case to offset_to_pointer
Zoltan Varga [Tue, 19 Apr 2011 20:44:20 +0000 (22:44 +0200)]
Allow storing managed pointers into 'native int' in the JIT, fsharp generates code without a conv.i. Fixes #688008.
Jeffrey Stedfast [Tue, 19 Apr 2011 20:40:55 +0000 (16:40 -0400)]
Don't break on systems with older gettext versions
Zoltan Varga [Tue, 19 Apr 2011 20:37:01 +0000 (22:37 +0200)]
Move the mono_ia64_context_get_... functions to mono-context.h to fix the ia64 build.
Jeffrey Stedfast [Tue, 19 Apr 2011 20:29:16 +0000 (16:29 -0400)]
Move DOLT macro back into acinclude.m4 so it works
Jeffrey Stedfast [Tue, 19 Apr 2011 20:15:23 +0000 (16:15 -0400)]
Modernize eglib/libgc automake/conf fu
Jeffrey Stedfast [Tue, 19 Apr 2011 19:55:11 +0000 (15:55 -0400)]
More auto* fixes and moved dolt macros to m4/dolt.m4
Jeffrey Stedfast [Tue, 19 Apr 2011 19:17:55 +0000 (15:17 -0400)]
.m4 files no longer exist in the toplevel
Jeffrey Stedfast [Tue, 19 Apr 2011 18:01:32 +0000 (14:01 -0400)]
Updated the build system
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.
Jeffrey Stedfast [Tue, 19 Apr 2011 16:19:00 +0000 (12:19 -0400)]
Fixed autogen.sh and optimized some string funcs
Jeffrey Stedfast [Tue, 19 Apr 2011 16:05:32 +0000 (12:05 -0400)]
Fixed libiconv checks
Marek Safar [Tue, 19 Apr 2011 12:03:50 +0000 (13:03 +0100)]
New test
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
Lluis Sanchez [Tue, 19 Apr 2011 10:56:00 +0000 (12:56 +0200)]
Fix ICollection.CopyTo in the Stack class
Marek Safar [Tue, 19 Apr 2011 09:58:38 +0000 (10:58 +0100)]
Explicit method implementation can have ambiguous candidates
Marek Safar [Tue, 19 Apr 2011 07:34:53 +0000 (08:34 +0100)]
Don't check interface unified parameters on parameterless methods
Marek Safar [Mon, 18 Apr 2011 18:37:18 +0000 (19:37 +0100)]
Update test file
Chris Toshok [Mon, 18 Apr 2011 22:15:54 +0000 (15:15 -0700)]
add implementation for stpcpy
Jeffrey Stedfast [Mon, 18 Apr 2011 23:06:09 +0000 (19:06 -0400)]
Implemented g_iconv*() functions w/ cache
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.
Chris Toshok [Mon, 18 Apr 2011 21:16:44 +0000 (14:16 -0700)]
Implement g_byte_array_* in terms of GArray
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
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.
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.
Marek Safar [Mon, 18 Apr 2011 17:06:57 +0000 (18:06 +0100)]
Check for identical override when implementing generic interface
Marek Safar [Mon, 18 Apr 2011 17:06:29 +0000 (18:06 +0100)]
New test
Marek Safar [Mon, 18 Apr 2011 14:31:32 +0000 (15:31 +0100)]
Fix documentation header for some tests
Marek Safar [Mon, 18 Apr 2011 13:48:25 +0000 (14:48 +0100)]
Merge error files from 4.0 profile
Marek Safar [Mon, 18 Apr 2011 13:01:08 +0000 (14:01 +0100)]
Remove unnecessary future option
Marek Safar [Mon, 18 Apr 2011 12:38:22 +0000 (13:38 +0100)]
Remove unnecessary future option
Gonzalo Paniagua Javier [Mon, 18 Apr 2011 14:56:07 +0000 (10:56 -0400)]
[HttpWebRequest] Fix half-baked commit
Fixes bug #688100.
Jb Evain [Mon, 18 Apr 2011 13:47:33 +0000 (15:47 +0200)]
Fix DynamicInvoke when the delegate is closed over null
Jb Evain [Mon, 18 Apr 2011 13:46:31 +0000 (15:46 +0200)]
Add test for #664205
Marek Safar [Fri, 15 Apr 2011 14:51:12 +0000 (15:51 +0100)]
Fixed variable cannot be captured
Marek Safar [Fri, 15 Apr 2011 14:18:44 +0000 (15:18 +0100)]
Move IsValue/Reference type checks to type
Marek Habersack [Mon, 18 Apr 2011 11:22:20 +0000 (13:22 +0200)]
[asp.net] ScriptResourceHandler must correctly encode script literals.
Atsushi Eno [Mon, 18 Apr 2011 08:20:22 +0000 (17:20 +0900)]
Empty XmlReader message caused failure on buffereed copy.
Zoltan Varga [Sun, 17 Apr 2011 21:48:30 +0000 (23:48 +0200)]
Fix Object.MemberwiseClone () on arrays. Fixes #688033.
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.
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.
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.
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.
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>
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
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.
Zoltan Varga [Fri, 15 Apr 2011 23:21:55 +0000 (01:21 +0200)]
Handle a new dwarf CFA op generated by newer LLVM versions.
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.
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.
Atsushi Eno [Fri, 15 Apr 2011 14:49:39 +0000 (23:49 +0900)]
Return null for empty message in WebMessageFormatter. Useful eror messages.
Atsushi Eno [Fri, 15 Apr 2011 14:48:31 +0000 (23:48 +0900)]
Some argument check in TextMessageEncoder.
Marek Safar [Fri, 15 Apr 2011 13:04:40 +0000 (14:04 +0100)]
More fun with value type constraints
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.
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.
Jb Evain [Fri, 15 Apr 2011 12:11:27 +0000 (14:11 +0200)]
Remove warnings
Atsushi Eno [Fri, 15 Apr 2011 11:03:12 +0000 (20:03 +0900)]
Prefer immutable string return for ease of debugging in UriTemplate.
Marek Safar [Fri, 15 Apr 2011 10:30:00 +0000 (11:30 +0100)]
New test
Marek Safar [Fri, 15 Apr 2011 09:45:57 +0000 (10:45 +0100)]
Change ImplicitReferenceConversion not to relly on broken IsValueType
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.
Atsushi Eno [Fri, 15 Apr 2011 06:40:42 +0000 (15:40 +0900)]
Implement support for KnownTypeAttribute.MethodName.
Atsushi Eno [Fri, 15 Apr 2011 06:00:40 +0000 (15:00 +0900)]
Prepare for new System.Xml.Serialization.dll build (moonlight sdk assembly).
Atsushi Eno [Fri, 15 Apr 2011 05:56:11 +0000 (14:56 +0900)]
Flush XmlWriter and TextWriter so that incomplete changes are not lost.
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.
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
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.
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.
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.
Marek Habersack [Thu, 14 Apr 2011 19:12:15 +0000 (21:12 +0200)]
[asp.net] Removed a few NET_2_0 ifdefs
Rodrigo Kumpera [Thu, 14 Apr 2011 18:52:50 +0000 (15:52 -0300)]
Fix 64bits mono on windows.
Marek Habersack [Thu, 14 Apr 2011 18:49:30 +0000 (20:49 +0200)]
[asp.net] Shorten code in WebConfigurationHost
Marek Habersack [Thu, 14 Apr 2011 18:48:54 +0000 (20:48 +0200)]
[asp.net] Fixed a thinko in one of the previous commits
Rodrigo Kumpera [Thu, 14 Apr 2011 17:34:20 +0000 (14:34 -0300)]
Add regression test
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
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
Rodrigo Kumpera [Wed, 13 Apr 2011 18:27:03 +0000 (15:27 -0300)]
Improve error message
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.