mono.git
16 years ago* runtime/Makefile.am ($(tmpinst)/bin/gmcs): Update rule to point
Raja R Harinath [Mon, 29 Oct 2007 18:38:45 +0000 (18:38 -0000)]
* runtime/Makefile.am ($(tmpinst)/bin/gmcs): Update rule to point
to location of 'gmcs.exe'.

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

16 years ago2007-10-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 29 Oct 2007 16:28:45 +0000 (16:28 -0000)]
2007-10-29  Jonathan Pobst  <monkey@jpobst.com>

* MessageBox.cs: If the owner is TopMost, then the MessageBox form
needs to be TopMost as well, or else the MessageBox is under the form.
Patch by George fixes bug #325300.

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

16 years agoUpdated changelog fog revision 88355
Arina Itkes [Mon, 29 Oct 2007 16:12:39 +0000 (16:12 -0000)]
Updated changelog fog revision 88355

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

16 years ago- Change Log updated for revisions 88065, 88356 and 88375
Arina Itkes [Mon, 29 Oct 2007 15:46:34 +0000 (15:46 -0000)]
- Change Log updated for revisions 88065, 88356 and 88375
- Original Copyright is set on extracted by refactoring class BaseMachine.

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

16 years ago2007-08-29 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Mon, 29 Oct 2007 15:42:06 +0000 (15:42 -0000)]
2007-08-29  Jonathan Chambers <joncham@gmail.com>

* monodiet.vcproj, libgc.vcproj, eglib.vcproj, libmono.vcproj, mono.vcproj,
genmdesc.vcproj, monoburg.vcproj, pedump.vcproj:
Make output directories a bit more usable.

Contributed under MIT/X11 license.

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

16 years ago2007-10-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 15:30:55 +0000 (15:30 -0000)]
2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>

* AttributeCollection.cs : implemented FromExisting().
* Container.cs : implemented ValidateName() support.
* ContainerFilterService.cs : FilterComponents() does nothing.
* InstanceCreationEditor.cs : implemented get_Text().

* ContainerTest.cs : added test for ValidateName().

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

16 years agoNew tests.
Marek Safar [Mon, 29 Oct 2007 14:50:49 +0000 (14:50 -0000)]
New tests.

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

16 years agoMore tests.
Marek Safar [Mon, 29 Oct 2007 14:50:33 +0000 (14:50 -0000)]
More tests.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 14:50:16 +0000 (14:50 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  * cs-tokenizer.cs, gcs-parser.jay, driver.cs: Fixed parsing of nested
  query expressions.

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

16 years ago2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Mon, 29 Oct 2007 12:50:21 +0000 (12:50 -0000)]
2007-10-29 Rodrigo Kumpera <rkumpera@novell.com>

