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

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