mono.git
22 years agoMon Nov 19 11:37:14 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 19 Nov 2001 06:52:53 +0000 (06:52 -0000)]
Mon Nov 19 11:37:14 CET 2001 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: add mono_install_trampoline() so that the runtime
can register a function to create a trampoline: removes the ugly
requirement that a runtime needed to export arch_create_jit_trampoline.
* object.h, object.c: added mono_install_handler() so that the runtime
can install an handler for exceptions generated in C code (with
mono_raise_exception()). Added C struct for System.Delegate.
* pedump.c: removed arch_create_jit_trampoline.
* reflection.c: some cleanups to allow registering user strings and
later getting a token for methodrefs and fieldrefs before the assembly
is built.
* row-indexes.h: updates and fixes from the new ECMA specs.

Mon Nov 19 11:36:22 CET 2001 Paolo Molaro <lupus@ximian.com>

* jit.c: use mono_install_trampoline (), instead of exporting
a function to a lower-level library.

Mon Nov 19 11:33:00 CET 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: start adding support for handling exceptions across
managed/unmanaged boundaries. Cleanup Delegate method invocation.
Pass the correct target object in Delegate::Invoke and use the correct
'this' pointer in ldvirtftn (bugs pointed out by Dietmar).

Mon Nov 19 11:32:28 CET 2001 Paolo Molaro <lupus@ximian.com>

* main.c: remove arch_create_jit_trampoline().

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

22 years agoDocumentation updates
Miguel de Icaza [Mon, 19 Nov 2001 00:44:09 +0000 (00:44 -0000)]
Documentation updates

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

22 years agoLink to Gtk# site
Miguel de Icaza [Sun, 18 Nov 2001 17:57:29 +0000 (17:57 -0000)]
Link to Gtk# site

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

22 years ago2001-11-18 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 18 Nov 2001 10:17:16 +0000 (10:17 -0000)]
2001-11-18  Ravi Pratap  <ravi@ximian.com>

* expression.cs (ArrayCreation::ValidateInitializers): Update to perform
some type checking etc.

2001-11-17  Ravi Pratap  <ravi@ximian.com>

* expression.cs (ArrayCreation::ValidateInitializers): Implement
bits to provide dimension info is user skips doing that.

Update second constructor to store the rank correctly.

2001-11-16  Ravi Pratap  <ravi@ximian.com>

* expression.cs (ArrayCreation::ValidateInitializers): Poke around
and try to implement.

* ../errors/cs0150.cs : Add.

* ../errors/cs0178.cs : Add.

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

22 years agoAdd files for the 2 new errors.
Ravi Pratap M [Sun, 18 Nov 2001 10:14:58 +0000 (10:14 -0000)]
Add files for the 2 new errors.

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

22 years agoAdd test-43
Miguel de Icaza [Sat, 17 Nov 2001 11:50:52 +0000 (11:50 -0000)]
Add test-43

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

22 years agoMore cleanups
Miguel de Icaza [Sat, 17 Nov 2001 01:39:27 +0000 (01:39 -0000)]
More cleanups

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

22 years agoAdd love
Miguel de Icaza [Sat, 17 Nov 2001 01:36:49 +0000 (01:36 -0000)]
Add love

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

22 years agoFlush
Miguel de Icaza [Sat, 17 Nov 2001 01:23:34 +0000 (01:23 -0000)]
Flush

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

22 years ago2001-11-16 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 17 Nov 2001 01:16:14 +0000 (01:16 -0000)]
2001-11-16  Miguel de Icaza  <miguel@ximian.com>

* statement.cs: Implement foreach on multi-dimensional arrays.

* parameter.cs (Parameters.GetParameterByName): Also lookup the
name of the params argument.

* expression.cs: Use EmitStoreOpcode to get the right opcode while
initializing the array.

(ArrayAccess.EmitStoreOpcode): move the opcode generation here, so
we can use this elsewhere.

* statement.cs: Finish implementation of foreach for single
dimension arrays.

* cs-parser.jay: Use an out-of-band stack to pass information
around, I wonder why I need this.

foreach_block: Make the new foreach_block the current_block.

* parameter.cs (Parameters.GetEmptyReadOnlyParameters): New
function used to return a static Parameters structure.  Used for
empty parameters, as those are created very frequently.

* cs-parser.jay, class.cs: Use GetEmptyReadOnlyParameters

2001-11-16  Miguel de Icaza  <miguel@ximian.com>

* test-34.cs: Improve this test to check if we are actually
walking over the arguments in foreach.

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

22 years ago2001-11-16 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Fri, 16 Nov 2001 11:00:32 +0000 (11:00 -0000)]
2001-11-16            Gaurav Vaish <gvaish@iitk.ac.in>

* Calendar.cs         Unimplemented functions throw NotImplementedException

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

22 years ago2001-11-16 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 16 Nov 2001 10:56:52 +0000 (10:56 -0000)]
2001-11-16  Dietmar Maurer  <dietmar@ximian.com>

* x86.brg (STRING_ARG): impl. a way to marshal strings. This
will be extensible to handle all possible kinds of marshalling
requirements.

* jit.c (map_call_type): added MB_TERM_CALL_VOID
(mono_analyze_stack): impl. LDELEMA, reimplemented CALL
instructions to handle this arguments more effectively.

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

22 years agoMassive update
Miguel de Icaza [Fri, 16 Nov 2001 06:51:40 +0000 (06:51 -0000)]
Massive update

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

22 years ago2001-11-15 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 16 Nov 2001 02:46:27 +0000 (02:46 -0000)]
2001-11-15  Ravi Pratap  <ravi@ximian.com>

* interface.cs : Default modifier is private, not public. The
make verify test passes again.

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

