mono.git
22 years ago2002-03-25 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Mon, 25 Mar 2002 12:28:57 +0000 (12:28 -0000)]
2002-03-25  Mike Kestner <mkestner@speakeasy.net>

* MemoryStream.cs (Read): Fixed bug in exception throw.

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

22 years agoMon Mar 25 13:08:18 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:21:49 +0000 (08:21 -0000)]
Mon Mar 25 13:08:18 CET 2002 Paolo Molaro <lupus@ximian.com>

* reflection.h, reflection.c: use a gc-safe hash for hash tables that
hold gc-allocated objects. Make the string heap a stream like the
others. Removed duplicated code when writing stream info.
Added asserts to catch possible buffer overflows. Set the sorted map
for tables that need sorting. Added some documentation.

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

22 years agoMon Mar 25 13:04:56 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:17:30 +0000 (08:17 -0000)]
Mon Mar 25 13:04:56 CET 2002 Paolo Molaro <lupus@ximian.com>

* appdomain.h, appdomain.c, class.c, object.c: use a GC-safe hash table
for interned strings and vtables.

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

22 years agoMon Mar 25 13:01:40 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:16:31 +0000 (08:16 -0000)]
Mon Mar 25 13:01:40 CET 2002 Paolo Molaro <lupus@ximian.com>

* threads.c: use a gc-safe hash table to store tls pointers.

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

22 years agoMon Mar 25 13:03:35 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:13:59 +0000 (08:13 -0000)]
Mon Mar 25 13:03:35 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: do not set the glib mem vtable anymore.
* Makefile.am: link to libmonoutils.

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

22 years agoMon Mar 25 12:59:52 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:12:40 +0000 (08:12 -0000)]
Mon Mar 25 12:59:52 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: allow tracing to be done on a per-method basis.
Fix interp_mono_runtime_invoke() to deal correcttly with the return
value. Disable glib mem vtable setting.

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

22 years agoBuild libmonoutils and link it to the binaries that need it.
Paolo Molaro [Mon, 25 Mar 2002 08:08:28 +0000 (08:08 -0000)]
Build libmonoutils and link it to the binaries that need it.

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

22 years agoMon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 25 Mar 2002 08:02:17 +0000 (08:02 -0000)]
Mon Mar 25 12:50:53 CET 2002 Paolo Molaro <lupus@ximian.com>

* First checkin: libmonoutils is meant to hold some utility
data structures and bits that are usefult to the rest of the project
and don't require metadata/runtime support.
mono-hash is a GC-safe hash table: i.e. you can store GC-allocated
data in it.

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

22 years agoUpdated errors
Miguel de Icaza [Mon, 25 Mar 2002 03:04:43 +0000 (03:04 -0000)]
Updated errors

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

22 years agoThis is the first pass at making the compiler work in --nostdlib mode,
Miguel de Icaza [Mon, 25 Mar 2002 02:40:44 +0000 (02:40 -0000)]
This is the first pass at making the compiler work in --nostdlib mode,
I am very close!

2002-03-25  Miguel de Icaza  <miguel@ximian.com>

* typemanager.cs (InitCodeHelpers): Split the functionality from
the InitCodeTypes function.

* driver.cs: Call InitCodeHelpers after we have populated the
types.

* cs-parser.jay (delegate_declaration): we did not used to compute
the delegate name correctly for void delegates.

2002-03-24  Miguel de Icaza  <miguel@ximian.com>

* rootcontext.cs (RootContext): Init the interface_resolve_order
and type_container_resolve_order always.

(ResolveCore, BootstrapCorlib_ResolveClass,
BootstrapCorlib_ResolveStruct): New functions to bootstrap the
compiler when compiling with --nostdlib

* class.cs (TypeContainer.DefineType): Check that our parent is
not null.  This test is most important when we are bootstraping
the core types.

* codegen.cs: Split out the symbol writing code.

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

22 years agoTouchups
Miguel de Icaza [Sun, 24 Mar 2002 22:42:33 +0000 (22:42 -0000)]
Touchups

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

22 years ago2002-03-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 24 Mar 2002 22:41:08 +0000 (22:41 -0000)]
2002-03-24  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs: Split out the symbol writing code.

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

