mono.git
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

18 years ago2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
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

18 years ago2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
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

18 years ago2005-07-18 Iain McCoy <iain@mccoy.id.au>
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

18 years ago2005-07-17 Iain McCoy <iain@mccoy.id.au>
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

18 years agoTest for #75545
Florian Gross [Sun, 17 Jul 2005 13:34:46 +0000 (13:34 -0000)]
Test for #75545

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

18 years agoFix for #75545
Florian Gross [Sun, 17 Jul 2005 13:33:51 +0000 (13:33 -0000)]
Fix for #75545

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

18 years ago2005-07-17 Daniel Morgan <danielmorgan@verizon.net>
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

18 years ago2005-07-16 Ben Maurer <bmaurer@ximian.com>
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

18 years ago2005-07-16 Iain McCoy <iain@mccoy.id.au>
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

18 years ago2005-07-16 Daniel Morgan <danielmorgan@verizon.net>
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

18 years agoIn mcs:
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

18 years agoupdate
Raja R Harinath [Fri, 15 Jul 2005 20:27:34 +0000 (20:27 -0000)]
update

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

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

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

18 years agosort
Ben Maurer [Fri, 15 Jul 2005 17:12:45 +0000 (17:12 -0000)]
sort

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

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

18 years ago2005-07-15 Miguel de Icaza <miguel@novell.com>
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

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

18 years agoMake error message use active voice.
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

18 years agoIn mcs:
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

18 years agoIn System.Data.Common:
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

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

18 years ago* codegen.cs (EmitContext.DeclSpace): Make readonly.
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

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

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

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

18 years agonew test
Marek Safar [Fri, 15 Jul 2005 08:27:30 +0000 (08:27 -0000)]
new test

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

18 years ago2005-07-15 Marek Safar <marek.safar@seznam.cz>
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

18 years ago* namespace.cs (Namespace.Lookup): Drop location parameter.
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

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

18 years ago2005-07-15 Iain McCoy <iain@mccoy.id.au>
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

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

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

18 years agoTestcases for properties
Satya Sudha K [Fri, 15 Jul 2005 03:53:44 +0000 (03:53 -0000)]
Testcases for properties

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

18 years ago2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago2005-07-14 Atsushi Enomoto <atsushi@ximian.com>
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

18 years ago * mono-shlib-cop.cs: Use RuntimeEnvironment.SystemConfigurationFile to find
Jonathan Pryor [Thu, 14 Jul 2005 18:17:25 +0000 (18:17 -0000)]
  * mono-shlib-cop.cs: Use RuntimeEnvironment.SystemConfigurationFile to find
    $sysconfigdir/etc/mono/config, since $sysconfigdir might not be under
    $prefix (the case for RPMs: $sysconfigdir=/etc, $prefix=/usr).
    Fixes 75287.

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

18 years agoDistribute VS files
Miguel de Icaza [Thu, 14 Jul 2005 18:06:31 +0000 (18:06 -0000)]
Distribute VS files

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

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

* XmlTextWriter.cs : In WriteQualifiedName(), when there is open
  attribute, it calls LookupPrefix() and then if namespace was empty,
  it resulted in an exception. Fixed bug #75546.

* XmlTextWriterTests.cs : added bug #75546 testcase.

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

18 years ago2005-07-15 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Thu, 14 Jul 2005 16:38:43 +0000 (16:38 -0000)]
2005-07-15  Iain McCoy  <iain@mccoy.id.au>

* Mono.Windows.Serialization/CodeWriter.cs: don't try to convert
objects into their parent types.
* demo/TestVocab/ConsoleValues.cs: Add ConsoleValueAppend to avoid
resolving read value too early
* demo/TestVocab/ConsoleWriter.cs: Use ConsoleValue as type of Text
property. These changes get the example working

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

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

* SimpleCollator.cs : simplified IsSuffix() code.

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

18 years ago2005-07-15 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Thu, 14 Jul 2005 15:51:49 +0000 (15:51 -0000)]
2005-07-15  Iain McCoy  <iain@mccoy.id.au>

        * Mono.Windows.Serialization/CodeWriter.cs: Better debugging
        information
        * Mono.Windows.Serialization/XamlParser.cs: Better debugging
        information, consolidated push() code
        * Mono.Windows.Serialization/CodeWriter.cs: inverted sourceType and
        destType in endPropertyObject
        * Mono.Windows.Serialization/XamlParser.cs: changed parseElement so
        that it doesn't stuff up the stack on empty elements and replaced
        an if statement spanning CurrentState with a case statement for
        clarity
        * demo/test.xaml: uncommented second test of complex objects as
        property values

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

