Martin Baulig [Fri, 2 Apr 2004 23:25:15 +0000 (23:25 -0000)]
New test.
svn path=/trunk/mcs/; revision=24984
Martin Baulig [Fri, 2 Apr 2004 22:13:38 +0000 (22:13 -0000)]
2004-04-02 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericInst.DeclaringType): Override.
svn path=/trunk/mcs/; revision=24983
Martin Baulig [Fri, 2 Apr 2004 22:12:41 +0000 (22:12 -0000)]
2004-04-02 Martin Baulig <martin@ximian.com>
* icall.c
(ves_icall_MonoGenericInst_GetDeclaringType): New icall.
svn path=/trunk/mono/; revision=24982
Martin Baulig [Fri, 2 Apr 2004 22:08:20 +0000 (22:08 -0000)]
2004-04-02 Martin Baulig <martin@ximian.com>
* generic.cs (GenericMemberAccess.ResolveAsTypeStep): Added
support for nested types.
svn path=/trunk/mcs/; revision=24981
Martin Baulig [Fri, 2 Apr 2004 20:58:18 +0000 (20:58 -0000)]
2004-04-02 Martin Baulig <martin@ximian.com>
* ecore.cs (IAlias): New public interface.
(TypeExpr, TypeExpression): Implement IAlias.
(TypeAliasExpression): New public class.
* namespace.cs (Namespace): Implement IAlias.
(Namespace.Lookup): Return an IAlias instead on an object.
(Namespace.DefineName): Take an IAlias instead of an object.
(NamespaceEntry.AliasEntry.Resolve): Return an IAlias instead of
an object.
(NamespaceEntry.UsingAlias): Take a Membername instead of an
Expression.
(NamespaceEntry.LookupAlias): Return an IAlias instead on an
object.
(NamespaceEntry.Lookup): Likewise.
* rootcontext.cs (RootContext.LookupType): Return a TypeExpr
instead of a Type.
* decl.cs (DeclSpace): Implement IAlias.
(DeclSpace.LookupAlias): Return an IAlias instead of a string.
* generic.cs (ConstructedType): Improved error checking.
svn path=/trunk/mcs/; revision=24980
Bernie Solomon [Fri, 2 Apr 2004 18:58:03 +0000 (18:58 -0000)]
2004-04-02 Bernie Solomon <bernard@ugsolutions.com>
* PasswordDeriveBytesTest.cs: Add ToInt32LE so
it works on big endian machines.
svn path=/trunk/mcs/; revision=24978
Gonzalo Paniagua Javier [Fri, 2 Apr 2004 16:27:38 +0000 (16:27 -0000)]
2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* config.h.in: added HAVE_GETPWUID_R
* configure.in: check for getpwuid_r.
* mono/io-layer/security.c: use getpwuid_r if available. This one is
thread-safe.
svn path=/trunk/mono/; revision=24977
Zoltan Varga [Fri, 2 Apr 2004 16:04:11 +0000 (16:04 -0000)]
2004-04-02 Zoltan Varga <vargaz@freemail.hu>
* icall.c: Fix build.
svn path=/trunk/mono/; revision=24976
Zoltan Varga [Fri, 2 Apr 2004 15:51:53 +0000 (15:51 -0000)]
2004-04-02 Zoltan Varga <vargaz@freemail.hu>
* mini.c (mono_method_to_ir): Avoid handle_loaded_temps in
ldsfld and ldsflda.
svn path=/trunk/mono/; revision=24975
Sebastien Pouliot [Fri, 2 Apr 2004 15:36:15 +0000 (15:36 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* security.c|h: wrong version. Removed second icall.
svn path=/trunk/mono/; revision=24974
Zoltan Varga [Fri, 2 Apr 2004 15:23:11 +0000 (15:23 -0000)]
2004-04-02 Zoltan Varga <vargaz@freemail.hu>
* inssel-sparc.brg: Add more optimizations.
* mini-sparc.c: Replace multiply/divide with shifts if possible.
svn path=/trunk/mono/; revision=24973
Sebastien Pouliot [Fri, 2 Apr 2004 15:13:32 +0000 (15:13 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* Environment.cs: Now call the runtime to get the username (#56144).
svn path=/trunk/mcs/; revision=24972
Sebastien Pouliot [Fri, 2 Apr 2004 15:10:35 +0000 (15:10 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Added security.c|h.
* icall.c: Added icall for get_UserName;
* security.c: New file for security related icalls. Added function
get_UserName for System.Environment (fix #56144).
* security.h: New. Header file for security.c
svn path=/trunk/mono/; revision=24971
Sebastien Pouliot [Fri, 2 Apr 2004 15:08:46 +0000 (15:08 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* Makefile.am: Added security.c|h.
* security.c: New file for security related functions. Added function
GetUserName to fix #56144.
* security.h: New. Header file for security.c
* wapi.h: Added include for security.h
svn path=/trunk/mono/; revision=24970
Dick Porter [Fri, 2 Apr 2004 14:45:07 +0000 (14:45 -0000)]
2004-04-02 Dick Porter <dick@ximian.com>
* icall.c: Deleted the icalls that were obsoleted some time ago
by the ICU string code, and which were mixed into the icall
rearranging. Fixes bug 55969.
* string-icalls.h:
* string-icalls.c: Deleted the code that those icalls reference.
svn path=/trunk/mono/; revision=24969
Dick Porter [Fri, 2 Apr 2004 13:35:25 +0000 (13:35 -0000)]
2004-04-02 Dick Porter <dick@ximian.com>
* String.cs: More sanity checks in Replace(). Fixes bug 55822.
svn path=/trunk/mcs/; revision=24968
Sebastien Pouliot [Fri, 2 Apr 2004 13:03:05 +0000 (13:03 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Added System/EnvironmentTest.cs.
svn path=/trunk/mcs/; revision=24967
Sebastien Pouliot [Fri, 2 Apr 2004 13:01:57 +0000 (13:01 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* EnvironmentTest.cs: New. Add unit tests for ExpandEnvironmentVariables.
svn path=/trunk/mcs/; revision=24966
Sebastien Pouliot [Fri, 2 Apr 2004 12:55:16 +0000 (12:55 -0000)]
2004-04-02 Sebastien Pouliot <sebastien@ximian.com>
* Environment.cs: Implement ExpandEnvironmentVariables static method.
svn path=/trunk/mcs/; revision=24965
Gonzalo Paniagua Javier [Fri, 2 Apr 2004 12:43:48 +0000 (12:43 -0000)]
2004-04-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* MonoType.cs: AssemblyQualifiedName now displays culture, version...
Fixes bug #56341.
svn path=/trunk/mcs/; revision=24964
Jordi Mas i Hernandez [Fri, 2 Apr 2004 09:08:12 +0000 (09:08 -0000)]
region c# implementation
svn path=/trunk/mcs/; revision=24961
César Natarén [Fri, 2 Apr 2004 07:49:37 +0000 (07:49 -0000)]
changelog entry
svn path=/trunk/mcs/; revision=24960
César Natarén [Fri, 2 Apr 2004 07:47:52 +0000 (07:47 -0000)]
2004-04-02 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Equality.cs: Moved the Emit and Resolve code here.
* jscript-lexer-parser.g: Build a Equality object instead of a
Binary object for equality_expr.
* expression.cs: moved equality oeprators (resolve and IL gen) to
Equality.Emit and Equality.Resolve.
svn path=/trunk/mcs/; revision=24959
Roopa Wilson [Fri, 2 Apr 2004 05:54:59 +0000 (05:54 -0000)]
2004-04-02 Roopa Wilson (RoWilson@novell.com)
* DataTable.cs : Included code to copy extended properties in CopyProperties() method
* DataTable.cs : CaseSensitive and Locale properties cannot be changedif the table belongs to a data relation
* DataTable.cs : Prefix property should not contain any specialcharacters
* DataTable.cs : Added code to BeginLoadData and EndLoadData methods tohandle tables not belonging to any data set
* DataTable.cs : Implemented an private property EnforceConstraints to enforceconstraints in EndLoadData when table is not part of any dataset
* DataTable.cs : Removed TODO tags for Clone (), Copy (), EndLoadData() and GetChanges ()
* DataTable.cs : Clear method should throw a NotSupportedException when the table is part of a DataSet bound to a XmlDataDocument
* DataSet.cs : Clear method should throw a NotSupportedException when DataSet is bound to a XmlDataDocument
* XmlDataDocument.cs : Included code to indicate to the DataSet that it is bound to this particular XmlDataDocument
* DataTableTest.cs: Included tests for the changes made in DatTable.cs
svn path=/trunk/mcs/; revision=24958
Miguel de Icaza [Fri, 2 Apr 2004 05:13:05 +0000 (05:13 -0000)]
Add new tests
svn path=/trunk/mcs/; revision=24956
Miguel de Icaza [Fri, 2 Apr 2004 04:49:26 +0000 (04:49 -0000)]
Flush
svn path=/trunk/mono/; revision=24954
Martin Baulig [Fri, 2 Apr 2004 04:37:18 +0000 (04:37 -0000)]
Add it.
svn path=/trunk/mcs/; revision=24953
Martin Baulig [Fri, 2 Apr 2004 04:37:10 +0000 (04:37 -0000)]
2004-04-02 Martin Baulig <martin@ximian.com>
* convert.cs: Added type parameter conversions.
* ecore.cs
(UnboxCast.Emit): Emit an `unbox.any' for type params.
(ClassCast.Emit): If the source type is a type parameter, box it.
If the target type is a type parameter, emit an `unbox.any'
instead of a `classcast'.
svn path=/trunk/mcs/; revision=24952
Martin Baulig [Fri, 2 Apr 2004 04:32:48 +0000 (04:32 -0000)]
New test.
svn path=/trunk/mcs/; revision=24951
Martin Baulig [Fri, 2 Apr 2004 04:15:15 +0000 (04:15 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericParam.IsValueTypeImpl): Override
this and always return false.
svn path=/trunk/mcs/; revision=24950
Martin Baulig [Fri, 2 Apr 2004 04:14:39 +0000 (04:14 -0000)]
A type parameter is no longer an interface.
svn path=/trunk/mcs/; revision=24949
Martin Baulig [Fri, 2 Apr 2004 04:14:16 +0000 (04:14 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* metadata.h (MONO_CLASS_IS_INTERFACE): New macro.
* class.c (mono_class_from_generic_parameter): Don't set
TYPE_ATTRIBUTE_INTERFACE.
(my_mono_class_from_generic_parameter): Likewise.
svn path=/trunk/mono/; revision=24948
Martin Baulig [Fri, 2 Apr 2004 03:07:58 +0000 (03:07 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* MonoGenericInst.cs (MonoGenericParam.IsSubclassOf): Override this.
svn path=/trunk/mcs/; revision=24945
Martin Baulig [Fri, 2 Apr 2004 02:25:03 +0000 (02:25 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* cs-tokenizer.cs (parse_less_than): Allow Token.DOT.
svn path=/trunk/mcs/; revision=24943
Martin Baulig [Fri, 2 Apr 2004 02:24:41 +0000 (02:24 -0000)]
Added gen-53.cs
svn path=/trunk/mcs/; revision=24942
Martin Baulig [Fri, 2 Apr 2004 02:19:24 +0000 (02:19 -0000)]
New test.
svn path=/trunk/mcs/; revision=24941
Martin Baulig [Fri, 2 Apr 2004 02:16:52 +0000 (02:16 -0000)]
Ooops, I screwed this up again.
svn path=/trunk/mcs/; revision=24940
Martin Baulig [Fri, 2 Apr 2004 02:16:36 +0000 (02:16 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* mini.c (handle_box): New static function; moved the
implementation of CEE_BOX here.
(mono_method_to_ir): Added `constrained_call' variable.
(mono_method_to_ir:CEE_CONSTRAINED_): Set it.
(mono_method_to_ir:CEE_CALL): If `constrained_call' is set, use
mono_method_get_constrained() to get the method.
svn path=/trunk/mono/; revision=24939
Martin Baulig [Fri, 2 Apr 2004 02:15:16 +0000 (02:15 -0000)]
Ooops.
svn path=/trunk/mono/; revision=24938
Martin Baulig [Fri, 2 Apr 2004 01:44:37 +0000 (01:44 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* loader.c (find_method): Added an optional `MonoClass *ic'
argument to search in a specific interface.
(mono_get_method_constrained): New public function.
svn path=/trunk/mono/; revision=24937
Duncan Mak [Fri, 2 Apr 2004 01:20:34 +0000 (01:20 -0000)]
* GraphicsPath.cs (AddCurve, AddClosedCurve): Added all overloads.
* Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
* gdipFunctions.cs (GdipAddPathCurveI):
(GdipAddPathCurve2, GdipAddPathCurve2I):
(GdipAddPathCurve3, GdipAddPathCurve3I):
(GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
(GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
wrappers from GDI+.
svn path=/trunk/mcs/; revision=24936
Lluis Sanchez [Thu, 1 Apr 2004 22:51:21 +0000 (22:51 -0000)]
* TemplateControlCompiler.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24934
Lluis Sanchez [Thu, 1 Apr 2004 22:49:44 +0000 (22:49 -0000)]
* FolderBrowserDialog.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24933
Lluis Sanchez [Thu, 1 Apr 2004 22:48:52 +0000 (22:48 -0000)]
* XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24932
Lluis Sanchez [Thu, 1 Apr 2004 22:48:05 +0000 (22:48 -0000)]
* X509Chain.cs: Fixed build for net_1_0 profile.
svn path=/trunk/mcs/; revision=24931
Martin Baulig [Thu, 1 Apr 2004 22:04:55 +0000 (22:04 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* expression.cs (Invocation.EmitCall): If we're invoking a method
on a type parameter, use the new `Constrained' prefix opcode.
svn path=/trunk/mcs/; revision=24929
Martin Baulig [Thu, 1 Apr 2004 22:01:04 +0000 (22:01 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* OpCodes.cs (OpCodes.Constrained): New opcode.
svn path=/trunk/mcs/; revision=24928
Martin Baulig [Thu, 1 Apr 2004 21:55:07 +0000 (21:55 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* dump.c (dump_table_memberref): Added support for TypeDef's.
svn path=/trunk/mono/; revision=24927
Martin Baulig [Thu, 1 Apr 2004 21:54:41 +0000 (21:54 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* reflection.c (mono_image_get_generic_field_token): Use the
`handleref' cache here.
svn path=/trunk/mono/; revision=24926
Martin Baulig [Thu, 1 Apr 2004 21:42:56 +0000 (21:42 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* reflection.h (MonoDynamicImage): Added `GHashTable *typespec'.
* reflection.c (create_generic_typespec): Use the `typespec' hash
here, not the `typeref' one.
svn path=/trunk/mono/; revision=24925
Martin Baulig [Thu, 1 Apr 2004 20:18:34 +0000 (20:18 -0000)]
Make this actually work; user-defined implicit conversions are not allowed here.
svn path=/trunk/mcs/; revision=24923
Martin Baulig [Thu, 1 Apr 2004 20:16:57 +0000 (20:16 -0000)]
New test, formerly known as gen-51.cs.
svn path=/trunk/mcs/; revision=24922
Martin Baulig [Thu, 1 Apr 2004 20:13:48 +0000 (20:13 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* generic.cs (ConstructedType.CheckConstraints): Use
Convert.ImplicitStandardConversionExists(); user-defined implicit
conversions are not allowed according to the spec.
svn path=/trunk/mcs/; revision=24921
Martin Baulig [Thu, 1 Apr 2004 19:45:49 +0000 (19:45 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* mini.c (TYPE_PARAM_TO_TYPE, TYPE_PARAM_TO_CLASS): Removed.
(MTYPE_PARAM_TO_TYPE, MTYPE_PARAM_TO_CLASS): Removed.
(mono_method_to_ir): We don't need these macros anymore since
mono_class_get_full() already takes care of it.
svn path=/trunk/mono/; revision=24920
Martin Baulig [Thu, 1 Apr 2004 19:44:25 +0000 (19:44 -0000)]
2004-04-01 Martin Baulig <martin@ximian.com>
* class.c (mono_class_inflate_generic_type): Moved the
functionality into a new static inflate_generic_type() which
returns NULL if it didn't do anything. Only increment the
`mono_stats.inflated_type_count' if we actually inflated
something.
(mono_class_get_full): Check the classes type to see whether we
need to inflate it; also inflate MONO_TYPE_(M)VAR.
svn path=/trunk/mono/; revision=24919
Miguel de Icaza [Thu, 1 Apr 2004 18:38:54 +0000 (18:38 -0000)]
Update
svn path=/trunk/mono/; revision=24918
Jackson Harper [Thu, 1 Apr 2004 18:37:44 +0000 (18:37 -0000)]
* reflection.c: Set culture for assembly references.
svn path=/trunk/mono/; revision=24917
Miguel de Icaza [Thu, 1 Apr 2004 18:32:01 +0000 (18:32 -0000)]
MCS now checks for CLS compliance.
Patch from Marek Safar, thanks a lot Marek for working so hard in getting
every detail right.
2004-03-30 Marek Safar <marek.safar@seznam.cz>
* attribute.cs (Attribute): Location is now public.
(Resolve): Store resolved arguments (pos_values) in attribute class.
Attribute extractors (now GetClsCompliantAttributeValue) can reuse them.
(GetClsCompliantAttributeValue): New method that gets
CLSCompliantAttribute value.
(GetClsCompliantAttribute): Returns CLSCompliantAttribute for DeclSpace
if exists else null.
(AttributeTester): New class for CLS-Compliant verification routines.
* class.cs (Emit): Add CLS-Compliant verification.
(Method.GetSignatureForError): Implemented.
(Constructor.GetSignatureForError): Implemented
(Constructor.HasCompliantArgs): Returns if constructor has
CLS-Compliant arguments.
(Constructor.Emit): Override.
(Construcor.IsIdentifierClsCompliant): New method; For constructors
is needed to test only parameters.
(FieldBase.GetSignatureForError): Implemented.
(TypeContainer): New member for storing base interfaces.
(TypeContainer.FindMembers): Search in base interfaces too.
* codegen.cs (GetClsComplianceAttribute): New method that gets
assembly or module CLSCompliantAttribute value.
(ResolveClsCompliance): New method that resolve CLSCompliantAttribute
for assembly.
(ModuleClass.Emit): Add error 3012 test.
* const.cs (Emit): Override and call base for CLS-Compliant tests.
* decl.cs (ClsComplianceValue): New enum that holds CLS-Compliant
state for all decl types.
(MemberCore.Emit): Emit is now virtual and call VerifyClsCompliance
if CLS-Compliant tests are required.
(IsClsCompliaceRequired): New method. Analyze whether code
must be CLS-Compliant.
(IsExposedFromAssembly): New method. Returns true when MemberCore
is exposed from assembly.
(GetClsCompliantAttributeValue): New method. Resolve CLSCompliantAttribute
value or gets cached value.
(HasClsCompliantAttribute): New method. Returns true if MemberCore
is explicitly marked with CLSCompliantAttribute.
(IsIdentifierClsCompliant): New abstract method. This method is
used to testing error 3005.
(IsIdentifierAndParamClsCompliant): New method. Common helper method
for identifier and parameters CLS-Compliant testing.
(VerifyClsCompliance): New method. The main virtual method for
CLS-Compliant verifications.
(CheckAccessLevel): In one special case (System.Drawing) was TypeBuilder
null. I don't know why is null (too many public members !).
(GetClsCompliantAttributeValue). New method. Goes through class hierarchy
and get value of first CLSCompliantAttribute that found.
delegate.cs (Emit): Override and call base for CLS-Compliant tests.
(VerifyClsCompliance): Override and add extra tests.
* driver.cs (CSCParseOption): New command line options (clscheck[+|-]).
clscheck- disable CLS-Compliant verification event if assembly is has
CLSCompliantAttribute(true).
* enum.cs (Emit): Override and call base for CLS-Compliant tests.
ApllyAttribute is now called in emit section as in the other cases.
Possible future Emit integration.
(IsIdentifierClsCompliant): New override.
(VerifyClsCompliance): New override.
(GetEnumeratorName): Returns full enum name.
* parameter.cs (GetSignatureForError): Implemented.
* report.cs (WarningData): New struct for Warning message information.
(LocationOfPreviousError): New method.
(Warning): New method. Reports warning based on the warning table.
(Error_T): New method. Reports error based on the error table.
* rootcontext.cs (EmitCode): Added new Emit(s) because CLS-Compliant
verifications are done here.
* tree.cs (RecordDecl): Used new LocationOfPreviousError method.
* typemanager.cs (cls_compliant_attribute_type): New member thath holds
CLSCompliantAttribute.
(all_imported_types): New member holds all imported types from other
assemblies.
(LoadAllImportedTypes): New method fills static table with exported types
from all referenced assemblies.
(Modules): New property returns all assembly modules.
svn path=/trunk/mcs/; revision=24916
Ben Maurer [Thu, 1 Apr 2004 18:01:47 +0000 (18:01 -0000)]
2004-04-01 Ben Maurer <bmaurer@users.sourceforge.net>
* LocalBuilder.cs: Fix pinned support.
svn path=/trunk/mcs/; revision=24915
Ben Maurer [Thu, 1 Apr 2004 18:00:35 +0000 (18:00 -0000)]
2004-04-01 Ben Maurer <bmaurer@users.sourceforge.net>
* reflection.[ch], icall.[ch], Fix support for pinning variables.
svn path=/trunk/mono/; revision=24914
Lluis Sanchez [Thu, 1 Apr 2004 17:17:37 +0000 (17:17 -0000)]
* TdsMetaParameter.cs: When the size of the parameter is not specified,
use the same default sizes as in MS.NET.
svn path=/trunk/mcs/; revision=24911
Lluis Sanchez [Thu, 1 Apr 2004 14:40:32 +0000 (14:40 -0000)]
* RemotingProxy.cs: Changed the rules for casting WKO proxies, to match
MS.NET behavior.
svn path=/trunk/mcs/; revision=24909
Lluis Sanchez [Thu, 1 Apr 2004 14:32:28 +0000 (14:32 -0000)]
* TdsDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.
svn path=/trunk/mcs/; revision=24908
Lluis Sanchez [Thu, 1 Apr 2004 14:30:54 +0000 (14:30 -0000)]
* SoapTypeAttribute.cs: Reverted last change. MS.NET don't return the full
assembly name.
svn path=/trunk/mcs/; revision=24907
Lluis Sanchez [Thu, 1 Apr 2004 14:22:08 +0000 (14:22 -0000)]
* Tds.cs: All methods now return DBNull instead of null for null values.
* Tds50.cs, Tds70.cs: Support parameters with DBNull value.
svn path=/trunk/mcs/; revision=24906
Lluis Sanchez [Thu, 1 Apr 2004 14:21:04 +0000 (14:21 -0000)]
* Mono.Data.SybaseClient/SybaseDataReader.cs: Null values are now
represented with DBNull instances. Deal with this.
* Mono.Data.SybaseTypes/SybaseNullValueException.cs: Use a more clarifying
error message.
svn path=/trunk/mcs/; revision=24905
Lluis Sanchez [Thu, 1 Apr 2004 14:20:11 +0000 (14:20 -0000)]
* TdsNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24904
Lluis Sanchez [Thu, 1 Apr 2004 14:17:49 +0000 (14:17 -0000)]
* SqlNullValueException.cs: Use a more clarifying error message.
svn path=/trunk/mcs/; revision=24903
Lluis Sanchez [Thu, 1 Apr 2004 14:16:59 +0000 (14:16 -0000)]
* SqlDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.
svn path=/trunk/mcs/; revision=24902
Lluis Sanchez [Thu, 1 Apr 2004 13:29:53 +0000 (13:29 -0000)]
* FileSystemInfo.cs: Added InternalRefresh, a virtual method that derived
classes can override to perform class specific refreshing.
* FileInfo.cs: Refresh existence flag when Refresh is called.
* TextWriter.cs: Applied patch by Benjamin Jemlich for bug #52512.
The method Write(char) should do nothing by default.
svn path=/trunk/mcs/; revision=24901
Jackson Harper [Thu, 1 Apr 2004 10:29:05 +0000 (10:29 -0000)]
* Driver.cs: The parser now needs to take a scanner object in its
constructor so it can set a flag when parsing byte arrays.
svn path=/trunk/mcs/; revision=24900
Jackson Harper [Thu, 1 Apr 2004 10:28:33 +0000 (10:28 -0000)]
* ILParser.jay: Set a flag in the tokenizer when parsing byte
arrays. Otherwise we can't tell WTF they are. Set assemblyref
attributes.
svn path=/trunk/mcs/; revision=24899
Jackson Harper [Thu, 1 Apr 2004 10:28:05 +0000 (10:28 -0000)]
* CodeGen.cs: Add a current assembly ref and methods to create/end
it so we can set assembly ref attributes.
* ExternTable.cs: Make the ExternAssembly public so that its
attributes can be set.
svn path=/trunk/mcs/; revision=24898
Jackson Harper [Thu, 1 Apr 2004 10:27:25 +0000 (10:27 -0000)]
* ILTokenizer.cs: Add flag and special parsing routine for byte
arrays.
svn path=/trunk/mcs/; revision=24897
Gonzalo Paniagua Javier [Thu, 1 Apr 2004 09:12:05 +0000 (09:12 -0000)]
2004-04-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* assembly.c:
(do_mono_assembly_open): the critical section also covers
mono_image_open and mono_image_open_from_data. Fixes bug #56327.
svn path=/trunk/mono/; revision=24896
Atsushi Eno [Thu, 1 Apr 2004 04:53:44 +0000 (04:53 -0000)]
2004-04-01 Atsushi Enomoto <atsushi@ximian.com>
* XslVariable.cs : When evaluated variable was BaseIterator, its
iterated nodes must be collected in prior. Otherwise, it might be
evaluated later with inconsistent level of variable stack in
XslTransformProcessor. This fixes bug #55876.
svn path=/trunk/mcs/; revision=24895
César Natarén [Wed, 31 Mar 2004 22:34:39 +0000 (22:34 -0000)]
2004-03-31 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs: Added shift operators IL emit.
svn path=/trunk/mcs/; revision=24890
Atsushi Eno [Wed, 31 Mar 2004 21:45:14 +0000 (21:45 -0000)]
2004-03-31 Atsushi Enomoto <atsushi@ximian.com>
* Added nist_dom tests by Mainsoft hackers.
svn path=/trunk/mcs/; revision=24887
César Natarén [Wed, 31 Mar 2004 21:32:02 +0000 (21:32 -0000)]
2004-03-31 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* BitwiseBinary.cs: added constructor for building it according to
JSToken enum. return a new object on EvaluateBitwiseBinary (this
needs a real implementation).
* expression.cs: added code for evaluation of bitwise operators at emit_op_eval.
svn path=/trunk/mcs/; revision=24886
Miguel de Icaza [Wed, 31 Mar 2004 21:13:09 +0000 (21:13 -0000)]
Flush
svn path=/trunk/mono/; revision=24885
Gonzalo Paniagua Javier [Wed, 31 Mar 2004 21:09:49 +0000 (21:09 -0000)]
2004-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* aot.c: set aot_verbose to 0, fixed format string that caused sigsegv,
use @function (as doesn't accept #function here) and check the return
value of system and stop if fails.
svn path=/trunk/mono/; revision=24884
César Natarén [Wed, 31 Mar 2004 20:49:51 +0000 (20:49 -0000)]
updates from grammar changes
svn path=/trunk/mcs/; revision=24883
Gonzalo Paniagua Javier [Wed, 31 Mar 2004 20:45:53 +0000 (20:45 -0000)]
2004-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* mini.c: set the timeout to 2s when calling mono_domain_finalize.
svn path=/trunk/mono/; revision=24882
César Natarén [Wed, 31 Mar 2004 20:45:07 +0000 (20:45 -0000)]
2004-03-31 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Statement.cs: added stub for While and DoWhile ast
representation (reworking my Emit code).
* jscript-parser-lexer.g: allow iteration statement ast build.
svn path=/trunk/mcs/; revision=24881
Gonzalo Paniagua Javier [Wed, 31 Mar 2004 20:44:04 +0000 (20:44 -0000)]
2004-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threads.c:
(mono_manage_threads): abort the background threads when finishing.
Fixes bug #47232.
svn path=/trunk/mono/; revision=24880
Juraj Skripsky [Wed, 31 Mar 2004 20:40:13 +0000 (20:40 -0000)]
2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
* DataColumn.cs : Setting Caption to null sets it to the empty string
(ms.net behaviour, testcase is in DataColumnTest).
* DataRow.cs : Evaluate DataColumn.Expression when such a column's value is
requested.
svn path=/trunk/mcs/; revision=24879
Gonzalo Paniagua Javier [Wed, 31 Mar 2004 20:38:07 +0000 (20:38 -0000)]
2004-03-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gc.c: only close the done_event handle if there was no timeout.
C-ified comments.
svn path=/trunk/mono/; revision=24878
César Natarén [Wed, 31 Mar 2004 20:33:29 +0000 (20:33 -0000)]
2004-03-31 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* FunctionDeclaration.cs: agrouped code for setting custom attribute.
svn path=/trunk/mcs/; revision=24877
Andreas N [Wed, 31 Mar 2004 20:11:12 +0000 (20:11 -0000)]
2004-03-31 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.Runtime.Remoting.dll.sources: Added:
AssemblyInfo and Locale
svn path=/trunk/mcs/; revision=24876
Andreas N [Wed, 31 Mar 2004 20:10:52 +0000 (20:10 -0000)]
2004-03-31 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added
svn path=/trunk/mcs/; revision=24875
Andreas N [Wed, 31 Mar 2004 20:10:01 +0000 (20:10 -0000)]
2004-03-31 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.Runtime.Serialization.Formatters.Soap.dll.sources:
Added new AssemblyInfo, removed old one, added Locale.cs
* Makefile: Removed unused ref
svn path=/trunk/mcs/; revision=24874
Andreas N [Wed, 31 Mar 2004 20:08:35 +0000 (20:08 -0000)]
removed
svn path=/trunk/mcs/; revision=24873
Sebastien Pouliot [Wed, 31 Mar 2004 19:57:11 +0000 (19:57 -0000)]
2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
* corlib.dll.sources: Added Mono.Security/StrongNameManager.cs.
svn path=/trunk/mcs/; revision=24872
César Natarén [Wed, 31 Mar 2004 19:52:25 +0000 (19:52 -0000)]
2004-03-31 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* expression.cs: added Modulo operator case.
svn path=/trunk/mcs/; revision=24871
Sebastien Pouliot [Wed, 31 Mar 2004 19:52:07 +0000 (19:52 -0000)]
2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
* StrongName.cs: Removed #if for NET_1_2
svn path=/trunk/mcs/; revision=24870
Sebastien Pouliot [Wed, 31 Mar 2004 19:50:40 +0000 (19:50 -0000)]
2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
* StrongNameManager.cs: Synched with corlib version (updated graphic).
svn path=/trunk/mcs/; revision=24869
Sebastien Pouliot [Wed, 31 Mar 2004 19:48:32 +0000 (19:48 -0000)]
2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
* StrongName.cs: Update to include new static method that can be
called from the runtime to validate strongname signatures.
Refactored the existing class to reduce code duplication.
svn path=/trunk/mcs/; revision=24868
Juraj Skripsky [Wed, 31 Mar 2004 19:29:19 +0000 (19:29 -0000)]
2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
* Parser.jay, ColumnReference.cs, Comparison.cs, Functions.cs,
Aggregation.cs : fix bugs exposed by DataColumnTest.cs.
svn path=/trunk/mcs/; revision=24867
Juraj Skripsky [Wed, 31 Mar 2004 19:27:53 +0000 (19:27 -0000)]
2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
* DataColumnTest.cs : fixes here and there,
make all tests pass on ms.net.
svn path=/trunk/mcs/; revision=24866
Sebastien Pouliot [Wed, 31 Mar 2004 19:11:00 +0000 (19:11 -0000)]
2004-03-31 Sebastien Pouliot <sebastien@ximian.com>
* StrongName.cs: Update to include new static method that can be
called from the runtime to validate strongname signatures.
Refactored the existing class to reduce code duplication.
* StrongNameManager.cs: New. This class keeps the configuration
required to map a public key token to an alternative public key
(e.g. ECMA public key token -> Mono public key) and to skip
strongname validation for specific assemblies/token/users.
svn path=/trunk/mcs/; revision=24865