Gaurav Vaish [Tue, 26 Mar 2002 19:09:44 +0000 (19:09 -0000)]
2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
* :: Adding attributes.... Work in progress, but I am damn too tired..
svn path=/trunk/mcs/; revision=3368
Gaurav Vaish [Tue, 26 Mar 2002 17:49:40 +0000 (17:49 -0000)]
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* Web/*.cs -- Added attribute definitions.
* Web/ChangeLog -- Notification
* Web.UI.WebControls/*.cs -- Patches, to make build get going..
svn path=/trunk/mcs/; revision=3367
Gaurav Vaish [Tue, 26 Mar 2002 16:52:13 +0000 (16:52 -0000)]
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* library.build: System.Web was excluded from build on Linux. Including it.
svn path=/trunk/mcs/; revision=3366
Paolo Molaro [Tue, 26 Mar 2002 16:26:05 +0000 (16:26 -0000)]
Tue Mar 26 21:14:36 CET 2002 Paolo Molaro <lupus@ximian.com>
* driver.cs: allow compilation of files that start with '/'.
Add a default case when checking the argument of --target.
svn path=/trunk/mcs/; revision=3365
Duncan Mak [Tue, 26 Mar 2002 16:02:02 +0000 (16:02 -0000)]
2002-03-26 Duncan Mak <duncan@ximian.com>
* XmlDeclaration.cs (CloneNode):
* XmlDocument.cs (CreateXmlDeclaration): Added missing constructor
arguments.
* XmlCharacterData.cs (Substring): Fixed typo.
svn path=/trunk/mcs/; revision=3364
Paolo Molaro [Tue, 26 Mar 2002 15:45:26 +0000 (15:45 -0000)]
Fixed make distcheck.
svn path=/trunk/mono/; revision=3363
Paolo Molaro [Tue, 26 Mar 2002 15:23:49 +0000 (15:23 -0000)]
Tue Mar 26 20:10:24 CET 2002 Paolo Molaro <lupus@ximian.com>
* AssemblyBuilder.cs: use FileMode.Create.
* ILGenerator.cs: optimize localbuilder related opcodes.
Track parameters to adjust maxstack.
* LocalBuilder.cS: use unsigned for position.
svn path=/trunk/mcs/; revision=3362
Paolo Molaro [Tue, 26 Mar 2002 15:19:09 +0000 (15:19 -0000)]
Tue Mar 26 20:09:10 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: set frame->ip before dumping the stack trace.
svn path=/trunk/mono/; revision=3361
Paolo Molaro [Tue, 26 Mar 2002 15:11:06 +0000 (15:11 -0000)]
Tue Mar 26 19:56:10 CET 2002 Paolo Molaro <lupus@ximian.com>
* appdomain.c: do not use the byte marker in ldstr table lookup.
* debug-helpers.c: allow two ':' to separate class and method name.
* object.c: allocate arrays bounds with the GC, too.
* verify: add a few more checks.
svn path=/trunk/mono/; revision=3360
Paolo Molaro [Tue, 26 Mar 2002 15:05:12 +0000 (15:05 -0000)]
Tue Mar 26 19:54:45 CET 2002 Paolo Molaro <lupus@ximian.com>
* jit.c: remove glib mem vtable code.
Tue Mar 26 19:54:45 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: remove glib mem vtable code.
svn path=/trunk/mono/; revision=3359
Duncan Mak [Tue, 26 Mar 2002 15:03:40 +0000 (15:03 -0000)]
2002-03-26 Duncan Mak <duncan@ximian.com>
* XmlCharacterData.cs (InnerText): Implemented. Funny that the
docs say it is the "The concatenated values of the node and all
the children of the node.". I wrote some test programs and
couldn't get any of the derived nodes to AppendChild. For now,
InnerText == Data == Value.
* XmlDeclaration.cs (XmlDeclaration): Fixed the constructor parameter signature.
svn path=/trunk/mcs/; revision=3358
Paolo Molaro [Tue, 26 Mar 2002 13:56:34 +0000 (13:56 -0000)]
Tue Mar 26 18:45:46 CET 2002 Paolo Molaro <lupus@ximian.com>
* reflection.c: output also literal strings. Allocate parameter data
with GC_malloc() (thanks, Martin, for catching this!).
svn path=/trunk/mono/; revision=3357
Dick Porter [Tue, 26 Mar 2002 13:48:37 +0000 (13:48 -0000)]
2002-03-26 Dick Porter <dick@ximian.com>
* makefile (linux): Abandon the build if any of the subdir makes fail
svn path=/trunk/mcs/; revision=3356
Dick Porter [Tue, 26 Mar 2002 13:41:44 +0000 (13:41 -0000)]
2002-03-26 Dick Porter <dick@ximian.com>
* interp.c: Show thread ID's in trace output.
New option "--traceclassinit" to put debug output around
runtime_class_init().
Make sure all options are displayed in usage().
svn path=/trunk/mono/; revision=3355
Dick Porter [Tue, 26 Mar 2002 13:20:28 +0000 (13:20 -0000)]
2002-03-26 Dick Porter <dick@ximian.com>
* types.h: Implement the large integer struct
* timefuncs.h:
* timefuncs.c: Dummy functions that don't yet implement
QueryPerformanceCounter() and QueryPerformanceFrequency()
* threads.h:
* threads.c: Implement SleepEx()
* system.h:
* system.c: Beginnings of GetSystemInfo()
* mono-mutex.c (pthread_mutex_timedlock): Fix a ms/ns conversion
thinko
* context.h:
* context.c: Dummy function that doesnt yet implement
GetThreadContext()
* atomic.h:
* atomic.c: Interlocked functions
svn path=/trunk/mono/; revision=3354
Gaurav Vaish [Tue, 26 Mar 2002 12:48:02 +0000 (12:48 -0000)]
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* UI/*.cs -- Added a few attributes.
* WebControls/*.cs -- Applied the attributes
* ChangeLog -- Notification
svn path=/trunk/mcs/; revision=3353
Paolo Molaro [Tue, 26 Mar 2002 12:13:31 +0000 (12:13 -0000)]
Tue Mar 26 17:03:14 CET 2002 Paolo Molaro <lupus@ximian.com>
* interp.c: support fieldrefs when accessing instance fields.
svn path=/trunk/mono/; revision=3352
Jason Diamond [Tue, 26 Mar 2002 11:44:46 +0000 (11:44 -0000)]
Can now scan most location paths (without predicates).
svn path=/trunk/mcs/; revision=3351
Duncan Mak [Tue, 26 Mar 2002 11:42:28 +0000 (11:42 -0000)]
2002-03-26 Duncan Mak <duncan@ximian.com>
XmlImplementation.cs (CreateDocument): Implemented.
svn path=/trunk/mcs/; revision=3350
Martin Baulig [Tue, 26 Mar 2002 11:09:41 +0000 (11:09 -0000)]
2002-03-26 Martin Baulig <martin@gnome.org>
* debug-dwarf2.c (write_method_lines_dwarf2): Don't generate method
lines if we don't have line number information.
(write_method_dwarf2): Use `minfo->method_info.this_offset' instead
of hardcoding 8.
* debug-stabs.c (write_method_stabs): Don't generate method lines if
we don't have line number information. Use `minfo->method_info.this_offset'
instead of hardcoding 8.
* debug.c (debug_generate_method_lines): Don't crash if we don't have
line number information.
(mono_debug_open_assembly): Don't generate line numbers for
MONO_DEBUG_FORMAT_DWARF2_PLUS.
(mono_debug_add_method): Don't store the 'this' offset in `param_offsets',
but it in the new `this_offset' field.
svn path=/trunk/mono/; revision=3349
Martin Baulig [Tue, 26 Mar 2002 11:03:24 +0000 (11:03 -0000)]
2002-03-26 Martin Baulig <martin@gnome.org>
* debug-symfile.h (MonoDebugMethodInfo): Added `this_offset', don't
include the `this' offset in the `param_offsets'.
svn path=/trunk/mono/; revision=3348
Martin Baulig [Tue, 26 Mar 2002 08:38:56 +0000 (08:38 -0000)]
2002-03-26 Martin Baulig <martin@gnome.org>
* debug.c (debug_generate_method_lines): Use correct addresses for
record_il_offset().
svn path=/trunk/mono/; revision=3347
Piers Haken [Tue, 26 Mar 2002 04:17:37 +0000 (04:17 -0000)]
missing/extra images
svn path=/trunk/mono/; revision=3346
Piers Haken [Tue, 26 Mar 2002 02:45:40 +0000 (02:45 -0000)]
more class status updates:
Errors
Extra
More attributes
More accurate counts
svn path=/trunk/mono/; revision=3345
Piers Haken [Tue, 26 Mar 2002 02:45:40 +0000 (02:45 -0000)]
more class status updates:
Errors
Extra
More attributes
More accurate counts
svn path=/trunk/mcs/; revision=3345
Gaurav Vaish [Tue, 26 Mar 2002 02:43:06 +0000 (02:43 -0000)]
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* ChangeLog: Informing about removal of System.Web.Security
svn path=/trunk/mcs/; revision=3344
Gaurav Vaish [Tue, 26 Mar 2002 02:38:49 +0000 (02:38 -0000)]
2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
* Removed all the files. Making place for someone other to contribute.
I am not in a position, right now, to look after this. It's screwing
me up...
svn path=/trunk/mcs/; revision=3343
Jason Diamond [Tue, 26 Mar 2002 02:36:02 +0000 (02:36 -0000)]
Added XPathScanner and Tests.
svn path=/trunk/mcs/; revision=3342
Dennis Hayes [Mon, 25 Mar 2002 23:40:10 +0000 (23:40 -0000)]
** Removed orignial stub code that would break build if included**
** added functionality for basic functionality. **
** Only suports 32 bit color bitmaps, no compression. **
** Untested **
* Dennis Hayes**
svn path=/trunk/mcs/; revision=3340
Dennis Hayes [Mon, 25 Mar 2002 23:36:55 +0000 (23:36 -0000)]
** Inital File checkin **
* Dennis Hayes**
svn path=/trunk/mcs/; revision=3339
Duncan Mak [Mon, 25 Mar 2002 22:28:15 +0000 (22:28 -0000)]
2002-03-25 Duncan Mak <duncan@ximian.com>
* XmlDeclaration.cs: Rewrote the class, fixed formatting, added
missing properties (InnerText, Value).
* XmlDocument.cs (CreateXmlDeclaration): Implemented.
* AllTests.cs:
* Microsoft.Test.csproj:
* Mono.Test.csproj: Updated to include new test,
XmlDeclarationTests.
* XmlDeclarationTests.cs: Added new test for XmlDeclaration class.
svn path=/trunk/mcs/; revision=3338
Miguel de Icaza [Mon, 25 Mar 2002 22:25:30 +0000 (22:25 -0000)]
Compile fix
svn path=/trunk/mcs/; revision=3337
Miguel de Icaza [Mon, 25 Mar 2002 22:24:12 +0000 (22:24 -0000)]
Compile fix
svn path=/trunk/mcs/; revision=3336
Miguel de Icaza [Mon, 25 Mar 2002 22:17:41 +0000 (22:17 -0000)]
2002-03-25 Miguel de Icaza <miguel@ximian.com>
* IntPtr.cs: Temporary work-around until I fix the assembly
attributes bug.
* String.cs (System): Removed enumeration, because it is pretty
hard to support enumerations in /nostdlib mode for the core types.
2002-03-25 Miguel de Icaza <miguel@ximian.com>
* interface.cs: Implement the same search algorithm for types in
the interface code.
* delegate.cs: Do not allow multiple definition.
svn path=/trunk/mcs/; revision=3335
Miguel de Icaza [Mon, 25 Mar 2002 21:32:30 +0000 (21:32 -0000)]
2002-03-25 Miguel de Icaza <miguel@ximian.com>
* Recovered ChangeLog that got accidentally amputated
svn path=/trunk/mcs/; revision=3334
Miguel de Icaza [Mon, 25 Mar 2002 21:26:52 +0000 (21:26 -0000)]
Fix
svn path=/trunk/mcs/; revision=3333
Miguel de Icaza [Mon, 25 Mar 2002 21:26:18 +0000 (21:26 -0000)]
2002-03-25 Miguel de Icaza <miguel@ximian.com>
* interface.cs (Interface.DefineInterface): Prevent from double definitions.
* rootcontext.cs: Load manually enum to allow core classes to
contain enumerations.
* enum.cs, ecore.cs, driver.cs, attribute.cs, class.cs, expression.cs:
Update to new static methods in TypeManager.
* typemanager.cs (GetMethod, GetConstructor): Use our
implementation of FindMembers to find the members, since during
corlib compilation, the types are TypeBuilders and GetMethod and
GetConstructor do not work.
Make all methods in TypeManager static.
svn path=/trunk/mcs/; revision=3332
Martin Baulig [Mon, 25 Mar 2002 20:20:11 +0000 (20:20 -0000)]
The array is already sorted, reverted my last change. Thanks to Paolo for
pointing this out.
svn path=/trunk/mcs/; revision=3331
Martin Baulig [Mon, 25 Mar 2002 18:33:26 +0000 (18:33 -0000)]
2002-03-25 Martin Baulig <martin@gnome.org>
* debug-symfile.c (mono_debug_update_symbol_file): Use a new
mono_debug_get_class() function to get the classes. Added new
relocation types for arrays and strings.
(mono_debug_get_class): New static function to search in all
referenced assemblies for a metadata token.
* debug-symfile.h (MONO_DEBUG_SYMBOL_FILE_VERSION): Increased to 7.
svn path=/trunk/mono/; revision=3330
Martin Baulig [Mon, 25 Mar 2002 18:32:10 +0000 (18:32 -0000)]
2002-03-25 Martin Baulig <martin@gnome.org>
* MonoDwarfFileWriter.cs (CreateType): Return a `DieType'.
(RegisterType): Add the type to the type hash before creating dependency types
so we don't get recursion loops.
(RegisterPointerType): New func to register a "pointer to type" type.
(DieTypeDef, DiePointerType, DieArrayType, DieStringType, DieClassType): New
types; added support for strings, arrays and basic support for classes.
svn path=/trunk/mcs/; revision=3329
Paolo Molaro [Mon, 25 Mar 2002 14:04:47 +0000 (14:04 -0000)]
Mon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
* MonoEvent.cs: added the needed fields.
svn path=/trunk/mcs/; revision=3328
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
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
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
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
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
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
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
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
Miguel de Icaza [Mon, 25 Mar 2002 03:04:43 +0000 (03:04 -0000)]
Updated errors
svn path=/trunk/mcs/; revision=3319
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
Miguel de Icaza [Sun, 24 Mar 2002 22:42:33 +0000 (22:42 -0000)]
Touchups
svn path=/trunk/mono/; revision=3317
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
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
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
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
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
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
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
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
Miguel de Icaza [Sun, 24 Mar 2002 16:23:10 +0000 (16:23 -0000)]
Update man page
svn path=/trunk/mono/; revision=3307
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
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
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
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
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
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
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
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
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
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
Adam Treat [Sat, 23 Mar 2002 22:35:02 +0000 (22:35 -0000)]
* Fixed missing ')' character.
svn path=/trunk/mcs/; revision=3296
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
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
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
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
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
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
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
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
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
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
Miguel de Icaza [Sat, 23 Mar 2002 14:01:01 +0000 (14:01 -0000)]
Update docs, add target
svn path=/trunk/mcs/; revision=3285
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
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
Martin Baulig [Sat, 23 Mar 2002 10:49:31 +0000 (10:49 -0000)]
A few minor bug fixes.
svn path=/trunk/mcs/; revision=3282
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
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
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
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
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
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
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
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
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
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
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
Dietmar Maurer [Fri, 22 Mar 2002 05:13:50 +0000 (05:13 -0000)]
added GetTransparentProxy stub
svn path=/trunk/mcs/; revision=3270
Dietmar Maurer [Fri, 22 Mar 2002 05:04:11 +0000 (05:04 -0000)]
new remoting classes
svn path=/trunk/mcs/; revision=3269
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