* reflection.c (mono_image_create_token): Correctly encode methods and constructors of
generic TypeBuilders when called from another method of the same type (bug #335131).

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

16 years agoFix:
Arina Itkes [Mon, 29 Oct 2007 12:24:10 +0000 (12:24 -0000)]
Fix:
- Fixing category construct
- Moving category construct to Mono machine
- Fix grouping meta data for ExplicitCapture options
- Moving machine creation to ctor
- Fix of Result method

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

16 years agoMoving creation of Regex machine to ctor.
Arina Itkes [Mon, 29 Oct 2007 12:20:38 +0000 (12:20 -0000)]
Moving creation of Regex machine to ctor.

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

16 years ago* configure.in (olive_topdir): Look for $olivedir in the source tree.
Raja R Harinath [Mon, 29 Oct 2007 10:59:34 +0000 (10:59 -0000)]
* configure.in (olive_topdir): Look for $olivedir in the source tree.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:55:37 +0000 (10:55 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs : found the true culprit for the previous
  attempt to the fix.

* XmlCodeExporterTests.cs : enable the previous test again.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:41:53 +0000 (10:41 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs, XmlSchemaImporter.cs: revert the previous
  change; the type is included in the output, but it should not be
  the base type.

* XmlCodeExporterTests.cs : disable the previous test; it's reverted.

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

16 years ago2007-10-30 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 10:23:35 +0000 (10:23 -0000)]
2007-10-30  Atsushi Enomoto  <atsushi@ximian.com>

* MapCodeGenerator.cs, XmlSchemaImporter.cs: when a complexType has
  simple content extension/restriction and the simple base type is
  schema-defined, it must be written in exported code. Fixed (part
  of?) bug #336739.

* XmlCodeExporterTests.cs : added test for (part of?) bug #336739,
  base simple content enum type output.

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

16 years agoUpdated source file location
Marek Safar [Mon, 29 Oct 2007 09:44:41 +0000 (09:44 -0000)]
Updated source file location

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

16 years ago* Makefile (net_2_0_bootstrap/mcs.exe.config): Copy gmcs.exe.config.
Raja R Harinath [Mon, 29 Oct 2007 09:43:14 +0000 (09:43 -0000)]
* Makefile (net_2_0_bootstrap/mcs.exe.config): Copy gmcs.exe.config.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:32:04 +0000 (09:32 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  A test for bug #334652

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:31:45 +0000 (09:31 -0000)]
2007-10-29  Marek Safar  <marek.safar@gmail.com>

  A fix for bug #334652
  * ecore.cs (MethodGroupExpr.OverloadResolve): Do also lookup for
  extension methods when we have not found the best candidate in normal
  container.

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

16 years ago2007-10-29 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 29 Oct 2007 09:29:28 +0000 (09:29 -0000)]
2007-10-29  Marek Safar <marek.safar@gmail.com>

* Makefile: Fixed gmcs location.

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

16 years agoFix for Result method of Match. Throwing an exception if Result method was called...
Arina Itkes [Mon, 29 Oct 2007 09:20:00 +0000 (09:20 -0000)]
Fix for Result method of Match. Throwing an exception if Result method was called on a failed Match.

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

16 years agoNew tests for Regex:
Arina Itkes [Mon, 29 Oct 2007 09:15:16 +0000 (09:15 -0000)]
New tests for Regex:
- for Result method,
- for patterns with number of groups more than 10
- for patterns with ExpicitCapture options

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

16 years ago2007-10-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 29 Oct 2007 08:27:47 +0000 (08:27 -0000)]
2007-10-29  Atsushi Enomoto  <atsushi@ximian.com>

* SoapException.cs : serialization constructor didn't call base.
  Fixed bug #337421.

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

16 years ago* OdbcDataReader.cs: Code formatting, spaces to tabs.
Gert Driesen [Sun, 28 Oct 2007 18:55:50 +0000 (18:55 -0000)]
* OdbcDataReader.cs: Code formatting, spaces to tabs.

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

16 years ago * X11Dnd.cs: When starting a new drag operation, reset the static
Carlos Alberto Cortez [Sat, 27 Oct 2007 23:30:53 +0000 (23:30 -0000)]
* X11Dnd.cs: When starting a new drag operation, reset the static
'dropped' field to false (previously the implementation didn't reset
it and got confused after the first drag).
Fixes #325071.

