mono.git
18 years ago2005-07-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 29 Jul 2005 12:13:11 +0000 (12:13 -0000)]
2005-07-29  Atsushi Enomoto  <atsushi@ximian.com>

* create-normalization-source.cs,
  Normalization.cs,
  create-char-mapping-source.cs,
  create-combining-class-source.cs,
  Makefile : converted managed array to pointers (like collation stuff).

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

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

* NormalizationTableUtil.cs : further table range optimization.
* create-normalization-source.cs,
  create-char-mapping-source.cs,
  create-combining-class-source.cs : added C header output support.

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

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

* create-normalization-source.cs, Normalization.cs :
  Now property size is < 256, so directly embed value in "props" array.
  Add QuickCheck(c,checkType) and remove IsNFD/C/KD/KC and delegates.

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

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

* create-combining-class-source.cs,
  create-char-mapping-source.cs,
  create-normalization-source.cs,
  NormalizationTableUtil.cs,
  Normalization.cs : String.Normalize() does not handle surrogate
  characters. mapping information in DerivedNormalizationProps.txt
  are not used in the code (those from UnicodeData.txt is used).
  Hangul syllables are computed instead of embedded in the tables.
* managed-collation.patch : removed IntPtrStream and Makefile patches.

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

18 years ago2005-07-29 Ankit Jain <jankit@novell.com>
Ankit Jain [Fri, 29 Jul 2005 10:17:51 +0000 (10:17 -0000)]
2005-07-29  Ankit Jain <jankit@novell.com>

* get.c (get_constant): Fix printing of some constant types and make it consistent.

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

18 years ago2005-07-29 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 29 Jul 2005 10:02:06 +0000 (10:02 -0000)]
2005-07-29  Lluis Sanchez Gual <lluis@novell.com>

* SoapWriter.cs: Wrap method signature headers in a MethodSignature
object before serializing. Track changes in SoapTypeMapper.
* SoapReader.cs: Track changes in SoapTypeMapper. Factorized some code.
* SoapTypeMapper.cs: Replaced indexers by regular methods, this makes
code easier to read an understand. Simplified the code for registering
basic soap types. Added support for types from
System.Runtime.Remoting.Metadata.W3cXsd2001. Implemented support
for MethodSignature serialization. All this fixes bug #75537.

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

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

* MSCompatUnicodeTable.cs : IsSortable() was broken.

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

18 years ago2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
Satya Sudha K [Fri, 29 Jul 2005 07:37:08 +0000 (07:37 -0000)]
2005-07-29 Satya Sudha K <ksathyasudha@novell.com>
        * mb-parser.jay, expression.cs: Fixed concat operation with compound assign statements
        * support.cs : Returning 'NullLiteral.Null', when a parameter default value is null

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

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

* MSCompatUnicodeTable.cs : added helper for CompareInfo.IsSortable().

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

18 years ago2005-07-29 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Fri, 29 Jul 2005 05:17:57 +0000 (05:17 -0000)]
2005-07-29  Cesar Lopez Nataren  <cnataren@novell.com>

* All files at current dir: set svn:eol-style to native.

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

18 years ago2005-07-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 29 Jul 2005 04:20:04 +0000 (04:20 -0000)]
2005-07-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

        * NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.

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

18 years ago * Sqlite.cs, SqliteCommand.cs: Report string error messages
Joshua Tauberer [Fri, 29 Jul 2005 01:02:37 +0000 (01:02 -0000)]
* Sqlite.cs, SqliteCommand.cs: Report string error messages
    in prepare, for version 3.

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

18 years agoReplaced all assembly references with constants in Consts.cs.
Kornél Pál [Fri, 29 Jul 2005 00:13:41 +0000 (00:13 -0000)]
Replaced all assembly references with constants in Consts.cs.

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

18 years agoReplaced assembly references with constants in Consts.cs.
Kornél Pál [Thu, 28 Jul 2005 23:46:29 +0000 (23:46 -0000)]
Replaced assembly references with constants in Consts.cs.

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

18 years ago2005-07-28 Florian Gross <flgr@ccan.de>
Florian Gross [Thu, 28 Jul 2005 21:28:06 +0000 (21:28 -0000)]
2005-07-28  Florian Gross  <flgr@ccan.de>