22 years ago2002-03-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 24 Mar 2002 22:38:47 +0000 (22:38 -0000)]
2002-03-24  Miguel de Icaza  <miguel@ximian.com>

* codegen.cs: Split out the symbol writing code.

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

22 years ago2002-03-24 Duncan Mak <duncan@ximian.com>
Duncan Mak [Sun, 24 Mar 2002 21:45:29 +0000 (21:45 -0000)]
2002-03-24  Duncan Mak  <duncan@ximian.com>

* System.Data.build: Excluded System.Data.SqlClient from the build.
The stubs are incomplete and they are stopping the build.

* System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.

* SortedList.cs (Synchronized): Stubbed out a missing method
pointed out by Jakk Simm's test suite.

* SortedListTest.cs: Committed to CVS for Jaak Simm <jaaksimm@firm.ee>.

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

22 years ago2002-03-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 19:17:30 +0000 (19:17 -0000)]
2002-03-25  Martin Baulig  <martin@gnome.org>

* driver.cs (-g): Made -g an alias for --debug.

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

22 years ago2002-03-25 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 19:14:19 +0000 (19:14 -0000)]
2002-03-25  Martin Baulig  <martin@gnome.org>

* debug.h (mono_debug_make_symbols): Documented this function.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 19:12:57 +0000 (19:12 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* man/mcs.1: Documented the new --debug option and added a section
about debugging support.

* man/mono.1: Documented the new --dwarf and --dwarf-plus options.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 18:43:36 +0000 (18:43 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* codegen.cs (SymbolWriter): New public variable. Returns the
current symbol writer.
(CodeGen): Added `bool want_debugging_support' argument to the
 constructor. If true, tell the ModuleBuild that we want debugging
support and ask it for the ISymbolWriter.
(Save): If we have a symbol writer, call it's Close() method after
saving the assembly.

* driver.c (--debug): New command line argument to create a
debugger information file.

* location.cs (SymbolDocument): New public property. Returns an
ISymbolDocumentWriter object for the current source file or null
if we don't have a symbol writer.

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

22 years ago2002-03-23 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 24 Mar 2002 18:15:56 +0000 (18:15 -0000)]
2002-03-23  Miguel de Icaza  <miguel@ximian.com>

* LocalBuilder.cs: Drop the symbol_writer as LocalBuilder fields.
Do this lazily in SetLocalSymInfo.

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

22 years agoUpdate man page
Miguel de Icaza [Sun, 24 Mar 2002 16:23:10 +0000 (16:23 -0000)]
Update man page

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 14:28:53 +0000 (14:28 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs: Killed all methods in this interface, no longer needed.

* MonoSymbolWriter.cs (MonoSymbolWriter): The constructor now takes a string
argument which is the full pathname of the assembly - you must call Close()
after the assembly has been written to disk since the symbol writer needs to
load the finished assembly to get its metadata.

* MonoDwarfFileWriter.cs: Added support for enums and structs.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 14:25:01 +0000 (14:25 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (GetSymbolWriter): The MonoSymbolWriter's constructor
now takes a `string assembly_filename' argument, pass it our fully
qualified assembly name.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 14:22:23 +0000 (14:22 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* Enum.cs (GetValues): According to the docu this is sorted after
values, not names.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 14:16:11 +0000 (14:16 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* debug.c (mono_debug_add_method): Include the `this' offset in
the `minfo->method_info.param_offsets' array.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 14:15:02 +0000 (14:15 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_Type_GetFields): Reverse the list before storing
it in the array since it was created with g_slist_prepend().

2002-03-24  Martin Baulig  <martin@gnome.org>

* debug-symfile.c (mono_debug_local_type_from_signature): Renamed
to ves_icall_Debugger_MonoSymbolWriter_get_local_type_from_sig().
(mono_debug_method_from_token): Renamed to
ves_icall_Debugger_MonoSymbolWriter_method_from_token().
(ves_icall_Debugger_DwarfFileWriter_get_type_token): New interncall.

* debug-symfile.c (MRT_type_sizeof, MRT_type_field_offset): New
relocation types.

* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 6.

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

22 years ago2002-03-24 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Sun, 24 Mar 2002 13:40:26 +0000 (13:40 -0000)]
2002-03-24  Mike Kestner <mkestner@speakeasy.net>

* StreamReader.cs (ReadBuffer): Fix buffer merging bugs.

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

22 years ago2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 24 Mar 2002 13:39:41 +0000 (13:39 -0000)]
2002-03-24  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlClient/*: added skeletons for the SQL managed
provider for ADO.Net, to be based initially in PostgreSQL.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sun, 24 Mar 2002 10:54:00 +0000 (10:54 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* MonoDwarfFileWriter.cs: Added support for method parameters.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 23:26:51 +0000 (23:26 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs (IMonoSymbolWriter): Removed my custom OpenMethod(),
we're now using the ISymbolWriter's method.
(IVariable): Added `byte[] Signature' property.

* MonoSymbolWriter.cs (SetAssembly): New method. This must be called before
Close(); the assembly parameter is the already-written assembly, ie. it must
contain the full metadata.
(OpenMethod): Only take the token argument and set MethodInfo later in DoFixups.
(SetMethodSourceRange): You must call this function to tell the symbol writer
in which source file the method is defined.
(DefineLocal): Store the signature in the local.
(DoFixups): Use two new interncalls to set the SourceMethod's MethodInfo field
and the LocalVariable's Type field.

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

22 years ago2002-03-24 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 23:17:43 +0000 (23:17 -0000)]
2002-03-24  Martin Baulig  <martin@gnome.org>

* debug-symfile.c (mono_debug_local_type_from_signature): New func.
(mono_debug_method_from_token): New func.

* icall.c (Mono.CSharp.Debugger.MonoSymbolWriter::get_local_type_from_sig):
New interncall, calls mono_debug_local_type_from_signature().
(Mono.CSharp.Debugger.MonoSymbolWriter::get_method): New interncall,
calls mono_debug_method_from_token().

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

22 years ago* Fixed missing ')' character.
Adam Treat [Sat, 23 Mar 2002 22:35:02 +0000 (22:35 -0000)]
* Fixed missing ')' character.

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

22 years agoXmlTextWriter work on BaseStream, WriteState, and Namespaces.
Kral Ferch [Sat, 23 Mar 2002 20:46:11 +0000 (20:46 -0000)]
XmlTextWriter work on BaseStream, WriteState, and Namespaces.

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

22 years ago2002-03-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Mar 2002 20:21:21 +0000 (20:21 -0000)]
2002-03-24  Nick Drochak  <ndrochak@gol.com>

* ILGenerator.cs: Use #if-#endif instead of if(false){} to disable
code.  This way there is no compiler warning.

* TypeBuilder.cs: Removed the returns that came after the throws.
This removes a few more compiler warnings. Also marked with MonoTODO
all places where we throw NotImplemented exceptions.

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

22 years ago2002-03-24 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sat, 23 Mar 2002 19:56:41 +0000 (19:56 -0000)]
2002-03-24  Nick Drochak  <ndrochak@gol.com>

* ClassInterfaceAttribute.cs:
* ClassInterfaceType.cs: New Files.

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

22 years agoOoops, typo. Call the public function, not the internal one.
Martin Baulig [Sat, 23 Mar 2002 18:46:04 +0000 (18:46 -0000)]
Ooops, typo. Call the public function, not the internal one.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 18:04:04 +0000 (18:04 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* SignatureHelper.cs (GetFieldSignatureHelper, GetLocalSignatureHelper):
Implemented.

* LocalBuilder.cs (LocalBuilder): This internal constructor now takes
a ModuleBuilder argument instead of a ISymbolWriter one.
(SetLocalSymInfo): Create and pass type signature to DefineLocalVariable.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 17:59:35 +0000 (17:59 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* reflection.h (MonoReflectionSigHelper): New type.

* reflection.c (mono_reflection_sighelper_get_signature_local),
(mono_reflection_sighelper_get_signature_local): New functions.

* icall.c ("System.Reflection.Emit.SignatureHelper::get_signature_local"),
("System.Reflection.Emit.SignatureHelper::get_signature_field"): New
interncalls.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 17:02:45 +0000 (17:02 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* StreamReader.cs: Always do buffered reading, use 4k blocks.
(Read (char[], int, int)): Implemented.
(DiscardBufferedData): Implemented.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 16:59:17 +0000 (16:59 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* unicode.c (ves_icall_iconv_get_char_count): The `count' argument
specifies the number of bytes to be converted, not the array size.
Return the number of chars, not the number of bytes.
(ves_icall_iconv_get_chars): The `byteCount' argument
specifies the number of bytes to be converted, not the array size.

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

22 years agoSmall cosmetic and bugfix changes:
John Barnette [Sat, 23 Mar 2002 15:47:16 +0000 (15:47 -0000)]
Small cosmetic and bugfix changes:

* Fixed hanging fileHandle
* Removed <seeAlso> stubs; unnecessary
* changed <returnType> to <returns> to conform with the DTD.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 15:20:09 +0000 (15:20 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* x86.brg (lreg: CONV_I8 (reg)): X86_XOR modifies the flags, so we need
to do it before the X86_CMP.
(reg: CLT (lreg, lreg)): Use correct x86_branch8() targets.
(reg: CLT (lreg, lreg)): Likewise.
(reg: CLT_UN (lreg, lreg)): Likewise.
(reg: CLT_UN (lreg, lreg)): Likewise.
(reg: CGT (lreg, lreg)): Likewise.
(reg: CGT (lreg, lreg)): Likewise.
(reg: CGT_UN (lreg, lreg)): Likewise.
(reg: CGT_UN (lreg, lreg)): Likewise.

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

22 years agoUpdate docs, add target
Miguel de Icaza [Sat, 23 Mar 2002 14:01:01 +0000 (14:01 -0000)]
Update docs, add target

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 11:01:23 +0000 (11:01 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* ILGenerator.cs (BeginScope, EndScope): Implemented.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 10:54:41 +0000 (10:54 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs (ISourceBlock): New interface.
(ILocalVariable): Renamed this interface to IVariable.
(IVariable): Added Line, Type, Token.
(ILocalVariable, IMethodParameter): New interfaces, derive from IVariable.
(ISourceMethod): Added Blocks. Renamed FirstLine and LastLine to Start and End,
changed their type to ISourceLine. Removed CodeSize.
(ISourceLine): Renamed Line to Row, added Column. Added OffsetType and Offset.

* MonoDwarfFileWriter.cs (MonoDwarfFileWriter.DieLexicalBlock): New class.
(MonoDwarfFileWriter.DieMethodVariable): New class.

* MonoSymbolWriter.cs (OpenScope, CloseScope): Implemented.
Reflected latest IMonoSymbolWriter interface changes.

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

22 years agoA few minor bug fixes.
Martin Baulig [Sat, 23 Mar 2002 10:49:31 +0000 (10:49 -0000)]
A few minor bug fixes.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 10:45:35 +0000 (10:45 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* debug-private.h (AssemblyDebugInfo): Added `_priv'.

* debug-dwarf2-plus.c
(mono_debug_open_assembly_dwarf2_plus): Open the symbol file here.
(mono_debug_close_assembly_dwarf2_plus): Close the symbol file here.
(mono_debug_write_assembly_dwarf2_plus): Only call
mono_debug_update_symbol_file() here.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 10:42:54 +0000 (10:42 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* rawbuffer.c (mono_raw_buffer_load_mmap): Use MAP_SHARED when
is_writeable is set.
(mono_raw_buffer_update): New function to write the modified map
back to disk.

* debug-symfile.h (MonoDebugSymbolFile): Added `raw_contents_size'.

* debug-symfile.c (mono_debug_update_symbol_file): Call
mono_raw_buffer_update() when done writing.

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

22 years ago2002-03-23 Martin Baulig <martin@gnome.org>
Martin Baulig [Sat, 23 Mar 2002 10:15:36 +0000 (10:15 -0000)]
2002-03-23  Martin Baulig  <martin@gnome.org>

* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 5.

* debug-symfile.c: Added support for arguments and local variables.

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

22 years ago2002-03-23 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 23 Mar 2002 07:12:23 +0000 (07:12 -0000)]
2002-03-23  Dick Porter  <dick@ximian.com>

* debug-symfile.c: Remove extraneous 'include <elf.h>' that wasn't
protected by ifdefs, hence breaking the w32 build.

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

22 years agoXmlTextWriter formatting, indenting, xml declaration stuff.
Kral Ferch [Sat, 23 Mar 2002 04:38:35 +0000 (04:38 -0000)]
XmlTextWriter formatting, indenting, xml declaration stuff.

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

22 years agoinitial checkin. XmlTextWriter uses these objects in a stack to maintain state.
Kral Ferch [Sat, 23 Mar 2002 04:37:32 +0000 (04:37 -0000)]
initial checkin.  XmlTextWriter uses these objects in a stack to maintain state.

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

22 years agodocstub.cs: Changed <constructor name=""> to use short form for ctor name.
Adam Treat [Fri, 22 Mar 2002 23:21:40 +0000 (23:21 -0000)]
docstub.cs:  Changed <constructor name=""> to use short form for ctor name.

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

22 years agodocstub.cs: Removed extraneous tags. Changed default to 'TODO' from 'description'.
Adam Treat [Fri, 22 Mar 2002 22:06:15 +0000 (22:06 -0000)]
docstub.cs: Removed extraneous tags.  Changed default to 'TODO' from 'description'.

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

22 years ago2002-03-22 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Fri, 22 Mar 2002 19:04:05 +0000 (19:04 -0000)]
2002-03-22  Mike Kestner  <mkestner@speakeasy.net>

* XmlElement.cs: impl HasAttribute(string name).

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

22 years ago2002-03-22 Dick Porter <dick@ximian.com>
Dick Porter [Fri, 22 Mar 2002 10:31:46 +0000 (10:31 -0000)]
2002-03-22  Dick Porter  <dick@ximian.com>

* threads.c: Fix a race condition where a thread can start and
exit before the handle has been properly initialised (no reason
why the handle couldn't be initialised beforehand, so do so)

Fix a ms to ns conversion magnitude thinko.

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

22 years agodocstub.cs: Complete revamp according to John's DTD. You can generate your docs...
Adam Treat [Fri, 22 Mar 2002 05:49:57 +0000 (05:49 -0000)]
docstub.cs: Complete revamp according to John's DTD.  You can generate your docs now.  Enjoy!

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

22 years agoadded GetTransparentProxy stub
Dietmar Maurer [Fri, 22 Mar 2002 05:13:50 +0000 (05:13 -0000)]
added GetTransparentProxy stub

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

22 years agonew remoting classes
Dietmar Maurer [Fri, 22 Mar 2002 05:04:11 +0000 (05:04 -0000)]
new remoting classes

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

22 years ago2002-03-22 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 22 Mar 2002 03:23:26 +0000 (03:23 -0000)]
2002-03-22  Duncan Mak  <duncan@ximian.com>

* XmlDocument.cs (CreateSignificantWhitespace): Implemented.

* AllTests.cs:
* Microsoft.Test.csproj:
* Mono.Test.csproj: Updated to include new files.

* XmlSignificantWhitespaceTests.cs: Added to CVS.

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

22 years ago2002-03-22 Duncan Mak <duncan@ximian.com>
Duncan Mak [Fri, 22 Mar 2002 02:38:08 +0000 (02:38 -0000)]
2002-03-22  Duncan Mak  <duncan@ximian.com>

* XmlElement.cs: Reformatted.
(CloneNode) Corrected.

* XmlDocument.cs (CreateWhitespace): Implemented.

* XmlAttribute.cs (CloneNode): Changed the child's CloneNode to
true, because Attributes have ChildNodes.

2002-03-22  Duncan Mak  <duncan@ximian.com>

* AllTests.cs:
* Microsoft.Test.csproj:
* Mono.Test.csproj: Updated to include new files.

* XmlCDataSectionTests.cs: Added to CVS.

* XmlCommentTests.cs: Added to CVS. hanks to Kral for helping me
setup a testing environment on VS.NET.

* XmlElementTests.cs: Reformatted.
(TestCloneNode): Added.

* XmlWhiteSpaceTests.cs: Added to CVS.

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

22 years ago2002-03-21 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Fri, 22 Mar 2002 02:09:36 +0000 (02:09 -0000)]
2002-03-21  Mike Kestner  <mkestner@speakeasy.net>

* ASCIIEncoding.cs : Fix off by one error in Get(Char|Byte)Count.

2002-03-21  Mike Kestner <mkestner@speakeasy.net>

* StreamReader.cs : Fill out, add buffering, and use encoding.

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

22 years agoAdd section on patents
Miguel de Icaza [Thu, 21 Mar 2002 22:57:52 +0000 (22:57 -0000)]
Add section on patents

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

22 years agoThu Mar 21 18:08:37 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Mar 2002 13:18:40 +0000 (13:18 -0000)]
Thu Mar 21 18:08:37 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: set stack trace info when throwing an exception.

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

22 years agoThu Mar 21 17:38:19 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Mar 2002 12:48:14 +0000 (12:48 -0000)]
Thu Mar 21 17:38:19 CET 2002 Paolo Molaro <lupus@ximian.com>

* StringBuilder.cs: no need to intern the string returned by ToString().

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

22 years agoThu Mar 21 17:35:48 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Mar 2002 12:47:02 +0000 (12:47 -0000)]
Thu Mar 21 17:35:48 CET 2002 Paolo Molaro <lupus@ximian.com>

* jit.c: inter strings before executing a method.
Do not intern command line arguments anymore.

Thu Mar 21 17:32:46 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: intern strings before executing a method (and don't
intern command line arguments anymore). Add sanity checks in alloca
use.

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

22 years agoThu Mar 21 17:35:01 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 21 Mar 2002 12:46:24 +0000 (12:46 -0000)]
Thu Mar 21 17:35:01 CET 2002 Paolo Molaro <lupus@ximian.com>

* object.c: implement is_interned() the right way.

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

22 years ago2002-03-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 21 Mar 2002 11:05:08 +0000 (11:05 -0000)]
2002-03-21  Martin Baulig  <martin@gnome.org>

* debug.h (MonoDebugFormat): Added MONO_DEBUG_FORMAT_DWARF2_PLUS.

* debug-dwarf2-plus.c: This debugging format reads a symbol file which has
been created by MCS and fills in all machine dependent stuff.

* debug-private.h (DebugMethodInfo): Added `MonoDebugMethodInfo method_info',
removed everything which is already in MonoDebugMethodInfo.

* debug.c (debug_generate_method_lines): Generate the MonoILOffsetInfo array.
(mono_debug_make_symbols): Don't open the file or call as, this is done in the
backend code.

* jit.c (main): Added "--dwarf-plus" command line option to use the new
MONO_DEBUG_FORMAT_DWARF2_PLUS debugging format.

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

22 years ago avoid cyclic dependency in CEE_LDFTN
Dietmar Maurer [Thu, 21 Mar 2002 10:58:26 +0000 (10:58 -0000)]
 avoid cyclic dependency in CEE_LDFTN

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

22 years ago2002-03-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 21 Mar 2002 10:54:50 +0000 (10:54 -0000)]
2002-03-21  Dietmar Maurer  <dietmar@ximian.com>

* AsyncResult.cs: impl.

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

22 years ago2002-03-21 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 21 Mar 2002 10:33:49 +0000 (10:33 -0000)]
2002-03-21  Dick Porter  <dick@ximian.com>

* semaphores.c: Fix a problem when waiting for one or more
semaphores, and another semaphore is Released (all waiting
semaphores assumed they were signalled)

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

22 years agoremove mono_jit_abort
Dietmar Maurer [Thu, 21 Mar 2002 10:16:49 +0000 (10:16 -0000)]
remove mono_jit_abort

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

22 years agoInitial revision.
John Barnette [Thu, 21 Mar 2002 09:56:06 +0000 (09:56 -0000)]
Initial revision.

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

22 years ago*** empty log message ***
Dietmar Maurer [Thu, 21 Mar 2002 09:00:57 +0000 (09:00 -0000)]
*** empty log message ***

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

22 years ago2002-03-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 21 Mar 2002 08:51:47 +0000 (08:51 -0000)]
2002-03-21  Martin Baulig  <martin@gnome.org>

* debug-symfile.[ch]: New files to handle debugging information
files. There's also support to dynamically update these symbol
files to include machine dependent information.

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

22 years ago2002-03-21 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 21 Mar 2002 08:47:16 +0000 (08:47 -0000)]
2002-03-21  Martin Baulig  <martin@gnome.org>

* configure.in: Added check for <elf.h>.

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

22 years ago2002-03-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 21 Mar 2002 08:45:24 +0000 (08:45 -0000)]
2002-03-21  Dietmar Maurer  <dietmar@ximian.com>

* jit.c (usage): new option to specify maximum number of worker threads
* delegate.c (arch_get_async_invoke): notify listeners before we call the
asynchronous callback

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

22 years ago2002-03-21 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 21 Mar 2002 07:40:08 +0000 (07:40 -0000)]
2002-03-21  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c (async_invoke_abort): added support for asynchronous exceptions

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

22 years agoxmltextwriter writestartdocument and writeendelement.
Kral Ferch [Thu, 21 Mar 2002 04:28:19 +0000 (04:28 -0000)]
xmltextwriter writestartdocument and writeendelement.

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

22 years ago2002-03-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 21 Mar 2002 03:51:14 +0000 (03:51 -0000)]
2002-03-21  Miguel de Icaza  <miguel@ximian.com>

* test-49.cs: Improved test to excerise the coverage.

2002-03-21  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (LoadAssembly): Correctly return when all the paths
have been tried and not before.

* statement.cs (Switch.Emit): return the actual coverage for this
statement (returns/not-returns)

(Switch.SimpleSwitchEmit): Do not generate jumps to the end of the
switch of the statement if we are the last switch section.  That
kills two problems: try/catch problems (we used to emit an empty
nop at the end) and switch statements where all branches would
return.

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

22 years agoFix driver.cs bug
Miguel de Icaza [Thu, 21 Mar 2002 01:35:01 +0000 (01:35 -0000)]
Fix driver.cs bug

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

22 years ago2002-03-20 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 20 Mar 2002 23:01:25 +0000 (23:01 -0000)]
2002-03-20  Duncan Mak  <duncan@ximian.com>

* XmlEntityReference.cs (CloneNode): Implemented.

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

22 years ago2002-03-20 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 20 Mar 2002 22:51:09 +0000 (22:51 -0000)]
2002-03-20  Duncan Mak  <duncan@ximian.com>

* XmlException.cs (Message): Implemented. We need to cache the
message string because SystemException doesn't expose 'message'
from Exception.

* XmlText.cs (Value): Added in missing the Value property.

2002-03-20  Duncan Mak  <duncan@ximian.com>

* XmlAttribute.cs (CloneNode): Implemented.

* XmlDocumentFragment.cs (CloneNode): Implemented.

* XmlElement.cs (CloneNode): Implemented.

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

22 years ago2002-03-20 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 20 Mar 2002 15:07:11 +0000 (15:07 -0000)]
2002-03-20  Dietmar Maurer  <dietmar@ximian.com>

* threads.c (mono_thread_create): new function to create thread
from C

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 14:50:06 +0000 (14:50 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* IAssemblerWriter.cs: New interface.

* AssemblerWriterI386.cs: New class.

* MonoDwarfFileWriter.cs: Use the IAssemblerWriter interface to make this class
platform and assembler independent.

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

22 years ago2002-03-20 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 20 Mar 2002 14:28:10 +0000 (14:28 -0000)]
2002-03-20  Dietmar Maurer  <dietmar@ximian.com>

* delegate.c (async_invoke_thread): support for domains
(async_invoke_thread): create workers only when needed

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 13:48:50 +0000 (13:48 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* README.relocation-table: Updated documentation.

* MonoDwarfFileWriter.cs: Improved line number output.

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 13:44:35 +0000 (13:44 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* SymbolToken.cs (GetToken): Implemented.

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 13:42:21 +0000 (13:42 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* ModuleBuilder.cs (GetSymbolWriter): New internal function. Dynamically
loads the default symbol writer, catch all possible exceptions and return
null on failure.
(ModuleBuilder): Added `bool emitSymbolInfo' argument to this internal
constructor; if set, call GetSymbolWriter ().
(GetSymWriter): Implemented.

* LocalBuilder.cs (LocalBuilder): Added ISymbolWriter argument to this
internal method.
(SetLocalSymInfo): Implemented, call ISymbolWriter.DefineLocalVariable ()
if the symbol writer is not null.

* ILGenerator.cs (ILGenerator): Call ModuleBuilder.GetSymWriter () to get
and store the symbol writer.
(DeclareLocal): Pass the symbol writer to LocalBuilder's constructor.
(MarkSequencePoint): Implemented, call ISymbolWriter.DefineSequencePoints ()
if the symbol writer is not null.

* AssemblyBuilder.cs (DefineDynamicModule): Pass the `bool emitSymbolInfo'
to ModuleBuilder's constructor.

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 13:23:58 +0000 (13:23 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* ConstructorInfo.cs (Invoke): Implemented, call the abstract Invoke.

* MonoMethod.cs (MonoCMethod.Invoke): Implemented, call InternalInvoke.

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Wed, 20 Mar 2002 13:13:46 +0000 (13:13 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* icall.c (ves_icall_InternalInvoke): Create a new object if the
method is a constructor.
(icall_map): Added "System.Reflection.MonoCMethod::InternalInvoke",
points to ves_icall_InternalInvoke().

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

22 years agoadded some papers
Dietmar Maurer [Wed, 20 Mar 2002 12:18:31 +0000 (12:18 -0000)]
added some papers

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

22 years ago2002-03-29 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Wed, 20 Mar 2002 12:07:20 +0000 (12:07 -0000)]
2002-03-29  Dan Lewis <dihlewis@yahoo.co.uk>

* io.h, io.c, uglify.h: added MoveFile, CopyFile, CreateDirectory,
RemoveDirectory, GetFileAttributes, GetFileAttributesEx

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

22 years agoadded a list of books and papers
Dietmar Maurer [Wed, 20 Mar 2002 11:39:05 +0000 (11:39 -0000)]
added a list of books and papers

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

22 years agoimpl. MonoAsyncResult
Dietmar Maurer [Wed, 20 Mar 2002 11:08:05 +0000 (11:08 -0000)]
impl. MonoAsyncResult

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

22 years agosupport for BeginInvoke/EndInvoke
Dietmar Maurer [Wed, 20 Mar 2002 08:30:06 +0000 (08:30 -0000)]
support for BeginInvoke/EndInvoke

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

22 years ago2002-03-20 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Wed, 20 Mar 2002 06:32:25 +0000 (06:32 -0000)]
2002-03-20  Dan Lewis <dihlewis@yahoo.co.uk>

* file-io.c: Flush shouldn't throw exceptions.

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

22 years ago2002-03-19 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 19 Mar 2002 22:39:03 +0000 (22:39 -0000)]
2002-03-19  Duncan Mak  <duncan@ximian.com>

* XmlNotation.cs: Added to CVS.

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

22 years ago2002-03-19 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 19 Mar 2002 22:20:31 +0000 (22:20 -0000)]
2002-03-19  Duncan Mak  <duncan@ximian.com>

* XmlAttribute.cs (CloneNode): First crack at the CloneNode method.

* XmlCDataSection.cs (CloneNode): Implemented.

* XmlDocumentFragment.cs: Reformatted and added the missing properties
(InnerXml, OwnerDocument, ParentNode).  (CloneNode): Implemented.

* XmlSignificantWhitespace.cs (CloneNode): Implemented.
(Value) Implemented the 'get' property.

* XmlWhitespace.cs (Module): implemented.

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

22 years ago2002-03-20 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 19 Mar 2002 21:17:51 +0000 (21:17 -0000)]
2002-03-20  Martin Baulig  <martin@gnome.org>

* IMonoSymbolWriter.cs (ISourceMethod): Added FirstLine, LastLine, CodeSize and
Token properties.

* MonoDwarfFileWriter.cs: Implemented line number support.

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

22 years agoUpdate man page
Miguel de Icaza [Tue, 19 Mar 2002 21:03:15 +0000 (21:03 -0000)]
Update man page

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