Jb Evain [Wed, 19 May 2010 13:36:47 +0000 (13:36 -0000)]
2010-05-19 Jb Evain <jbevain@novell.com>
* ExpressionTest_Constant.cs: add tests for nullable constants.
svn path=/trunk/mcs/; revision=157551
Jb Evain [Wed, 19 May 2010 13:36:21 +0000 (13:36 -0000)]
2010-05-19 Jb Evain <jbevain@novell.com>
* ConstantExpression.cs: fix emission of nullable constants.
svn path=/trunk/mcs/; revision=157550
Marek Habersack [Wed, 19 May 2010 12:54:23 +0000 (12:54 -0000)]
2010-05-19 Marek Habersack <mhabersack@novell.com>
* DataSourceCacheDurationConverter.cs: implemented. Fixes bug
#603083
svn path=/trunk/mcs/; revision=157547
Marek Safar [Wed, 19 May 2010 10:45:54 +0000 (10:45 -0000)]
New test.
svn path=/trunk/mcs/; revision=157542
Marek Safar [Wed, 19 May 2010 10:44:47 +0000 (10:44 -0000)]
2010-05-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #359733
* parameter.cs: Extension attribute can be defined in each assembly.
svn path=/trunk/mcs/; revision=157541
Atsushi Eno [Wed, 19 May 2010 08:12:32 +0000 (08:12 -0000)]
2010-05-19 Atsushi Enomoto <atsushi@ximian.com>
* ServiceSettingsResponseInfo.cs
RegisterResponseInfo.cs
RefreshResponseInfo.cs
ResolveInfo.cs
UpdateInfo.cs
RegisterInfo.cs
UnregisterInfo.cs
RefreshInfo.cs
ResolveResponseInfo.cs : they don't have field initialization at
constructor now, for FormatterServices.GetUninitializedObject().
Fix regression with related to serialization changes.
* PeerResolverSerializationTest.cs :
verify deserialized address count too.
svn path=/trunk/mcs/; revision=157532
Atsushi Eno [Wed, 19 May 2010 07:58:59 +0000 (07:58 -0000)]
2010-05-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs : Array of something with non-default
namespace should be deserialized as well. Required for fixing
PeerResolvers ResolveResponseInfo serialization test case.
svn path=/trunk/mcs/; revision=157531
Andreia Gaita [Wed, 19 May 2010 05:37:01 +0000 (05:37 -0000)]
* DataContractSerializerTest.cs: Add test for deserializing objects
with different namespaces (bug #599667)
svn path=/trunk/mcs/; revision=157527
Andreia Gaita [Wed, 19 May 2010 05:10:16 +0000 (05:10 -0000)]
* HttpRequestChannel.cs: if the response has no body, create an
empty message and return that.
Note: the ws-mc protocol defines that the service returns an
200 response with an empty body on first connection, this
adds support for that (fixes part of #599667)
svn path=/trunk/mcs/; revision=157525
Andreia Gaita [Wed, 19 May 2010 03:41:22 +0000 (03:41 -0000)]
* SerializationMap.cs: when deserializing, it is possible that the
DataMemberInfo objects being matched against the xml don't have
a set namespace because they were created from
DefaultTypeMap.GetDataMembers(), so only use the namespace for
comparison if it's not null (fixes part of #599667)
svn path=/trunk/mcs/; revision=157523
Zoltan Varga [Wed, 19 May 2010 02:36:50 +0000 (02:36 -0000)]
2010-05-19 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_ppc_is_direct_call_sequence): Handle one more case with ilp32.
svn path=/trunk/mono/; revision=157522
Zoltan Varga [Wed, 19 May 2010 02:35:46 +0000 (02:35 -0000)]
2010-05-19 Zoltan Varga <vargaz@gmail.com>
* ppc/ppc-codegen.h (ppc_load_func): Fix ilp32 support.
svn path=/trunk/mono/; revision=157521
Marek Habersack [Wed, 19 May 2010 01:28:09 +0000 (01:28 -0000)]
2010-05-19 Marek Habersack <mhabersack@novell.com>
* PageParser.cs: handle several main directive attributes
specially, as they can have expressions as their values. Fixes bug
#603532
* MainDirectiveAttribute.cs: added - helper class to handle
directive attributes which can take either a value or an
expression.
* BaseParser.cs: IsDirective, IsExpression and IsDataBound methods
moved to here from TemplateControlCompiler.
2010-05-19 Marek Habersack <mhabersack@novell.com>
* TemplateControlCompiler.cs: IsDirective, IsExpression and
IsDataBound methods moved to System.Web.UI.BaseParser.
Made CompileExpression and GetFieldOrProperty methods internal.
* PageCompiler.cs: check several of the Page directive attributes
for expressions. Fixes bug #603532
* AspGenerator.cs, TagAttributes.cs: use IDictionary instead of
Hashtable
svn path=/trunk/mcs/; revision=157519
Marek Safar [Tue, 18 May 2010 21:37:19 +0000 (21:37 -0000)]
Fixes build
svn path=/trunk/mcs/; revision=157516
Marek Safar [Tue, 18 May 2010 18:12:38 +0000 (18:12 -0000)]
New test.
svn path=/trunk/mcs/; revision=157512
Marek Safar [Tue, 18 May 2010 18:08:17 +0000 (18:08 -0000)]
2010-05-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #446507
* method.cs: Only one method can implement an interface.
svn path=/trunk/mcs/; revision=157511
Marek Safar [Tue, 18 May 2010 17:33:42 +0000 (17:33 -0000)]
2010-05-18 Marek Safar <marek.safar@gmail.com>
* TypeBuilder.cs, PropertyBuilder.cs: Add DefineProperty overloads.
svn path=/trunk/mcs/; revision=157510
Gonzalo Paniagua Javier [Tue, 18 May 2010 16:58:15 +0000 (16:58 -0000)]
2010-05-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpDataStream.cs:
* FtpWebRequest.cs: properly close the data connection even when
nothing is read from it. Refixes bug #598908.
svn path=/trunk/mcs/; revision=157506
Marek Safar [Tue, 18 May 2010 16:28:17 +0000 (16:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=157504
Marek Safar [Tue, 18 May 2010 16:28:07 +0000 (16:28 -0000)]
New test.
svn path=/trunk/mcs/; revision=157503
Marek Safar [Tue, 18 May 2010 16:27:54 +0000 (16:27 -0000)]
2010-05-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #594905
* convert.cs, constant.cs, expression.cs, literal.cs, ecore.cs:
Typed null can be used as a source for expression methods.
svn path=/trunk/mcs/; revision=157502
Marek Safar [Tue, 18 May 2010 14:24:39 +0000 (14:24 -0000)]
void is not real type
svn path=/trunk/mcs/; revision=157501
Marek Safar [Tue, 18 May 2010 10:52:58 +0000 (10:52 -0000)]
New test.
svn path=/trunk/mcs/; revision=157490
Marek Safar [Tue, 18 May 2010 10:52:32 +0000 (10:52 -0000)]
2010-05-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #606551
* namespace.cs: Using directive imports only types and not nested
namespaces.
svn path=/trunk/mcs/; revision=157489
Atsushi Eno [Tue, 18 May 2010 08:44:01 +0000 (08:44 -0000)]
2010-05-18 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : revert the previous change, caused regressions.
svn path=/trunk/mcs/; revision=157486
Atsushi Eno [Tue, 18 May 2010 07:37:12 +0000 (07:37 -0000)]
2010-05-18 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : do not arbitrarily add ServiceDebugBehavior
on all configuration-based services. .NET doesn't do that.
svn path=/trunk/mcs/; revision=157485
Marek Habersack [Mon, 17 May 2010 23:35:55 +0000 (23:35 -0000)]
2010-05-18 Marek Habersack <mhabersack@novell.com>
* ListView.cs: if data source has pageable data, get total count
from the source's DataSourceCount property. Fixes bug #604053
svn path=/trunk/mcs/; revision=157470
Marek Habersack [Mon, 17 May 2010 23:35:43 +0000 (23:35 -0000)]
Added tests for bug #535701
svn path=/trunk/mcs/; revision=157469
Carlos Alberto Cortez [Mon, 17 May 2010 21:47:42 +0000 (21:47 -0000)]
2010-05-17 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControlTest.cs: New test cases for ItemSize.
svn path=/trunk/mcs/; revision=157468
Carlos Alberto Cortez [Mon, 17 May 2010 21:45:49 +0000 (21:45 -0000)]
2010-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: Properly implement ItemSize, which should depend on
Font and ImageList -if available-, instead of having a fixed height.
Setting ImageList should cause a Redraw also.
Fixes #599950.
svn path=/trunk/mcs/; revision=157467
Rodrigo Kumpera [Mon, 17 May 2010 19:34:23 +0000 (19:34 -0000)]
2010-05-14 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c: Use _fast variants for string and array length.
svn path=/trunk/mono/; revision=157462
Rodrigo Kumpera [Mon, 17 May 2010 19:34:15 +0000 (19:34 -0000)]
2010-05-14 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c: Fix counters to be 64 bits.
* sgen-gc.c (dump_heap): Fix formating strings.
svn path=/trunk/mono/; revision=157461
Rodrigo Kumpera [Mon, 17 May 2010 19:34:05 +0000 (19:34 -0000)]
2010-05-14 Rodrigo Kumpera <rkumpera@novell.com>
* sgen-gc.c (global_remset_cache_test): New function that
implements a 2 element LRU cache for just added remsets.
It is used to avoid adding duplicate ones.
* sgen-gc.c (add_to_global_remset): Check cache before
adding new entry.
* sgen-gc.c (scan_from_remsets): Ditto.
A 2 element LRU cache was chosen by profiling IronPython 2.6
pytones with 1M passes and corlib compilation.
For the ipy test duplication was originally 940.92, measured
by "Store remsets" divided by "Unique store remsets".
With a 2-element LRU, duplication went to 1.007. Without the
check in scan_from_remsets 1.438.
With a 16-elements LRU, duplication reduction was negligibe.
A single element cache was basically of no use.
With corlib compilation duplication went from 1.4 to 1.02.
Performance results is a 20% time decrease for ipy and 2%
with corlib.
svn path=/trunk/mono/; revision=157460
Zoltan Varga [Mon, 17 May 2010 19:19:03 +0000 (19:19 -0000)]
2010-05-17 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_ppc_is_direct_call_sequence): Handle ilp32.
(ppc_patch_full): Ditto.
svn path=/trunk/mono/; revision=157458
Zoltan Varga [Mon, 17 May 2010 14:54:12 +0000 (14:54 -0000)]
Fix the build.
svn path=/trunk/mcs/; revision=157452
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