mono.git
22 years ago2001-08-28 Ravi Pratap <ravi@che.iitm.ac.in>
Ravi Pratap M [Tue, 28 Aug 2001 06:45:13 +0000 (06:45 -0000)]
2001-08-28  Ravi Pratap  <ravi@che.iitm.ac.in>

* cs-tokenizer.cs (initTokens): Add keywords 'add' and 'remove'

* cs-parser.jay (event_declaration): Correct to remove the semicolon
when the add and remove accessors are specified.

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

22 years ago2001-08-28 Ravi Pratap <ravi@che.iitm.ac.in>
Ravi Pratap M [Tue, 28 Aug 2001 06:17:23 +0000 (06:17 -0000)]
2001-08-28  Ravi Pratap  <ravi@che.iitm.ac.in>

* cs-parser.jay (IndexerDeclaration): New helper class to hold
information about indexer_declarator.
(indexer_declarator): Implement actions.
(parsing_indexer): New local boolean used to keep track of whether
we are parsing indexers or properties. This is necessary because
implicit_parameters come into picture even for the get accessor in the
case of an indexer.
(get_accessor_declaration, set_accessor_declaration): Correspondingly modified.

* class.cs (Indexer): New class for indexer declarations.
(TypeContainer::AddIndexer): New method to add an indexer to a type.
(TypeContainer::indexers): New member to hold list of indexers for the
type.

2001-08-27  Ravi Pratap  <ravi@che.iitm.ac.in>

* cs-parser.jay (add_accessor_declaration): Implement action.
(remove_accessor_declaration): Implement action.
(event_accessors_declaration): Implement
(variable_declarators): swap statements for first rule - trivial.

* class.cs (Event): New class to hold information about event
declarations.
(TypeContainer::AddEvent): New method to add an event to a type
(TypeContainer::events): New member to hold list of events.

* cs-parser.jay (event_declaration): Implement actions.

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

22 years ago*** empty log message ***
Bob Smith [Tue, 28 Aug 2001 03:50:08 +0000 (03:50 -0000)]
*** empty log message ***

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

22 years agoLots of implementations.
Bob Smith [Tue, 28 Aug 2001 03:43:43 +0000 (03:43 -0000)]
Lots of implementations.

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

22 years agoControl.cs: Bug fixes and implementations.
Bob Smith [Mon, 27 Aug 2001 20:09:30 +0000 (20:09 -0000)]
Control.cs: Bug fixes and implementations.

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

22 years agoMon Aug 27 21:30:30 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 15:33:36 +0000 (15:33 -0000)]
Mon Aug 27 21:30:30 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: warn and exit when Main () expects the cmdline arguments
instead of creashing.

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

22 years agoMon Aug 27 20:24:26 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 14:26:43 +0000 (14:26 -0000)]
Mon Aug 27 20:24:26 CEST 2001 Paolo Molaro <lupus@ximian.com>

