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

18 years agoMake even more lazier.
Raja R Harinath [Wed, 13 Jul 2005 12:34:50 +0000 (12:34 -0000)]
Make even more lazier.
* MatchCollection.cs (TryToGet): Don't generate match i+1 when
we're looking for match i.  Change post-conditions.
(FullList): New helper property.  Ensures the list is fully populated.
(Count, CopyTo): Use it.
(Enumerator.Current): Update to new post-conditions of TryToGet.
(Enumerator.MoveNext): Likewise.  Don't modify index if we're
beyond the end.

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

18 years ago2005-07-11 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Wed, 13 Jul 2005 12:26:59 +0000 (12:26 -0000)]
2005-07-11  Iain McCoy  <iain@mccoy.id.au>

        * Makefile,
          Test/XamlParser.cs: added a few tests
        * Mono.Windows.Serialization/CodeWriter.cs,
          Mono.Windows.Serialization/XamlParser.cs: fixed some bugs that the
          new tests turned up

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

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

* CompareInfoTest.cs : added more special weight testcases.

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

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

* SimpleCollator.cs : When IgnoreWidth is specified, all Kana
  characters are regarded as half-width.
  Even though IgnoreWidth is specified, it should not ignore case.
  For special weight comparison, the default values (E4) are bigger
  than non-default values.
* SortKeyBuffer.cs : It should save LCID and original string.
* create-mscompat-collation-table.cs : For Japanese half-width kana,
  it should not be counted in widthCompat map since IgnoreWidth does
  not really ignore those differences.

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

18 years ago2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Wed, 13 Jul 2005 10:49:06 +0000 (10:49 -0000)]
2005-07-13  Sureshkumar T  <tsureshkumar@novell.com>

* DataRelationCollection.cs: adding a relation with same set of
parent columns & child columns, should not be allowed.

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

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

* create-mscompat-collation-table.cs : Fixed missing Japanese bits.

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

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

* create-mscompat-collation-table.cs :
  tiny diacritical weight fix for U+20D0-U+20E1.

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

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

* CompareInfoTest.cs : added Czech and Hungarian sorting tests.

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

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

* CompareInfoTest.cs : added more diacritical tests.

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

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

* create-mscompat-collation-table.cs : ja CJK ideograph got completed.

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

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

* CompareInfoTest.cs : added test for CJK mapping customization.

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

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

* create-mscompat-collation-table.cs : Fixed CJK custom Japanese
  mapping. It (maybe as well as other CJK tables) mixes NFKD. For
  Japanese, modified NFKD table (because of Windows lame design).

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

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

* Makefile : added MONO_USE_MANAGED_COLLATION=no almost everywhere.
* MSCompatUnicodeTable.cs : FillCJK() was not invoked. Now it is
  invoked at any time it is required.
* SimpleCollator.cs : call FillCJK() above in .ctor().
* MSCompatUnicodeTableUtil.cs : CJK range was wider.
* create-mscompat-collation-table.cs : CJK binary was missing the
  length. CJK remapping is being moved to ModifyUnidata().
  For cjk-ja mapping, we have to consider compat characters to be
  added to the map, besides the raw UCA table.

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

18 years ago2005-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 12 Jul 2005 22:11:12 +0000 (22:11 -0000)]
2005-07-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AttributeCollection.cs: when the key added is 'style', use the style
collection.

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

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

* class.c (mono_class_layout_fields): Fix calculation of has_references
for generic types.

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

18 years agoRemoved use of obsolete System.Data.Tests.Mainsoft/GHTUtils.
Eyal Alalouf [Tue, 12 Jul 2005 16:29:59 +0000 (16:29 -0000)]
Removed use of obsolete System.Data.Tests.Mainsoft/GHTUtils.

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

18 years agoStandardized Mainsoft System.Data exception tests.
Eyal Alalouf [Tue, 12 Jul 2005 16:24:57 +0000 (16:24 -0000)]
Standardized Mainsoft System.Data exception tests.

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

