Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:14 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* LockTracerDecoder.cs: Initial version of the lock tracers decoder.
svn path=/trunk/mono/; revision=127477
Rodrigo Kumpera [Thu, 19 Feb 2009 22:12:03 +0000 (22:12 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* Makefile.am: Add lock-tracer.h and lock-trace.c.
* appdomain.c: Call the tracer init function.
* domain-internals.h: Enable the tracer for the domain locks.
* image.c: Enable the tracer for image locks.
* loader.c: Enable the trace for the loader lock.
* lock-tracer.h:
* lock-tracer.c: Initial implementation of the lock trace utility.
The tracer requires a compile time define to be enabled and a env var
to be enabled at runtime.
svn path=/trunk/mono/; revision=127476
Rodrigo Kumpera [Thu, 19 Feb 2009 22:11:54 +0000 (22:11 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* domain.c (mono_domain_code_foreach): Improve documentation.
svn path=/trunk/mono/; revision=127475
Marek Habersack [Thu, 19 Feb 2009 21:16:49 +0000 (21:16 -0000)]
2009-02-19 Marek Habersack <mhabersack@novell.com>
* ApplicationHost.cs: added support for the
__MONO_DOMAIN_ID_SUFFIX environment variable, used by mod_mono.
svn path=/trunk/mcs/; revision=127465
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:35:20 +0000 (20:35 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* src/gstr.c: use memset in g_strnfill.
svn path=/trunk/mono/; revision=127457
Jb Evain [Thu, 19 Feb 2009 20:17:53 +0000 (20:17 -0000)]
2009-02-19 Jb Evain <jbevain@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: also remove existing
CAS security declarations before injecting CoreCLR security attributes.
svn path=/trunk/mcs/; revision=127453
Ivan Zlatev [Thu, 19 Feb 2009 20:14:15 +0000 (20:14 -0000)]
2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
* DataGridViewCell.cs: Use strict equality comparison in order to
prevent superfluous CellValueChanged events.
svn path=/trunk/mcs/; revision=127450
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 20:13:58 +0000 (20:13 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* FtpWebRequest.cs: avoid errors when creating a temporary Uri to get
the local path.
* WebClient.cs: when setting up the request for downloading, use the
default method. Fixes bug #477611.
svn path=/trunk/mcs/; revision=127449
Rodrigo Kumpera [Thu, 19 Feb 2009 19:18:56 +0000 (19:18 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* SecurityManager.cs: Make core-clr work under non 2.1 profiles.
svn path=/trunk/mcs/; revision=127442
Sebastien Pouliot [Thu, 19 Feb 2009 18:53:32 +0000 (18:53 -0000)]
2008-02-19 Sebastien Pouliot <sebastien@ximian.com>
* detect-sc.cs, detect-ssc.cs: Accept multiple input directories
to find the platform assemblies (and deal with the current /mcs
and /moon locations).
* Makefile.am: Detect platform assemblies in {x}/mcs and {x}/moon
svn path=/trunk/mcs/; revision=127439
Sebastien Pouliot [Thu, 19 Feb 2009 18:52:46 +0000 (18:52 -0000)]
2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
* System.Windows[.Browser].auto.[sc|scc]: New data files
* mscorlib.auto.ssc, System.Net.auto.ssc: Updated since adding
the first auto.sc generation cause new auto.ssc to be found.
svn path=/trunk/mcs/; revision=127438
Ivan Zlatev [Thu, 19 Feb 2009 18:23:01 +0000 (18:23 -0000)]
2009-02-19 Ivan N. Zlatev <contact@i-nz.net>
* DataGridView.cs: Do not reset the columns when the data list changes,
but only the rows. Fixes multiple bugs related to sorting, custom
column styles being reset and more.
svn path=/trunk/mcs/; revision=127434
Bill Holmes [Thu, 19 Feb 2009 18:13:05 +0000 (18:13 -0000)]
2009-01-19 Bill Holmes <billholmes54@gmail.com>
* src/gstr.c (g_strnfill): Fixing a warning for MSVC.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127431
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:54 +0000 (18:07 -0000)]
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c: Adjust locking order to the new semantics where the loader lock
comes first.
2009-02-19 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c:
* generic-sharing.c:
* object.c:
* reflection.c: Adjust locking order to the new semantics where the loader lock
comes first.
svn path=/trunk/mono/; revision=127430
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:39 +0000 (18:07 -0000)]
2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* aot-runtime.c:
* mini-amd64.c:
* mini-arm.c:
* mini-ia64.c:
* mini-mips.c:
* mini-ppc.c:
* mini-sparc.c:
* mini-trampolines.c:
* mini-x86.c:
* mini.c:
* tramp-alpha.c:
* tramp-amd64.c:
* tramp-arm.c:
* tramp-hppa.c:
* tramp-ia64.c:
* tramp-mips.c:
* tramp-ppc.c:
* tramp-s390.c:
* tramp-s390x.c:
* tramp-sparc.c:
* tramp-x86.c: Use mono_domain_code_* functions instead of using MonoDomain::code_mp directly.
svn path=/trunk/mono/; revision=127429
Rodrigo Kumpera [Thu, 19 Feb 2009 18:07:29 +0000 (18:07 -0000)]
2009-02-18 Rodrigo Kumpera <rkumpera@novell.com>
* domain.c: Add mono_domain_code_* functions that perform locking
around the domain codeman.
* domain-internals.h: Export those functions.
* object.c: Use new functions instead of acquiring the domain lock.
svn path=/trunk/mono/; revision=127428
Jonathan Pobst [Thu, 19 Feb 2009 17:13:45 +0000 (17:13 -0000)]
2009-02-19 Jonathan Pobst <monkey@jpobst.com>
* ThemeWin32Classic.cs: Respect a PictureBox's Padding when
drawing the image.
svn path=/trunk/mcs/; revision=127426
Sebastien Pouliot [Thu, 19 Feb 2009 16:15:44 +0000 (16:15 -0000)]
2009-02-19 Sebastien Pouliot <sebastien@ximian.com>
* *.auto.sc: Data files for [SecurityCritical]
* *.auto.ssc: Data files for [SecuritySafeCritical]
svn path=/trunk/mcs/; revision=127417
Jonathan Pryor [Thu, 19 Feb 2009 15:49:07 +0000 (15:49 -0000)]
* Test/Mono.Unix/UnixSignalTest.cs: Disable the tests that use
RealTimeSignum on OS X, as OS X doesn't support real-time signals
(and thus these will always error, often for the "wrong" reason).
* Test/Mono.Unix.Native/RealTimeSignumTest.cs: Disable the tests on
Mac OS X, as OS X doesn't support real-time signals.
svn path=/trunk/mcs/; revision=127415
Atsushi Eno [Thu, 19 Feb 2009 15:03:40 +0000 (15:03 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* CodeTryBlock.cs : new statement support.
* System.ServiceModel.dll.sources,
net_2_1_raw_System.ServiceModel.dll.sources :
added CodeTryBlock.cs.
svn path=/trunk/mcs/; revision=127414
Atsushi Eno [Thu, 19 Feb 2009 15:01:00 +0000 (15:01 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* CodeCast.cs : fix PrintCode() for no-conversion case.
svn path=/trunk/mcs/; revision=127413
Sebastien Pouliot [Thu, 19 Feb 2009 14:56:48 +0000 (14:56 -0000)]
update for build 2.0.40115.0
svn path=/trunk/mcs/; revision=127412
Marek Safar [Thu, 19 Feb 2009 12:59:41 +0000 (12:59 -0000)]
2009-02-19 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: More verbosity needed for runtime crashes.
svn path=/trunk/mcs/; revision=127407
Marek Safar [Thu, 19 Feb 2009 12:25:44 +0000 (12:25 -0000)]
Updated with latest changes
svn path=/trunk/mcs/; revision=127404
Marek Safar [Thu, 19 Feb 2009 10:42:27 +0000 (10:42 -0000)]
New tests.
svn path=/trunk/mcs/; revision=127391
Marek Safar [Thu, 19 Feb 2009 10:41:56 +0000 (10:41 -0000)]
2009-02-19 Marek Safar <marek.safar@gmail.com>
A fix for bug #475860 by David Mitchell <dmitchell@logos.com>
* class.cs: Define base type members before setting up member cache.
svn path=/trunk/mcs/; revision=127390
Raja R Harinath [Thu, 19 Feb 2009 10:34:45 +0000 (10:34 -0000)]
update known issues
svn path=/trunk/mcs/; revision=127389
Veerapuram Varadhan [Thu, 19 Feb 2009 08:10:32 +0000 (08:10 -0000)]
* Tds.cs: Tds 8 collation support
Tds80.cs: - ditto -
TdsComm.cs: - ditto -
TdsDataColumn.cs: - ditto -
TdsCollation.cs: New file. Based on patch from Dmitry S.
Kataev <dmitryskey@hotmail.com>
svn path=/trunk/mcs/; revision=127380
Veerapuram Varadhan [Thu, 19 Feb 2009 07:48:41 +0000 (07:48 -0000)]
* OracleParameter.cs (bind): Consider OciDataType.Float and
* .Integer as OciDataType.Number. Patch provided by Russell
<russell.kay@realtimeworlds.com>
svn path=/trunk/mcs/; revision=127379
Geoff Norton [Thu, 19 Feb 2009 07:09:22 +0000 (07:09 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* Fix the build, these all need to loose this #if guard.
svn path=/trunk/mcs/; revision=127378
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 06:47:31 +0000 (06:47 -0000)]
2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
* OleDbFactory.cs: New file.
svn path=/trunk/mcs/; revision=127374
Geoff Norton [Thu, 19 Feb 2009 05:46:09 +0000 (05:46 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* net_2_1_raw_System.Xml.dll.sources: Add a bunch of missing attributes
svn path=/trunk/mcs/; revision=127369
Geoff Norton [Thu, 19 Feb 2009 05:46:05 +0000 (05:46 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* SerializationSource.cs: KeyHelper is needed by
the 2.1 profile now.
svn path=/trunk/mcs/; revision=127368
Geoff Norton [Thu, 19 Feb 2009 05:15:28 +0000 (05:15 -0000)]
2009-02-19 Geoff Norton <gnorton@novell.com>
* *.cs: The tuner takes care of the visibility of this for us, and it
is in fact needed. (Readd ReadAttributeValue to 2.1)
svn path=/trunk/mcs/; revision=127366
Atsushi Eno [Thu, 19 Feb 2009 04:37:16 +0000 (04:37 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* xmltool.cs : call Compile() and detect relax ng grammar error
so that it could detect grammar sanity when there is no instance
to be validated.
svn path=/trunk/mcs/; revision=127365
Atsushi Eno [Thu, 19 Feb 2009 04:35:23 +0000 (04:35 -0000)]
2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
* XsdDatatypeProvider.cs : detect grammar-level error in type usage
at compile time.
svn path=/trunk/mcs/; revision=127364
Gonzalo Paniagua Javier [Thu, 19 Feb 2009 02:43:03 +0000 (02:43 -0000)]
2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* TemplateControl.cs: ReadStringResource returns null now.
svn path=/trunk/mcs/; revision=127358
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 23:53:11 +0000 (23:53 -0000)]
svn path=/trunk/mcs/; revision=127355
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 23:49:33 +0000 (23:49 -0000)]
2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
* System.Web/HttpApplicationFactory.cs: check of global.asax was precompiled.
* System.Web.UI/MasterPage.cs: the items in ContentPlaceHolders are lowercase.
* System.Web.Compilation/TemplateControlCompiler.cs: lowercase place holder names
* System.Web.Compilation/BuildManager.cs: initial support for
precompilation. No 'updatable', please.
svn path=/trunk/mcs/; revision=127352
Marek Safar [Wed, 18 Feb 2009 23:41:06 +0000 (23:41 -0000)]
New test.
svn path=/trunk/mcs/; revision=127351
Marek Safar [Wed, 18 Feb 2009 23:40:22 +0000 (23:40 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #477378
* nullable.cs, expression.cs, statement.cs: More precise null type
sanity checks.
svn path=/trunk/mcs/; revision=127350
Zoltan Varga [Wed, 18 Feb 2009 23:12:41 +0000 (23:12 -0000)]
2009-02-19 Zoltan Varga <vargaz@gmail.com>
* pinvoke2.cs libtest.c: Add a test for #477396.
svn path=/trunk/mono/; revision=127348
Zoltan Varga [Wed, 18 Feb 2009 23:12:09 +0000 (23:12 -0000)]
2009-02-19 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_ftnptr_to_delegate): Convert a NULL ftnptr to a null
delegate. Fixes #477396.
svn path=/trunk/mono/; revision=127347
Marek Habersack [Wed, 18 Feb 2009 23:08:26 +0000 (23:08 -0000)]
2009-02-19 Marek Habersack <mhabersack@novell.com>
* AttributeCollection.cs: this [Type] shouldn't throw a NREX when
attrList is null.
* TypeDescriptor.cs: GetConverter (Type) must throw
ArgumentNullException if the passed parameter is null.
FindDefaultConverterType should gracefully cope with type being
null.
2009-02-19 Marek Habersack <mhabersack@novell.com>
* TypeDescriptorTests.cs: added a test for
TypeDescriptor.GetConverter (null) case.
svn path=/trunk/mcs/; revision=127343
Marek Safar [Wed, 18 Feb 2009 23:08:13 +0000 (23:08 -0000)]
Fixed bug number
svn path=/trunk/mcs/; revision=127342
Marek Safar [Wed, 18 Feb 2009 23:01:35 +0000 (23:01 -0000)]
Fixes build.
svn path=/trunk/mcs/; revision=127340
Bill Holmes [Wed, 18 Feb 2009 22:59:29 +0000 (22:59 -0000)]
2009-02-18 Bill Holmes <billholmes54@gmail.com>
* mono.def : Adding mono_jit_set_trace_options
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127338
Marek Habersack [Wed, 18 Feb 2009 22:01:22 +0000 (22:01 -0000)]
2009-02-18 Marek Habersack <mhabersack@novell.com>
* UrlPattern.cs:
Do not use the tokens array in Match.
svn path=/trunk/mcs/; revision=127334
Marek Habersack [Wed, 18 Feb 2009 21:32:17 +0000 (21:32 -0000)]
2009-02-18 Marek Habersack <mhabersack@novell.com>
* TemplateParser.cs: don't initialize PageParserFilter in
LoadConfigDefaults, postpone it till the first time the
PageParserFilter property is accessed.
* ApplicationFileParser.cs, UserControlParser.cs: make sure
VirtualPath is set in the constructors.
svn path=/trunk/mcs/; revision=127333
Andrés G. Aragoneses [Wed, 18 Feb 2009 20:54:42 +0000 (20:54 -0000)]
* System.Windows.Forms/ToolBarButton.cs: Oops, use the correct event
(fix r127298).
svn path=/trunk/mcs/; revision=127326
Jonathan Pryor [Wed, 18 Feb 2009 20:17:11 +0000 (20:17 -0000)]
Add a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
svn path=/trunk/mcs/; revision=127320
Jonathan Pryor [Wed, 18 Feb 2009 20:16:02 +0000 (20:16 -0000)]
Remove System.Data.Linq stubs.
We'll be replacing these with the contents of
source/branches/atsushi-200810/mcs/class/System.Data.Linq.
svn path=/trunk/mcs/; revision=127319
Marek Safar [Wed, 18 Feb 2009 19:55:59 +0000 (19:55 -0000)]
New test.
svn path=/trunk/mcs/; revision=127312
Marek Safar [Wed, 18 Feb 2009 19:53:30 +0000 (19:53 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #472805
* typemanager.cs, namespace.cs: Import only visible extension method
types.
svn path=/trunk/mcs/; revision=127310
Jb Evain [Wed, 18 Feb 2009 18:56:36 +0000 (18:56 -0000)]
update according to latest changes
svn path=/trunk/mcs/; revision=127307
Jb Evain [Wed, 18 Feb 2009 18:53:36 +0000 (18:53 -0000)]
2009-02-18 Jb Evain <jbevain@novell.com>
* Mono.Linker/XApiService.cs: delete, unused.
* Mono.Linker/Driver.cs: don't use the uneeded XApiService anymore.
svn path=/trunk/mcs/; revision=127306
Jb Evain [Wed, 18 Feb 2009 18:50:39 +0000 (18:50 -0000)]
delete unused file
svn path=/trunk/mcs/; revision=127304
Jb Evain [Wed, 18 Feb 2009 18:49:53 +0000 (18:49 -0000)]
2009-02-18 Jb Evain <jbevain@novell.com>
* Mono.Tuner/InjectSecurityAttributes.cs: new tuner step
which is able to process the security attribute data files.
It replaces the previous InjectAttributes step.
svn path=/trunk/mcs/; revision=127303
Marek Safar [Wed, 18 Feb 2009 18:04:40 +0000 (18:04 -0000)]
New test.
svn path=/trunk/mcs/; revision=127300
Marek Safar [Wed, 18 Feb 2009 18:04:02 +0000 (18:04 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #476895
* attribute.cs: Use correct resolve context for attribute type.
svn path=/trunk/mcs/; revision=127299
Marek Safar [Wed, 18 Feb 2009 17:04:42 +0000 (17:04 -0000)]
New tests.
svn path=/trunk/mcs/; revision=127293
Marek Safar [Wed, 18 Feb 2009 17:04:20 +0000 (17:04 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #476266
* anonymous.cs: Mutate multi-dimensional arrays.
svn path=/trunk/mcs/; revision=127292
Marek Safar [Wed, 18 Feb 2009 16:17:25 +0000 (16:17 -0000)]
New tests
svn path=/trunk/mcs/; revision=127288
Marek Safar [Wed, 18 Feb 2009 16:17:00 +0000 (16:17 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #476400
* statemetn.cs, expression.cs: Removed wrong Dispose optimization.
svn path=/trunk/mcs/; revision=127287
Jb Evain [Wed, 18 Feb 2009 16:14:26 +0000 (16:14 -0000)]
2009-02-18 Jb Evain <jbevain@novell.com>
* SynchronizationContext.cs: add NET_2_1 SetThreadStaticContext
method, even if already obsolete.
svn path=/trunk/mcs/; revision=127285
Zoltan Varga [Wed, 18 Feb 2009 15:59:32 +0000 (15:59 -0000)]
2009-02-18 Zoltan Varga <vargaz@gmail.com>
* reflection.c (create_custom_attr): Get rid of alloca.
svn path=/trunk/mono/; revision=127283
Bill Holmes [Wed, 18 Feb 2009 15:28:34 +0000 (15:28 -0000)]
2009-02-18 Bill Holmes <billholmes54@gmail.com>
* cominterop.c (cominterop_get_managed_wrapper_adjusted) :
Adding exception handling for all CCW calls.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=127279
Marek Safar [Wed, 18 Feb 2009 11:32:41 +0000 (11:32 -0000)]
2009-02-18 Marek Safar <marek.safar@gmail.com>
A fix for bug #476811
* generics.cs: Fixed null-literal check.
svn path=/trunk/mcs/; revision=127265
Zoltan Varga [Wed, 18 Feb 2009 10:27:38 +0000 (10:27 -0000)]
2009-02-18 Zoltan Varga <vargaz@gmail.com>
* mini-codegen.c (mono_local_regalloc): Remove a ! from if (!dest_sreg1)
as it is incorrect.
svn path=/trunk/mono/; revision=127260
Marek Habersack [Wed, 18 Feb 2009 10:26:11 +0000 (10:26 -0000)]
2009-02-18 Marek Habersack <mhabersack@novell.com>
* UrlPattern.cs: TrySubstitute now gets the collection of default
values and uses it to replace url segments instead of failing when
the passed values collection is missing a segment.
* RouteCollection.cs: check if name is null or empty, not just
null in GetVirtualPath
* Route.cs: url.TrySubstitute should be passed the defaults
collection when called from GetVirtualPath
svn path=/trunk/mcs/; revision=127259
Zoltan Varga [Wed, 18 Feb 2009 09:32:23 +0000 (09:32 -0000)]
2009-02-18 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_reflection_init): Remove the unused reflection mutex.
svn path=/trunk/mono/; revision=127256
Atsushi Eno [Wed, 18 Feb 2009 08:12:36 +0000 (08:12 -0000)]
2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs : do not forget to flush.
* HttpRequestChannel.cs : give more exact error info.
svn path=/trunk/mcs/; revision=127251
Atsushi Eno [Wed, 18 Feb 2009 07:22:44 +0000 (07:22 -0000)]
2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Message.cs, MessageBufferImpl.cs, XmlReaderBodyWriter.cs :
make buffered copy in ML2 really buffered.
svn path=/trunk/mcs/; revision=127248
Jonathan Pryor [Wed, 18 Feb 2009 04:30:54 +0000 (04:30 -0000)]
* Test/DocTest-v1.cs: Add test for #471379.
* Mono.Documentation/exceptions.cs, Mono.Documentation/monodocer.cs:
Use the new Mono.Cecil .Resolve() methods instead of (erroneously)
duplicating their functionality with the .GetDefinition() methods.
ExceptionLookup.this[IMemberReference] checks for multi-dimensional
arrays, as MD arrays are "special" (Cecil can't resolve them, as
they're internal to the runtime with no specific associated IL).
Fixes #471379.
svn path=/trunk/mcs/; revision=127244
Atsushi Eno [Wed, 18 Feb 2009 02:11:27 +0000 (02:11 -0000)]
2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : file URI for Windows path should also try '\' instead of
'/' as a host/path separator.
* UriTest.cs : added test for windows local path with '\' (used in
ooxml relax ng test case).
svn path=/trunk/mcs/; revision=127237
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 00:35:48 +0000 (00:35 -0000)]
2009-02-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: instead of clearing the sockets form the output and then
adding them back, we just remove the ones that have not been signaled.
Fixes bug #354090 and bug #476138.
svn path=/trunk/mcs/; revision=127234
Zoltan Varga [Tue, 17 Feb 2009 23:49:51 +0000 (23:49 -0000)]
2009-02-18 Zoltan Varga <vargaz@gmail.com>
* marshal.c (emit_marshal_boolean): Add null checks to the new
native->managed marshalling code. Fixes #476247.
svn path=/trunk/mono/; revision=127232
Andrés G. Aragoneses [Tue, 17 Feb 2009 23:15:15 +0000 (23:15 -0000)]
* System.Windows.Forms/ToolBarButton.cs: Event for Enabled property
(needed to fix UIA #474197).
svn path=/trunk/mcs/; revision=127225
Zoltan Varga [Tue, 17 Feb 2009 21:23:06 +0000 (21:23 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_class_get_vtable_entry): Move the addition of
static rgctx invoke wrappers for vtable methods here, this simplifies
a lot of code and causes fewer rgctx wrappers to be created.
* marshal.c (mono_marshal_get_static_rgctx_invoke): Change the
name of the statistics to begin with an uppercase.
svn path=/trunk/mono/; revision=127216
Zoltan Varga [Tue, 17 Feb 2009 19:53:58 +0000 (19:53 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (add_generic_class): Only add rgctx invoke wrappers
for cctors if needed.
svn path=/trunk/mono/; revision=127200
Jonathan Pryor [Tue, 17 Feb 2009 19:05:53 +0000 (19:05 -0000)]
* Mono.Documentation/monodocer.cs: Check that the cref attribute is
non-null before trying to use it when importing slashdoc sources.
Fixes #475852.
* Test/DocTest-v1.cs: Add an <exception/> doc comment with an invalid
attribute value for testing.
svn path=/trunk/mcs/; revision=127195
Rodrigo Kumpera [Tue, 17 Feb 2009 18:54:57 +0000 (18:54 -0000)]
2009-02-17 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c: Revert previous change as it breaks the build.
svn path=/trunk/mono/; revision=127193
Jonathan Pryor [Tue, 17 Feb 2009 18:37:21 +0000 (18:37 -0000)]
* Mono.Documentation/mdoc.cs: Set Environment.ExitCode=1 if an
exception occurs, so that calling code can determine that an error
occurred w/o resorting to parsing stderr.
svn path=/trunk/mcs/; revision=127192
Marek Safar [Tue, 17 Feb 2009 18:06:40 +0000 (18:06 -0000)]
2009-02-17 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, convert.cs, flowanalysis.cs, driver.cs,
expression.cs, ecore.cs, rootcontext.cs, eval.cs, class.cs: More
messing with static variables.
svn path=/trunk/mcs/; revision=127190
Rodrigo Kumpera [Tue, 17 Feb 2009 17:00:58 +0000 (17:00 -0000)]
In .:
2009-02-17 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_array_element_type_compatiblity.il: Regression test
for #474271.
svn path=/trunk/mono/; revision=127171
Rodrigo Kumpera [Tue, 17 Feb 2009 16:58:47 +0000 (16:58 -0000)]
In .:
* verify.c: Properly handle SZARRAY element type.
Fixes #474271.
2009-02-17 Rodrigo Kumpera <rkumpera@novell.com>
svn path=/trunk/mono/; revision=127170
Sebastien Pouliot [Tue, 17 Feb 2009 16:37:43 +0000 (16:37 -0000)]
oops, moving from wrong directory
svn path=/trunk/mcs/; revision=127167
Sebastien Pouliot [Tue, 17 Feb 2009 16:31:12 +0000 (16:31 -0000)]
SL2 [SecurityCritical] data
svn path=/trunk/mcs/; revision=127166
Sebastien Pouliot [Tue, 17 Feb 2009 16:18:53 +0000 (16:18 -0000)]
In overrides:
2008-02-17 Sebastien Pouliot <sebastien@ximian.com>
* here goes the manual overrides files
In .:
2008-02-17 Sebastien Pouliot <sebastien@ximian.com>
* detect-sc.cs: Tool to detect methods that *likely* needs a
[SecurityCritical] attribute to execute under the CoreCLR
* detect-ssc.cs: Tool to detect methods that *likely* needs a
[SecuritySafeCritical] attribute to execute under the CoreCLR
* find-sc.cs: Tool to extract types and methods decorated with
[SecurityCritical] in Silverlight platform code.
* merge.cs: Tool to merge the different data files into files (one
per assembly) usable by the tuner.
* PlatformCode.cs: Helpers for tools.
* CecilRocks.cs: Extension methods helpers for tools.
* Makefile: Build file. Normally only the merging should be done.
Other options needs "supervision" ;-) and store their data into
SVN to allow tracking/auditing all changes. Note: this is not (yet)
part of the main build.
* README: Documentation about the files.
svn path=/trunk/mcs/; revision=127164
Marek Safar [Tue, 17 Feb 2009 15:43:24 +0000 (15:43 -0000)]
2009-02-17 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, convert.cs, flowanalysis.cs, driver.cs,
expression.cs, ecore.cs, rootcontext.cs: More messing with static
variables.
svn path=/trunk/mcs/; revision=127159
Rodrigo Kumpera [Tue, 17 Feb 2009 14:15:35 +0000 (14:15 -0000)]
In .:
2009-02-17 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (mono_image_create_method_token): Correctly encode
MethodDef MemberRefParent token.
Fixes #472845.
svn path=/trunk/mono/; revision=127143
Marek Safar [Tue, 17 Feb 2009 12:03:49 +0000 (12:03 -0000)]
2009-02-17 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, convert.cs, flowanalysis.cs, driver.cs: More
messing with static variables.
svn path=/trunk/mcs/; revision=127133
Atsushi Eno [Tue, 17 Feb 2009 11:32:03 +0000 (11:32 -0000)]
2009-02-17 Atsushi Enomoto <atsushi@ximian.com>
* XsdDatatypeProvider.cs : workaround .NET/Mono Regex bug that
does not handle \p{Latin-1Supplement} to work with OOXML grammar.
svn path=/trunk/mcs/; revision=127130
Mark Probst [Tue, 17 Feb 2009 08:03:06 +0000 (08:03 -0000)]
2009-02-17 Mark Probst <mark.probst@gmail.com>
* mini-ppc.c: Fix build on Darwin.
svn path=/trunk/mono/; revision=127108
Zoltan Varga [Tue, 17 Feb 2009 07:45:32 +0000 (07:45 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* image.c (mono_image_close): Delete the critical section before
freeing the memory holding it.
svn path=/trunk/mono/; revision=127107
Gonzalo Paniagua Javier [Tue, 17 Feb 2009 07:30:29 +0000 (07:30 -0000)]
reverting this patch until it works with bug 354090 and 476138
svn path=/trunk/mcs/; revision=127104
Zoltan Varga [Tue, 17 Feb 2009 07:27:02 +0000 (07:27 -0000)]
Revert r127101, subsections need to be aligned.
svn path=/trunk/mono/; revision=127103
Zoltan Varga [Tue, 17 Feb 2009 06:48:23 +0000 (06:48 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* image-writer.c: Don't align subsections to 8 in the binary writer.
* dwarfwriter.c (emit_line_number_info_begin): This now works with the
binary writer too.
svn path=/trunk/mono/; revision=127101
Zoltan Varga [Tue, 17 Feb 2009 06:19:52 +0000 (06:19 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* dwarfwriter.c (mono_dwarf_writer_emit_base_info): Use 2 as the DWARF
version instead of 3 as valgrind doesn't like version 3.
svn path=/trunk/mono/; revision=127100
Zoltan Varga [Tue, 17 Feb 2009 06:06:17 +0000 (06:06 -0000)]
2009-02-17 Zoltan Varga <vargaz@gmail.com>
* mini.h (MONO_AOT_FILE_VERSION): Bump this.
* aot-compiler.c (mono_aot_method_hash): New function to return a hash
usable for hashing methods.
(emit_extra_methods): Use the new hash to avoid putting every method in the
same hash bucket.
* aot-runtime.c (find_extra_method_in_amodule): Use the new hash.
* aot-runtime.c (can_method_ref_match_method): New function to quickly check
whenever a method ref could match a method.
svn path=/trunk/mono/; revision=127099