Rodrigo Kumpera [Tue, 19 May 2009 22:16:08 +0000 (22:16 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the generic param constraint table.
* assembly-with-generics.cs: Add stuff for new tests.
svn path=/trunk/mono/; revision=134431
Rodrigo Kumpera [Tue, 19 May 2009 22:15:58 +0000 (22:15 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the generic param constraint table.
svn path=/trunk/mono/; revision=134430
Rodrigo Kumpera [Tue, 19 May 2009 22:15:42 +0000 (22:15 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (verify_generic_param_table): Fix
thinko on the valid flags bits for generic params.
svn path=/trunk/mono/; revision=134429
Rodrigo Kumpera [Tue, 19 May 2009 22:15:28 +0000 (22:15 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the methodspec table.
* assembly-with-generics.cs: Add stuff for new tests.
svn path=/trunk/mono/; revision=134428
Rodrigo Kumpera [Tue, 19 May 2009 22:15:17 +0000 (22:15 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the methodspec table.
svn path=/trunk/mono/; revision=134427
Rodrigo Kumpera [Tue, 19 May 2009 22:15:02 +0000 (22:15 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the generic param table.
* assembly-with-generics.cs: New file for generic tests.
* Makefile: Adjust the build to the new file.
svn path=/trunk/mono/; revision=134426
Rodrigo Kumpera [Tue, 19 May 2009 22:14:52 +0000 (22:14 -0000)]
2009-05-19 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the generic param table.
svn path=/trunk/mono/; revision=134425
Jb Evain [Tue, 19 May 2009 17:39:27 +0000 (17:39 -0000)]
2009-05-19 Jb Evain <jbevain@novell.com>
* Mono.Cecil/TargetRuntime.cs
* Mono.Cecil/StructureReader.cs
* Mono.Cecil.Metadata/MetadataWriter.cs:
add support for .net 4.0 detection.
svn path=/trunk/mcs/; revision=134402
Mark Probst [Tue, 19 May 2009 17:35:51 +0000 (17:35 -0000)]
SGen: Store and use the count with REMSET_VTYPE.
2009-05-19 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Store and use the count with REMSET_VTYPE.
svn path=/trunk/mono/; revision=134401
Mark Probst [Tue, 19 May 2009 17:33:21 +0000 (17:33 -0000)]
Small SGen fix.
2009-05-19 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Use generation enum more consistently and use the
correct generation in mono_gc_register_for_finalization().
svn path=/trunk/mono/; revision=134400
Atsushi Eno [Tue, 19 May 2009 14:43:55 +0000 (14:43 -0000)]
2009-05-19 Jonas Larsson <jonas.larsson@manodo.se>
* XmlSchemaUtil.cs, BuiltInDatatype.cs, XmlSchemaComplexType.cs:
Introduced new MS compatibility option by environment variable,
for bug #502115.
svn path=/trunk/mcs/; revision=134397
Atsushi Eno [Tue, 19 May 2009 14:30:11 +0000 (14:30 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaGroupRef.cs : when getting optimized particle, reset was
incomplete. Patch by Jonas Larsson. Fixed bug #502168.
2009-05-07 Jonas Larsson <jonas.larsson@manodo.se>
* XmlSchemaValidatorTests.cs : added test for bug #501666.
svn path=/trunk/mcs/; revision=134396
Atsushi Eno [Tue, 19 May 2009 12:53:09 +0000 (12:53 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : add To header.
svn path=/trunk/mcs/; revision=134394
Atsushi Eno [Tue, 19 May 2009 12:01:20 +0000 (12:01 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : fix several SOAP12 fault deserialization in xml
parsing.
* MessageFaultTest.cs : added more SOAP 12 fault parser tests.
* soap-fault.xml, soap-fault-incomplete4.xml : new test files.
svn path=/trunk/mcs/; revision=134389
Atsushi Eno [Tue, 19 May 2009 11:37:30 +0000 (11:37 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : fix utf16 array on getting its
length. Report correct length (since BinaryReader is directly used
it makes no sense to incompletely keep track of position in Source).
* XmlBinaryDictionaryReaderTest.cs : added test for utf16 chars.
svn path=/trunk/mcs/; revision=134388
Atsushi Eno [Tue, 19 May 2009 08:20:48 +0000 (08:20 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs : support reader quotas.
svn path=/trunk/mcs/; revision=134371
Massimiliano Mantione [Tue, 19 May 2009 08:04:13 +0000 (08:04 -0000)]
Fixed estimate for short branches on amd64.
svn path=/trunk/mono/; revision=134370
Atsushi Eno [Tue, 19 May 2009 06:25:43 +0000 (06:25 -0000)]
2009-05-19 Atsushi Enomoto <atsushi@ximian.com>
* XmlConvert.cs : no reason not to report invalid input string for
ToGuid().
svn path=/trunk/mcs/; revision=134369
Gonzalo Paniagua Javier [Tue, 19 May 2009 03:03:06 +0000 (03:03 -0000)]
revert. more things broken than fixed
svn path=/trunk/mcs/; revision=134365
Rodrigo Kumpera [Tue, 19 May 2009 01:49:57 +0000 (01:49 -0000)]
2009-05-18 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the nested class table.
* assembly-with-complex-type.cs: Add a nested class.
svn path=/trunk/mono/; revision=134363
Rodrigo Kumpera [Tue, 19 May 2009 01:49:36 +0000 (01:49 -0000)]
2009-05-18 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the nested class table.
svn path=/trunk/mono/; revision=134362
Rodrigo Kumpera [Tue, 19 May 2009 01:49:11 +0000 (01:49 -0000)]
2009-05-18 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the manifest resource table.
* Makefile: Update to the new dependency.
* assembly-with-resource.cs: Add an exported type to be used
by the new tests.
svn path=/trunk/mono/; revision=134361
Rodrigo Kumpera [Tue, 19 May 2009 01:48:51 +0000 (01:48 -0000)]
2009-05-18 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the manifest resource table.
svn path=/trunk/mono/; revision=134360
Miguel de Icaza [Tue, 19 May 2009 01:42:03 +0000 (01:42 -0000)]
2009-05-18 Miguel de Icaza <miguel@novell.com>
* daemon.c: Move the compile check of MONO_SIZEOF_SUNPATH to the
file that uses it.
svn path=/trunk/mono/; revision=134359
Miguel de Icaza [Tue, 19 May 2009 01:36:14 +0000 (01:36 -0000)]
More header checks
svn path=/trunk/mono/; revision=134358
Miguel de Icaza [Tue, 19 May 2009 01:32:53 +0000 (01:32 -0000)]
Do not include prototypes if sys/select.h is not available
svn path=/trunk/mono/; revision=134357
Miguel de Icaza [Tue, 19 May 2009 01:08:51 +0000 (01:08 -0000)]
2009-05-18 Miguel de Icaza <miguel@novell.com>
* Rename `threads.c' to `wthreads.c' as broken build systems are
not able to cope with two files with the same name across multiple
svn path=/trunk/mono/; revision=134356
Miguel de Icaza [Tue, 19 May 2009 00:09:19 +0000 (00:09 -0000)]
2009-05-18 Miguel de Icaza <miguel@novell.com>
* include/private/gcconfig.h: Add support for Linux on the PS3
svn path=/trunk/mono/; revision=134354
Marek Habersack [Mon, 18 May 2009 19:03:22 +0000 (19:03 -0000)]
2009-05-18 Marek Habersack <mhabersack@novell.com>
* BuildManager.cs: GetPrecompiledApplicationType () uses
VirtualPathUtility.Combine to build global.asax virtual
path. Patch from Robert Jordan <robertj@gmx.net>, thanks! Fixes
bug #504615
svn path=/trunk/mcs/; revision=134342
Jb Evain [Mon, 18 May 2009 17:09:29 +0000 (17:09 -0000)]
add tests
svn path=/trunk/mcs/; revision=134335
Jb Evain [Mon, 18 May 2009 17:08:43 +0000 (17:08 -0000)]
2009-05-18 Jb Evain <jbevain@novell.com>
* Enumerable.cs (Max, Min): fix generic versions.
svn path=/trunk/mcs/; revision=134333
Carlos Alberto Cortez [Mon, 18 May 2009 17:01:58 +0000 (17:01 -0000)]
2009-05-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
duplication of code, as well as actually getting the focus back in
*any* scenario where the drop down is closed.
svn path=/trunk/mcs/; revision=134332
Jonathan Pobst [Mon, 18 May 2009 16:53:39 +0000 (16:53 -0000)]
2009-05-18 Tom Hindle <tom_hindle@sil.org>
* ScrollableControl.cs: Ignore setting properties HScroll and
VScroll when AutoScroll is true.
[Fixes bug #500213]
svn path=/trunk/mcs/; revision=134331
Jonathan Pobst [Mon, 18 May 2009 15:26:01 +0000 (15:26 -0000)]
2009-05-18 Jonathan Pobst <monkey@jpobst.com>
* ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
disabled graphics look closer to the ones that .Net produces.
[Fixes bug #473660]
svn path=/trunk/mcs/; revision=134324
Atsushi Eno [Mon, 18 May 2009 13:29:28 +0000 (13:29 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* ErrorProcessingHandler.cs, InputOrReplyRequestProcessor.cs :
they also premise request-reply channel and broke duplex channels.
svn path=/trunk/mcs/; revision=134319
Carlos Alberto Cortez [Mon, 18 May 2009 12:59:54 +0000 (12:59 -0000)]
2009-05-18 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DateTimePicker.cs: When calculating the max width for the year part,
use the current value, since *all* the possible values are exactly a 4
digits number. This way we avoid a ArgumentOutOfRangeException trying
to check against different values.
Fixes #500917.
svn path=/trunk/mcs/; revision=134317
Atsushi Eno [Mon, 18 May 2009 11:48:20 +0000 (11:48 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* FaultConverter.cs : avoid NRE for null IncomingMessageHeaders.
svn path=/trunk/mcs/; revision=134315
Veerapuram Varadhan [Mon, 18 May 2009 11:32:51 +0000 (11:32 -0000)]
fix for #417398
svn path=/trunk/mcs/; revision=134313
Atsushi Eno [Mon, 18 May 2009 10:05:16 +0000 (10:05 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs, XmlFormatterDeserializer.cs,
KnownTypeCollection.cs : Support for array of some primitive types
in the deserializer was missing, which resulted in peer resolver
RegisterInfo deserialization failure.
svn path=/trunk/mcs/; revision=134312
Atsushi Eno [Mon, 18 May 2009 09:14:51 +0000 (09:14 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* XmlFormatterDeserializer.cs : remove type lookup optimization
(since .NET 3.5 introduced system types with DC) and fix
serialization of system types (ISerializable types were not
resolved in previous code).
svn path=/trunk/mcs/; revision=134310
Atsushi Eno [Mon, 18 May 2009 09:03:15 +0000 (09:03 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : it was only about 2.1. Fix build.
svn path=/trunk/mcs/; revision=134309
Atsushi Eno [Mon, 18 May 2009 08:34:08 +0000 (08:34 -0000)]
2009-05-18 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs : It is not possible to get schema without
IXmlSerializable instance.
svn path=/trunk/mcs/; revision=134308
Zoltan Varga [Sun, 17 May 2009 18:53:04 +0000 (18:53 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (dis_one): Add little-endian support for ldstr.
svn path=/trunk/mono/; revision=134303
Zoltan Varga [Sun, 17 May 2009 18:39:19 +0000 (18:39 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* exceptions-ppc.c: Remove the caching from the trampoline creation
functions, it is already done in the caller.
svn path=/trunk/mono/; revision=134302
Gert Driesen [Sun, 17 May 2009 15:06:17 +0000 (15:06 -0000)]
* CookieContainer.cs: Provide meaningful information in exception
messages, and improve compatibility with MS. Modified set_Capacity to
no longer change MaxCookieSize when new value is less than
MaxCookieSize.
* CookieTest.cs: Added test for Path.
* CookieContainerTest.cs: Added and improved .ctor tests.
Improved tests for Capacity and MaxCookieSize. Added tests for
PerDomainCapacity. Added tests for Add overloads, GetCookieHeader,
GetCookies and SetCookies. Added test for bug #421827.
svn path=/trunk/mcs/; revision=134295
Zoltan Varga [Sun, 17 May 2009 12:09:02 +0000 (12:09 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (test_messages): Fix the dependencies of this test.
svn path=/trunk/mono/; revision=134294
Zoltan Varga [Sun, 17 May 2009 01:14:45 +0000 (01:14 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_llvm_vcall_trampoline): Fix the llvm build.
svn path=/trunk/mono/; revision=134291
Zoltan Varga [Sun, 17 May 2009 00:59:17 +0000 (00:59 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.h mini-arm.h mini-x86.h mini-amd64.h: Add
MONO_ARCH_GSHARED_SUPPORTED define.
* mini.c (mini_init): Use the MONO_ARCH_GSHARED_SUPPORTED define.
svn path=/trunk/mono/; revision=134290
Zoltan Varga [Sun, 17 May 2009 00:59:10 +0000 (00:59 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add TARGET_POWERPC/POWERPC64 defines.
svn path=/trunk/mono/; revision=134289
Zoltan Varga [Sun, 17 May 2009 00:59:03 +0000 (00:59 -0000)]
2009-05-17 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c mini.c: Get rid of the unused mono_arch_fixup_jinfo ()
function.
svn path=/trunk/mono/; revision=134288
Zoltan Varga [Sat, 16 May 2009 20:43:26 +0000 (20:43 -0000)]
2009-05-16 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_vtable_entry): Avoid adding static-rgctx
wrappers, this is now done in the JIT.
svn path=/trunk/mono/; revision=134287
Zoltan Varga [Sat, 16 May 2009 20:28:24 +0000 (20:28 -0000)]
2009-05-16 Zoltan Varga <vargaz@gmail.com>
* jit-icalls.c (mono_helper_compile_generic_method): Get rid of the
call to mono_marshal_get_rgctx_invoke ().
svn path=/trunk/mono/; revision=134286
Zoltan Varga [Sat, 16 May 2009 20:28:16 +0000 (20:28 -0000)]
2009-05-16 Zoltan Varga <vargaz@gmail.com>
* mini.c method-to-ir.c mini-trampolines.c: Get rid of the usage of
mono_marshal_get_static_rgctx_invoke (), all platforms which support
gshared use the static rgctx trampolines now.
svn path=/trunk/mono/; revision=134285
Zoltan Varga [Sat, 16 May 2009 20:16:49 +0000 (20:16 -0000)]
In metadata/
2009-05-16 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_set_generic_sharing_supported): New internal function.
(mono_class_generic_sharing_enabled): Move the #ifdef stuff to the JIT.
In mini/
2009-05-16 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Call mono_set_generic_sharing_supported () if the
platform supports it.
svn path=/trunk/mono/; revision=134284
Miguel de Icaza [Sat, 16 May 2009 20:16:43 +0000 (20:16 -0000)]
Add
svn path=/trunk/mcs/; revision=134283
Miguel de Icaza [Sat, 16 May 2009 18:03:09 +0000 (18:03 -0000)]
2009-05-16 Miguel de Icaza <miguel@novell.com>
* Apply patch from Alex Shulgin
<alexander.shulgin@yessoftware.com> to support OSX in
NetworkInformation classes.
svn path=/trunk/mcs/; revision=134277
Sebastien Pouliot [Sat, 16 May 2009 15:40:37 +0000 (15:40 -0000)]
2009-05-16 Sebastien Pouliot <sebastien@ximian.com>
* Uri.cs (NET_2_1): Remove some extra code for NET_2_1
svn path=/trunk/mcs/; revision=134274
Gonzalo Paniagua Javier [Sat, 16 May 2009 09:41:01 +0000 (09:41 -0000)]
2009-05-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* RouteCollection.cs: when there is no named route, try the current
route before going through the list. The known values (default or
not) for the current route are merged with the values provided when
attempting to match.
Example:
Html.RouteLink ("Text", new { page = 5 });
when the current path is /some/path-here and the route is:
routes.MapRoute("RouteName", "some/{one}-{two}/{page}",
new { controller = "Some", action = "Index", page = 1});
svn path=/trunk/mcs/; revision=134272
Gonzalo Paniagua Javier [Sat, 16 May 2009 05:47:01 +0000 (05:47 -0000)]
2009-05-16 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpWebResponse.cs:
* HttpWebRequest.cs: support automatic decompression of the response.
Fixes bug #504391.
svn path=/trunk/mcs/; revision=134269
Veerapuram Varadhan [Sat, 16 May 2009 02:37:37 +0000 (02:37 -0000)]
2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #325464 - ToolItems.xsd
* CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
member names when it is same as that of the dataset. Fixes the CS0542 error
during compilation of the generated source.
svn path=/trunk/mcs/; revision=134263
Veerapuram Varadhan [Sat, 16 May 2009 01:16:20 +0000 (01:16 -0000)]
Nunit 2.4 changes and other sqlserver config fixes
svn path=/trunk/mcs/; revision=134258
Veerapuram Varadhan [Sat, 16 May 2009 01:16:05 +0000 (01:16 -0000)]
Fix for bug #382589 and corresponding tests
svn path=/trunk/mcs/; revision=134257
Veerapuram Varadhan [Sat, 16 May 2009 01:15:31 +0000 (01:15 -0000)]
2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #382589
* Tds.cs (ServerTdsVersion): New property to access ServerVersion.
* Tds70.cs (WriteParameterInfo): Treat Decimal types as Numeric
types from SQL Server 2000.
* TdsVersion.cs: Add SQL Server 2008 version.
svn path=/trunk/mcs/; revision=134256
Rodrigo Kumpera [Fri, 15 May 2009 21:35:12 +0000 (21:35 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the exported type table.
* assembly-with-module.il: Old file not longer needed.
* assembly-with-module.cs: File use to generate
tests for the exported table.
* module.il: Same. This file is written in MSIL because
gmcs/SRE can't handle the AssemblyAttributesGoHere hack.
* Makefile: Adjust the build to the new files.
svn path=/trunk/mono/; revision=134253
Rodrigo Kumpera [Fri, 15 May 2009 21:34:55 +0000 (21:34 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the exported type table.
svn path=/trunk/mono/; revision=134252
Rodrigo Kumpera [Fri, 15 May 2009 21:30:11 +0000 (21:30 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (main): Fake an assembly for netmodules to make the verifier happy.
svn path=/trunk/mono/; revision=134251
Rodrigo Kumpera [Fri, 15 May 2009 21:29:18 +0000 (21:29 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Add tests for the file table.
svn path=/trunk/mono/; revision=134250
Rodrigo Kumpera [Fri, 15 May 2009 21:28:56 +0000 (21:28 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Verify the file table.
svn path=/trunk/mono/; revision=134249
Rodrigo Kumpera [Fri, 15 May 2009 21:27:27 +0000 (21:27 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* cli-tables-tests.md: Fix one test for the assembly
table.
* cli-tables-tests.md: Add tests for assemblyref.
svn path=/trunk/mono/; revision=134247
Rodrigo Kumpera [Fri, 15 May 2009 21:27:03 +0000 (21:27 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (verify_assembly_table): Fix an error message.
* metadata-verify.c: Verify the assemblyref table.
svn path=/trunk/mono/; revision=134246
Rodrigo Kumpera [Fri, 15 May 2009 21:26:02 +0000 (21:26 -0000)]
2009-05-15 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c (verify_assembly_table): Fix the valid
bits mask for flags.
svn path=/trunk/mono/; revision=134245
Carlos Alberto Cortez [Fri, 15 May 2009 18:28:32 +0000 (18:28 -0000)]
2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* MessageBox.cs: When handling ProcessDialogChar, check that
CancelButton is not null before trying to use it, to avoid a null ref
exception. We don't need to do that on the ok/yes buttons, since they
always exist.
Fixes #503935.
svn path=/trunk/mcs/; revision=134226
Zoltan Varga [Fri, 15 May 2009 18:28:07 +0000 (18:28 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_allocate_vars): Correctly save R5 when using AOT.
svn path=/trunk/mono/; revision=134225
Zoltan Varga [Fri, 15 May 2009 17:02:04 +0000 (17:02 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_method_code): Avoid duplicate labels for methods.
svn path=/trunk/mono/; revision=134218
Zoltan Varga [Fri, 15 May 2009 16:43:34 +0000 (16:43 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* mini-ppc.c (mono_arch_emit_exceptions): Nullify the processed patches.
* tramp-ppc.c (mono_arch_nullify_class_init_trampoline): Implement this
for ppc.
svn path=/trunk/mono/; revision=134217
Zoltan Varga [Fri, 15 May 2009 16:23:30 +0000 (16:23 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (emit_method_code): Skip a few more characters in the debug
label names.
svn path=/trunk/mono/; revision=134215
Zoltan Varga [Fri, 15 May 2009 16:23:23 +0000 (16:23 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* debug-helpers.c (mono_method_full_name): Print generic parameters of
generic methods as well.
svn path=/trunk/mono/; revision=134214
Carlos Alberto Cortez [Fri, 15 May 2009 15:59:16 +0000 (15:59 -0000)]
2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* RTF.cs: If the rtf specified a code page outside the valid values,
fallback to the default one.
Fixes #503174.
svn path=/trunk/mcs/; revision=134212
Jb Evain [Fri, 15 May 2009 14:33:21 +0000 (14:33 -0000)]
2009-05-15 Jb Evain <jbevain@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: fix retrieval
of generic methods.
svn path=/trunk/mcs/; revision=134208
Massimiliano Mantione [Fri, 15 May 2009 14:16:37 +0000 (14:16 -0000)]
Made it possible for mono_arch_instrument_epilog to preserve argument registers.
svn path=/trunk/mono/; revision=134207
Massimiliano Mantione [Fri, 15 May 2009 14:16:11 +0000 (14:16 -0000)]
Removed MONO_INST_BRLABEL instruction flag.
svn path=/trunk/mono/; revision=134206
Jb Evain [Fri, 15 May 2009 13:32:27 +0000 (13:32 -0000)]
2009-05-15 Jb Evain <jbevain@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: fix issues
with non unique MethodReference.ToString for generic method defs.
svn path=/trunk/mcs/; revision=134200
Carlos Alberto Cortez [Fri, 15 May 2009 12:57:46 +0000 (12:57 -0000)]
2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ListBox.cs: Handle the key down event in WndProc instead of doing it
in an event handler, as we need to avoid any operation in case
the user has handled it in its own OnKeyDown handler, and this can't
be achieved since our handler would be the first one always.
* FontDialog.cs: Update the calls since our method handling key down
has been renamed.
Fixes #503469.
svn path=/trunk/mcs/; revision=134198
Atsushi Eno [Fri, 15 May 2009 11:27:39 +0000 (11:27 -0000)]
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* MessageFault.cs : Reason is mandatory. raise XmlException, and
CommunicationException in each CreateFault().
* soap-fault-incomplete.xml : new test file.
* MessageFaultTest.cs : new test.
* System.ServiceModel.dll_test.sources: added MessageFaultTest.cs.
svn path=/trunk/mcs/; revision=134197
Atsushi Eno [Fri, 15 May 2009 11:14:59 +0000 (11:14 -0000)]
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* XPathNavigatorReader.cs : LookupNamespace() in XmlReader from
ReadSubtree() should work correctly on text nodes.
* XPathNavigatorCommonTests.cs : test that LookupNamespace() in
XmlReader from ReadSubtree() works correctly on text nodes.
svn path=/trunk/mcs/; revision=134196
Veerapuram Varadhan [Fri, 15 May 2009 10:48:55 +0000 (10:48 -0000)]
2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
* OracleParameter.cs: Consider DBNull.Value as null and
update size and sizeSet accordingly.
svn path=/trunk/mcs/; revision=134192
Veerapuram Varadhan [Fri, 15 May 2009 10:47:55 +0000 (10:47 -0000)]
2009-05-15 Veerapuram Varadhan <vvaradhan@novell.com>
** Fixes #424908
* OracleParameter.cs: Make sure size and sizeSet are properly
updated whenever value changes.
svn path=/trunk/mcs/; revision=134191
Atsushi Eno [Fri, 15 May 2009 04:54:43 +0000 (04:54 -0000)]
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* TcpDuplexSessionChannel.cs : on listener side, get TcpClient at
Open(). Some (but not all yet) continuous communication works now.
Use ProtocolException. Remove dummy binary session string.
svn path=/trunk/mcs/; revision=134185
Atsushi Eno [Fri, 15 May 2009 04:44:01 +0000 (04:44 -0000)]
2009-05-13 Atsushi Enomoto <atsushi@ximian.com>
* ChannelDispatcher.cs : open channel before using it.
svn path=/trunk/mcs/; revision=134184
Carlos Alberto Cortez [Fri, 15 May 2009 04:18:21 +0000 (04:18 -0000)]
2009-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* Application.cs: We should dismiss the active ToolStrip when we
receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
keyboard short cut can be properly processed by another menu item.
Fixes part of #503663.
svn path=/trunk/mcs/; revision=134183
Atsushi Eno [Fri, 15 May 2009 04:15:32 +0000 (04:15 -0000)]
2009-05-15 Atsushi Enomoto <atsushi@ximian.com>
* DataContractSerializer.cs : write dictionary string directly for
root name/ns (root only, so far).
svn path=/trunk/mcs/; revision=134182
Geoff Norton [Fri, 15 May 2009 02:29:13 +0000 (02:29 -0000)]
2009-05-15 Geoff Norton <gnorton@novell.com>
* mini-darwin.c: This works on arm now.
svn path=/trunk/mono/; revision=134181
Geoff Norton [Fri, 15 May 2009 02:24:32 +0000 (02:24 -0000)]
2009-05-15 Geoff Norton <gnorton@novell.com>
* gc.c: MachO/Darwin supports and uses semaphores fine for this
use-case and is significantly more performant than the wapi layer.
svn path=/trunk/mono/; revision=134180
Geoff Norton [Fri, 15 May 2009 02:24:27 +0000 (02:24 -0000)]
2009-05-15 Geoff Norton <gnorton@novell.com>
* handles.c: Don't start the collection thread if we've disabled
shared handles.
svn path=/trunk/mono/; revision=134179
Marek Habersack [Fri, 15 May 2009 01:21:14 +0000 (01:21 -0000)]
2009-05-15 Marek Habersack <mhabersack@novell.com>
* HtmlForm.cs: if application isn't running on /, make sure we
generate the correct relative path for the action form attribute.
svn path=/trunk/mcs/; revision=134176
Jonathan Pryor [Fri, 15 May 2009 01:18:56 +0000 (01:18 -0000)]
* ListChangedEventArgsTest.cs: Fix .NET 1.1 compile error.
svn path=/trunk/mcs/; revision=134175
Geoff Norton [Fri, 15 May 2009 01:07:01 +0000 (01:07 -0000)]
2009-05-14 Geoff Norton <gnorton@novell.com>
* jit.h, driver.c: Allow full-aot to be decided programatically by the
embedding api.
svn path=/trunk/mono/; revision=134174
Zoltan Varga [Fri, 15 May 2009 01:01:58 +0000 (01:01 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_magic_trampoline): Handle static rgctx invoke
wrappers during full aot mode correctly.
* aot-runtime.c (mono_aot_get_unbox_trampoline): Handle shared generic
methods correctly.
svn path=/trunk/mono/; revision=134173
Sebastien Pouliot [Fri, 15 May 2009 00:31:55 +0000 (00:31 -0000)]
2009-05-14 Sebastien Pouliot <sebastien@ximian.com>
* Socket_2_1.cs: Add ConnectAsync support for NET_2_1 which will
ensure the EndPoint has a valid policy before connecting.
* SocketAsyncEventArgs.cs: Add support for IList<ArraySegment<byte>>
when sending. Add ConnectSocket for NET_2_1
svn path=/trunk/mcs/; revision=134171
Zoltan Varga [Fri, 15 May 2009 00:15:36 +0000 (00:15 -0000)]
2009-05-15 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_aot_method_hash): Use our internal version of
mono_metadata_type_hash ().
svn path=/trunk/mono/; revision=134170