Marek Safar [Fri, 21 May 2010 09:59:40 +0000 (09:59 -0000)]
New tests & update.
svn path=/trunk/mcs/; revision=157672
Marek Safar [Fri, 21 May 2010 09:56:26 +0000 (09:56 -0000)]
2010-05-21 Marek Safar <marek.safar@gmail.com>
* expression.cs: Use constrained prefix more broadly to avoid boxing.
svn path=/trunk/mcs/; revision=157671
Atsushi Eno [Fri, 21 May 2010 09:16:37 +0000 (09:16 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : disable slottling again :( It still fails
to process concurrent requests if there is service metadata channel
and MaxConcurrentSessions > 1 on non-ASP.NET channels.
svn path=/trunk/mcs/; revision=157670
Atsushi Eno [Fri, 21 May 2010 09:07:48 +0000 (09:07 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove Sleep() hack. The host is now ensured
to wait for channels opened.
svn path=/trunk/mcs/; revision=157669
Atsushi Eno [Fri, 21 May 2010 07:19:58 +0000 (07:19 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* WebScriptServiceHostFactory.cs : similarly to ServiceDebugBehavior
and ServiceMetadataBehavior in ServiceHostBase, it must *prepend*
WebScriptEnablingBehavior to apply all other behaviors subsequently.
svn path=/trunk/mcs/; revision=157667
Atsushi Eno [Fri, 21 May 2010 07:13:17 +0000 (07:13 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : ServiceMetadataBehavior and ServiceDebugBehavior
are special. They must be applied in prior to other behaviors so that
newly populated ChannelDispatchers are applied behaviors accordingly.
svn path=/trunk/mcs/; revision=157666
Atsushi Eno [Fri, 21 May 2010 06:13:21 +0000 (06:13 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ServiceHostBase.cs : remove Sleep() hack and wait channels to get
opened to proceed.
svn path=/trunk/mcs/; revision=157663
Atsushi Eno [Fri, 21 May 2010 04:48:10 +0000 (04:48 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : enable throttling again. Though issues
regarding parallel request is not here (multiple dispatchers
can accept a channels for each), and HTTP channels do not accept
more than one channel at a time anyways.
svn path=/trunk/mcs/; revision=157662
Atsushi Eno [Fri, 21 May 2010 04:44:51 +0000 (04:44 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* SvcHttpHandler.cs : remove unused field. Some code cleanup.
svn path=/trunk/mcs/; revision=157661
Atsushi Eno [Fri, 21 May 2010 03:27:39 +0000 (03:27 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpReplyChannel.cs : use manual reset.
* AspNetReplyChannel.cs : make it equivalent to the above.
svn path=/trunk/mcs/; revision=157660
Atsushi Eno [Fri, 21 May 2010 03:26:00 +0000 (03:26 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelListener.cs : do not accept more than one channel at a
time. Remove extra fields. Add CancelAsync() implementation.
svn path=/trunk/mcs/; revision=157659
Atsushi Eno [Fri, 21 May 2010 03:20:23 +0000 (03:20 -0000)]
2010-05-21 Atsushi Enomoto <atsushi@ximian.com>
* HttpListenerManager.cs : add a workaround for Func<>.BeginInvoke()
problem that blocked ASP.NET channels working.
svn path=/trunk/mcs/; revision=157658
Miguel de Icaza [Thu, 20 May 2010 23:54:14 +0000 (23:54 -0000)]
2010-05-20 Miguel de Icaza <miguel@novell.com>
* configure.in: drop again the pkg.m4 dependency and for eglib
cases (and not-Windows) make it entirely optional.
svn path=/trunk/mono/; revision=157656
Marek Habersack [Thu, 20 May 2010 21:54:22 +0000 (21:54 -0000)]
2010-05-20 Marek Habersack <mhabersack@novell.com>
* FileStream.cs: when running on Windows and a path with Unix
directory separator chars is passed (including an UNC share), get
the canonical form of the path before attempting to retrieve its
directory name. Fixes bug #607502
* Path.cs: typo fix
svn path=/trunk/mcs/; revision=157650
Sebastien Pouliot [Thu, 20 May 2010 18:54:55 +0000 (18:54 -0000)]
2010-05-20 Sebastien Pouliot <sebastien@ximian.com>
* DefaultValueAttribute.cs: Two instances where DefaultValue ==
null are equal so they *must* return the same hash code
svn path=/trunk/mcs/; revision=157646
Andreia Gaita [Thu, 20 May 2010 17:48:37 +0000 (17:48 -0000)]
* X11Dnd.cs: Fix a few crashers, making sure the client window is valid
when dragging
svn path=/trunk/mcs/; revision=157644
Marek Safar [Thu, 20 May 2010 15:58:27 +0000 (15:58 -0000)]
2010-05-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #591149
* nullable.cs: Don't double wrap same expression.
svn path=/trunk/mcs/; revision=157633
Marek Safar [Thu, 20 May 2010 14:32:51 +0000 (14:32 -0000)]
2010-05-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #569827
* anonymous.cs: Any issued error in probing mode means no match.
svn path=/trunk/mcs/; revision=157629
Carlos Alberto Cortez [Thu, 20 May 2010 13:09:36 +0000 (13:09 -0000)]
2010-05-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* IsolatedStorageFile.cs: Add the new 4.0 overloads for
GetDirectoryNames and GetFileNames.
svn path=/trunk/mcs/; revision=157621
Marek Safar [Thu, 20 May 2010 11:13:50 +0000 (11:13 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157614
Marek Safar [Thu, 20 May 2010 11:08:48 +0000 (11:08 -0000)]
Fixed latest build failure
svn path=/trunk/mcs/; revision=157612
Marek Safar [Thu, 20 May 2010 10:38:46 +0000 (10:38 -0000)]
2010-05-20 Marek Safar <marek.safar@gmail.com>
* expression.cs: Search for base indexer using the closest match
rule.
svn path=/trunk/mcs/; revision=157609
Marek Safar [Thu, 20 May 2010 10:12:35 +0000 (10:12 -0000)]
2010-05-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #572071
* method.cs: Set override constraints using unexpanded interface
list.
svn path=/trunk/mcs/; revision=157601
Marek Safar [Thu, 20 May 2010 08:53:26 +0000 (08:53 -0000)]
2010-05-20 Marek Safar <marek.safar@gmail.com>
A fix for bug #572071
* ecore.cs: Include secondary extension method lookup in probing
mode.
svn path=/trunk/mcs/; revision=157592
Rodrigo Kumpera [Thu, 20 May 2010 00:47:12 +0000 (00:47 -0000)]
2010-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* marshal.c (mono_marshal_init): Register mono_gchandle_get_target
icall.
* marshal.c (mono_delegate_to_ftnptr): Use a gchandle instead of
gc tracked memory.
* marshal.c (mono_marshal_emit_managed_wrapper): Retrieve the first
argument from a gchandle.
* marshal.c: Get rid of the delegate_target_locations hash table.
Fixes #605295.
svn path=/trunk/mono/; revision=157589
Zoltan Varga [Thu, 20 May 2010 00:40:27 +0000 (00:40 -0000)]
2010-05-20 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_resolve_method_ref): Rename this from decode_method_ref_2.
(make_writable): Remove this unused function.
svn path=/trunk/mono/; revision=157588
Zoltan Varga [Wed, 19 May 2010 23:28:01 +0000 (23:28 -0000)]
2010-05-20 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Collect all information about a PLT entry into a separate MonoPltEntry
structure. Make the labels to plt entries local symbols instead of assembler local
labels, since tha latter causes problems for the iphone linker.
svn path=/trunk/mono/; revision=157576
Marek Safar [Wed, 19 May 2010 19:16:34 +0000 (19:16 -0000)]
New tests.
svn path=/trunk/mcs/; revision=157573
Marek Safar [Wed, 19 May 2010 19:08:51 +0000 (19:08 -0000)]
2010-05-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #515801
* typespec.cs (MayBecomeEqualGenericTypes): Recursively check
type arguments.
svn path=/trunk/mcs/; revision=157572
Marek Safar [Wed, 19 May 2010 17:10:12 +0000 (17:10 -0000)]
2010-05-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #515801
* pending.cs: Advance counter correctly.
svn path=/trunk/mcs/; revision=157566
Marek Safar [Wed, 19 May 2010 16:02:00 +0000 (16:02 -0000)]
2010-05-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #480139
* method.cs, pending.cs: Indexer override uses base name.
svn path=/trunk/mcs/; revision=157563
Jb Evain [Wed, 19 May 2010 14:41:39 +0000 (14:41 -0000)]
2010-05-19 Jb Evain <jbevain@novell.com>
* EnumerableMoreTest.cs: add more GroupBy tests.
svn path=/trunk/mcs/; revision=157560
Jb Evain [Wed, 19 May 2010 14:41:12 +0000 (14:41 -0000)]
2010-05-19 Jb Evain <jbevain@novell.com>
* Enumerable.cs: fix GroupBy to deal with a null key for the last
group entry. Also fix GroupBy to properly throw ArgumentNullException.
svn path=/trunk/mcs/; revision=157558
Marek Safar [Wed, 19 May 2010 14:13:32 +0000 (14:13 -0000)]
2010-05-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #424064
* generic.cs: Replace original with inflated type parameter on
failure.
svn path=/trunk/mcs/; revision=157555
Atsushi Eno [Wed, 19 May 2010 14:01:13 +0000 (14:01 -0000)]
2010-05-19 Atsushi Enomoto <atsushi@ximian.com>
* DuplexClientBase.cs : implement InnerDuplexChannel and
CreateChannel(), by Pieter van der Berg.
svn path=/trunk/mcs/; revision=157554
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