mono.git
18 years agoMaking simple web app work with Grasshopper from svn.
Eyal Alalouf [Sun, 24 Jul 2005 15:54:24 +0000 (15:54 -0000)]
Making simple web app work with Grasshopper from svn.

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

18 years agoMaking simple web app work with Grasshopper.
Eyal Alalouf [Sun, 24 Jul 2005 15:52:53 +0000 (15:52 -0000)]
Making simple web app work with Grasshopper.

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

18 years agoMaking simple web app work with Grasshopper.
Eyal Alalouf [Sun, 24 Jul 2005 15:49:31 +0000 (15:49 -0000)]
Making simple web app work with Grasshopper.

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

18 years agoFix Grasshopper project file
Andrew Skiba [Sun, 24 Jul 2005 15:07:11 +0000 (15:07 -0000)]
Fix Grasshopper project file

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

18 years ago* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
Gert Driesen [Sun, 24 Jul 2005 12:19:26 +0000 (12:19 -0000)]
* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
tests. Added enum, interface and delegate tests.
* CodeTypeDelegateTest.cs: Added tests for BaseTypes and ReturnType.
* CodeGeneratorTest.cs: Removed duplicate import of NUNit.Framework namespace.
* CodeGeneratorFromTypeTestBase.cs: Added BaseTypes and TypeConstructor tests.
* CodeGeneratorFromTypeTest.cs: Added BaseTypes and TypeConstructor
tests. Enabled enum, interface and delegate tests.
* CSharpCodeGenerator.cs: Fixed generated code for enums, interfaces
and delegates to match MS.NET.
* CodeTypeReference.cs: Added internal IsInterface property.
* CodeTypeDelegate.cs: System.Delegate is base type, and make sure
ReturnType is initialized.
* System_test.dll.sources: Added CodeTypeDelegateTest.cs from System.CodeDom.
* CodeGenerator.cs: Threat delegates like any other type.
* VBCodeGenerator.cs: Fixed generated code for enums, interfaces and
delegates to match MS.NET.

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

18 years ago2005-07-24 Iain McCoy <iain@mccoy.id.au>
Iain McCoy [Sun, 24 Jul 2005 07:51:26 +0000 (07:51 -0000)]
2005-07-24  Iain McCoy  <iain@mccoy.id.au>

        * Test/XamlParser.cs,
          Mono.Windows.Serialization/XamlParser.cs: added a test for
        inappropriate usage of the Class attribute and fixed bug revealed by
        the test
        * Test/ObjectWriter.cs,
          PresentationFramework_test.dll.sources: added tests for object
        builder (based on tests for code generator)
        * demo/TestVocab/ConsoleWriter.cs,
          demo/TestVocab/ConsoleReader.cs,
          demo/TestVocab/ConsoleApp.cs: fix up definitions of Equals methods
        so that the object builder's tests work.

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

18 years ago2005-07-17 Florian Gross <flgr@ccan.de>
César Natarén [Sun, 24 Jul 2005 00:50:44 +0000 (00:50 -0000)]
2005-07-17  Florian Gross  <flgr@ccan.de>
* DateConstructor.cs: Implemented UTC
* ScriptObject.cs: Implemented GetMethod, CallMethod
* JSObject.cs: Implemented fallback ToString, more ClassName cases and
fallback GetDefaultValue
* ArrayPrototype.cs: Fixed concat, join and added splice
* RegExpPrototype.cs: Implemented compile, exec, test
* expression.cs: Emit JS undef instead of JS null for missing args
* StringPrototype.cs: changed lastIndexOf to be compatible with JSC.
Implemented match, replace (no replacement closure), search, split.
No longer uses assert_type for ensuring right type of thisObj
* ArrayObject.cs: Better length argument handling in constructor. Added
SpliceSlowly
* DatePrototype.cs: Added setDate, setFullYear, setHours, setMinutes,
setMilliseconds, setMonth, setSeconds, setTime, setUTCDate,
setUTCFullYear, setUTCHours, setUTCMinutes, setUTCMilliseconds,
setUTCMonth, setUTCSeconds, setYear
* FunctionObject.cs: Moved MethodAttributes to ScriptFunction. Added
MethodInfo-taking constructor
* Convert.cs: Added IsNumber, IsString, ToRegExp. More cases in
ToNumber. Refactored ToString
* ScriptEquality.cs: More cases
* LateBindings.cs: Big refactoring. Introduced assemble_args. Handles
missing arguments. build_args can pass null as engine. More CallValue,
GetNonMissingValue cases
* Plus.cs: Heavily refactored EvaluatePlus from 90 to 12 lines
* GlobalObject.cs: Added CollectGarbage
* NumberPrototype.cs: No longer uses assert_type for unsuring right
type of thisObj
* RegExpObject: Added lastIndex, Initialize, stores compiled Regex
* SemanticAnalizer: Added missing prototypes. Made assert_type work
with derived types
* ScriptFunction.cs: Moved MethodAttributes from FunctionObject. Added
MethodInfo. Implemented Invoke for built-in functions.

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

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