18 years ago2005-07-12 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Tue, 12 Jul 2005 16:11:56 +0000 (16:11 -0000)]
2005-07-12  Daniel Drake  <dsd@gentoo.org>

* sys-xattr.c: Use <attr/attr.h> if <sys/xattr.h> does not exist (e.g. for
glibc 2.2)
* Makefile.am: Link to libattr if libc does not provide the xattr
syscalls.

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

18 years ago2005-07-12 Daniel Drake <dsd@gentoo.org>
Daniel Drake [Tue, 12 Jul 2005 16:11:02 +0000 (16:11 -0000)]
2005-07-12  Daniel Drake  <dsd@gentoo.org>

* configure.in: Add check for libattr's <attr/attr.h>

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

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

* CompareInfoTest.cs : added GetSortKey() test for Thai.

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

18 years ago Test case for CheckedListBox and CheckBox
Ritvik Mayank [Tue, 12 Jul 2005 15:41:13 +0000 (15:41 -0000)]
 Test case for CheckedListBox and CheckBox

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

18 years agoAdded missing file.
Eyal Alalouf [Tue, 12 Jul 2005 15:28:39 +0000 (15:28 -0000)]
Added missing file.

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

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

* CompareInfoTest.cs : added special weight GetSortKey() test.

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

18 years agoStandardized Mainsoft System.Data tests except exception tests.
Eyal Alalouf [Tue, 12 Jul 2005 15:18:24 +0000 (15:18 -0000)]
Standardized Mainsoft System.Data tests except exception tests.

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

18 years ago**** Merged r47171 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:11:05 +0000 (15:11 -0000)]
**** Merged r47171 from MCS ****

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

18 years ago**** Merged r47164 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:09:23 +0000 (15:09 -0000)]
**** Merged r47164 from MCS ****

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

18 years ago**** Merged r47107 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:08:59 +0000 (15:08 -0000)]
**** Merged r47107 from MCS ****

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

18 years ago**** Merged r47034 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:08:35 +0000 (15:08 -0000)]
**** Merged r47034 from MCS ****

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

18 years ago**** Merged r47030 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:08:10 +0000 (15:08 -0000)]
**** Merged r47030 from MCS ****

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

18 years ago**** Merged r47008 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:07:44 +0000 (15:07 -0000)]
**** Merged r47008 from MCS ****

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

18 years ago**** Merged r46994 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:05:38 +0000 (15:05 -0000)]
**** Merged r46994 from MCS ****

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

18 years ago**** Merged r46988 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 15:05:11 +0000 (15:05 -0000)]
**** Merged r46988 from MCS ****

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

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

* CompareInfoTest.cs : added several GetSortKey() tests.

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

18 years ago**** Merged r46986 from MCS ****
Martin Baulig [Tue, 12 Jul 2005 14:27:03 +0000 (14:27 -0000)]
**** Merged r46986 from MCS ****

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

18 years agoStandardized Mainsoft DataRelationCollection tests.
Eyal Alalouf [Tue, 12 Jul 2005 14:17:22 +0000 (14:17 -0000)]
Standardized Mainsoft DataRelationCollection tests.

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

18 years agoStandardized Mainsoft DataColumn tests.
Eyal Alalouf [Tue, 12 Jul 2005 14:10:01 +0000 (14:10 -0000)]
Standardized Mainsoft DataColumn tests.

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

18 years ago* statement.cs (Block.Flags); Remove HasVarargs.
Raja R Harinath [Tue, 12 Jul 2005 14:01:17 +0000 (14:01 -0000)]
* statement.cs (Block.Flags); Remove HasVarargs.
(Block.HasVarargs): Move to ToplevelBlock.
(Block.ThisVariable, Block.AddThisVariable): Likewise.
(Block.Variables): Make protected.  Initialize variable hashtable
if necessary.
(Block.AddVariable): Update.
(Block.Resolve): Update to changes.
(ToplevelBlock.HasVarargs): New boolean.
(ToplevelBlock.ThisVariable): Move here from Block.
(ToplevelBlock.AddThisVariable): Likewise.
(ToplevelBlock.IsThisAssigned): New.  Forwards call to this_variable.
* expression.cs (This.ResolveBase): Update to changes.
(ArglistAccess.DoResolve): Likewise.

