mono.git
22 years agoNew test
Miguel de Icaza [Wed, 27 Mar 2002 22:24:41 +0000 (22:24 -0000)]
New test

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

22 years ago2002-03-27 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 27 Mar 2002 21:34:42 +0000 (21:34 -0000)]
2002-03-27  Miguel de Icaza  <miguel@ximian.com>

* test-18.cs: Augment test with the multi-flow try/catch.

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

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

* statement.cs (Switch.EmitObjectInteger): Emit short/ushort
values.

(Try.Emit): Propagate the returns value from the statement.

(Return.Emit): Even if we are leavning

* driver.cs: Catch IOExpcetion for Directory.GetFiles as well.

* modifiers.cs: Fix the computation of MethodAttributes flags.

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

22 years ago2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 27 Mar 2002 21:10:03 +0000 (21:10 -0000)]
2002-03-27  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.Common/DataColumnMapping.cs:
* System.Data.Common/DataColumnMappingCollection.cs:
* System.Data.Common/DataAdapter.cs: created skeletons.

* System.Data.build: exclude new directories from build.

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

22 years agoAdd test-91
Miguel de Icaza [Wed, 27 Mar 2002 20:31:52 +0000 (20:31 -0000)]
Add test-91

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

22 years agoInitial revision.
John Barnette [Wed, 27 Mar 2002 18:56:32 +0000 (18:56 -0000)]
Initial revision.

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

22 years agoInterim graphical resources for the Monodoc GUI.
John Barnette [Wed, 27 Mar 2002 18:51:22 +0000 (18:51 -0000)]
Interim graphical resources for the Monodoc GUI.

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

22 years agoReverting changes to the makefile
Duncan Mak [Wed, 27 Mar 2002 18:17:14 +0000 (18:17 -0000)]
Reverting changes to the makefile

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

22 years agoMore spring cleaning.
John Barnette [Wed, 27 Mar 2002 18:15:18 +0000 (18:15 -0000)]
More spring cleaning.

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

22 years agoRemoving old cruft. It's spring-cleaning time in the land of doctools!
John Barnette [Wed, 27 Mar 2002 18:11:33 +0000 (18:11 -0000)]
Removing old cruft.  It's spring-cleaning time in the land of doctools!

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

22 years agoCleaned up the code a little bit...
Christian Meyer [Wed, 27 Mar 2002 17:28:27 +0000 (17:28 -0000)]
Cleaned up the code a little bit...

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

22 years agoAppDomain.GetDate also renamed to GetData
Duco Fijma [Wed, 27 Mar 2002 16:58:11 +0000 (16:58 -0000)]
AppDomain.GetDate also renamed to GetData

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

22 years agoCorrected typo in System._AppDomain
Duco Fijma [Wed, 27 Mar 2002 16:27:57 +0000 (16:27 -0000)]
Corrected typo in System._AppDomain

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

22 years ago2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Wed, 27 Mar 2002 14:51:07 +0000 (14:51 -0000)]
2002-03-27  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.SqlClient/SqlTransaction.cs: started implementation.

* System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
implemented (2 methods).

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

22 years ago2002-03-27 Mike Kestner <mkestner@speakeasy.net>
Mike Kestner [Wed, 27 Mar 2002 13:11:21 +0000 (13:11 -0000)]
2002-03-27  Mike Kestner <mkestner@speakeasy.net>

* delegate.c (arch_get_delegate_invoke): malloc a bigger area

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

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

* StreamReader.cs: Implemented ReadLine() and ReadEnd().

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

22 years ago2002-03-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 27 Mar 2002 11:45:28 +0000 (11:45 -0000)]
2002-03-28  Nick Drochak  <ndrochak@gol.com>

        * EnumTest.cs(TestFormat): Use Fail() instead of AssertEquals() in
        try-catch blocks. Add test to check if correct exception is being
        thrown.

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

22 years ago2002-03-28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Wed, 27 Mar 2002 11:35:22 +0000 (11:35 -0000)]
2002-03-28  Nick Drochak  <ndrochak@gol.com>

        * Type.cs: Added MonoTODO tags on members that have FIXME, etc.

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

22 years ago * resources: Assembly language manuals/tutorials and Win32 SEH internals;
Sergey Chaban [Wed, 27 Mar 2002 10:23:29 +0000 (10:23 -0000)]
 * resources: Assembly language manuals/tutorials and Win32 SEH internals;

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

