Martin Weindel [Sun, 14 Oct 2001 18:28:54 +0000 (18:28 -0000)]
Tests for System.Decimal
svn path=/trunk/mcs/; revision=1161
Martin Weindel [Sun, 14 Oct 2001 18:27:32 +0000 (18:27 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=1160
Martin Weindel [Sun, 14 Oct 2001 18:26:04 +0000 (18:26 -0000)]
added Decimal.cs and DecimalFormatter.cs
svn path=/trunk/mcs/; revision=1159
Miguel de Icaza [Fri, 12 Oct 2001 18:52:18 +0000 (18:52 -0000)]
2001-10-12 Miguel de Icaza <miguel@ximian.com>
* expression.cs: PropertyExpr::PropertyExpr: use work around the
SRE.
* typemanager.cs: Keep track here of our PropertyBuilders again to
work around lameness in SRE.
svn path=/trunk/mcs/; revision=1158
Miguel de Icaza [Fri, 12 Oct 2001 14:18:21 +0000 (14:18 -0000)]
2001-10-11 Miguel de Icaza <miguel@ximian.com>
* expression.cs (LValue::LValueResolve): New method in the
interface, used to perform a second resolution pass for LValues.
(This::DoResolve): Catch the use of this in static methods.
(This::LValueResolve): Implement.
(This::Store): Remove warning, assigning to `this' in structures
is
svn path=/trunk/mcs/; revision=1157
Miguel de Icaza [Fri, 12 Oct 2001 14:13:12 +0000 (14:13 -0000)]
Make it compile
svn path=/trunk/mcs/; revision=1156
Ravi Pratap M [Fri, 12 Oct 2001 11:28:02 +0000 (11:28 -0000)]
2001-10-12 Ravi Pratap <ravi@ximian.com>
* test-21.cs : Update to actually do some checking and return
an appropriate value.
svn path=/trunk/mcs/; revision=1155
Paolo Molaro [Fri, 12 Oct 2001 10:32:09 +0000 (10:32 -0000)]
Fixed test cases.
svn path=/trunk/mono/; revision=1154
Miguel de Icaza [Fri, 12 Oct 2001 01:24:02 +0000 (01:24 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=1153
Jeffrey Stedfast [Thu, 11 Oct 2001 23:27:11 +0000 (23:27 -0000)]
added StringTest.cs
svn path=/trunk/mcs/; revision=1152
Jeffrey Stedfast [Thu, 11 Oct 2001 23:26:24 +0000 (23:26 -0000)]
2001-10-11 Jeffrey Stedfast <fejj@ximian.com>
* System/StringTest.cs: Added.
svn path=/trunk/mcs/; revision=1151
Mario Carrion [Thu, 11 Oct 2001 18:56:17 +0000 (18:56 -0000)]
Adding tests for the basic integer structs
svn path=/trunk/mcs/; revision=1150
Miguel de Icaza [Thu, 11 Oct 2001 18:21:25 +0000 (18:21 -0000)]
Initial import on the Mono BASIC patchs from Rafael
svn path=/trunk/mcs/; revision=1149
Miguel de Icaza [Thu, 11 Oct 2001 18:12:12 +0000 (18:12 -0000)]
Add files from MonoBASIC compiler
svn path=/trunk/mcs/; revision=1148
Miguel de Icaza [Thu, 11 Oct 2001 18:02:55 +0000 (18:02 -0000)]
2001-10-11 Miguel de Icaza <miguel@ximian.com>
* expression.cs (Invocation::Emit): Deal with invocation of
methods on value types. We need to pass the address to structure
methods rather than the object itself. (The equivalent code to
emit "this" for structures leaves the entire structure on the
stack instead of a pointer to it).
(ParameterReference::DoResolve): Compute the real index for the
argument based on whether the method takes or not a `this' pointer
(ie, the method is static).
* codegen.cs (EmitContext::GetTemporaryStorage): Used to store
value types returned from functions when we need to invoke a
method on the sturcture.
svn path=/trunk/mcs/; revision=1147
Thomas Neidhart [Thu, 11 Oct 2001 17:00:20 +0000 (17:00 -0000)]
* added sorting support for ByMaintainer.xsl
and ByNamespace.xsl
svn path=/trunk/mono/; revision=1146
Ravi Pratap M [Thu, 11 Oct 2001 16:46:46 +0000 (16:46 -0000)]
2001-10-11 Ravi Pratap <ravi@ximian.com>
* class.cs (TypeContainer::DefineType): Method to actually do the business of
defining the type in the Modulebuilder or Typebuilder. This is to take
care of nested types which need to be defined on the TypeBuilder using
DefineNestedMethod.
(TypeContainer::GetClassBases): Implement. Essentially the code from the
methods in RootContext, only ported to be part of TypeContainer.
(TypeContainer::GetInterfaceOrClass): Ditto.
(TypeContainer::LookupInterfaceOrClass, ::MakeFQN): Ditto.
* interface.cs (Interface::DefineInterface): New method. Does exactly
what RootContext.CreateInterface did earlier, only it takes care of nested types
too.
(Interface::GetInterfaces): Move from RootContext here and port.
(Interface::GetInterfaceByName): Same here.
* rootcontext.cs (ResolveTree): Re-write.
(PopulateTypes): Re-write.
* class.cs (TypeContainer::Populate): Populate nested types too.
(TypeContainer::Emit): Emit nested members too.
* typemanager.cs (AddUserType): Do not make use of the FullName property,
instead just use the name argument passed in as it is already fully
qualified.
(FindMembers): Check in the Builders to TypeContainer mapping instead of the name
to TypeContainer mapping to see if a type is user-defined.
* class.cs (TypeContainer::CloseType): Implement.
(TypeContainer::DefineDefaultConstructor): Use Basename, not Name while creating
the default constructor.
(TypeContainer::Populate): Fix minor bug which led to creating default constructors
twice.
(Constructor::IsDefault): Fix up logic to determine if it is the default constructor
* interface.cs (CloseType): Create the type here.
* rootcontext.cs (CloseTypes): Re-write to recursively close types by running through
the hierarchy.
Remove all the methods which are now in TypeContainer.
2001-10-10 Ravi Pratap <ravi@ximian.com>
* delegate.cs (Define): Re-write bits to define the delegate
correctly.
svn path=/trunk/mcs/; revision=1145
Ravi Pratap M [Thu, 11 Oct 2001 16:39:44 +0000 (16:39 -0000)]
Actually add the file this time :-)
svn path=/trunk/mcs/; revision=1144
Ravi Pratap M [Thu, 11 Oct 2001 16:38:03 +0000 (16:38 -0000)]
2001-10-11 Ravi Pratap <ravi@ximian.com>
* test-21.cs : Add. This is a test for testing our support
for nested types
svn path=/trunk/mcs/; revision=1143
Thomas Neidhart [Thu, 11 Oct 2001 15:56:27 +0000 (15:56 -0000)]
* updated class status
svn path=/trunk/mono/; revision=1142
Thomas Neidhart [Thu, 11 Oct 2001 15:30:20 +0000 (15:30 -0000)]
* Initial versions of several classes, including
DSA base classes and CSP base classes
svn path=/trunk/mcs/; revision=1141
Thomas Neidhart [Thu, 11 Oct 2001 15:24:19 +0000 (15:24 -0000)]
* Convert.cs: added Base64 converting methods
svn path=/trunk/mcs/; revision=1140
Dietmar Maurer [Thu, 11 Oct 2001 04:25:07 +0000 (04:25 -0000)]
more documentation
svn path=/trunk/mono/; revision=1138
Derek Holden [Wed, 10 Oct 2001 19:03:41 +0000 (19:03 -0000)]
IntegerFormatter test
svn path=/trunk/mcs/; revision=1137
Derek Holden [Wed, 10 Oct 2001 19:02:42 +0000 (19:02 -0000)]
out of range error on FormatGeneral for uints
svn path=/trunk/mcs/; revision=1136
Thomas Neidhart [Wed, 10 Oct 2001 17:26:22 +0000 (17:26 -0000)]
* added directory Test/System.Security.Cryptography
* added TestSuite for all Crypto classes
* added tests for AsymmetricAlgorithm & SymmetricAlgorithm
svn path=/trunk/mcs/; revision=1135
Derek Holden [Wed, 10 Oct 2001 15:36:11 +0000 (15:36 -0000)]
percision -> precision in 446 places
svn path=/trunk/mcs/; revision=1134
Paolo Molaro [Wed, 10 Oct 2001 10:11:17 +0000 (10:11 -0000)]
Wed Oct 10 16:07:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
* x86/x86-codegen.c: added x86_set_{reg,mem,membase}.
svn path=/trunk/mono/; revision=1133
Derek Holden [Wed, 10 Oct 2001 08:05:59 +0000 (08:05 -0000)]
updated
svn path=/trunk/mcs/; revision=1132
Derek Holden [Wed, 10 Oct 2001 08:00:30 +0000 (08:00 -0000)]
ToString's now using IntegerFormatter
svn path=/trunk/mcs/; revision=1131
Derek Holden [Wed, 10 Oct 2001 07:57:45 +0000 (07:57 -0000)]
ToString formatter for integral types
svn path=/trunk/mcs/; revision=1130
Dietmar Maurer [Wed, 10 Oct 2001 07:51:37 +0000 (07:51 -0000)]
*** empty log message ***
svn path=/trunk/mono/; revision=1129
Dietmar Maurer [Wed, 10 Oct 2001 07:47:05 +0000 (07:47 -0000)]
2001-10-10 Dietmar Maurer <dietmar@ximian.com>
* interp.c (get_virtual_method): use the vtable
* metadata.c (mono_metadata_interfaces_from_typedef): also return the
number of interfaces.
* class.h: merged MonoArrayClass into MonoClass
* class.c (mono_class_create_from_typedef): compute the vtable size and
allocate space to include the vtable inside MonoClass
(mono_class_metadata_init): initialize the vtable
svn path=/trunk/mono/; revision=1128
Ravi Pratap M [Wed, 10 Oct 2001 03:43:32 +0000 (03:43 -0000)]
Fix up test-7.cs to use a double instead of float for explicit
conversion testing. We don;t parse float literals yet so ...
All tests pass again.
svn path=/trunk/mcs/; revision=1127
Miguel de Icaza [Wed, 10 Oct 2001 02:36:47 +0000 (02:36 -0000)]
2001-10-10 Miguel de Icaza <miguel@ximian.com>
* makefile: Renamed the compiler to `mcs.exe' instead of compiler.exe
* expression.cs (ImplicitReferenceConversion): handle null as well
as a source to convert to any reference type.
* statement.cs (Return): Perform any implicit conversions to
expected return type.
Validate use of return statement.
* codegen.cs (EmitContext): Pass the expected return type here.
* class.cs (Method, Constructor, Property): Pass expected return
type to EmitContext.
2001-10-09 Miguel de Icaza <miguel@ximian.com>
* expression.cs: Make DoResolve take an EmitContext instead of a
TypeContainer.
Replaced `l' and `location' for `loc', for consistency.
(Error, Warning): Remove unneeded Tc argument.
* assign.cs, literal.cs, constant.cs: Update to new calling
convention.
* codegen.cs: EmitContext now contains a flag indicating whether
code is being generated in a static method or not.
* cs-parser.jay: DecomposeQI, new function that replaces the old
QualifiedIdentifier. Now we always decompose the assembled
strings from qualified_identifier productions into a group of
memberaccesses.
2001-10-08 Miguel de Icaza <miguel@ximian.com>
* rootcontext.cs: Deal with field-less struct types correctly now
by passing the size option to Define Type.
* class.cs: Removed hack that created one static field.
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* statement.cs: Moved most of the code generation here.
svn path=/trunk/mcs/; revision=1126
Derek Holden [Tue, 9 Oct 2001 21:35:45 +0000 (21:35 -0000)]
Small typo in PercentPositivePattern and CurrencyPositivePattern
svn path=/trunk/mcs/; revision=1125
Paolo Molaro [Tue, 9 Oct 2001 10:28:29 +0000 (10:28 -0000)]
Missing file: this is what you get working on holidays :-(
svn path=/trunk/mono/; revision=1124
Ravi Pratap M [Tue, 9 Oct 2001 02:55:28 +0000 (02:55 -0000)]
2001-10-09 Ravi Pratap <ravi@ximian.com>
* expression.cs (New::DoResolve): Revert changes for array creation, doesn't
seem very right.
(ElementAccess): Remove useless bits for now - keep checks as the spec
says.
svn path=/trunk/mcs/; revision=1123
Paolo Molaro [Mon, 8 Oct 2001 14:33:48 +0000 (14:33 -0000)]
Mon Oct 8 20:27:50 CEST 2001 Paolo Molaro <lupus@ximian.com>
* configure.in: define NO_UNALIGNED_ACCESS for platforms that
can't read on unaligned boundaries
Mon Oct 8 16:12:38 CEST 2001 Paolo Molaro <lupus@ximian.com>
* metadata.c, metadata.h: use MonoArrayType to describe the shape of an array.
Guard against calling bsearch with a NULL pointer (pointed out by Laurent Rioux, smoux).
* image.c: endian fixes by Laurent Rioux.
* object.h, object.c: rename MonoStringObject to MonoString and
MonoArrayObject to MonoArray. Change some function names to conform to
the style mono_<object>_<action>. mono_string_new_utf16 () takes a
guint16* as first argument, so don't use char*.
Provide macros to do the interesting things on arrays in a portable way.
* threads-pthread.c: updates for the API changes and #include <sched.h>
(required for sched_yield()).
* icall.c: updates for the API changes above.
* Makefile.am, mono-endian.c. mono-endian.h: include unaligned read routines for
platforms that need them.
Mon Oct 8 16:13:55 CEST 2001 Paolo Molaro <lupus@ximian.com>
* get.c, get.h: MonoArray changed in MonoArrayType.
* main.c: guard against calling bsearch with a NULL pointer
(pointed out by Laurent Rioux, smoux).
Mon Oct 8 16:13:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
* x86/tramp.c: remove mono_get_ansi_string () and use
mono_string_to_utf8 () instead.
Mon Oct 8 16:14:40 CEST 2001 Paolo Molaro <lupus@ximian.com>
* interp.c: use the accessors provided in object.h to deal with
MonoArrays. Updates for API renames in metadata. Throw exception
in ldelema if index is out of bounds.
svn path=/trunk/mono/; revision=1122
Ravi Pratap M [Mon, 8 Oct 2001 13:02:52 +0000 (13:02 -0000)]
2001-10-07 Ravi Pratap <ravi@ximian.com>
* cs-parser.jay (type_suffix*): Remove - they are redundant. Use
rank_specifiers instead.
(rank_specifiers): Change the order in which the rank specifiers are stored
(local_variable_declaration): Use opt_rank_specifier instead of type_suffixes.
* expression.cs (ElementAccess): Implement the LValue interface too.
2001-10-06 Ravi Pratap <ravi@ximian.com>
* expression.cs (ConvertExplicitStandard): Add. Same as ConvertExplicit
except that user defined conversions are not included.
(UserDefinedConversion): Update to use the ConvertExplicitStandard to
perform the conversion of the return type, if necessary.
(New::DoResolve): Check whether we are creating an array or an object
and accordingly do the needful.
(New::Emit): Same here.
(New::DoResolve): Implement guts of array creation.
(New::FormLookupType): Helper function.
svn path=/trunk/mcs/; revision=1121
Paolo Molaro [Mon, 8 Oct 2001 12:02:19 +0000 (12:02 -0000)]
Added copyright notices.
svn path=/trunk/mcs/; revision=1120
Dick Porter [Mon, 8 Oct 2001 09:28:07 +0000 (09:28 -0000)]
Fixed syntax errors
svn path=/trunk/mcs/; revision=1119
Paolo Molaro [Mon, 8 Oct 2001 04:48:43 +0000 (04:48 -0000)]
Mon Oct 8 10:43:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
* class.c: set the correct type for all the fundamental
type when loading the class.
Mon Oct 8 10:44:25 CEST 2001 Paolo Molaro <lupus@ximian.com>
* interp.c: fixes for changes in metadata.
svn path=/trunk/mono/; revision=1118
Miguel de Icaza [Sun, 7 Oct 2001 21:01:57 +0000 (21:01 -0000)]
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* codegen.cs: Added support for try/catch/finalize and throw.
* cs-parser.jay: Added support for try/catch/finalize.
svn path=/trunk/mcs/; revision=1117
Miguel de Icaza [Sun, 7 Oct 2001 02:13:01 +0000 (02:13 -0000)]
Add AllTests file from Mario
svn path=/trunk/mcs/; revision=1115
Miguel de Icaza [Sun, 7 Oct 2001 01:54:54 +0000 (01:54 -0000)]
Make the build pass
svn path=/trunk/mcs/; revision=1114
Miguel de Icaza [Sun, 7 Oct 2001 01:39:01 +0000 (01:39 -0000)]
Some warning reduction:
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* Exception.cs: Implement bits of serialization.
* RuntimeFieldHandle.cs: Implement Serialization features.
* Type.cs: Implement TypeHandle property.
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* AssemblyBuilder.cs: Reformatted.
Added override keywords to those that needed them.
Removed methods that we do not override, but just inherit
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* Encoding.cs, UTF8Encoding.cs, UTF7Encoding.cs, ASCIIEncoding.cs,
UnicodeEncoding.cs: Corrected API.
* UTF8Encoding.cs: Checked in changes from Rafael.
svn path=/trunk/mcs/; revision=1113
Miguel de Icaza [Sun, 7 Oct 2001 00:36:47 +0000 (00:36 -0000)]
Added updated UTF8Encoding from Rafael
svn path=/trunk/mcs/; revision=1111
Miguel de Icaza [Sun, 7 Oct 2001 00:23:41 +0000 (00:23 -0000)]
Update TODO
svn path=/trunk/mcs/; revision=1110
Miguel de Icaza [Sun, 7 Oct 2001 00:12:49 +0000 (00:12 -0000)]
2001-10-07 Miguel de Icaza <miguel@ximian.com>
* expression.cs (UserCast): This user cast was not really doing
what it was supposed to do. Which is to be born in fully resolved
state. Parts of the resolution were being performed at Emit time!
Fixed this code.
svn path=/trunk/mcs/; revision=1109
Thomas Neidhart [Sat, 6 Oct 2001 19:04:22 +0000 (19:04 -0000)]
* updated status
svn path=/trunk/mono/; revision=1108
Thomas Neidhart [Sat, 6 Oct 2001 17:25:25 +0000 (17:25 -0000)]
* AsymmetricAlgorithm.cs: Initial version
* AsymmetricKeyExchangeDeformatter.cs: Initial version
* AsymmetricKeyExchangeFormatter.cs: Initial version
* AsymmetricSignatureDeformatter.cs: Initial version
* AsymmetricSignatureFormatter.cs: Initial version
* PaddingMode.cs: Added PaddingMode.None
* SignatureDescription.cs: Initial version
* SymmetricAlgorithm.cs: Implemented CreateDecryptor, CreateEncryptor and Create() methods
svn path=/trunk/mcs/; revision=1107
Dick Porter [Sat, 6 Oct 2001 06:14:04 +0000 (06:14 -0000)]
Fixed thinko in usec/nsec time compare in pthread_mutex_timedlock()
svn path=/trunk/mono/; revision=1106
Thomas Neidhart [Sat, 6 Oct 2001 05:40:36 +0000 (05:40 -0000)]
SymmetricAlgorithm.cs: Implemented CreateDecryptor and CreateEncryptor methods
CryptographicException.cs: Initial version
CryptographicUnknownOperationException.cs: Initial version
svn path=/trunk/mcs/; revision=1105
Miguel de Icaza [Fri, 5 Oct 2001 21:13:47 +0000 (21:13 -0000)]
Work to get foreach working and analyzed.
ChangeLog comming later
svn path=/trunk/mcs/; revision=1103
Miguel de Icaza [Fri, 5 Oct 2001 17:03:10 +0000 (17:03 -0000)]
2001-10-05 Miguel de Icaza <miguel@ximian.com>
* expression.cs: Implicity convert the result from UserCast.
Include the test from Ravi that exhibits the bug.
New classes from Toelen.
svn path=/trunk/mcs/; revision=1102
Miguel de Icaza [Fri, 5 Oct 2001 16:09:01 +0000 (16:09 -0000)]
More files from Toelen
svn path=/trunk/mcs/; revision=1101
Ravi Pratap M [Fri, 5 Oct 2001 15:46:29 +0000 (15:46 -0000)]
2001-10-05 Ravi Pratap <ravi@ximian.com>
* expression.cs (Expression::FindMostEncompassingType): Fix bug which
prevented it from working correctly.
(ConvertExplicit): Make the first try, a call to ConvertImplicitStandard, not
merely ConvertImplicit.
svn path=/trunk/mcs/; revision=1100
Ravi Pratap M [Fri, 5 Oct 2001 15:41:21 +0000 (15:41 -0000)]
2001-10-05 Ravi Pratap <ravi@ximian.com>
* test-16.cs : Update to exercise the code which selects the best
conversion operator based on "most encompassing/encompassed type"
* test-7.cs : Update here too.
svn path=/trunk/mcs/; revision=1099
Miguel de Icaza [Fri, 5 Oct 2001 15:01:37 +0000 (15:01 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=1098
Dick Porter [Fri, 5 Oct 2001 12:44:18 +0000 (12:44 -0000)]
Updated status
svn path=/trunk/mono/; revision=1097
Dick Porter [Fri, 5 Oct 2001 12:15:07 +0000 (12:15 -0000)]
2001-10-05 Dick Porter <dick@ximian.com>
* threads-pthread.c (pthread_mutex_timedlock): Simple
compatibility version for C libraries that lack this call.
svn path=/trunk/mono/; revision=1096
Miguel de Icaza [Fri, 5 Oct 2001 11:14:03 +0000 (11:14 -0000)]
Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1094
Miguel de Icaza [Fri, 5 Oct 2001 11:07:40 +0000 (11:07 -0000)]
Add new files from Chris Hynes
svn path=/trunk/mcs/; revision=1093
Miguel de Icaza [Fri, 5 Oct 2001 10:54:02 +0000 (10:54 -0000)]
More News Items
svn path=/trunk/mono/; revision=1092
Ravi Pratap M [Fri, 5 Oct 2001 08:39:39 +0000 (08:39 -0000)]
2001-10-05 Ravi Pratap <ravi@ximian.com>
* expression.cs (Expression::ImplicitUserConversion): Rename to
UserDefinedConversion.
(Expression::UserDefinedConversion): Take an extra argument specifying
whether we look for explicit user conversions too.
(Expression::ImplicitUserConversion): Make it a call to UserDefinedConversion.
(UserDefinedConversion): Incorporate support for user defined explicit conversions.
(ExplicitUserConversion): Make it a call to UserDefinedConversion
with the appropriate arguments.
* cs-parser.jay (cast_expression): Record location too.
* expression.cs (Cast): Record location info.
(Expression::ConvertExplicit): Take location argument.
(UserImplicitCast): Change name to UserCast. Take an extra constructor argument
to determine if we are doing explicit conversions.
(UserCast::Emit): Update accordingly.
(Expression::ConvertExplicit): Report an error if everything fails.
* ../errors/cs0030.cs : Add.
svn path=/trunk/mcs/; revision=1091
Ravi Pratap M [Fri, 5 Oct 2001 08:37:06 +0000 (08:37 -0000)]
2001-10-05 Ravi Pratap <ravi@ximian.com>
* test-7.cs : Update to do explicit conversion tests.
* makefile : small fix.
svn path=/trunk/mcs/; revision=1090
Ravi Pratap M [Fri, 5 Oct 2001 08:35:28 +0000 (08:35 -0000)]
Add a file for error CS0030
svn path=/trunk/mcs/; revision=1089
Dietmar Maurer [Fri, 5 Oct 2001 05:03:42 +0000 (05:03 -0000)]
more tests
svn path=/trunk/mono/; revision=1088
Miguel de Icaza [Fri, 5 Oct 2001 02:03:44 +0000 (02:03 -0000)]
Updated
svn path=/trunk/mono/; revision=1087
Miguel de Icaza [Fri, 5 Oct 2001 01:52:52 +0000 (01:52 -0000)]
More News Items
svn path=/trunk/mono/; revision=1086
Miguel de Icaza [Fri, 5 Oct 2001 01:49:16 +0000 (01:49 -0000)]
Added SymmetricAlgorithm from Thomas Neidhart
svn path=/trunk/mcs/; revision=1085
Miguel de Icaza [Thu, 4 Oct 2001 21:39:50 +0000 (21:39 -0000)]
2001-10-04 Miguel de Icaza <miguel@ximian.com>
* modifiers.cs: If the ABSTRACT keyword is present, also set the
virtual and newslot bits.
svn path=/trunk/mcs/; revision=1082
Miguel de Icaza [Thu, 4 Oct 2001 21:29:13 +0000 (21:29 -0000)]
Update todo
svn path=/trunk/mcs/; revision=1081
Miguel de Icaza [Thu, 4 Oct 2001 21:24:28 +0000 (21:24 -0000)]
2001-10-04 Miguel de Icaza <miguel@ximian.com>
* class.cs (TypeContainer::RegisterRequiredImplementations):
Record methods we need.
(TypeContainer::MakeKey): Helper function to make keys for
MethodBases, since the Methodbase key is useless.
(TypeContainer::Populate): Call RegisterRequiredImplementations
before defining the methods.
Create a mapping for method_builders_to_methods ahead of time
instead of inside a tight loop.
(::RequireMethods): Accept an object as the data to set into the
hashtable so we can report interface vs abstract method mismatch.
svn path=/trunk/mcs/; revision=1080
Miguel de Icaza [Thu, 4 Oct 2001 21:21:13 +0000 (21:21 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=1079
Miguel de Icaza [Thu, 4 Oct 2001 20:34:02 +0000 (20:34 -0000)]
Add more errors, and fix some error tests
svn path=/trunk/mcs/; revision=1077
Miguel de Icaza [Thu, 4 Oct 2001 17:51:34 +0000 (17:51 -0000)]
Flush
svn path=/trunk/mcs/; revision=1075
Miguel de Icaza [Thu, 4 Oct 2001 17:47:44 +0000 (17:47 -0000)]
UPdate web page
svn path=/trunk/mono/; revision=1074
Dick Porter [Thu, 4 Oct 2001 14:27:02 +0000 (14:27 -0000)]
Temporary kludge to work around older linuxthreads implementations that
are missing pthread_mutex_timedlock()
svn path=/trunk/mono/; revision=1073
Paolo Molaro [Thu, 4 Oct 2001 13:34:37 +0000 (13:34 -0000)]
Updates and fixes.
svn path=/trunk/mcs/; revision=1072
Paolo Molaro [Thu, 4 Oct 2001 13:32:23 +0000 (13:32 -0000)]
Thu Oct 4 19:10:30 CEST 2001 Paolo Molaro <lupus@ximian.com>
* class.c: MonoTypes stored in MonoClass are stored as
fundamental MonoTypes when the class represents a
fundamental type (System.Int32, ...).
The TypeHandle return by ldtoken is a MonoType*.
* icall.c: ves_icall_get_data_chunk () write out all the
PE/COFF stuff. Implement ves_icall_define_method (),
ves_icall_set_method_body (), ves_icall_type_from_handle ().
* image.c: properly skip unknown streams.
* loader.h, loader.c: add type_class to mono_defaults.
* metadata.c, metadata.h: export compute_size () as
mono_metadata_compute_size () with a better interface.
Typo and C&P fixes.
* pedump.c: don't try to print the entry point RVA if there is no entry point.
* reflection.c, reflection.h: many cleanups, fixes, output method
signatures and headers, typedef and typeref info, compress the metadata
tables, output all the heap streams, cli header etc.
* row-indexes.h: typo fixes.
Thu Oct 4 19:09:13 CEST 2001 Paolo Molaro <lupus@ximian.com>
* x86/tramp.c: allow marshalling valuetypes if they are
4 bytes long.
Thu Oct 4 19:05:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
* dis-cil.c: fix printing of exception stuff.
* dump.c: display some more info in the typedef table dump.
* main.c: typo fix and method list fix.
svn path=/trunk/mono/; revision=1071
Dick Porter [Thu, 4 Oct 2001 09:44:14 +0000 (09:44 -0000)]
2001-10-03 Dick Porter <dick@ximian.com>
* Monitor.cs: Implemented all methods except the two Wait()
methods that take boolean parameters
svn path=/trunk/mcs/; revision=1070
Dick Porter [Thu, 4 Oct 2001 09:43:37 +0000 (09:43 -0000)]
2001-10-04 Dick Porter <dick@ximian.com>
* configure.in: Do some deeper checks on pthreads for some of the
more interesting functions
2001-10-04 Dick Porter <dick@ximian.com>
* object.h: Add a synchronisation mutex struct to MonoObject
* object.c (mono_new_object): Initialise the object
synchronisation mutexes
* icall.c: System.Threading.Monitor internal calls
* threads-pthread.h:
* threads-pthread.c: System.Threading.Monitor internal calls
* threads-types.h: New file, includes the system-specific thread
structures
* threads-pthread-types.h:
* threads-pthread-types.c: New files, handle pthread-specific
synchronisation types
* threads-dummy-types.h:
* threads-dummy-types.c: New files of dummy support for
thread-specific types
* metadata.c:
* image.c:
* pedump.c: include mono-endian.h not endian.h
* Makefile.am: More threads files.
Name mono-endian.h not endian.h
2001-10-04 Dick Porter <dick@ximian.com>
* meta.h: include mono-endian.h not endian.h
2001-10-04 Dick Porter <dick@ximian.com>
* interp.c (ves_runtime_method): init_class() the
mono_defaults.delegate_class
Include mono-endian.h not endian.h
2001-10-04 Dick Porter <dick@ximian.com>
* testjit.c:
* emit-x86.c: include mono-endian.h not endian.h
svn path=/trunk/mono/; revision=1069
Miguel de Icaza [Wed, 3 Oct 2001 21:37:52 +0000 (21:37 -0000)]
Flush
svn path=/trunk/mcs/; revision=1068
Miguel de Icaza [Wed, 3 Oct 2001 14:27:05 +0000 (14:27 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=1067
Ravi Pratap M [Wed, 3 Oct 2001 14:10:23 +0000 (14:10 -0000)]
2001-10-03 Ravi Pratap <ravi@ximian.com>
* test-16.cs : Update to make the test more correct.
svn path=/trunk/mcs/; revision=1066
Ravi Pratap M [Wed, 3 Oct 2001 13:04:16 +0000 (13:04 -0000)]
2001-10-03 Ravi Pratap <ravi@ximian.com>
* expression.cs (Binary::DoNumericPromotions): Fix the case when
we do a forcible conversion regardless of type, to check if
ForceConversion returns a null.
(Binary::error19): Use location to report error.
(Unary::error23): Use location here too.
* ../errors/cs0019.cs : Check in.
* ../errors/cs0023.cs : Check in.
* expression.cs (Expression.MemberLookup): Return null for a rather esoteric
case of a non-null MethodInfo object with a length of 0 !
(Binary::ResolveOperator): Flag error if overload resolution fails to find
an applicable member - according to the spec :-)
Also fix logic to find members in base types.
(Unary::ResolveOperator): Same here.
(Unary::report23): Change name to error23 and make first argument a TypeContainer
as I was getting thoroughly confused between this and error19 :-)
* expression.cs (Expression::ImplicitUserConversion): Re-write fully
(::FindMostEncompassedType): Implement.
(::FindMostEncompassingType): Implement.
(::StandardConversionExists): Implement.
(UserImplicitCast): Re-vamp. We now need info about most specific
source and target types so that we can do the necessary conversions.
(Invocation::MakeUnionSet): Completely re-write to make sure we form a proper
mathematical union with no duplicates.
svn path=/trunk/mcs/; revision=1065
Ravi Pratap M [Wed, 3 Oct 2001 13:01:18 +0000 (13:01 -0000)]
Added files for errors CS0019 and CS0023
svn path=/trunk/mcs/; revision=1064
Ravi Pratap M [Wed, 3 Oct 2001 12:59:16 +0000 (12:59 -0000)]
2001-10-03 Ravi Pratap <ravi@ximian.com>
* test-16.cs : Add.
* makefile : update accordingly.
svn path=/trunk/mcs/; revision=1063
Dietmar Maurer [Wed, 3 Oct 2001 10:04:41 +0000 (10:04 -0000)]
another test (does not work at the moment)
svn path=/trunk/mono/; revision=1062
Dietmar Maurer [Wed, 3 Oct 2001 02:28:04 +0000 (02:28 -0000)]
2001-10-02 Dietmar Maurer <dietmar@ximian.com>
* get.c (get_method): always write namespace and class name.
svn path=/trunk/mono/; revision=1061
Miguel de Icaza [Wed, 3 Oct 2001 01:26:24 +0000 (01:26 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=1060
Paolo Molaro [Tue, 2 Oct 2001 14:42:07 +0000 (14:42 -0000)]
Tue Oct 2 20:33:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
* Makefile.am, reflection.h, reflection.c: move here the reflection related
stuff and implement a few more bits.
* icall.c: a field needs to be dereferenced twice. Do not use the same
name for two variables in the same scope.
* image.c, image.h: cleanups.
svn path=/trunk/mono/; revision=1059
Miguel de Icaza [Tue, 2 Oct 2001 13:52:13 +0000 (13:52 -0000)]
Add new test
svn path=/trunk/mcs/; revision=1058
Martin Weindel [Tue, 2 Oct 2001 13:31:45 +0000 (13:31 -0000)]
added tests for System.Int64
svn path=/trunk/mcs/; revision=1057
Miguel de Icaza [Tue, 2 Oct 2001 13:05:15 +0000 (13:05 -0000)]
Add more tests
svn path=/trunk/mcs/; revision=1056
Miguel de Icaza [Tue, 2 Oct 2001 13:00:47 +0000 (13:00 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=1055
Paolo Molaro [Tue, 2 Oct 2001 12:55:21 +0000 (12:55 -0000)]
Tue Oct 2 18:51:25 CEST 2001 Paolo Molaro <lupus@ximian.com>
* interp.c: set frame->ip in the leave opcode. Make db_methods static.
svn path=/trunk/mono/; revision=1054
Dietmar Maurer [Tue, 2 Oct 2001 06:52:58 +0000 (06:52 -0000)]
2001-10-02 Dietmar Maurer <dietmar@ximian.com>
* testjit.c (ctree_create_dup): really duplicate the tree.
attach the arguments to the CALL node. Added a neiw macro to
make argument order configurable (ARCH_ARGS_RIGHT_TO_LEFT).
svn path=/trunk/mono/; revision=1053