mono.git
18 years ago2005-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 18:04:41 +0000 (18:04 -0000)]
2005-07-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* TypeDescriptor.cs: (GetProperties) throw exception if 'component' is
null.

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

18 years agoUpdates
Miguel de Icaza [Thu, 21 Jul 2005 17:58:10 +0000 (17:58 -0000)]
Updates

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

18 years ago2005-07-21 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 21 Jul 2005 15:13:48 +0000 (15:13 -0000)]
2005-07-21  Lluis Sanchez Gual  <lluis@novell.com>

* CollectionBase.cs: Lazily create the inner list. MS.NET does
it and we need to do the same for the sake of serialization
interoperability. Fixes bug #75575.

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

18 years agosvn path=/trunk/mcs/; revision=47518
Rafael Mizrahi [Thu, 21 Jul 2005 14:40:09 +0000 (14:40 -0000)]
svn path=/trunk/mcs/; revision=47518

18 years ago* namespace.cs (NamespaceLookupType): Avoid a string allocation when we
Raja R Harinath [Thu, 21 Jul 2005 14:05:38 +0000 (14:05 -0000)]
* namespace.cs (NamespaceLookupType): Avoid a string allocation when we
already found a typebuilder.
* class.cs (MethodCore.IsDuplicateImplementation): Compare
MemberNames, not strings.

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

18 years ago2005-07-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 21 Jul 2005 14:00:42 +0000 (14:00 -0000)]
2005-07-21  Zoltan Varga  <vargaz@freemail.hu>

* ILGenerator.cs (BeginFaultBlock): Call InternalEndClause () here
too. Reported by Jeroen Frijters.

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

18 years agoRemoved source control information from TARGET_JVM project and solution files.
Boris Kirzner [Thu, 21 Jul 2005 12:54:03 +0000 (12:54 -0000)]
Removed source control information from TARGET_JVM project and solution files.

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

18 years ago2005-07-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 21 Jul 2005 12:37:10 +0000 (12:37 -0000)]
2005-07-21  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_custom): Implement byref marshalling. Fixes
#75587.

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

18 years ago2005-07-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 21 Jul 2005 12:32:56 +0000 (12:32 -0000)]
2005-07-21  Zoltan Varga  <vargaz@freemail.hu>

* marshal9.cs libtest.c: Add tests for byref custom marshalling.

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

18 years agoSupport conversions in "new" assignment statement
Manjula GHM [Thu, 21 Jul 2005 11:40:30 +0000 (11:40 -0000)]
Support conversions in "new" assignment statement

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

18 years agoSupport for method invocation without '()'
Satya Sudha K [Thu, 21 Jul 2005 11:20:05 +0000 (11:20 -0000)]
Support for method invocation without '()'

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

18 years ago2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 21 Jul 2005 11:05:55 +0000 (11:05 -0000)]
2005-07-21  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: GetValue (): added case for OdbcType.Bit. and
Formatting corrections.

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

18 years agoPut log message to the correct ChangeLog files
Boris Kirzner [Thu, 21 Jul 2005 10:13:02 +0000 (10:13 -0000)]
Put log message to the correct ChangeLog files

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

18 years ago* const.cs (Error_ExpressionMustBeConst):
Raja R Harinath [Thu, 21 Jul 2005 10:11:01 +0000 (10:11 -0000)]
* const.cs (Error_ExpressionMustBeConst):
Rename from Error_EpressionMustBeConst.
* const.cs, class.cs, statement.cd: Update.

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

18 years ago2005-07-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 21 Jul 2005 10:08:14 +0000 (10:08 -0000)]
2005-07-21  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs pinvoke1.cs Makefile.am: Merge pinvoke1.cs into pinvoke2.cs.

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

18 years ago2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jul 2005 10:02:12 +0000 (10:02 -0000)]
2005-07-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : More Cyrillic diacritical fixes.

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

18 years agoSupport type specifier for "ReDim" statements
Manjula GHM [Thu, 21 Jul 2005 09:52:49 +0000 (09:52 -0000)]
Support type specifier for "ReDim" statements

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

18 years ago* CodeGeneratorTest.cs: Added unit tests for CodeGenerator.IsCurrent*.
Gert Driesen [Thu, 21 Jul 2005 09:33:05 +0000 (09:33 -0000)]
* CodeGeneratorTest.cs: Added unit tests for CodeGenerator.IsCurrent*.
* System_test.dll.sources: Added CodeGeneratorTest.cs from
System.CodeDom.Compiler.
* CodeGenerator.cs: Fixed IsCurrentClass to return false for delegate.

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

