mono.git
22 years ago2002-03-28 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 28 Mar 2002 13:58:02 +0000 (13:58 -0000)]
2002-03-28  Dick Porter  <dick@ximian.com>

* sockets.h:
* sockets.c:
* io.c:
* handles.h:
* handles.c: Warning cleanups

2002-03-28  Dick Porter  <dick@ximian.com>

* file-io.h:
* file-io.c:
* socket-io.c:
* unicode.h:
* unicode.c: Warning cleanups

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

22 years agoThu Mar 28 18:06:14 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 13:17:56 +0000 (13:17 -0000)]
Thu Mar 28 18:06:14 CET 2002 Paolo Molaro <lupus@ximian.com>

* object.h, reflection.h: use the correct type instead of MonoObject.

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

22 years ago2002-03-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 28 Mar 2002 12:20:43 +0000 (12:20 -0000)]
2002-03-28  Martin Baulig  <martin@gnome.org>

* jit.h (MonoFlowGraph): Added `prologue_end' and `epilogue_start' fields.

* emit-x86.c (arch_compile_method): Set prologue_end and epilogue_start.

* debug-private.h (DebugMethodInfo): Renamed `frame_start_offset' to
`prologue_end_offset', added `epilogue_begin_offset' and `last_line'.

* debug.c (debug_generate_method_lines): Don't return if we don't have line
numbers, we still need to generate the IL offsets here. Emit line numbers
for `prologue_end_offset' (the first line of actual code) and
`epilogue_begin_offset' (the line of the method's closing brace).
Don't crash if cfg->bblocks [i].forest is NULL.
(mono_debug_add_method): Don't crash if we don't have line numbers.
Initialize the newly added fields.

* debug-stabs.c: Record first and last line, emit filename info at the
beginning of the stab file, gdb ignores the types otherwise.

* debug-dwarf2.c: Use the new prologue_end_offset instead of guessing it;
emit line number info for the first and last line.

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

22 years ago2002-03-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 28 Mar 2002 12:20:33 +0000 (12:20 -0000)]
2002-03-28  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IntegerFormatter.cs: fixed initialization error in static
constructor.

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

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

* debug-symfile.c (mono_debug_class_get): Don't look in referenced assemblies.
(mono_debug_update_symbol_file): Initialize classes if necessary.

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

22 years agoThu Mar 28 16:54:51 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 12:04:44 +0000 (12:04 -0000)]
Thu Mar 28 16:54:51 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: spring warning cleanup.

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

22 years agoThu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 12:02:38 +0000 (12:02 -0000)]
Thu Mar 28 16:52:11 CET 2002 Paolo Molaro <lupus@ximian.com>

* dis-cil.c, dump.c, get.c, main.c, util.h: spring warning cleanup.

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

22 years agoThu Mar 28 15:58:43 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 11:10:56 +0000 (11:10 -0000)]
Thu Mar 28 15:58:43 CET 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c, debug-helpers.c, image.c, image.h, metadata.c, pedump.c,
rawbuffer.c, reflection.c, verify.c: mare warning cleanups.

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

22 years agoThu Mar 28 15:20:39 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 10:41:59 +0000 (10:41 -0000)]
Thu Mar 28 15:20:39 CET 2002 Paolo Molaro <lupus@ximian.com>

* assembly.h: fix function prototype.
* metadata.h, metadata.c, object.h, private.h: get rid of warnings.
* mono-endian.h: use const cast.

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

22 years agoThu Mar 28 15:18:50 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 10:28:38 +0000 (10:28 -0000)]
Thu Mar 28 15:18:50 CET 2002 Paolo Molaro <lupus@ximian.com>

* monograph.c: some warning cleanups.

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

22 years agoEnable lots of warning from GCC.
Paolo Molaro [Thu, 28 Mar 2002 10:18:39 +0000 (10:18 -0000)]
Enable lots of warning from GCC.
Make --with-gc=none work.

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

22 years ago2002-03-28 Wictor Wiln <wictor@iBizkit.se>
Wictor Wilén [Thu, 28 Mar 2002 09:01:49 +0000 (09:01 -0000)]
2002-03-28  Wictor Wiln  <wictor@iBizkit.se>

* HttpServerUtils.cs : Added some more functionality

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

22 years agoWictor Wil�n <wictor@iBizkit.se>
Wictor Wilén [Thu, 28 Mar 2002 09:00:50 +0000 (09:00 -0000)]
Wictor Wil�n  <wictor@iBizkit.se>

* HttpServerUtils.cs : Added some more functionality

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

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

* icall.c (ves_icall_MonoMethodMessage_InitMessage): moved from message.c

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

22 years agoThu Mar 28 12:32:00 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 07:42:58 +0000 (07:42 -0000)]
Thu Mar 28 12:32:00 CET 2002 Paolo Molaro <lupus@ximian.com>

* loader.c: don't assert when a typeref can't be loaded, give
a chance to the runtime to trow an exception instead.
* loader.h: fix warning.

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

22 years agoetmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 28 Mar 2002 07:18:59 +0000 (07:18 -0000)]
etmar Maurer  <dietmar@ximian.com>

* invoke.c (arch_create_delegate_trampoline): impl.

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

22 years agoThu Mar 28 12:03:28 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 07:13:37 +0000 (07:13 -0000)]
Thu Mar 28 12:03:28 CET 2002 Paolo Molaro <lupus@ximian.com>

* interp.c: check obj address in stfld.

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

22 years agoThu Mar 28 11:58:53 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 07:11:04 +0000 (07:11 -0000)]
Thu Mar 28 11:58:53 CET 2002 Paolo Molaro <lupus@ximian.com>

* Makefile.am, mono.c, jit.h, jit.c: build the libmono library
with the jit runtime to easy embedding. main() is moved to mono.c, now.
* jit.c: use opcode names from libmetadata.
* debug.h, debug.c: constify char* argument.

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

22 years ago2002-03-28 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Thu, 28 Mar 2002 07:07:57 +0000 (07:07 -0000)]
2002-03-28  Dan Lewis  <dihlewis@yahoo.co.uk>

* Directory.cs: Throws DirectoryNotFoundException.
* MonoIO.cs: Fixed to work around enum problem.

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

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

* Delegate.cs: added new field to store a trampoline function

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

22 years agoThu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 28 Mar 2002 06:40:42 +0000 (06:40 -0000)]
Thu Mar 28 11:29:58 CET 2002 Paolo Molaro <lupus@ximian.com>

* util.c: when an invalid flags combination is seen,
return the string "invalid-flags", so disassembly can continue.

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

22 years ago2002-03-28 Martin Baulig <martin@gnome.org>
Martin Baulig [Thu, 28 Mar 2002 06:32:55 +0000 (06:32 -0000)]
2002-03-28  Martin Baulig  <martin@gnome.org>

* HttpServerUtils.cs (UrlDecode): You cannot implicitly cast a
char to a string, use ToString() instead.

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

22 years agoIt's called `NAnt', not `Nant'.
Martin Baulig [Thu, 28 Mar 2002 06:24:45 +0000 (06:24 -0000)]
It's called `NAnt', not `Nant'.

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

22 years agoRemoved CVS conflict marker.
Martin Baulig [Thu, 28 Mar 2002 06:18:41 +0000 (06:18 -0000)]
Removed CVS conflict marker.

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

22 years agoStarted Implementation of this class
Wictor Wilén [Thu, 28 Mar 2002 04:50:30 +0000 (04:50 -0000)]
Started Implementation of this class

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

22 years agoadded proxy support
Dietmar Maurer [Thu, 28 Mar 2002 04:28:28 +0000 (04:28 -0000)]
added proxy support

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

22 years agostarted proxy support
Dietmar Maurer [Thu, 28 Mar 2002 04:07:31 +0000 (04:07 -0000)]
started proxy support

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

22 years agoMore updates to the man page
Miguel de Icaza [Thu, 28 Mar 2002 03:16:19 +0000 (03:16 -0000)]
More updates to the man page

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

22 years ago* Add monostyle.1 to Makefile.am
Adam Treat [Thu, 28 Mar 2002 02:53:00 +0000 (02:53 -0000)]
* Add monostyle.1 to Makefile.am

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

22 years ago* monostyle.1: A man page for the monostyle tool.
Adam Treat [Thu, 28 Mar 2002 02:52:22 +0000 (02:52 -0000)]
* monostyle.1: A man page for the monostyle tool.

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

22 years ago* add monostyle.exe as a build target
Adam Treat [Thu, 28 Mar 2002 02:51:15 +0000 (02:51 -0000)]
* add monostyle.exe as a build target

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

22 years ago* monostyle: a csharp code beautifier.
Adam Treat [Thu, 28 Mar 2002 02:50:26 +0000 (02:50 -0000)]
* monostyle: a csharp code beautifier.

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

22 years ago2002/03/28 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Thu, 28 Mar 2002 01:31:26 +0000 (01:31 -0000)]
2002/03/28  Nick Drochak <ndrochak@gol.com>

* corlib_test.build: Re-exclude it in a couple of places where it was
breaking the build.  This test is not an NUnit test.  So, it doesn't
belong in these dll's until it's made a proper NUnit test.

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

22 years ago * IntegerFormatter.cs: added workaround for bug #22668. First patch to
Gonzalo Paniagua Javier [Thu, 28 Mar 2002 00:47:09 +0000 (00:47 -0000)]
* IntegerFormatter.cs: added workaround for bug #22668. First patch to
make custom format strings work (not fully functional yet).

* corlib_test.build: remove two more lines that excluded
IntegerFormatterTest.

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

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

* corlib_test.build: Don't exclude IntegerFormatterTest any more.

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

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

* report.cs: Use new formats, since Gonzalo finished the missing
bits.

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

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

* IntegerFormatter.cs: Change class from internal to public.  Add
necessary [CLSCompliant(false)] attributes.

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

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

* IntegerFormatterTest.cs: Eliminate warnings about unused exception
variables.

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

22 years agoMore bug fixages:
Miguel de Icaza [Wed, 27 Mar 2002 23:07:49 +0000 (23:07 -0000)]
More bug fixages:

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

* expression.cs (Binary.ResolveOperator): added missing operator|
operator& and operator^ for bool/bool.

* cs-parser.jay: CheckDef now takes a Location argument that is
used to report errors more precisly (instead of reporting the end
of a definition, we try to track something which is a lot closer
to the source of the problem).

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

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

* cs-tokenizer.cs: Track global token use, so we can properly flag
the use of #define/#undef after the first token has been seen.

Also, rename the reportXXXX to Error_DescriptiveName

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

22 years agoAdd new error test case
Miguel de Icaza [Wed, 27 Mar 2002 22:30:47 +0000 (22:30 -0000)]
Add new error test case

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

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

* decl.cs (DeclSpace.IsTopLevel): Move property here from
TypeContainer, so that Enum and Interface can use this too.

* class.cs (TypeContainer.LookupInterfaceOrClass,
GetInterfaceOrClass, GetClassBases, DefineType): Drop the
`builder' argument.  Typically this was used to pass the parent
builder (a ModuleBuilder or a TypeBuilder from whoever triggered
the definition).

The problem is that a nested class could trigger the definition of
a toplevel class, and the builder would be obviously wrong in that
case.

So we drop this argument, and we compute dynamically the
TypeBuilder/ModuleBuilder (the correct information was available
to us anyways from DeclSpace.Parent)

* interface.cs (Interface.DefineInterface): Drop builder
parameter cleanup like class.cs

* enum.cs (Enum.DefineEnum): Drop builder parameter.  Clean up
like class.cs

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

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