22 years ago2001-11-15 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 15 Nov 2001 13:05:20 +0000 (13:05 -0000)]
2001-11-15  Ravi Pratap  <ravi@ximian.com>

* support.cs (ReflectionParameters): Fix logic to determine
whether the last parameter is a params one. Test 9 passes again.

* delegate.cs (Populate): Register the builders we define with
RegisterParameterForBuilder. Test 19 passes again.

* cs-parser.jay (property_declaration): Reference $6 instead
of $$ to get at the location.

(indexer_declaration): Similar stuff.

(attribute): Ditto.

* class.cs (Property): Register parameters for the Get and Set methods
if they exist. Test 23 passes again.

* expression.cs (ArrayCreation::Emit): Pass null for the method in the
call to EmitArguments as we are sure there aren't any params arguments.
Test 32 passes again.

* suppor.cs (ParameterDesc, ParameterModifier): Fix trivial bug causing
IndexOutOfRangeException.

* class.cs (Property::Define): Register property using TypeManager.RegisterProperty
Test 33 now passes again.

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

22 years ago*** empty log message ***
Ravi Pratap M [Thu, 15 Nov 2001 12:04:47 +0000 (12:04 -0000)]
*** empty log message ***

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

22 years ago2001-11-15 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 15 Nov 2001 11:53:24 +0000 (11:53 -0000)]
2001-11-15  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Kill horrendous hack ($??? = lexer.Location) that
broke a bunch of things.  Will have to come up with a better way
of tracking locations.

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

22 years ago2001-11-15 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 15 Nov 2001 11:11:20 +0000 (11:11 -0000)]
2001-11-15  Dietmar Maurer  <dietmar@ximian.com>

* Makefile.am (mono_SOURCES): renamed testjit to mono

* x86.brg: added debugging support

* testjit.c: added support for value types, CFG improvements

* emit-x86.c (enter_method): handle value types
(tree_allocate_regs): impl. a better way to handle chain rules

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

22 years agoForgot some wait tidy-up
Dick Porter [Thu, 15 Nov 2001 09:56:23 +0000 (09:56 -0000)]
Forgot some wait tidy-up

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

22 years ago2001-11-15 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 15 Nov 2001 09:46:14 +0000 (09:46 -0000)]
2001-11-15  Dick Porter  <dick@ximian.com>

* mutexes.c: Implement mutexes

* threads.c:
* semaphores.c:
* misc.c: Factor out some common code

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

22 years ago2001-11-15 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Thu, 15 Nov 2001 07:48:37 +0000 (07:48 -0000)]
2001-11-15                        Gaurav Vaish <gvaish@iitk.ac.in>

* AdRotator.cs, BoundColumn.cs, Button.cs, ButtonColumn.cs, DataList.cs, WebControl.cs
                         - the dummy / unimplemented / partially implemented functions now throw NotImplementedException.

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

22 years agoUpdated
Miguel de Icaza [Wed, 14 Nov 2001 23:32:20 +0000 (23:32 -0000)]
Updated

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

22 years ago2001-11-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 14 Nov 2001 23:07:10 +0000 (23:07 -0000)]
2001-11-09  Miguel de Icaza  <miguel@ximian.com>

* enum.cs (Enum.Emit): Delay the lookup of loc until we run into
an error.  This removes the lookup from the critical path.

* cs-parser.jay: Removed use of temporary_loc, which is completely
broken.

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

22 years ago2001-11-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 14 Nov 2001 22:59:35 +0000 (22:59 -0000)]
2001-11-14  Miguel de Icaza  <miguel@ximian.com>

* support.cs (ReflectionParameters.ParameterModifier): Report
whether the argument is a PARAMS argument or not.

* class.cs: Set the attribute `ParamArrayAttribute' on the
parameter argument.

* typemanager.cs: Define param_array_type (ParamArrayAttribute)
and cons_param_array_attribute (ConstructorInfo for
ParamArrayAttribute).,

* codegen.cs: Emit the return using the `Return' statement, that
way we can report the error correctly for missing return values.

* class.cs (Method.Emit): Clean up.

* expression.cs (Argument.Resolve): Take another argument: the
location where this argument is used.  Notice that this is not
part of the "Argument" class as to reduce the size of the
structure (we know the approximate location anyways).

Test if the argument is a variable-reference, if not, then
complain with a 206.

(Argument.Emit): Emit addresses of variables.

(Argument.FullDesc): Simplify.

(Invocation.DoResolve): Update for Argument.Resolve.

(ElementAccess.DoResolve): ditto.

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

22 years agoForce test-34 to fail and exhibit the bug
Miguel de Icaza [Wed, 14 Nov 2001 22:58:59 +0000 (22:58 -0000)]
Force test-34 to fail and exhibit the bug

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

22 years ago2001-11-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 14 Nov 2001 20:35:42 +0000 (20:35 -0000)]
2001-11-14  Miguel de Icaza  <miguel@ximian.com>

* Decimal.cs, Double.cs, Byte.cs, Char.cs, Int16, UInt16, Int32,
UInt32, Int64, UInt64, SByte, Single (CompareTo): Throw the
exception if the value is null too.

* Char.cs (CompareTo): ditto.

* ApplicationException.cs: Added constructor that does serialization.

* ParamArrayAttribute.cs: Define attribute correctly.

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

22 years ago2001-11-14 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 14 Nov 2001 19:00:04 +0000 (19:00 -0000)]
2001-11-14  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs (DelegateInvocation.Emit): Invocation of Invoke
method should be virtual, as this method is always virtual.

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

22 years agoWed Nov 14 19:21:26 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Nov 2001 15:18:56 +0000 (15:18 -0000)]
Wed Nov 14 19:21:26 CET 2001 Paolo Molaro <lupus@ximian.com>

* x86/tramp.c: handle boolean as a return value.
* x96/x86-codegen.c: x86_widen_memindex() added.

