mono.git
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

22 years agoInitial implementation of ListDictionary.
John Barnette [Wed, 22 Aug 2001 02:17:16 +0000 (02:17 -0000)]
Initial implementation of ListDictionary.

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

22 years agoFix xml
Miguel de Icaza [Tue, 21 Aug 2001 23:47:10 +0000 (23:47 -0000)]
Fix xml

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

22 years agoAdd Chris classes
Miguel de Icaza [Tue, 21 Aug 2001 23:41:58 +0000 (23:41 -0000)]
Add Chris classes

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

22 years agoAdd Chris to the maintainers list
Miguel de Icaza [Tue, 21 Aug 2001 23:39:01 +0000 (23:39 -0000)]
Add Chris to the maintainers list

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

22 years agoAdd System.Configuration classes from Chris Podurgiel
Miguel de Icaza [Tue, 21 Aug 2001 23:37:54 +0000 (23:37 -0000)]
Add System.Configuration classes from Chris Podurgiel

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

22 years ago2001-08-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 21 Aug 2001 23:17:19 +0000 (23:17 -0000)]
2001-08-21  Miguel de Icaza  <miguel@ximian.com>

* class.cs (TypeContainer::Populate): Drop RootContext from the
argument.

(Constructor::CallingConvention): Returns the calling convention.
(Constructor::ParameterTypes): Returns the constructor parameter
types.

(TypeContainer::AddConstructor): Keep track of default constructor
and the default static constructor.

(Constructor::) Another class that starts using `public readonly'
instead of properties.

(Constructor::IsDefault): Whether this is a default constructor.

(Field::) use readonly public fields instead of properties also.

(TypeContainer::TypeAttr, TypeContainer::AddConstructor): Keep
track of static constructors;  If none is used, turn on
BeforeFieldInit in the TypeAttributes.

* cs-parser.jay (opt_argument_list): now the return can be null
for the cases where there are no arguments.

(constructor_declarator): If there is no implicit `base' or
`this', then invoke the default parent constructor.

* modifiers.cs (MethodAttr): New static function maps a set of
modifiers flags into a MethodAttributes enum
(FieldAttr): renamed from `Map'.  So now we have FieldAttr,
MethodAttr, TypeAttr to represent the various mappings where the
modifiers are used.
(FieldAttr): Map also `readonly' to `FieldAttributes.InitOnly'

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

22 years agoAdded more notes for later use.
Bob Smith [Tue, 21 Aug 2001 15:55:20 +0000 (15:55 -0000)]
Added more notes for later use.

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

22 years agoreplaced mono-int with mint, disable debugging mode
Dietmar Maurer [Tue, 21 Aug 2001 13:55:45 +0000 (13:55 -0000)]
replaced mono-int with mint, disable debugging mode

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

22 years agoadded mint to cvsignore
Dietmar Maurer [Tue, 21 Aug 2001 13:49:29 +0000 (13:49 -0000)]
added mint to cvsignore

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

22 years agoadded some documentation
Dietmar Maurer [Tue, 21 Aug 2001 13:48:09 +0000 (13:48 -0000)]
added some documentation

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

22 years agoTue Aug 21 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Aug 2001 13:13:44 +0000 (13:13 -0000)]
Tue Aug 21 18:54:06 CEST 2001 Paolo Molaro <lupus@ximian.com>

* mono/tests/exceptions*: enhanced and added more tests for
exceptions.

Tue Aug 21 18:54:58 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.c: zero is not a valid alignment boundary.
Merge MONO_TYPE_VOID in default decoding code.

Tue Aug 21 18:56:19 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: new macro INIT_FRAME() to properly
initialize a MonoInvocation. Fixed a couple of buglets in exception code:
increase stack pointer when pushing the exception for catch blocks,
initialize frame->ex_handler to NULL, correctly try all the
catch blocks (don't incorrectly fallback on filter handling).
Added a couple more checks where we may need to throw an
exception. Added more exception creation functions.
Changed stackval_from_data() to take the target stackval as
argument. Implemented a couple more opcodes.
* interp.h: prepare stackval for value type code.

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

22 years agoTue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 21 Aug 2001 12:52:58 +0000 (12:52 -0000)]
Tue Aug 21 18:51:05 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dis-cil.c: correctly print the label for multi-byte opcodes.

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

22 years agooops, fix web site
Miguel de Icaza [Tue, 21 Aug 2001 12:47:34 +0000 (12:47 -0000)]
oops, fix web site

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