* mini-ia64.c mini-ia64.h: Add support for tracing/profiling.

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

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

        * Test/CodeWriter.cs: added tests for events and for delegates as
        property values

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

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

* MSCompatUnicodeTable.cs : added icall support code (not enabled
  unless the first line is commented out).

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

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

        * Test/XamlParser.cs: added test for events and delegates as property
        values

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

18 years ago2004-07-23 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 23 Jul 2005 07:00:51 +0000 (07:00 -0000)]
2004-07-23  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : don't expect namespace resolver; namespace could be
  supplied in QName without nsresolver need (i.e. SelectChildren()).
  Fixed bug #75609.

* XPathNavigatorCommonTests.cs : added test for bug #75609

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

18 years ago2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Rafael Teixeira [Fri, 22 Jul 2005 23:14:33 +0000 (23:14 -0000)]
2005-07-22 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
* block.cs: Fix dead code detection

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

18 years agoSmall update
Miguel de Icaza [Fri, 22 Jul 2005 20:16:26 +0000 (20:16 -0000)]
Small update

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

18 years agonew test
Marek Safar [Fri, 22 Jul 2005 16:42:12 +0000 (16:42 -0000)]
new test

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

18 years ago2005-07-22 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 22 Jul 2005 16:29:20 +0000 (16:29 -0000)]
2005-07-22  Marek Safar  <marek.safar@seznam.cz>

Fix #57245
* namespace.cs (LookupType): Moved same type check to...

* typemanager.cs (LookupTypeReflection): Don't allow to import more types
with the same name.

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

18 years agoFix for statements ending with colon
Satya Sudha K [Fri, 22 Jul 2005 11:30:29 +0000 (11:30 -0000)]
Fix for statements ending with colon

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

18 years agoFix for statements ending with a colon
Satya Sudha K [Fri, 22 Jul 2005 11:29:37 +0000 (11:29 -0000)]
Fix for statements ending with a colon

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

18 years ago* profiles/basic.make (do-profile-check): Make the "silent"
Raja R Harinath [Fri, 22 Jul 2005 11:12:42 +0000 (11:12 -0000)]
* profiles/basic.make (do-profile-check): Make the "silent"
compilation check even more silent.  Refuse to use monolite if the
corlib version of monolite/mscorlib.dll doesn't match the corlib
version of the source.

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

18 years agoIn System.Data.Common:
Sureshkumar T [Fri, 22 Jul 2005 10:57:02 +0000 (10:57 -0000)]
In System.Data.Common:
2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>

* DataColumnMappingCollection.cs: updated attributes & attribute
descriptions to match with masterinfos.

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

* SqlCommandBuilder.cs, SqlParameterCollection.cs,
SqlConnection.cs, SqlParameter.cs:
- updated attributes & attribute descriptions to match with
masterinfos.

In System.Data:
* DataViewSettingCollection.cs, DataTableCollection.cs,
DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
- updated attributes & attribute descriptions to match with
masterinfos.

In System.Data.Odbc:
* OdbcParameter.cs: updated attributes & attribute descriptions to
match with masterinfos.

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

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

* create-mscompat-collation-table.cs,
  MSCompatUnicodeTableUtil.cs,
  MSCompatUnicodeTable.cs : Added resource version output (and ignore
  in case of version mismatch). Removed obsolete, commented out code.

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

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