* DateConstructor.cs: Sets _prototype. Added DateMod. MakeDay,
IsLeapYear, DaysInYear, WeekDay, HourFromTime, MinFromTime,
SecFromTime, msFromTime use DateMod (important for negative date
values!)
* ScriptObject.cs: Added implementation of proprietary __proto__
* JSObject.cs: Added more ClassName cases and fixed old ones.
GetDefaultValue uses smartToString instead of toString
* ArrayPrototype.cs: Added Proto. Switched indices and length values
to use uint instead of int so we can represent the full Array size
range from ECMA-262
* StringConstructor.cs: Sets _prototype
* ObjectConstructor.cs: Sets _prototype
* RegExpPrototype.cs: Added Proto. Uses uint instead of int for
RegExpMatch length and indices
* NumberConstructor.cs: Sets _prototype
* expression.cs: force_strong_type always uses ToNumber (fixes
broken arguments for Math.pow and so on)
* ObjectPrototype.cs: Added Proto. toString is dumb and will output
[object Array] when called on an Array instead of using
ArrayPrototype.toString. Added smartToString which does the old
behavior
* StringPrototype.cs: Added Proto. Uses uint instead of int for
arrays
* JScriptException.cs: Added more cases to Message
* ArrayObject.cs: Switched to uint for indices and length
* FunctionConstructor.cs: Sets _prototype
* Equality.cs: Rewrote equality logic. More cases covered, less code
* DatePrototype.cs: Added Proto
* Convert.cs: Added ToUint32. ToNumber with Arrays switched to uint
* StrictEquality.cs: Added logic for function equality
* StringObject.cs: Initializes value to "". Implemented Equals
* LateBinding.cs: More cases covered. Added logic for converting
arguments to match the signature. Added SetArrayLength. Refactored
to use SetArrayLength
* BooleanPrototype.cs: Added Proto and empty implementation of
constructor
* BooleanConstructor.cs: Sets _prototype
* FunctionPrototype.cs: Added Proto
* NumberPrototype.cs: Added Proto
* ArrayConstructor.cs: Sets _prototype
* SemanticAnalizer.cs: Added constructor and prototype information
to prototypes lookup table
* RegExpConstructor.cs: Sets _prototype
* ScriptFunction.cs: Added _prototype and implemented prototype
using it. Implemented Equals for built-in functions

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

18 years ago2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Jul 2005 19:47:18 +0000 (19:47 -0000)]
2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: allow hardware acceleration support if
available. Sebastien dixit.

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

18 years ago2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Jul 2005 18:32:14 +0000 (18:32 -0000)]
2005-07-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MachineKeyConfigHandler.cs:
* MachineKeyConfig.cs: removed unused property. The CryptoGod has spoken
and told me to use RandomNumberGenerator.Create to let the
implementation choose the generator.

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

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

* create-tailoring.cfg : added for convenience of contraction check.

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

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

* create-normalization-source.cs,
  SimpleCollator.cs,
  SortKeyBuffer.cs,
  create-mscompat-collation-table.cs,
  MSCompatUnicodeTableUtil.cs,
  SortKey.cs,
  create-collation-element-table.cs,
  MSCompatUnicodeTable.cs,
  CodePointIndexer.cs,
  create-combining-class-source.cs : added copyright lines.

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

18 years ago2005-07-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 28 Jul 2005 17:52:05 +0000 (17:52 -0000)]
2005-07-28  Atsushi Enomoto  <atsushi@ximian.com>

  MSCompatUnicodeTable.cs : removed extraneous definition.

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

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

* create-mscompat-collation-table.cs
  MSCompatUnicodeTable.cs : full C header support, finally.

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

18 years ago2005-07-28 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 28 Jul 2005 16:26:26 +0000 (16:26 -0000)]
2005-07-28  Cesar Lopez Nataren  <cnataren@novell.com>

* expression.cs (emit_access): Take into account that __proto__
property (Mozilla extension) is contained in ScriptObject.

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

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

* TODO: Remove out-of-data todo stuff.

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

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

* reflection.c (mono_method_get_object): Fix warning.

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

18 years ago2005-07-28 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 28 Jul 2005 14:59:18 +0000 (14:59 -0000)]
2005-07-28  Martin Baulig  <martin@ximian.com>

* mono-debug.c
(mono_debug_add_wrapper): Also write the wrapper type.

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

18 years ago* get.c (dis_stringify_method_signature): Fix handling of marshal info for
Ankit Jain [Thu, 28 Jul 2005 14:25:20 +0000 (14:25 -0000)]
* get.c (dis_stringify_method_signature): Fix handling of marshal info for
  method params. Also, handle possible gaps in the PARAM table.

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

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