22 years ago2001-08-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 21 Aug 2001 12:08:49 +0000 (12:08 -0000)]
2001-08-21  Miguel de Icaza  <miguel@ximian.com>

* Makefile.am (mint_LDADD): Renamed interpreter to mint.

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

22 years ago2001-08-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Tue, 21 Aug 2001 09:39:08 +0000 (09:39 -0000)]
2001-08-21  Dietmar Maurer  <dietmar@ximian.com>

* image.h: merged MonoMetadata into MonoImage

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

22 years agoRemoved duplicate class nodes I accidentally committed.
Mike Kestner [Tue, 21 Aug 2001 09:00:13 +0000 (09:00 -0000)]
Removed duplicate class nodes I accidentally committed.

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

22 years agoremoved some unused code
Dietmar Maurer [Tue, 21 Aug 2001 04:10:23 +0000 (04:10 -0000)]
removed some unused code

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

22 years ago* class.h: cleanup of MonoArrayClass, use a MonoClass pointer to
Dietmar Maurer [Tue, 21 Aug 2001 03:58:11 +0000 (03:58 -0000)]
* class.h: cleanup of MonoArrayClass, use a MonoClass pointer to
identify the type of elements.
* interp.c (get_named_exception): use the right constructor.

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

22 years ago2001-08-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 21 Aug 2001 03:11:20 +0000 (03:11 -0000)]
2001-08-21  Nick Drochak <ndrochak@gol.com>

* class.xml : made myself maintainer of System.Diagnostics.DebuggableAttribute

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

22 years agoadded ltconfig to .cvsignore
Dietmar Maurer [Tue, 21 Aug 2001 02:54:06 +0000 (02:54 -0000)]
added ltconfig to .cvsignore

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

22 years agomerged the cli and metadata directories - everything is now in metadata
Dietmar Maurer [Tue, 21 Aug 2001 02:51:33 +0000 (02:51 -0000)]
merged the cli and metadata directories - everything is now in metadata

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

22 years agoAdded .cvsinogre
Miguel de Icaza [Mon, 20 Aug 2001 23:41:53 +0000 (23:41 -0000)]
Added .cvsinogre

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

22 years ago2001-08-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 20 Aug 2001 23:41:34 +0000 (23:41 -0000)]
2001-08-20  Miguel de Icaza  <miguel@ximian.com>

