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
Jb Evain [Wed, 21 Oct 2009 16:48:08 +0000 (16:48 -0000)]
2009-10-21 Jb Evain <jbevain@novell.com>
* SerializationMap.cs, KnownTypeCollection.cs: avoid using LINQ
on arrays as MonoTouch has issues with them.
svn path=/trunk/mcs/; revision=144553
Marek Safar [Wed, 21 Oct 2009 14:26:30 +0000 (14:26 -0000)]
2009-10-21 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, dynamic.cs, expression.cs: Don't resolve runtime
binder flags.
svn path=/trunk/mcs/; revision=144545
Mark Probst [Wed, 21 Oct 2009 13:10:21 +0000 (13:10 -0000)]
2009-10-21 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Make managed write barriers atomic via
thread-restarts.
svn path=/trunk/mono/; revision=144543
Rodrigo Kumpera [Wed, 21 Oct 2009 12:49:23 +0000 (12:49 -0000)]
2009-10-21 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_delegate_compatibility): Properly verify delegate creation of static
methods. Fixes #543021.
svn path=/trunk/mono/; revision=144534
Sebastien Pouliot [Wed, 21 Oct 2009 12:18:22 +0000 (12:18 -0000)]
In System.Threading:
2009-10-21 Sebastien Pouliot <sebastien@ximian.com>
* WaitHandle.cs: Add missing validations for 'millisecondsTimeout'
in Wait[One|Any|All]. Also call the overloaded (bool) methods for
WaitAll to reduce code duplication.
In .:
2009-10-21 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Add System.Threading/WaitHandleTest.cs
In Test/System.Threading:
2009-10-21 Sebastien Pouliot <sebastien@ximian.com>
* WaitHandleTest.cs: New. Add test cases for Wait[One|All|Any]
methods overloads (at least the one present in Silverlight 2)
svn path=/trunk/mcs/; revision=144529
Marek Safar [Wed, 21 Oct 2009 12:11:05 +0000 (12:11 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144528
Gonzalo Paniagua Javier [Wed, 21 Oct 2009 06:43:39 +0000 (06:43 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: implement *SendFile().
svn path=/trunk/mcs/; revision=144510
Gonzalo Paniagua Javier [Wed, 21 Oct 2009 06:34:28 +0000 (06:34 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* icall-def.h:
* socket-io.[ch]: implemented SendFile.
svn path=/trunk/mono/; revision=144507
Gonzalo Paniagua Javier [Wed, 21 Oct 2009 06:31:05 +0000 (06:31 -0000)]
2009-10-21 Gonzalo Paniagua Javier <gonzalo@novell.com>
* sockets.[ch]: added TransmitFile implementation.
svn path=/trunk/mono/; revision=144504
Marek Habersack [Tue, 20 Oct 2009 21:28:47 +0000 (21:28 -0000)]
1.1 code removal for System.Web/*
svn path=/trunk/mcs/; revision=144494
Marek Habersack [Tue, 20 Oct 2009 19:21:39 +0000 (19:21 -0000)]
2009-10-20 Marek Habersack <mhabersack@novell.com>
* OutputCacheModule.cs: keysCache and entriesToInvalidate
dictionaries are allocated only when they are
required. BuildManager's RemoveEntry envent is subscribed to only
if cache actually has some entries.
Added support for post-cache substitution.
* CachedRawResponse.cs: data is stored in a list of DataItem
instances instead of just in a single buffer. This enables support
for post-cache substitution.
2009-10-20 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: implemented the WriteSubstitution method,
thus enabling post-cache substitution.
svn path=/trunk/mcs/; revision=144487
Marek Safar [Tue, 20 Oct 2009 19:19:01 +0000 (19:19 -0000)]
Fixes build
svn path=/trunk/mcs/; revision=144486
Zoltan Varga [Tue, 20 Oct 2009 19:01:44 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_create_from_typedef): Initialize class->element_class
before the interfaces to avoid crashes later if class initialization fails.
Fixes #548417.
svn path=/trunk/mono/; revision=144483
Zoltan Varga [Tue, 20 Oct 2009 19:01:37 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* libtest.c pinvoke2.cs: Add a test for #548276.
svn path=/trunk/mono/; revision=144482
Zoltan Varga [Tue, 20 Oct 2009 19:01:31 +0000 (19:01 -0000)]
2009-10-20 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_vtype): Implement byref marshalling of DateTime.
Fixes #548276.
svn path=/trunk/mono/; revision=144481
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 18:31:41 +0000 (18:31 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ApplicationHost.cs: set the shadow copy options calling the methods
in AppDomain, instead of setting them in a copy of the setup
information.
svn path=/trunk/mcs/; revision=144478
Marek Safar [Tue, 20 Oct 2009 17:55:55 +0000 (17:55 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* argument.cs, dynamic.cs, expression.cs: Latest API update.
svn path=/trunk/mcs/; revision=144476
Marek Safar [Tue, 20 Oct 2009 17:54:32 +0000 (17:54 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144475
Marek Safar [Tue, 20 Oct 2009 17:53:49 +0000 (17:53 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* *.cs: Update to the latest API.
svn path=/trunk/mcs/; revision=144474
Sebastien Pouliot [Tue, 20 Oct 2009 15:52:42 +0000 (15:52 -0000)]
In System.Threading:
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* Timer.cs: Always call Init from every constructors to avoid
duplicate checks. Fix validations on different dueTime and period
(ctor and Change methods). Seal private TimerComparer class and
avoid multiple (identical) casts in its Compare method. Seal
private Scheduler class.
In Test/System.Threading:
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* TimerTest.cs: Add more validation tests
svn path=/trunk/mcs/; revision=144466
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 15:29:04 +0000 (15:29 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Timer.cs: make sure we don't insert 2 timers with the same key.
svn path=/trunk/mcs/; revision=144462
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 15:25:31 +0000 (15:25 -0000)]
2009-10-20 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ServerContext.cs:
* SslServerStream.cs: add new parameter that forces sending the
CertificateRequest record. Make sure we raise the client certificate
validation event when it is requested or required.
svn path=/trunk/mcs/; revision=144459
Marek Safar [Tue, 20 Oct 2009 13:09:14 +0000 (13:09 -0000)]
Add type variance
svn path=/trunk/mcs/; revision=144456
Marek Safar [Tue, 20 Oct 2009 13:04:51 +0000 (13:04 -0000)]
4.0 bootstrap
svn path=/trunk/mcs/; revision=144455
Sebastien Pouliot [Tue, 20 Oct 2009 12:04:13 +0000 (12:04 -0000)]
2009-10-20 Sebastien Pouliot <sebastien@ximian.com>
* MonoProperty.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144448
Marek Safar [Tue, 20 Oct 2009 11:14:44 +0000 (11:14 -0000)]
More 1.1 removal
svn path=/trunk/mcs/; revision=144445
Marek Safar [Tue, 20 Oct 2009 11:09:15 +0000 (11:09 -0000)]
Still some 1.1 references
svn path=/trunk/mcs/; revision=144442
Marek Safar [Tue, 20 Oct 2009 11:08:01 +0000 (11:08 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* domain.c: Bump 4.0 version.
svn path=/trunk/mcs/; revision=144441
Marek Safar [Tue, 20 Oct 2009 11:07:25 +0000 (11:07 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* domain.c: Bump 4.0 version.
svn path=/trunk/mono/; revision=144440
Marek Safar [Tue, 20 Oct 2009 10:34:39 +0000 (10:34 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* SortedList.cs, LinkedList.cs, Queue.cs, Stack.cs,
SortedDictionary.cs: Improve debugging experience.
svn path=/trunk/mcs/; revision=144438
Marek Safar [Tue, 20 Oct 2009 10:32:19 +0000 (10:32 -0000)]
2009-10-20 Marek Safar <marek.safar@gmail.com>
* List.cs, CollectionDebuggerView.cs, KeyValuePair.cs, Dictionary.cs
Improve debugging experience.
svn path=/trunk/mcs/; revision=144437
Marek Safar [Tue, 20 Oct 2009 09:30:33 +0000 (09:30 -0000)]
Updated.
svn path=/trunk/mcs/; revision=144435
Marek Safar [Tue, 20 Oct 2009 09:15:06 +0000 (09:15 -0000)]
Add few more simple bits.
svn path=/trunk/mcs/; revision=144432
Jb Evain [Tue, 20 Oct 2009 09:03:19 +0000 (09:03 -0000)]
2009-10-20 Jb Evain <jbevain@novell.com>
* Thread.cs: change type of the current_appcontext field to object
to avoid triggering static constructors unless explicitely required.
svn path=/trunk/mcs/; revision=144431
Atsushi Eno [Tue, 20 Oct 2009 06:43:01 +0000 (06:43 -0000)]
2009-10-20 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs, HttpChannelListener.cs, HttpListenerManager.cs:
Refactoring on listener manager to correctly handle wsdl and help
requests for such case that they conflict in addressing. Now it
can correctly distinguish service calls, WSDL requests and help
requests when all of them point to "http://localhost/foo.svc"
(which is very common case that the user does not change Http*Url).
* ServiceMetadataExtension.cs : restructure internal channel property
so that http channels can cope with it.
svn path=/trunk/mcs/; revision=144419
Miguel de Icaza [Tue, 20 Oct 2009 01:13:13 +0000 (01:13 -0000)]
Additionificate System.Numerics
svn path=/trunk/mcs/; revision=144417
Gonzalo Paniagua Javier [Tue, 20 Oct 2009 01:00:48 +0000 (01:00 -0000)]
fix typo
svn path=/trunk/mono/; revision=144416
Marek Safar [Mon, 19 Oct 2009 22:07:40 +0000 (22:07 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* CollectionDebuggerView.cs: New file.
svn path=/trunk/mcs/; revision=144414
Marek Safar [Mon, 19 Oct 2009 22:00:03 +0000 (22:00 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* IObservable.cs, IObserver.cs: New files.
* EventHandler.cs: Cleanup.
svn path=/trunk/mcs/; revision=144413
Marek Habersack [Mon, 19 Oct 2009 20:59:08 +0000 (20:59 -0000)]
2009-10-19 Marek Habersack <mhabersack@novell.com>
* ASPState.sql: added - schema for the SQL session state server
database.
2009-10-19 Marek Habersack <mhabersack@novell.com>
* SessionStateModule.cs: enabled SQL session state provider.
* SessionSQLServerHandler.cs: implemented. Uses System.Data.Common
for provider-agnostic implementation. Until an issue with Npgsql's
2.0 factory missing is resolved it defaults to using
Mono.Data.Sqlite as the provider.
Selecting of the data provider is done by putting DbProviderName
in the connection string specified in the
<system.web/sessionState> configuration section.
svn path=/trunk/mcs/; revision=144412
Sebastien Pouliot [Mon, 19 Oct 2009 19:36:25 +0000 (19:36 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* assembly.c (mono_assembly_load_reference): Fix leak when 'status'
code is known. (parse_public_key) Remove duplicate (unneeded) NULL
check since 'pubkey' can't be NULL at this stage
* icall.c (ves_icall_System_Array_FastCopy): Add comment about
the check. (ves_icall_Type_GetInterfaceMapData) Remove duplicate
initialization of 'iter'
svn path=/trunk/mono/; revision=144403
Sebastien Pouliot [Mon, 19 Oct 2009 19:35:26 +0000 (19:35 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* aot-compiler.c (emit_plt): Remove duplicate 'debug_sym' variable
that hides the previous one.
svn path=/trunk/mono/; revision=144402
Marek Safar [Mon, 19 Oct 2009 18:24:41 +0000 (18:24 -0000)]
4.0 b2 update
svn path=/trunk/mcs/; revision=144396
Michael Hutchinson [Mon, 19 Oct 2009 17:04:51 +0000 (17:04 -0000)]
2009-10-19 Michael Hutchinson <mhutchinson@novell.com>
* CSharpCodeGenerator.cs: Remove #if NET_2_0 as they're unneeded
now, and this makes it easier to sync with MD's branched copy.
svn path=/trunk/mcs/; revision=144388
Marek Safar [Mon, 19 Oct 2009 14:40:49 +0000 (14:40 -0000)]
2009-10-19 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, expression.cs: Dynamic array initializer.
svn path=/trunk/mcs/; revision=144382
Jb Evain [Mon, 19 Oct 2009 14:32:45 +0000 (14:32 -0000)]
revert 144379
svn path=/trunk/mcs/; revision=144380
Jb Evain [Mon, 19 Oct 2009 14:26:55 +0000 (14:26 -0000)]
2009-10-19 Jb Evain <jbevain@novell.com>
* JsonObject.cs, JsonArray.cs: backport r142424 and r143432.
svn path=/trunk/mcs/; revision=144379
Sebastien Pouliot [Mon, 19 Oct 2009 11:47:47 +0000 (11:47 -0000)]
2009-10-19 Sebastien Pouliot <sebastien@ximian.com>
* MonoEvent.cs: Reduce code duplication and the number of direct
calls to icalls (affecting the number of SecuritySafeCritical in
Moonlight)
svn path=/trunk/mcs/; revision=144363