mono.git
15 years agoUpdated with latest changes
Marek Safar [Thu, 19 Feb 2009 12:25:44 +0000 (12:25 -0000)]
Updated with latest changes

svn path=/trunk/mcs/; revision=127404

15 years agoNew tests.
Marek Safar [Thu, 19 Feb 2009 10:42:27 +0000 (10:42 -0000)]
New tests.

svn path=/trunk/mcs/; revision=127391

15 years ago2009-02-19 Marek Safar <marek.safar@gmail.com>
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

15 years agoupdate known issues
Raja R Harinath [Thu, 19 Feb 2009 10:34:45 +0000 (10:34 -0000)]
update known issues

svn path=/trunk/mcs/; revision=127389

15 years ago * Tds.cs: Tds 8 collation support
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

15 years ago * OracleParameter.cs (bind): Consider OciDataType.Float and
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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
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

15 years ago2009-02-19 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
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

15 years ago2009-02-19 Geoff Norton <gnorton@novell.com>
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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-02-19 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years agosvn path=/trunk/mcs/; revision=127355
Gonzalo Paniagua Javier [Wed, 18 Feb 2009 23:53:11 +0000 (23:53 -0000)]
svn path=/trunk/mcs/; revision=127355

15 years ago2009-02-18 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 23:41:06 +0000 (23:41 -0000)]
New test.

svn path=/trunk/mcs/; revision=127351

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-02-19 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-19 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-19 Marek Habersack <mhabersack@novell.com>
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

15 years agoFixed bug number
Marek Safar [Wed, 18 Feb 2009 23:08:13 +0000 (23:08 -0000)]
Fixed bug number

svn path=/trunk/mcs/; revision=127342

15 years agoFixes build.
Marek Safar [Wed, 18 Feb 2009 23:01:35 +0000 (23:01 -0000)]
Fixes build.

svn path=/trunk/mcs/; revision=127340

15 years ago2009-02-18 Bill Holmes <billholmes54@gmail.com>
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

15 years ago2009-02-18 Marek Habersack <mhabersack@novell.com>
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

15 years ago2009-02-18 Marek Habersack <mhabersack@novell.com>
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

15 years ago* System.Windows.Forms/ToolBarButton.cs: Oops, use the correct event
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

15 years agoAdd a more functional (i.e. fewer-stubs) implementation of System.Data.Linq.
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

15 years agoRemove System.Data.Linq stubs.
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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 19:55:59 +0000 (19:55 -0000)]
New test.

svn path=/trunk/mcs/; revision=127312

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years agoupdate according to latest changes
Jb Evain [Wed, 18 Feb 2009 18:56:36 +0000 (18:56 -0000)]
update according to latest changes

svn path=/trunk/mcs/; revision=127307

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
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

15 years agodelete unused file
Jb Evain [Wed, 18 Feb 2009 18:50:39 +0000 (18:50 -0000)]
delete unused file

svn path=/trunk/mcs/; revision=127304

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
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

15 years agoNew test.
Marek Safar [Wed, 18 Feb 2009 18:04:40 +0000 (18:04 -0000)]
New test.

svn path=/trunk/mcs/; revision=127300

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years agoNew tests.
Marek Safar [Wed, 18 Feb 2009 17:04:42 +0000 (17:04 -0000)]
New tests.

svn path=/trunk/mcs/; revision=127293

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years agoNew tests
Marek Safar [Wed, 18 Feb 2009 16:17:25 +0000 (16:17 -0000)]
New tests

svn path=/trunk/mcs/; revision=127288

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-02-18 Jb Evain <jbevain@novell.com>
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

15 years ago2009-02-18 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-18 Bill Holmes <billholmes54@gmail.com>
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

15 years ago2009-02-18 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-02-18 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-18 Marek Habersack <mhabersack@novell.com>
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

15 years ago2009-02-18 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago * Test/DocTest-v1.cs: Add test for #471379.
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

15 years ago2009-02-18 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-02-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
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

15 years ago2009-02-18 Zoltan Varga <vargaz@gmail.com>
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

15 years ago* System.Windows.Forms/ToolBarButton.cs: Event for Enabled property
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years ago * Mono.Documentation/monodocer.cs: Check that the cref attribute is
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

15 years ago2009-02-17 Rodrigo Kumpera <rkumpera@novell.com>
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

15 years ago * Mono.Documentation/mdoc.cs: Set Environment.ExitCode=1 if an
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

15 years ago2009-02-17 Marek Safar <marek.safar@gmail.com>
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

15 years agoIn .:
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

15 years agoIn .:
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