* mono/tests/*: New test cases, mostly for virtual method dispatch.
Use make testb for the slow benchmarking programs,
make test for the usual regression test checks.

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

22 years agoMon Aug 27 20:16:37 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 14:23:41 +0000 (14:23 -0000)]
Mon Aug 27 20:16:37 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: merge isinst/castclass handling. Hopefully implement
the right semantics for handling callvirt correctly (changes
here and there to support it). Integrate bugfix from Dietmar quickly
so he needs to handle the cvs conflict:-)

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

22 years agoMon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 14:17:37 +0000 (14:17 -0000)]
Mon Aug 27 20:13:49 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, get.c: some endian fixes.
* main.c: colon-separate version numbers. Print also namespace
when outputting class information.

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

22 years agoMon Aug 27 20:12:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 14:14:53 +0000 (14:14 -0000)]
Mon Aug 27 20:12:01 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c: Handle Array in mono_class_from_mono_type ().
* metadata.c, pedump.c: some endian fixes.

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

22 years ago* OpCode.cs, OpCodes.cs: Initial check-in;
Sergey Chaban [Mon, 27 Aug 2001 12:47:25 +0000 (12:47 -0000)]
* OpCode.cs, OpCodes.cs: Initial check-in;

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

22 years agoMon Aug 27 15:23:23 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 09:26:47 +0000 (09:26 -0000)]
Mon Aug 27 15:23:23 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c, loader.c, loader.h: More types handled in mono_class_from_mono_type ().
* metadata.c: fix small problem introduced with the latest commit.

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

22 years agoMon Aug 27 12:17:17 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 06:25:25 +0000 (06:25 -0000)]
Mon Aug 27 12:17:17 CEST 2001 Paolo Molaro <lupus@ximian.com>

* loader.c, metadata.c, metadata.h: Export mono_metadata_type_equal().
We don't need a MonoMetadata pointer anymore to compare signatures in
mono_metadata_signature_equal (), update callers.
Reduced memory usage an number of allocations for MonoMethodHeader and
MonoMethodSignature.

Mon Aug 27 12:20:32 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: fix compilation and updates for changes in metadata/.

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

22 years agoadded better GetHashCode() implementation
stefan [Mon, 27 Aug 2001 05:06:50 +0000 (05:06 -0000)]
added better GetHashCode() implementation

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

22 years ago2001-08-27 Ravi Pratap <ravi@che.iitm.ac.in>
Ravi Pratap M [Mon, 27 Aug 2001 04:37:08 +0000 (04:37 -0000)]
2001-08-27  Ravi Pratap  <ravi@che.iitm.ac.in>

* cs-parser.jay (dim_separators): Implement. Make it a string
concatenating all the commas together, just as they appear.
(opt_dim_separators): Modify accordingly
(rank_specifiers): Update accordingly. Basically do the same
thing - instead, collect the brackets here.
(opt_rank_sepcifiers): Modify accordingly.
(array_type): Modify to actually return the complete type string
instead of ignoring the rank_specifiers.
(expression_list): Implement to collect the expressions
(variable_initializer): Implement. We make it a list of expressions
essentially so that we can handle the array_initializer case neatly too.
(variable_initializer_list): Implement.
(array_initializer): Make it a list of variable_initializers
(opt_array_initializer): Modify accordingly.

* expression.cs (New::NType): Add enumeration to help us
keep track of whether we have an object/delegate creation
or an array creation.
(New:NewType, New::Rank, New::Indices, New::Initializers): New
members to hold data about array creation.
(New:New): Modify to update NewType
(New:New): New Overloaded contructor for the array creation
case.

* cs-parser.jay (array_creation_expression): Implement to call
the overloaded New constructor.

2001-08-26  Ravi Pratap  <ravi@che.iitm.ac.in>

* class.cs (TypeContainer::Constructors): Return member
constructors instead of returning null.

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

22 years agoMon Aug 27 09:29:00 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 27 Aug 2001 03:43:09 +0000 (03:43 -0000)]
Mon Aug 27 09:29:00 CEST 2001 Paolo Molaro <lupus@ximian.com>

* x86/x86-codegen.h: fix x86_call_code (). x86_mov_regp_reg () added.

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

22 years agoAdd a couple of new errors and a compiler roadmap.
Miguel de Icaza [Mon, 27 Aug 2001 02:42:30 +0000 (02:42 -0000)]
Add a couple of new errors and a compiler roadmap.

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

22 years ago2001-08-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 Aug 2001 23:52:03 +0000 (23:52 -0000)]
2001-08-26  Miguel de Icaza  <miguel@ximian.com>

* interp.c (main): Add option handling for the interpreter,
support the `--trace' option.

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

22 years agoNo longer references the NameValueSectionHandler directly. Instead it uses System...
Christopher Podurgiel [Sun, 26 Aug 2001 22:42:24 +0000 (22:42 -0000)]
No longer references the NameValueSectionHandler directly.  Instead it uses System.Reflection to call the Create() method for the appropriate SectionHandler as defined in the .config file.

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

22 years ago2001-08-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 26 Aug 2001 22:36:41 +0000 (22:36 -0000)]
2001-08-26  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (InitCoreTypes): Initialize the various core
types after we have populated the type manager with the user
defined types (this distinction will be important later while
compiling corlib.dll)

* expression.cs, literal.cs, assign.cs, constant.cs: Started work
on Expression Classification.  Now all expressions have a method
`Resolve' and a method `Emit'.

* codegen.cs, cs-parser.jay: Fixed the bug that stopped code
generation from working.     Also add some temporary debugging
code.

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

22 years agoExpand stream.cs to cover read and write testing.
Paolo Molaro [Sun, 26 Aug 2001 17:14:15 +0000 (17:14 -0000)]
Expand stream.cs to cover read and write testing.
I should work now, with an updated corlib.

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

22 years agoSun Aug 26 23:04:46 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 17:13:14 +0000 (17:13 -0000)]
Sun Aug 26 23:04:46 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: get in a dummy virtual method dispatch.
Added support for int64, native int and native uint as arguments.
Added debug enter/leave for icall and pinvoke methods, too.
Implement opcodes conv.i, conv.i8, ldelema.

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

22 years agoSun Aug 26 23:03:09 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 17:05:51 +0000 (17:05 -0000)]
Sun Aug 26 23:03:09 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.c: added compare for szarray.

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

22 years agoSun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 17:04:13 +0000 (17:04 -0000)]
Sun Aug 26 23:01:41 CEST 2001 Paolo Molaro <lupus@ximian.com>

* FileAccess.cs, FileMode.cs: change values to be compatible with
the ms ones.

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

22 years agoConfigurationSettings.cs: No longer references the NameValueSectionHandler directly...
Christopher Podurgiel [Sun, 26 Aug 2001 15:19:48 +0000 (15:19 -0000)]
ConfigurationSettings.cs: No longer references the NameValueSectionHandler directly.  Instead it uses System.Reflection to call the Create() method for the appropriate SectionHandler as defined in the .config file.

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

22 years ago* verifier.cs: fixed bug in AssemblyLoader::LoadFrom in ReflectionTypeLoadException...
Sergey Chaban [Sun, 26 Aug 2001 13:12:31 +0000 (13:12 -0000)]
* verifier.cs: fixed bug in AssemblyLoader::LoadFrom in ReflectionTypeLoadException handler;

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

22 years agoAdd System.IO.IOException info.
Paolo Molaro [Sun, 26 Aug 2001 05:52:47 +0000 (05:52 -0000)]
Add System.IO.IOException info.

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

22 years agoSun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 05:51:23 +0000 (05:51 -0000)]
Sun Aug 26 11:47:56 CEST 2001 Paolo Molaro <lupus@ximian.com>

* IoException.cs: Implemented System.IO.Exception.

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

22 years agoSun Aug 26 11:37:30 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 05:43:56 +0000 (05:43 -0000)]
Sun Aug 26 11:37:30 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.h, interp.c: load also a MonoClass pointer when we load
an address on the stack. Implemented conv.i1, conv.i2, con.i4,
conv.u4, conv.r4, conv.r8. Print the arguments in the stack trace
and the name of the exception.

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

22 years agoSun Aug 26 11:34:24 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 26 Aug 2001 05:37:47 +0000 (05:37 -0000)]
Sun Aug 26 11:34:24 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.h, class.c, loader.h, loader.c: export mono_class_from_mono_type ()
and add a couple more types to it and mono_defaults. Give an hint on
classes that need implementing in our corlib and are referenced
in mscorlib.

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

22 years agoAdded the [Flags] attribute to the enumeration
Jim Richardson [Sat, 25 Aug 2001 11:04:53 +0000 (11:04 -0000)]
Added the [Flags] attribute to the enumeration

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

22 years agoSat Aug 25 15:56:03 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 25 Aug 2001 09:59:51 +0000 (09:59 -0000)]
Sat Aug 25 15:56:03 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: Implemented some opcodes: starg.s, ldobj, isinst,
ldarg, starg, ldloc, ldloca, stloc, initobj, cpblk, sizeof.

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

22 years agoSat Aug 25 12:57:36 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 25 Aug 2001 07:00:28 +0000 (07:00 -0000)]
Sat Aug 25 12:57:36 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: handle enumerations specially (not as valuetypes).

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

22 years agoSat Aug 25 12:52:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 25 Aug 2001 06:56:32 +0000 (06:56 -0000)]
Sat Aug 25 12:52:54 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: keep track if a class is also an Enum.
* loader.c: Implement a couple more types for use in libffi
marshalling. Gives better diagnostics when failing to dlopen
a library. Set method->klass for P/Invoke methods, too.

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

22 years ago* added support for fields;
Sergey Chaban [Sat, 25 Aug 2001 04:27:39 +0000 (04:27 -0000)]
* added support for fields;
* added support for non-public types;
* fixed types comparison bug,
  types must be compared by-hand, Equals won't work;
* now methods also compared by their access modifiers and inheritance options;
* more extensive error reporting;
* minor internal changes;

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

22 years ago2001-08-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 24 Aug 2001 22:10:10 +0000 (22:10 -0000)]
2001-08-24  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs: Lots of code generation pieces.  This is only the
beginning, will continue tomorrow with more touches of polish.  We
handle the fundamentals of if, while, do, for, return.  Others are
trickier and I need to start working on invocations soon.

* gen-treedump.cs: Bug fix, use s.Increment here instead of
s.InitStatement.

* codegen.cs (EmitContext): New struct, used during code
emission to keep a context.   Most of the code generation will be
here.

* cs-parser.jay: Add embedded blocks to the list of statements of
this block.  So code generation proceeds in a top down fashion.

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

22 years agoAdd new file
Miguel de Icaza [Fri, 24 Aug 2001 21:29:09 +0000 (21:29 -0000)]
Add new file

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

22 years agoupdated System.Drawing.Drawing2D.* class entries
stefan [Fri, 24 Aug 2001 18:53:40 +0000 (18:53 -0000)]
updated System.Drawing.Drawing2D.* class entries

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

22 years agoAdd back IAsyncResult to the build
Miguel de Icaza [Fri, 24 Aug 2001 17:32:06 +0000 (17:32 -0000)]
Add back IAsyncResult to the build

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

22 years agoUpdated class.xml
Michael Lambert [Fri, 24 Aug 2001 16:38:11 +0000 (16:38 -0000)]
Updated class.xml

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

22 years ago2001-08-23 Michael Lambert <michaellambert@email.com>
Michael Lambert [Fri, 24 Aug 2001 16:16:21 +0000 (16:16 -0000)]
2001-08-23  Michael Lambert <michaellambert@email.com>

* IAsyncResult.cs: Added

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

22 years ago2001-08-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 24 Aug 2001 16:07:04 +0000 (16:07 -0000)]
2001-08-24  Miguel de Icaza  <miguel@ximian.com>

* (common.src): Removed IAsyncResult as it is not on CVS yet.

* UIntPtr.cs: Removed CLSCompliant attribute before the namespace,
as it breaks the build.

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

22 years agoRemove IASyncResult to get the build going
Miguel de Icaza [Fri, 24 Aug 2001 15:59:51 +0000 (15:59 -0000)]
Remove IASyncResult to get the build going

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

22 years agoAdd System.Drawing.Drawing2D
Miguel de Icaza [Fri, 24 Aug 2001 15:54:40 +0000 (15:54 -0000)]
Add System.Drawing.Drawing2D

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

22 years agoControl.cs: Bug fixes.
Bob Smith [Fri, 24 Aug 2001 15:04:13 +0000 (15:04 -0000)]
Control.cs: Bug fixes.

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

22 years ago*** empty log message ***
Michael Lambert [Fri, 24 Aug 2001 14:20:03 +0000 (14:20 -0000)]
*** empty log message ***

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

22 years ago*** empty log message ***
Michael Lambert [Fri, 24 Aug 2001 13:56:21 +0000 (13:56 -0000)]
*** empty log message ***

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

22 years agoEnhanced test for valuetypes.
Paolo Molaro [Fri, 24 Aug 2001 13:39:12 +0000 (13:39 -0000)]
Enhanced test for valuetypes.

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

22 years agoFri Aug 24 19:30:25 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 24 Aug 2001 13:38:27 +0000 (13:38 -0000)]
Fri Aug 24 19:30:25 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: add a MonoType this_arg to MonoClass that
represents a pointer to an object of the class' type that
can be used by the interpreter and later the type cache.
Add best guess alignment info for valuetype objects.

Fri Aug 24 19:34:04 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.h, interp.c: add support for valuetypes.

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

22 years agoFri Aug 24 15:50:31 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 24 Aug 2001 10:26:14 +0000 (10:26 -0000)]
Fri Aug 24 15:50:31 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c, class.h, class.c: squeezed MonoParam
into MonoType: one less level of indirection and allocation and
simplifies quite a bit of code. Added cache for MonoTypes that are
used frequently, so that we don't need to allocate them all the time.

Fri Aug 24 16:09:20 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: updates for merge of MonoParam in MonoType.

Fri Aug 24 16:10:12 CEST 2001 Paolo Molaro <lupus@ximian.com>

* get.c, main.c, get.h: updates for MonoParam merge in MonoType.

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

22 years ago2001-08-24 Christopher Podurgiel <cpodurgiel@msn.com>
Christopher Podurgiel [Fri, 24 Aug 2001 08:10:04 +0000 (08:10 -0000)]
2001-08-24  Christopher Podurgiel <cpodurgiel@msn.com>

* SingleTagSectionHandler.cs: Added.
* DictionarySectionHandler.cs: Added.

* NameValueSectionHandler.cs: Compile errors are now fixed.
* IgnoreSectionHandler.cs: Compile errors are now fixed.

* ConfigurationSettings.cs: Added Implementation code for the entire class.
  Note the LAMESPEC: in GetConfig().

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

22 years agoadded MonoDummy.cs and TimeSpan.cs to common.src
Dietmar Maurer [Fri, 24 Aug 2001 06:44:09 +0000 (06:44 -0000)]
added MonoDummy.cs and TimeSpan.cs to common.src

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

22 years ago2001-08-24 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 24 Aug 2001 06:36:05 +0000 (06:36 -0000)]
2001-08-24  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_create_from_typedef): System.Enum is also a
value type, although it does not derive from System.ValueType
(maybe a bug in the ms compiler?)

* metadata.c (mono_type_size): return the right size for value types

* loader.c (mono_get_method): only initialize method header if not abstract

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

22 years ago2001-08-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Fri, 24 Aug 2001 05:39:12 +0000 (05:39 -0000)]
2001-08-24  Nick Drochak  <ndrochak@gol.com>

* SerializationInfo.cs: Added all the public methods so that the compile would not break

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

22 years ago2001-08-24 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 24 Aug 2001 03:17:19 +0000 (03:17 -0000)]
2001-08-24  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_from_mono_type): use mono_default values.

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

22 years ago2001-08-23 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 24 Aug 2001 02:30:51 +0000 (02:30 -0000)]
2001-08-23  Dietmar Maurer  <dietmar@ximian.com>

* *: use MonoClass pointers instead of <type_tokens>

* class.h: new flag: metadata_inited.

* class.c (mono_class_metadata_init): impl.
(mono_class_instance_size): impl.
(mono_class_data_size): impl.

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

22 years ago*** empty log message ***
Michael Lambert [Thu, 23 Aug 2001 21:43:03 +0000 (21:43 -0000)]
*** empty log message ***

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

22 years ago*** empty log message ***
Michael Lambert [Thu, 23 Aug 2001 21:04:10 +0000 (21:04 -0000)]
*** empty log message ***

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

22 years agoFlush and move to laptop
Miguel de Icaza [Thu, 23 Aug 2001 20:57:15 +0000 (20:57 -0000)]
Flush and move to laptop

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

22 years ago2001-08-22 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 23 Aug 2001 19:14:38 +0000 (19:14 -0000)]
2001-08-22  Rodrigo Moya <rodrigo@ximian.com>

* mono/cil/Makefile.am:
* mono/wrapper/Makefile.am: use correct variables for installation
directories

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

22 years agoControl.cs: More implementation. Events reworked for performance.
Bob Smith [Thu, 23 Aug 2001 19:07:24 +0000 (19:07 -0000)]
Control.cs: More implementation. Events reworked for performance.

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

22 years agoIntegrate into build
Miguel de Icaza [Thu, 23 Aug 2001 18:15:18 +0000 (18:15 -0000)]
Integrate into build

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

22 years agoAdd ClientTargetSectioHandler.cs from Toelen
Miguel de Icaza [Thu, 23 Aug 2001 18:14:30 +0000 (18:14 -0000)]
Add ClientTargetSectioHandler.cs from Toelen

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

22 years agoLove the web site
Miguel de Icaza [Thu, 23 Aug 2001 17:12:01 +0000 (17:12 -0000)]
Love the web site

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

22 years agoUpdate
Miguel de Icaza [Thu, 23 Aug 2001 13:48:33 +0000 (13:48 -0000)]
Update

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

22 years agoFix url
Miguel de Icaza [Thu, 23 Aug 2001 13:41:00 +0000 (13:41 -0000)]
Fix url

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

22 years agoThu Aug 23 12:04:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 23 Aug 2001 06:06:57 +0000 (06:06 -0000)]
Thu Aug 23 12:04:34 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: removed beforefieldinit check, it's a useless flag.
Added a couple more test cases to tests/ dir.

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

22 years agoAdded missing public attribute to FileStream class to allow File and
Jim Richardson [Thu, 23 Aug 2001 01:18:18 +0000 (01:18 -0000)]
Added missing public attribute to FileStream class to allow File and
FileInfo classes compile

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

22 years agoI suppose it helps when using CodeWright with C# to look at the output
Jim Richardson [Thu, 23 Aug 2001 01:16:08 +0000 (01:16 -0000)]
I suppose it helps when using CodeWright with C# to look at the output
for errors because the status line that says No Errors found "lies"
Fixed the compiler errors and vow to be more careful with copy/paste

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

22 years agoRemove ConfigurationSetting from the compilation until we have an implementation...
Miguel de Icaza [Thu, 23 Aug 2001 00:48:39 +0000 (00:48 -0000)]
Remove ConfigurationSetting from the compilation until we have an implementation of the NameValueCollection

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

22 years agoMinor web site fixes
Miguel de Icaza [Thu, 23 Aug 2001 00:38:09 +0000 (00:38 -0000)]
Minor web site fixes

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

22 years agoUpdated status
Jim Richardson [Thu, 23 Aug 2001 00:20:23 +0000 (00:20 -0000)]
Updated status

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

22 years agoAdded additional platform specific items
Jim Richardson [Thu, 23 Aug 2001 00:09:22 +0000 (00:09 -0000)]
Added additional platform specific items

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

22 years agoAdded more PlatformSpecific items
Jim Richardson [Thu, 23 Aug 2001 00:05:19 +0000 (00:05 -0000)]
Added more PlatformSpecific items

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

22 years agoImplemented various methods that were previously just do nothing stubs.
Jim Richardson [Thu, 23 Aug 2001 00:00:46 +0000 (00:00 -0000)]
Implemented various methods that were previously just do nothing stubs.
Verified compilation and added files to common.src

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

22 years agoMinor web site fixes
Miguel de Icaza [Wed, 22 Aug 2001 23:57:18 +0000 (23:57 -0000)]
Minor web site fixes

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

22 years agoUpdate for 0.6 release
Miguel de Icaza [Wed, 22 Aug 2001 23:54:45 +0000 (23:54 -0000)]
Update for 0.6 release

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

22 years ago2001-08-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 22 Aug 2001 23:32:44 +0000 (23:32 -0000)]
2001-08-22  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs (EmitCode): New function, will emit the code for a
Block of code given a TypeContainer and its ILGenerator.

* statement.cs (Block): Standard public readonly optimization.
(Block::Block constructors): Link children.
(Block::Child): Child Linker.
(Block::EmitVariables): Emits IL variable declarations.

* class.cs: Drop support for MethodGroups here, delay until
Semantic Analysis.
(Method::): Applied the same simplification that I did before, and
move from Properties to public readonly fields.
(Method::ParameterTypes): Returns the parameter types for the
function, and implements a cache that will be useful later when I
do error checking and the semantic analysis on the methods is
performed.
(Constructor::GetCallingConvention): Renamed from CallingConvetion
and made a method, optional argument tells whether this is a class
or a structure to apply the `has-this' bit.
(Method::GetCallingConvention): Implement, returns the calling
convention.
(Method::Define): Defines the type, a second pass is performed
later to populate the methods.

(Constructor::ParameterTypes): implement a cache similar to the
one on Method::ParameterTypes, useful later when we do semantic
analysis.

(TypeContainer::EmitMethod):  New method.  Emits methods.

* expression.cs: Removed MethodGroup class from here.

* parameter.cs (Parameters::GetCallingConvention): new method.

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

22 years ago2001-08-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 22 Aug 2001 21:26:35 +0000 (21:26 -0000)]
2001-08-23 Nick Drochak <ndrochak@gol.com>

* ccvs: added '-Pd' to the cvs update command with an explanation

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

22 years agoLiteralControl implemented, and HtmlContainerControl bugfixed.
Bob Smith [Wed, 22 Aug 2001 19:46:35 +0000 (19:46 -0000)]
LiteralControl implemented, and HtmlContainerControl bugfixed.

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

22 years ago2001-08-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 22 Aug 2001 19:08:09 +0000 (19:08 -0000)]
2001-08-21  Nick Drochak <ndrochak@gol.com>

* Added ChangeLog file

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

22 years ago2001-08-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 22 Aug 2001 18:35:19 +0000 (18:35 -0000)]
2001-08-22  Miguel de Icaza  <miguel@ximian.com>

* interp.c (usage): Add version information

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

22 years ago2001-08-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 22 Aug 2001 18:33:16 +0000 (18:33 -0000)]
2001-08-22  Miguel de Icaza  <miguel@ximian.com>

* interp.c (ves_pinvoke_method): Typo fix.

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

22 years agoUpdated class.xml
Bob Smith [Wed, 22 Aug 2001 16:17:45 +0000 (16:17 -0000)]
Updated class.xml

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

22 years agoMore implementations.
Bob Smith [Wed, 22 Aug 2001 16:07:36 +0000 (16:07 -0000)]
More implementations.

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

22 years agoWed Aug 22 20:37:51 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Aug 2001 14:44:45 +0000 (14:44 -0000)]
Wed Aug 22 20:37:51 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: simplified init_class (). Make sure a class
is fully initialized before executing a method in the class.
Search for the class constructor only on beforefieldinit classes.
Implement a bunch of opcodes: br, brfalse, brtrue, beq, bge,
bgt, blt, ble, bne.un, bge.un, bgt.un, ble.un, blt.un, stind.i,
ldflda, ldsflda, ldelem.i8, stelem.i8, leave.

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

22 years agoUpdated StringDictionary entry.
John Barnette [Wed, 22 Aug 2001 13:39:49 +0000 (13:39 -0000)]
Updated StringDictionary entry.

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

22 years agoVanity commit: added self to AUTHORS.
John Barnette [Wed, 22 Aug 2001 13:37:42 +0000 (13:37 -0000)]
Vanity commit: added self to AUTHORS.

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

22 years agoInitial add of StringDictionary.
John Barnette [Wed, 22 Aug 2001 13:36:27 +0000 (13:36 -0000)]
Initial add of StringDictionary.

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

22 years agoRename Windoze.cs to Windows.cs
Miguel de Icaza [Wed, 22 Aug 2001 11:50:46 +0000 (11:50 -0000)]
Rename Windoze.cs to Windows.cs

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

22 years agoWed Aug 22 16:27:30 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Aug 2001 10:38:20 +0000 (10:38 -0000)]
Wed Aug 22 16:27:30 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.c, loader.h, loader.c, image.h, image.c, class.h, class.c:
MonoClass now has the name and name_space fields.
MonoMethod has a pointer to its MonoClass, instead of MonoImage.
mono_get_method () takes and optional MonoClass as argument.
Removed mono_typedef_from_name() and added mono_class_token_from_name()
instead that takes advantage of a map from class names to typedef
tokens in MonoImage.

Wed Aug 22 16:34:03 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: Updates for changes in metadata/. Better output in debug mode
and in the stack trace. Completed rethrow handling

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

22 years agoWed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 22 Aug 2001 10:27:23 +0000 (10:27 -0000)]
Wed Aug 22 16:22:22 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c: add a newline after branch instructions. Move
end of exception handler code at the end.

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

22 years agoCorrected a compilation issue in Environment.cs and added it to common.src
Jim Richardson [Wed, 22 Aug 2001 09:24:48 +0000 (09:24 -0000)]
Corrected a compilation issue in Environment.cs and added it to common.src

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

22 years agoAdded PlatformID.cs and OperatingSystem.cs to common.src
Jim Richardson [Wed, 22 Aug 2001 09:10:05 +0000 (09:10 -0000)]
Added PlatformID.cs and OperatingSystem.cs to common.src

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

22 years agoImplemented additional functionality.
Jim Richardson [Wed, 22 Aug 2001 08:44:07 +0000 (08:44 -0000)]
Implemented additional functionality.
Verified compilation.
Added to appropriate .src files.

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

22 years agoCreated a namespace System.Private.PlatformSpecific.
Jim Richardson [Wed, 22 Aug 2001 08:41:45 +0000 (08:41 -0000)]
Created a namespace System.Private.PlatformSpecific.
Added implementations in Unix.cs and Windows.cs for retrieving
environment variables in a platform specific manner.
Implementations are called from Environment.cs

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

22 years agoCorrected some minor issues that were preventing compilation.
Jim Richardson [Wed, 22 Aug 2001 07:56:24 +0000 (07:56 -0000)]
Corrected some minor issues that were preventing compilation.

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

22 years agoLots of changes, it was basically rewritten from scratch.
Sergey Chaban [Wed, 22 Aug 2001 06:25:23 +0000 (06:25 -0000)]
Lots of changes, it was basically rewritten from scratch.

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

22 years agoUpdated entries for ListDictionary and StringCollection.
John Barnette [Wed, 22 Aug 2001 02:25:09 +0000 (02:25 -0000)]
Updated entries for ListDictionary and StringCollection.

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

22 years agoInitial add of ListDictionary.
John Barnette [Wed, 22 Aug 2001 02:18:15 +0000 (02:18 -0000)]
Initial add of ListDictionary.

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