18 years agoRemove . from names, breaks with some automakes
Miguel de Icaza [Thu, 14 Jul 2005 15:27:44 +0000 (15:27 -0000)]
Remove . from names, breaks with some automakes

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

18 years agonew tests + update
Marek Safar [Thu, 14 Jul 2005 14:47:50 +0000 (14:47 -0000)]
new tests + update

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

18 years ago2005-07-14 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 14 Jul 2005 14:39:26 +0000 (14:39 -0000)]
2005-07-14  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (Attribute.ResolveAttributeType): Renamed from
CheckAttributeType and refactored.
(Attribute.ResolvePossibleAttributeType): Changed to reuse
ResolveAsTypeTerminal error handling.
(ResolveAsTypeTerminal): Introduced because of global attributes extra
handling.
(GetSignatureForError): Print errors in same way.

* class.cs,
* codegen.cs: Reflect attribute GetSignatureForError change.

* ecore.cs,
* expression.cs: Add silent parameter to ResolveAsTypeStep.

* namespace.cs (UsingEntry): Refactored to make fields private.

* assign.cs,
statement.cs: Error_UnexpectedKind has extra parameter.

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

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

* SimpleCollator.cs : Fixed IndexOf() and LasIndexOf() to search the
  entire replacement string if char target was an expansion.
  IsSuffix() was using a method for IsPrefix() which was incorrect.
  Removed old IsPrefix() code.

* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf()
  that takes an expansion for target char.

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

18 years ago * DataView.cs: Patch from Marc Haisenko to throw descriptive error
Sureshkumar T [Thu, 14 Jul 2005 12:53:20 +0000 (12:53 -0000)]
* DataView.cs: Patch from Marc Haisenko to throw descriptive error
message when accessing Item, with invalid index.

2005-07-14  Sureshkumar T  <tsureshkumar@novell.com>

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

18 years ago* ecore.cs (IAlias): Remove.
Raja R Harinath [Thu, 14 Jul 2005 12:43:03 +0000 (12:43 -0000)]
* ecore.cs (IAlias): Remove.
* decl.cs (DeclSpace): Don't derive from IAlias.  Remove members
that implement the interface.
* namespace.cs (Namespace): Likewise.
(Namespace.declspaces): Renamed from 'defined_names'.
(Namespace.AddDeclSpace): Renamed from 'DefineName'.  Take a
DeclSpace instead of an IAlias.
* tree.cs (Tree.AddDecl): Update.

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

18 years ago2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 14 Jul 2005 12:27:56 +0000 (12:27 -0000)]
2005-07-14  Sureshkumar T  <tsureshkumar@novell.com>

reapplied patch from Marc Haisenko.
* DataView.cs: Patch from Marc Haisenko that ensures that rowCache
is never null.

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

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

* SimpleCollator.cs : IndexOf() was incorrectly sharing the same
  byte[] field in different areas of code. Now extenders in both
  source and target really work in IndexOf().

* CompareInfoTest.cs : removed some FIXMEs. Added more extender tests.

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

18 years ago2005-07-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 14 Jul 2005 11:44:25 +0000 (11:44 -0000)]
2005-07-14  Lluis Sanchez Gual <lluis@novell.com>

* SoapReader.cs: Fixed parsing of array dimensions. Patch by Roei Erez
for bug #75536.
* SoapTypeMapper.cs: When encoding the name of a type, if the type is
an array don't encode the array dimensions.

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

18 years agoUpdate
Raja R Harinath [Thu, 14 Jul 2005 10:24:33 +0000 (10:24 -0000)]
Update

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

18 years ago2005-07-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 14 Jul 2005 09:38:31 +0000 (09:38 -0000)]
2005-07-14  Lluis Sanchez Gual  <lluis@novell.com>

* SerializationCodeGenerator.cs: In the generated serializer always
use the Object equality operator when comparing objects to serialize
to null, since those objects may have the equality operator
overloaded. This fixes bug #75543.

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

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

* create-mscompat-collation-table.cs : fixed U+FF9F diacritical weight.
* SimpleCollator.cs : handle U+FF9E and U+FF9F as extenders.

* CompareInfoTest.cs : some special weight tests got working.
  Commented on some FIXME tests why they are so.

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

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

* SimpleCollator.cs : Now FilterExtender() handles all extender
  support. IndexOf() and LastIndexOf() now supports extenders.
  IndexOf() and LastIndexOf() did not proceed contraction source
  length as expected. Tiny refactoring on private IsPrefix() to take
  stringSort argument.

* CompareInfoTest.cs : Added extender tests for GetSortKey(),
  Compare(), IsPrefix(), IndexOf() and LastIndexOf().

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

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

