mono.git
20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:42:32 +0000 (08:42 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : We should not catch all kind of exception. Just
  throwing any kind of exception would be preferable.
  Added support for XPathNavigator values.

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

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:42:04 +0000 (08:42 -0000)]
2004-05-20 Atsushi Enomoto <atsushi@ximian.com>

* XslCopyOf.cs : When evaluation result was result tree fragment (i.e.
  XPathNavigator) output its content (children).
* XslNumber.cs : Reflected CompilePattern() change.
* XslTemplateContent.cs : Don't throw System.Exception.
* XslVariable.cs : XslVariableInformation.Evaluate() now returns
  XPathNavigator, not NodeSet (it should not return "children", since
  the node pointed by XPathNavigator should be referenced as Root).

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

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:41:12 +0000 (08:41 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs :
  - CompilePattern() now throws XsltCompileException for invalid
    pattern, and add error location support.
  - In Compiler.TryGetFunction(), compare namespace URI, not prefix.
    Now it returns MSXslNodeSet instance (for msxsl:node-set).
* Debug.cs : don't throw System.Exception.
* XslFunctions.cs : Added MSXslNodeSet class.
* XslTemplate.cs : reflected CompilePattern() change.
* XslTransformProcessor.cs : don't throw System.Exception.
* XsltCompiledContext.cs : don't throw System.Exception.

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

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:40:21 +0000 (08:40 -0000)]
2004-05-20  Atsushi Enomoto <atsushi@ximian.com>

* Pattern.cs : don't throw System.Exception. Delegate error handling to
  the only one caller CompilePattern().

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

20 years agowarnings
Gonzalo Paniagua Javier [Thu, 20 May 2004 00:00:19 +0000 (00:00 -0000)]
warnings

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

20 years ago2004-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 23:55:44 +0000 (23:55 -0000)]
2004-05-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
* assembly.c:
* gc.c:
* locales.c:
* mono-config.c:
* rand.c: getenv -> g_getenv (windows!)

* process.c: complete_path is also used on non-windows platforms.

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

20 years ago * tools/
Jackson Harper [Wed, 19 May 2004 23:18:18 +0000 (23:18 -0000)]
    * tools/
* tools/Makefile.am: Add tools directory
* tools/locale-builder: Add the locale-builder tool, this tool is
not built by default as it is only needed by people that wish to
moidify culture data.
* Makefile.am: Add tools to build

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

20 years agoIgnore Makefile
Jackson Harper [Wed, 19 May 2004 23:16:22 +0000 (23:16 -0000)]
Ignore Makefile

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

20 years agoignore generated table
Jackson Harper [Wed, 19 May 2004 23:15:41 +0000 (23:15 -0000)]
ignore generated table

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

20 years ago.cvsignore
Jackson Harper [Wed, 19 May 2004 23:14:53 +0000 (23:14 -0000)]
.cvsignore

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

20 years agosupplemental locale data
Jackson Harper [Wed, 19 May 2004 23:13:38 +0000 (23:13 -0000)]
supplemental locale data

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

20 years agoAdd locale builder
Jackson Harper [Wed, 19 May 2004 23:11:58 +0000 (23:11 -0000)]
Add locale builder

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

20 years ago * tools/
Jackson Harper [Wed, 19 May 2004 23:10:38 +0000 (23:10 -0000)]
    * tools/
* tools/Makefile.am: Add tools directory
        CVS: ----------------------------------------------------------------------

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

20 years ago2004-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 23:05:23 +0000 (23:05 -0000)]
2004-05-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monop.cs: give the correct assembly that fails loading or the type.

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