* SimpleCollator.cs,
  MSCompatUnicodeTable.cs,
  create-mscompat-collation-table.cs : Now they use unmanaged pointers
  instead of managed arrays.
* managed-collation.patch : Now it contains patch for IntPtrStream.cs
  and Assembly.cs as well.

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

18 years agoCheck for type before resolving
Manjula GHM [Fri, 22 Jul 2005 09:02:41 +0000 (09:02 -0000)]
Check for type before resolving

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

18 years ago2005-07-22 Raja R Harinath <rharinath@novell.com>
Raja R Harinath [Fri, 22 Jul 2005 07:46:54 +0000 (07:46 -0000)]
2005-07-22  Raja R Harinath  <rharinath@novell.com>

* Consts.cs (Consts.AssemblyMicrosoft_VSDesigner): Fix version to
match masterinfo.

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

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

* MSCompatUnicodeTable.cs,
  SimpleCollator.cs : Moved tailoring support classes to
  MSCompatUnicodeTable.cs and drawn out from SimpleCollator.
  Now that cjk and tailoring support are filled inside
  MSCompatUnicodeTable, no managed array is exposed.

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

18 years agoIn System.Data:
Sureshkumar T [Fri, 22 Jul 2005 06:38:27 +0000 (06:38 -0000)]
In System.Data:
2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>

* DataView.cs: changed protected members
rowstate,rowcache,dataTable to protected internal.
* Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
changed InConstraintViolated to protected internal.
* ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
with NET_2_0 define.

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

* OdbcDataReader.cs: NextRow (): made private.

Formatting corrections. Fixes bug #75574.

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

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

* create-mscompat-collation-table.cs,
  SimpleCollator.cs,
  MSCompatUnicodeTable.cs : Now it's not exposing collation table
  internals as managed arrays (to switch to unmanaged pointers).

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

18 years ago* mb-parser.jay: evt_handler_list: New.
Ankit Jain [Fri, 22 Jul 2005 05:08:46 +0000 (05:08 -0000)]
* mb-parser.jay: evt_handler_list: New.
  opt_evt_handler, sub_declaration: Support multiple event handlers.

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

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

* create-mscompat-collation-table.cs : tiny nonspacing mark fix.

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

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

* icall.c (ves_icall_Type_GetMethodsByName): Call setup_vtable ()
before accessing method->slot.

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

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

* aot.c (mono_aot_get_method_from_token): Fix a potential crash here.

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

18 years ago2005-07-21 Jb Evain <jbevain@gmail.com>
Jb Evain [Thu, 21 Jul 2005 22:09:14 +0000 (22:09 -0000)]
2005-07-21  Jb Evain  <jbevain@gmail.com>

* ILGeneratorTest.cs: Add tests for exception filters (bug #75010).

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

18 years ago2005-07-21 Jb Evain <jbevain@gmail.com>
Jb Evain [Thu, 21 Jul 2005 22:08:08 +0000 (22:08 -0000)]
2005-07-21  Jb Evain  <jbevain@gmail.com>

* ILGenerator.cs: Implement filter blocks support.
Fixes bug #75010.

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

18 years ago2005-07-21 Jb Evain <jbevain@gmail.com>
Jb Evain [Thu, 21 Jul 2005 22:07:16 +0000 (22:07 -0000)]
2005-07-21  Jb Evain  <jbevain@gmail.com>

* reflection.c (method_encode_clauses/class): Handle filters clauses.
Fixes #75010.

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

18 years agoFix for ECMAScript \d
Florian Gross [Thu, 21 Jul 2005 21:57:15 +0000 (21:57 -0000)]
Fix for ECMAScript \d

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

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

* aot.c (load_patch_info): Fix handling of stfld_remote wrapper.

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

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

* create-mscompat-collation-table.cs : Fixed most of Greek mappings.
* MSCompatUnicodeTable.cs : don't lock string.

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

18 years agoRemove unused variables/warnings.
Miguel de Icaza [Thu, 21 Jul 2005 18:17:53 +0000 (18:17 -0000)]
Remove unused variables/warnings.

Style fixup in cs-parser.jay

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix #65573

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

* class.cs, statement.c: Updated.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* arm/*: more codegen macros.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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