Wed Nov 14 19:23:00 CET 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: move the stack frame dumping code to a function so it can
be called from the debugger. Fix virtual method lookup for interfaces.
Throw exceptions instead of aborting in more places.
Print also the message in an exception. Updates for field renames in
corlib.

Wed Nov 14 19:26:06 CET 2001 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: add a max_interface_id to MonoClass.
* icall.c: rename my_mono_new_object() to my_mono_new_mono_type()
since it's used to do that. Added mono_type_type_from_obj().
Make GetType() return NULL instead of segfaulting if the type was not
found. Handle simple arrays in assQualifiedName.
* object.h: add a struct to represent an Exception.
* reflection.c: output call convention in method signature.
Add code to support P/Invoke methods and fixed offsets for fields.

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

22 years agoWed Nov 14 16:30:27 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 14 Nov 2001 15:18:05 +0000 (15:18 -0000)]
Wed Nov 14 16:30:27 CET 2001 Paolo Molaro <lupus@ximian.com>

* Linux.cs: a '/' is a valid char in a file path.

Wed Nov 14 16:31:19 CET 2001 Paolo Molaro <lupus@ximian.com>

* AppDomain.cs: rename dummy interface _AppDomain to AppDomain_Intf.
* Array.cs: fix Array.Copy.
* AssemblyLoadEventArgs.cs: rename field.
* CLSCompliantAttribute.cs: use correct name for the class.
* Char.cs: fix IsLetter.
* Console.cs, DateTime.cs, Decimal.cs, IConvertible.cs, Math.cs,
SByte.cs, UInt16.cs, UInt32.cs, UInt64.cs, UIntPtr.cs: CLSCompliant updates.
* Convert.cs: CLSCompliant updates, add ChangeType() methods.
* Delegate.cs: renamed target field to m_target.
* Enum.cs: added missing methods.
* MonoType.cs: add a constructor and some needed properties.
* Object.cs: implement GetType().
* String.cs: CLSCompliant updates. Fixes everywhere to remove the
ending 0 char.
* Type.cs: add missing methods/properties.

Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <lupus@ximian.com>

* ArrayList.cs: implement ArrayListEnumerator.
* Hashtable.cs: hardcode the prime number table.

Wed Nov 14 16:47:07 CET 2001 Paolo Molaro <lupus@ximian.com>

* Calendar.cs: CLSCompliant updates.

Wed Nov 14 16:47:47 CET 2001 Paolo Molaro <lupus@ximian.com>

* CheckPermission.cs: disable ModeAccess() code: it's wrong.
* FileStream.cs: only trow an exception if the read failed in ReadByte().
* StreamReader.cs: implement Peek and Read.
* TextWriter.cs: CLSCompliant updates.

Wed Nov 14 16:53:28 CET 2001 Paolo Molaro <lupus@ximian.com>

* Assembly.cs: implement some of the Load() methods.
* ConstructorInfo.cs: some missing stubs and fields.
* FieldInfo.cs: IsInitOnly property.
* ParameterInfo.cs: stubs for missing properties.
* ParameterModifier.cs: implemented class.

Wed Nov 14 17:01:45 CET 2001 Paolo Molaro <lupus@ximian.com>

* ConstructorBuilder.cs: added missing stubs and some implementation.
* CustomAttributeBuilder.cs: added.
* EventBuilder.cs: added.
* FieldBuilder.cs: updates.
* MethodBuilder.cs: stuff to implement P/Invoke methods.
* ModuleBuilder.cs: added GetArrayMethod() stub.
* ParameterBuilder.cs, PropertyBuilder.cs: updates.
* TypeBuilder.cs: updates and stubs.

Wed Nov 14 17:02:57 CET 2001 Paolo Molaro <lupus@ximian.com>

* CallingConvention.cs: add missing Winapi.

Wed Nov 14 17:03:30 CET 2001 Paolo Molaro <lupus@ximian.com>

* IFormatterConverter.cs, SerializationInfo.cs: CLSCompliant updates.

Wed Nov 14 17:04:30 CET 2001 Paolo Molaro <lupus@ximian.com>

* MD5CryptoServiceProvider.cs, SHA1CryptoServiceProvider.cs,
SHA256Managed.cs: CLSCompliant updates.

Wed Nov 14 17:05:22 CET 2001 Paolo Molaro <lupus@ximian.com>

* Encoding.cs: renamed some fields.
* StringBuilder.cs: CLSCompliant updates.

Wed Nov 14 17:06:18 CET 2001 Paolo Molaro <lupus@ximian.com>

* Overlapped.cs, ThreadPool.cs, Timer.cs: CLSCompliant updates.

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

22 years agoAdded a delegate test that fails
Miguel de Icaza [Wed, 14 Nov 2001 14:21:38 +0000 (14:21 -0000)]
Added a delegate test that fails

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

22 years agoUpdate the news
Miguel de Icaza [Wed, 14 Nov 2001 13:51:53 +0000 (13:51 -0000)]
Update the news

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

22 years agoAdd test that checks arrays
Miguel de Icaza [Wed, 14 Nov 2001 02:14:57 +0000 (02:14 -0000)]
Add test that checks arrays

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

22 years ago2001-11-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 14 Nov 2001 01:41:24 +0000 (01:41 -0000)]
2001-11-13  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Foreach.Emit): Use EmitAssign instead of Store.

* expression.cs (ParameterReference): Drop IStackStorage and implement
IAssignMethod instead.

(LocalVariableReference): ditto.

* ecore.cs (FieldExpr): Drop IStackStorage and implement
IAssignMethod instead.

2001-11-13  Miguel de Icaza <miguel@ximian.com>

* parameter.cs, expression.cs, class.cs, ecore.cs: Made all
enumerations that are used in heavily used structures derive from
byte in a laughable and pathetic attempt to reduce memory usage.
This is the kind of pre-optimzations that you should not do at
home without adult supervision.