* XsdValidatingReader.cs : when xsi:schemaLocation could not be
  resolved, it still does not raise error when corresponding schema
  already exists.

* XsdValidatingReaderTests.cs : added test case for duplicating
  assignment of both Schemas.Add() and xsi:schemaLocation where
  schemaLocation could not be resolved.

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

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

* Normalization.cs,
  NormalizationTableUtil.cs,
  create-char-mapping-source.cs : more aggressive data compression.
  It now ignores characters that are >= U+10000.

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

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

* mini.h mini.c (mono_create_jit_trampoline_from_token): Remove some
dead code.

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

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

* Makefile,
  Normalization.template,
  Normalization.cs : renamed existing file.

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

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

* aot.c: Save/load MonoCachedClassInfo->has_nested_classes.

* mini.h: Bump corlib version.

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

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

* class-internals.h (MonoCachedClassInfo): Add has_nested_classes field.

* class.c (mono_class_init): Avoid reading nested classes if the AOT
data indicates the class has none.

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

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

* NormalizationTableUtil.cs,
  Normalization.template,
  create-combining-class-source.cs : GetCombiningClass is now
  implemented as indexer based array.
* Makefile : renamed output filename.
* create-mscompat-collation-table.cs : removed comments that does not
  make sense now.
* create-tailoring.cs : use utf-8 output (and fixed filename).

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

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

* Control.cs (PaintControlBackground): Draw background image
corrrectly.
(CheckForIllegalCrossThreadCalls): Stubbed.

* Form.cs (OnCreateControl): Center when should be centered.

* ThemeWin32Classic.cs (DrawPictureBox): Pass size.

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

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

* StringComparer.cs: Add generics version of string interfaces.

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

18 years ago2005-07-27 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 28 Jul 2005 00:25:21 +0000 (00:25 -0000)]
2005-07-27  Cesar Lopez Nataren  <cnataren@novell.com>

* SemanticAnalizer.cs: Added Boolean/BooleanConstructor and
Function/FunctionConstructor. Delete method Dump.

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

18 years ago2005-07-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 27 Jul 2005 23:42:40 +0000 (23:42 -0000)]
2005-07-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* gtest-179.cs: Re-enable gtest-179.cs, since bug #75417
has been fixed.

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

18 years ago2005-07-27 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 27 Jul 2005 23:40:55 +0000 (23:40 -0000)]
2005-07-27  Carlos Alberto Cortez <calberto.cortez@gmail.com>

Fix #75417
* ecore.cs (Expression.IsAccessorAccessible): Change the check for
Private accessor case, using TypeManager.IsPrivateAccessible instead of
invocation_type == mi.DeclaringType, since the first one also checks
other condition used by generic instances.

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

18 years agoPort to Cairo 0.5.x. API changed a lot, added much more tests.
Hisham Mardam Bey [Wed, 27 Jul 2005 23:00:40 +0000 (23:00 -0000)]
Port to Cairo 0.5.x. API changed a lot, added much more tests.

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

18 years ago2005-07-28 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 27 Jul 2005 22:14:11 +0000 (22:14 -0000)]
2005-07-28  Lluis Sanchez Gual  <lluis@novell.com>

* Mono.Posix.dll.sources: Add the Unix remoting channel to the build.
* Makefile: Add System.Runtime.Remoting dependency.

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

18 years ago2005-07-28 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Wed, 27 Jul 2005 22:12:26 +0000 (22:12 -0000)]
2005-07-28  Lluis Sanchez Gual  <lluis@novell.com>

* UnixChannel.cs, UnixClientChannel.cs, UnixClientTransportSink.cs,
UnixClientTransportSinkProvider.cs, UnixMessageIO.cs,
UnixServerChannel.cs, UnixServerTransportSink.cs,
UnixConnectionPool.cs: The new Unix socket remoting channel.

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

18 years agoNew test for #75649.
Martin Baulig [Wed, 27 Jul 2005 20:34:17 +0000 (20:34 -0000)]
New test for #75649.

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

18 years ago2005-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Jul 2005 20:33:59 +0000 (20:33 -0000)]
2005-07-27  Martin Baulig  <martin@ximian.com>