* mono/Makefile.am (SUBDIRS): Remove `test' from here to allow us
to pass make distcheck

* mono/wrapper/Makefile.am (EXTRA_DIST): Include genwrapper.pl

* configure.in, Makefile.am, runtime/Makefile.am (dist-hook,
install-data-hook): Added mechanism to distribute and install the
dll files.

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

22 years agoUnify, need to fix the whole biuld process
Miguel de Icaza [Mon, 20 Aug 2001 22:25:34 +0000 (22:25 -0000)]
Unify, need to fix the whole biuld process

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

22 years agoAdd new src files
Miguel de Icaza [Mon, 20 Aug 2001 22:18:35 +0000 (22:18 -0000)]
Add new src files

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

22 years agoMake compilation work with windows target, we do not need the 'monolib2' target
Miguel de Icaza [Mon, 20 Aug 2001 22:17:59 +0000 (22:17 -0000)]
Make compilation work with windows target, we do not need the 'monolib2' target

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

22 years agoUpdated the contributing section
Miguel de Icaza [Mon, 20 Aug 2001 20:48:33 +0000 (20:48 -0000)]
Updated the contributing section

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

22 years agoControl.cs: More implementation.
Bob Smith [Mon, 20 Aug 2001 20:24:35 +0000 (20:24 -0000)]
Control.cs: More implementation.

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

22 years agoUpdate
Miguel de Icaza [Mon, 20 Aug 2001 20:04:31 +0000 (20:04 -0000)]
Update

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

22 years agoAdd contribution from Leen Toelen
Miguel de Icaza [Mon, 20 Aug 2001 20:02:39 +0000 (20:02 -0000)]
Add contribution from Leen Toelen

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

22 years agoMention the compilation service
Miguel de Icaza [Mon, 20 Aug 2001 19:59:22 +0000 (19:59 -0000)]
Mention the compilation service

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

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

* Implemented ConditionalAttribute.cs and DebuggableAttribute.cs
* Forgot to cvs add them before I commited (cvs-newbie error, sorry)

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

22 years agoAdd tools to the biuld process
Miguel de Icaza [Mon, 20 Aug 2001 17:30:51 +0000 (17:30 -0000)]
Add tools to the biuld process

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

22 years agoAdd copyright information
Miguel de Icaza [Mon, 20 Aug 2001 17:29:19 +0000 (17:29 -0000)]
Add copyright information

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

22 years agoAdd Serge's verifier
Miguel de Icaza [Mon, 20 Aug 2001 17:26:38 +0000 (17:26 -0000)]
Add Serge's verifier

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

22 years agoUpdated contributions
Miguel de Icaza [Mon, 20 Aug 2001 15:35:06 +0000 (15:35 -0000)]
Updated contributions

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

22 years agoAdd System.Web to the make process
Miguel de Icaza [Mon, 20 Aug 2001 14:57:40 +0000 (14:57 -0000)]
Add System.Web to the make process
Flush my changes to Component.cs
Update mono.src
Fix compiler report.cs class

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

22 years agofixes to make it compile again
Dietmar Maurer [Mon, 20 Aug 2001 14:20:16 +0000 (14:20 -0000)]
fixes to make it compile again

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

22 years agoMon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Aug 2001 13:46:59 +0000 (13:46 -0000)]
Mon Aug 20 19:33:34 CEST 2001 Paolo Molaro <lupus@ximian.com>

* util.c: add a space when decoding multiple flags.
* dump.c, dump.h, main.c: decode the property map and
methodsemantics tables. Disassemble property information
to .property IL directives.
* get.c: allow passing a NULL as method in dis_stringify_method ()
if a methoddef_row is given.

Mon Aug 20 19:39:00 CEST 2001 Paolo Molaro <lupus@ximian.com>

* blob.h: fix MONO_TYPE_TYPEDBYREF value.
* cil-coff.h: split MonoMSDOSHeader and add size info.
* image.c: add some consistency checks.
* metadata.c: fix row size computation: one programmer
error and one LAMESPEC. Handle MONO_TYPE_TYPEDBYREF.
add explanation for the locator routine.
Fix decoding of size in method header.

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

22 years ago2001-08-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 20 Aug 2001 13:37:31 +0000 (13:37 -0000)]
2001-08-20  Miguel de Icaza  <miguel@ximian.com>

* assembly.c  (g_concat_dir_and_file): Use _S for string concat.

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

22 years agoCompilation fixes
Miguel de Icaza [Mon, 20 Aug 2001 13:31:12 +0000 (13:31 -0000)]
Compilation fixes

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

22 years ago2001-08-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 20 Aug 2001 13:26:33 +0000 (13:26 -0000)]
2001-08-20  Miguel de Icaza  <miguel@ximian.com>

* assembly.c (g_concat_dir_and_file): Bring g_concat_dir_and_file
function from gnome-libs.  This uses the right path separator
based on the OS, and also works around a bug in some systems where
a double slash is not allowed.
(default_assembly_name_resolver): Use g_concat_dir_and_file
(mono_assembly_open): ditto.

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

22 years agoMore web site updates
Miguel de Icaza [Mon, 20 Aug 2001 13:26:07 +0000 (13:26 -0000)]
More web site updates

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

22 years agoMon Aug 20 18:58:36 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 20 Aug 2001 13:00:33 +0000 (13:00 -0000)]
Mon Aug 20 18:58:36 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c: fix buglet with the leave.s opcode.

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

22 years ago2001-08-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 20 Aug 2001 12:02:44 +0000 (12:02 -0000)]
2001-08-21  Nick Drochak <ndrochak@gol.com>

* Added DebuggableAttribute.cs and ConditionalAttribute.cs to compile list

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

22 years ago2001-08-21 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 20 Aug 2001 11:32:49 +0000 (11:32 -0000)]
2001-08-21  Nick Drochak <ndrochak@gol.com>

        * Component.cs: Eliminated compile errors by removing redundant fields and
        using the ISite member instead.  Also raised the Disposed event, but not
        sure if it's correct now.  Look for FIXME in the comments.

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

22 years ago2001-08-20 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 20 Aug 2001 10:10:04 +0000 (10:10 -0000)]
2001-08-20  Dietmar Maurer  <dietmar@ximian.com>

* object.c (mono_new_string): impl.

* loader.c (mono_init): impl.

* object.c (mono_new_utf16_string): impl.

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

22 years ago2001-08-20 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Mon, 20 Aug 2001 08:52:40 +0000 (08:52 -0000)]
2001-08-20  Dietmar Maurer  <dietmar@ximian.com>

        * mono/tests/stream.cs: new tests for the Stream class

        * configure.in: I really need LIBTOOL for libmonowrapper.so, so I
        added it again.

        * class.h: replaced 'struct MonoMethod' with 'MonoMethod'

        * cli.h: removed #include <mono/cli/object.h>

        * icall.c: changed everything to support the new calling convention

        * hacks.h: added some macros for FreeBSD

        * interp.c (get_named_exception): use mono_object_new instead of
        newobj, initialize the stack before we call the constructor.

        * metadata.c (mono_metadata_signature_equal): impl.

        * *: void is now a realy MonoType (instead of using NULL)

        * metadata.c (do_mono_metadata_parse_type): use
        mono_metadata_parse_type to parse void value.

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

22 years agoadded UnixWrapper, FileStream and Stream Class + various fixes
Dietmar Maurer [Mon, 20 Aug 2001 08:14:36 +0000 (08:14 -0000)]
added UnixWrapper, FileStream and Stream Class + various fixes

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

22 years agoDES classes update.
Sergey Chaban [Mon, 20 Aug 2001 08:02:20 +0000 (08:02 -0000)]
DES classes update.

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

22 years agoAdded PKCS-5 padding.
Sergey Chaban [Mon, 20 Aug 2001 08:00:13 +0000 (08:00 -0000)]
Added PKCS-5 padding.

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

22 years agoEncryption core is approximately 30% faster than previous version.
Sergey Chaban [Mon, 20 Aug 2001 07:58:31 +0000 (07:58 -0000)]
Encryption core is approximately 30% faster than previous version.

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

22 years agoUpdate class.xml
Miguel de Icaza [Sun, 19 Aug 2001 23:06:15 +0000 (23:06 -0000)]
Update class.xml

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

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

* parameter.cs (GetParameterInfo): Fix bug where there would be no
method arguments.

* interface.cs (PopulateIndexer): Implemented the code generator

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

22 years agoAdd more tests for the compiler
Miguel de Icaza [Sun, 19 Aug 2001 22:59:25 +0000 (22:59 -0000)]
Add more tests for the compiler

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

22 years agoAdd a couple of attributes -miguel
Miguel de Icaza [Sun, 19 Aug 2001 22:59:11 +0000 (22:59 -0000)]
Add a couple of attributes -miguel

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

22 years agoSat Aug 18 12:40:32 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 18 Aug 2001 06:55:29 +0000 (06:55 -0000)]
Sat Aug 18 12:40:32 CEST 2001 Paolo Molaro <lupus@ximian.com>

* x86/x86-codegen.h: fix a couple of buglets and add x86_regp_emit().

Sat Aug 18 12:42:26 CEST 2001 Paolo Molaro <lupus@ximian.com>

* class.c, class.h: load also the methods when loading a class.

Sat Aug 18 12:43:38 CEST 2001 Paolo Molaro <lupus@ximian.com>

* interp.c, interp.h: added support code to create exceptions.
Changed interncal calling convnetion over to MonoInvocation, to support
exceptions, walking the stack back and forward and passing the 'this'
pointer separately (remove the cludges required before to pass this on the
stack). Use alloca heavily for both local vars and a copy of the incoming
arguments. Init local vars to zero.
Simplify stackval_from_data() and stackval_to_data() to only take a pointer
instead of pointer + offset.
Implement a few exceptions-related opcodes and the code to run finally, fault and
catch blocks as well as a stack trace if no handler is found.

Sat Aug 18 12:51:28 CEST 2001 Paolo Molaro <lupus@ximian.com>

* metadata.c, metadata.h: in the signature and method header store
only the space required for holding the loca vars and incoming arguments.

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

22 years agoSat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 18 Aug 2001 05:38:22 +0000 (05:38 -0000)]
Sat Aug 18 11:24:07 CEST 2001 Paolo Molaro <lupus@ximian.com>

* dump.c, get.c, get.h, main.c: dis_stringify_method_signature()
gets an optional methodef_row index instead of a name, so it
can figure out also the names and attributes of params.
parse_method_signature() and free_method_signature() removed as
they are useless now.

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

22 years agoMark the implementation status as complete for Point, PointF, Size, and SizeF
Mike Kestner [Fri, 17 Aug 2001 17:27:06 +0000 (17:27 -0000)]
Mark the implementation status as complete for Point, PointF, Size, and SizeF
in System.Drawing.

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

22 years agoAdded the PointF, Size, and SizeF structures to System.Drawing.
Mike Kestner [Fri, 17 Aug 2001 17:19:15 +0000 (17:19 -0000)]
Added the PointF, Size, and SizeF structures to System.Drawing.

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

22 years agoTook ownership of System.Web.UI.Control
Bob Smith [Fri, 17 Aug 2001 15:36:22 +0000 (15:36 -0000)]
Took ownership of System.Web.UI.Control

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

22 years agoStarted work on System.Web.UI.Control
Bob Smith [Fri, 17 Aug 2001 15:30:43 +0000 (15:30 -0000)]
Started work on System.Web.UI.Control

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

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

* interface.cs (InterfaceMemberBase): Now we track the new status
here.

(PopulateProperty): Implement property population.  Woohoo!  Got
Methods and Properties going today.

Removed all the properties for interfaces, and replaced them with
`public readonly' fields.

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