* expression.cs (UnaryMutator): New class, used to handle ++ and
-- separatedly from the other unary operators.  Cleans up the
code, and kills the ExpressionStatement dependency in Unary.

(Unary): Removed `method' and `Arguments' from this class, making
it smaller, and moving it all to SimpleCall, so I can reuse this
code in other locations and avoid creating a lot of transient data
strucutres when not required.

* cs-parser.jay: Adjust for new changes.

2001-11-11  Miguel de Icaza  <miguel@ximian.com>

* enum.cs (Enum.Populate): If there is a failure during
definition, return

* cs-parser.jay (opt_enum_base): we used to catch type errors
here, but this is really incorrect.  The type error should be
catched during semantic analysis.

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

22 years agoUpdated the test-42 to be more comprehensive, and also documented
Miguel de Icaza [Wed, 14 Nov 2001 01:32:36 +0000 (01:32 -0000)]
Updated the test-42 to be more comprehensive, and also documented
which tests we do not pass currently, and put some "holes" into the
list to make it obvious.

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

22 years agoadded last changes
Martin Weindel [Tue, 13 Nov 2001 18:34:45 +0000 (18:34 -0000)]
added last changes

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

22 years ago2001-11-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 13 Nov 2001 13:50:06 +0000 (13:50 -0000)]
2001-11-13  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (operator_declarator, conversion_operator_declarator): Set
current_local_parameters as expected since I, in my stupidity, had forgotten
to do this :-)

* attribute.cs (GetValidPlaces): Fix stupid bug.

* class.cs (Method::Emit): Perform check on applicability of attributes.

(Constructor::Emit): Ditto.

(Field::Emit): Ditto.

(Field.Location): Store location information.

(Property, Event, Indexer, Operator): Ditto.

* cs-parser.jay (field_declaration): Pass in location for each field.

* ../errors/cs0592.cs : Add.

2001-11-12  Ravi Pratap  <ravi@ximian.com>

* typemanager.cs (attribute_usage_type): New static member for System.AttributeUsage.

(InitCoreTypes): Update accordingly.

(RegisterAttrType, LookupAttr): Implement.

* attribute.cs (Attribute.Targets, AllowMultiple, Inherited): New fields to hold
info about the same.

(Resolve): Update to populate the above as necessary.

(Error592): Helper.

(GetValidPlaces): Helper to the above.

(CheckAttribute): Implement to perform validity of attributes on declarative elements.

* class.cs (TypeContainer::Emit): Update attribute emission code to perform checking etc.

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

22 years agoAdd. We now properly check attribute placing.
Ravi Pratap M [Tue, 13 Nov 2001 13:47:18 +0000 (13:47 -0000)]
Add. We now properly check attribute placing.

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

22 years ago2001-11-13 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Tue, 13 Nov 2001 13:45:55 +0000 (13:45 -0000)]
2001-11-13  Ravi Pratap  <ravi@ximian.com>

* test-7.cs : Re-write to make the tests more robust.

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

22 years ago2001-11-13 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 13 Nov 2001 13:07:35 +0000 (13:07 -0000)]
2001-11-13  Dick Porter  <dick@ximian.com>

* threads.c: Implement TLS.  Implement GetCurrentThreadId(), and
GetCurrentThread() by maintaining a hash of thread handles.

* threads.h: Define thread and process creation flags

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

22 years ago2001-11-13 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 13 Nov 2001 09:04:31 +0000 (09:04 -0000)]
2001-11-13  Dick Porter  <dick@ximian.com>

* configure.in: Some more tests for pthread features
(specifically, glibc 2.1 doesnt define pthread_mutex_timedlock but
still needs _GNU_SOURCE for PTHREAD_MUTEX_RECURSIVE)

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

22 years agoAdd another test
Miguel de Icaza [Tue, 13 Nov 2001 01:28:35 +0000 (01:28 -0000)]
Add another test

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

22 years agoMake the test not pass, Ravi, check this please
Miguel de Icaza [Tue, 13 Nov 2001 01:14:02 +0000 (01:14 -0000)]
Make the test not pass, Ravi, check this please

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

22 years agoAnother test that we dont pass
Miguel de Icaza [Tue, 13 Nov 2001 00:56:03 +0000 (00:56 -0000)]
Another test that we dont pass

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

22 years ago2001-11-13 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 12 Nov 2001 17:32:40 +0000 (17:32 -0000)]
2001-11-13 Gaurav Vaish <gvaish@iitk.ac.in>

** Added files ChangeLog's to the namespaces I am working on.

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

22 years ago2001:11:13 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Mon, 12 Nov 2001 15:00:13 +0000 (15:00 -0000)]
2001:11:13                    Gaurav Vaish <gvaish@iitk.ac.in>

* Calendar.cs          Fixed some bugs

* TODO                 Removed

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

22 years ago2001-12-11 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Mon, 12 Nov 2001 13:29:05 +0000 (13:29 -0000)]
2001-12-11  Ravi Pratap  <ravi@ximian.com>

* attribute.cs (Attribute::Resolve): Expand to handle named arguments too.

* ../errors/cs0617.cs : Add.

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

22 years ago2001-11-12 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Mon, 12 Nov 2001 13:27:22 +0000 (13:27 -0000)]
2001-11-12  Ravi Pratap  <ravi@ximian.com>

* test-39.cs : Update to test named arguments too.

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

22 years agoAdd for the new error we catch in relation to named arguments.
Ravi Pratap M [Mon, 12 Nov 2001 13:26:44 +0000 (13:26 -0000)]
Add for the new error we catch in relation to named arguments.

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