20 years agoFix ChangeLog entry to tell the truth
Gonzalo Paniagua Javier [Wed, 19 May 2004 19:43:16 +0000 (19:43 -0000)]
Fix ChangeLog entry to tell the truth

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 19:32:24 +0000 (19:32 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 19:21:20 +0000 (19:21 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 19:10:17 +0000 (19:10 -0000)]
**** Merged from MCS ****

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

20 years ago* AttributeTest.cs: added tests for Inherited and
Gert Driesen [Wed, 19 May 2004 18:52:17 +0000 (18:52 -0000)]
* AttributeTest.cs: added tests for Inherited and
AllowMultiple

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

20 years ago* DebuggerHiddenAttribute.cs
Gert Driesen [Wed, 19 May 2004 18:48:58 +0000 (18:48 -0000)]
* DebuggerHiddenAttribute.cs
* DebuggerStepThroughAttribute.cs : now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

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

20 years ago* CustomConstantAttribute.cs
Gert Driesen [Wed, 19 May 2004 18:47:07 +0000 (18:47 -0000)]
* CustomConstantAttribute.cs
* DateTimeconstantAttribute.cs
* DecimalConstantAttribute.cs
* IDispatchConstantAttribute.cs
* IUnknownConstantAttribute.cs
* MethodImplAttribute.cs
* RequiredAttributeAttribute.cs: now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to false
for those attributes where it should be false.

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

20 years ago * AutomationProxyAttribute.cs
Gert Driesen [Wed, 19 May 2004 18:42:54 +0000 (18:42 -0000)]
* AutomationProxyAttribute.cs
        * BestFitMappingAttribute.cs
        * ClassInterfaceAttribute.cs
        * CoClassAttribute.cs
        * ComAliasNameAttribute.cs
        * ComCompatibleVersionAttribute.cs
* ComConversionLossAttribute.cs
* ComEventInterfaceAttribute.cs
* ComImportAttribute.cs
* ComRegisterFunctionAttribute.cs
* ComSourceInterfaceAttribute.cs
* ComUnregisterFunctionAttribute.cs
* Comvisible.cs
* DispIdAttribute.cs
* DllImportAttribute.cs
* FieldOffsetAttribute.cs
* GuidAttribute.cs
* IDispatchImplAttribute.cs
* ImportedFromTypeLibAttribute.cs
* InAttribute.cs
* InterfaceTypeAttribute.cs
* LCIDConversionAttribute.cs
* MarshalAsAttribute.cs
* OptionalAttribute.cs
* OutAttribute.cs
* PreserveSigAttribute.cs
* PrimaryInteropAssemblyAttribute.cs
* ProgIdAttribute.cs
* StructLayoutAttribute.cs
* TypeLibFuncAttribute.Cs
* TypeLibTypeAttribute.cs
* TypeLibVarAttribute.cs
* TypeLibVersionAttribute.cs now that Inherited is
false by default on AttributeUsageAttribute (as it
should be) we need to explicitly set Inherited to
false for those attributes should where it should be
false.

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

20 years ago* ThreadStaticAttribute.cs
Gert Driesen [Wed, 19 May 2004 18:33:38 +0000 (18:33 -0000)]
* ThreadStaticAttribute.cs
* ContextStaticAttribute.cs
* FlagsAttribute.cs
* ObsoleteAttribute.cs : now that Inherited is false by
default on AttributeUsageAttribute (as it should be) we
need to explicitly set Inherited to false for those
attributes should it be be false.

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

20 years ago* AttributeUsageAttribute.cs: Inherited property should be
Gert Driesen [Wed, 19 May 2004 18:32:32 +0000 (18:32 -0000)]
* AttributeUsageAttribute.cs: Inherited property should be
true by defaultrs.cs: respect Inherited property, and

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

20 years ago* MonoCustomAttrs.cs: respect Inherited property, and
Gert Driesen [Wed, 19 May 2004 18:23:02 +0000 (18:23 -0000)]
* MonoCustomAttrs.cs: respect Inherited property, and
AllowMultiple property of a CustomAttribute. This fixes
a major issue we had with respect to custom attributes.

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

20 years ago2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 17:59:26 +0000 (17:59 -0000)]
2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: new signature for Process_Start.

* process.[ch]: new signature for Process_Start. If we're on windows
and UseShellExecute is false, we have to search for the program by
ourselves if we don't get a full path.

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

20 years ago2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 17:59:11 +0000 (17:59 -0000)]
2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: separate the command and the arguments when calling
Start_internal.

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

20 years ago* AttributeTest.cs: formatting, and remove commented
Gert Driesen [Wed, 19 May 2004 16:42:02 +0000 (16:42 -0000)]
* AttributeTest.cs: formatting, and remove commented
code

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

20 years agoWed May 19 13:22:19 EDT 2004 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 19 May 2004 16:38:37 +0000 (16:38 -0000)]
Wed May 19 13:22:19 EDT 2004 Paolo Molaro <lupus@ximian.com>

* configure.in: make MacOSX default to use the included libgc.

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

20 years ago2004-05-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 19 May 2004 16:34:34 +0000 (16:34 -0000)]
2004-05-19  Marek Safar  <marek.safar@seznam.cz>

Fix bug #58688 (MCS does not report error when the same attribute
is assigned twice)

* attribute.cs (Attribute.Emit): Distinction between null and default.

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