18 years ago2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jul 2005 09:01:20 +0000 (09:01 -0000)]
2005-07-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : More Latin diacritical fixes.

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

18 years ago2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jul 2005 08:23:44 +0000 (08:23 -0000)]
2005-07-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : There were still missing
  math symbol mappings. Added several hacky diacritical weight for
  Latin characters.

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

18 years ago* CodeGeneratorFromTypeTestBase.cs: Base class for unit tests for
Gert Driesen [Thu, 21 Jul 2005 07:56:42 +0000 (07:56 -0000)]
* CodeGeneratorFromTypeTestBase.cs: Base class for unit tests for
CodeGenerator.GenerateCodeFromType.
* CodeGeneratorTestBase.cs: Base class for CodeGenerator unit tests.
* CodeGeneratorFromTypeTest.cs: Inherit from
System.CodeDom.CodeGeneratorFromTypeTestBase. Added testfixture
for testing enum, interface and delegate, but for now these are
marked NotWorking.
* System_test.dll.sources: Added CodeGeneratorFromTypeTestBase.cs
and CodeGeneratorTestBase.cs from System.CodeDom.Compiler.

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

18 years agoIn Test/System.Data:
Sureshkumar T [Thu, 21 Jul 2005 07:20:30 +0000 (07:20 -0000)]
In Test/System.Data:
2005-07-21  Sureshkumar T  <tsureshkumar@novell.com>

* ForeignKeyConstraintTest.cs: added tests when adding fk
constraints with existing rows.

In System.Data:
2005-07-21  Sureshkumar T  <tsureshkumar@novell.com>

* ForeignKeyConstraint.cs:
- IsConstraintViolated (): no matter what EnforceConstraints is,
this function now honestly validates. It is upto the caller to run
this or not.
- AddToConstraintCollectionSetup (): AssertConstraint according to
EnforceConstraints.

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

18 years ago2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jul 2005 07:15:34 +0000 (07:15 -0000)]
2005-07-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : fixed a few diacritical weight
  on Cyrillic characters. Fixed ParseTailoringSource() to handle
  non-heading escape sequence (\uXXXX) as expected.

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

18 years agoForeignKeyConstraint.IsConstraintViolated() should check for Table.EnforceConstraints.
Boris Kirzner [Thu, 21 Jul 2005 07:06:25 +0000 (07:06 -0000)]
ForeignKeyConstraint.IsConstraintViolated() should check for Table.EnforceConstraints.

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

18 years agonew test
Marek Safar [Thu, 21 Jul 2005 06:48:14 +0000 (06:48 -0000)]
new test

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

18 years ago2005-07-21 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 21 Jul 2005 06:47:13 +0000 (06:47 -0000)]
2005-07-21  Marek Safar  <marek.safar@seznam.cz>

Fix #65573

* const.cs (Const.LookupConstantValue): Report missing contant expression
everytime.
(Error_EpressionMustBeConstant): Only one error method.

* class.cs, statement.c: Updated.

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

18 years agooops
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 04:57:51 +0000 (04:57 -0000)]
oops

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

18 years agomore trace stuff
Gonzalo Paniagua Javier [Thu, 21 Jul 2005 04:46:35 +0000 (04:46 -0000)]
more trace stuff

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

18 years ago2005-07-21 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 21 Jul 2005 01:51:36 +0000 (01:51 -0000)]
2005-07-21  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs,
  MSCompatUnicodeTableUtil.cs,
  MSCompatUnicodeTable.cs : added more aggressive index limits for
  table optimization at data size, in cost of speed.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 21:24:20 +0000 (21:24 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_setup_jit_tls_data): Use the nice way of