22 years ago2001-11-12 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 12 Nov 2001 12:05:50 +0000 (12:05 -0000)]
2001-11-12  Dick Porter  <dick@ximian.com>

* critical-sections.c: Implement critical sections

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

22 years ago2001-11-12 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 12 Nov 2001 08:59:21 +0000 (08:59 -0000)]
2001-11-12  Dick Porter  <dick@ximian.com>

* semaphores.c: Implement semaphores

* wait.c (wait_for_item): Maintain a wait count rather than count
signalled booleans.

* threads.c (thread_wait_multiple): Don't lock the wait item, that
will block other wait threads

2001-11-11  Dick Porter  <dick@ximian.com>

* Makefile.am: Rename some automake variables
(from Nick Drochak <ndrochak@gol.com>)

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

22 years agoMon Nov 12 12:41:32 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 12 Nov 2001 08:05:52 +0000 (08:05 -0000)]
Mon Nov 12 12:41:32 CET 2001 Paolo Molaro <lupus@ximian.com>

* decimal.c, decimal.h: mono_double2decimal() get the sign bit from
the value.
* icall.c: use mono_array_addr instead of array->vector: fixes the
reflection image writing.
* reflection.c: init call convention byte to 0 in method signature.
Encode the property signature. Don't output property-related methods
twice. Really process the properties for a type (don't cast a field to
a property, my mom always told me that).
Fix 64 bit issues in pointer alignment in a different and more
readable way.

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

22 years ago2001:11:12 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sun, 11 Nov 2001 16:21:45 +0000 (16:21 -0000)]
2001:11:12                    Gaurav Vaish <gvaish@iitk.ac.in>

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

22 years ago* AttributeUseage.cs: Should define AttributeUsageAttribute.
Sean MacIsaac [Sun, 11 Nov 2001 16:15:20 +0000 (16:15 -0000)]
* AttributeUseage.cs: Should define AttributeUsageAttribute.

* CLSCompliant.cs: Marked with AttributeUsage attribute.

* Decimal.cs: Fixed CLSCompliant attributes.

* Type.cs: changed _impl to internal (needs to be accessable by
subclasses).

(TypeHandle): Marked as abstract, implementation removed.

(IsNotPublic, IsPublic, GetMethods, GetPropery, GetConstructor,
GetMethod): Added stub implementations so NUnit would link against
corlib

* FileNotFoundException.cs: Added some constructors

* Path.cs (GetFullPath): Fixed implementation

* Assembly.cs: Filled in some stub implementations

* ConstructorInfo.cs: Added some stub functions for NUnit

* TypeBuilder.cs: Added implementation for TypeHandle.

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

22 years ago* loader.h: Removed type class from MonoDefaults, added monotype
Sean MacIsaac [Sun, 11 Nov 2001 16:01:34 +0000 (16:01 -0000)]
* loader.h: Removed type class from MonoDefaults, added monotype

* loader.c: Loaded MonoType, removed loading of Type

* icall.c (my_mono_new_object): Now returns a System.MonoType,
and fills in System.Type._impl with a RuntimeTypeHandle rather
than the actual MonoClass *

(ves_icall_type_from_handle): change from type_class to
monotype_class

(ves_icall_System_Runtime_InteropServices_Marshal_ReadIntPtr):
implemented

(ves_icall_System_Runtime_InteropServices_Marshal_PtrToStringAuto):
implemented

(ves_icall_System_Reflection_Assembly_LoadFrom): implemented

(ves_icall_System_Reflection_Assembly_GetType): implemented

(ves_icall_System_MonoType_assQualifiedName): implemented

(ves_icall_System_PAL_OpSys_GetCurrentDirecotry): implemented

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

22 years ago2001-11-11 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 11 Nov 2001 08:06:43 +0000 (08:06 -0000)]
2001-11-11  Ravi Pratap  <ravi@ximian.com>

* enum.cs (Emit): Rename to Populate to be more consistent with what
we expect it to do and when exactly it is called.

* class.cs, rootcontext.cs : Update accordingly.

* typemanager.cs (RegisterField, GetValue): Workarounds for the fact that
FieldInfo.GetValue does not work on dynamic types ! S.R.E lameness strikes again !

* enum.cs (Populate): Register fields with TypeManager.RegisterField.

* expression.cs (MemberAccess.DoResolve): Adjust code to obtain the value
of a fieldinfo using the above, when dealing with a FieldBuilder.

2001-11-10  Ravi Pratap  <ravi@ximian.com>

* ../errors/cs0031.cs : Add.

* ../errors/cs1008.cs : Add.

* ../errrors/cs0543.cs : Add.

* enum.cs (DefineEnum): Check the underlying type and report an error if not a valid
enum type.

(FindMembers): Implement.

* typemanager.cs (FindMembers): Re-write to call the appropriate methods for
enums and delegates too.

(enum_types): Rename to builder_to_enum.

(delegate_types): Rename to builder_to_delegate.

* delegate.cs (FindMembers): Implement.

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

22 years ago2001-11-11 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 11 Nov 2001 08:03:49 +0000 (08:03 -0000)]
2001-11-11  Ravi Pratap  <ravi@ximian.com>

* test-40.cs : Update to be a little more useful.

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

22 years agoAdd files for the new errors we catch.
Ravi Pratap M [Sun, 11 Nov 2001 08:01:48 +0000 (08:01 -0000)]
Add files for the new errors we catch.

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

22 years ago2001:11:11 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sat, 10 Nov 2001 19:28:49 +0000 (19:28 -0000)]
2001:11:11 Gaurav Vaish <gvaish@iitk.ac.in>

* Calendar.cs Added some functions, provided skeleton to some more

* BaseCompareValidator.cs Still wondering how to implement this

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

22 years ago2001:11:11 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Sat, 10 Nov 2001 19:25:53 +0000 (19:25 -0000)]
2001:11:11 Gaurav Vaish <gvaish@iitk.ac.in>

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

