Jonathan Pryor [Wed, 13 Jan 2010 21:35:46 +0000 (21:35 -0000)]
* Mono.Documentation/XmlDocUtils.cs: XmlDocUtils.AddExtensionMethods()
wasn't adding extension methods which matched *interfaces* of base
classes. Result: Mono.Options.OptionSet (which inherits
System.Collections.ObjectModel.KeyedCollection`2 which inherits from
System.Collections.ObjectModel.Collection`1 which implements
System.Collections.Generic.IEnumerable`1) wasn't getting any of the
LINQ extension methods (which is bad). Fix this.
svn path=/trunk/mcs/; revision=149496
Jonathan Pryor [Wed, 13 Jan 2010 21:11:27 +0000 (21:11 -0000)]
* Resources/mdoc-html-utils.xsl: Fix regression caused by 2009-12-02
commit adding GetLinkTargetHtml(). The problem was that when
running within ASP.NET/monodoc ~all extension method links would be
'javascript:alert("...")M:Foo.Method(...)', which is clearly wrong.
This occurred because $linkid's generation would always call
GetLinkTargetHtml() with a $cref value of '', thus the monodoc
GetLinkTarget() would return '', so GetLinkTargetHtml() would return
the javascript "not found" alert. Thus, we can't expect
GetLinkTargetHtml() with $cref='' to work under monodoc, but it's
~required to work sanely under 'mdoc export-html'.
Solution is to not call GetLinkTargetHtml() here UNLESS we're doing
'mdoc export-html' generation, which we assume to be the case if
$html-anchor is true.
svn path=/trunk/mcs/; revision=149492
Sebastien Pouliot [Wed, 13 Jan 2010 18:40:16 +0000 (18:40 -0000)]
2010-01-13 Sebastien Pouliot <sebastien@ximian.com>
* HttpWebRequest_2_1.cs: Throw for CookieContainer. It is
implemented only in the client http stack (and for a limited
time in the browser stack too ;-)
* InternalWebRequestStreamWrapper.cs: Keep the MemoryStream data
available after closing/disposing (by user) since our own code
will need it later (e.g. when posting like DRT287)
* WebHeaderCollection_2_1.cs: Provide an argument to
ArgumentException. Found by Gendarme's ArgumentException
InstantiateArgumentExceptionCorrectlyRule
svn path=/trunk/mcs/; revision=149484
Marek Safar [Wed, 13 Jan 2010 18:12:38 +0000 (18:12 -0000)]
2010-01-13 Marek Safar <marek.safar@gmail.com>
* *.cs: Add property specification, unused yet.
svn path=/trunk/mcs/; revision=149483
Mark Probst [Wed, 13 Jan 2010 15:58:24 +0000 (15:58 -0000)]
2010-01-13 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c (to_space_expand): Fix assertion.
svn path=/trunk/mono/; revision=149479
Mark Probst [Wed, 13 Jan 2010 15:52:57 +0000 (15:52 -0000)]
2010-01-13 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mini_emit_stobj): Use EMIT_NEW_CLASSCONST when
AOT compiling.
svn path=/trunk/mono/; revision=149478
Paolo Molaro [Wed, 13 Jan 2010 14:56:39 +0000 (14:56 -0000)]
Wed Jan 13 15:54:53 CET 2010 Paolo Molaro <lupus@ximian.com>
* jit.h, method-to-ir.c: added ability to set the policy for
inserting breakpoints from the break IL instruction or the
Debugger.Break () API call.
svn path=/trunk/mono/; revision=149472
Marek Safar [Wed, 13 Jan 2010 14:48:29 +0000 (14:48 -0000)]
2010-01-13 Marek Safar <marek.safar@gmail.com>
* property.cs: Move all property based declarations into a new file.
svn path=/trunk/mcs/; revision=149471
Paolo Molaro [Wed, 13 Jan 2010 14:43:41 +0000 (14:43 -0000)]
Wed Jan 13 15:42:28 CET 2010 Paolo Molaro <lupus@ximian.com>
* string-icalls.c: missing declaration fixes.
* sgen-gc.c: portability fixes.
svn path=/trunk/mono/; revision=149470
Zoltan Varga [Wed, 13 Jan 2010 14:38:58 +0000 (14:38 -0000)]
2010-01-13 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_aot_module): Add more comments to explain why referenced
assemblies need to be eagerly loaded.
svn path=/trunk/mono/; revision=149469
Marek Safar [Wed, 13 Jan 2010 14:37:37 +0000 (14:37 -0000)]
flush
svn path=/trunk/mcs/; revision=149468
Marek Safar [Wed, 13 Jan 2010 14:19:02 +0000 (14:19 -0000)]
New test.
svn path=/trunk/mcs/; revision=149467
Marek Safar [Wed, 13 Jan 2010 14:18:46 +0000 (14:18 -0000)]
2010-01-13 Marek Safar <marek.safar at gmail.com>
* expression.cs (Conditional): Resolve reduced expression.
svn path=/trunk/mcs/; revision=149466
Marek Safar [Wed, 13 Jan 2010 13:58:16 +0000 (13:58 -0000)]
Enabled variance tests.
svn path=/trunk/mcs/; revision=149464
Jb Evain [Wed, 13 Jan 2010 13:27:47 +0000 (13:27 -0000)]
2010-01-13 Jb Evain <jbevain@novell.com>
* MarkStep.cs: preserve methods specified by the
XmlSchemaProvider attribute.
svn path=/trunk/mcs/; revision=149460
Marek Safar [Wed, 13 Jan 2010 13:14:15 +0000 (13:14 -0000)]
Warnings cleanup
svn path=/trunk/mcs/; revision=149459
Marek Safar [Wed, 13 Jan 2010 12:58:29 +0000 (12:58 -0000)]
New tests.
svn path=/trunk/mcs/; revision=149458
Marek Safar [Wed, 13 Jan 2010 12:56:43 +0000 (12:56 -0000)]
2010-01-13 Marek Safar <marek.safar at gmail.com>
* *.cs: Introduced non-generic method specification.
svn path=/trunk/mcs/; revision=149457
Atsushi Eno [Wed, 13 Jan 2010 11:51:19 +0000 (11:51 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* MessageHeaders.cs : implement SetAction().
svn path=/trunk/mcs/; revision=149451
Atsushi Eno [Wed, 13 Jan 2010 11:40:03 +0000 (11:40 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ExceptionDetail.cs : uncomment DataMember (likely commented out due
to missing default serialization in the past).
svn path=/trunk/mcs/; revision=149450
Atsushi Eno [Wed, 13 Jan 2010 11:35:10 +0000 (11:35 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddressBuilder.cs : reader getters were broken.
* EndpointAddressBuilderTest.cs : add usage example test.
svn path=/trunk/mcs/; revision=149449
Atsushi Eno [Wed, 13 Jan 2010 11:26:30 +0000 (11:26 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* EndpointAddressBuilder.cs : implement.
* net_2_1_raw_System.ServiceModel.dll.sources :
add EndpointAddressBuilder.cs.
svn path=/trunk/mcs/; revision=149448
Atsushi Eno [Wed, 13 Jan 2010 10:37:41 +0000 (10:37 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ContractDescriptionGenerator.cs : fill Operation.Faults.
* FaultContractInfo.cs : implement.
* DispatchOperation.cs, ClientOperation.cs: fill Faults.
* net_2_1_raw_System.ServiceModel.dll.sources :
add FaultContractInfo.cs.
svn path=/trunk/mcs/; revision=149445
Atsushi Eno [Wed, 13 Jan 2010 10:35:13 +0000 (10:35 -0000)]
forgot to commit.
svn path=/trunk/mcs/; revision=149444
Atsushi Eno [Wed, 13 Jan 2010 10:31:34 +0000 (10:31 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs : fix build.
svn path=/trunk/mcs/; revision=149443
Atsushi Eno [Wed, 13 Jan 2010 09:55:05 +0000 (09:55 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* Double.cs : no need to preserve old code.
svn path=/trunk/mcs/; revision=149441
Atsushi Eno [Wed, 13 Jan 2010 08:41:18 +0000 (08:41 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelFactoryBase.cs :
implement On{Begin/End}Close() on the generic type.
svn path=/trunk/mcs/; revision=149437
Atsushi Eno [Wed, 13 Jan 2010 08:28:22 +0000 (08:28 -0000)]
2010-01-13 Atsushi Enomoto <atsushi@ximian.com>
* HttpChannelFactory.cs, TcpChannelFactory.cs,
ChannelFactoryBase.cs, NamedPipeChannelFactory.cs
PeerChannelFactory.cs, HttpRequestChannel.cs:
fix ChannelFactoryBase API; move On(Begin/End)Open() to internal
type and made required changes.
svn path=/trunk/mcs/; revision=149436
Atsushi Eno [Wed, 13 Jan 2010 08:13:43 +0000 (08:13 -0000)]
2010-01-13 Astushi Enomoto <atsushi@ximian.com>
* net_2_1_raw_System.ServiceModel.dll.sources :
add HttpCookieContainerBindingElement.cs.
* HttpCookieContainerBindingElement.cs : new.
* IHttpCookieContainer.cs : fix type name.
* HttpRequestChannel.cs, HttpChannelFactory.cs : support above.
* BasicHttpBinding.cs : add SL3 EnableHttpCookieContainer support.
svn path=/trunk/mcs/; revision=149435
Marek Safar [Tue, 12 Jan 2010 19:58:00 +0000 (19:58 -0000)]
Reverted r149419.
svn path=/trunk/mcs/; revision=149428
Rodrigo B. de Oliveira [Tue, 12 Jan 2010 18:47:48 +0000 (18:47 -0000)]
Support for PropertyGroup as a child of When and Otherwise
svn path=/trunk/mcs/; revision=149426
Sebastien Pouliot [Tue, 12 Jan 2010 18:43:52 +0000 (18:43 -0000)]
2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
* WebRequest_2_1.cs: Rework registration wrt the two, browser
and client, stacks offered in SL3. Only global works now.
svn path=/trunk/mcs/; revision=149423
Marek Safar [Tue, 12 Jan 2010 17:10:11 +0000 (17:10 -0000)]
2010-01-12 Marek Safar <marek.safar@gmail.com>
* *.cs: Introduced non-generic method specification.
svn path=/trunk/mcs/; revision=149419
Marek Safar [Tue, 12 Jan 2010 17:05:32 +0000 (17:05 -0000)]
Removed duplicate usings and 1.1 code
svn path=/trunk/mcs/; revision=149418
Marek Safar [Tue, 12 Jan 2010 16:52:38 +0000 (16:52 -0000)]
Rebuild Mono.CSharp first
svn path=/trunk/mcs/; revision=149416
Rodrigo Kumpera [Tue, 12 Jan 2010 16:34:25 +0000 (16:34 -0000)]
2010-01-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_get_implemented_interfaces): Now take a MonoError argument.
* class.c:
* cominterop.c:
* icall.c:
* object.c:
* class-internals.h: Adjust for new signature of mono_class_get_implemented_interfaces.
svn path=/trunk/mono/; revision=149414
Rodrigo Kumpera [Tue, 12 Jan 2010 16:34:06 +0000 (16:34 -0000)]
2010-01-12 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_setup_interfaces): Now take a MonoError argument and
it can fail loading the type.
* class.c: Add mono_class_inflate_generic_class_checked.
* class.c:
* verify.c:
* class-internals.h: Adjust for new signature of mono_class_setup_interfaces.
svn path=/trunk/mono/; revision=149413
Marek Safar [Tue, 12 Jan 2010 16:29:53 +0000 (16:29 -0000)]
oups, removed too much
svn path=/trunk/mcs/; revision=149411
Marek Safar [Tue, 12 Jan 2010 16:24:25 +0000 (16:24 -0000)]
Reference Mono.CSharp instead of .exe
svn path=/trunk/mcs/; revision=149410
Jonathan Pobst [Tue, 12 Jan 2010 16:05:33 +0000 (16:05 -0000)]
Disable building RabbitMQ for now until the new generated-on-the-fly stuff
can be implemented instead of the static copies.
svn path=/trunk/mono/; revision=149408
Jonathan Pryor [Tue, 12 Jan 2010 15:44:26 +0000 (15:44 -0000)]
* Makefile: monodoc should only be built under the 2.0 profile.
svn path=/trunk/mcs/; revision=149407
Miguel de Icaza [Tue, 12 Jan 2010 13:54:19 +0000 (13:54 -0000)]
2010-01-12 Miguel de Icaza <miguel@novell.com>
* Regex.cs: Re-enable the new regex compiler as the bug seems to
be gone now.
svn path=/trunk/mcs/; revision=149403
Sebastien Pouliot [Tue, 12 Jan 2010 13:07:44 +0000 (13:07 -0000)]
In Test/System.Net:
2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
* NetworkCredentialTest.cs: New. Unit tests.
In System.Net:
2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
* NetworkCredential.cs: Fix properties to never return null.
In .:
2010-01-12 Sebastien Pouliot <sebastien@ximian.com>
* System_test.dll.sources: Add NetworkCredentialTest.cs to the tests
svn path=/trunk/mcs/; revision=149401
Marek Safar [Tue, 12 Jan 2010 10:44:01 +0000 (10:44 -0000)]
Forget to commit this one.
svn path=/trunk/mcs/; revision=149394
Atsushi Eno [Tue, 12 Jan 2010 09:53:15 +0000 (09:53 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XElementTest.cs : add extensive tests by Tiaan Geldenhuys, with
one sort of comment-out as stated in r149388.
svn path=/trunk/mcs/; revision=149392
Atsushi Eno [Tue, 12 Jan 2010 09:50:41 +0000 (09:50 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs : for DateTimeOffset, use XmlConvert to format string.
svn path=/trunk/mcs/; revision=149391
Atsushi Eno [Tue, 12 Jan 2010 09:32:13 +0000 (09:32 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs : format float and double values as round-trippable.
svn path=/trunk/mcs/; revision=149389
Atsushi Eno [Tue, 12 Jan 2010 09:14:24 +0000 (09:14 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvertTests.cs : added commented-out tests for the remaining
parse tests by Tiaan Geldenhuys for XLinq, with the reason why.
svn path=/trunk/mcs/; revision=149388
Atsushi Eno [Tue, 12 Jan 2010 08:54:06 +0000 (08:54 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : handle Infinity and -Infinity here due to the
commented reason.
svn path=/trunk/mcs/; revision=149387
Atsushi Eno [Tue, 12 Jan 2010 08:48:17 +0000 (08:48 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToSingle(string) should do the same as ToDouble().
* XmlConvertTests.cs : float parse should do the same. Fix NaN test.
svn path=/trunk/mcs/; revision=149386
Atsushi Eno [Tue, 12 Jan 2010 08:38:04 +0000 (08:38 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToDouble(string) should handle NaN, INF and -INF
with whitespace allowed.
* XmlConvertTests.cs : another double parse test for string with
spaces, for string constants such as NaN.
svn path=/trunk/mcs/; revision=149385
Atsushi Eno [Tue, 12 Jan 2010 08:24:06 +0000 (08:24 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* Double.cs : AllowLeading/TrailingWhite should also check those
surrounding string constants such as "NaN".
* DoubleTest.cs : add test for AllowLeading/TrailingSpace flags.
svn path=/trunk/mcs/; revision=149383
Atsushi Eno [Tue, 12 Jan 2010 07:40:31 +0000 (07:40 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToDouble(string) and ToIntXX(string) allows
whitespaces.
* XUtil.cs : to create an XNode from an object, do not use ToString()
directly. Handle TimeSpan in xsd manner.
svn path=/trunk/mcs/; revision=149382
Atsushi Eno [Tue, 12 Jan 2010 07:30:39 +0000 (07:30 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs : to create an XNode from an object, do not use ToString()
directly. Handle TimeSpan in xsd manner.
svn path=/trunk/mcs/; revision=149381
Atsushi Eno [Tue, 12 Jan 2010 07:18:11 +0000 (07:18 -0000)]
forgot ChangeLog.
svn path=/trunk/mcs/; revision=149380
Miguel de Icaza [Tue, 12 Jan 2010 06:59:35 +0000 (06:59 -0000)]
_GNU_SOURCE is already defined by configure.ac
svn path=/trunk/mono/; revision=149379
Atsushi Eno [Tue, 12 Jan 2010 06:51:30 +0000 (06:51 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
DateTime seem also support general conversion (parse) from strings.
svn path=/trunk/mcs/; revision=149378
Atsushi Eno [Tue, 12 Jan 2010 06:46:38 +0000 (06:46 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : ToString(DateTimeOffset) does not emit extra
fraction numbers.
svn path=/trunk/mcs/; revision=149377
Atsushi Eno [Tue, 12 Jan 2010 05:51:38 +0000 (05:51 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XUtil.cs, XElement.cs, XAttribute.cs : unlike XmlConvert, casts to
boolean seem also to handle case-insensitive true/false strings.
svn path=/trunk/mcs/; revision=149376
Atsushi Eno [Tue, 12 Jan 2010 05:43:23 +0000 (05:43 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : fix some cosmetic compatibility bugs:
ArgumentException -> FormatException.
svn path=/trunk/mcs/; revision=149375
Miguel de Icaza [Tue, 12 Jan 2010 04:47:03 +0000 (04:47 -0000)]
2010-01-11 Miguel de Icaza <miguel@novell.com>
* valgrind.h, memcheck.h: Add guards to prevent the gcc features
from being included in non-GCC builds like the Windows build.
svn path=/trunk/mono/; revision=149374
Miguel de Icaza [Tue, 12 Jan 2010 04:43:08 +0000 (04:43 -0000)]
Update docs
svn path=/trunk/mono/; revision=149373
Zoltan Varga [Tue, 12 Jan 2010 04:30:41 +0000 (04:30 -0000)]
Fix eglib so it builds again.
svn path=/trunk/mono/; revision=149372
Zoltan Varga [Tue, 12 Jan 2010 04:30:35 +0000 (04:30 -0000)]
2010-01-12 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (emit_line_number_info): Fix the eglib case so it doesn't crash.
svn path=/trunk/mono/; revision=149371
Atsushi Eno [Tue, 12 Jan 2010 03:07:59 +0000 (03:07 -0000)]
2010-01-12 Atsushi Enomoto <atsushi@ximian.com>
* XmlWriter.cs : handle a corner case for empty string handling
difference between XmlTextWriter and XmlWriter.Create().
* XmlWriterTests.cs : added a corner case test for empty string handling
difference between XmlTextWriter and XmlWriter.Create().
svn path=/trunk/mcs/; revision=149368
Zoltan Varga [Tue, 12 Jan 2010 01:52:08 +0000 (01:52 -0000)]
2010-01-12 Zoltan Varga <vargaz@gmail.com>
* profiles/basic.make (do-profile-check): Honor the V=1 flag.
svn path=/trunk/mcs/; revision=149364
Miguel de Icaza [Tue, 12 Jan 2010 01:11:02 +0000 (01:11 -0000)]
Add support for rendering the title
svn path=/trunk/mcs/; revision=149362
Carlos Alberto Cortez [Mon, 11 Jan 2010 23:42:22 +0000 (23:42 -0000)]
2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Int32Test.cs: Add test case for exponent support in the Parse
methods.
svn path=/trunk/mcs/; revision=149357
Carlos Alberto Cortez [Mon, 11 Jan 2010 23:41:19 +0000 (23:41 -0000)]
2010-01-11 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Int32.cs: Implement support for exponent in the Parse methods.
Fixes #542464.
svn path=/trunk/mcs/; revision=149356
Zoltan Varga [Mon, 11 Jan 2010 22:32:42 +0000 (22:32 -0000)]
2010-01-11 Zoltan Varga <vargaz@gmail.com>
* loader.c (mono_method_signature_checked): New internal function taking an
MonoError argument.
svn path=/trunk/mono/; revision=149349
Zoltan Varga [Mon, 11 Jan 2010 22:32:35 +0000 (22:32 -0000)]
2010-01-11 Zoltan Varga <vargaz@gmail.com>
* socket-io.c (AI_ADDRCONFIG): Applied patch from John Lightsey (jd@cpanel.net).
Fixes build on rh 7.3.
svn path=/trunk/mono/; revision=149348
Zoltan Varga [Mon, 11 Jan 2010 22:32:28 +0000 (22:32 -0000)]
2010-01-11 Zoltan Varga <vargaz@gmail.com>
* mono-profiler-logging.c (_ProfilerFileWriteBuffer): Use MONO_ZERO_LEN_ARRAY.
Fixes #569806.
svn path=/trunk/mono/; revision=149347
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 21:08:48 +0000 (21:08 -0000)]
Use the pre-C99 printf formatting.
svn path=/trunk/mono/; revision=149340
Sebastien Pouliot [Mon, 11 Jan 2010 20:26:27 +0000 (20:26 -0000)]
In .:
2010-01-11 Sebastien Pouliot <sebastien@ximian.com>
* System.Net.dll.sources: Add InternalWebRequestStreamWrapper.cs
* Makefile: Add reference to System.Core (for Action<T>)
In System.Net:
2010-01-11 Sebastien Pouliot <sebastien@ximian.com>
* InternalWebRequestStreamWrapper.cs: New. Moved (and adapted)
from Moonlight System.Windows.Browser assembly.
* InternalWebResponseStreamWrapper.cs: New. Moved (and adapted)
from Moonlight System.Windows.Browser assembly.
* WebClient_2_1.cs: Remove custom delegate declaration (Gendarme's
AvoidDeclaringCustomDelegatesRule). Remove locking over a variable
(Gendarme's ReviewLockUsedOnlyForOperationsOnVariablesRule).
Avoid potential race with event handlers (Gendarme's
ProtectCallsToEventDelegatesRule). Implement OnWriteStreamClosed
* WebRequest_2_1.cs: Signature change from delegate to
Action<long,long,object>. Found using Gendarme's
AvoidDeclaringCustomDelegatesRule
svn path=/trunk/mcs/; revision=149327
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 20:08:16 +0000 (20:08 -0000)]
No soft debug for PS3 yet.
svn path=/trunk/mono/; revision=149325
Gonzalo Paniagua Javier [Mon, 11 Jan 2010 19:47:57 +0000 (19:47 -0000)]
No valgrind on windows.
svn path=/trunk/mono/; revision=149322
Jonathan Pryor [Mon, 11 Jan 2010 13:53:22 +0000 (13:53 -0000)]
* Mono.Documentation/monodocs2slashdoc.cs: Fix NamespaceSummaries.xml
generation to look at the ns-NAMESPACE.xml files, not just
NAMESPACE.xml files.
svn path=/trunk/mcs/; revision=149304
Aaron Bockover [Mon, 11 Jan 2010 06:04:09 +0000 (06:04 -0000)]
2010-01-10 Aaron Bockover <abockover@novell.com>
* assembly.c (mono_set_rootdir): Support finding the mono paths on OS X
at runtime in the same way as on Windows, which yields a relocatable
Mono. Uses dyld's _NSGetExecutablePath and realpath to resolve the path
of the running mono process.
On TARGET_ARM, fallback () will always be executed.
svn path=/trunk/mono/; revision=149298
Zoltan Varga [Mon, 11 Jan 2010 04:09:18 +0000 (04:09 -0000)]
2010-01-11 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (mono_debugger_agent_parse_options): Allow onthrow without
an argument which matches any exception.
svn path=/trunk/mono/; revision=149296
Carlos Alberto Cortez [Mon, 11 Jan 2010 00:33:14 +0000 (00:33 -0000)]
2010-01-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripMenuItemTest: New test for the events related to the check
state.
svn path=/trunk/mcs/; revision=149290
Carlos Alberto Cortez [Mon, 11 Jan 2010 00:32:53 +0000 (00:32 -0000)]
2010-01-10 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ToolStripMenuItem.cs: Put the Checked/CheckState logic in a single
place and synchronize the events properly. Fixes a lack of
coordination between the events - which should be fired together.
svn path=/trunk/mcs/; revision=149289
Zoltan Varga [Sun, 10 Jan 2010 22:40:28 +0000 (22:40 -0000)]
2010-01-10 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_emit_method_call_full): Avoid the virt->nonvirt
optimization if the called method is gshared and marshalbyref, since gshared
methods can' have wrappers. Fixes #569390.
* generics.cs: Add a test.
svn path=/trunk/mono/; revision=149286
Zoltan Varga [Sun, 10 Jan 2010 17:42:12 +0000 (17:42 -0000)]
2010-01-10 Zoltan Varga <vargaz@gmail.com>
* GC.cs: Add stubs for new net 4.0 methods.
svn path=/trunk/mcs/; revision=149284
Zoltan Varga [Sun, 10 Jan 2010 01:52:54 +0000 (01:52 -0000)]
2010-01-10 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c (mono_print_thread_dump_from_ctx): New helper function
callable from gdb.
svn path=/trunk/mono/; revision=149280
Atsushi Eno [Sun, 10 Jan 2010 01:15:03 +0000 (01:15 -0000)]
2010-01-10 Atsushi Enomoto <atsushi@ximian.com>
* SilverlightClientConfigLoader.cs : uncomment binary message
encoding element which was internal-only in SL2 but public in SL3.
svn path=/trunk/mcs/; revision=149278
Zoltan Varga [Sat, 9 Jan 2010 21:20:35 +0000 (21:20 -0000)]
2010-01-09 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (transport_connect): comment out freeaddrinfo calls under win32,
since it is not supported in win2000.
svn path=/trunk/mono/; revision=149274
Carlos Alberto Cortez [Sat, 9 Jan 2010 17:03:44 +0000 (17:03 -0000)]
2010-01-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TrackBarTest.cs: New test for events.
svn path=/trunk/mcs/; revision=149269
Carlos Alberto Cortez [Sat, 9 Jan 2010 16:58:04 +0000 (16:58 -0000)]
2010-01-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TrackBar.cs: Move our events code to a single method, allowing it to
optionally fire the Scroll event. This way we both avoid the
duplicated calls to OnScroll and also will be able to fire Scroll
*before* OnValueChanged in other places.
Fixes #568026.
svn path=/trunk/mcs/; revision=149268
Atsushi Eno [Sat, 9 Jan 2010 09:51:13 +0000 (09:51 -0000)]
2010-01-09 Atsushi Enomoto <atsushi@ximian.com>
* XElement.cs : add DateTimeOffset implicit operator.
Patch by Tiaan Geldenhuys.
svn path=/trunk/mcs/; revision=149265
Marek Habersack [Sat, 9 Jan 2010 00:29:25 +0000 (00:29 -0000)]
2010-01-09 Marek Habersack <mhabersack@novell.com>
* WebConfigurationManager.cs: GetSection properly handles looking
up and caching of <location> instances. Part of fix for bug
#568441
* WebConfigurationHost.cs: GetConfigPathFromLocationSubPath
calculatesthe path relative to the current config file path. Part
of fix for bug #568441
2010-01-09 Marek Habersack <mhabersack@novell.com>
* VirtualPathUtility.cs: small optimizations for GetDirectory
2010-01-09 Marek Habersack <mhabersack@novell.com>
* ConfigurationLocation.cs: trailing / characters are removed from
the path.
* Configuration.cs: instances created for locations inherit
ConfigPath from their containing document.
Host.GetConfigPathFromLocationSubPath must be called with current
instance's configPath, not LocationConfigPath.
Locations are sought for using paths relative to the current
instance's configPath, not to the root path.
All of the above is part of fix for bug #568441
svn path=/trunk/mcs/; revision=149262
Zoltan Varga [Fri, 8 Jan 2010 22:42:34 +0000 (22:42 -0000)]
Fix the previous change.
svn path=/trunk/mono/; revision=149259
Zoltan Varga [Fri, 8 Jan 2010 22:39:36 +0000 (22:39 -0000)]
2010-01-08 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_image): Add a SET_ERROR argument to set the loader
error if loading an assembly fails.
(mono_aot_plt_resolve): Return NULL instead of asserting if loading fails.
* mini-trampolines.c (mono_aot_plt_trampoline): Throw a pending loader error
if exists.
svn path=/trunk/mono/; revision=149258
Rodrigo Kumpera [Fri, 8 Jan 2010 21:14:21 +0000 (21:14 -0000)]
2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* TypeTest.cs: Test for variant use of GetInterfaceMap.
svn path=/trunk/mcs/; revision=149256
Rodrigo Kumpera [Fri, 8 Jan 2010 20:47:15 +0000 (20:47 -0000)]
2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* icall.c (ves_icall_Type_GetInterfaceMapData): This function is generics variance aware.
svn path=/trunk/mono/; revision=149252
Jonathan Pryor [Fri, 8 Jan 2010 20:16:26 +0000 (20:16 -0000)]
* library.make: Update $(MDOC_UP) to remove the net_1_ detection.
mdoc 2.4 moved to Cecil and stopped building monodocer1, rendering
the check meaningless, and current trunk doesn't build the 1.0
profile anyway, making the check more meaningless.
svn path=/trunk/mcs/; revision=149251
Zoltan Varga [Fri, 8 Jan 2010 19:04:43 +0000 (19:04 -0000)]
2010-01-08 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_exception_debug_info): Set jinfo->from_llvm for LLVM
compiled methods.
svn path=/trunk/mono/; revision=149249
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:24 +0000 (19:04 -0000)]
2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* valid_iface_with_variant_constraint.cs: Constraints can be variant.
svn path=/trunk/mono/; revision=149248
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:16 +0000 (19:04 -0000)]
2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_is_assignable_from_slow): Support variant
generic delegates.
* class.c (mono_class_implement_interface_slow): Support types with
variant generic arguments.
svn path=/trunk/mono/; revision=149247
Rodrigo Kumpera [Fri, 8 Jan 2010 19:04:07 +0000 (19:04 -0000)]
2010-01-08 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c: Remove some code duplication.
svn path=/trunk/mono/; revision=149246
Zoltan Varga [Fri, 8 Jan 2010 17:41:40 +0000 (17:41 -0000)]
2010-01-08 Zoltan Varga <vargaz@gmail.com>
* mini-llvm-cpp.cpp: Remove the unused ctx variable.
svn path=/trunk/mono/; revision=149245