More cleanups that move things that exist only in a toplevel-block to
ToplevelBlock.

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

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

* CompareInfoTest.cs : added shift weight testcases. Commented one
  French sort thingy out.

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

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

* SortKeyBuffer.cs : Fixed shift level computation to match w/ Windows.

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

18 years ago2005-07-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Jul 2005 13:02:18 +0000 (13:02 -0000)]
2005-07-12  Martin Baulig  <martin@ximian.com>

Applying a patch from Michal Moskal <malekith@nemerle.org>.

* metadata.c
(mono_type_hash): Provide better hashing for generic instances.
(mono_generic_inst_hash): Improve hashing.
(mono_generic_class_hash): Likewise.

* reflection.c (mymono_metadata_type_hash): Improve hashing for
generic instances.

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

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

* CompareInfoTest.cs : added another French testcase.

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

18 years ago2005-07-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 12 Jul 2005 12:25:53 +0000 (12:25 -0000)]
2005-07-12  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_reflection_create_runtime_class): Remove the
hack for generic type definitions and non-`Run' assemblies.
(mono_reflection_bind_generic_parameters): Also use
`klass->wastypebuilder' to check for TypeBuilders.

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

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

* SimpleCollator.cs : fixed LastIndexOf() to handle _target's_
  contraction as expected. Fixed Compare() to save s2's contraction
  as expected.
* TestDriver.cs :added LastIndexOf() tester w/ indexes.

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

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

* CompareInfoTest.cs : added LastIndexOf() contraction cases and more.

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

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

* CompareInfoTest.cs : added tests for IsSuffix(),
  IndexOf(string,string) and LastIndexOf(string,string).

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

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

* class.c (mono_class_layout_fields): Fix calculation of has_references
for generic types.

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

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

* managed-collation.patch : Fixed IsPrefix() and IsSuffix(). They
  incorrectly use Compare().
* TestDriver.cs : more moved to nunit tests.

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

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

* CompareInfoTest.cs : added tests for IsPrefix() and optionally
  Compare() (which is currently used inside IsPrefix() which is
  however wrong when it comes to managed collation).

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

18 years agoChanged error number and message according to .NET
Manjula GHM [Tue, 12 Jul 2005 10:40:56 +0000 (10:40 -0000)]
Changed error number and message according to .NET

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

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

* class.c (inflate_generic_class): Fix a leak.
(mono_class_init): Fix calculation of gchimpl and has_finalize fields
for generic types.

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

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

* CompareInfo.cs : IndexOf(string, char, ...) overloads must not
  specify start as 0. Use source.Length - 1 instead.

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

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

* CompareInfoTest.cs : added tests for IndexOf() and LastIndexOf().
  Fixed tests for Compare() - it should use overloaded ones of
  the tested library (do not call overloaded tests themselves).

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

18 years agoSupport 'Nothing' for Constants.
Manjula GHM [Tue, 12 Jul 2005 09:46:13 +0000 (09:46 -0000)]
Support 'Nothing' for Constants.
Added exception

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

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

* SimpleCollator.cs : several fixes on Compare().
  - Ignorable characters are skippted at the top of the loop.
  - IgnoreNonSpace is checked to avoid extraneous level 2 comparison.
  - In such case that s1 index  is increased while s2 contraction is
    replaced, s1 is inconsistently proceeded (bug).
  - IsIgnorable() now also checks IgnoreNonSpace.
  - Fixed FilterOptions() that does not work for IgnoreWidth at all.
* TestDriver.cs : now some are moved to nunit tests.
* Collation-notes.txt : minor todo update.

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