22 years agoFri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 10 Nov 2001 12:39:37 +0000 (12:39 -0000)]
Fri Nov 2 19:04:21 CET 2001 Paolo Molaro <lupus@ximian.com>

* main.c, dump, dump.c: decode the customattr table.
* dump.c: handle also field signature when dumping the memberref
table.

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

22 years ago2001-11-10 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 10 Nov 2001 07:32:15 +0000 (07:32 -0000)]
2001-11-10  Dick Porter  <dick@ximian.com>

* Makefile.am (libwapiincludedir): Fix include destination

* .cvsignore: Ignore generated files

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

22 years ago2001-11-10 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Sat, 10 Nov 2001 04:29:12 +0000 (04:29 -0000)]
2001-11-10  Dietmar Maurer  <dietmar@ximian.com>

* pthread-compat.c: added some include files to make it compile on
linux.

* x86.brg (INITOBJ): bug fix: initialize data before use,
simplified the code.

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

22 years agoRemove dependency on Windows.Forms
Miguel de Icaza [Fri, 9 Nov 2001 22:22:27 +0000 (22:22 -0000)]
Remove dependency on Windows.Forms

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

22 years ago2001-11-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 9 Nov 2001 22:20:33 +0000 (22:20 -0000)]
2001-11-09  Miguel de Icaza  <miguel@ximian.com>

* testjit.c (mono_analyze_stack): Remove compiler warning by
testing against NULL.
2001-11-09  Miguel de Icaza  <miguel@ximian.com>

* assembly.c (mono_assembly_open): Implement a cache for the
assemblies.

(mono_assembly_close): only destroy the assembly when the last
reference is gone.

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

22 years ago2001-11-09 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Fri, 9 Nov 2001 16:52:29 +0000 (16:52 -0000)]
2001-11-09  Ravi Pratap  <ravi@ximian.com>

* typemanager.cs (IsEnumType): Implement.

* enum.cs (Emit): Re-write parts to account for the underlying type
better and perform checking etc.

(GetNextDefaultValue): Helper to ensure we don't overshoot max value
of the underlying type.

* literal.cs (GetValue methods everywhere): Perform bounds checking and return
value

* enum.cs (error31): Helper to report error #31.

* cs-parser.jay (enum_declaration): Store location of each member too.

* enum.cs (member_to_location): New hashtable.

(AddEnumMember): Update location hashtable.

(Emit): Use the location of each member while reporting errors.

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

22 years ago2001-11-09 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 9 Nov 2001 16:39:50 +0000 (16:39 -0000)]
2001-11-09  Dick Porter  <dick@ximian.com>

* configure.in: Try and get large file support, but it's not fatal
if it's not there (the io-layer just ignores the high word in that
case.)

Check for windows builds, and only bother to look for pthreads and
large files if we're not building for cygwin or native win32.  Not
having pthread support on Posix systems is now a fatal error.

* autogen.sh: Fix ACLOCAL_FLAGS - it wasn't being passed to
aclocal

2001-11-08  Dick Porter  <dick@ximian.com>

* Initial checkin.

This is a library emulating the win32 threading and IO API.

2001-11-09  Dick Porter  <dick@ximian.com>

* Makefile.am (mint_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <dick@ximian.com>

* Makefile.am (testjit_LDADD): Don't need THREAD_LIBS any more

2001-11-09  Dick Porter  <dick@ximian.com>

* Makefile.am (pedump_LDADD): Don't need THREAD_LIBS any more

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

22 years agobug fix in BOX
Dietmar Maurer [Fri, 9 Nov 2001 14:27:04 +0000 (14:27 -0000)]
bug fix in BOX

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

22 years ago2001-11-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 9 Nov 2001 13:40:43 +0000 (13:40 -0000)]
2001-11-09  Dietmar Maurer  <dietmar@ximian.com>

* testjit.c (mono_analyze_stack): new BOX impl.

* x86.brg: implemented INITOBJ

* testjit.c (mono_analyze_stack): finished array support
(mono_analyze_stack): reimplemented DUP instruction

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

22 years agoFri Nov 9 15:48:02 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 9 Nov 2001 10:53:55 +0000 (10:53 -0000)]
Fri Nov 9 15:48:02 CET 2001 Paolo Molaro <lupus@ximian.com>

* icall.c, decimal.h, decimal.c: integrated decimal internalcalls
from Martin Weindel.
* object.h: add mono_string_chars ().

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

22 years ago2001:11:09 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Fri, 9 Nov 2001 09:13:16 +0000 (09:13 -0000)]
2001:11:09 Gaurav Vaish <gvaish@iitk.ac.in>

* UrlUtils      completed MakeRelative, added GetDirectory

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

22 years ago2001-11-09 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 9 Nov 2001 06:28:41 +0000 (06:28 -0000)]
2001-11-09  Dietmar Maurer  <dietmar@ximian.com>

* testjit.c (mono_analyze_stack): finished array support

2001-11-08  Dietmar Maurer  <dietmar@ximian.com>

* testjit.c (MAKE_STELEM, MAKE_LDELEM): we build a tree which
represents the address of the element. This way we can emit highly
optimized x86 instructions to access elements (using base+index+offset
adressing mode)

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

22 years agooops. remove printfs
Miguel de Icaza [Fri, 9 Nov 2001 03:08:30 +0000 (03:08 -0000)]
oops.  remove printfs

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

22 years ago2001-11-09 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 9 Nov 2001 02:54:38 +0000 (02:54 -0000)]
2001-11-09  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: A for_initializer if is a
local_variable_declaration really ammount to have an implicit
block with the variable declaration and no initializer for for.

* statement.cs (For.Emit): Cope with null initializers.

This fixes the infinite loop on for initializers.

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