2007-10-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years agoMore build magic
Marek Safar [Sat, 27 Oct 2007 21:31:00 +0000 (21:31 -0000)]
More build magic

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 21:27:47 +0000 (21:27 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* AssemblyInfo.cs: Keep up-to-date.

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

16 years agoDistribute all .sources
Marek Safar [Sat, 27 Oct 2007 20:55:31 +0000 (20:55 -0000)]
Distribute all .sources

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

16 years agoRemoved.
Marek Safar [Sat, 27 Oct 2007 19:14:30 +0000 (19:14 -0000)]
Removed.

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

16 years agoAdd test, fix regression
Miguel de Icaza [Sat, 27 Oct 2007 18:43:15 +0000 (18:43 -0000)]
Add test, fix regression

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 18:03:00 +0000 (18:03 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* profiles/net_2_0_bootstrap.make: Fixed generics compiler name.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 18:01:04 +0000 (18:01 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Fixed generics compiler name.

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

16 years agoAdd an Obsolete
Miguel de Icaza [Sat, 27 Oct 2007 17:52:57 +0000 (17:52 -0000)]
Add an Obsolete

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

16 years ago2007-10-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Oct 2007 17:50:28 +0000 (17:50 -0000)]
2007-10-27  Miguel de Icaza  <miguel@novell.com>

* HttpListener.cs: Remove more trigger-happy disposed=true from
the code;   We should only dispose when the Dispose method is
actually called.   Not before.

Fixes #337371

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

16 years ago2007-10-27 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Sat, 27 Oct 2007 17:44:16 +0000 (17:44 -0000)]
2007-10-27  Miguel de Icaza  <miguel@novell.com>

*  HttpListener.cs (Close): Closing does not mean dispose the
object.   This allows Start/Stop/Start to be called as many times
as desired.

Fixes #337368

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 17:21:01 +0000 (17:21 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* lambda.test: removed, lambda parsing is done differently.

* gen-il.cs, gen-treedump.cs, old-code.cs : Obsolete.

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

16 years ago* Makefile: Removed dependency on gmcs.exe.config. Fixes build.
Gert Driesen [Sat, 27 Oct 2007 17:13:47 +0000 (17:13 -0000)]
* Makefile: Removed dependency on gmcs.exe.config. Fixes build.

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

16 years ago2007-10-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 27 Oct 2007 17:13:29 +0000 (17:13 -0000)]
2007-10-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* PropertyGrid.cs: When PropertySort changes, re-organize the grid
items instead of re-creating them all. For this purpose we now cache
both CategoryGridEntry items and the GridEntries for the main object's
properties.
* GridItem.cs: Make SetParent method abstract.
* GridEntry.cs: Override the SetParent method (already there, but now
we override it).
Fixes #324866.

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

16 years agoWhy is this needed
Marek Safar [Sat, 27 Oct 2007 16:53:30 +0000 (16:53 -0000)]
Why is this needed

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 16:32:00 +0000 (16:32 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs, removed DIST_ONLY_SUBDIRS.

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 16:31:43 +0000 (16:31 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs, removed DIST_ONLY_SUBDIRS.

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

16 years agoNo longer used
Marek Safar [Sat, 27 Oct 2007 16:11:34 +0000 (16:11 -0000)]
No longer used

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

16 years agoThis one was not ready yet.
Marek Safar [Sat, 27 Oct 2007 16:10:32 +0000 (16:10 -0000)]
This one was not ready yet.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:59:48 +0000 (15:59 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* rules.make: Changed gmcs location.

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

16 years ago2007-07-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:58:42 +0000 (15:58 -0000)]
2007-07-27  Marek Safar  <marek.safar@gmail.com>

* Makefile: Removed gmcs and smcs

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:57:19 +0000 (15:57 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* Makefile, *.sources : All C# compilers are in mcs folder.

* *.cs: Use existing 2_1 define for smcs.

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

16 years ago* ResourceManager.cs: Removed temporary workaround for bug #43567.
Gert Driesen [Sat, 27 Oct 2007 15:32:24 +0000 (15:32 -0000)]
* ResourceManager.cs: Removed temporary workaround for bug #43567.
Reworked basename to only throw ArgumentException if resource with
name ending on ".resources" does not actually exist. Fixes bug
#336283. Do not throw exception in GetStream since this is already
done in InternalGetResourceSet. In InternalGetResourceSet, do not
throw MissingManifestResourceException when culture is null. Fixed
MissingManifestResourceException message to match MS. When using
file-based ResourceManager, then also throw an exception when file
does not exist for neutral culture.
* ResourceManager.cs: Added tests for null argument checks. Added test
for GetStream with resource file that does not exist.

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

16 years ago * SortedListTest.cs: Fixed deserialization test to pass on MS.
Gert Driesen [Sat, 27 Oct 2007 15:32:07 +0000 (15:32 -0000)]
 * SortedListTest.cs: Fixed deserialization test to pass on MS.

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

16 years ago2007-10-27 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 27 Oct 2007 15:27:12 +0000 (15:27 -0000)]
2007-10-27  Marek Safar  <marek.safar@gmail.com>

* executable.make: Added KEEP_OUTPUT_FILE_COPY to avoid move and copy
back compiler executables.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 15:18:56 +0000 (15:18 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs (InvokeMember_VarArgs): Enable this test.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 15:17:54 +0000 (15:17 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs: Applied patch from Mario A Chavez
<mario.chavez@gmail.com>. Add support for invoking members with the
ParamArray attribute. Fixes #336841.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 27 Oct 2007 14:46:52 +0000 (14:46 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (methodbuilder_to_mono_method): Revert the last change as it
doesn't seem to work perfectly.

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

16 years agoUpgraded to beta 2
Marek Safar [Sat, 27 Oct 2007 10:57:38 +0000 (10:57 -0000)]
Upgraded to beta 2

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

16 years agoRenamed compiler.csproj to mcs
Marek Safar [Sat, 27 Oct 2007 10:01:54 +0000 (10:01 -0000)]
Renamed compiler.csproj to mcs

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

16 years ago2007-10-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 27 Oct 2007 03:07:15 +0000 (03:07 -0000)]
2007-10-27  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : fixed UTF8UnmarkedUnsafe for 1.1; should not be null.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 23:05:40 +0000 (23:05 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs: Override GetPropertyImpl too.

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

16 years ago2007-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 22:19:49 +0000 (22:19 -0000)]
2007-10-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (ctorbuilder_to_mono_method): Handle the case when this is
called multiple times.
(methodbuilder_to_mono_method): Ditto.
(resolve_object): Inflate FieldBuilder's.

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

16 years ago2007-10-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 26 Oct 2007 20:05:40 +0000 (20:05 -0000)]
2007-10-26  Marek Safar  <marek.safar@gmail.com>

A tests for bug #335847

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

16 years ago2007-10-26 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 26 Oct 2007 20:04:21 +0000 (20:04 -0000)]
2007-10-26  Marek Safar  <marek.safar@gmail.com>

A fix for bug #335847
* assign.cs, expression.cs: Couple of changes to avoid creating a
temporary variable for each object initializer assignment statement. It
simplifies struct initialization too, otherwise two temporary variables
would be required.
Implemented optimization of redundant default element initializers.

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

16 years ago2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Oct 2007 18:20:17 +0000 (18:20 -0000)]
2007-10-26  Rodrigo Kumpera  <rkumpera@novell.com>

* mini-arm.c (mono_arch_build_imt_thunk): Take the advantage
that IP  either is an unused value or the vtable pointer. IMT
calls use vtable + offset now. Reduced by almost half the size
of IMT entries.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 18:17:35 +0000 (18:17 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add test for #336936.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 18:14:55 +0000 (18:14 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* MonoType.cs (InvokeMember): Make sure one operation is passed in the binding
flags. Fixes #336936.

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

16 years agoFri Oct 26 19:38:40 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Oct 2007 17:29:26 +0000 (17:29 -0000)]
Fri Oct 26 19:38:40 CEST 2007 Paolo Molaro <lupus@ximian.com>

* string-icalls.c, string-icalls.h, appdomain.c: patch from
Tyler Larson <mono-devel@tlarson.com> to fix the handling of
RemoveEmptyEntries in the string.Split implementation (bug #322375).

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

16 years agoFri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 26 Oct 2007 17:29:18 +0000 (17:29 -0000)]
Fri Oct 26 19:43:09 CEST 2007 Paolo Molaro <lupus@ximian.com>

* Environment.cs, String.cs: patch from Tyler Larson
<mono-devel@tlarson.com> to fix the handling of the RemoveEmptyEntries
option in string.Split (bug #322375).

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

16 years ago2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Oct 2007 17:27:23 +0000 (17:27 -0000)]
2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>

* Encoding.cs : added UTF8UnmarkedUnsafe, for old empty replacement
  UTF8.

* BinaryReader.cs, BinaryWriter.cs : use unsafe encoding that has ""
  for replacement fallback. Binary serialization regression is fixed.

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

16 years ago2007-10-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Oct 2007 16:42:30 +0000 (16:42 -0000)]
2007-10-26  Dick Porter  <dick@ximian.com>

