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
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
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
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
Marek Safar [Wed, 20 Jul 2005 11:36:34 +0000 (11:36 -0000)]
new test
svn path=/trunk/mcs/; revision=47465
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Ben Maurer [Tue, 19 Jul 2005 20:12:17 +0000 (20:12 -0000)]
keep make check working
svn path=/trunk/mcs/; revision=47431
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
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
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
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
Eyal Alalouf [Tue, 19 Jul 2005 17:16:26 +0000 (17:16 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47422
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
Eyal Alalouf [Tue, 19 Jul 2005 16:55:57 +0000 (16:55 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47419
Eyal Alalouf [Tue, 19 Jul 2005 16:53:47 +0000 (16:53 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47418
Eyal Alalouf [Tue, 19 Jul 2005 16:28:02 +0000 (16:28 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47417
Eyal Alalouf [Tue, 19 Jul 2005 16:13:51 +0000 (16:13 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47416
Eyal Alalouf [Tue, 19 Jul 2005 16:08:09 +0000 (16:08 -0000)]
TARGET_J2EE compilation & integration fixes.
svn path=/trunk/mcs/; revision=47415
Eyal Alalouf [Tue, 19 Jul 2005 15:52:33 +0000 (15:52 -0000)]
TARGET_J2EE indentation fixes.
svn path=/trunk/mcs/; revision=47414
Eyal Alalouf [Tue, 19 Jul 2005 15:49:48 +0000 (15:49 -0000)]
TARGET_J2EE compilation fixes.
svn path=/trunk/mcs/; revision=47413
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
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
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
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
Carlos Guzmán Álvarez [Tue, 19 Jul 2005 09:54:20 +0000 (09:54 -0000)]
Added missing file
svn path=/trunk/mcs/; revision=47407
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Marek Safar [Mon, 18 Jul 2005 10:26:01 +0000 (10:26 -0000)]
new test + update
svn path=/trunk/mcs/; revision=47379
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
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
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
Daniel Morgan [Sun, 17 Jul 2005 23:04:04 +0000 (23:04 -0000)]
2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleDataReader.cs:
should allow getting RecordsAffected property
after Close
svn path=/trunk/mcs/; revision=47371
Daniel Morgan [Sun, 17 Jul 2005 22:00:48 +0000 (22:00 -0000)]
2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleCommandBuilder.cs:
fix build for NET_2_0 profile
svn path=/trunk/mcs/; revision=47370
Iain McCoy [Sun, 17 Jul 2005 16:16:26 +0000 (16:16 -0000)]
2005-07-18 Iain McCoy <iain@mccoy.id.au>
* Mono.Windows.Serialization/XamlParser.cs: some refactoring and
improvements in error reporting
* Test/XamlParser.cs: added a few tests and improved the readability
of the baked-in XAML documents somewhat. Additionally added some
comments explaining the approach taken by the tests and test
scaffolding.
svn path=/trunk/mcs/; revision=47366
Iain McCoy [Sun, 17 Jul 2005 14:05:44 +0000 (14:05 -0000)]
2005-07-17 Iain McCoy <iain@mccoy.id.au>
* Test/XamlParser.cs: add a bunch of tests
* Mono.Windows.Serialization/XamlParser.cs: improve error reporting,
don't accept elements without namespaces
svn path=/trunk/mcs/; revision=47365
Florian Gross [Sun, 17 Jul 2005 13:34:46 +0000 (13:34 -0000)]
Test for #75545
svn path=/trunk/mcs/; revision=47364
Florian Gross [Sun, 17 Jul 2005 13:33:51 +0000 (13:33 -0000)]
Fix for #75545
svn path=/trunk/mcs/; revision=47363
Daniel Morgan [Sun, 17 Jul 2005 08:23:27 +0000 (08:23 -0000)]
2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
* System.Data.OracleClient/OracleCommandBuilder.cs:
implemented a working OracleCommandBuilder based on
current SqlCommandBuilder
* System.Data.OracleClient/OracleCommand.cs: added
placeholder for DeriveParamters
* System.Data.OracleClient/OracleDataReader.cs:
- sometimes trying to get records affected
throws an exception
- set BaseColumnName to the ColumnName
in the Schema table
if the command behavior is KeyInfo
- only try to Read if there are rows to read
* Test/OracleAdapterTest.cs: removed file
because adapter tests added to TestOracleClient.cs
* Test/TestOracleClient.cs: added tests
- test ExecuteReader and records affected
executing a Non-Query
- test Inserts/Updates/Deletes with a
DataSet, Data Adapter, and Command Builder
svn path=/trunk/mcs/; revision=47362
Ben Maurer [Sun, 17 Jul 2005 00:13:45 +0000 (00:13 -0000)]
2005-07-16 Ben Maurer <bmaurer@ximian.com>
* Makefile: Make sure that tests use the same flags as the
assembly itself. Also, unverbosify warnings.
svn path=/trunk/mcs/; revision=47361
Iain McCoy [Sat, 16 Jul 2005 15:04:03 +0000 (15:04 -0000)]
2005-07-16 Iain McCoy <iain@mccoy.id.au>
* Test/XamlParser.cs: fix a bug in property tests, add tests for
dependency properties and complex objects as property values. Actually
include file in svn, oops.
svn path=/trunk/mcs/; revision=47358
Daniel Morgan [Sat, 16 Jul 2005 11:37:36 +0000 (11:37 -0000)]
2005-07-16 Daniel Morgan <danielmorgan@verizon.net>
* SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
the orginal value when setting one of the SET variables
svn path=/trunk/mcs/; revision=47357
Raja R Harinath [Fri, 15 Jul 2005 20:35:12 +0000 (20:35 -0000)]
In mcs:
Fix #60638.
* expression.cs (Binary.Warning_UnintendeReferenceComparison):
New. Reports CS0252/CS0253.
Mostly taken from preliminary patch by Duncak Mak.
(Binary.DoResolveOperator): Store results of operator lookup.
Use them to detect if we need to warn about unintended reference
comparisons.
In errors:
* cs0252.cs, cs0253.cs: New tests for #60638 from #75557.
svn path=/trunk/mcs/; revision=47353
Raja R Harinath [Fri, 15 Jul 2005 20:27:34 +0000 (20:27 -0000)]
update
svn path=/trunk/mcs/; revision=47352
Atsushi Eno [Fri, 15 Jul 2005 19:35:28 +0000 (19:35 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* managed-collation.patch : forgot to add System.String patch.
svn path=/trunk/mcs/; revision=47351
Atsushi Eno [Fri, 15 Jul 2005 17:23:02 +0000 (17:23 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* MSCompatUnicodeTable.cs : added resource existence check (required
for mscorlib transient time from the one without resources to the
one with resources.
svn path=/trunk/mcs/; revision=47348
Ben Maurer [Fri, 15 Jul 2005 17:12:45 +0000 (17:12 -0000)]
sort
svn path=/trunk/mcs/; revision=47347
Atsushi Eno [Fri, 15 Jul 2005 16:26:14 +0000 (16:26 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : fixed punctuations and hyphen
(shift) primary weight.
svn path=/trunk/mcs/; revision=47346
Miguel de Icaza [Fri, 15 Jul 2005 15:59:34 +0000 (15:59 -0000)]
2005-07-15 Miguel de Icaza <miguel@novell.com>
* DigestClient.cs: Fix bug #75556, the qop argument must be
quoted, per http://www.faqs.org/rfcs/rfc2617.html section
`quo-options'.
svn path=/trunk/mcs/; revision=47344
Atsushi Eno [Fri, 15 Jul 2005 15:10:10 +0000 (15:10 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : more nonspacing mark fixes.
Some non-basic Cyrillic diacritical weight fixes.
svn path=/trunk/mcs/; revision=47343
Raja R Harinath [Fri, 15 Jul 2005 13:41:39 +0000 (13:41 -0000)]
Make error message use active voice.
Sheesh, I'm not getting things right on the first try today.
svn path=/trunk/mcs/; revision=47342
Raja R Harinath [Fri, 15 Jul 2005 13:37:40 +0000 (13:37 -0000)]
In mcs:
Fix #72969.
* namespace.cs (Namespace.Lookup): Add back location parameter.
(Namespace.LookupType): Add CS0436 report. Add location parameter.
* delegate.cs, ecore.cs, expression.cs: Update to changes.
In errors:
* cs0436.cs: New test from #72969.
svn path=/trunk/mcs/; revision=47341
Sureshkumar T [Fri, 15 Jul 2005 13:15:36 +0000 (13:15 -0000)]
In System.Data.Common:
2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
* DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
meaningful error message if mapping is missing.
* DbDataAdapter.cs: Update: meaningful message if table is missing.
In System.Data.SqlClient:
2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
* SqlCommandBuilder.cs:
- set_DataAdapter: unsubscribe event if DataAdapter is reset.
- CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
if column mapping is missing, use the source column name. use
proper version to get the data.
- RowUpdatingHandler: set status to continue to actually process
the query.
svn path=/trunk/mcs/; revision=47340
Atsushi Eno [Fri, 15 Jul 2005 12:48:42 +0000 (12:48 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : some Gurmukhi fixes on level 1
and level 3. Tiny Hangul weight fixes.
* MSCompatUnicodeTable.cs : U+30F5 and U+30F6 are small Japanese.
svn path=/trunk/mcs/; revision=47339
Raja R Harinath [Fri, 15 Jul 2005 11:56:12 +0000 (11:56 -0000)]
* codegen.cs (EmitContext.DeclSpace): Make readonly.
* namespace.cs (Namespace.Lookup): Carve out type lookup into ...
(Namespace.LookupType): ... this.
(NamespaceEntry.GetUsingTable): Allocate only one zero-sized array
of namespaces.1
* typemanager.cs (LookupTypeReflection): Remove buggy code that
purported to handle pointers.
(char_ptr_type, void_ptr_type): Use GetPointerType rather than
CoreLookupType.
Robustification by making some core functions brittle.
svn path=/trunk/mcs/; revision=47338
Atsushi Eno [Fri, 15 Jul 2005 11:52:09 +0000 (11:52 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : some normal characters who have
"narrow" NFKD mapping are regarded as "wide" and thus level 3 weight
values were different. Handle U+30FB as category A.
* MSCompatUnicodeTable.cs : U+30FB does not have special weight.
svn path=/trunk/mcs/; revision=47337
Atsushi Eno [Fri, 15 Jul 2005 10:59:50 +0000 (10:59 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : more diacritical weight fixes.
Removed some unused code.
svn path=/trunk/mcs/; revision=47336
Atsushi Eno [Fri, 15 Jul 2005 09:48:02 +0000 (09:48 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Fixed some Thai and Arabic
level 2 weight.
* CompareInfoTest.cs : Some GetSortKey That tests got working.
svn path=/trunk/mcs/; revision=47334
Marek Safar [Fri, 15 Jul 2005 08:27:30 +0000 (08:27 -0000)]
new test
svn path=/trunk/mcs/; revision=47333
Marek Safar [Fri, 15 Jul 2005 08:24:53 +0000 (08:24 -0000)]
2005-07-15 Marek Safar <marek.safar@seznam.cz>
* expression.cs (MemberAccess.ResolveNamespaceOrType): Don't report nested
type as namespace.
svn path=/trunk/mcs/; revision=47332
Raja R Harinath [Fri, 15 Jul 2005 08:09:45 +0000 (08:09 -0000)]
* namespace.cs (Namespace.Lookup): Drop location parameter.
(NamespaceEntry.LookupAlias): Remove. Merge into ...
(NamespaceEntry.Lookup): ... this.
(NamespaceEntry.Error_AmbiguousTypeReference):
Move here from DeclSpace.
(NamespaceEntry.LookupNamespaceOrType): Move support for dotted
names ...
* ecore.cs (TypeLookupExpression.DoResolveAsTypeStep): ... here.
* decl.cs (DeclSpace.ErrorAmbiguousTypeReference):
Move to NamespaceEntry.
* delegate.cs, expression.cs: Update to changes.
svn path=/trunk/mcs/; revision=47331
Atsushi Eno [Fri, 15 Jul 2005 07:49:48 +0000 (07:49 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Fixed Syriac nonspacing marks.
svn path=/trunk/mcs/; revision=47330
Iain McCoy [Fri, 15 Jul 2005 07:49:27 +0000 (07:49 -0000)]
2005-07-15 Iain McCoy <iain@mccoy.id.au>
* System.Windows.Serialization/Mapper.cs: make assembly loading more
resilient
* Mono.Windows.Serialization/ObjectWriter.cs: do conversions from
strings and support dependency properties
* demo/test.xaml: enhanced testing of complex objects as property
values and documented test file.
* demo/runtimetest.xaml: added dependency property test
svn path=/trunk/mcs/; revision=47329
Atsushi Eno [Fri, 15 Jul 2005 07:21:27 +0000 (07:21 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* create-mscompat-collation-table.cs : Fixed nonspacing marks in
Malayalam, Thai and Lao. Removed extraneous hack.
svn path=/trunk/mcs/; revision=47328
Atsushi Eno [Fri, 15 Jul 2005 05:37:18 +0000 (05:37 -0000)]
2005-07-15 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : rewrote LastIndexOf() to handle source extenders.
Some refactoring on IndexOf() code. Removed unused Matches().
* Collation-notes.txt : some methods needed to be reimplemented, so
rewrote the description.
* CompareInfoTest.cs : Uncommented tests that got working. Added two
cornercase notworking LastIndexOf() tests.
svn path=/trunk/mcs/; revision=47327
Satya Sudha K [Fri, 15 Jul 2005 03:53:44 +0000 (03:53 -0000)]
Testcases for properties
svn path=/trunk/mcs/; revision=47324
Atsushi Eno [Thu, 14 Jul 2005 18:55:07 +0000 (18:55 -0000)]
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : rewrote IsSuffix() to use CompareInternal().
Thus supported extenders in IsSuffix().
* CompareInfoTest.cs : IsSuffix() extender tests got working.
svn path=/trunk/mcs/; revision=47320
Atsushi Eno [Thu, 14 Jul 2005 18:21:07 +0000 (18:21 -0000)]
2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
* SimpleCollator.cs : more IsSuffix() simplification, but it will be
stopped here since it cannot handle extenders (implementing new
approach one).
* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
with ignorable source character. Added some non-working tests.
svn path=/trunk/mcs/; revision=47319