Zoltan Varga [Mon, 17 May 2010 13:52:49 +0000 (13:52 -0000)]
2010-05-17 Zoltan Varga <vargaz@gmail.com>
* mono-2.pc.in (Libs): Remove glib dependencies.
svn path=/trunk/mono/; revision=157449
Atsushi Eno [Mon, 17 May 2010 12:58:18 +0000 (12:58 -0000)]
2010-05-17 Atsushi Enomoto <atsushi@ximian.com>
* XamlWriterStateManager.cs : on object writer, reject more write
namespace order. (I should really unuse it for object writer.)
* XamlObjectWriter.cs : result is set at end object. Do not reject
non-collection in this writer. I'm totally no idea why it should
not do so though.
* XamlObjectWriterTest.cs : fix and enable some tests.
svn path=/trunk/mcs/; revision=157446
Marek Safar [Mon, 17 May 2010 11:33:29 +0000 (11:33 -0000)]
New test.
svn path=/trunk/mcs/; revision=157441
Marek Safar [Mon, 17 May 2010 11:32:36 +0000 (11:32 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=157440
Marek Habersack [Mon, 17 May 2010 10:58:08 +0000 (10:58 -0000)]
2010-05-17 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: pre-application start methods must be
called even before App_Code is compiled.
2010-05-17 Marek Habersack <mhabersack@novell.com>
* BuildProvider.cs: made the Extension property case-insensitive
2010-05-17 Marek Habersack <mhabersack@novell.com>
* BuildProvider.cs: implemented a 4.0 method RegisterBuildProvider
* BuildManager.cs: separated dynamically registered assemblies
store from the referenced assemblies cache.
svn path=/trunk/mcs/; revision=157435
Carlos Alberto Cortez [Mon, 17 May 2010 10:13:29 +0000 (10:13 -0000)]
2010-05-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: When drawing the contents of our tabs use
TabControl.Padding instead of BorderThickness and FocusRectSpacing.
* CheckBoxPainter.cs, RadioButtonPainter.cs: Added.
svn path=/trunk/mcs/; revision=157428
Marek Safar [Mon, 17 May 2010 09:54:06 +0000 (09:54 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157426
Marek Safar [Mon, 17 May 2010 09:53:20 +0000 (09:53 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157425
Marek Safar [Mon, 17 May 2010 09:52:56 +0000 (09:52 -0000)]
2010-05-17 Marek Safar <marek.safar@gmail.com>
* typespec.cs, expression.cs, statement.cs, ecore.cs, complete.cs,
delegate.cs: Member instance is resolved after member overload
definitely resolves static/instance property of member expression.
Fixes #545047, #358848, #456605, #460016, #603299
svn path=/trunk/mcs/; revision=157424
Carlos Alberto Cortez [Mon, 17 May 2010 09:48:46 +0000 (09:48 -0000)]
* TabControlPainter.cs: Don't use FocusRectSpacing or BorderThickess
to calculate the interior rectangle to draw the tab contents, as
TabControl.Padding is enough - we had been ignoring it. This make
should our tab look more like that one in .net.
2010-05-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=157423
Carlos Alberto Cortez [Mon, 17 May 2010 09:00:12 +0000 (09:00 -0000)]
2010-05-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: When drawing tabs, use TabControl.Padding into
account for the interior rectangle for the text/image contents.
Fixes the remaining bits of #604034.
svn path=/trunk/mcs/; revision=157419
Atsushi Eno [Mon, 17 May 2010 08:42:03 +0000 (08:42 -0000)]
2010-05-17 Atsushi Enomoto <atsushi@ximian.com>
* Enum.cs : TryParse() should raise ArgumentException when the
type parameter is not an enum. Fixed bug #604134
* EnumTest.cs : add test for bug #604134.
svn path=/trunk/mcs/; revision=157416
Atsushi Eno [Mon, 17 May 2010 08:25:04 +0000 (08:25 -0000)]
2010-05-17 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : fix extender search index for LastIndexOf().
Fixed bug #605094.
* StringTest.cs : add test for bug #605094.
svn path=/trunk/mcs/; revision=157414
Gonzalo Paniagua Javier [Mon, 17 May 2010 05:05:47 +0000 (05:05 -0000)]
2010-05-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Timer.cs: check object reference when the timers are equal.
Fixes bug #605092.
svn path=/trunk/mcs/; revision=157410
Zoltan Varga [Mon, 17 May 2010 00:35:34 +0000 (00:35 -0000)]
2010-05-17 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_build_imt_thunk): Fix the fail_tramp case.
svn path=/trunk/mono/; revision=157409
Zoltan Varga [Sun, 16 May 2010 23:26:03 +0000 (23:26 -0000)]
2010-05-17 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Use fast generic virtual method invocation
if gshared is enabled, to avoid asserts in the trampoline code.
* mini-ia64.c (mono_arch_build_imt_thunk): Implement generalized imt thunks
on ia64.
svn path=/trunk/mono/; revision=157408
Carlos Alberto Cortez [Sun, 16 May 2010 22:11:57 +0000 (22:11 -0000)]
0201-05-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: The text for our tabs should always be
vertically centered, and it should be horizontally centered if the
size mode is Fixed. Patch from Thomas Goldstein (stifu@free.fr).
Fixes part of #599841.
svn path=/trunk/mcs/; revision=157406
Zoltan Varga [Sun, 16 May 2010 19:33:38 +0000 (19:33 -0000)]
2010-05-16 Zoltan Varga <vargaz@gmail.com>
* mono-debug.c (mono_debug_cleanup): Fix a crash in the previous change.
svn path=/trunk/mono/; revision=157403
Zoltan Varga [Sun, 16 May 2010 13:06:12 +0000 (13:06 -0000)]
Another try at fixing the freebsd build.
svn path=/trunk/mono/; revision=157396
Zoltan Varga [Sun, 16 May 2010 02:59:06 +0000 (02:59 -0000)]
Fix the freebsd build.
svn path=/trunk/mono/; revision=157394
Marek Habersack [Sun, 16 May 2010 01:55:10 +0000 (01:55 -0000)]
2010-05-16 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: do not cache referenced assemblies until it's
safe.
2010-05-16 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: let BuildManager know when it's safe
to cache referenced assemblies.
svn path=/trunk/mcs/; revision=157391
Geoff Norton [Sun, 16 May 2010 01:15:07 +0000 (01:15 -0000)]
2010-05-15 Geoff Norton <gnorton@novell.com>
* dwarfwriter.c, xdebug.c: Fix a pretty large leak when running in
xdebug mode.
svn path=/trunk/mono/; revision=157390
Geoff Norton [Sun, 16 May 2010 01:15:03 +0000 (01:15 -0000)]
2010-05-15 Geoff Norton <gnorton@novell.com>
* mono-debug.c: Fix a leak of the global table on shutdown.
svn path=/trunk/mono/; revision=157389
Geoff Norton [Sun, 16 May 2010 01:14:59 +0000 (01:14 -0000)]
2010-05-15 Geoff Norton <gnorton@novell.com>
* debug-mono-symfile.(c|h): Add mono_debug_symfile_free_location
to clean up MonoDebugSourceLocation's.
svn path=/trunk/mono/; revision=157388
Zoltan Varga [Sat, 15 May 2010 21:35:03 +0000 (21:35 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=157387
Zoltan Varga [Sat, 15 May 2010 21:34:56 +0000 (21:34 -0000)]
2010-05-15 Zoltan Varga <vargaz@gmail.com>
* src/glib.h (g_error): Add a for (;;) after the call to tell GCC this doesn't
return, fixing some warnings.
svn path=/trunk/mono/; revision=157386
Marek Safar [Sat, 15 May 2010 21:18:13 +0000 (21:18 -0000)]
2010-05-15 Marek Safar <marek.safar@gmail.com>
* KeyValuePair.cs: Initialize fields definitely.
svn path=/trunk/mcs/; revision=157385
Carlos Alberto Cortez [Sat, 15 May 2010 09:04:22 +0000 (09:04 -0000)]
2010-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlTest.cs: New test for ItemSize.
svn path=/trunk/mcs/; revision=157383
Carlos Alberto Cortez [Sat, 15 May 2010 08:38:32 +0000 (08:38 -0000)]
2010-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlPainter.cs: Reduce the height for our default item size,
as we were ignoring the padding before.
svn path=/trunk/mcs/; revision=157382
Carlos Alberto Cortez [Sat, 15 May 2010 08:38:08 +0000 (08:38 -0000)]
2010-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: ItemSize should be returning two times the padding
values instead of one.
svn path=/trunk/mcs/; revision=157381
Geoff Norton [Sat, 15 May 2010 03:32:31 +0000 (03:32 -0000)]
2010-05-14 Geoff Norton <gnorton@novell.com>
* exceptions-x86.c: Fix the alignment of this trampoline so we dont get a
misaligned stack on darwin.
svn path=/trunk/mono/; revision=157380
Marek Habersack [Sat, 15 May 2010 02:29:51 +0000 (02:29 -0000)]
This expression builder is implemented now
svn path=/trunk/mono/; revision=157379
Marek Habersack [Sat, 15 May 2010 02:29:09 +0000 (02:29 -0000)]
2010-05-14 Marek Habersack <mhabersack@novell.com>
* AssemblyInfo.cs: this assembly should be signed with winfx.pub
2010-05-15 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: added internal Context property
* HttpRequest.cs: added a setter to the internal Context property
* HttpContext.cs: set request and response Context properties to
'this' in the constructor.
2010-05-15 Marek Habersack <mhabersack@novell.com>
* Control.cs: implemented 4.0 GetRouteUrl overloads and
GetUniqueIDRelativeTo
2010-05-15 Marek Habersack <mhabersack@novell.com>
* RouteValueExpressionBuilder.cs: added
* RouteUrlExpressionBuilder.cs: implemented
svn path=/trunk/mcs/; revision=157378
Carlos Alberto Cortez [Fri, 14 May 2010 21:57:35 +0000 (21:57 -0000)]
2010-05-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: ItemSize should include the padding value.
Update the retrieval of this info in SizeTab as well.
Fixes part of #604034.
svn path=/trunk/mcs/; revision=157373
Atsushi Eno [Fri, 14 May 2010 16:42:06 +0000 (16:42 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* DuplexChannelBase.cs
ReplyChannelBase.cs
TcpChannelListener.cs
ChannelListenerBase_1.cs
PeerChannelListener.cs
HttpChannelListener.cs
NamedPipeChannelListener.cs:
do the same for channel listener,reply channels and
duplex channels.
svn path=/trunk/mcs/; revision=157368
Atsushi Eno [Fri, 14 May 2010 16:32:10 +0000 (16:32 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs, RequestChannelBase.cs : support
MessageVersion in GetProperty<T>() for many transport channels.
svn path=/trunk/mcs/; revision=157367
Atsushi Eno [Fri, 14 May 2010 16:22:18 +0000 (16:22 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs
TcpChannelFactory.cs
ChannelFactoryBase.cs
NamedPipeChannelFactory.cs
PeerChannelFactory.cs
RequestChannelBase.cs : commonize MessageEncoder.
(Commented out GetPrpoerty<T>() for MessageVersion as it is
in doubt yet.)
svn path=/trunk/mcs/; revision=157366
Atsushi Eno [Fri, 14 May 2010 15:41:06 +0000 (15:41 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : do not pass empty string array; it almost
always results in header-not-found error.
svn path=/trunk/mcs/; revision=157365
Atsushi Eno [Fri, 14 May 2010 15:11:45 +0000 (15:11 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeader.cs : do not try to lookup prefix for empty ns.
svn path=/trunk/mcs/; revision=157364
Atsushi Eno [Fri, 14 May 2010 14:21:24 +0000 (14:21 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* MessageImpl.cs : do not use maxBufferSize for initialSize argument
for MessageHeaders. Fix OutOfMemoryException for certain usage.
svn path=/trunk/mcs/; revision=157363
Sebastien Pouliot [Fri, 14 May 2010 13:13:46 +0000 (13:13 -0000)]
2010-05-14 Sebastien Pouliot <sebastien@ximian.com>
* Consts.cs.in: Update FX version for SL4 final version
svn path=/trunk/mcs/; revision=157360
Sebastien Pouliot [Fri, 14 May 2010 13:12:28 +0000 (13:12 -0000)]
2010-05-14 Sebastien Pouliot <sebastien@ximian.com>
* FlashCrossDomainPolicy.cs: Reverse conditions order on secure=true
since we're currently too severe. Fix DRT668
svn path=/trunk/mcs/; revision=157359
Sebastien Pouliot [Fri, 14 May 2010 13:10:34 +0000 (13:10 -0000)]
2010-05-14 Sebastien Pouliot <sebastien@ximian.com>
* WebHeaderCollection_2_1.cs: Hide the internal Dictionary and
provide methods to use it properly.
* HttpWebRequest_2_1.cs: Use internal Clear method
svn path=/trunk/mcs/; revision=157358
Zoltan Varga [Fri, 14 May 2010 12:45:04 +0000 (12:45 -0000)]
2010-05-14 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c aot-compiler.c: Implement support for generalized imt thunks on
arm.
svn path=/trunk/mono/; revision=157357
Zoltan Varga [Fri, 14 May 2010 12:26:24 +0000 (12:26 -0000)]
Fix the s390x build.
svn path=/trunk/mono/; revision=157356
Zoltan Varga [Fri, 14 May 2010 12:24:28 +0000 (12:24 -0000)]
Fix the ia64 build.
svn path=/trunk/mono/; revision=157355
Atsushi Eno [Fri, 14 May 2010 07:28:26 +0000 (07:28 -0000)]
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* BindingContext.cs : actually clone is needed everywhere else too.
* CustomBinding.cs : remove extra field.
* BindingContextTest.cs : add a couple of tests with related to
RemainingBindingElements use. Some tests by Andreia Gaita.
svn path=/trunk/mcs/; revision=157350
Atsushi Eno [Fri, 14 May 2010 05:20:37 +0000 (05:20 -0000)]
2010-05-14 Andreia Gaita <avidigal@novell.com>
* BindingContext.cs: Copy elements from the original binding only when
creating it, never when cloning it. This way, CanBuildInnerChannel can
work recursively as it should.
2010-05-14 Atsushi Enomoto <atsushi@ximian.com>
* CustomBinding.cs : return clone collection.
* BindingContext.cs :
Simply use RemainingBindingElements in builder methods.
Clone() should be deep copying (as documented).
* BinaryMessageEncodingBindingElement.cs
MtomMessageEncodingBindingElement.cs
TextMessageEncodingBindingElement.cs
HttpCookieContainerBindingElement.cs :
do not add itself to RemainingBindingElements.
* HttpChannelFactory.cs
HttpChannelListener.cs
TcpChannelFactory.cs
TcpChannelListener.cs
MsmqChannelFactory.cs
MsmqChannelListener.cs
NamedPipeChannelFactory.cs
NamedPipeChannelListener.cs
PeerChannelFactory.cs
PeerChannelListener.cs : do not iterate RemainingBindingElements.
Instead, iterate all binding elements in the CustomBinding.
svn path=/trunk/mcs/; revision=157345
Rodrigo Kumpera [Fri, 14 May 2010 00:55:03 +0000 (00:55 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* MonoAssembly.cs: Fix a 2.0 corlib test failure.
svn path=/trunk/mcs/; revision=157344
Rodrigo Kumpera [Fri, 14 May 2010 00:54:54 +0000 (00:54 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Fix test not to depend
on interface order.
svn path=/trunk/mcs/; revision=157343
Rodrigo Kumpera [Fri, 14 May 2010 00:20:06 +0000 (00:20 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Fail a class
if there is a loop with its parent.
Fixes #598239.
svn path=/trunk/mono/; revision=157337
Marek Habersack [Thu, 13 May 2010 23:42:50 +0000 (23:42 -0000)]
More 4.0 changes
svn path=/trunk/mono/; revision=157335
Marek Habersack [Thu, 13 May 2010 23:42:35 +0000 (23:42 -0000)]
Added ASP.NET 4.0 controls
svn path=/trunk/mono/; revision=157334
Zoltan Varga [Thu, 13 May 2010 23:24:51 +0000 (23:24 -0000)]
2010-05-14 Zoltan Varga <vargaz@gmail.com>
* xdebug.c: Fix ARM support.
svn path=/trunk/mono/; revision=157333
Rodrigo Kumpera [Thu, 13 May 2010 22:07:16 +0000 (22:07 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c (mono_loader_set_error_type_load): Convert
a g_warninig to mono_trace_warning.
svn path=/trunk/mono/; revision=157332
Rodrigo Kumpera [Thu, 13 May 2010 22:07:08 +0000 (22:07 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_get_full): Release strings on failure
to avoid leaking them.
svn path=/trunk/mono/; revision=157331
Rodrigo Kumpera [Thu, 13 May 2010 22:07:00 +0000 (22:07 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_create_from_typedef): Only return
the class if no exceptions were detected.
* class.c (mono_class_create_from_typedef): Don't remove
broken classes from class_cache. Just set failure and
bail out.
This fixes a memory a memory leak where resolving the same
broken class multiple times resulted in a memory leak.
The right behavior would be to actually return the class
a let the caller figure it out.
svn path=/trunk/mono/; revision=157330
Rodrigo Kumpera [Thu, 13 May 2010 22:06:52 +0000 (22:06 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* typeload-unaligned.cs: Move the reference to the broken type
to an inner function since mono now detects the brokenness earlier.
svn path=/trunk/mono/; revision=157329
Rodrigo Kumpera [Thu, 13 May 2010 22:06:44 +0000 (22:06 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* mono-ptr-array.h: Add mono_ptr_array_sort.
* reflection.c (mono_image_build_metadata): Replace that ugly
qsort call with mono_ptr_array_sort.
svn path=/trunk/mono/; revision=157328
Zoltan Varga [Thu, 13 May 2010 21:35:27 +0000 (21:35 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* exceptions-x86.c (mono_arch_handle_exception): Resume from the signal handler
and do most of the work on the normal stack.
(mono_x86_get_signal_exception_trampoline): New x86 specific trampoline function.
svn path=/trunk/mono/; revision=157327
Zoltan Varga [Thu, 13 May 2010 20:18:40 +0000 (20:18 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Put non-code data into the .rodata section on linux.
svn path=/trunk/mono/; revision=157318
Zoltan Varga [Thu, 13 May 2010 16:46:10 +0000 (16:46 -0000)]
Fix the BSD build.
svn path=/trunk/mono/; revision=157312
Mark Probst [Thu, 13 May 2010 14:05:32 +0000 (14:05 -0000)]
2010-05-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Switch to the copying major collector, because
Mark&Sweep is still buggy.
svn path=/trunk/mono/; revision=157305
Zoltan Varga [Thu, 13 May 2010 04:05:23 +0000 (04:05 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
(mono_arch_handle_exception): Fix the cross-compile case.
svn path=/trunk/mono/; revision=157293
Rodrigo Kumpera [Thu, 13 May 2010 02:46:11 +0000 (02:46 -0000)]
2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_build_metadata): Don't put managed
references on non-tracked memory.
svn path=/trunk/mono/; revision=157292
Zoltan Varga [Thu, 13 May 2010 02:21:00 +0000 (02:21 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* exceptions-arm.c (mono_arch_handle_exception): Resume from the signal handler
and do most of the work on the normal stack.
svn path=/trunk/mono/; revision=157291
Rodrigo Kumpera [Thu, 13 May 2010 02:19:22 +0000 (02:19 -0000)]
Fix typo
svn path=/trunk/mono/; revision=157290
Zoltan Varga [Thu, 13 May 2010 02:02:08 +0000 (02:02 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* sgen-archdep.h (ARCH_COPY_SIGCTX_REGS): Fix this for amd64.
svn path=/trunk/mono/; revision=157289
Rodrigo Kumpera [Thu, 13 May 2010 01:39:10 +0000 (01:39 -0000)]
2010-05-12 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c: Switch to mono-ptr-array.h.
svn path=/trunk/mono/; revision=157287
Rodrigo Kumpera [Thu, 13 May 2010 01:39:02 +0000 (01:39 -0000)]
2010-05-12 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile.am: Add mono-ptr-array.h.
* mono-ptr-array.h: New header that implements
a GC tracked equivalent of g_ptr_array.
svn path=/trunk/mono/; revision=157286
Rodrigo Kumpera [Thu, 13 May 2010 01:34:00 +0000 (01:34 -0000)]
Copy icall.c to mono-ptr-array.h
svn path=/trunk/mono/; revision=157285
Marek Habersack [Thu, 13 May 2010 01:18:36 +0000 (01:18 -0000)]
Fixlet
svn path=/trunk/mcs/; revision=157284
Zoltan Varga [Thu, 13 May 2010 01:15:43 +0000 (01:15 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* dtest.cs: Add a test for nullref exceptions + single threaded invokes.
svn path=/trunk/mono/; revision=157283
Zoltan Varga [Thu, 13 May 2010 01:15:35 +0000 (01:15 -0000)]
2010-05-13 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_handle_exception): Resume from the signal handler
and do most of the work on the normal stack even if sigaltstack is disabled.
svn path=/trunk/mono/; revision=157282
Rodrigo Kumpera [Thu, 13 May 2010 01:15:14 +0000 (01:15 -0000)]
2010-05-12 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_Type_GetInterfaces): Rewrite this
method to avoid initializing the class.
Fixes #605115.
svn path=/trunk/mono/; revision=157281
Rodrigo Kumpera [Thu, 13 May 2010 01:15:05 +0000 (01:15 -0000)]
2010-05-12 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_System_MonoType_getFullName): It
doesn't require to init the class.
svn path=/trunk/mono/; revision=157280
Alan McGovern [Thu, 13 May 2010 00:12:04 +0000 (00:12 -0000)]
2010-05-13 Alan McGovern <amcgovern@novell.com>
* src/gstring.c: Put in some null guards for the ctors
svn path=/trunk/mono/; revision=157279
Marek Habersack [Wed, 12 May 2010 21:28:40 +0000 (21:28 -0000)]
commit
e25cece56ee428a8ace8979e31ab2c0c077be4f5
Author: Marek Habersack <mhabersack@novell.com>
Date: Wed May 12 23:27:21 2010 +0200
2010-05-12 Marek Habersack <mhabersack@novell.com>
* HttpApplicationFactory.cs: when initializing new application
type, make sure to call pre-application start methods.
2010-05-12 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: implemented a 4.0 feature - pre-application
start methods.
svn path=/trunk/mcs/; revision=157266
Marek Safar [Wed, 12 May 2010 20:49:34 +0000 (20:49 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157263
Marek Safar [Wed, 12 May 2010 16:39:02 +0000 (16:39 -0000)]
New test.
svn path=/trunk/mcs/; revision=157252
Marek Safar [Wed, 12 May 2010 16:38:27 +0000 (16:38 -0000)]
2010-05-12 Marek Safar <marek.safar@gmail.com>
A fix for bug #604981
* generic.cs, decl.cs, anonymous.cs: Reset more type arguments
details for nested anonymous methods stories.
svn path=/trunk/mcs/; revision=157251
Atsushi Eno [Wed, 12 May 2010 15:04:05 +0000 (15:04 -0000)]
2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlNode.cs : use as-operator (isinst) to optimize certain use case.
Patch by Tom Hindle.
svn path=/trunk/mcs/; revision=157244
Atsushi Eno [Wed, 12 May 2010 15:01:17 +0000 (15:01 -0000)]
2010-05-12 Atsushi Enomoto <atsushi@ximian.com>
* HttpRequestChannel.cs : implement On[Begin|End][Close|Open] methods.
svn path=/trunk/mcs/; revision=157243
Marek Safar [Wed, 12 May 2010 14:59:55 +0000 (14:59 -0000)]
show full stacktrace on debug
svn path=/trunk/mcs/; revision=157242
Atsushi Eno [Wed, 12 May 2010 14:46:28 +0000 (14:46 -0000)]
check in the stubs that was written while waiting for several windows builds.
svn path=/trunk/mcs/; revision=157236
Marek Habersack [Wed, 12 May 2010 11:10:03 +0000 (11:10 -0000)]
2010-05-12 Marek Habersack <mhabersack@novell.com>
* HttpServerUtility.cs: Execute checks whether
IAsyncResult.AsyncWaitHandle is not null before attempting to use
it. Fixes bug #604502
svn path=/trunk/mcs/; revision=157221
Carlos Alberto Cortez [Wed, 12 May 2010 11:02:58 +0000 (11:02 -0000)]
2010-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ScrollabeControlTest.cs: New test to show that DockPadding is lazyly
created.
svn path=/trunk/mcs/; revision=157220
Zoltan Varga [Wed, 12 May 2010 03:07:43 +0000 (03:07 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* exceptions-amd64.c (mono_arch_sigctx_to_monoctx): Simplify this now that
UCONTEXT_REG_ constants are available on linux as well.
(mono_arch_monoctx_to_sigctx): Ditto.
(mono_arch_ip_from_context): Ditto.
svn path=/trunk/mono/; revision=157196
Zoltan Varga [Wed, 12 May 2010 03:07:36 +0000 (03:07 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* mono-sigcontext.h: Define UCONTEXT_REG_ constants for amd64 even if the gregs
array is available.
svn path=/trunk/mono/; revision=157195
Zoltan Varga [Wed, 12 May 2010 02:47:49 +0000 (02:47 -0000)]
Fix a warning.
svn path=/trunk/mono/; revision=157191
Zoltan Varga [Wed, 12 May 2010 02:45:35 +0000 (02:45 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* dtest.cs dtest-app.cs: Add a test for pending breakpoints in domains.
svn path=/trunk/mono/; revision=157190
Zoltan Varga [Wed, 12 May 2010 02:45:17 +0000 (02:45 -0000)]
2010-05-12 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (set_breakpoint): Fix setting of pending breakpoints in
other domains.
svn path=/trunk/mono/; revision=157189
Marek Habersack [Wed, 12 May 2010 02:42:39 +0000 (02:42 -0000)]
2010-05-12 Marek Habersack <mhabersack@novell.com>
* ValidationException.cs: partially implemented
* ValidationAttribute.cs: implemented
* RequiredAttribute.cs: implemented. Fixes bug #604100
* AssociationAttribute.cs, ConcurrencyCheckAttribute.cs,
CustomValidationAttribute.cs, EditableAttribute.cs,
EnumDataTypeAttribute.cs, IValidatableObject.cs,
ValidationContext.cs, ValidationResult.cs: added
svn path=/trunk/mcs/; revision=157187
Andrew Jorgensen [Tue, 11 May 2010 22:10:43 +0000 (22:10 -0000)]
set MONO_PATH to ensure that mscorlib.dll can be found
svn path=/trunk/mono/; revision=157176
Rodrigo Kumpera [Tue, 11 May 2010 21:54:59 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTableTest.cs: New test suite.
svn path=/trunk/mcs/; revision=157175
Rodrigo Kumpera [Tue, 11 May 2010 21:54:51 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConditionalWeakTable.cs: Implement simple open addressing
hash table with linear probing. We use a prime sized table
for an easy hashing and a target load capacity of 70%.
On a synthetic benchmark, a load factor of 70% did not cause
significant performance degradation over 60% as would be
expected.
svn path=/trunk/mcs/; revision=157174
Rodrigo Kumpera [Tue, 11 May 2010 21:54:42 +0000 (21:54 -0000)]
2010-05-11 Rodrigo Kumpera <rkumpera@novell.com>
* GC.cs: Add EPHEMERON_TOMBSTONE reandonly variable.
svn path=/trunk/mcs/; revision=157173
Marek Safar [Tue, 11 May 2010 21:25:06 +0000 (21:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=157171
Marek Safar [Tue, 11 May 2010 21:24:50 +0000 (21:24 -0000)]
2010-05-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #604735
* namespace.cs: Don't report namespace collision.
svn path=/trunk/mcs/; revision=157170
Marek Safar [Tue, 11 May 2010 21:00:35 +0000 (21:00 -0000)]
New test.
svn path=/trunk/mcs/; revision=157169