* appdomain.c (MONO_CORLIB_VERSION): Bump version because of
Thread initialisation changes

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

16 years ago2007-10-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Oct 2007 16:42:25 +0000 (16:42 -0000)]
2007-10-26  Dick Porter  <dick@ximian.com>

* Environment.cs: Bump version because of Thread initialisation
changes

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

16 years agoupdate
Jb Evain [Fri, 26 Oct 2007 16:12:15 +0000 (16:12 -0000)]
update

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

16 years ago2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Oct 2007 15:13:39 +0000 (15:13 -0000)]
2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>

* verify.c: fix compatibility check between arrays and System.Array

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

16 years ago2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 26 Oct 2007 15:08:38 +0000 (15:08 -0000)]
2007-10-26 Rodrigo Kumpera <rkumpera@novell.com>

* valid_array_method.cs: test for invoking array methods.

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

16 years ago2007-10-26 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 26 Oct 2007 14:41:54 +0000 (14:41 -0000)]
2007-10-26  Jonathan Chambers <joncham@gmail.com>

* mini-amd64.c: Begin Win64 port. Use AMD64_ARG_REG#
defines to access param registers. Replace long usage with
gsize as sizeof(long) != sizeof(void*) on Win64.

* mini-amd64.h: Add %rdi and %rsi to MonoLMF structure
on Win64. Fix intrinsic, use _AddressOfReturnAddress
instead of non-existant _GetAddressOfReturnAddress.