* demo/test.xaml: added first test of complex objects as property values
* demo/TestVocab/ConsoleReader.cs,
  demo/TestVocab/ConsoleVars.cs: more functionality that will provide
uses for more complicated xaml code.
* xamlc.cs: much more useful error reporting.
* demo/TestVocab/ConsoleWriter.cs,
  demo/TestVocab/ConsoleValue.cs,
  demo/Makefile: Added ConsoleValue class to allow testing of more
complicated property scenarios
* demo/TestVocab/ConsoleVars.cs,
  demo/TestVocab/ConsoleReader.cs: classes to put in more complicated
test
* Mono.Windows.Serialization/XamlParser.cs,
  Mono.Windows.Serialization/XamlWriter.cs,
  Mono.Windows.Serialization/CodeWriter.cs: Initial support for
creating complex objects as values of properties
* Mono.Windows.Serialization/XamlParser.cs: fixed bug in the code
detecting that the file's contents must be finished, where it forbade
whitespace after the XAML code

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

18 years agoSimpliferoo
Miguel de Icaza [Thu, 14 Jul 2005 00:32:11 +0000 (00:32 -0000)]
Simpliferoo

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

18 years ago2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Wed, 13 Jul 2005 23:05:51 +0000 (23:05 -0000)]
2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* mb-parser.jay:
* block.cs: Support and successfully find goto target labels
declared out of block that contains the goto statement.

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

18 years ago2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 13 Jul 2005 23:02:10 +0000 (23:02 -0000)]
2005-07-13  Rafael Teixeira  <rafaelteixeirabr@hotmail.com>
* test-mbas.make : make clean now kills .exe.mdb debug information files

2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* GotoStatementB.vb : Backward target label out of goto block.

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

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

* SimpleCollator.cs : when restoring from expansion, go back to the
  top of the loop (to avoid index out of range).
  Now IsPrefix() is implemented to reuse Compare() and thus it now
  supports extender as well.
* Collation-notes.txt : status update. Deleted optimization part in
  status section (it is duplicate).

* CompareInfoTest.cs : Added Compare() test that contains expansion.
  Fixed CompareSpecialWeight() which was not testing what I intended.
  Added IsPrefix() tests with special weight (copying Compare() tests)

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

18 years ago2005-07-13 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 13 Jul 2005 18:09:43 +0000 (18:09 -0000)]
2005-07-13  Lluis Sanchez Gual  <lluis@novell.com>

* MarshalByRefObject.cs: GetLifetimeService() should be virtual.
Fixes bug #75527.

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

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

* SimpleCollator.cs : some code reordering.
* create-mscompat-collation-table.cs : it was still missing U+3094.

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

18 years ago2005-07-13 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Wed, 13 Jul 2005 16:38:00 +0000 (16:38 -0000)]
2005-07-13  Miguel de Icaza  <miguel@novell.com>

*  Array.cs: Patch from rodrigobamboo@gmail.com that fixes the
signature for GetValue and SetValue to make the long [] argument
be a params argument.

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

18 years ago2005-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 13 Jul 2005 16:23:35 +0000 (16:23 -0000)]
2005-07-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AttributeCollection.cs: create the style collection if it wasn't
created before Add ("style"...).

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

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

* SimpleCollator.cs : Compare() now supports extender (e.g. U+39FC).

* CompareInfoTest.cs : added CompareSpecialWeight() and moved special
  weight comparison there.

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

18 years ago2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 13 Jul 2005 16:00:27 +0000 (16:00 -0000)]
2005-07-13 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
*statement.cs: extract class Block into new source block.cs
*mbas.exe.sources: added newly extracted block.cs
*block.cs: eliminated "block.cs(252) warning CS0219: The variable 'cur' is assigned but its value is never used"

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

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

* SimpleCollator.cs : In GetSortKey(), don't update previousChar when
  it is not primary (e.g. don't "extend" diacritical mark).

* CompareInfoTest.cs : added GetSortKey() testcase that tests a
  sequence of nonprimary character followed by an extender.

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

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

* managed-collation.patch : CompareInfo.Compare() should consider
  the possibilities that non-empty string might be actually empty
  in culture-sensitive context.

* CompareInfoTest.cs : added more culture-sensitive "empty" test.

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

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

* SimpleCollator.cs : IndexOf() and LastIndexOf() returns start when
  target is "empty" (in culture-sensitive context).

* CompareInfoTest.cs : Test for IndexOf() and LastIndexOf() with
  "empty" target (in culture-sensitive context).

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

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

* SimpleCollator.cs : In IndexOf() and LastIndexOf(), skip ignorable
  characters in target string.

* CompareInfoTest.cs : added ignorable character in target for
  IsPrefix/IsSuffix/IndexOf/LastIndexOf methods.

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