Sebastien Pouliot [Tue, 23 Mar 2010 15:48:23 +0000 (15:48 -0000)]
2010-03-23 Sebastien Pouliot <sebastien@ximian.com>
* Monitor.cs: Implement new NET_4_0 (and SL4) Enter overload
required to run some DRT tests (e.g. 7007)
svn path=/trunk/mcs/; revision=154067
Zoltan Varga [Tue, 23 Mar 2010 15:16:25 +0000 (15:16 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.h: Put back MONO_ARCH_NOMAP32BIT for OpenBSD which was removed
by mistake.
svn path=/trunk/mono/; revision=154063
Rodrigo Kumpera [Tue, 23 Mar 2010 14:37:36 +0000 (14:37 -0000)]
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* MethodOnTypeBuilderInst.cs (ContainsGenericParameters): Check
the base_method first.
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* MethodOnTypeBuilderInstTest.cs: Add Test for
* ContainsGenericParameters.
svn path=/trunk/mcs/; revision=154062
Rodrigo Kumpera [Tue, 23 Mar 2010 07:59:06 +0000 (07:59 -0000)]
2010-03-23 Rodrigo Kumpera <rkumpera@novell.com>
* threads.c: Fix windows build.
svn path=/trunk/mono/; revision=154043
Geoff Norton [Tue, 23 Mar 2010 05:04:34 +0000 (05:04 -0000)]
2010-03-23 Geoff Norton <gnorton@novell.com>
* da_DK.xml: The short format is day. month, not
day month. Fixes #588165
svn path=/trunk/mono/; revision=154038
Atsushi Eno [Tue, 23 Mar 2010 04:43:07 +0000 (04:43 -0000)]
2010-03-23 Atsushi Enomoto <atsushi@ximian.com>
* ConnectionOrientedTransportElement.cs, StandardBindingElement.cs,
LocalClientSecuritySettingsElement.cs, CustomBindingElement.cs:
add couple of missing methods and TypeConverterAttributes.
svn path=/trunk/mcs/; revision=154036
Gonzalo Paniagua Javier [Tue, 23 Mar 2010 04:16:17 +0000 (04:16 -0000)]
2010-03-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-semaphore.h: MONO_SEM_WAIT() return value inverted when using
the windows API.
* mono-semaphore.c: handle INFINITE timeout.
svn path=/trunk/mono/; revision=154035
Carlos Alberto Cortez [Tue, 23 Mar 2010 02:18:59 +0000 (02:18 -0000)]
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpanTest.cs: It seems somebody forgot to actually mark the
TestParse method with TestAttribute. Also, add a bunch of asserions
to reflect the new behaviour for 4.0 in the needed test cases.
svn path=/trunk/mcs/; revision=154034
Carlos Alberto Cortez [Tue, 23 Mar 2010 01:59:52 +0000 (01:59 -0000)]
* TimeSpan.cs: When parsing ticks, we used to only parse
the first 7 digits, and more than that would cause a FormatException -
starting in 4.0 we need to throw an OverflowException, however. Also,
for hours/minutes/seconds, two or more preceding zeroes will cause an
OverflowException as well.
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=154033
Rodrigo Kumpera [Tue, 23 Mar 2010 01:30:06 +0000 (01:30 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* thread-types.h: Add mono_thread_resume_interruption.
* threads.c: Add mono_thread_resume_interruption, this
function should be called after the last protected handler
found at interruption time has finished.
svn path=/trunk/mono/; revision=154032
Rodrigo Kumpera [Tue, 23 Mar 2010 01:29:57 +0000 (01:29 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* threads.c (ves_icall_System_Threading_Thread_ResetAbort):
Check MonoInternalThread's ::state instead of ::abort_exc
since the later can be lazily created.
This is specially problematic when running a finally block
under AbortRequested state. ResetAbort must work, but the
abort_exc object has not been created because interruption
has not began.
svn path=/trunk/mono/; revision=154031
Rodrigo Kumpera [Tue, 23 Mar 2010 01:29:50 +0000 (01:29 -0000)]
2009-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* threads.h: Add wapi_self_interrupt.
* wthreads.c: Add wapi_self_interrupt which puts the current
thread in interrupted state.
* wthreads.c (wapi_thread_clear_wait_handle): Previous handle
can possibly be NULL if an async interrupt cleared it.
This is safe because it is only async cleared if running inside
a handler block.
svn path=/trunk/mono/; revision=154030
Andreas Färber [Tue, 23 Mar 2010 00:19:30 +0000 (00:19 -0000)]
Don't rely on SIGIO
SIGIO is not part of POSIX, and Haiku does not support it.
map.c contains checks to handle this, but old-map.c doesn't.
Its generator make-map no longer exists, so let's insert the
check manually.
2010-03-23 Andreas Faerber <andreas.faerber@web.de>
* old-map.c (map_Mono_Posix_Signals): Fix build for platforms where
SIGIO is not defined (Haiku).
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=154029
Zoltan Varga [Tue, 23 Mar 2010 00:18:02 +0000 (00:18 -0000)]
2010-03-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Handle the failure of
mono_method_signature ().
* mini-trampolines.c (mono_delegate_trampoline): Ditto.
* mini.c (mini_method_compile): Get the signature of cfg->method early with
error checking, so later calls do not need error checking.
svn path=/trunk/mono/; revision=154028
Zoltan Varga [Mon, 22 Mar 2010 21:43:14 +0000 (21:43 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c: Add support for OpenBSD which has no UCONTEXT_GREGS.
* mini-amd64.h: Enable MONO_ARCH_USE_SIGACTION on OpenBSD as well.
svn path=/trunk/mono/; revision=154018
Zoltan Varga [Mon, 22 Mar 2010 21:43:08 +0000 (21:43 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT accessors for openbsd/amd64.
svn path=/trunk/mono/; revision=154017
Zoltan Varga [Mon, 22 Mar 2010 21:31:04 +0000 (21:31 -0000)]
Revert "2010-03-22 Zoltan Varga <vargaz@gmail.com>"
This reverts commit
2ae84e6bac9195688797490dd7a03aa0b3ebcace.
svn path=/trunk/mono/; revision=154016
Zoltan Varga [Mon, 22 Mar 2010 21:30:58 +0000 (21:30 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT accessors for openbsd/amd64.
svn path=/trunk/mono/; revision=154015
Rodrigo Kumpera [Mon, 22 Mar 2010 20:36:48 +0000 (20:36 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* mini-exceptions.c (mono_handle_exception_internal): Don't
check try_end for archs different than s390.
* mini.c (create_jit_info): Don't crash if the finallt block is
* the last one.
svn path=/trunk/mono/; revision=154014
Rodrigo Kumpera [Mon, 22 Mar 2010 20:36:39 +0000 (20:36 -0000)]
2010-03-22 Rodrigo Kumpera <rkumpera@novell.com>
* driver.c (mono_main): Don't free global codeman under linux
* since glic now peeks at code on stack for more archs than just amd64.
svn path=/trunk/mono/; revision=154013
Geoff Norton [Mon, 22 Mar 2010 20:24:32 +0000 (20:24 -0000)]
2010-03-22 Geoff Norton <gnorton@novell.com>
* locales.c: Its possible for CFStringGetCStringPtr
to return null and not convert encodings. Use
CFStringGetCString instead.
svn path=/trunk/mono/; revision=154012
Carlos Alberto Cortez [Mon, 22 Mar 2010 18:45:19 +0000 (18:45 -0000)]
2010-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Create a new Parser.Execute method for 4.0 -and use the
previous impl for 2.0-, to handle the new semantics gracefully -
specifically the new 'dd:hh:mm:ss' format and related bits, instead of
of a ton of #ifdef blocks. Remove any 4.0 bits from the previous
version as well, to keep it clean.
svn path=/trunk/mcs/; revision=154005
Paolo Molaro [Mon, 22 Mar 2010 17:10:44 +0000 (17:10 -0000)]
Mon Mar 22 18:09:09 CET 2010 Paolo Molaro <lupus@ximian.com>
* mini.c, method-to-ir.c: changes to support compressed interface
bitmaps.
svn path=/trunk/mono/; revision=154003
Paolo Molaro [Mon, 22 Mar 2010 17:10:20 +0000 (17:10 -0000)]
Mon Mar 22 18:06:38 CET 2010 Paolo Molaro <lupus@ximian.com>
* class-internals.h, class.c, object.c: introduce compressed
interface bitmaps (for now only under small config): this saves
about 600 KB of runtime memory on gmcs bootstraps or monodevelop
startups.
svn path=/trunk/mono/; revision=154002
Zoltan Varga [Mon, 22 Mar 2010 17:00:47 +0000 (17:00 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-x86.h: Applied patch from Robert Nagy (Robert@openbsd.org).
Use sigaction on OpenBSD too.
svn path=/trunk/mono/; revision=153998
Zoltan Varga [Mon, 22 Mar 2010 17:00:40 +0000 (17:00 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Applied patch from Robert Nagy (Robert@openbsd.org).
Add OpenBSD definitions.
svn path=/trunk/mono/; revision=153997
Miguel de Icaza [Mon, 22 Mar 2010 16:32:36 +0000 (16:32 -0000)]
Update license files
svn path=/trunk/mono/; revision=153993
Miguel de Icaza [Mon, 22 Mar 2010 16:29:18 +0000 (16:29 -0000)]
Add missing copyright notices to Sgen
svn path=/trunk/mono/; revision=153992
Paolo Molaro [Mon, 22 Mar 2010 15:05:13 +0000 (15:05 -0000)]
typo
svn path=/trunk/mono/; revision=153984
Paolo Molaro [Mon, 22 Mar 2010 15:04:47 +0000 (15:04 -0000)]
Mon Mar 22 16:03:34 CET 2010 Paolo Molaro <lupus@ximian.com>
* mono-debug.c: don't try to get the emthod ehader, it causes a
deadlock and it is not used for anything anymore.
svn path=/trunk/mono/; revision=153983
Andreia Gaita [Mon, 22 Mar 2010 13:27:57 +0000 (13:27 -0000)]
2010-03-22 Andreia Gaita <avidigal@gmail.com>
* configure.in: fix build when doing with-mcs-docs=no on a clean tree
svn path=/trunk/mono/; revision=153979
Zoltan Varga [Mon, 22 Mar 2010 12:40:57 +0000 (12:40 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_get_marshal_info): Fix the handling of dynamic methods
broken by the last change.
svn path=/trunk/mono/; revision=153972
Zoltan Varga [Mon, 22 Mar 2010 12:06:52 +0000 (12:06 -0000)]
2010-03-22 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (event_req_matches_assembly): Handle request modifiers too.
svn path=/trunk/mono/; revision=153969
Sebastien Pouliot [Mon, 22 Mar 2010 11:53:14 +0000 (11:53 -0000)]
2010-03-22 Sebastien Pouliot <sebastien@ximian.com>
* Directory.cs, DirectoryInfo.cs: Disble new NET_4_0 API used in
SL4 until we have elevated trust working correctly (since they
are *not* decorated as [SecurityCritical])
svn path=/trunk/mcs/; revision=153968
Andreas Färber [Sun, 21 Mar 2010 23:47:12 +0000 (23:47 -0000)]
Add include for fd_set
According to POSIX, fd_set is defined in sys/select.h.
http://www.opengroup.org/onlinepubs/
9699919799/basedefs/sys_select.h.html
2010-03-21 Andreas Faerber <andreas.faerber@web.de>
* debugger-agent.c: #include sys/select.h for fd_set.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=153962
Andreas Färber [Sun, 21 Mar 2010 18:55:50 +0000 (18:55 -0000)]
Handle absence of socket constants
AF_SNA, AF_DECnet and SOCK_RDM are not part of POSIX, and Haiku does not
supply them.
Check for their presence before using them, as already done for AF_IPX.
2010-03-21 Andreas Faerber <andreas.faerber@web.de>
* socket-io.c: Don't depend on AF_SNA, AF_DECnet,
SOCK_RDM.
This commit is licensed under the MIT X11 license.
svn path=/trunk/mono/; revision=153961
Gonzalo Paniagua Javier [Sun, 21 Mar 2010 18:06:56 +0000 (18:06 -0000)]
2010-03-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebClient.cs: fix handling of query string, whether it comes from
the address used or is part of the QueryString.
svn path=/trunk/mcs/; revision=153960
Zoltan Varga [Sun, 21 Mar 2010 15:56:10 +0000 (15:56 -0000)]
2010-03-21 Zoltan Varga <vargaz@gmail.com>
* mini.c (SIG_HANDLER_SIGNATURE): Fix the build on platforms without sigaction
(openbsd+amd64 ?).
svn path=/trunk/mono/; revision=153957
Zoltan Varga [Sun, 21 Mar 2010 12:45:00 +0000 (12:45 -0000)]
2010-03-21 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_emit_exceptions): Avoid an assert in ppc_patch () for
some large methods with lots of exception handlers. Fixes #440924.
svn path=/trunk/mono/; revision=153953
Miguel de Icaza [Sat, 20 Mar 2010 23:09:06 +0000 (23:09 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* Eliminate warnings in a bunch of places.
svn path=/trunk/mcs/; revision=153952
Miguel de Icaza [Sat, 20 Mar 2010 22:58:39 +0000 (22:58 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.
svn path=/trunk/mcs/; revision=153951
Miguel de Icaza [Sat, 20 Mar 2010 22:57:49 +0000 (22:57 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.
svn path=/trunk/mcs/; revision=153950
Miguel de Icaza [Sat, 20 Mar 2010 22:56:56 +0000 (22:56 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.
svn path=/trunk/mcs/; revision=153949
Miguel de Icaza [Sat, 20 Mar 2010 22:56:32 +0000 (22:56 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* RxInterpreter.cs: Removed warnings.
svn path=/trunk/mcs/; revision=153948
Miguel de Icaza [Sat, 20 Mar 2010 22:54:15 +0000 (22:54 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* TypeDescriptor.cs: Remove warning.
svn path=/trunk/mcs/; revision=153947
Miguel de Icaza [Sat, 20 Mar 2010 22:53:39 +0000 (22:53 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* WebConnection.cs: Drop pre-2.0 and pre-1.1 support, and remove
warnings.
svn path=/trunk/mcs/; revision=153946
Miguel de Icaza [Sat, 20 Mar 2010 22:49:18 +0000 (22:49 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* Uri.cs: Drop pre-2.0 support
svn path=/trunk/mcs/; revision=153945
Miguel de Icaza [Sat, 20 Mar 2010 22:45:29 +0000 (22:45 -0000)]
2010-03-20 Miguel de Icaza <miguel@novell.com>
* WebClient.cs: Drop the pre-2.0 support
svn path=/trunk/mcs/; revision=153944
Mark Probst [Sat, 20 Mar 2010 20:02:37 +0000 (20:02 -0000)]
2010-03-20 Sanjoy Das <sanjoy@playingwithpointers.com>
* sgen-gc.c (mono_gc_get_write_barrier): Handle non-aligned
nursery.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=153943
Miguel de Icaza [Sat, 20 Mar 2010 17:13:31 +0000 (17:13 -0000)]
Removed a warning; But this loop here looks risky
svn path=/trunk/mcs/; revision=153941
Marek Habersack [Sat, 20 Mar 2010 14:47:25 +0000 (14:47 -0000)]
2010-03-20 Marek Habersack <mhabersack@novell.com>
* SiteMapNode.cs: avoid calling ChildNodes twice in HasChildNodes.
Cache child nodes in the ChildNodes property.
2010-03-20 Marek Habersack <mhabersack@novell.com>
* XmlSiteMapProviderTest.cs: AreEqual should have expected result first
and actual next - swapped parameters in RootNode_2_OnLoad
svn path=/trunk/mcs/; revision=153937
Paolo Molaro [Sat, 20 Mar 2010 10:57:24 +0000 (10:57 -0000)]
Sat Mar 20 11:56:24 CET 2010 Paolo Molaro <lupus@ximian.com>
* method-to-ir.c: remove code duplication for interface checks.
svn path=/trunk/mono/; revision=153936
Miguel de Icaza [Fri, 19 Mar 2010 21:46:30 +0000 (21:46 -0000)]
2010-03-19 Miguel de Icaza <miguel@novell.com>
* Eliminate warnings in a bunch of places.
svn path=/trunk/mcs/; revision=153923
Miguel de Icaza [Fri, 19 Mar 2010 21:45:57 +0000 (21:45 -0000)]
2010-03-03 Miguel de Icaza <miguel@novell.com>
* RBTree.cs: Make these serializable, should fix the serialization
across appdomains of SortedDictionaries
svn path=/trunk/mcs/; revision=153922
Zoltan Varga [Fri, 19 Mar 2010 20:53:28 +0000 (20:53 -0000)]
2010-03-19 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (clear_event_requests_for_assembly): New helper function.
(assembly_unload): Clear all event requests referencing the to-be unloaded
assembly.
svn path=/trunk/mono/; revision=153919
Gonzalo Paniagua Javier [Fri, 19 Mar 2010 20:11:21 +0000 (20:11 -0000)]
2010-03-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TreeView.cs: use enums instead of strings for attributes.
svn path=/trunk/mcs/; revision=153917
Sebastien Pouliot [Fri, 19 Mar 2010 19:01:31 +0000 (19:01 -0000)]
In System.Timers:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* Timer.cs: Removed old NET_2_0 defines and added some new
MOONLIGHT defines (needed for the client stack)
In System.Net:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* AuthenticationManager.cs: Internal type for Moonlight.
Add BasicClient, DigestClient, NtlmClient for NET_2_1 since
this applies to both monotouch and moonlight (client stack).
Removed unneeded NET_2_0 defines
* CookieContainer.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll. Removed unneeded NET_2_0
defines
* HttpContinueDelegate.cs: Internal type for Moonlight.
* HttpRequestCreator.cs: Remove a MOONLIGHT define
* HttpStatusCode.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll
* HttpWebRequest.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight).
Removed unneeded NET_2_0 and NET_1_1 defines
* HttpWebResponse.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* IAuthenticationModule.cs: Internal type for Moonlight.
* ICertificatePolicy.cs: Internal type for Moonlight.
* ICredentialPolicy.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* IWebRequestCreate.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll
* ServicePoint.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight)
* ServicePointManager.cs: Remove a MOONLIGHT define
* WebException.cs: For Moonlight it needs to be internal in
System.dll and public in System.Net.dll. Removed unneeded NET_2_0
defines
* WebHeaderCollection.cs: Internal type for Moonlight. Removed
unneeded NET_2_0 defines
* WebRequest.cs: Internal type for Moonlight. Change S.Config
to NET_2_1 defines (applies to both monotouch and moonlight)
* WebResponse.cs: Internal type for Moonlight. Removed unneeded
NET_2_0 defines
In System.Net.Sockets:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* Socket.cs: Remove some NET_2_0 defines (using) and add a few
MOONLIGHT defines needed to reuse Socket in the client http stack
* Socket_2_1.cs: Remove some MOONLIGHT defines
* SocketAsyncEventArgs.cs: For Moonlight check policy if outside
System.dll (the client stack use sockets with it's own web
xdomain policy)
In System:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* Uri.cs: Remove some MOONLIGHT defines
In .:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* moonlight_*_System.dll.sources: Bring extra types so we can
build a full, managed, internal HTTP stack to be reused for SL3+
* Makefile: Add a INSIDE_SYSTEM define when compiling System.dll
to makes it possible to rebuild the same types in System.Net.dll
svn path=/trunk/mcs/; revision=153916
Sebastien Pouliot [Fri, 19 Mar 2010 18:54:23 +0000 (18:54 -0000)]
In System.Collections:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]
In System.Collections.Generic:
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* CollectionDebuggerView.cs: Change to internal so we can avoid
a duplicating the type in assemblies that have [InternalsVisibleTo]
svn path=/trunk/mcs/; revision=153915
Carlos Alberto Cortez [Fri, 19 Mar 2010 17:19:42 +0000 (17:19 -0000)]
2010-03-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Move the error detection code to a separate method.
This way depending on the version we decide what error takes
precedence: OverlowException in 2.0, and FormatException in 4.0. This
also lets us keep the Execute() code cleaner and easier to understand.
svn path=/trunk/mcs/; revision=153911
Martin Baulig [Fri, 19 Mar 2010 16:42:35 +0000 (16:42 -0000)]
mono_debug_add_method: Don't call mono_disasm_code() for wrappers.
2010-03-19 Martin Baulig <martin@ximian.com>
* mono-debug.c (MonoDebugWrapperData): Replace `cil_code' with a
dummy field, containing an empty string.
(mono_debug_add_method): Don't call mono_disasm_code() for wrappers.
svn path=/trunk/mono/; revision=153909
Paolo Molaro [Fri, 19 Mar 2010 16:29:40 +0000 (16:29 -0000)]
Fri Mar 19 17:26:43 CET 2010 Paolo Molaro <lupus@ximian.com>
* class.c: setup_interface_offsets() refactor to not call
mono_class_get_implemented_interfaces () more times than needed and
to reduce the runtime memory requirements to be O(num_interfaces)
instead of O(max_interface_id).
svn path=/trunk/mono/; revision=153908
Paolo Molaro [Fri, 19 Mar 2010 15:47:12 +0000 (15:47 -0000)]
Fri Mar 19 16:45:20 CET 2010 Paolo Molaro <lupus@ximian.com>
* mini.h, mini-exceptions.c: restore the state of the stack
guard page permissions.
svn path=/trunk/mono/; revision=153901
Zoltan Varga [Fri, 19 Mar 2010 14:45:37 +0000 (14:45 -0000)]
2010-03-19 Zoltan Varga <vargaz@gmail.com>
* autogen.sh: Pass -Wno-portability to automake to quiet some warnings.
svn path=/trunk/mono/; revision=153898
Zoltan Varga [Fri, 19 Mar 2010 14:09:04 +0000 (14:09 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=153897
Zoltan Varga [Fri, 19 Mar 2010 13:27:57 +0000 (13:27 -0000)]
2010-03-19 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (common_call_trampoline): Remove the condition guarding the
call site patching code, it doesn't appear to be needed.
svn path=/trunk/mono/; revision=153893
Sebastien Pouliot [Fri, 19 Mar 2010 12:42:33 +0000 (12:42 -0000)]
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* SocketException_2_1.cs: Add extra ctor (soon to be used)
svn path=/trunk/mcs/; revision=153891
Zoltan Varga [Fri, 19 Mar 2010 12:09:14 +0000 (12:09 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=153889
Zoltan Varga [Fri, 19 Mar 2010 12:04:49 +0000 (12:04 -0000)]
2010-03-19 Zoltan Varga <vargaz@gmail.com>
* mini-generic-sharing.c: Add infrastructure for partial sharing, ie.
sharing generic methods whose type arguments are a mix of reference and
non-reference types. Not yet turned on.
* mini.c (mini_get_shared_method): New helper function to return
the method which will be compiled/registered in the JIT tables when doing
generic sharing.
(mono_domain_lookup_shared_generic): Moved to mini.c from mini-generic-sharing.c,
use mini_get_shared_method ().
* mini.c (mini_method_compile): Register the same method which is compiled when
doing generic sharing.
* mini.c aot-compiler.c aot-runtime.c: Add support for partial sharing.
* generics.cs: Add partial sharing tests.
svn path=/trunk/mono/; revision=153888
Atsushi Eno [Fri, 19 Mar 2010 11:53:54 +0000 (11:53 -0000)]
initial checkin for new assembly.
svn path=/trunk/mcs/; revision=153885
Sebastien Pouliot [Fri, 19 Mar 2010 11:52:41 +0000 (11:52 -0000)]
2010-03-19 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: AllowWriteStreamBuffering getter/setter
throws NIE by default (must be overridden). Revert Accept and
ContentType behavior to SL2 (identical to SL4 but different from
SL3).
* WebClient_2_1.cs: Initialize UseDefaultCredentials to true. Set
the properties when creating a new WebRequest
svn path=/trunk/mcs/; revision=153884
Atsushi Eno [Fri, 19 Mar 2010 10:21:08 +0000 (10:21 -0000)]
2010-03-19 Atsushi Enomoto <atsushi@ximian.com>
* HostedBindingBehavior.cs : remove unused class.
* System.ServiceModel.dll.sources : remove unused class.
* HTTP_listener_notes.txt : add some more comments.
svn path=/trunk/mcs/; revision=153882
Atsushi Eno [Fri, 19 Mar 2010 02:26:11 +0000 (02:26 -0000)]
2010-03-19 Atsushi Enomoto <atsushi@ximian.com>
* WebHttpBehavior.cs : set FilterPriority to make it in higher
priority than conflicting endpoints (such as mex endpoint).
svn path=/trunk/mcs/; revision=153876
Jerri Maine [Fri, 19 Mar 2010 01:54:00 +0000 (01:54 -0000)]
Jerry Maine <crashfourit@gmail.com>
* mini.h : Changed the SIMD_VERSION* enum values to match those in Mono.Simd.AccelMode.
Add an enum value that or's all possable values together. Add an enum value
that marks the end of the used bit indexes.
* mini-amd64.c : Make changes to match the changes in mini.h
* mini-x86.c : Make changes to match the changes in mini.h
* simd-intrinsics.c : Reorder the SimdIntrinsc struct to add more bits to
simd_version to support more simd versions. Changed the name of
simd_version to simd_version_flags to make it more intuitive that
it now contains bit flags. Reordered the *_intrinsics arrays to
match the changes above. Changed emit_intrinsics() to use the new
setup mentioned above.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=153875
Sebastien Pouliot [Thu, 18 Mar 2010 19:31:53 +0000 (19:31 -0000)]
2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: Add SL4 RC AllowWriteStreamBuffering and
SupportsCookieContainer properties.
* WebClient_2_1.cs: Add SL4 RC AllowWriteStreamBuffering and
UseDefaultCredentials properties.
* WebHeaderCollection_2_1.cs: Authorization and Proxy-Authorization
are valid (i.e. usable) headers in SL4 (in both stacks)
svn path=/trunk/mcs/; revision=153863
Sebastien Pouliot [Thu, 18 Mar 2010 18:11:39 +0000 (18:11 -0000)]
fix net_4_0 build
svn path=/trunk/mcs/; revision=153859
Carlos Alberto Cortez [Thu, 18 Mar 2010 16:30:58 +0000 (16:30 -0000)]
2010-03-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: Put the error info in a single field, to make it easier
to preserve the very first error we get while parsing, and discard the
next ones. This will help us in a pair of cases where we were
overriding the previous error and reporting the wrong exception.
svn path=/trunk/mcs/; revision=153849
Marek Habersack [Thu, 18 Mar 2010 16:08:21 +0000 (16:08 -0000)]
2010-03-18 Marek Habersack <mhabersack@novell.com>
* Makefile: include resources in compilation
svn path=/trunk/mcs/; revision=153847
Sebastien Pouliot [Thu, 18 Mar 2010 14:29:26 +0000 (14:29 -0000)]
2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Add Aes (for NET_4_0)
* moonlight_raw_corlib.dll.sources: Add Aes and System.Runtime.
CompilerServices/ReferenceAssemblyAttribute.cs
svn path=/trunk/mcs/; revision=153841
Sebastien Pouliot [Thu, 18 Mar 2010 14:27:18 +0000 (14:27 -0000)]
In Assembly:
2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Add TypeForwardTo for Aes on NET_4_0
In System.Security.Cryptography:
2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
* Aes.cs: Build here before NET_4_0 (or MOONLIGHT) otherwise
build only if compiled from mscorlib.dll
svn path=/trunk/mcs/; revision=153840
Sebastien Pouliot [Thu, 18 Mar 2010 13:56:07 +0000 (13:56 -0000)]
2010-03-18 Sebastien Pouliot <sebastien@ximian.com>
* ConditionalWeakTable.cs:
* ReferenceAssemblyAttribute.cs:
* TypeForwardedFromAttribute.cs:
Build them into Moonlight too (SL4)
svn path=/trunk/mcs/; revision=153839
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 13:55:15 +0000 (13:55 -0000)]
fixup nsec for absolute time too
svn path=/trunk/mono/; revision=153838
Atsushi Eno [Thu, 18 Mar 2010 13:02:16 +0000 (13:02 -0000)]
2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
* XPathMessageContext.cs : implement.
* XPathMessageFilterTable.cs : add some missing overloads.
* Constants.cs : add more.
* System.ServiceModel_test.dll.sources :
Add Constants.cs and XPathMessageContextTest.cs.
* XPathMessageContextTest.cs : new.
* Constants.cs : copied from the lib itself.
svn path=/trunk/mcs/; revision=153833
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 11:59:29 +0000 (11:59 -0000)]
2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebResponse.cs:
* FtpWebRequest.cs: for non-data operations, make sure we send the
QUIT command upon completion when KeepAlive is false.
Fixes bug #589305.
svn path=/trunk/mcs/; revision=153825
Atsushi Eno [Thu, 18 Mar 2010 10:36:51 +0000 (10:36 -0000)]
2010-03-18 Atsushi Enomoto <atsushi@ximian.com>
* ReliableSessionBindingElement.cs,
PrivacyNoticeBindingElement.cs,
RemoteEndpointMessageProperty.cs : added some missing types.
* Dummy.cs : removed some dummy types (not dummy anymore).
* System.ServiceModel.dll.sources : added some missing types.
svn path=/trunk/mcs/; revision=153824
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 09:45:25 +0000 (09:45 -0000)]
2010-03-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-mlist.[ch]: add mono_mlist_set_next ().
svn path=/trunk/mono/; revision=153821
Zoltan Varga [Thu, 18 Mar 2010 07:17:47 +0000 (07:17 -0000)]
2010-03-18 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (runtest): Save the output of the aot compiler into a file.
svn path=/trunk/mono/; revision=153816
Zoltan Varga [Thu, 18 Mar 2010 06:27:22 +0000 (06:27 -0000)]
Fix the IA64 build.
svn path=/trunk/mono/; revision=153814
Zoltan Varga [Thu, 18 Mar 2010 06:26:02 +0000 (06:26 -0000)]
2010-03-18 Zoltan Varga <vargaz@gmail.com>
* mkbundle.cs: Update after the mono.pc and libmono version bump.
svn path=/trunk/mcs/; revision=153813
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 02:56:09 +0000 (02:56 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* StreamReaderTest.cs: test for bug 589236. The detected encoding is
different from the one provided in the ctor.
svn path=/trunk/mcs/; revision=153802
Gonzalo Paniagua Javier [Thu, 18 Mar 2010 02:41:08 +0000 (02:41 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* StreamReader.cs: if the detected encoding is different from the
provided to the constructor, adjust the decoded buffer size if
needed. Fixes bug #589236.
svn path=/trunk/mcs/; revision=153799
Marek Habersack [Wed, 17 Mar 2010 22:35:23 +0000 (22:35 -0000)]
2010-03-17 Marek Habersack <mhabersack@novell.com>
* AspGenerator.cs, AspParser.cs, TemplateControlCompiler.cs, TagType.cs, CodeRenderBuilder.cs: implemented the new <%: %> 4.0 html-encoded code render expression.
svn path=/trunk/mcs/; revision=153793
Gonzalo Paniagua Javier [Wed, 17 Mar 2010 19:10:08 +0000 (19:10 -0000)]
2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-semaphore.c: _timedwait takes an absolute time.
svn path=/trunk/mono/; revision=153786
Sebastien Pouliot [Wed, 17 Mar 2010 19:02:17 +0000 (19:02 -0000)]
2010-03-17 Sebastien Pouliot <sebastien@ximian.com>
* String.cs: SL4 includes new IsNullOrWhiteSpace and Concat/Join
overloads.
svn path=/trunk/mcs/; revision=153784
Carlos Alberto Cortez [Wed, 17 Mar 2010 18:12:09 +0000 (18:12 -0000)]
2010-03-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TimeSpan.cs: TimeSpan is actually implementing IFormattable.
svn path=/trunk/mcs/; revision=153781
Rodrigo Kumpera [Wed, 17 Mar 2010 17:46:29 +0000 (17:46 -0000)]
2010-03-17 Rodrigo Kumpera <rkumpera@novell.com>
* mini-*.c (mono_arch_output_basic_block): Record try block
* holes on all remaining archs. Alpha and hppa maintainers, please stand up.
svn path=/trunk/mono/; revision=153780
Zoltan Varga [Wed, 17 Mar 2010 15:02:39 +0000 (15:02 -0000)]
2010-03-17 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_build_imt_thunk): Always save and restore r11 since it
is needed even when fail_tramp!=NULL.
svn path=/trunk/mono/; revision=153768
Zoltan Varga [Wed, 17 Mar 2010 14:55:32 +0000 (14:55 -0000)]
2010-03-17 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (insert_breakpoint): Write a log message.
svn path=/trunk/mono/; revision=153766
Atsushi Eno [Wed, 17 Mar 2010 13:52:42 +0000 (13:52 -0000)]
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
* WsdlExporter.cs : allow identical contract while exporting a set
of endpoints, while reject identical ones when calling
ExportEndpoint() individually.
svn path=/trunk/mcs/; revision=153763
Atsushi Eno [Wed, 17 Mar 2010 13:26:23 +0000 (13:26 -0000)]
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
* MetadataExchangeBindings.cs : use WSHttpBinding (it works if other
parts gets fixed).
* MetadataExchangeBindingsTest.cs : new test.
* System.ServiceModel_test.dll.sources :
add MetadataExchangeBindingsTest.cs.
svn path=/trunk/mcs/; revision=153762
Atsushi Eno [Wed, 17 Mar 2010 13:19:09 +0000 (13:19 -0000)]
2010-03-17 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs, WsdlExporter.cs :
implement ExportEndpoints() and use it.
svn path=/trunk/mcs/; revision=153760