getting TLS offsets on AMD64 too.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 21:21:44 +0000 (21:21 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mono-compiler.h (MONO_THREAD_VAR_OFFSET): Use the nice way of
getting the tls offsets on amd64 too.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 20:24:45 +0000 (20:24 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* image.h image.c: Add mono_image_get_guid () API function.

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

18 years ago2005-07-20 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>, Renato Suga <renato@psl...
Rafael Teixeira [Wed, 20 Jul 2005 18:44:23 +0000 (18:44 -0000)]
2005-07-20 Aldo Monteiro <aldo@psl-pr.softwarelivre.org>, Renato Suga <renato@psl-pr.softwarelivre.org>
* Modified the test DecimalLiteralTestA.vb (to differentiate error numbers)

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

18 years agodriver.c: Detach console when executing IMAGE_SUBSYSTEM_WINDOWS_GUI on win32
Kornél Pál [Wed, 20 Jul 2005 17:26:15 +0000 (17:26 -0000)]
driver.c: Detach console when executing IMAGE_SUBSYSTEM_WINDOWS_GUI on win32

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

18 years agoWed Jul 20 18:05:19 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Jul 2005 16:55:39 +0000 (16:55 -0000)]
Wed Jul 20 18:05:19 BST 2005 Paolo Molaro <lupus@ximian.com>

* exceptions-arm.c, mini-arm.c, tramp-arm.c, cpu-arm.md,
inssel-arm.brg, mini-arm.h: ARM port work in progress.

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

18 years agoWed Jul 20 18:01:54 BST 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 20 Jul 2005 16:55:20 +0000 (16:55 -0000)]
Wed Jul 20 18:01:54 BST 2005 Paolo Molaro <lupus@ximian.com>