* tramp-amd64.c: Use AMD64_ARG_REG# defines to access
param registers. Save/restore %rdi and %rsi in MonoLMF.

* exceptions-amd64.c: Use AMD64_ARG_REG# defines to access
param registers. Modify (throw_exception) signature to take
%rdi and %rsi on Win64.

Code is contributed under MIT/X11 license.

2007-10-26  Jonathan Chambers <joncham@gmail.com>

* amd64/amd64-codegen.h: Begin Win64 port. Use AMD64_ARG_REG#
defines to access param registers. Replace long usage with
gsize as sizeof(long) != sizeof(void*) on Win64.

Code is contributed under MIT/X11 license.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 14:38:24 +0000 (14:38 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilderTest.cs: Add a test for calling GetCustomAttributes on inflated
generic types.

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

16 years ago2007-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 26 Oct 2007 14:37:37 +0000 (14:37 -0000)]
2007-10-26  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_reflection_get_custom_attrs_info): Handle MonoGenericClass
too. Fixes #336999.

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

16 years ago2007-10-26 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 26 Oct 2007 12:50:56 +0000 (12:50 -0000)]
2007-10-26  Dick Porter  <dick@ximian.com>

* shared.c (_wapi_shm_file_open): Set the umask when opening
shared files, so restrictive defaults don't prevent subsequent
processes re-opening them.

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

16 years ago2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Oct 2007 10:03:20 +0000 (10:03 -0000)]
2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>

* CSharpCodeGenerator.cs : property name was not escaped.

* CodeGeneratorFromTypeTest.cs : added test case for escaped
  CodeProperty output name (keyword).

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

16 years ago2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Oct 2007 04:19:51 +0000 (04:19 -0000)]
2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>

* UTF8EncodingTest.cs : looks like the issue is not fixed in .NET 1.x
  and hence it looked like a regression. (It wasn't.)

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

16 years ago2007-10-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 26 Oct 2007 04:00:22 +0000 (04:00 -0000)]
2007-10-26  Atsushi Enomoto  <atsushi@ximian.com>

* TypeTranslator.cs, XmlCustomFormatter.cs : looks like duration is
  serialized to System.String, not TimeSpan. Fixed bug #336625.

* XmlSerializerTests.cs : added test for DataType in [XmlElement].

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

16 years ago2007-10-26 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 22:13:19 +0000 (22:13 -0000)]
2007-10-26  Jb Evain  <jbevain@novell.com>

* Makefile: disable the `always build the tuner` as per
Paolo's suggestion. Need to use the build mecanism from now.

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