22 years agoForgot to commit this file, sorry.
Paolo Molaro [Wed, 27 Mar 2002 05:46:35 +0000 (05:46 -0000)]
Forgot to commit this file, sorry.

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

22 years ago2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
Gaurav Vaish [Wed, 27 Mar 2002 03:27:27 +0000 (03:27 -0000)]
2002-03-27   Gaurav Vaish <gvaish@iitk.ac.in>

* More error corrections....

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

22 years agoMore last minute fixes
Miguel de Icaza [Wed, 27 Mar 2002 02:58:45 +0000 (02:58 -0000)]
More last minute fixes

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

22 years agoFlush
Miguel de Icaza [Wed, 27 Mar 2002 02:52:02 +0000 (02:52 -0000)]
Flush

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

22 years agoAdd a ChangeLog
Miguel de Icaza [Wed, 27 Mar 2002 02:26:21 +0000 (02:26 -0000)]
Add a ChangeLog

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

22 years agoFlush
Miguel de Icaza [Wed, 27 Mar 2002 02:23:01 +0000 (02:23 -0000)]
Flush

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

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

* *.cs: Updates from Ajay Dwivedi <AjayKumar.Dwivedi@dresdner-bank.com>.

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

22 years agorevert to 10
Miguel de Icaza [Wed, 27 Mar 2002 01:38:20 +0000 (01:38 -0000)]
revert to 10

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

22 years agoRemoved XPathScannerTests from the project since VS.NET wasn't happy with it. Added...
Jason Diamond [Wed, 27 Mar 2002 01:09:45 +0000 (01:09 -0000)]
Removed XPathScannerTests from the project since VS.NET wasn't happy with it. Added the tests separately to the .build file so that I can still work.

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

22 years ago2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Wed, 27 Mar 2002 00:51:39 +0000 (00:51 -0000)]
2002-03-27  Dan Lewis  <dihlewis@yahoo.co.uk>

corlib/

* corlib.build: removed seperate windows/linux builds. excluded
wrapper and PAL classes from all builds.

corlib/System/

* Console.cs: Modified to get std handles from MonoIO.
* Environment.cs: removed PAL dependencies.

corlib/System.IO/

* Directory.cs, File.cs, FileSystemInfo.cs, FileInfo.cs,
DirectoryInfo.cs, Path.cs: Modified to use MonoIO class instead of
wrapper and PAL classes.

* MonoIO.cs, MonoIOStat.cs, MonoIOError.cs: Added.

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

22 years ago2002-03-26 Duncan Mak <duncan@ximian.com>
Duncan Mak [Wed, 27 Mar 2002 00:49:24 +0000 (00:49 -0000)]
2002-03-26  Duncan Mak  <duncan@ximian.com>

* XmlDocument.cs (CreateDocumentType): Implemented.

* XmlNode.cs (Value): Implemented.

* AllTests.cs:
* Microsoft.Test.csproj:
* Mono.Test.csproj: Updated to include new test,
XmlDocumentTypeTests.

* XmlDocumentTypeTests.cs: New testsuite for XmlDocumentType class.

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

22 years ago2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Wed, 27 Mar 2002 00:39:13 +0000 (00:39 -0000)]
2002-03-27  Dan Lewis <dihlewis@yahoo.co.uk>

* Makefile.am: wrapper no longer built

io-layer/

* unicode.h, unicode.c: changed to gunichar2
* io.h, io.c: changed strings to gunichar2*, added
SetFileAttributes(), GetCurrentDirectory(), SetCurrentDirectory(),
some fixes to FindFirstFile() and friends.

metadata/

* icall.c: removed last of PAL calls, added System.Environment
* file-io.h, file-io.c: MonoIO implementation
* object.h, object.c: mono_string_to_utf16() now returns gunichar2*

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

22 years agoFlush
Miguel de Icaza [Tue, 26 Mar 2002 21:06:38 +0000 (21:06 -0000)]
Flush

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

22 years agoFlush
Miguel de Icaza [Tue, 26 Mar 2002 21:04:45 +0000 (21:04 -0000)]
Flush

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

22 years agoUpdate
Miguel de Icaza [Tue, 26 Mar 2002 20:20:57 +0000 (20:20 -0000)]
Update

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