22 years agoAdd fficonfig.h
Alex Graveley [Thu, 16 Aug 2001 20:10:17 +0000 (20:10 -0000)]
Add fficonfig.h

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

22 years ago2001-08-16 Alex Graveley <alex@ximian.com>
Alex Graveley [Thu, 16 Aug 2001 20:09:33 +0000 (20:09 -0000)]
2001-08-16  Alex Graveley  <alex@ximian.com>

* configure.in: Replace AM_PROG_LIBTOOL with AC_PROG_RANLIB. This
removes libtool dependency on all of Mono.

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

22 years agoAdd .cvsignore files
Alex Graveley [Thu, 16 Aug 2001 18:40:40 +0000 (18:40 -0000)]
Add .cvsignore files

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

22 years ago2001-08-16 Alex Graveley <alex@ximian.com>
Alex Graveley [Thu, 16 Aug 2001 18:20:02 +0000 (18:20 -0000)]
2001-08-16  Alex Graveley  <alex@ximian.com>

* libffi/include/fficonfig.h: Remove as this is auto generated.

* Makefile.am: Only generate libffi.a.

* configure.in: replace A[CM]_PROG_LIBTOOL with AC_PROG_RANLIB.

2001-08-16  Alex Graveley  <alex@ximian.com>

* Makefile.am (mono_int_LDADD): Link with ../../libffi/libffi.a
instead of ../../libffi/.libs/libffi.a.

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

