Marek Safar [Thu, 26 Mar 2009 17:20:40 +0000 (17:20 -0000)]
2009-03-26 Marek Safar <marek.safar@gmail.com>
* generic.cs, support.cs: Moved generics stuff out of support.cs
svn path=/trunk/mcs/; revision=130316
Jonathan Pryor [Thu, 26 Mar 2009 16:01:10 +0000 (16:01 -0000)]
* src/DbLinq/System.Data.Linq/Binary.cs: Update to pass the unit tests.
* Makefile: Build against System.Runtime.Serialization.dll so that
Binary can use the [DataContract] attribute.
svn path=/trunk/mcs/; revision=130306
Jonathan Chambers [Thu, 26 Mar 2009 15:47:25 +0000 (15:47 -0000)]
2009-03-26 Jonathan Chambers <joncham@gmail.com>
* TaskDatabase.cs (RegisterTask): Search for class by name
if task was not found using GetType (which uses namespace).
svn path=/trunk/mcs/; revision=130305
Jonathan Pryor [Thu, 26 Mar 2009 15:39:53 +0000 (15:39 -0000)]
* **/*: Flush. (Updates to sync with DbLinq r1026, correcting tests
so that they build under Mono for testing System.Data.Linq.dll.)
svn path=/trunk/mcs/; revision=130303
Jonathan Pryor [Thu, 26 Mar 2009 15:09:07 +0000 (15:09 -0000)]
* **/*: Flush. (Updates to sync with DbLinq r1020, adding additional
tests generated from gui-compare differences.)
svn path=/trunk/mcs/; revision=130301
Zoltan Varga [Thu, 26 Mar 2009 14:32:42 +0000 (14:32 -0000)]
In class/corlib/System.Reflection/
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* ParameterInfoTest.cs: Add a test for #488383.
In class/corlib/System/
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
In class/corlib/Test/System.Reflection/
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* ParameterInfoTest.cs: Add a test for #488383.
svn path=/trunk/mcs/; revision=130298
Zoltan Varga [Thu, 26 Mar 2009 14:29:46 +0000 (14:29 -0000)]
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.
* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.
* appdomain.c (MONO_CORLIB_VERSION): Bump this.
svn path=/trunk/mono/; revision=130297
Zoltan Varga [Thu, 26 Mar 2009 14:29:38 +0000 (14:29 -0000)]
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_get_parameter_info): Add a 'member' argument, used to
obtain the refclass argument needed by mono_param_get_objects (). Fixes
#488383.
* reflection.c (mono_param_get_objects_internal): Add a 'refclass' argument.
* appdomain.c (MONO_CORLIB_VERSION): Bump this.
svn path=/trunk/mono/; revision=130296
Sebastien Pouliot [Thu, 26 Mar 2009 14:27:48 +0000 (14:27 -0000)]
oops, fix wrong copy-pasted doc
svn path=/trunk/mono/; revision=130295
Marek Habersack [Thu, 26 Mar 2009 14:13:53 +0000 (14:13 -0000)]
2009-03-26 Marek Habersack <mhabersack@novell.com>
* HttpWorkerRequest.cs: use a generic dictionary to keep header
names in 2.0+.
GetKnown{Request,Response}HeaderIndex doesn't use the switch
anymore.
* HttpResponse.cs: WriteHeaders now checks whether a header to be
sent is a known one or not and uses the appropriate method to send
that header. Partial fix for bug #488702
svn path=/trunk/mcs/; revision=130292
Sebastien Pouliot [Thu, 26 Mar 2009 14:03:31 +0000 (14:03 -0000)]
2009-03-26 Sebastien Pouliot <sebastien@ximian.com>
* security-core-clr.c: Add/update documentation
svn path=/trunk/mono/; revision=130291
Atsushi Eno [Thu, 26 Mar 2009 13:37:43 +0000 (13:37 -0000)]
2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryFormat.cs, XmlBinaryDictionaryWriter.cs :
added some incomplete code for QName support.
* XmlBinaryDictionaryWriterTest.cs: added QName test part, but
disable since it does not work yet.
svn path=/trunk/mcs/; revision=130290
Zoltan Varga [Thu, 26 Mar 2009 13:36:44 +0000 (13:36 -0000)]
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_handle_global_vregs): Fix support for ternary ops.
svn path=/trunk/mono/; revision=130289
Sebastien Pouliot [Thu, 26 Mar 2009 11:37:05 +0000 (11:37 -0000)]
2009-03-26 Sebastien Pouliot <sebastien@ximian.com>
* X509ChainPolicyTest.cs: Add a small sleep between the Reset and
the second VerificationTime check since it would be possible, on
fast hardware, to get the same value (and assert).
svn path=/trunk/mcs/; revision=130282
Atsushi Eno [Thu, 26 Mar 2009 11:35:32 +0000 (11:35 -0000)]
2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs :
handle utf16 typed nodes. (not sure if it is used in writer.)
svn path=/trunk/mcs/; revision=130281
Atsushi Eno [Thu, 26 Mar 2009 11:32:30 +0000 (11:32 -0000)]
2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryWriter.cs : oops, fix build.
svn path=/trunk/mcs/; revision=130280
Atsushi Eno [Thu, 26 Mar 2009 10:55:51 +0000 (10:55 -0000)]
2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryWriter.cs, XmlBinaryDictionaryReader.cs,
XmlBinaryFormat.cs, : reverted Uuid change (UniqueId is different).
Updated TODO status. Removed extra BinaryReader type.
svn path=/trunk/mcs/; revision=130279
Atsushi Eno [Thu, 26 Mar 2009 10:30:43 +0000 (10:30 -0000)]
2009-03-26 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlBinaryDictionaryWriter.cs,
XmlBinaryFormat.cs : fixed couple of issues regarding text and
base64 fixed-length buffers (their sizes are not variant).
Some ongoing changes on reading dummy-prefixed attributes.
svn path=/trunk/mcs/; revision=130278
Geoff Norton [Thu, 26 Mar 2009 03:10:02 +0000 (03:10 -0000)]
fix the 1.1 build
svn path=/trunk/mcs/; revision=130269
Geoff Norton [Thu, 26 Mar 2009 02:54:01 +0000 (02:54 -0000)]
2009-03-25 Geoff Norton <gnorton@novell.com>
* XmlTextReader.cs: Create the uri as relativeorabsolute.
svn path=/trunk/mcs/; revision=130268
Ivan Zlatev [Thu, 26 Mar 2009 01:43:07 +0000 (01:43 -0000)]
2009-03-26 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: When the current cell is moved out of the editing row
be sure to reset it back to a place holder row.
svn path=/trunk/mcs/; revision=130267
Zoltan Varga [Wed, 25 Mar 2009 23:45:55 +0000 (23:45 -0000)]
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs: Add a test for #488670.
svn path=/trunk/mono/; revision=130257
Zoltan Varga [Wed, 25 Mar 2009 23:45:47 +0000 (23:45 -0000)]
2009-03-26 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_object): Generate code to throw an exception
instead of throwing it. Fixes #488670.
svn path=/trunk/mono/; revision=130256
Mark Probst [Wed, 25 Mar 2009 22:41:17 +0000 (22:41 -0000)]
Fix register allocation bug for ternary ops.
2009-03-25 Mark Probst <mark.probst@gmail.com>
* mini-codegen.c (mono_local_regalloc): Don't let sregs get
allocated to the same registers as fixed sregs.
2009-03-25 Mark Probst <mark.probst@gmail.com>
* interlocked-4.2.cs: New CompareExchange test (triggered
* register
allocation bug on x86 and amd64).
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=130247
Jb Evain [Wed, 25 Mar 2009 21:33:18 +0000 (21:33 -0000)]
2009-03-25 Jb Evain <jbevain@novell.com>
* DelegateTest.cs: add new CreateDelegate test.
svn path=/trunk/mcs/; revision=130246
Marek Habersack [Wed, 25 Mar 2009 21:20:50 +0000 (21:20 -0000)]
2009-03-25 Marek Habersack <mhabersack@novell.com>
* AspTokenizer.cs: MD5 checksum calculation happens here. It's
done incrementally as characters are read.
* AspParser.cs: the MD5 checksum is no longer computed here. Moved
to AspTokenizer.
After parsing, both the tokenizer and the string reader are
disposed of.
svn path=/trunk/mcs/; revision=130245
Marek Habersack [Wed, 25 Mar 2009 21:20:39 +0000 (21:20 -0000)]
2009-03-25 Marek Habersack <mhabersack@novell.com>
* AssemblyBuilder.cs: renamed CopyFile to CopyFileWithChecksum, in
prepration for future inclusion of checksum and line pragmas in
the file being copied.
Files are copied chunk by chunk, not by reading the entire
contents.
svn path=/trunk/mcs/; revision=130244
Atsushi Eno [Wed, 25 Mar 2009 18:48:24 +0000 (18:48 -0000)]
2009-03-25 Atsushi Enomoto <atsushi@ximian.com>
* XmlBinaryDictionaryReader.cs, XmlBinaryFormat.cs,
XmlBinaryDictionaryWriter.cs : couple of enhancements to support
missing types, Dictionary string lookups and indexing fixes.
Also reflect some correction by [MC-NBFX] (MS OSPed document).
* XmlBinaryReaderSession.cs : implemented.
* XmlBinaryDictionaryReaderTest.cs : enable reader-session dependent
tests.
* XmlBinaryDictionaryReaderTest.cs : enable dummy-prefixed attributes
tests.
svn path=/trunk/mcs/; revision=130231
Gert Driesen [Wed, 25 Mar 2009 14:03:36 +0000 (14:03 -0000)]
* HttpResponseTest.cs: Added tests for bug #485557 and #488702.
Return meaningful value for GetUriPath () in FakeHttpWorkerRequest2
to allow tests to pass on MS.
svn path=/trunk/mcs/; revision=130215
Sebastien Pouliot [Wed, 25 Mar 2009 13:51:05 +0000 (13:51 -0000)]
2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
* appdomain.c: Bump MONO_CORLIB_VERSION to 73
* icall.c (ves_icall_System_Delegate_CreateDelegate_internal): Add
an extra 'throwOnBindFailure' parameter to the icall. Remove FIXME
and add a call to mono_security_core_clr_ensure_delegate_creation
to do the extra checks required by CoreCLR.
* security-core-clr.c|h: Add function to check delegate creation,
both in the binding and accessibility, under CoreCLR.
svn path=/trunk/mono/; revision=130214
Sebastien Pouliot [Wed, 25 Mar 2009 13:51:01 +0000 (13:51 -0000)]
2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
* Delegate.cs: Add new parameter to CreateDelegate_internal (icall)
* Environment.cs: Bump mono_corlib_version to 73
svn path=/trunk/mcs/; revision=130213
Sebastien Pouliot [Wed, 25 Mar 2009 12:44:58 +0000 (12:44 -0000)]
2009-03-25 Sebastien Pouliot <sebastien@ximian.com>
* reflection.c (mono_reflection_create_dynamic_method): when
coreclr is enabled make sure that every resolved object are
checked (e.g. field and method access).
* security-core-clr.c|h: Add function to check objects resolved
when a dynamic method is created.
svn path=/trunk/mono/; revision=130206
Raja R Harinath [Wed, 25 Mar 2009 05:21:30 +0000 (05:21 -0000)]
update known issues
svn path=/trunk/mcs/; revision=130190
Gonzalo Paniagua Javier [Wed, 25 Mar 2009 05:18:32 +0000 (05:18 -0000)]
2009-03-25 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpResponse.cs: ClearHeaders() also resets cacheability.
Bug #485557 fixed.
svn path=/trunk/mcs/; revision=130188
Ivan Zlatev [Wed, 25 Mar 2009 03:37:52 +0000 (03:37 -0000)]
2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
* DataView.cs: Fire ListChanged when the RowFilter changes.
[Fixes bug #479405]
svn path=/trunk/mcs/; revision=130179
Jb Evain [Tue, 24 Mar 2009 23:37:53 +0000 (23:37 -0000)]
2009-03-25 Jb Evain <jbevain@novell.com>
* DelegateTest.cs: add CreateDelegate tests for valuetype -> object
conversion for arguments and return types.
svn path=/trunk/mcs/; revision=130176
Jb Evain [Tue, 24 Mar 2009 23:37:13 +0000 (23:37 -0000)]
2009-03-25 Jb Evain <jbevain@novell.com>
* Delegate.cs (CreateDelegate): fix checks to deal with
valuetypes -> obj conversions for arguments, and avoid
issues with such unallowed conversion for return types.
svn path=/trunk/mcs/; revision=130175
Rodrigo Kumpera [Tue, 24 Mar 2009 22:58:15 +0000 (22:58 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* gen-md-tests.c: Add stream-header and cli-metadata
helpers.
* cli-metadata-tests.md: New tests for the cli metadata header
and streams.
* Makefile: Add new tests.
svn path=/trunk/mono/; revision=130173
Rodrigo Kumpera [Tue, 24 Mar 2009 22:58:13 +0000 (22:58 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* metadata-verify.c: Cache directory rva translations.
* metadata-verify.c: Add cli-header and streams verification.
svn path=/trunk/mono/; revision=130172
Rodrigo Kumpera [Tue, 24 Mar 2009 22:57:51 +0000 (22:57 -0000)]
2009-03-24 Rodrigo Kumpera <rkumpera@novell.com>
* image.c (load_metadata_ptrs): We decode MonoImage::md_version_minor at
the wrong offset (8 instead of 6).
svn path=/trunk/mono/; revision=130171
Mark Probst [Tue, 24 Mar 2009 22:42:39 +0000 (22:42 -0000)]
Forgot to add tests/interlocked-3.cs.
svn path=/trunk/mono/; revision=130167
Gonzalo Paniagua Javier [Tue, 24 Mar 2009 21:07:44 +0000 (21:07 -0000)]
2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: we were sending CWD instead of PWD.
Bug #486703 fixed.
svn path=/trunk/mcs/; revision=130157
Gonzalo Paniagua Javier [Tue, 24 Mar 2009 21:00:01 +0000 (21:00 -0000)]
2009-03-24 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Ping.cs: MacOS has different arguments for ping.
Bug #486904 fixed.
svn path=/trunk/mcs/; revision=130154
Mark Probst [Tue, 24 Mar 2009 20:33:21 +0000 (20:33 -0000)]
ATOMIC_CAS with 3 sregs.
2009-03-24 Mark Probst <mark.probst@gmail.com>
* mini-ops.h: New ternary ATOMIC_CAS ops replace the old
ATOMIC_CAS_IMM ops.
* method-to-ir.c: Handle more cases for
Interlocked.CompareExchange.
* cpu-x86.md, mini-x86.c, mini-x86.h, cpu-amd64.md,
* mini-amd64.c,
mini-amd64.h, cpu-ppc.md, cpu-ppc64.md, mini-ppc.c, mini-ppc.h:
ATOMIC_CAS implementations for x86, AMD64, PPC and PPC64.
2009-03-24 Mark Probst <mark.probst@gmail.com>
* interlocked-3.cs: New CompareExchange test.
* Makefile.am: Test added.
svn path=/trunk/mono/; revision=130153
Marek Safar [Tue, 24 Mar 2009 16:11:04 +0000 (16:11 -0000)]
2009-03-24 Marek Safar <marek.safar@gmail.com>
* ecore.cs, expression.cs: Use queried type for MethodGroupExpr
DeclaringType.
svn path=/trunk/mcs/; revision=130138
Zoltan Varga [Tue, 24 Mar 2009 14:16:23 +0000 (14:16 -0000)]
2009-03-24 Zoltan Varga <vargaz@gmail.com>
* thread6.cs: Add back a sleep to avoid a race.
svn path=/trunk/mono/; revision=130126
Marek Habersack [Tue, 24 Mar 2009 08:48:23 +0000 (08:48 -0000)]
Revert r130049
svn path=/trunk/mcs/; revision=130110
Marek Habersack [Tue, 24 Mar 2009 08:48:06 +0000 (08:48 -0000)]
Revert "Forgotten ChangeLog entry"
svn path=/trunk/mcs/; revision=130109
Atsushi Eno [Tue, 24 Mar 2009 07:50:24 +0000 (07:50 -0000)]
2009-03-24 Atsushi Enomoto <atsushi@ximian.com>
* SerializationMap.cs, XmlFormatterDeserializer.cs:
empty collection deserialization resulted in extra
consumption of the next xml node.
svn path=/trunk/mcs/; revision=130108
Zoltan Varga [Mon, 23 Mar 2009 22:01:14 +0000 (22:01 -0000)]
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (libmonoutils_la_SOURCES): Fix make dist.
svn path=/trunk/mono/; revision=130095
Zoltan Varga [Mon, 23 Mar 2009 21:58:58 +0000 (21:58 -0000)]
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* PageCompiler.cs: Fix the build.
svn path=/trunk/mcs/; revision=130093
Marek Habersack [Mon, 23 Mar 2009 19:58:36 +0000 (19:58 -0000)]
2009-03-23 Marek Habersack <mhabersack@novell.com>
* TemplateBuildProvider.cs: add values of the CodeFile and Src
page/master/control directives to the list of file dependencies.
Extract language also for master/page, not only for controls.
* PageCompiler.cs: CreateConstructors now triggers master page
build, if the current page is using one. Fixes bug #487857
svn path=/trunk/mcs/; revision=130082
Veerapuram Varadhan [Mon, 23 Mar 2009 19:33:59 +0000 (19:33 -0000)]
Properly handle TDS 8 BigInt type
Proper handling of TDS 8 BigInt type
svn path=/trunk/mcs/; revision=130081
Gonzalo Paniagua Javier [Mon, 23 Mar 2009 17:36:28 +0000 (17:36 -0000)]
Patch from Matthew Metnestsky
svn path=/trunk/mcs/; revision=130076
Marek Safar [Mon, 23 Mar 2009 16:16:57 +0000 (16:16 -0000)]
New test.
svn path=/trunk/mcs/; revision=130075
Marek Safar [Mon, 23 Mar 2009 16:16:45 +0000 (16:16 -0000)]
2009-03-23 Marek Safar <marek.safar@gmail.com>
* attribute.cs: Consider all members for error reporting when
checking named arguments.
svn path=/trunk/mcs/; revision=130074
Marek Safar [Mon, 23 Mar 2009 15:29:56 +0000 (15:29 -0000)]
Removed obsolete test
svn path=/trunk/mcs/; revision=130066
Marek Safar [Mon, 23 Mar 2009 15:05:00 +0000 (15:05 -0000)]
New test.
svn path=/trunk/mcs/; revision=130061
Marek Safar [Mon, 23 Mar 2009 15:04:42 +0000 (15:04 -0000)]
2009-03-23 Marek Safar <marek.safar@gmail.com>
A fix for bug #487625
* namespace.cs: Use a warning for all predefined type conflicts.
svn path=/trunk/mcs/; revision=130060
Zoltan Varga [Mon, 23 Mar 2009 14:39:12 +0000 (14:39 -0000)]
In metadata/
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_delegate_to_ftnptr): For delegates wrapping pinvoke
methods, return the native function address itself. Fixes
#487758.
In tests/
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* pinvoke-2.2.cs libtest.c: Add a test for #487758.
svn path=/trunk/mono/; revision=130057
Jonathan Pryor [Mon, 23 Mar 2009 14:34:17 +0000 (14:34 -0000)]
* UnixDriveInfo.cs: UnixDriveInfo.AvailableFreeSpace needs to return
stat.f_bavail * stat.f_frsize, NOT f_bavail*f_bsize, as on some
platforms (Solaris) bsize is the preferred block I/O size, while
f_frsize is the *actual* filesystem block size. Thus, to get proper
disk under Solaris, we need to s/f_bsize/f_frsize/g.
svn path=/trunk/mcs/; revision=130055
Zoltan Varga [Mon, 23 Mar 2009 14:16:26 +0000 (14:16 -0000)]
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (decode_method_ref): Fix a warning.
* unwind.c (mono_unwind_frame): Ditto.
svn path=/trunk/mono/; revision=130054
Marek Habersack [Mon, 23 Mar 2009 12:57:17 +0000 (12:57 -0000)]
Forgotten ChangeLog entry
svn path=/trunk/mcs/; revision=130050
Marek Habersack [Mon, 23 Mar 2009 12:57:04 +0000 (12:57 -0000)]
2009-03-23 Marek Habersack <mhabersack@novell.com>
* ConsoleTest.cs: added a bunch of tests for the standard input,
output and error stream properties.
2009-03-23 Marek Habersack <mhabersack@novell.com>
* FileStreamTest.cs: added a bunch of tests for SafeFileHandle
constructors
2009-03-23 Marek Habersack <mhabersack@novell.com>
* Console.cs: OpenStandard{Input,Output,Error} no longer use
FileStream on 2.0+. The reason is that SafeFileHandle used in the
stream doesn't allow handles with values <= 0, and on Unix stdin
is 0 which would break the Console class. Instead of FileStream,
introduced a simple internal specialized stream which is used in
this scenario.
2009-03-23 Marek Habersack <mhabersack@novell.com>
* FileStream.cs: implemented full support for SafeFileHandle in
2.0. The obsolete constructors taking an IntPtr now wrap it in a
SafeFileHandle.
2009-03-23 Marek Habersack <mhabersack@novell.com>
* SafeHandle.cs: added an internal property, OwnsHandle, used by
FileStream.
svn path=/trunk/mcs/; revision=130049
Marek Safar [Mon, 23 Mar 2009 12:43:54 +0000 (12:43 -0000)]
2009-03-23 Marek Safar <marek.safar@gmail.com>
A fix for bug #485706
* statement.cs: Explicitly type catch type argument to pass verifier
check.
svn path=/trunk/mcs/; revision=130048
Marek Safar [Mon, 23 Mar 2009 12:42:57 +0000 (12:42 -0000)]
New test.
svn path=/trunk/mcs/; revision=130047
Zoltan Varga [Mon, 23 Mar 2009 11:20:30 +0000 (11:20 -0000)]
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* StringTest.cs (LastIndexOfStringComparison): Add a test for #486234.
svn path=/trunk/mcs/; revision=130038
Zoltan Varga [Mon, 23 Mar 2009 11:20:08 +0000 (11:20 -0000)]
2009-03-23 Zoltan Varga <vargaz@gmail.com>
* String.cs (LastIndexOf): Handle empty strings correctly. Fixes #486234.
svn path=/trunk/mcs/; revision=130037
Massimiliano Mantione [Mon, 23 Mar 2009 09:46:24 +0000 (09:46 -0000)]
Updated the profiler documentation.
svn path=/trunk/mono/; revision=130030
Massimiliano Mantione [Mon, 23 Mar 2009 09:46:21 +0000 (09:46 -0000)]
mono-profiler-logging.c: Removed useless "gc-signal" option (the newer "heap=<SIGNAL>" format of the "heap" option does the same thing).
svn path=/trunk/mono/; revision=130029
Gonzalo Paniagua Javier [Mon, 23 Mar 2009 04:39:10 +0000 (04:39 -0000)]
2009-03-23 Gonzalo Paniagua Javier <gonzalo@novell.com>
* console-io.c: some of the values for control characters might not be
present.
svn path=/trunk/mono/; revision=130024
Zoltan Varga [Sun, 22 Mar 2009 18:34:24 +0000 (18:34 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (arch_emit_unbox_trampoline): Fix the binary writer support.
(mono_compile_assembly): Enable the binary writer for full-aot as well.
* image-writer.c (do_reloc): Add support for the JUMP24 relocation,
fix the handling of large values in the ALU_PC_G0_NC relocation.
svn path=/trunk/mono/; revision=130003
Marek Habersack [Sun, 22 Mar 2009 18:27:08 +0000 (18:27 -0000)]
2009-03-22 Marek Habersack <mhabersack@novell.com>
* FileStream.cs: implemented the SafeFileHandle property.
svn path=/trunk/mcs/; revision=130002
Miguel de Icaza [Sun, 22 Mar 2009 17:24:44 +0000 (17:24 -0000)]
2009-03-22 Miguel de Icaza <miguel@novell.com>
* driver.cs (Main): Use Environment.Exit to quit quickly and
prevent the compiler from doing the usual wait for helper thread
to terminate.
This is to prevent a slowdown that was reported by Gonzalo on
ASP.NET
svn path=/trunk/mcs/; revision=129990
Zoltan Varga [Sun, 22 Mar 2009 17:10:06 +0000 (17:10 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* local-propagation.c method-to-ir.c local-propagation.c: Fix warnings.
svn path=/trunk/mono/; revision=129989
Zoltan Varga [Sun, 22 Mar 2009 16:06:05 +0000 (16:06 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* gc_wrapper.h: Disable thread local allocation for ARM too because of
incomplete support in libgc.
svn path=/trunk/mono/; revision=129988
Mark Probst [Sun, 22 Mar 2009 15:56:03 +0000 (15:56 -0000)]
Spilling for ternary ops.
2009-03-22 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c (mono_spill_global_vars): Support for ternary
ops.
svn path=/trunk/mono/; revision=129987
Mark Probst [Sun, 22 Mar 2009 15:54:56 +0000 (15:54 -0000)]
Small ternary ops fixes.
2009-03-22 Mark Probst <mark.probst@gmail.com>
* method-to-ir.c: MINI_OP3 needs a comma.
* method-to-ir.c, mini.h, mini.c: Remove
mono_init_op_sreg_counts ().
svn path=/trunk/mono/; revision=129986
Zoltan Varga [Sun, 22 Mar 2009 15:12:03 +0000 (15:12 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_output_basic_block): Fix aot support in
OP_JMP.
svn path=/trunk/mono/; revision=129985
Jonathan Pryor [Sun, 22 Mar 2009 03:48:16 +0000 (03:48 -0000)]
* Mono.Documentation/monodocs2html.cs: Perform the timestamp check for
the top-level and namespace-level index files.
svn path=/trunk/mcs/; revision=129970
Zoltan Varga [Sun, 22 Mar 2009 03:16:23 +0000 (03:16 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Fix arguments of the MEMINDEX opcodes.
svn path=/trunk/mono/; revision=129969
Zoltan Varga [Sun, 22 Mar 2009 03:02:29 +0000 (03:02 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c (mono_arch_build_imt_thunk): Disable the !fail_tramp
assertion.
* mini-ops.h: Fix arguments of the MEMINDEX opcodes.
svn path=/trunk/mono/; revision=129968
Zoltan Varga [Sun, 22 Mar 2009 02:32:24 +0000 (02:32 -0000)]
2009-03-22 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_build_imt_thunk): Simplify the fail handling
code somewhat.
svn path=/trunk/mono/; revision=129967
Daniel Nauck [Sat, 21 Mar 2009 23:27:45 +0000 (23:27 -0000)]
2009-03-22 Daniel Nauck <dna@mono-project.de>
* GenerateResource.cs: Set BasePath property of
ResXResourceReader class.
See: http://lists.ximian.com/pipermail/mono-devel-list/2009-March/031459.html
svn path=/trunk/mcs/; revision=129966
Sebastien Pouliot [Sat, 21 Mar 2009 14:41:46 +0000 (14:41 -0000)]
2009-03-21 Sebastien Pouliot <sebastien@ximian.com>
* exception.c|h: Add helpers to create [Field|Method]AccessException
* icall.c: Add required coreclr check calls for field reflection.
Move the existing (method) check logic into security-core-clr.c
* security-core-clr.c: Add functions to check if the access of a
field or method is allowed when reflecting under coreclr. This is
mostly done using a stack walk to find the "real" caller: i.e. the
code that is calling the reflection
svn path=/trunk/mono/; revision=129959
Mark Probst [Sat, 21 Mar 2009 08:04:35 +0000 (08:04 -0000)]
Ternary IR ops in mini.
2009-03-21 Mark Probst <mark.probst@gmail.com>
* cfold.c, cprop.c, decompose.c, genmdesc.c, helpers.c, ir-emit.h,
liveness.c, local-propagation.c, method-to-ir.c, mini-codegen.c,
mini.c, mini.h, simd-intrinsics.c, ssa.c: Support for ternary IR
operations.
svn path=/trunk/mono/; revision=129944
Jonathan Pryor [Sat, 21 Mar 2009 04:04:11 +0000 (04:04 -0000)]
* Mono.Documentation/monodocer.cs: Be nice to make,
mdoc-export-html, and other apps that use file timetamps: if the
file contents haven't changed after the update, don't replace the
"original" file. This preserves file timestamps, thus allowing
other apps to behave nicely (e.g. mdoc-export-html won't update all
documentation after running mdoc-update, as the files won't change
unless something has *actually* changed).
svn path=/trunk/mcs/; revision=129940
Jonathan Pryor [Sat, 21 Mar 2009 02:54:43 +0000 (02:54 -0000)]
* mdoc-export-html.1: Document --force-update parameter.
svn path=/trunk/mono/; revision=129937
Jonathan Pryor [Sat, 21 Mar 2009 02:49:24 +0000 (02:49 -0000)]
* Mono.Documentation/monodocs2html.cs: Do as make(1) does: if the
target file already exists and is newer than the source file, don't
regenerate it. (Greatly speeds things up if only a few .xml files
changed.) Add a --force-update option to disable this behavior.
svn path=/trunk/mcs/; revision=129936
Marek Habersack [Sat, 21 Mar 2009 02:12:29 +0000 (02:12 -0000)]
2009-03-21 Marek Habersack <mhabersack@novell.com>
* HttpSessionState.cs: implemented the CookieMode property.
svn path=/trunk/mcs/; revision=129934
Marek Habersack [Sat, 21 Mar 2009 02:06:03 +0000 (02:06 -0000)]
2009-03-21 Marek Habersack <mhabersack@novell.com>
* HttpResponse.cs: added two missing 3.0+ properties -
SubStatusCode and TrySkipIisCustomErrors.
svn path=/trunk/mcs/; revision=129933
Marek Habersack [Fri, 20 Mar 2009 22:52:33 +0000 (22:52 -0000)]
Fix the build
svn path=/trunk/mono/; revision=129930
Zoltan Varga [Fri, 20 Mar 2009 21:38:56 +0000 (21:38 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* mono/os: Remove this now empty directory.
* mono/Makefile.am (SUBDIRS): Remove 'os'.
svn path=/trunk/mono/; revision=129929
Zoltan Varga [Fri, 20 Mar 2009 21:37:08 +0000 (21:37 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* os/gc-internal.h: Move this to 'utils'.
svn path=/trunk/mono/; revision=129928
Zoltan Varga [Fri, 20 Mar 2009 21:31:14 +0000 (21:31 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_find_block_region): Handle try clauses nested
inside finally clauses correctly. Fixes #485721.
* mini.c (mono_find_spvar_for_region): This needs to handle try regions
after the change above.
* exceptions.cs: Add a test.
svn path=/trunk/mono/; revision=129927
Zoltan Varga [Fri, 20 Mar 2009 21:04:50 +0000 (21:04 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* mono-gdb.py: Update for the latest python API on the archer branch.
svn path=/trunk/mono/; revision=129926
Zoltan Varga [Fri, 20 Mar 2009 21:04:00 +0000 (21:04 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* thread6.cs: Use a monitor to avoid sleeping which doesn't work on slow
machines.
svn path=/trunk/mono/; revision=129925
Jonathan Pryor [Fri, 20 Mar 2009 16:32:43 +0000 (16:32 -0000)]
* x-struct-str.c: It's possible for struct members to be NULL, so make
sure we don't pass NULL to strlen(3).
svn path=/trunk/mono/; revision=129882
Sebastien Pouliot [Fri, 20 Mar 2009 16:24:39 +0000 (16:24 -0000)]
2009-03-20 Sebastien Pouliot <sebastien@ximian.com>
* class.c: Simplification to coreclr checks for overrides that
makes it easier to set breakpoints.
svn path=/trunk/mono/; revision=129880
Zoltan Varga [Fri, 20 Mar 2009 15:53:35 +0000 (15:53 -0000)]
2009-03-20 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_find_block_region): Handle try clauses nested
inside finally clauses correctly. Fixes #485721.
* mini.c (mono_find_spvar_for_region): This needs to handle try regions
after the change above.
* exceptions.cs: Add a test.
svn path=/trunk/mono/; revision=129877