mono.git
22 years ago2001-08-02 Alex Graveley <alex@ximian.com>
Alex Graveley [Thu, 2 Aug 2001 19:31:56 +0000 (19:31 -0000)]
2001-08-02  Alex Graveley  <alex@ximian.com>

        * libffi/*: Import libffi CVS version, with minor changes to make it
          compile.

        * mono/interpreter/Makefile.am: Link against
          ../../libffi/.libs/libffi.a.

        * Makefile.am: Add libffi

        * autogen.sh: Replace with adapted gnome autogen.sh

        * configure.in: Add AC_CONFIG_SUBDIRS(libffi).

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

22 years ago2001-08-02 Marcel Narings <marcel@narings.nl>
Marcel Narings [Thu, 2 Aug 2001 19:14:40 +0000 (19:14 -0000)]
2001-08-02  Marcel Narings  <marcel@narings.nl>

        * DateTime.cs: Cleaned up a bit. Added the Add* family members.
        Added exceptions. Added IConvertible. Still needs some platform
        dependend stuff, the Parse and ToString members

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

22 years ago2001-08-02 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 2 Aug 2001 14:19:45 +0000 (14:19 -0000)]
2001-08-02  Miguel de Icaza  <miguel@ximian.com>

* tree.cs: Removed RecordType, added RecordClass, RecordStruct and
RecordInterface instead.

* cs-parser.jay: Updated to reflect changes above.

* decl.cs (Definition): Keep track of the TypeBuilder type that
represents this type here.  Not sure we will use it in the long
run, but wont hurt for now.

* driver.cs: Smaller changes to accomodate the new code.

Call ResolveInterfaceBases, Call ResolveClassBases, Save assembly
when done.

* rootcontext.cs (CreateInterface):  New method, used to create
the System.TypeBuilder type for interfaces.
(ResolveInterfaces): new entry point to resolve the interface
hierarchy.
(CodeGen): Property, used to keep track of the code generator.

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

22 years ago2001-08-02 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 2 Aug 2001 11:28:08 +0000 (11:28 -0000)]
2001-08-02  Dietmar Maurer  <dietmar@ximian.com>

* interp.c (ves_exec_method): found a way to do unordered
compares, implemented CEE_BNE_UN_S, CEE_BGE_UN_S, CEE_BGT_UN_S,
CEE_BLE_UN_S, CEE_BLT_UN_S
* loader.c(mono_map_dll): impl.
(mono_get_method): bug fix: pass index - 1 to fill_pinvoke_info
        * mono/tests/pinvoke.cs: impl.

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

22 years ago * loader.c (mono_get_string_class_info): do a strcmp to check
Dietmar Maurer [Thu, 2 Aug 2001 06:46:33 +0000 (06:46 -0000)]
* loader.c (mono_get_string_class_info): do a strcmp to check
if it is System.String instead of using magic numbers.
* class.c (mono_class_create_from_typedef): do a strcmp to check
if it is System.Object instead of using magic numbers.
* image.h (MONO_IMAGE_IS_CORLIB): removed

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

22 years agoUpdate menus
Miguel de Icaza [Thu, 2 Aug 2001 02:17:37 +0000 (02:17 -0000)]
Update menus

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

22 years agoMore web page updates + more class updates
Miguel de Icaza [Thu, 2 Aug 2001 02:17:08 +0000 (02:17 -0000)]
More web page updates + more class updates

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

22 years agoInclude ToBase64 in compile
Miguel de Icaza [Thu, 2 Aug 2001 02:04:49 +0000 (02:04 -0000)]
Include ToBase64 in compile

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

22 years agoAdded ToBase64TransformTest from Sergey
Miguel de Icaza [Thu, 2 Aug 2001 01:55:45 +0000 (01:55 -0000)]
Added ToBase64TransformTest from Sergey

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

22 years agoMore FAQ updates; Updated class status
Miguel de Icaza [Wed, 1 Aug 2001 23:44:33 +0000 (23:44 -0000)]
More FAQ updates;  Updated class status

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

22 years agoAdd ChangeLog
Miguel de Icaza [Wed, 1 Aug 2001 23:07:32 +0000 (23:07 -0000)]
Add ChangeLog

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

22 years agoAdd missing files
Miguel de Icaza [Wed, 1 Aug 2001 23:05:44 +0000 (23:05 -0000)]
Add missing files

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

22 years agoMatthew Ford's initial implementation and test classes for
Miguel de Icaza [Wed, 1 Aug 2001 23:05:07 +0000 (23:05 -0000)]
Matthew Ford's initial implementation and test classes for
System.Security.Cryptography.

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

22 years agoUpdate documentation; FAQ; Download information; Status update
Miguel de Icaza [Wed, 1 Aug 2001 23:03:50 +0000 (23:03 -0000)]
Update documentation; FAQ;  Download information; Status update

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

22 years agoWed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Aug 2001 21:01:30 +0000 (21:01 -0000)]
Wed Aug 1 22:46:45 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c: properly decode the switch opcode.

Wed Aug 1 22:48:29 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: mono_field_type_size () moved to metadata.
Take correctly into account alignment when laying out
class fields. Fix 5 to 0 magc number (to check for System.Object).

Wed Aug 1 22:54:08 CEST 2001 Paolo Molaro <lupus@ximian.com>

* assembly.c: how could mono_assembly_close () had ever worked?
* metadata.c, metadata.h: provide offset info for local vars.
Implement mono_type_size () to take care of alignment as well
as size (it was mono_field_type_size in cli/class.c before).

Wed Aug 1 22:51:38 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: handle also MONO_TYPE_CLASS to/from the stack.
Change locals to be a memory blob, instead of the structured
(but wrong) stackval. Implement bne.un.s opcode. Make the program
exit with the error code from Main().

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

22 years agoMissed this change from previous commit.
Paolo Molaro [Wed, 1 Aug 2001 20:44:53 +0000 (20:44 -0000)]
Missed this change from previous commit.

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

22 years agoWed Aug 1 22:34:52 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 1 Aug 2001 20:38:13 +0000 (20:38 -0000)]
Wed Aug 1 22:34:52 CEST 2001 Paolo Molaro <lupus@ximian.com>

* configure.in, mono/tests: added some tests for the interpreter.

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

22 years ago * image.h (MONO_IMAGE_IS_CORLIB): new macro to check root image
Dietmar Maurer [Wed, 1 Aug 2001 18:12:02 +0000 (18:12 -0000)]
* image.h (MONO_IMAGE_IS_CORLIB): new macro to check root image
* assembly.h (CORLIB_NAME): set to corlib.dll
* assembly.c (mono_assembly_open): replaced strcmp() with !strcmp()
* interp.c (ves_exec_method): implemented LDSTR
* loader.c (mono_get_string_class_info): impl.
(methoddef_from_memberref): added check for references into mscorlib
* class.c (mono_class_create_from_typedef): better check for root
object

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

22 years ago2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>
Garrett Rooney [Wed, 1 Aug 2001 12:51:25 +0000 (12:51 -0000)]
2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>

* StackTest.cs: Add Test case for System.Collections.Stack.
Contributed by Chris Hynes <chrish@assistedsolutions.com>

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

22 years ago2001-08-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 1 Aug 2001 09:29:18 +0000 (09:29 -0000)]
2001-08-01  Dietmar Maurer  <dietmar@ximian.com>

* assembly.c (mono_assembly_open): set the corlib before we continue.
(mono_assembly_open): replaced strcmp() with !strcmp()

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

22 years ago2001-08-01 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 1 Aug 2001 07:13:42 +0000 (07:13 -0000)]
2001-08-01  Dietmar Maurer  <dietmar@ximian.com>

* Type.cs (GetTypeFromHandle): added placeholder

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

22 years agoMake Configure point people to the libffi library
Miguel de Icaza [Wed, 1 Aug 2001 06:59:29 +0000 (06:59 -0000)]
Make Configure point people to the libffi library

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

22 years ago2001-07-31 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 31 Jul 2001 21:54:03 +0000 (21:54 -0000)]
2001-07-31  Miguel de Icaza  <miguel@ximian.com>

* interp.c (GET_NATI): Switched from using nati_t to cli/types.h
m_i type.  Maybe we should rename the types to be m_i_t instead of
m_i alone.

Make the code compile after I broke it.

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

22 years agoTue Jul 31 23:46:33 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 31 Jul 2001 21:47:47 +0000 (21:47 -0000)]
Tue Jul 31 23:46:33 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: fix cleanup.
* Makefile.am: don't link with disassembler library.

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

22 years agoAdd CVS instructions and Developer FAQ
Miguel de Icaza [Tue, 31 Jul 2001 21:13:05 +0000 (21:13 -0000)]
Add CVS instructions and Developer FAQ

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

22 years agoUpdate to the FAQ.
Miguel de Icaza [Tue, 31 Jul 2001 21:12:47 +0000 (21:12 -0000)]
Update to the FAQ.

Beautified the code.

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

22 years agoTue Jul 31 20:13:59 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 31 Jul 2001 18:26:51 +0000 (18:26 -0000)]
Tue Jul 31 20:13:59 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: implement stind.*, ldind.*, ldloca.s opcodes.
Provide better tracing with DEBUG_INTERP.

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

22 years agoTue Jul 31 17:54:02 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 31 Jul 2001 16:06:17 +0000 (16:06 -0000)]
Tue Jul 31 17:54:02 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c, Makefile.am, private.h, assembly.c, blob.h,
cil-coff.h, image.c, image.h, pedump.c, rawbuffer.c, rawbuffer.h, row-indexes.h,
tokentype.h: massive namespace cleanup.

Tue Jul 31 17:52:53 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: massive namespace cleanup.

Tue Jul 31 17:48:11 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, dis-cil.h, dump.c, dump.h, get.c, get.h, main.c, push-pop.h:
massive namespace cleanup.
* main.c: dis_locals() now just strigifies a MonoMethodHeader.

Tue Jul 31 17:45:44 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c, cli.h, loader.c: massive namespace cleanup.

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

22 years ago*** empty log message ***
Dietmar Maurer [Tue, 31 Jul 2001 13:42:52 +0000 (13:42 -0000)]
*** empty log message ***

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

22 years ago2001-07-31 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 31 Jul 2001 13:40:15 +0000 (13:40 -0000)]
2001-07-31  Dietmar Maurer  <dietmar@ximian.com>

* cli.h: added pinvoke flags to MonoMethodPInvoke, moved method
implementation flags to MonoMethod

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

22 years agoDietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 31 Jul 2001 13:13:01 +0000 (13:13 -0000)]
Dietmar Maurer  <dietmar@ximian.com>

* main.c (pinvoke_flags): impl.

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

22 years ago*** empty log message ***
Dietmar Maurer [Tue, 31 Jul 2001 13:10:56 +0000 (13:10 -0000)]
*** empty log message ***

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

22 years agoEgo boost commit. Add myself to AUTHORS.
Garrett Rooney [Tue, 31 Jul 2001 13:05:42 +0000 (13:05 -0000)]
Ego boost commit.  Add myself to AUTHORS.

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

22 years ago*Stack.cs: Clone() doesn't need to check if it's synchronized, since
Garrett Rooney [Tue, 31 Jul 2001 12:51:28 +0000 (12:51 -0000)]
*Stack.cs: Clone() doesn't need to check if it's synchronized, since
we override it in SyncStack anyway.

*Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
avoid using massive amounts of memory that are not necessary.  We only
drop to half the current size, which i hope will avoid the 'ping-pong'
effect.

*Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
instead of just returning false, since we may have a ReadOnly wrapper
in the future (although i can't imagine why).  Thanks to David
Menestrina <dmenest@yahoo.com> for pointing this out.

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

22 years agoAdd test cases for System.IO.Path These might need to be fleshed out
Marcin Szczepanski [Tue, 31 Jul 2001 07:57:51 +0000 (07:57 -0000)]
Add test cases for System.IO.Path  These might need to be fleshed out
a bit to deal with more complex scenarios, but as is they cover most of
the functions to some extent.

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

22 years agoFlush
Miguel de Icaza [Tue, 31 Jul 2001 01:56:13 +0000 (01:56 -0000)]
Flush

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

22 years agoFlush
Miguel de Icaza [Tue, 31 Jul 2001 01:53:03 +0000 (01:53 -0000)]
Flush

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

22 years agoSome details fixed, but Queue does not work
Miguel de Icaza [Tue, 31 Jul 2001 00:59:58 +0000 (00:59 -0000)]
Some details fixed, but Queue does not work

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

22 years agoAdd Queue class from Ricardo Fernandez
Miguel de Icaza [Tue, 31 Jul 2001 00:53:21 +0000 (00:53 -0000)]
Add Queue class from Ricardo Fernandez

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

22 years agoMon Jul 30 20:11:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 30 Jul 2001 18:17:11 +0000 (18:17 -0000)]
Mon Jul 30 20:11:01 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.h, metadata.c: decode exception clauses when parsing method header.

Mon Jul 30 20:08:37 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, dis-cil.h, main.c: changes to disassemble also
the information about try/catch/finally blocks.

Mon Jul 30 20:05:23 CEST 2001 Paolo Molaro <lupus@ximian.com>

* cli.h, loader.c: usa a char *name field in MonoMethod instead
of the name_idx token.

Mon Jul 30 20:09:58 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: update to use mono_method->name.

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

22 years agoMono 0.5
Miguel de Icaza [Mon, 30 Jul 2001 00:23:41 +0000 (00:23 -0000)]
Mono 0.5

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

22 years agoFlush
Miguel de Icaza [Sun, 29 Jul 2001 23:58:17 +0000 (23:58 -0000)]
Flush

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

22 years agoRevert Tigert's change, because it breaks IE
Miguel de Icaza [Sun, 29 Jul 2001 22:42:55 +0000 (22:42 -0000)]
Revert Tigert's change, because it breaks IE

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

22 years agoCVS doc update + Maintainers update
Miguel de Icaza [Sun, 29 Jul 2001 04:50:15 +0000 (04:50 -0000)]
CVS doc update + Maintainers update

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

22 years agoDocumentation update, plus cvs docs
Miguel de Icaza [Sat, 28 Jul 2001 17:45:16 +0000 (17:45 -0000)]
Documentation update, plus cvs docs

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

22 years agoFlush
Miguel de Icaza [Fri, 27 Jul 2001 22:57:52 +0000 (22:57 -0000)]
Flush

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

22 years agoFri Jul 27 20:51:47 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 27 Jul 2001 19:05:30 +0000 (19:05 -0000)]
Fri Jul 27 20:51:47 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: add inited field to MonoClass.

Fri Jul 27 20:54:00 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: start implementing callvirt. Classes with
class constructors are properly initialized when needed.
Fix error introduced in version 1.17.

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

22 years agoD'oh, forgot to actually commit my previous changes.
Paolo Molaro [Fri, 27 Jul 2001 15:48:34 +0000 (15:48 -0000)]
D'oh, forgot to actually commit my previous changes.

Fri Jul 27 14:03:19 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: implement static field loading and storing.

Fri Jul 27 13:51:11 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.h, class.c: add a class_size member to MonoClass. We store
the static fields after the other class data. Offsets for static
fields are offsets from the MonoClass pointer.
Properly initialize class->instance_size and deal with static
fields when layouting them.

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

22 years ago*** empty log message ***
Dietmar Maurer [Fri, 27 Jul 2001 15:17:59 +0000 (15:17 -0000)]
*** empty log message ***

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

22 years agoTODO
Miguel de Icaza [Fri, 27 Jul 2001 13:56:06 +0000 (13:56 -0000)]
TODO

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

22 years ago2001-07-26 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 27 Jul 2001 13:51:10 +0000 (13:51 -0000)]
2001-07-26  Miguel de Icaza  <miguel@ximian.com>

* cs-parser.jay: Add a second production for delegate_declaration
with `VOID'.

(enum_body): Put an opt_comma here instead of putting it on
enum_body or enum_member_declarations so we can handle trailing
commas on enumeration members.  Gets rid of a shift/reduce.

(type_list): Need a COMMA in the middle.

(indexer_declaration): Tell tokenizer to recognize get/set

* Remove old targets.

* Re-add the parser target.

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

22 years agoUpdated
Miguel de Icaza [Fri, 27 Jul 2001 13:50:46 +0000 (13:50 -0000)]
Updated

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

22 years agoFri Jul 27 11:46:09 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 27 Jul 2001 10:53:38 +0000 (10:53 -0000)]
Fri Jul 27 11:46:09 CEST 2001 Paolo Molaro <lupus@ximian.com>

* loader.c: implemented lookup of methods in a different MonoImage
(needed to call the Syste.Object constructor, for example). Fixed the cache
code to only check for methods defined in the image.

Fri Jul 27 11:49:19 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: Removed some debugging printouts. Made stackval_to_data
static. Handle also instance methods in CALL opcode. Fix ret to properly
deal with void functions. Fixed constructor to leave the object on
the stack.

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

22 years agoThu Jul 26 19:11:19 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 26 Jul 2001 17:17:40 +0000 (17:17 -0000)]
Thu Jul 26 19:11:19 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.h, row_indexes.h: added header with enumerations to use
to index in the columns from tables in metadata and to decode coded
tokens: we should start using this instead of embedding magic numbers
all over the code.

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

22 years agoThu Jul 26 15:31:01 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 26 Jul 2001 13:32:29 +0000 (13:32 -0000)]
Thu Jul 26 15:31:01 CEST 2001 Paolo Molaro <lupus@ximian.com>

* loader.c: forgot to insert the method in the cache, not nice
with a recursive fibonacci test case :-)

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

22 years agoThu Jul 26 13:03:27 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 26 Jul 2001 11:51:50 +0000 (11:51 -0000)]
Thu Jul 26 13:03:27 CEST 2001 Paolo Molaro <lupus@ximian.com>

* assembly.c, cil-coff.h, image.c, image.h, pedump.c, typedef.c:
Move metadata_t info from cli_image_info_t to MonoImage, where
it's easily accessible. Changed all the uses accordingly.
Added the method and class caches to MonoImage.
* metadata.c, metadata.h: Changed mono_metadata_decode_blob_size ()
and mono_metadata_decode_value () signature to be more consistent
with the other parse functions (and simplify code). Taken advantage
of zero-length array allocation with GCC. Removed reduntant (and
wrong) MonoFieldType struct and use MonoParam instead. Changed
mono_metadata_parse_field_type () to use common code for parsing.
Added mono_metadata_typedef_from_field () and
mono_metadata_typedef_from_method () to lookup a typedef index from a
field or method token.
Pack the MonoRetType structure more tightly (fits in 8 bytes now).

Thu Jul 26 13:17:22 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c: updates to match changes in metadata.
Fix off by one errors. Implement creation of classes by typeref.
Remove custom cache and use the class cache in MonoImage.
* cli.h, loader.c: add MonoImage field to MonoMethod. Fill method cache
in MonoImage. Updates to match changes in metadata.

Thu Jul 26 13:22:28 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, dump.c, get.c, main.c: updates to match changes in metadata.
Removed dead code.

Thu Jul 26 13:24:51 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: ves_exec_method () doesn't take a MonoImage arg
anymore. Use the method cache in MonoImage. Updates to
mache recent changes in metadata.
Fix newobj code to use new metadata features. Call the class
constructor after allocationg the object. Implemented load field
and store field opcodes (the support functions need to be finished).

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

22 years agodoes not compile yet
Miguel de Icaza [Wed, 25 Jul 2001 21:20:16 +0000 (21:20 -0000)]
does not compile yet

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

22 years agoAdd SortedList contirbution
Miguel de Icaza [Wed, 25 Jul 2001 21:14:59 +0000 (21:14 -0000)]
Add SortedList contirbution

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

22 years agoAdd NameValueCollection contribution
Miguel de Icaza [Wed, 25 Jul 2001 21:09:54 +0000 (21:09 -0000)]
Add NameValueCollection contribution

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

22 years agoIn an attempt to fix the broken-on-mozilla links that get overlapped by the
Tuomas Kuosmanen [Wed, 25 Jul 2001 07:30:59 +0000 (07:30 -0000)]
In an attempt to fix the broken-on-mozilla links that get overlapped by the
text, I changed the main links a bit, so they are now pretty orange when
you mouseover them.

Turned out the thing was a mozilla bug afterwards, though the new color
stuff looks pretty cute, so I left it in.

Doh.

Tuomas

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

22 years ago2001-07-24 Derek Holden <dholden@draper.com>
Miguel de Icaza [Wed, 25 Jul 2001 05:15:40 +0000 (05:15 -0000)]
2001-07-24  Derek Holden  <dholden@draper.com>

* NumberStyles.cs: Added ECMA values for Allow types and default
styles.
2001-07-24  Derek Holden  <dholden@draper.com>

* Boolean.cs: Formatted to code style standard. Added GetTypeCode
which is really an IConvertible defined method.

* Byte.cs: Added a missing Parse method. Put in Parse and ToString
behavior, still need to do the main Parse and ToString.

* Char.cs: Added a bunch of missing ECMA methods. Commented a
specification discrepency. Still didn't any unicode stuff, though
every IsFoo(char c) method has an IsFoo(string, index)
counterpart, added wrappers for those.

* Convert.cs: Fixed NaN/Inf checking and double/float
rounding. Added ToType for IConvertible classes

* Double.cs: Fixed ECMA min and max values. Added IsInfinity /
IsNaN methods. Changed Inf/NaN internals.

* IConvertible.cs: Added comments for using
Convert.ToType. Changed return values to draft base values.

* Int16.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

* Int32.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

* Int64.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

* Single.cs: Put in ECMA epsilon value. Added IsInfinity / IsNaN
methods. Changed Inf/NaN internals.

* SByte.cs: Added a missing Parse method. Put in Parse and
ToString behavior, still need to do the main Parse and ToString.

* UInt16.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

* UInt32.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

* UInt64.cs: Added a missing Parse statement. Put in behavior for
overloaded ToString and Parse methods.

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

22 years agoClass
Miguel de Icaza [Tue, 24 Jul 2001 17:34:41 +0000 (17:34 -0000)]
Class

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

22 years agoupdated classes
Miguel de Icaza [Tue, 24 Jul 2001 17:25:32 +0000 (17:25 -0000)]
updated classes

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

22 years agomissing file.
Paolo Molaro [Tue, 24 Jul 2001 16:07:13 +0000 (16:07 -0000)]
missing file.

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

22 years agoTue Jul 24 16:51:09 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 24 Jul 2001 16:06:38 +0000 (16:06 -0000)]
Tue Jul 24 16:51:09 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c, hacks.h: moved a few ugly macros out of the code.
Implemented switch opcode.

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

22 years ago2001-07-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 24 Jul 2001 06:58:04 +0000 (06:58 -0000)]
2001-07-24  Miguel de Icaza  <miguel@ximian.com>

* class.c (mono_class_create_from_typedef): Take into account
parent classes for the size of a structure.

Still not ideal, but better than before.

For the case of the interpreter, Paolo is right, there is not much
use for a Field Map, as the way the Fields are located is through
a token.

(mono_class_init): Remove, initialize automatically.

(mono_class_get_field): new function, returns the information
about a field given a class and its token.

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

* interp.c (newobj): Added function to handle newobj opcode.

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

* metadata.c (mono_metadata_parse_field_type): Implement.
(do_mono_metadata_parse_type): Split engine from
mono_metadata_parse_type, so that we can create smaller structures
for things that just have one pointer to the MonoType (look at
the MonoFieldType)

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

22 years agoUpdates
Miguel de Icaza [Tue, 24 Jul 2001 04:56:42 +0000 (04:56 -0000)]
Updates

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

22 years ago2001-07-23 Sergey Chaban <serge@wildwestsoftware.com>
Miguel de Icaza [Tue, 24 Jul 2001 04:54:27 +0000 (04:54 -0000)]
2001-07-23  Sergey Chaban <serge@wildwestsoftware.com>

*  Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
           From now, Clear() increases modification count.
           Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
           instead of hcp.GetHashCode(key). This was resulted in the
           insanely long lookup times when HashCodeProvider was used to
           construct Hashtable. Added thread-safe wrapper.

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

22 years ago2001-07-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 23 Jul 2001 23:54:34 +0000 (23:54 -0000)]
2001-07-23  Miguel de Icaza  <miguel@ximian.com>

* interp.c (newobj): Added function to handle newobj opcode.

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

* object.h, object.c, class.h, class.c: Implemented the beginning
of the object system. x

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

* metadata.c (mono_metadata_parse_field_type): Implement.
(do_mono_metadata_parse_type): Split engine from
mono_metadata_parse_type, so that we can create smaller structures
for things that just have one pointer to the MonoType (look at
the MonoFieldType)

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

22 years agoReorganization
Miguel de Icaza [Mon, 23 Jul 2001 04:30:21 +0000 (04:30 -0000)]
Reorganization

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

22 years agoFlushety flush
Miguel de Icaza [Sun, 22 Jul 2001 03:59:57 +0000 (03:59 -0000)]
Flushety flush

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

22 years agofix a typo s/gnome-config/monodis
Chema Celorio [Sat, 21 Jul 2001 08:42:36 +0000 (08:42 -0000)]
fix a typo s/gnome-config/monodis

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

22 years agoFlushage
Miguel de Icaza [Sat, 21 Jul 2001 03:50:13 +0000 (03:50 -0000)]
Flushage

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

22 years agoFlush
Miguel de Icaza [Sat, 21 Jul 2001 03:43:14 +0000 (03:43 -0000)]
Flush

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

22 years agoUpdate README
Miguel de Icaza [Sat, 21 Jul 2001 02:00:36 +0000 (02:00 -0000)]
Update README

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

22 years agoMore contributors
Miguel de Icaza [Fri, 20 Jul 2001 23:41:59 +0000 (23:41 -0000)]
More contributors

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

22 years ago2001-07-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 20 Jul 2001 20:27:48 +0000 (20:27 -0000)]
2001-07-20  Miguel de Icaza  <miguel@ximian.com>

* metadata.c (mono_metadata_parse_mh): Correct the implementation,
as Jan Gray found out, it is incorrect.

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

22 years agoCommit
Miguel de Icaza [Fri, 20 Jul 2001 19:38:02 +0000 (19:38 -0000)]
Commit

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

22 years agoMore
Miguel de Icaza [Fri, 20 Jul 2001 19:25:31 +0000 (19:25 -0000)]
More

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

22 years agoMore
Miguel de Icaza [Fri, 20 Jul 2001 19:23:21 +0000 (19:23 -0000)]
More

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

22 years agoAdd more classes
Miguel de Icaza [Fri, 20 Jul 2001 19:19:46 +0000 (19:19 -0000)]
Add more classes

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

22 years agoOopsety
Miguel de Icaza [Fri, 20 Jul 2001 18:34:26 +0000 (18:34 -0000)]
Oopsety

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

22 years agoWooohooo! System.Web.Cache from Patrick!
Miguel de Icaza [Fri, 20 Jul 2001 17:48:40 +0000 (17:48 -0000)]
Wooohooo!  System.Web.Cache from Patrick!

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

22 years agoFlush
Miguel de Icaza [Fri, 20 Jul 2001 16:16:45 +0000 (16:16 -0000)]
Flush

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

22 years agoPUsh
Miguel de Icaza [Fri, 20 Jul 2001 16:16:14 +0000 (16:16 -0000)]
PUsh

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

22 years agoJust one extra bit
Miguel de Icaza [Fri, 20 Jul 2001 06:28:35 +0000 (06:28 -0000)]
Just one extra bit

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

22 years agoPerform nested assembly loading. Use assembly loading instead of
Miguel de Icaza [Fri, 20 Jul 2001 06:23:55 +0000 (06:23 -0000)]
Perform nested assembly loading.  Use assembly loading instead of
image loading.

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

22 years agoAdded the TM to the mono logo, also moved it a bit to the left.
Tuomas Kuosmanen [Fri, 20 Jul 2001 05:10:37 +0000 (05:10 -0000)]
Added the TM to the mono logo, also moved it a bit to the left.

/tigert

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

22 years agoAdd Mono files
Miguel de Icaza [Fri, 20 Jul 2001 05:02:47 +0000 (05:02 -0000)]
Add Mono files

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

22 years agoCommit new files, almost compiles with /nostdlib
Miguel de Icaza [Fri, 20 Jul 2001 04:54:58 +0000 (04:54 -0000)]
Commit new files, almost compiles with /nostdlib

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

22 years agoGot enumerations to work!
Miguel de Icaza [Fri, 20 Jul 2001 02:31:25 +0000 (02:31 -0000)]
Got enumerations to work!

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

22 years agoEnumerations from Michael Lambert
Miguel de Icaza [Fri, 20 Jul 2001 02:25:33 +0000 (02:25 -0000)]
Enumerations from Michael Lambert

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

22 years ago2001-07-19 Jeffrey Stedfast <fejj@ximian.com>
Jeffrey Stedfast [Fri, 20 Jul 2001 02:17:59 +0000 (02:17 -0000)]
2001-07-19  Jeffrey Stedfast  <fejj@ximian.com>

* Char.cs: Made ToUpper and ToLower public methods.

* String.cs: Lots and lots of compile fixes - just need to write
DateTime.cs and this should build completely now.

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

22 years agoFlush
Miguel de Icaza [Fri, 20 Jul 2001 02:02:23 +0000 (02:02 -0000)]
Flush

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

22 years agoFixes
Miguel de Icaza [Fri, 20 Jul 2001 01:32:46 +0000 (01:32 -0000)]
Fixes

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

22 years ago2001-07-19 Bob Smith (bob@thestuff.net)
Miguel de Icaza [Fri, 20 Jul 2001 01:30:32 +0000 (01:30 -0000)]
2001-07-19  Bob Smith (bob@thestuff.net)

* Math.cs: Implemented.

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

22 years agoflush
Miguel de Icaza [Fri, 20 Jul 2001 01:07:03 +0000 (01:07 -0000)]
flush

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

22 years ago*** empty log message ***
Miguel de Icaza [Fri, 20 Jul 2001 00:50:39 +0000 (00:50 -0000)]
*** empty log message ***

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

22 years ago*** empty log message ***
Miguel de Icaza [Fri, 20 Jul 2001 00:49:13 +0000 (00:49 -0000)]
*** empty log message ***

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

22 years agoAdd Byte, Char, Double, SByte, Single
Miguel de Icaza [Fri, 20 Jul 2001 00:37:51 +0000 (00:37 -0000)]
Add Byte, Char, Double, SByte, Single

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