20 years ago2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 16:10:46 +0000 (16:10 -0000)]
2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Process.cs: redirecting I/O is not permitted if UseShellExecute is
false. Also throw if FileName is null.

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

20 years ago2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 May 2004 14:57:51 +0000 (14:57 -0000)]
2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>

* System.Xml.dll.sources : Added System.Xml.Schema/CustomSerializer.cs

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

20 years ago2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 May 2004 14:57:24 +0000 (14:57 -0000)]
2004-05-19  Atsushi Enomoto <atsushi@ximian.com>

* CustomSerializer.cs : Added custom serializer for XmlSchema, that is
  generated by SerializationCodeGenerator and edited a bit.
* XmlSchema.cs : Use XmlSchemaSerializationWriter.

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

20 years ago2004-05-19 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 19 May 2004 14:38:20 +0000 (14:38 -0000)]
2004-05-19 Marek Safar <marek.safar@seznam.cz>

* cs0579-6.cs: New test for bug #58688.

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 14:38:01 +0000 (14:38 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 14:38:01 +0000 (14:38 -0000)]
**** Merged from MCS ****

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

20 years agoFlush
Miguel de Icaza [Wed, 19 May 2004 14:15:29 +0000 (14:15 -0000)]
Flush

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 14:06:39 +0000 (14:06 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 14:00:31 +0000 (14:00 -0000)]
**** Merged from MCS ****

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

20 years ago2004-05-19 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 19 May 2004 13:17:05 +0000 (13:17 -0000)]
2004-05-19  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_setup_jit_tls_data): Handle code generated
by gcc-3.4 as well.

* mini-x86.h mini-x86.c tramp-x86.c: Optimize lmf restoring code.

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 13:05:18 +0000 (13:05 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 12:55:49 +0000 (12:55 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 12:43:33 +0000 (12:43 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 12:35:05 +0000 (12:35 -0000)]
**** Merged from MCS ****

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

20 years ago* cs-parser.jay (attribute): Create a GlobalAttribute for the case
Raja R Harinath [Wed, 19 May 2004 12:18:11 +0000 (12:18 -0000)]
* cs-parser.jay (attribute): Create a GlobalAttribute for the case
of a top-level attribute without an attribute target.
* attribute.cs (Attribute.Error_AttributeConstructorMismatch):
Make non-static.
(Attribute.Conditional_GetConditionName),
(Attribute.Obsolete_GetObsoleteMessage): Update.
(Attribute.IndexerName_GetIndexerName): New.  Attribute-specific
part of ScanForIndexerName.
(Attribute.CanIgnoreInvalidAttribute): New function.
(Attribute.ScanForIndexerName): Move to ...
(Attributes.ScanForIndexerName): ... here.
(Attributes.Attrs): Rename from now-misnamed AttributeSections.
(Attributes.Search): New internal variant that can choose not to
complain if types aren't resolved.  The original signature now
complains.
(Attributes.GetClsCompliantAttribute): Use internal variant, with
complaints suppressed.
(GlobalAttribute.CheckAttributeType): Overwrite ds.NamespaceEntry
only if it not useful.
(CanIgnoreInvalidAttribute): Ignore assembly attribute errors at
top-level for attributes that are shared between the assembly
and a top-level class.
* parameter.cs (ImplicitParameter): Rename from ParameterAtribute.
* class.cs: Update to reflect changes.
(DefineIndexers): Fuse loops.
* codegen.cs (GetAssemblyName): Update to reflect changes.  Accept
a couple more variants of attribute names.

(cleans up some issues with Marek's patch.  Most importantly, it fixes
a breaking build: errors/CS0618-2-lib.dll)

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

20 years ago2004-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 19 May 2004 12:09:53 +0000 (12:09 -0000)]
2004-05-18  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Get rid of -DMONO_USE_EXC_TABLES.

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

20 years ago2004-05-19 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 19 May 2004 12:05:50 +0000 (12:05 -0000)]
2004-05-19  Sebastien Pouliot  <sebastien@ximian.com>

* PKCS7.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 May 2004 11:48:24 +0000 (11:48 -0000)]
2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>

* DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
  always fails.

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

20 years ago2004-05-19 Jesper Pedersen <jep@itplus.dk>
Sebastien Pouliot [Wed, 19 May 2004 11:24:52 +0000 (11:24 -0000)]
2004-05-19  Jesper Pedersen  <jep@itplus.dk>