* anonymous.cs (CaptureContext.AddField): Added
`AnonymousContainer am' argument; compute its toplevel scope if
it's not already computed.  Fixes #75649.

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

18 years ago2005-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Jul 2005 20:33:41 +0000 (20:33 -0000)]
2005-07-27  Martin Baulig  <martin@ximian.com>

* anonymous.cs (CaptureContext.AddField): Added
`AnonymousContainer am' argument; compute its toplevel scope if
it's not already computed.  Fixes #75649.

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

18 years ago2005-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Jul 2005 18:51:52 +0000 (18:51 -0000)]
2005-07-27  Martin Baulig  <martin@ximian.com>

* mini-codegen.c
(create_copy_ins): Added `const unsigned char *ip' argument; set
`copy->cil_code' from it.

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

18 years ago2005-07-27 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 27 Jul 2005 18:50:57 +0000 (18:50 -0000)]
2005-07-27  Martin Baulig  <martin@ximian.com>

* mini-exceptions.c (mono_handle_exception): Don't call
mono_debugger_handle_exception() for filters.

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

18 years agoBring a wave of decency to these Makefiles
Miguel de Icaza [Wed, 27 Jul 2005 17:44:56 +0000 (17:44 -0000)]
Bring a wave of decency to these Makefiles

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

18 years ago2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
Rafael Teixeira [Wed, 27 Jul 2005 16:11:19 +0000 (16:11 -0000)]
2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com> and Alexandre
Rocha Lima e Marcondes <alexandre@psl-pr.softwarelivre.org>
* block.cs: Local variable alias and static flag  support and
     MethodBlock class that knows the name of the Method that owns it
* class.cs: Static local specialname modificator emission
* expression.cs: Hidden static field access using the static local
  alias
* statement.cs: Local variable alias support and Static local flag
* mb-parser.jay: Static local identification and related erros

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

18 years ago2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Wed, 27 Jul 2005 16:03:08 +0000 (16:03 -0000)]
2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
*  LocalDeclarationB.vb : Static local on classes and modules test.
*  LocalDeclarationC.vb : Inner block static local test.

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

18 years ago2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Wed, 27 Jul 2005 15:56:46 +0000 (15:56 -0000)]
2005-07-13 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* Added LocalDeclarationD.vb : Static local on structures.

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

18 years agoRemoved unnecessary CLSCompliantAttribute(true).
Boris Kirzner [Wed, 27 Jul 2005 15:34:47 +0000 (15:34 -0000)]
Removed unnecessary CLSCompliantAttribute(true).

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

18 years agoChanged location of rt.dll in TARGET_JVM project file.
Boris Kirzner [Wed, 27 Jul 2005 15:15:43 +0000 (15:15 -0000)]
Changed location of rt.dll in TARGET_JVM project file.

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

18 years ago2005-07-28 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Wed, 27 Jul 2005 14:52:13 +0000 (14:52 -0000)]
2005-07-28  Iain McCoy  <iain@mccoy.id.au>

        * xamlc.cs: added support for choosing source code language to
        generate and improved --help and --V output.

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

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

* create-mscompat-collation-table.cs : hacked safer IPA extensions.
* Collation-notes.txt : status of sortkey table.

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

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

* create-mscompat-collation-table.cs : some Greek mapping fix.

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

18 years ago2005-07-27 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 27 Jul 2005 13:39:35 +0000 (13:39 -0000)]
2005-07-27  Zoltan Varga  <vargaz@freemail.hu>

* mini-trampolines.c (mono_aot_trampoline): Handle AppDomain:InvokeInDomain
as well.

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

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

* create-mscompat-collation-table.cs : diacritical weight is not
  treated correctly when they are picked from letter names, as flags.

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

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

* create-mscompat-collation-table.cs : fixed culture-dependent
  nonspacing mark weight.

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