* arm/*: more codegen macros.

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

18 years ago2005-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jul 2005 14:49:30 +0000 (14:49 -0000)]
2005-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : fixed Arabic thirtial weight.

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

18 years ago2005-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jul 2005 13:48:33 +0000 (13:48 -0000)]
2005-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Mapping for hyphens and
  punctuation are kinda finished. Rewrote batch mapping method to
  collect all NFKD. Required modification on mapping is done.

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

18 years ago* statement.cs (Block.Flags): Add back HasVarargs.
Raja R Harinath [Wed, 20 Jul 2005 12:29:18 +0000 (12:29 -0000)]
* statement.cs (Block.Flags): Add back HasVarargs.
(Block.flags): Make protected.
(ToplevelBlock.HasVarargs): Convert to a property that updates flags.

(Results in a minor savings in memory allocated: 40k in a corlib compile)

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

18 years ago* typemanager.cs (types, typecontainers, user_types): Remove.
Raja R Harinath [Wed, 20 Jul 2005 12:21:12 +0000 (12:21 -0000)]
* typemanager.cs (types, typecontainers, user_types): Remove.
(UserTypes, TypeContainers): Likewise.
(HandleDuplicate, AddDelegateType, AddEnumType): Likewise.
(CleanUp, Reset): Update.
(AddUserType): Combine variants.  Now, only updates builder_to_declspace.
(GetNestedType): Use Type.GetNestedType.
(CoreLookupType): Take two arguments, the namespace and the
basename of the type.  Update to use the Namespace.Lookup
mechanism.
(InitEnumUnderlyingTypes, InitCoreTypes): Update.
(RealMemberLookup): Use IsNestedChildOf instead of playing with
string concatenation and substring matches.
* class.cs, enum.cs, delegate.cs: Update to changes.

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

18 years agonew test
Marek Safar [Wed, 20 Jul 2005 11:36:34 +0000 (11:36 -0000)]
new test

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 10:25:04 +0000 (10:25 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* tramp-amd64.c (mono_arch_create_specific_trampoline): Fix build.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 10:15:32 +0000 (10:15 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-*.h tramp-*.c: Move more cross platform trampoline code
to mini.c.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 20 Jul 2005 10:15:15 +0000 (10:15 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c mini-*.h tramp-*.c: Move more cross platform trampoline code
to mini.c.

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

18 years ago2005-07-20 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 20 Jul 2005 09:34:59 +0000 (09:34 -0000)]
2005-07-20  Marek Safar  <marek.safar@seznam.cz>

* constant.cs (Constant.Error_ConstantValueCannotBeConverted): Moved from
Expression and made virtual.

* convert.cs (ImplicitReferenceConversionExists): Skip for value types.
(ImplicitStandardConversionExists): Fixed `byte' typo ?

* ecore.cs (Expression.Error_ConstantValueCannotBeConverted): Moved.

* literal.cs (NullLiteral.Error_ConstantValueCannotBeConverted): Customize
error message.

* convert.cs, ecore.cs, enum.cs: Reflect Error_ConstantValueCannotBeConverted
change.

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

18 years ago2005-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jul 2005 08:43:08 +0000 (08:43 -0000)]
2005-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : minor mapping fixes on accent
  marks and punctuations.

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

18 years ago2005-07-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 20 Jul 2005 06:45:24 +0000 (06:45 -0000)]
2005-07-20  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Fixed some MathSymbol mapping
  and Box drawing mapping.

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

18 years ago2005-07-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 20 Jul 2005 02:08:39 +0000 (02:08 -0000)]
2005-07-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        * NpgsqlTypes/NpgsqlTypeConverters.cs:  Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.

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

18 years ago2005-07-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 20 Jul 2005 02:07:09 +0000 (02:07 -0000)]
2005-07-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        * NpgsqlTypes/NpgsqlTypeConverters.cs:  Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.

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

18 years ago2005-07-19 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Wed, 20 Jul 2005 00:44:30 +0000 (00:44 -0000)]
2005-07-19  Ben Maurer  <bmaurer@ximian.com>

* ArrayListTest.cs: The patch below was not committed with the
same text as the patch on the bug. There was an s/1/3. Doing the
patch as specified on the bug makes buildbot work and the test
work on msft

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 23:01:02 +0000 (23:01 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Call
mono_sparc_is_virtual_call ().

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 22:54:10 +0000 (22:54 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Fix warning.

* tramp-sparc.c (mono_arch_create_trampoline_code): Fix order of
trampoline parameters.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 22:22:06 +0000 (22:22 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Fix signature.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 22:19:50 +0000 (22:19 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* mini-sparc.c (mono_arch_get_vcall_slot_addr): Rename this
to mono_arch_get_vcall_slot_addr.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 22:06:46 +0000 (22:06 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am tramp-sparc.c: Update the sparc port to use the generic
trampoline code.

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

18 years ago2005-07-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 21:59:10 +0000 (21:59 -0000)]
2005-07-20  Zoltan Varga  <vargaz@freemail.hu>

* *-sparc.*: Merge the mini-xp-regalloc branch for sparc.

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

18 years agothis didn't save teh warning as i could have sworn it did
Ben Maurer [Tue, 19 Jul 2005 20:59:55 +0000 (20:59 -0000)]
this didn't save teh warning as i could have sworn it did

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

18 years ago2005-07-19 Ben Maurer <bmaurer@ximian.com>
Ben Maurer [Tue, 19 Jul 2005 20:56:28 +0000 (20:56 -0000)]
2005-07-19  Ben Maurer  <bmaurer@ximian.com>

There were issues when multiple threads tried to load
assemblies. A deadlock was created between assemblies_mutex and
mono_domain_assemblies_lock. This fixes the issue by making the
assembly ref counting be lock free. See bug 75586.

* image.c (mono_image_close): The add ref function here was using
Interlocked operations while the unref was using a mutex and a
--. I don't think this was ever a bug that would be exposed in a
non-pendantic way (ie, by an embedder doing a ref on one thread
and an unref on another), but for the sake of correctness, this is
now Interlocked.

* assembly.c (mono_assembly_addref): Use InterlockedIncrement
(mono_assembly_load_reference): Call mono_assembly_addref rather
than touching the refcount ourselves.
(mono_assembly_close): Use InterlockedDecrement to unref the
assembly. Don't acquire the lock unless it is actually needed.

* metadata-internals.h (_MonoAssembly.ref_count): Make this
volatile since we are going to use atomic ops.

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

18 years ago2005-07-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 20:33:21 +0000 (20:33 -0000)]
2005-07-19  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.h mini-ia64.c: Finish pinvoke support.

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

18 years ago2005-07-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 20:30:27 +0000 (20:30 -0000)]
2005-07-19  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs libtest.c: Add some IA64 struct passing tests.

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

18 years ago2005-07-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 19 Jul 2005 20:16:43 +0000 (20:16 -0000)]
2005-07-19  Martin Baulig  <martin@ximian.com>

* exceptions-amd64.c (throw_exception): Call
mono_debugger_throw_exception() here like we're doing it on i386.

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

18 years agokeep make check working
Ben Maurer [Tue, 19 Jul 2005 20:12:17 +0000 (20:12 -0000)]
keep make check working

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 19:50:46 +0000 (19:50 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Fixed almost all numbers.

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

18 years ago2005-07-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 18:25:09 +0000 (18:25 -0000)]
2005-07-19  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c: Add optimized TLS access support.

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

18 years ago2005-07-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 18:24:12 +0000 (18:24 -0000)]
2005-07-19  Zoltan Varga  <vargaz@freemail.hu>

* mono-compiler.h: Add TLS offset detection for ia64.

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

18 years ago2005-07-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 19 Jul 2005 18:18:28 +0000 (18:18 -0000)]
2005-07-19  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix definition of LIBC for ia64.

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 17:16:26 +0000 (17:16 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years ago2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Tue, 19 Jul 2005 17:05:18 +0000 (17:05 -0000)]
2005-07-19  Jordi Mas i Hernandez <jordi@ximian.com>

* Binding.cs: Binding to properties should be case unsensitive

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 16:55:57 +0000 (16:55 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 16:53:47 +0000 (16:53 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 16:28:02 +0000 (16:28 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 16:13:51 +0000 (16:13 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years agoTARGET_J2EE compilation & integration fixes.
Eyal Alalouf [Tue, 19 Jul 2005 16:08:09 +0000 (16:08 -0000)]
TARGET_J2EE compilation & integration fixes.

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

18 years agoTARGET_J2EE indentation fixes.
Eyal Alalouf [Tue, 19 Jul 2005 15:52:33 +0000 (15:52 -0000)]
TARGET_J2EE indentation fixes.

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

18 years agoTARGET_J2EE compilation fixes.
Eyal Alalouf [Tue, 19 Jul 2005 15:49:48 +0000 (15:49 -0000)]
TARGET_J2EE compilation fixes.

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 12:25:13 +0000 (12:25 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Symbol mappings are almost done.
  Removed hack that gave dummy mappings to blank symbols.

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 12:05:39 +0000 (12:05 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : more fix on arrows. Fix on box
  drawings. Some code refactoring to eliminate hack.

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 11:27:16 +0000 (11:27 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : Fixed some secondary weight
  in Devanagari and arrows.

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 10:31:04 +0000 (10:31 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : a set of tiny mapping fixes.

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

18 years agoAdded missing file
Carlos Guzmán Álvarez [Tue, 19 Jul 2005 09:54:20 +0000 (09:54 -0000)]
Added missing file

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

18 years ago2005-07-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 19 Jul 2005 08:15:32 +0000 (08:15 -0000)]
2005-07-19  Atsushi Enomoto  <atsushi@ximian.com>

* create-mscompat-collation-table.cs : some diacritical fixes for
  Latin. Added batch mapping method that considers computed
  diacritical weight (for numbers).

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

18 years ago2005-07-19 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 19 Jul 2005 06:21:50 +0000 (06:21 -0000)]
2005-07-19  Martin Baulig  <martin@ximian.com>

* Timer.cs (Timer.Runner.Start): Fix a race condition which was
causing a hang on exit int he debugger: check `!disposed' before
`start_event.WaitOne ()' and again after it.

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

18 years ago2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Tue, 19 Jul 2005 06:08:31 +0000 (06:08 -0000)]
2005-07-19  Sureshkumar T  <tsureshkumar@novell.com>

* DataTable.cs - CopyConstraints (): copy constraints only if it
does not exist.

* DataSet.cs - Copy ():
- use activator.CreateInstance to create a typed dataset.
- copy tables if target does not exist, otherwise, just add rows.
- add relation only if it does not exists.

Typed datasets create the constraints & relations through
constructors. Fixes bug #75211.

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

18 years ago2005-07-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Jul 2005 20:41:42 +0000 (20:41 -0000)]
2005-07-18  Zoltan Varga  <vargaz@freemail.hu>

* mini-exceptions.c: Ongoing IA64 work.

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

18 years ago2005-07-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Jul 2005 20:40:34 +0000 (20:40 -0000)]
2005-07-18  Zoltan Varga  <vargaz@freemail.hu>

* mini-ia64.c inssel-long.brg: Ongoing IA64 work.

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

18 years ago2005-07-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Jul 2005 20:33:37 +0000 (20:33 -0000)]
2005-07-18  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h (ia64_is_adds_imm): Ongoing IA64 work.

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

18 years ago2005-07-19 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 18 Jul 2005 16:30:25 +0000 (16:30 -0000)]
2005-07-19  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/XamlWriter.cs: renamed to IXamlWriter.cs

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

18 years agoAdded servlet binding for the Grasshoper J2EE configuration.
Eyal Alalouf [Mon, 18 Jul 2005 16:29:25 +0000 (16:29 -0000)]
Added servlet binding for the Grasshoper J2EE configuration.

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

18 years ago2005-07-18 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 18 Jul 2005 16:29:06 +0000 (16:29 -0000)]
2005-07-18  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/*, Test/*: change stupid
        CreateElementText name of method on XamlWriter to something marginally
        more sensible
        * demo/TestVocab/*.cs: add implementations of equals so that tests for
        the ObjectWriter can be written.

2005-07-19  Iain McCoy  <iain@mccoy.id.au>

        * System.Windows/DependencyObject.cs,
          System.Windows/LocalValueEnumerator.cs: implemented
        GetLocalValueEnumerator() and the LocalValueEnumerator class to
        support it.
        * Test/DependencyObject.cs: added test for LocalValueEnumerator

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

18 years ago * mono-shlib-cop.exe.config: .config file to help with testing.
Jonathan Pryor [Mon, 18 Jul 2005 15:02:26 +0000 (15:02 -0000)]
  * mono-shlib-cop.exe.config: .config file to help with testing.
  * mono-shlib-cop.exe.out: Output generated from
    `mono mono-shlib-cop.exe mono-shlib-cop.exe`
  * Makefile: Add support for regression tests.

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

18 years ago2005-07-18 vlindos@nucleusys.com
Jordi Mas i Hernandez [Mon, 18 Jul 2005 14:54:08 +0000 (14:54 -0000)]
2005-07-18 vlindos@nucleusys.com

* DataGrid.cs: fixes setmember order

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

18 years ago2005-07-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 18 Jul 2005 13:45:16 +0000 (13:45 -0000)]
2005-07-18  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Use the default optimization set when embedding. Fixes
#75194.

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

18 years agoAdded System.Web.J2EE/PageMapper.cs and fixed dependecies in J2EE config.
Eyal Alalouf [Mon, 18 Jul 2005 13:38:49 +0000 (13:38 -0000)]
Added System.Web.J2EE/PageMapper.cs and fixed dependecies in J2EE config.

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

18 years ago2005-07-18 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 18 Jul 2005 13:07:02 +0000 (13:07 -0000)]
2005-07-18  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/CodeWriter.cs,
          Test/CodeWriter.cs
          Test/XamlWriter.cs: fix bug with explicitly naming objects in
        IAddChild blocks and add tests for same
        * Mono.Windows.Serialization/ObjectWriter.cs: support for arbitrary
        objects as property values.
        * demo/runtimetest.xaml: added testing of complex objects as property
        values

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

18 years agoInitial compilation in TARGET_J2EE config
Eyal Alalouf [Mon, 18 Jul 2005 12:13:27 +0000 (12:13 -0000)]
Initial compilation in TARGET_J2EE config

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

18 years ago2005-07-18 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Mon, 18 Jul 2005 12:07:20 +0000 (12:07 -0000)]
2005-07-18  Iain McCoy  <iain@mccoy.id.au>

        * Test/CodeWriter.cs: added a bunch of tests for the code generator
        * Mono.Windows.Serialization/CodeWriter.cs: fixed a few bugs turned up
        by the tests
        * Test/CodeWriter.cs, Test/XamlParser.cs: added copyright/license
        notices

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

18 years agonew test + update
Marek Safar [Mon, 18 Jul 2005 10:26:01 +0000 (10:26 -0000)]
new test + update

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

18 years ago2005-07-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Mon, 18 Jul 2005 09:57:13 +0000 (09:57 -0000)]
2005-07-18  Marek Safar  <marek.safar@seznam.cz>

Fix #57707
* codegen.cs (AssemblyClass.ApplyAttributeBuilder): Check whether
AssemblyCultureAttribute is not used on executable.

* rootcontext.cs,
* typemanager.cs: Add System.Reflection.AssemblyCultureAttribute.

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

18 years ago2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Mon, 18 Jul 2005 07:00:54 +0000 (07:00 -0000)]
2005-07-17  Daniel Morgan <danielmorgan@verizon.net>

* System.Data.OracleClient/OracleDataReader.cs:
handle Owner (BaseSchemaName) correctly when
looking up KeyInfo on a table

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

18 years ago2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
Satya Sudha K [Mon, 18 Jul 2005 03:42:39 +0000 (03:42 -0000)]
2005-07-18 Satya Sudha K <ksathyasudha@novell.com>
        * Supported overloading of properties (has to be tested thoroughly)

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