22 years ago2001:11:09 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Fri, 9 Nov 2001 02:33:00 +0000 (02:33 -0000)]
2001:11:09      Gaurav Vaish <gvaish@iitk.ac.in>

* UrlUtils.cs   Added the following functions:

             GetProtocol(string) -> Returns the protocol used (before ://)
             IsRootUrl(string)   -> Is the url supplied is RootUrl
             IsValidProtocol(string)
                                 -> Can the protocol represent a valid protocol
             RegionMatches(...)  -> Matches an inner part of a string

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

22 years agoFew changes for RC1
Miguel de Icaza [Thu, 8 Nov 2001 23:38:22 +0000 (23:38 -0000)]
Few changes for RC1

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

22 years agoFew changes for RC1
Miguel de Icaza [Thu, 8 Nov 2001 23:38:22 +0000 (23:38 -0000)]
Few changes for RC1

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

22 years agoFlush ChangeLog
Miguel de Icaza [Thu, 8 Nov 2001 22:41:19 +0000 (22:41 -0000)]
Flush ChangeLog

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

22 years ago2001-11-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Nov 2001 21:38:32 +0000 (21:38 -0000)]
2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* x86/tramp.c: Include stdlib to kill warning.

2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* main.c (dis_property_methods): Added missing colon which avoided
setting loc.t

2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* interp.c: Include stdlib to kill warning.
(check_corlib): Adjust format encodings to remove warnings.

2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* reflection.c (build_compressed_metadata): Eliminates warnings
and uses 64-bit clean code.

* metadata.c (mono_type_hash): Change signature to eliminate warnings.
(mono_type_equal): Change signature to eliminate warnings.

2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* monoburg.y: Include string.h, stdlib.h to kill warnings.

* sample.brg: Include string.h to remove warnings.

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

22 years ago2001-11-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Nov 2001 16:55:38 +0000 (16:55 -0000)]
2001-11-08  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs: Remove dead code.

* class.cs (Property.Emit): More simplification.

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

22 years ago2001-11-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Nov 2001 16:21:43 +0000 (16:21 -0000)]
2001-11-08  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Property.Emit): More simplification.

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

22 years ago2001-11-08 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Nov 2001 15:47:10 +0000 (15:47 -0000)]
2001-11-08  Miguel de Icaza  <miguel@ximian.com>

* class.cs: Reworked to have less levels of indentation.

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

22 years agoRemove the dlls, that was lame
Miguel de Icaza [Thu, 8 Nov 2001 13:38:25 +0000 (13:38 -0000)]
Remove the dlls, that was lame

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

22 years ago2001-11-08 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 8 Nov 2001 13:35:45 +0000 (13:35 -0000)]
2001-11-08  Ravi Pratap  <ravi@ximian.com>

* class.cs (Property): Emit attributes.

(Field): Ditto.

(Event): Ditto.

(Indexer): Ditto.

(Operator): Ditto.

* enum.cs (Emit): Ditto.

* rootcontext.cs (ResolveTree, EmitCode, CloseTypes): Do the same for
Enums too.

* class.cs (Field, Event, etc.): Move attribute generation into the
Emit method everywhere.

* enum.cs (Enum): Revamp to use the same definition semantics as delegates so
we have a DefineEnum, CloseEnum etc. The previous way of doing things was not right
as we had no way of defining nested enums !

* rootcontext.cs : Adjust code accordingly.

* typemanager.cs (AddEnumType): To keep track of enum types separately.

2001-11-07  Ravi Pratap  <ravi@ximian.com>

* expression.cs (EvalConstantExpression): Move into ecore.cs

* enum.cs (Enum): Rename some members and make them public and readonly
according to our convention.

* modifiers.cs (EnumAttr): Implement as we need to set only visibility flags,
nothing else.

* enum.cs (Enum::Define): Use the above instead of TypeAttr.

(Enum::Emit): Write a simple version for now which doesn't try to compute
expressions. I shall modify this to be more robust in just a while.

* class.cs (TypeContainer::Emit): Make sure we include Enums too.

(TypeContainer::CloseType): Create the Enum types too.

* attribute.cs (Resolve): Use the new Reduce method instead of EvalConstantExpression.

* expression.cs (EvalConstantExpression): Get rid of completely.

* enum.cs (Enum::Emit): Use the new expression reducer. Implement assigning
user-defined values and other cases.

(IsValidEnumLiteral): Helper function.

* expression.cs (ExprClassfromMemberInfo): Modify to not do any literalizing
out there in the case we had a literal FieldExpr.

(MemberAccess:DoResolve): Do the literalizing of the FieldExpr here.

(Literalize): Revamp a bit to take two arguments.

(EnumLiteral): New class which derives from Literal to wrap enum literals.

2001-11-06  Ravi Pratap  <ravi@ximian.com>

* cs-parser.jay (compilation_unit): Remove extra opt_attributes for now.

* expression.cs (ArrayCreation::ValidateInitializers): Implement.

(Resolve): Use the above to ensure we have proper initializers.

2001-11-05  Ravi Pratap  <ravi@ximian.com>

* expression.cs (Expression::EvalConstantExpression): New method to
evaluate constant expressions.

* attribute.cs (Attribute::Resolve): Modify bits to use the above function.

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

22 years ago2001-11-08 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Thu, 8 Nov 2001 13:30:53 +0000 (13:30 -0000)]
2001-11-08  Ravi Pratap  <ravi@ximian.com>

* test-39.cs : Add

* test-40.cs : Add

* makefile : Modify to include the above as they pass all tests.

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

22 years ago2001-11-09 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 8 Nov 2001 11:35:50 +0000 (11:35 -0000)]
2001-11-09  Nick Drochak  <ndrochak@gol.com>

* makefile(s): add 'test' target, so now you can do 'make test'
and something useful will happen.