15 years agooops, moving from wrong directory
Sebastien Pouliot [Tue, 17 Feb 2009 16:37:43 +0000 (16:37 -0000)]
oops, moving from wrong directory

svn path=/trunk/mcs/; revision=127167

15 years agoSL2 [SecurityCritical] data
Sebastien Pouliot [Tue, 17 Feb 2009 16:31:12 +0000 (16:31 -0000)]
SL2 [SecurityCritical] data

svn path=/trunk/mcs/; revision=127166

15 years agoIn overrides:
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

15 years ago2009-02-17 Marek Safar <marek.safar@gmail.com>
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

15 years agoIn .:
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

15 years ago2009-02-17 Marek Safar <marek.safar@gmail.com>
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

15 years ago2009-02-17 Atsushi Enomoto <atsushi@ximian.com>
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

15 years ago2009-02-17 Mark Probst <mark.probst@gmail.com>
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years agoreverting this patch until it works with bug 354090 and 476138
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

15 years agoRevert r127101, subsections need to be aligned.
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
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

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Feb 2009 06:01:45 +0000 (06:01 -0000)]
2009-02-17  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_image): Revert the previous change, it causes an AOT
test to fail.

svn path=/trunk/mono/; revision=127098

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Feb 2009 04:35:08 +0000 (04:35 -0000)]
2009-02-17  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (find_extra_method_in_amodule): Add a cache for decoded
methods refs.

svn path=/trunk/mono/; revision=127097

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Feb 2009 03:34:35 +0000 (03:34 -0000)]
2009-02-17  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_image): Pass our basedir to mono_assembly_load.

svn path=/trunk/mono/; revision=127095

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 17 Feb 2009 03:29:10 +0000 (03:29 -0000)]
2009-02-17  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (emit_exception_debug_info): Bump the maximum size of
the encoding buffer.

svn path=/trunk/mono/; revision=127093

15 years agoIn .:
Rodrigo Kumpera [Tue, 17 Feb 2009 02:10:47 +0000 (02:10 -0000)]
In .:
2009-02-16 Rodrigo Kumpera  <rkumpera@novell.com>

* valid_rethrow_doesnt_fallthrough: New regression test for
#476257.

svn path=/trunk/mono/; revision=127089

15 years agoIn .:
Rodrigo Kumpera [Tue, 17 Feb 2009 02:10:30 +0000 (02:10 -0000)]
In .:
* verify.c (mono_method_verify): rethrow opcode doesn not fall through.
Fixes #476257.

2009-02-16 Rodrigo Kumpera  <rkumpera@novell.com>

svn path=/trunk/mono/; revision=127088

15 years agoIn .:
Rodrigo Kumpera [Tue, 17 Feb 2009 01:54:15 +0000 (01:54 -0000)]
In .:
* pedump.c (main): Call mono_marshal_init so pedump
doesn't crash.

2009-02-16 Rodrigo Kumpera  <rkumpera@novell.com>

svn path=/trunk/mono/; revision=127087

15 years ago2009-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 17 Feb 2009 00:57:15 +0000 (00:57 -0000)]
2009-02-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TextBox.cs: When handling WndProc with autocomplete activated,
event if the new text is not causing any change in the look up
algorithm, save it as we normally do when numbers and letters.
Fixes #469967.

svn path=/trunk/mcs/; revision=127086

15 years ago2009-02-16 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Tue, 17 Feb 2009 00:53:48 +0000 (00:53 -0000)]
2009-02-16  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* TreeNode.cs: When Text/StateImageIndex/StateImageKey/NodeFont change
Invalidate the proper bounds in the TreeView, not only resetting the
width.
Fixes #475542.

svn path=/trunk/mcs/; revision=127085

15 years ago2009-02-17 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Feb 2009 23:56:23 +0000 (23:56 -0000)]
2009-02-17  Zoltan Varga  <vargaz@gmail.com>

* method-to-ir.c (mono_method_check_inlining): Avoid calling
mono_method_get_header () on inflated methods as an optimization.

svn path=/trunk/mono/; revision=127081

15 years agoIn .:
Rodrigo Kumpera [Mon, 16 Feb 2009 21:49:40 +0000 (21:49 -0000)]
In .:
2009-02-16 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (method_from_memberref): Properly fix #474271 and
don't break the runtime bad.

svn path=/trunk/mono/; revision=127072

15 years ago2009-02-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Feb 2009 21:46:47 +0000 (21:46 -0000)]
2009-02-16  Zoltan Varga  <vargaz@gmail.com>

* ssa.c (fold_ins): Fix another crash if the instruction following the
switch was optimized away.