* PKCS7.cs: Added SignedData.VerifySignature(AsymmetricAlgorithm aa).
Added support for calculating signature from SignedData content (i.e.
when UseAuthenticatedAttributes is false). Added contentType to
AuthenticatedAttributes (when SignedData.UseAuthenticatedAttributes
is true).

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 10:53:16 +0000 (10:53 -0000)]
**** Merged from MCS ****

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 10:42:15 +0000 (10:42 -0000)]
**** Merged from MCS ****

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

20 years ago* DataColumn.cs - removed default member attribute.
Boris Kirzner [Wed, 19 May 2004 10:37:40 +0000 (10:37 -0000)]
* DataColumn.cs - removed default member attribute.

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

20 years agoMoved the marker.
Martin Baulig [Wed, 19 May 2004 10:34:56 +0000 (10:34 -0000)]
Moved the marker.

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

20 years ago**** Merged from MCS ****
Martin Baulig [Wed, 19 May 2004 10:33:39 +0000 (10:33 -0000)]
**** Merged from MCS ****
(Last time I merged, I forgot the ChangeLog).

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

20 years agoMoved the marker.
Martin Baulig [Wed, 19 May 2004 10:17:28 +0000 (10:17 -0000)]
Moved the marker.

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

20 years ago* RecordCache.cs - added. Each instance of record cache belongs to specific table...
Boris Kirzner [Wed, 19 May 2004 09:46:00 +0000 (09:46 -0000)]
* RecordCache.cs - added. Each instance of record cache belongs to specific table and manages pool of records ( indexes into data containers) to be used by data rows.
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays of primitives or objects. Each data container belongs to specific DataColumn.
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable ( to fetch exact number of records required ).

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

20 years ago* System.Data.dll.sources : Added DataContainer.cs, RecordCache.cs
Boris Kirzner [Wed, 19 May 2004 09:39:27 +0000 (09:39 -0000)]
* System.Data.dll.sources : Added DataContainer.cs, RecordCache.cs

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

20 years ago* DataColumn.cs, DataColumnChangeEventArgs.cs, DataColumnCollection.cs, DataRow.cs...
Boris Kirzner [Wed, 19 May 2004 09:30:15 +0000 (09:30 -0000)]
* DataColumn.cs, DataColumnChangeEventArgs.cs, DataColumnCollection.cs, DataRow.cs,  DataRowCollection.cs, DataTable.cs, Index.cs : Data storage in the row is redesigned. Now data is stored in typed containers inside DataColumn. Row holds its versions as indexes inside each of data container, accessed through the row that holds it.

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

20 years ago* UniqueConstraint.cs - added comment.
Boris Kirzner [Wed, 19 May 2004 09:04:44 +0000 (09:04 -0000)]
* UniqueConstraint.cs - added comment.

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

20 years ago* MonoType.cs: throw ArgumentNullException when type parameter in
Gert Driesen [Wed, 19 May 2004 09:00:58 +0000 (09:00 -0000)]
* MonoType.cs: throw ArgumentNullException when type parameter in
GetCustomAttributes(Type, bool) is null

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

20 years ago2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 May 2004 07:17:44 +0000 (07:17 -0000)]
2004-05-19  Atsushi Enomoto <atsushi@ximian.com>

* DataSetTest.cs : Fixed ReadWriteXmlSchema() that miscounted
  constraints and parent keys.

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

20 years ago2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 19 May 2004 07:16:23 +0000 (07:16 -0000)]
2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>

* XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
  DataSet.

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

20 years ago* configure.in: Use proper autoconf idiom to pass additional
Raja R Harinath [Wed, 19 May 2004 03:42:02 +0000 (03:42 -0000)]
* configure.in: Use proper autoconf idiom to pass additional
arguments to libgc/configure.
(PLATFORM_WIN32, NEED_LINK_UNLINK): Use three-argument AC_DEFINE.
* acconfig.h: Update to reflect changes.

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

20 years ago2004-05-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 02:00:03 +0000 (02:00 -0000)]
2004-05-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* gacutil.cs: force = true requested by Miguel.

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

20 years agoupdates from grammar changes
César Natarén [Wed, 19 May 2004 01:18:06 +0000 (01:18 -0000)]
updates from grammar changes

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

20 years ago2004-05-18 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 19 May 2004 01:13:59 +0000 (01:13 -0000)]
2004-05-18  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: let's build Try/Catch/Finally ast.

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

20 years ago2004-05-18 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 19 May 2004 01:08:51 +0000 (01:08 -0000)]
2004-05-18  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: handle Try case for field or local vars allocation.

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