* *.build: link NUnit test dll's with the mono assembly they are
supposed to test, and suppress 1595 warnings.

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

22 years ago2001-11-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 8 Nov 2001 11:10:19 +0000 (11:10 -0000)]
2001-11-08  Nick Drochak  <ndrochak@gol.com>

* corlib_test.build: Include test for Queue in the dll

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

22 years agoCreated freshly looking WebControl.cs
Gaurav Vaish [Thu, 8 Nov 2001 09:52:45 +0000 (09:52 -0000)]
Created freshly looking WebControl.cs

Now playing with AdRotator.cs

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

22 years ago2001-11-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 8 Nov 2001 06:14:03 +0000 (06:14 -0000)]
2001-11-08 Nick Drochak <ndrochak@gol.com>

* corlib.build: put /norwarn in for 0169 and 0649 since most of the
classes have unused fields, but it's really an problem right now
because we know the class isn't finished.  'make' should be a lot
quieter now!

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

22 years ago2001-11-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 8 Nov 2001 06:07:08 +0000 (06:07 -0000)]
2001-11-08 Nick Drochak <ndrochak@gol.com>

* README: Explanation of the dll's which are built and what
directories the go in.

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

22 years agoAdd more tests
Miguel de Icaza [Thu, 8 Nov 2001 00:17:45 +0000 (00:17 -0000)]
Add more tests

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

22 years ago2001-11-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 8 Nov 2001 00:17:29 +0000 (00:17 -0000)]
2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayCreation.Emit): Some bits to initialize data
in an array.

(Binary.ResolveOperator): Handle operator != (object a, object b)
and operator == (object a, object b);

(Binary.DoNumericPromotions): Indicate whether the numeric
promotion was possible.

(ArrayAccess.DoResolve, ArrayAccess.Emit, ArrayAccess.EmitAssign):
Implement.

Made the ArrayAccess implement interface IAssignMethod instead of
IStackStore as the order in which arguments are passed reflects
this.

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

22 years ago2001-11-08 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 7 Nov 2001 23:29:11 +0000 (23:29 -0000)]
2001-11-08 Nick Drochak <ndrochak@gol.com>

* corlib.build: build a corlib that can be linked against the nunit
test dll's when linux is the target (just like windows).

Added /nowarn 0649 and 0169 to cut down on the compiler noise for
all the unused fields we have in the stubs.

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

22 years agoAdd a new test that we fail to pass
Miguel de Icaza [Wed, 7 Nov 2001 13:33:25 +0000 (13:33 -0000)]
Add a new test that we fail to pass

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

22 years agoWed Nov 7 15:40:01 CET 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 7 Nov 2001 11:02:31 +0000 (11:02 -0000)]
Wed Nov 7 15:40:01 CET 2001 Paolo Molaro <lupus@ximian.com>

* icall.c, loader.c: remove the internalcall array constructors.
Changes to match the new MonoArray structure.
* object.h, object.c: an array object doesn't allocate an extra
vector. Add mono_array_new_full () to create jagged arrays easily.

Mon Nov 5 19:51:06 CET 2001 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c: add mono_metadata_field_info () to
retreive all the info about a field from vairous tables.
* icall.c: implement S.Runtime.CServices::InitializeArray () icall.
* class.h, class.c: augment MonoClassField with more info.
Implemented mono_ldtoken for fields. Implemented ExplicitLayout
policy and load a field's RVA if needed.

Wed Nov 7 15:47:36 CET 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: updates for changes in array code.

Fri Nov 2 19:06:54 CET 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: hanlde field refs. Throw an exception on NULL references.
Check consistency of corlib types with the C struct representation.

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

22 years agoForgot to actually commit the test cases...
Paolo Molaro [Wed, 7 Nov 2001 07:42:46 +0000 (07:42 -0000)]
Forgot to actually commit the test cases...

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

22 years ago2001-11-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 7 Nov 2001 06:33:48 +0000 (06:33 -0000)]
2001-11-07  Dietmar Maurer  <dietmar@ximian.com>

* emit-x86.c (enter_method): print out all method arguments
(x86_magic_trampoline): impl.
(arch_create_simple_jit_trampoline): we use different trampolines
for static methods (no need to write the address back into to
vtable).

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

22 years ago2001-11-07 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 7 Nov 2001 05:40:16 +0000 (05:40 -0000)]
2001-11-07  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (ArrayCreation.Emit): Some bits to initialize data
in an array.

* typemanager.cs: Load InitializeArray definition.

* rootcontext.cs (RootContext.MakeStaticData): Used to define
static data that can be used to initialize arrays.

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

22 years agoAdded files:
Gaurav Vaish [Tue, 6 Nov 2001 17:43:44 +0000 (17:43 -0000)]
Added files:
CalendarDay.cs
CheckBox.cs
DayRenderEventHandler.cs

Changing:
WebControl.cs

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

22 years agoAdd test for !bool optimization; Make linux build the only one
Miguel de Icaza [Tue, 6 Nov 2001 16:17:02 +0000 (16:17 -0000)]
Add test for !bool optimization;  Make linux build the only one

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

22 years ago2001-11-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 6 Nov 2001 16:14:58 +0000 (16:14 -0000)]
2001-11-05  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Handle operator== and operator!= for booleans.

(Conditioal.Reduce): Implement reducer for the ?: operator.

(Conditional.Resolve): Implement dead code elimination.

(Binary.Resolve): Catch string literals and return a new
concatenated string.

(Unary.Reduce): Implement reduction of unary expressions.

* ecore.cs: Split out the expression core handling here.

(Expression.Reduce): New method used to perform constant folding
and CSE.  This is needed to support constant-expressions.

* statement.cs (Statement.EmitBoolExpression): Pass true and false
targets, and optimize for !x.

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