18 years agoShare OnCookieAdd implementation with Mono (no #if TARGET_J2EE)
Eyal Alalouf [Wed, 27 Jul 2005 11:26:09 +0000 (11:26 -0000)]
Share OnCookieAdd implementation with Mono (no #if TARGET_J2EE)

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

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

* create-mscompat-collation-table.cs : some Hebrew case letter fixes.
  Some diacritical fixes on symbols.

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

18 years agoupdate
Raja R Harinath [Wed, 27 Jul 2005 09:56:52 +0000 (09:56 -0000)]
update

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

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

* create-mscompat-collation-table.cs : Fixed level 3 weight of
  Arabic presentation forms.

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

18 years agoImprove equality operators (including better IsEmpty handling)
Andrew Skiba [Wed, 27 Jul 2005 09:00:13 +0000 (09:00 -0000)]
Improve equality operators (including better IsEmpty handling)

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

18 years ago2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Wed, 27 Jul 2005 07:51:22 +0000 (07:51 -0000)]
2005-07-27 Jordi Mas i Hernandez <jordi@ximian.com>

* RectangleF.cs: Fixes IsEmpty logic

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

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

* create-mscompat-collation-table.cs : Fixed some diacritical weight
  of Arabic presentation forms.

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

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

* SimpleCollator.cs : more status updates. It's almost complete,
  except for sortkey values.

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

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

* SimpleCollator.cs : similar optimization also for LastIndexOf().

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

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

* SimpleCollator.cs : the previous patch was missing IgnoreNonSpace
  case.

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

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

* SimpleCollator.cs : reduced extra sortkey value computation in
  MatchesForward(). It makes IndexOf() roughly 30% faster.

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

18 years agoSqlite adapter now handles SQL strings containing
Joshua Tauberer [Wed, 27 Jul 2005 01:07:50 +0000 (01:07 -0000)]
Sqlite adapter now handles SQL strings containing
more than one SQL statement (i.e. separated by
semicolons).

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

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

* StringComparer.cs : implemented StringCultureComparer.GetHashCode().

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

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

* SortKey.cs : GetHashCode() returns a value based on its byte data.
  Removed unused code.

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

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

* main.c: Fix noinline->noinlining.

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

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

* mono-debug.c, debug-mono-symfile.c: Replace the use of the
loader lock with the debugger lock. Prevents deadlocks for beagle.

Beagle can now run on an smp box for a weekend without any
issues. Woohoo!

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

18 years agoFix LdapException treat of inner exceptions.
Boris Kirzner [Tue, 26 Jul 2005 17:43:44 +0000 (17:43 -0000)]
Fix LdapException treat of inner exceptions.

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

18 years agoAdded test case for ListView, ComboBox and Form
Ritvik Mayank [Tue, 26 Jul 2005 17:31:14 +0000 (17:31 -0000)]
Added test case for ListView, ComboBox and Form
* ListViewTest.cs
* ListViewEventTest.cs
* ComboBoxTest.cs
* FormEventTest.cs

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

18 years agoAdded ifdef for TARGET_JVM.
Boris Kirzner [Tue, 26 Jul 2005 17:30:01 +0000 (17:30 -0000)]
Added ifdef for TARGET_JVM.

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

18 years agoDestroy cahce in HttpRuntime.Dispose for TARGET_J2EE.
Eyal Alalouf [Tue, 26 Jul 2005 16:33:04 +0000 (16:33 -0000)]
Destroy cahce in HttpRuntime.Dispose for TARGET_J2EE.

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

18 years agoImplement accessibility features for NET_1_1 configuration.
Eyal Alalouf [Tue, 26 Jul 2005 16:30:17 +0000 (16:30 -0000)]
Implement accessibility features for NET_1_1 configuration.

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

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

* class.c (mono_bounded_array_class_get): Avoid crash if eclass is
in a module. Fixes #75629.

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

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

* SimpleCollator.cs : consider extractions in invariant culture.

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

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

* SimpleCollator.cs : (unsafeFlags) be compact ;-)

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

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

* corlib.dll.sources: Add System/StringSplitOptions.cs and System/MidpointRounding.cs.

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

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

* StringSplitOptions.cs MidpointRounding.cs: New files.

* String.cs Math.cs: Add stubs for some new 2.0 APIs.

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

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

* SimpleCollator.cs : When the tail of the target does not match more
  than 3 times, then IsSuffix() will never be true (3 is the max
  length of an expansion; \uFB03 -> ffi). It brings significant
  performance boost when "source" string is very long.
* MSCompatUnicodeTable.cs : added MaxExpansionLength constant.
  Reordered code lines.

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

18 years ago2005-07-26 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 26 Jul 2005 15:05:24 +0000 (15:05 -0000)]
2005-07-26  Martin Baulig  <martin@ximian.com>

Committing a patch from Michal Moskal <michal.moskal@gmail.com>.