20 years ago2004-05-18 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 19 May 2004 01:06:00 +0000 (01:06 -0000)]
2004-05-18  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Try.cs: implemented Emit.
* Throw.cs: implemented code generation.

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

20 years ago2004-05-18 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 19 May 2004 00:58:54 +0000 (00:58 -0000)]
2004-05-18  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* Throw.cs: implemented code generation.cs

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

20 years ago2004-05-18 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Wed, 19 May 2004 00:51:47 +0000 (00:51 -0000)]
2004-05-18  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* FunctionDeclaration.cs: cache some values.

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

20 years agoRemove debugging message
Miguel de Icaza [Tue, 18 May 2004 20:36:15 +0000 (20:36 -0000)]
Remove debugging message

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

20 years agoAdd warning
Miguel de Icaza [Tue, 18 May 2004 19:45:48 +0000 (19:45 -0000)]
Add warning

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

20 years ago2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 May 2004 19:36:51 +0000 (19:36 -0000)]
2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>

* SqlDecimal.cs : Fixed operator/ not to return positive always.
  Halfly fixed ConvertToPrecScale() that was broken.

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

20 years ago2004-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 May 2004 19:08:19 +0000 (19:08 -0000)]
2004-05-18  Zoltan Varga  <vargaz@freemail.hu>

* marshal9.cs marshal10.cs: Fix custom marshalling tests.

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

20 years ago2004-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 May 2004 19:06:36 +0000 (19:06 -0000)]
2004-05-18  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (mono_marshal_get_native_wrapper): Fix up custom
marshalling and call CleanUpNativeData if needed. Fixes #58646.

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

20 years agoEnabled test-254.cs
Marek Safar [Tue, 18 May 2004 18:44:56 +0000 (18:44 -0000)]
Enabled test-254.cs

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

20 years ago2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 May 2004 18:44:40 +0000 (18:44 -0000)]
2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>

* SqlDecimal.cs :
  - .ctor() should check the valid scale range and throw
    SqlTypeException.
  - Value should copy the last int32 value fragment.
  - Fixed Abs() and Ceiling() to return Null when the input is Null.
  - Now AdjustScale() should not depend on Truncate() that keeps zero
    digits correctly. So Round() before returning the final result.
  - ToString() should insert '-' for minus values.
  - operator+ should use larger scale of operands rather than smaller
    scale.

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

20 years ago2004-05-18 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Tue, 18 May 2004 18:28:40 +0000 (18:28 -0000)]
2004-05-18  Marek Safar  <marek.safar@seznam.cz>

Fix bug #52585 (Implemented explicit attribute declaration)

* attribute.cs:
(Attributable.ValidAttributeTargets): New abstract method. It gets
list of valid attribute targets for explicit target declaration.
(Attribute.Target): It holds target itself.
(AttributeSection): Removed.
(Attribute.CheckTargets): New method. It checks whether attribute
target is valid for the current element.

* class.cs:
(EventProperty): New class. For events that are declared like
property (with add and remove accessors).
(EventField): New class. For events that are declared like field.
class.cs

* cs-parser.jay: Implemented explicit attribute target declaration.

* class.cs, decl.cs, delegate.cs, enum.cs, parameter.cs:
Override ValidAttributeTargets.

* parameter.cs:
(ReturnParameter): Class for applying custom attributes on
the return type.
(ParameterAtribute): New class. Class for applying custom
attributes on the parameter type.

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

20 years ago2004-05-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 18 May 2004 18:02:30 +0000 (18:02 -0000)]
2004-05-18  Zoltan Varga  <vargaz@freemail.hu>

* mini.h mini.c (mini_method_compile): Only run abc removal pass on
methods which contain array accesses.

* mini.c (CEE_LDTOKEN): Handle this instruction correctly on bb
boundaries. Fixes #58537.

* iltests.il: Add regression test for #58537.

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

20 years ago* corlib_test.dll.sources: added PropertyInfoTest
Gert Driesen [Tue, 18 May 2004 17:56:15 +0000 (17:56 -0000)]
* corlib_test.dll.sources: added PropertyInfoTest

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

20 years agofixes GDI+ parameter call
Jordi Mas i Hernandez [Tue, 18 May 2004 17:55:45 +0000 (17:55 -0000)]
fixes GDI+ parameter call

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

20 years ago* PropertyInfoTest.cs: New file. Added test for
Gert Driesen [Tue, 18 May 2004 17:19:41 +0000 (17:19 -0000)]
* PropertyInfoTest.cs: New file.  Added test for
bug #58661.

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