22 years agoFlush a few of my changes
Miguel de Icaza [Tue, 26 Mar 2002 19:52:46 +0000 (19:52 -0000)]
Flush a few of my changes

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

22 years agoUpdate man page
Miguel de Icaza [Tue, 26 Mar 2002 19:46:41 +0000 (19:46 -0000)]
Update man page

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

22 years agoUpdate version number to 0.11 and enable GC by default if libgc is found.
Paolo Molaro [Tue, 26 Mar 2002 19:44:51 +0000 (19:44 -0000)]
Update version number to 0.11 and enable GC by default if libgc is found.

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

22 years agoUse mono to run the compiler.
Paolo Molaro [Tue, 26 Mar 2002 19:37:02 +0000 (19:37 -0000)]
Use mono to run the compiler.

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

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

* XmlProcessingInstruction.cs (InnerText): Implemented. It works just
like XmlCharacterData.

* XmlCommentTests.cs (TestXmlNodeBaseProperties): Move the
XmlNode.Value test in here.

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

22 years ago2002-03-27 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years ago2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years ago2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years agoTue Mar 26 21:14:36 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years ago2002-03-26 Duncan Mak <duncan@ximian.com>
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

22 years agoFixed make distcheck.
Paolo Molaro [Tue, 26 Mar 2002 15:45:26 +0000 (15:45 -0000)]
Fixed make distcheck.

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

22 years agoTue Mar 26 20:10:24 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoTue Mar 26 20:09:10 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoTue Mar 26 19:56:10 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoTue Mar 26 19:54:45 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years ago2002-03-26 Duncan Mak <duncan@ximian.com>
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

22 years agoTue Mar 26 18:45:46 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years ago2002-03-26 Dick Porter <dick@ximian.com>
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

22 years ago2002-03-26 Dick Porter <dick@ximian.com>
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

22 years ago2002-03-26 Dick Porter <dick@ximian.com>
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

22 years ago2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years agoTue Mar 26 17:03:14 CET 2002 Paolo Molaro <lupus@ximian.com>
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

22 years agoCan now scan most location paths (without predicates).
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

22 years ago2002-03-26 Duncan Mak <duncan@ximian.com>
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

22 years ago2002-03-26 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-26 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-26 Martin Baulig <martin@gnome.org>
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

22 years agomissing/extra images
Piers Haken [Tue, 26 Mar 2002 04:17:37 +0000 (04:17 -0000)]
missing/extra images

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

22 years agomore class status updates:
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

22 years agomore class status updates:
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

22 years ago2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years ago2002-03-26 Gaurav Vaish <gvaish@iitk.ac.in>
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

22 years agoAdded XPathScanner and Tests.
Jason Diamond [Tue, 26 Mar 2002 02:36:02 +0000 (02:36 -0000)]
Added XPathScanner and Tests.

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

22 years ago** Removed orignial stub code that would break build if included**
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

22 years ago** Inital File checkin **
Dennis Hayes [Mon, 25 Mar 2002 23:36:55 +0000 (23:36 -0000)]
** Inital File checkin **
* Dennis Hayes**

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

22 years ago2002-03-25 Duncan Mak <duncan@ximian.com>
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

22 years agoCompile fix
Miguel de Icaza [Mon, 25 Mar 2002 22:25:30 +0000 (22:25 -0000)]
Compile fix

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

22 years agoCompile fix
Miguel de Icaza [Mon, 25 Mar 2002 22:24:12 +0000 (22:24 -0000)]
Compile fix

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

22 years ago2002-03-25 Miguel de Icaza <miguel@ximian.com>
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

22 years ago2002-03-25 Miguel de Icaza <miguel@ximian.com>
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

22 years agoFix
Miguel de Icaza [Mon, 25 Mar 2002 21:26:52 +0000 (21:26 -0000)]
Fix

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

22 years ago2002-03-25 Miguel de Icaza <miguel@ximian.com>
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

22 years agoThe array is already sorted, reverted my last change. Thanks to Paolo for
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

22 years ago2002-03-25 Martin Baulig <martin@gnome.org>
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

22 years ago2002-03-25 Martin Baulig <martin@gnome.org>
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

22 years agoMon Mar 25 18:54:58 CET 2002 Paolo Molaro <lupus@ximian.com>
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

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