* mini.c (mono_method_to_ir): In `CEE_CALLI', only use
helper_compile_generic_method() if the method is actually virtual
and non-final.

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

18 years ago2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Jul 2005 14:39:51 +0000 (14:39 -0000)]
2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* FormsAuthentication.cs: the init_vector must be the same accross
restarts, otherwise the cookie does not work even when a decryption
key is provided. Initialize it to the bytes of the cookie name. Fixes
bug #75635.

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

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

* mono-debug.c (mono_debug_add_wrapper): New static method.
(mono_debug_add_method): Call mono_debug_add_wrapper() if we're an
interncall or a wrapper.

* mono-debug.h (MonoDebugWrapperData): New public typedef.
(MonoDebugDataItemType): Added `MONO_DEBUG_DATA_ITEM_WRAPPER'.
(MONO_DEBUGGER_VERSION): Bump to 51.

* mono-debug-debugger.c
(mono_debugger_add_type): Removed this empty function.
(mono_debugger_add_method): Likewise.

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

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

* mini.c
(trampoline_code): Renamed to `mono_trampoline_code' and made it
public; this is now accessed directly by the debugger.
(mono_generic_trampoline_code): Removed.

* debug-mini.c
(mono_debug_init_method): Also add interncalls and wrappers.

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

18 years ago* typemanager.cs (TypeManager): Change types of system_*_expr from Expression
Ankit Jain [Tue, 26 Jul 2005 11:51:38 +0000 (11:51 -0000)]
* typemanager.cs (TypeManager): Change types of system_*_expr from Expression
  to TypeExpr.
  (TypeToCoreTypExpr): New.
* ecore.cs (DecoratedIdentifier): New. For an identifier with a typecharacter.
* mb-tokenizer.cs: Allow type characters for numbers.
* constant.cs (IntConstant.ConvertToDecimal): New.
  (DoubleConstant.ConvertToFloat): Return FloatConstant.
  (DoubleConstant.ConvertToDecimal): New.
* mb-parser.jay (type_character): Return Type instead of TypeExpr.
  (primary_expression): Add 'literal type_character' variant.
   (qualified_identifier) : Use DecoratedIdentifier in case of a typecharacter.
  (ConvertLiteral): New. Convert literal to a different type.

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

18 years agoIn mcs:
Raja R Harinath [Tue, 26 Jul 2005 11:47:05 +0000 (11:47 -0000)]
In mcs:
Fix #75628.
* class.cs (Constructor.Emit): Reset block to null if the block
resolve fails.

In errors:
* cs0246-12.cs: New test from #75628.

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

18 years agoRe-indent a couple of paras.
Raja R Harinath [Tue, 26 Jul 2005 11:46:12 +0000 (11:46 -0000)]
Re-indent a couple of paras.

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

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

* Collation-notes.txt : updated implementation status.

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

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

* SimpleCollator.cs : Implemented quick codepoint comparison in
  Compare(). Comparison became 125x faster.
* mono-tailoring-source.txt : added tiny comment.

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

18 years ago* executable.make, library.make: Use unix-style commandline options.
Raja R Harinath [Tue, 26 Jul 2005 09:53:24 +0000 (09:53 -0000)]
* executable.make, library.make: Use unix-style commandline options.
* profiles/basic.make (FRAMEWORK_VERSION): Set.
* profiles/net_1_1_bootstrap.make (FRAMEWORK_VERSION): Likewise.

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

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

* mono-tailoring-source.txt : Added all single sortkey remapping to
  all cultures (still need to fill contractions and annotate possible
  buggy mapping referencing to CLDR).
* SimpleCollator.cs : removed unused code.
* MSCompatUnicodeTable.cs : tiny cast removal.

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

18 years ago* Makefile: Minor re-org for better readability. Remove an outdated comment.
Raja R Harinath [Tue, 26 Jul 2005 07:55:05 +0000 (07:55 -0000)]
* Makefile: Minor re-org for better readability.  Remove an outdated comment.

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

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

* corlib.dll.sources: Added System.StringComparer.cs.

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

18 years ago* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define. Avoid sharing
Raja R Harinath [Tue, 26 Jul 2005 06:00:33 +0000 (06:00 -0000)]
* Makefile (LIBRARY_USE_INTERMEDIATE_FILE): Define.  Avoid sharing
violations on Windows builds.

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

18 years ago2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 26 Jul 2005 05:51:49 +0000 (05:51 -0000)]
2005-07-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpContext.cs: fixed typo when checking for local address. Patch by
Mike Morano that closes bug #75633.

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