22 years agoBug fixes.
Bob Smith [Thu, 16 Aug 2001 14:39:49 +0000 (14:39 -0000)]
Bug fixes.

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

22 years agoUpdate errors listing
Miguel de Icaza [Thu, 16 Aug 2001 13:57:05 +0000 (13:57 -0000)]
Update errors listing

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

22 years ago2001-08-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 Aug 2001 13:22:36 +0000 (13:22 -0000)]
2001-08-16  Nick Drochak <ndrochak@gol.com>

* Added myself as maintainer of System.Attribute which is 95% done.

* Made myself maintainer of System.ConditionalAttribute

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

22 years ago2001-08-16 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 16 Aug 2001 13:20:02 +0000 (13:20 -0000)]
2001-08-16  Nick Drochak <ndrochak@gol.com>

* Attribute.cs: implemented all methods except GetHashCode()

* common.src: added Attribute.cs so it would compile in

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

22 years agoAdd the System.Drawing.Point struct implementation a fix a buglet in the
Mike Kestner [Thu, 16 Aug 2001 12:42:08 +0000 (12:42 -0000)]
Add the System.Drawing.Point struct implementation a fix a buglet in the
System.Drawing makefile.

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

22 years agoMore work
Miguel de Icaza [Wed, 15 Aug 2001 19:56:19 +0000 (19:56 -0000)]
More work

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

22 years agoAdded stubbed implementations for classes.
Jim Richardson [Tue, 14 Aug 2001 02:30:47 +0000 (02:30 -0000)]
Added stubbed implementations for classes.

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

22 years agoMoved PlatformID enum from OperatingSystem.cs to PlatformID.cs
Jim Richardson [Tue, 14 Aug 2001 02:28:00 +0000 (02:28 -0000)]
Moved PlatformID enum from OperatingSystem.cs to PlatformID.cs

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

22 years agoUpdated status of System.IO.Path. Entered System.IO.Directory and assigned
Jim Richardson [Mon, 13 Aug 2001 23:38:59 +0000 (23:38 -0000)]
Updated status of System.IO.Path. Entered System.IO.Directory and assigned
maintainer as myself as Path and Directory are quite complimentary.

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

22 years agoCorrected a couple of minor typos.
Jim Richardson [Mon, 13 Aug 2001 23:28:30 +0000 (23:28 -0000)]
Corrected a couple of minor typos.

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