20 years ago* MonoProperty.cs: return correct MethodInfo for
Gert Driesen [Tue, 18 May 2004 17:17:52 +0000 (17:17 -0000)]
* MonoProperty.cs: return correct MethodInfo for
property with only a get or set method. Fixes
bug #58661.

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

20 years agoFlush
Miguel de Icaza [Tue, 18 May 2004 16:27:54 +0000 (16:27 -0000)]
Flush

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

20 years agoFlush
Miguel de Icaza [Tue, 18 May 2004 16:23:12 +0000 (16:23 -0000)]
Flush

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

20 years ago2004-05-18 Patrik Torstensson <totte@hiddenpeaks.com>
Patrik Torstensson [Tue, 18 May 2004 15:36:49 +0000 (15:36 -0000)]
2004-05-18  Patrik Torstensson <totte@hiddenpeaks.com>

* mini-x86.c (mono_arch_local_regalloc): Last part of
fix for bug #58633 (releasing register to early).

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

20 years agoImprove
Miguel de Icaza [Tue, 18 May 2004 15:14:44 +0000 (15:14 -0000)]
Improve

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

20 years agoupdate
Miguel de Icaza [Tue, 18 May 2004 15:13:40 +0000 (15:13 -0000)]
update

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

20 years agoAdd new file
Miguel de Icaza [Tue, 18 May 2004 15:10:23 +0000 (15:10 -0000)]
Add new file

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

20 years ago2004-05-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 18 May 2004 14:16:52 +0000 (14:16 -0000)]
2004-05-18  Miguel de Icaza  <miguel@ximian.com>

* basic-long.cs: Add new regression test.

2004-05-18  Patrik Torstensson <totte@hiddenpeaks.com>

* mini-x86.c (mono_arch_local_regalloc): Avoid releasing a
register too early on the chain.

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

20 years ago2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 May 2004 14:14:03 +0000 (14:14 -0000)]
2004-05-18  Atsushi Enomoto <atsushi@ximian.com>

* SqlDecimalTest.cs : Don't use unreliable SqlDecimal to test
  Truncate(). Just use decimal.

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

20 years ago2004-05-18 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Tue, 18 May 2004 14:12:03 +0000 (14:12 -0000)]
2004-05-18  Atsushi Enomoto  <atsushi@ximian.com>

* SqlDecimal.cs : Fixed Truncate() to work fine.
* SqlMoney.cs : Added one hack line in operator/ to work fine.

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

20 years agoUpdate
Miguel de Icaza [Tue, 18 May 2004 13:49:14 +0000 (13:49 -0000)]
Update

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

20 years ago2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 May 2004 13:43:17 +0000 (13:43 -0000)]
2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* ASN1Convert.cs: In sync with Mono.Security.dll version.
* StrongName.cs: In sync with Mono.Security.dll version.

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

20 years ago2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 May 2004 13:02:33 +0000 (13:02 -0000)]
2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* Assembly.cs: Return an empty Evidence collection to avoid
NullReferenceException from calling code (as this is never
null with MS implementation). See bugzilla #53548.

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

20 years ago2004-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 May 2004 12:04:04 +0000 (12:04 -0000)]
2004-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* Buffer.cs: Added checks for null source and destination. Fix failing
CryptoStream unit test.
* Guid.cs: Fixed thread-safety issue. Simplified implementation to use
pseudo-random numbers to generate GUIDs (as per section 3.4 of the
spec). This removes the TODO to get the computer MAC address and
the chances to get a duplicate GUID (across different machines).

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

20 years ago * CustomLineCap.cs: Added null checks and corrected Dispose method.
Ravindra [Tue, 18 May 2004 11:52:34 +0000 (11:52 -0000)]
* CustomLineCap.cs: Added null checks and corrected Dispose method.

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

20 years ago * Pen.cs: Added value checks in DashPattern and CompoundArray
Ravindra [Tue, 18 May 2004 11:49:42 +0000 (11:49 -0000)]
* Pen.cs: Added value checks in DashPattern and CompoundArray
properties.

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

20 years ago2005-05-18 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 18 May 2004 11:43:42 +0000 (11:43 -0000)]
2005-05-18  Sebastien Pouliot  <sebastien@ximian.com>

* BufferTest.cs: Added missing tests for BlockCopy exceptions.

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

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Tue, 18 May 2004 11:36:29 +0000 (11:36 -0000)]
ChangeLog: Updated ChangeLog
TestImageFormatConverter.cs: Fixed issues with test case.

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