Sebastien Pouliot [Mon, 26 Oct 2009 12:11:04 +0000 (12:11 -0000)]
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* Assembly.cs: Share code between GetSatelliteAssembly and
GetSatelliteAssemblyNoThrow. For Moonlight ensure both
GetManifestResourceStream and GetSatelliteAssembly don't load
anything "below" the assembly path.
svn path=/trunk/mcs/; revision=144845
Sebastien Pouliot [Mon, 26 Oct 2009 12:03:12 +0000 (12:03 -0000)]
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* Consts.cs.in: Update SL2 FX version to the second (and last)
released version.
svn path=/trunk/mcs/; revision=144843
Sebastien Pouliot [Mon, 26 Oct 2009 11:55:17 +0000 (11:55 -0000)]
In System.Threading:
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* InterlockedTest.cs: Add test case for generic methods
ComapreExchange and Exchange
In System:
2009-10-26 Sebastien Pouliot <sebastien@ximian.com>
* TypeTest.cs: New. Add test cases for IsInstanceOfType
svn path=/trunk/mcs/; revision=144840
Zoltan Varga [Sun, 25 Oct 2009 22:01:54 +0000 (22:01 -0000)]
In libgc:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
In mono/mini:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* mini-posix.c (add_signal_handler): Delay the GC suspend signal while
executing a SIGSEGV handler on an altstack, since libgc can't handle that.
In mono/tests:
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* misc.c (GC_get_suspend_signal): New API function to return the suspend signal
used by libgc.
svn path=/trunk/mono/; revision=144828
Zoltan Varga [Sun, 25 Oct 2009 18:40:36 +0000 (18:40 -0000)]
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* threads.c (start_wrapper): Avoid an assert if thread_start_args () is NULL.
svn path=/trunk/mono/; revision=144827
Sebastien Pouliot [Sun, 25 Oct 2009 16:41:18 +0000 (16:41 -0000)]
In System.Threading:
2009-10-25 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs: Fix validations for Join and Sleep overloads
In Test/System.Threading:
2009-10-25 Sebastien Pouliot <sebastien@ximian.com>
* ThreadTest.cs: Add test cases for Current[UI]Culture (not
working), Name, Join, Sleep and SpinWait
svn path=/trunk/mcs/; revision=144824
Jb Evain [Sun, 25 Oct 2009 16:01:47 +0000 (16:01 -0000)]
update .net 4.0 version to beta 2
svn path=/trunk/mcs/; revision=144823
Zoltan Varga [Sun, 25 Oct 2009 01:25:42 +0000 (01:25 -0000)]
2009-10-25 Zoltan Varga <vargaz@gmail.com>
* threads.c (start_wrapper): Call mono_profiler_thread_start () later after
signalling start_notify.
svn path=/trunk/mono/; revision=144819
Geoff Norton [Sat, 24 Oct 2009 21:20:12 +0000 (21:20 -0000)]
make uri no braindead on mt
svn path=/trunk/mcs/; revision=144814
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 20:04:26 +0000 (20:04 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* appdomain.c: do not test the st_mode field for shadow-copies.
Fixes bug #545276.
svn path=/trunk/mono/; revision=144808
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 20:02:27 +0000 (20:02 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* threadpool.[ch]: added hooks for thread start/finish and item
processing begin/end. For monotouch use only.
svn path=/trunk/mono/; revision=144807
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 17:26:48 +0000 (17:26 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* DeflateStreamTest.cs: test from bug #549492.
svn path=/trunk/mcs/; revision=144802
Gonzalo Paniagua Javier [Sat, 24 Oct 2009 17:22:09 +0000 (17:22 -0000)]
2009-10-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* zlib-helper.c: stop trying to decompress when we get Z_STREAM_END.
Patch by Ives Bastide. Fixes bug #549942.
svn path=/trunk/mono/; revision=144799
Sebastien Pouliot [Sat, 24 Oct 2009 16:10:49 +0000 (16:10 -0000)]
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* StackFrame.cs: Relax GetSecureFileName when the coreclr is not
active (i.e. show full path when compiling with smcs)
svn path=/trunk/mcs/; revision=144797
Sebastien Pouliot [Sat, 24 Oct 2009 15:45:09 +0000 (15:45 -0000)]
In System.Reflection.Emit:
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyBuilder.cs: For Silverlight only AssemblyBuilderAccess.Run
is supported (browser-side) but we still allow other values when
compiling (e.g. smcs) outside the browser (wo coreclr)
* TypeBuilder.cs (GetConstructor): Fix validations
In Test/System.Reflection.Emit:
2009-10-24 Sebastien Pouliot <sebastien@ximian.com>
* TypeBuilderTest.cs: Validation test cases for GetConstructor
svn path=/trunk/mcs/; revision=144791
Mark Probst [Sat, 24 Oct 2009 09:03:26 +0000 (09:03 -0000)]
2009-10-24 Mark Probst <mark.probst@gmail.com>
* exceptions-x86.c (mono_arch_find_jit_info): Fix build.
svn path=/trunk/mono/; revision=144788
Zoltan Varga [Sat, 24 Oct 2009 02:43:19 +0000 (02:43 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mini_jit_info_table_find): Add an 'out_domain' argument
which will contain the domain where the method was found.
* exceptions-<ARCH>.c mini-exceptions.c: Update callers of
mini_jit_info_table_find ().
svn path=/trunk/mono/; revision=144782
Zoltan Varga [Sat, 24 Oct 2009 02:27:13 +0000 (02:27 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* threads.c (mono_thread_get_name): New helper function.
svn path=/trunk/mono/; revision=144779
Zoltan Varga [Sat, 24 Oct 2009 02:19:15 +0000 (02:19 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* reflection.c (resolve_object): Set handle_class for strings too.
(mono_reflection_create_custom_attr_data_args): New helper function to decode
a cattr blob into a set of arrays and structures without creating the custom
attributes themselves.
(create_custom_attr_data): Simplify using create_custom_attr_data_args.
* mono-debug.c (mono_debug_il_offset_from_address): New helper function.
* debug-mono-symfile.c (mono_debug_symfile_get_line_numbers): New helper
function.
svn path=/trunk/mono/; revision=144777
Zoltan Varga [Sat, 24 Oct 2009 00:56:31 +0000 (00:56 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (xdebug_end_emit): Remove so stray debug code.
svn path=/trunk/mono/; revision=144771
Jonathan Pobst [Sat, 24 Oct 2009 00:31:40 +0000 (00:31 -0000)]
2009-10-23 Jonathan Pobst <monkey@jpobst.com>
* Initial commit of some enums and infrastructure classes.
svn path=/trunk/mcs/; revision=144769
Zoltan Varga [Fri, 23 Oct 2009 23:27:40 +0000 (23:27 -0000)]
2009-10-24 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_if_conversion): Avoid running deadce if it is disabled.
svn path=/trunk/mono/; revision=144763
Rodrigo Kumpera [Fri, 23 Oct 2009 20:23:59 +0000 (20:23 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Replace calls to mono_class_inflate_generic_type with
mono_class_inflate_generic_type_checked. Fixes #480005.
svn path=/trunk/mono/; revision=144759
Rodrigo Kumpera [Fri, 23 Oct 2009 18:52:32 +0000 (18:52 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_inflate_generic_type_with_mempool): Clear the error
object since not all paths lead to callees initing it.
svn path=/trunk/mono/; revision=144755
Alexandre Gomes [Fri, 23 Oct 2009 18:26:49 +0000 (18:26 -0000)]
2009-10-23 Alexandre Gomes <alexmipego@gmail.com>
* Test/System.Net/WebClientTest.cs:
* System.Net/WebClient.cs: Fixed GetWebRequest overriding problems, bug:
https://bugzilla.novell.com/show_bug.cgi?id=549580
svn path=/trunk/mcs/; revision=144753
Carlos Alberto Cortez [Fri, 23 Oct 2009 17:38:13 +0000 (17:38 -0000)]
* ListView.cs: When retrieving an item in virtual mode, as part of the
process calculate its layout, instead of trying to do it later.
* ListViewItem.cs: There's no need to try to infer whether we need to
compute layout or not anymore - we just do it every time we are
returning an item.
This way we should be fixing View changes with cached items, which
were storing the previous value, and not updating their contents
properly.
2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=144751
Marek Safar [Fri, 23 Oct 2009 17:13:42 +0000 (17:13 -0000)]
Removed CLR2
svn path=/trunk/mcs/; revision=144748
Marek Safar [Fri, 23 Oct 2009 17:12:44 +0000 (17:12 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* Updated to r33356.
svn path=/trunk/mcs/; revision=144747
Alp Toker [Fri, 23 Oct 2009 15:43:49 +0000 (15:43 -0000)]
2009-10-23 Alp Toker <alp@nuanti.com>
* cilc.cs: Introduce and start to make use of disable_glib.
svn path=/trunk/mcs/; revision=144746
Marek Safar [Fri, 23 Oct 2009 15:27:25 +0000 (15:27 -0000)]
Commit correct version
svn path=/trunk/mcs/; revision=144743
Marek Safar [Fri, 23 Oct 2009 15:16:13 +0000 (15:16 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* RuntimeBinderContext.cs, Extensions.cs, CSharpBinder.cs: More
literal and constant work.
svn path=/trunk/mcs/; revision=144742
Alp Toker [Fri, 23 Oct 2009 15:14:20 +0000 (15:14 -0000)]
2009-10-23 Alp Toker <alp@nuanti.com>
Fix embedding API breakage from r144688. mono-compiler.h is an internal
header and should not be shipped:
* Makefile.am: Include newly added public header mono-error.h in HEADERS so
it gets installed.
2009-10-23 Alp Toker <alp@nuanti.com>
Fix embedding API breakage from r144688. mono-compiler.h is an internal
header and should not be shipped:
* class.h: Back out MONO_DEPRECATED change. Currently depends on config.h
which is specific to the mono build. Not going to work.
svn path=/trunk/mono/; revision=144741
Marek Safar [Fri, 23 Oct 2009 15:09:17 +0000 (15:09 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144740
Marek Safar [Fri, 23 Oct 2009 15:08:34 +0000 (15:08 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* constant.cs, nullable.cs, expression.cs, literal.cs, cfold.cs:
Separate NullConstant from NullLiteral.
svn path=/trunk/mcs/; revision=144739
Sebastien Pouliot [Fri, 23 Oct 2009 14:32:13 +0000 (14:32 -0000)]
2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
* security-manager.c: Report if core-clr is active from
ves_icall_System_Security_SecurityManager_get_SecurityEnabled
to allow Moonlight BCL to behave appropriately (both in browser
and outside, e.g. smcs)
svn path=/trunk/mono/; revision=144737
Rodrigo Kumpera [Fri, 23 Oct 2009 13:09:04 +0000 (13:09 -0000)]
2009-10-23 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile.am: Fix make dist.
svn path=/trunk/mono/; revision=144734
Sebastien Pouliot [Fri, 23 Oct 2009 12:53:41 +0000 (12:53 -0000)]
2009-10-23 Sebastien Pouliot <sebastien@ximian.com>
* SecurityManager_2_1.cs: Return to duty for SecurityEnabled, it
will allow us to distinguish between running in the browser
(coreclr active) and on the console (e.g. smcs) from managed code
svn path=/trunk/mcs/; revision=144732
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 12:05:17 +0000 (12:05 -0000)]
2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-config.c: ignore UTF-8 BOM and report parser errors.
Fixes bug #549108.
svn path=/trunk/mono/; revision=144728
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 09:53:24 +0000 (09:53 -0000)]
2009-10-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Configuration.cs: make this work again with bundled configuration
files. Fixes bug #495957. Patch from Tor Lillqvist.
svn path=/trunk/mcs/; revision=144722
Marek Safar [Fri, 23 Oct 2009 07:46:54 +0000 (07:46 -0000)]
Forget to commit
svn path=/trunk/mcs/; revision=144720
Marek Safar [Fri, 23 Oct 2009 07:42:36 +0000 (07:42 -0000)]
2009-10-23 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, eval.cs, decl.cs, roottypes.cs, context.cs,
anonymous.cs, expression.cs, rootcontext.cs, ecore.cs, class.cs,
flowanalysis.cs, cs-parser.jay, driver.cs, codegen.cs: Split
ModuleContainer. Add common unclosed member check routine.
svn path=/trunk/mcs/; revision=144719
Raja R Harinath [Fri, 23 Oct 2009 06:30:29 +0000 (06:30 -0000)]
* mono/tests/Makefile.am (modules.exe): Depend on TestDriver.dll too.
svn path=/trunk/mono/; revision=144714
Andreia Gaita [Fri, 23 Oct 2009 04:11:19 +0000 (04:11 -0000)]
* XmlConvert.cs: make ToUri static, fixes #548918 (moon)
2009-10-23 Andreia Gaita <avidigal@novell.com>
svn path=/trunk/mcs/; revision=144712
Atsushi Eno [Fri, 23 Oct 2009 03:38:55 +0000 (03:38 -0000)]
2009-10-23 Atsushi Enomoto <atsushi@ximian.com>
* monotouch_System.ServiceModel.Web.dll.sources:
adding experimental WebHttpBinding stuff.
svn path=/trunk/mcs/; revision=144707
Atsushi Eno [Fri, 23 Oct 2009 03:35:35 +0000 (03:35 -0000)]
2009-10-23 Atsushi Enomoto <atsushi@ximian.com>
* monotouch_System.Runtime.Serialization.dll.sources :
add OnXmlDictionaryReaderClose.cs.
svn path=/trunk/mcs/; revision=144706
Gonzalo Paniagua Javier [Fri, 23 Oct 2009 03:06:11 +0000 (03:06 -0000)]
begin/end decls
svn path=/trunk/mono/; revision=144705
Carlos Alberto Cortez [Fri, 23 Oct 2009 02:47:25 +0000 (02:47 -0000)]
* ColumnHeader.cs: Remove the double linear search in the Index
property, by removing the call to Contains, which is not needed.
Also, Columns collection can never be null.
2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=144702
Atsushi Eno [Fri, 23 Oct 2009 02:37:20 +0000 (02:37 -0000)]
add experimental monotouch build.
svn path=/trunk/mcs/; revision=144701
Carlos Alberto Cortez [Fri, 23 Oct 2009 02:19:13 +0000 (02:19 -0000)]
2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ColumnHeaderTest.cs: New test to ensure automatic width works as
expected with the last column.
svn path=/trunk/mcs/; revision=144699
Carlos Alberto Cortez [Fri, 23 Oct 2009 01:54:39 +0000 (01:54 -0000)]
2009-10-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ColumnHeader.cs: When calculating the width and height of the
column, try to expand to the right and use all the free space if we
are the last column *and* the resize mode is set to -2/header content.
Fixes #544716.
svn path=/trunk/mcs/; revision=144697
Jonathan Pobst [Thu, 22 Oct 2009 23:33:13 +0000 (23:33 -0000)]
- Add kumpera's mono-error stuff to hopefully fix the build.
svn path=/trunk/mono/; revision=144696
Gonzalo Paniagua Javier [Thu, 22 Oct 2009 22:49:03 +0000 (22:49 -0000)]
2009-10-22 Gonzalo Paniagua Javier <gonzalo@novell.com>
* class.c: fix typo.
svn path=/trunk/mono/; revision=144691
Rodrigo Kumpera [Thu, 22 Oct 2009 20:56:07 +0000 (20:56 -0000)]
2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
* class-internals.h: Change signature of mono_class_inflate_generic_type_with_mempool to take
a MonoError parameter.
* class.h: Mark mono_class_inflate_generic_type deprecated, add new mono_class_inflate_generic_type_checked
version that can does proper error handling.
* class.c (inflate_generic_type): Add a MonoError parameter. Don't assert on error, use new mono error machinery.
* class.c (mono_class_inflate_generic_type_with_mempool): Add new MonoError parameter.
* class.c, generics-sharing.c: Changes to handle mono_class_inflate_generic_type_with_mempool new signature.
svn path=/trunk/mono/; revision=144688
Rodrigo Kumpera [Thu, 22 Oct 2009 20:55:56 +0000 (20:55 -0000)]
2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
* configure.in: Add check for the deprecated attribute.
2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
* mono-compiler.h: Add MONO_DEPRECATED.
svn path=/trunk/mono/; revision=144687
Rodrigo Kumpera [Thu, 22 Oct 2009 20:55:46 +0000 (20:55 -0000)]
2009-10-22 Rodrigo Kumpera <rkumpera@novell.com>
* mono-error.c, mono-error.h, mono-error-internal.h: New error handling
structures and functions.
* Makefile.am: Add new files.
svn path=/trunk/mono/; revision=144686
Sebastien Pouliot [Thu, 22 Oct 2009 20:46:35 +0000 (20:46 -0000)]
In System.Threading:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* EventWaitHandle.cs: Add validation on the EventResetMode
parameter used in the constructors
In .:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Add System/WeakReferenceTest and
System.Threading/EventWaitHandleTest.cs
In Test/System.Threading:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* EventWaitHandleTest.cs: New. Test case for EventResetMode
validation
In Test/System:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* WeakReferenceTest.cs: New. Basic test cases
svn path=/trunk/mcs/; revision=144681
Gonzalo Paniagua Javier [Thu, 22 Oct 2009 20:17:50 +0000 (20:17 -0000)]
Added new library for TransmitFile (mswsock.lib)
svn path=/trunk/mono/; revision=144679
Marek Habersack [Thu, 22 Oct 2009 20:01:29 +0000 (20:01 -0000)]
2009-10-22 Marek Habersack <mhabersack@novell.com>
* ProfileBase.cs: put named entries into SettingProperty's
Attributes collection based on custom attributes decorating the
associated profile property.
* CustomProviderDataAttribute.cs: implemented IsDefaultAttribute
svn path=/trunk/mcs/; revision=144675
Zoltan Varga [Thu, 22 Oct 2009 19:59:38 +0000 (19:59 -0000)]
2009-10-22 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_emit_prolog): Disable aot for methods with save_lmf
set, its not supported yet.
svn path=/trunk/mono/; revision=144674
Zoltan Varga [Thu, 22 Oct 2009 19:53:11 +0000 (19:53 -0000)]
2009-10-22 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.
(mono_aot_get_method): Ditto for GetGenericValueImpl.
svn path=/trunk/mono/; revision=144672
Zoltan Varga [Thu, 22 Oct 2009 18:56:31 +0000 (18:56 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Fix the disassembly of empty strings when
NO_UNALIGNED_ACCESS is defined.
svn path=/trunk/mono/; revision=144668
Zoltan Varga [Thu, 22 Oct 2009 18:56:23 +0000 (18:56 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Fix the disassembly of empty strings when
NO_UNALIGNED_ACCESS is defined.
svn path=/trunk/mono/; revision=144667
Zoltan Varga [Thu, 22 Oct 2009 18:53:51 +0000 (18:53 -0000)]
2009-10-22 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Avoid asserting if a array generic
iface wrapper is not found.
svn path=/trunk/mono/; revision=144665
Marek Habersack [Thu, 22 Oct 2009 18:32:35 +0000 (18:32 -0000)]
2009-10-22 Marek Habersack <mhabersack@novell.com>
* WsdlBuildProvider.cs: a different way to generate code from
wsdl. Code is generated in the top-level namespace to match .NET
svn path=/trunk/mcs/; revision=144662
Jonathan Pryor [Thu, 22 Oct 2009 18:18:49 +0000 (18:18 -0000)]
* AssemblyInfo.cs: Use Consts.FxVersion when building for MONOTOUCH.
svn path=/trunk/mcs/; revision=144659
Atsushi Eno [Thu, 22 Oct 2009 18:08:45 +0000 (18:08 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : disable concurrent channel acceptance
until it gets working fine.
svn path=/trunk/mcs/; revision=144657
Atsushi Eno [Thu, 22 Oct 2009 18:07:42 +0000 (18:07 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : remove CWLs.
svn path=/trunk/mcs/; revision=144656
Zoltan Varga [Thu, 22 Oct 2009 17:49:01 +0000 (17:49 -0000)]
2009-10-22 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_string_builder_to_utf16): Applied patch from
Hib Eris <hib@hiberis.nl>. Return empty string for empty string builders.
Fixes #549173.
svn path=/trunk/mono/; revision=144653
Atsushi Eno [Thu, 22 Oct 2009 16:40:53 +0000 (16:40 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : move back previous listener selector code in
ProcessRequest(). Unlike HttpListener, ASP.NET does not refine
and differentiate requests to deeper paths (such as /jsdebug), so
we need such refinement here.
svn path=/trunk/mcs/; revision=144652
Lluis Sanchez [Thu, 22 Oct 2009 16:22:57 +0000 (16:22 -0000)]
2009-10-22 Lluis Sanchez Gual <lluis@novell.com>
* CodeNamespaceImportCollection.cs: Properly update the internal
keys hashtable when there are changes in the items.
svn path=/trunk/mcs/; revision=144649
Atsushi Eno [Thu, 22 Oct 2009 16:08:59 +0000 (16:08 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : partly revert previous sorting fix in
Sep.28th. Do not sort and mix members in base and derived types.
Fixed bug #546238.
svn path=/trunk/mcs/; revision=144647
Mark Probst [Thu, 22 Oct 2009 13:58:13 +0000 (13:58 -0000)]
2009-10-22 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Shorten sections whenever possible.
svn path=/trunk/mono/; revision=144644
Marek Safar [Thu, 22 Oct 2009 13:57:43 +0000 (13:57 -0000)]
2009-10-22 Marek Safar <marek.safar@gmail.com>
* argument.cs: Use literal flag for real literals only.
* dynamic.cs: Use correct return type for custom delegates.
svn path=/trunk/mcs/; revision=144643
Marek Safar [Thu, 22 Oct 2009 13:56:17 +0000 (13:56 -0000)]
2009-10-22 Marek Safar <marek.safar@gmail.com>
* *.cs: Cleanup the old API.
svn path=/trunk/mcs/; revision=144642
Marek Safar [Thu, 22 Oct 2009 12:32:32 +0000 (12:32 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144636
Marek Safar [Thu, 22 Oct 2009 12:31:27 +0000 (12:31 -0000)]
2009-10-22 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, expression.cs: Pass logical binary flag to dynamic
resolver.
svn path=/trunk/mcs/; revision=144635
Sebastien Pouliot [Thu, 22 Oct 2009 11:51:31 +0000 (11:51 -0000)]
In System.Threading:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* Monitor.cs: Fix validations for TryEnter and Wait. Reduce
duplicated code between overloads.
In Test/System.Threading:
2009-10-22 Sebastien Pouliot <sebastien@ximian.com>
* MonitorTest.cs: Mark existing tests as "NotWorking" since they
fail in MS FX2 (maybe they worked in 1.x?). Add more test cases
to validate the TryEnter and Wait overloaded methods.
svn path=/trunk/mcs/; revision=144627
Atsushi Eno [Thu, 22 Oct 2009 10:49:04 +0000 (10:49 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs : channelDispatchers is keyed by URL,
so it might have been skipped when the URLs are the same for wsdl
and help. So, differentiate flags for mex and help, not to be
exclusive. This fixes random-ish EndpointNotFound for WSDLs.
* HttpListenerManager.cs : dependent fix to ServiceMetadataExtension
changes.
svn path=/trunk/mcs/; revision=144625
Marek Safar [Thu, 22 Oct 2009 09:16:48 +0000 (09:16 -0000)]
2009-10-22 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, ecore.cs: Dynamic invocation with void return type.
svn path=/trunk/mcs/; revision=144620
Marek Safar [Thu, 22 Oct 2009 09:09:46 +0000 (09:09 -0000)]
NET_2_0 cleanup
svn path=/trunk/mcs/; revision=144618
Marek Safar [Thu, 22 Oct 2009 09:09:19 +0000 (09:09 -0000)]
Fixed Clear signature
svn path=/trunk/mcs/; revision=144617
Marek Safar [Thu, 22 Oct 2009 09:08:52 +0000 (09:08 -0000)]
2009-10-22 Marek Safar <marek.safar@gmail.com>
* StructuralComparisons.cs: Implemented.
* SortedList.cs Add nicer debug view for tools which support it.
svn path=/trunk/mcs/; revision=144616
Atsushi Eno [Thu, 22 Oct 2009 07:01:40 +0000 (07:01 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs, HttpReplyChannel.cs, AspNetReplyChannel.cs,
HttpChannelListener.cs, HttpListenerManager.cs :
Similar refactoring on ASP.NET side to the previous one.
Added ASP.NET implementation of HttpListenerManager and use some
part of it in SvcHttpHandler (ASP.NET stack does not fully make use
of the manager yet).
Rewrote AspNetReplyChannel to become almost the same as
HttpSimpleReplyChannel, to hopefully unify them later.
Now it dispatches requests to *.svc for wsdl, help and SOAP as long
as ServiceThrottle has MaxConcurrentSessions=1. Also REST calls
are still broken.
svn path=/trunk/mcs/; revision=144605
Carlo Kok [Thu, 22 Oct 2009 06:41:25 +0000 (06:41 -0000)]
* Fixed AssemblyInfo.cs to reflect proper copyright.
svn path=/trunk/mcs/; revision=144604
Carlo Kok [Thu, 22 Oct 2009 06:37:56 +0000 (06:37 -0000)]
* RuntimeLicenseContext.cs: Support for the resourceAssembly parameter.
svn path=/trunk/mcs/; revision=144603
Miguel de Icaza [Thu, 22 Oct 2009 06:16:10 +0000 (06:16 -0000)]
oops
svn path=/trunk/mcs/; revision=144602
Miguel de Icaza [Thu, 22 Oct 2009 06:14:26 +0000 (06:14 -0000)]
2009-10-22 Miguel de Icaza <miguel@novell.com>
* StringBuilder.cs (Text): Add new 4.0 method.
svn path=/trunk/mcs/; revision=144601
Miguel de Icaza [Thu, 22 Oct 2009 06:11:38 +0000 (06:11 -0000)]
2009-10-22 Miguel de Icaza <miguel@novell.com>
* String.cs (IsNullOrWhiteSpace, Concat, Join): New 4.0 methods.
* IntPtr.cs (Add, Subtract): New 4.0 methods.
* Tuple.cs: Updated signature.
svn path=/trunk/mcs/; revision=144600
Miguel de Icaza [Thu, 22 Oct 2009 03:19:06 +0000 (03:19 -0000)]
2009-10-21 Miguel de Icaza <miguel@novell.com>
* BinaryWriter.cs, BinaryReader.cs: 4.0 signature update.
* File.cs (ReadLines, AppendAllLines, WriteAllLines): Add
IEnumerable methods.
* Path.cs (Combine): add the params overload.
svn path=/trunk/mcs/; revision=144597
Atsushi Eno [Thu, 22 Oct 2009 03:15:49 +0000 (03:15 -0000)]
2009-10-22 Atsushi Enomoto <atsushi@ximian.com>
* ServiceMetadataExtension.cs : A few fixes for no-wsdl case: fix
wrong html template, and do not throw NRE for the lack of WsdlUrl.
svn path=/trunk/mcs/; revision=144596
Miguel de Icaza [Thu, 22 Oct 2009 02:52:58 +0000 (02:52 -0000)]
Fix build
svn path=/trunk/mcs/; revision=144593
Gonzalo Paniagua Javier [Thu, 22 Oct 2009 02:13:48 +0000 (02:13 -0000)]
Add man page for lc
svn path=/trunk/mono/; revision=144589
Mark Probst [Wed, 21 Oct 2009 23:41:01 +0000 (23:41 -0000)]
2009-10-22 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Use our portable semaphore #defines.
svn path=/trunk/mono/; revision=144587
Mark Probst [Wed, 21 Oct 2009 22:48:37 +0000 (22:48 -0000)]
2009-10-22 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: A debug option for dumping the heap layout to a file
after each collection.
svn path=/trunk/mono/; revision=144584
Gonzalo Paniagua Javier [Wed, 21 Oct 2009 21:40:02 +0000 (21:40 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* sockets.[ch]: fix function definition.
svn path=/trunk/mono/; revision=144576
Gonzalo Paniagua Javier [Wed, 21 Oct 2009 21:38:07 +0000 (21:38 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* socket-io.[ch]: fix VS build.
svn path=/trunk/mono/; revision=144573
Zoltan Varga [Wed, 21 Oct 2009 21:03:15 +0000 (21:03 -0000)]
2009-10-21 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Fix support for the IList<T> wrappers,
which have a different name.
svn path=/trunk/mono/; revision=144569
Zoltan Varga [Wed, 21 Oct 2009 19:35:04 +0000 (19:35 -0000)]
2009-10-21 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Special case the array generic iface
wrappers and Array.GetGenericValueImpl ().
* aot-compiler.c: Avoid emitting some wrappers which are not needed anymore
because of the change above.
* generics.cs: Add a test for full aot + generic array ifaces.
svn path=/trunk/mono/; revision=144565
Marek Habersack [Wed, 21 Oct 2009 19:11:40 +0000 (19:11 -0000)]
2009-10-21 Marek Habersack <mhabersack@novell.com>
* CacheItemPriorityQueue.cs: lock the queue on enqueue/dequeue
svn path=/trunk/mcs/; revision=144562
Marek Safar [Wed, 21 Oct 2009 16:50:39 +0000 (16:50 -0000)]
2009-10-21 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, convert.cs, expression.cs, ecore.cs: Wrap array index
conversion.
svn path=/trunk/mcs/; revision=144557