16 years ago2007-10-26 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 21:57:14 +0000 (21:57 -0000)]
2007-10-26  Jb Evain  <jbevain@novell.com>

* Makefile: activate the InjectAttributes step.

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

16 years ago* TypeTest.cs: Added test for bug #336841. Code formatting.
Gert Driesen [Thu, 25 Oct 2007 21:29:02 +0000 (21:29 -0000)]
* TypeTest.cs: Added test for bug #336841. Code formatting.

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

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Oct 2007 21:25:23 +0000 (21:25 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* Hashtable.cs: Put the hash values into a separate array to help the GC. Fixes
#336069.

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 21:06:52 +0000 (21:06 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectAttributes.cs: inject security attributes
defined in the public api.

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

16 years ago2007-10-25 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 25 Oct 2007 20:55:27 +0000 (20:55 -0000)]
2007-10-25  Zoltan Varga  <vargaz@gmail.com>

* object.c (mono_value_box): Use typed allocation here.

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

16 years agoThu Oct 25 23:06:58 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 25 Oct 2007 20:50:07 +0000 (20:50 -0000)]
Thu Oct 25 23:06:58 CEST 2007 Paolo Molaro <lupus@ximian.com>

* helpers.c: unlink debugging output files.

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 20:25:38 +0000 (20:25 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/InjectAttributes.cs: infrastructure for
the attribute injector.

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 20:09:49 +0000 (20:09 -0000)]
update

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 20:09:11 +0000 (20:09 -0000)]
update

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

16 years agorename files
Jb Evain [Thu, 25 Oct 2007 20:08:42 +0000 (20:08 -0000)]
rename files

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 20:08:07 +0000 (20:08 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* monolinker.exe.sources
* Mono.Linker.Steps/ResolveFromApiInfoStep.cs
* Mono.Linker/Driver.cs
* Mono.Linker/XApiReader.cs
* Mono.Linker/ApiInfoService.cs
* Mono.Linker/IXApiVisitor.cs:

Big refactoring. Move logic to read Xml Api Info files
to XApiReader, so we can use that in the tuner to deal
with xapi files to inject attributes.

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

16 years ago2007-10-25 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 25 Oct 2007 18:47:30 +0000 (18:47 -0000)]
2007-10-25  Lluis Sanchez Gual  <lluis@novell.com>

* AppDomain.cs: In DefaultDomain, wrap the returned domain with
a proxy if the current domain is not the root domain.

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 16:50:23 +0000 (16:50 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A test for bug #336766

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

16 years agoNew test.
Marek Safar [Thu, 25 Oct 2007 16:49:54 +0000 (16:49 -0000)]
New test.

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

16 years ago2007-10-25 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 25 Oct 2007 16:49:40 +0000 (16:49 -0000)]
2007-10-25  Marek Safar  <marek.safar@gmail.com>

A fix for bug #336766
* expression.cs (Class.CheckBase): Use generic name when a method is
generic.

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 16:27:04 +0000 (16:27 -0000)]
update

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

16 years agoupdate
Jb Evain [Thu, 25 Oct 2007 16:26:53 +0000 (16:26 -0000)]
update

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

16 years agoavoid keeping huge xml files in memory
Jb Evain [Thu, 25 Oct 2007 16:26:45 +0000 (16:26 -0000)]
avoid keeping huge xml files in memory

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

16 years ago2007-10-25 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 25 Oct 2007 15:43:45 +0000 (15:43 -0000)]
2007-10-25  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/PrintStatus.cs: print which items
have been internalized if the parameter `display_internalized`
is set to true.

* Makefile: define parameter `display_internalized` and set it
to false. Set it explicitely to true if you want a detailed log
about which metadata items have been internalized.

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

16 years agoFlush
Miguel de Icaza [Thu, 25 Oct 2007 15:37:15 +0000 (15:37 -0000)]
Flush

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

16 years agoFix this code
Miguel de Icaza [Thu, 25 Oct 2007 15:34:06 +0000 (15:34 -0000)]
Fix this code

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