svn path=/trunk/mono/; revision=127069

15 years ago * Mono.Documentation/monodocer.cs: Support C#4 variant generics, e.g.
Jonathan Pryor [Mon, 16 Feb 2009 21:16:33 +0000 (21:16 -0000)]
* Mono.Documentation/monodocer.cs: Support C#4 variant generics, e.g.
  `delegate TRet Func<in TArg, out TRet>(TArg a)'.  Alas, this
  required making MemberFormatter explicitly stateful, so any thoughts
  of using instances w/o locking are now out the window...  (Not that
  threads are currently used, but they're planned to be used...)
  TODO: Add a test to Test/DocTest-v1.cs.  This wasn't done as the
  current gmcs support doesn't like intermixing variance with generic
  parameter attributes, and I don't want to introduce a new delegate
  type (and the ~6 new files that would imply) just for this feature.

svn path=/trunk/mcs/; revision=127065

15 years ago2009-02-16 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 16 Feb 2009 17:43:59 +0000 (17:43 -0000)]
2009-02-16  Mark Probst  <mark.probst@gmail.com>

Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.

* mini-ppc.c, mini-ppc.h: Implement TLS for PPC64.

2009-02-16  Mark Probst  <mark.probst@gmail.com>

Contributed under the terms of the MIT/X11 license by Steven
Munroe <munroesj@us.ibm.com>.

* mono-compiler.h: MONO_THREAD_VAR_OFFSET for PPC(64).

svn path=/trunk/mono/; revision=127060

15 years agorevert 127010 until Jeremie polishes and fixes the integration
Jb Evain [Mon, 16 Feb 2009 16:02:59 +0000 (16:02 -0000)]
revert 127010 until Jeremie polishes and fixes the integration

svn path=/trunk/mcs/; revision=127046

15 years agoNew test.
Marek Safar [Mon, 16 Feb 2009 15:34:52 +0000 (15:34 -0000)]
New test.

svn path=/trunk/mcs/; revision=127042

15 years ago2009-02-16 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 16 Feb 2009 15:33:01 +0000 (15:33 -0000)]
2009-02-16  Marek Safar  <marek.safar@gmail.com>

A fix for bug #475965
* generics.cs: Check generic parameter type after extracting from
Expression<T>.

svn path=/trunk/mcs/; revision=127040

15 years ago2009-02-16 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 16 Feb 2009 15:28:14 +0000 (15:28 -0000)]
2009-02-16  Jb Evain  <jbevain@novell.com>

* Regex.cs: on the NET_2_1 profile, always use the old engine for now.

svn path=/trunk/mcs/; revision=127039

15 years ago2009-02-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Feb 2009 15:24:24 +0000 (15:24 -0000)]
2009-02-16  Zoltan Varga  <vargaz@gmail.com>

* mini.c method-to-ir.c mini-trampolines.c aot-runtime.c: Remove locking
around the mono_domain_alloc calls, it is now done by the functions
themselves.

svn path=/trunk/mono/; revision=127038

15 years ago2009-02-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Feb 2009 15:23:21 +0000 (15:23 -0000)]
2009-02-16  Zoltan Varga  <vargaz@gmail.com>

* domain.c (mono_domain_alloc): Add locking so the caller doesn't have to.
(mono_domain_alloc0): Ditto.

svn path=/trunk/mono/; revision=127037

15 years ago2009-02-16 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 16 Feb 2009 15:04:36 +0000 (15:04 -0000)]
2009-02-16  Bill Holmes  <billholmes54@gmail.com>

* libmono.vcproj : Adding metadata/cominterop and
  mini/dwarfwriter to the project.

Code is contributed under MIT/X11 license.

svn path=/trunk/mono/; revision=127033

15 years agoIn .:
Rodrigo Kumpera [Mon, 16 Feb 2009 14:44:32 +0000 (14:44 -0000)]
In .:
* loader.c (method_from_memberref): Don't abort if the array
method is not found. A regular loader failure is more informative
and correct.

Fixes #474271.

2009-02-16 Rodrigo Kumpera  <rkumpera@novell.com>

svn path=/trunk/mono/; revision=127032

15 years ago2009-02-16 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 16 Feb 2009 14:32:46 +0000 (14:32 -0000)]
2009-02-16  Zoltan Varga  <vargaz@gmail.com>

* aot-compiler.c (compile_method): Only add wrappers referenced by
the method if compiling with full AOT.
(mono_compile_assembly): Error out if --aot=full is specified on
a platform where it is not supported.

svn path=/trunk/mono/; revision=127031