mono.git
22 years ago2002-03-30 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Sat, 30 Mar 2002 06:53:32 +0000 (06:53 -0000)]
2002-03-30  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_init): added exerimental EXT_VTABLE_HACK, if
defined we call all (non-static)methods through the vtable.

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

22 years ago2002-03-28 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Sat, 30 Mar 2002 06:52:09 +0000 (06:52 -0000)]
2002-03-28  Dietmar Maurer  <dietmar@ximian.com>

* TextWriter.cs (write): added check for null

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

22 years agoAbstractDoc.cs: Added 'Language' attribute
John Barnette [Sat, 30 Mar 2002 06:28:57 +0000 (06:28 -0000)]
AbstractDoc.cs: Added 'Language' attribute
MonodocException.cs: Initial import
Core.csproj: Added entry for MonodocException.cs

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

22 years agoInitial import.
John Barnette [Sat, 30 Mar 2002 06:24:10 +0000 (06:24 -0000)]
Initial import.

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

22 years agoXmlLang and XmlSpace for XmlTextWriter.
Kral Ferch [Sat, 30 Mar 2002 03:42:19 +0000 (03:42 -0000)]
XmlLang and XmlSpace for XmlTextWriter.

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

22 years agoWorking on Attribute methods for XmlTextWriter.
Kral Ferch [Sat, 30 Mar 2002 01:18:09 +0000 (01:18 -0000)]
Working on Attribute methods for XmlTextWriter.

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

22 years agonew proj file for vs.net users.
Kral Ferch [Sat, 30 Mar 2002 01:17:19 +0000 (01:17 -0000)]
new proj file for vs.net users.

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

22 years ago2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 29 Mar 2002 20:08:44 +0000 (20:08 -0000)]
2002-03-29  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.Common/DbDataRecord.cs:
* System.Data.Common/DbEnumerator.cs:
* System.Data.Common/RowUpdatedEventArgs.cs:
* System.Data.Common/RowUpdatingEventArgs.cs:
* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.

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

22 years ago2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Fri, 29 Mar 2002 19:51:45 +0000 (19:51 -0000)]
2002-03-29  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.Common/DbDataRecord.cs:
* System.Data.Common/DbEnumerator.cs:
* System.Data.Common/RowUpdatedEventArgs.cs:
* System.Data.Common/RowUpdatingEventArgs.cs:
* System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.

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

22 years agoWhoops; missed this one. Initial revision.
John Barnette [Fri, 29 Mar 2002 19:37:41 +0000 (19:37 -0000)]
Whoops; missed this one.  Initial revision.

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

22 years ago* init and final checkin for a bunch of enum classes in System.Drawing *
Dennis Hayes [Fri, 29 Mar 2002 14:59:16 +0000 (14:59 -0000)]
* init and final checkin for a bunch of enum classes in System.Drawing *

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

22 years agoInitial import: Monodoc documentation data model.
John Barnette [Fri, 29 Mar 2002 14:59:08 +0000 (14:59 -0000)]
Initial import: Monodoc documentation data model.

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

22 years agoFri Mar 29 18:09:08 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 29 Mar 2002 13:21:50 +0000 (13:21 -0000)]
Fri Mar 29 18:09:08 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: it seems GC_debug_malloc() makes the Boehm GC call the
finalizer even though the memory is still referenced (and the chunk of
memory is not freed).

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

22 years agoFri Mar 29 17:43:04 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 29 Mar 2002 12:54:28 +0000 (12:54 -0000)]
Fri Mar 29 17:43:04 CET 2002 Paolo Molaro <lupus@ximian.com>

* assembly.c: fix brokeness.

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

22 years agoFri Mar 29 17:15:11 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 29 Mar 2002 12:27:08 +0000 (12:27 -0000)]
Fri Mar 29 17:15:11 CET 2002 Paolo Molaro <lupus@ximian.com>

* io.c: EEXISTS is ignored for directory creation.
* mono-mutex.h: remove silly "pragma }" that emacs users insert
because they use a broken editor:-)

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

22 years agoFri Mar 29 16:09:54 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 29 Mar 2002 11:21:18 +0000 (11:21 -0000)]
Fri Mar 29 16:09:54 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: kill some warnings. Check explicit interface method
implementation also without considering the namespace.
Load also literal strings in static class data.

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

22 years agoFri Mar 29 16:00:27 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 29 Mar 2002 11:10:30 +0000 (11:10 -0000)]
Fri Mar 29 16:00:27 CET 2002 Paolo Molaro <lupus@ximian.com>

* x86.brg: kill pointer arithmetric.

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

22 years ago2002-03-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 29 Mar 2002 09:56:40 +0000 (09:56 -0000)]
2002-03-29  Martin Baulig  <martin@gnome.org>

* doc/jit-debug, docs/jit-debug-sample, docs/jit-debug-sample2:
New files, added documentation for the debugging code.

* doc/web/commands: Added the debugging pages.

* docs/jit-debug: Removed, this is now on the web site.

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

22 years agoAdded the docs dir to the dist (with a new doc on GC issues).
Paolo Molaro [Fri, 29 Mar 2002 08:18:03 +0000 (08:18 -0000)]
Added the docs dir to the dist (with a new doc on GC issues).
Removed defunct wrapper dir.
Fixed make distcheck in jit.
Really build monoburg if needed.

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

22 years ago*** empty log message ***
Dietmar Maurer [Fri, 29 Mar 2002 06:37:55 +0000 (06:37 -0000)]
*** empty log message ***

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

22 years agoInitial import of stub XML document for System.Data, System.Web and System, in the...
John Barnette [Fri, 29 Mar 2002 05:32:53 +0000 (05:32 -0000)]
Initial import of stub XML document for System.Data, System.Web and System, in the correct
directory this time.  DEFINITELY no cookie for me.

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

22 years agoLike an idiot, I added these in the wrong place. No cookie for me.
John Barnette [Fri, 29 Mar 2002 04:23:35 +0000 (04:23 -0000)]
Like an idiot, I added these in the wrong place.  No cookie for me.

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

22 years agoInitial documentation stub import for assemblies:
John Barnette [Fri, 29 Mar 2002 03:35:22 +0000 (03:35 -0000)]
Initial documentation stub import for assemblies:

* System.Data
* System.Web
* System

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

22 years ago* scratch that. go-mono.org instead ;-)
Adam Treat [Fri, 29 Mar 2002 03:09:08 +0000 (03:09 -0000)]
* scratch that.  go-mono.org instead ;-)

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

22 years ago* Changed the <!DOCTYPE to point to http://www.go-mono.com/monodoc.dtd
Adam Treat [Fri, 29 Mar 2002 03:07:24 +0000 (03:07 -0000)]
* Changed the <!DOCTYPE to point to go-mono.com/monodoc.dtd

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

22 years agoAdded targets for docval.
John Barnette [Fri, 29 Mar 2002 02:59:53 +0000 (02:59 -0000)]
Added targets for docval.

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

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

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

22 years ago2002-03-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 29 Mar 2002 02:20:36 +0000 (02:20 -0000)]
2002-03-29  Miguel de Icaza  <miguel@ximian.com>

* assembly.c (default_assembly_name_resolver): Kill memory leak.
(default_assembly_name_resolver): Make the resolver take the
"base" directory where the assembly was originally defined, so we
can load DLLs that are in the same directory as the assembly that
is being referenced.

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

22 years agoDon't crash if klass->fields is NULL.
Martin Baulig [Fri, 29 Mar 2002 01:08:51 +0000 (01:08 -0000)]
Don't crash if klass->fields is NULL.

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

22 years ago2002-03-29 Martin Baulig <martin@gnome.org>
Martin Baulig [Fri, 29 Mar 2002 01:07:37 +0000 (01:07 -0000)]
2002-03-29  Martin Baulig  <martin@gnome.org>

* AssemblerWriterI386.cs: Rewrote most of the string output function, do the
number->string conversion manually. It's now taking about 15 seconds to write
a symbol file for MCS, no longer more than a minute.

* MonoDwarfFileWriter.cs: Added some profiling code, speeded things up, fixed
a few bugs.

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

22 years agoInitial imports / build modifications.
John Barnette [Fri, 29 Mar 2002 00:39:16 +0000 (00:39 -0000)]
Initial imports / build modifications.

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

22 years agoInitial import.
John Barnette [Fri, 29 Mar 2002 00:36:11 +0000 (00:36 -0000)]
Initial import.

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

22 years agoInitial revision.
John Barnette [Fri, 29 Mar 2002 00:34:54 +0000 (00:34 -0000)]
Initial revision.

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

22 years ago* Initial checkin. docval is a validation tool for monodoc xml.
Adam Treat [Fri, 29 Mar 2002 00:24:49 +0000 (00:24 -0000)]
* Initial checkin.  docval is a validation tool for monodoc xml.

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

22 years agoflush
Miguel de Icaza [Fri, 29 Mar 2002 00:23:21 +0000 (00:23 -0000)]
flush

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

22 years ago* Used monostyle to update the formatting.
Adam Treat [Fri, 29 Mar 2002 00:23:14 +0000 (00:23 -0000)]
* Used monostyle to update the formatting.
* Do not generate xml for private methods/types.
* Add a <!DOCTYPE tag to stubbed xml.

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

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

* decl.cs (MemberCore.CheckMethodAgainstBase): Test if the
accessibility of a member has changed during override and report
an error if so.

* class.cs (Method.Define, Property.Define): Only complain on
overrides if the method is private, any other accessibility is
fine (and since we just checked the permission is the same, we are
good to go).

* cs-tokenizer.cs: only line, region, endregion, if, endif, else
and elif are processed always.  The other pre-processing
directives are only processed if we are "taking" the path

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

22 years agoMoved docstub.cs to mcs/doctools/src/Console/docstub.cs
John Barnette [Thu, 28 Mar 2002 21:52:52 +0000 (21:52 -0000)]
Moved docstub.cs to mcs/doctools/src/Console/docstub.cs

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

22 years ago* included stuff left out of initial check in *
Dennis Hayes [Thu, 28 Mar 2002 21:24:12 +0000 (21:24 -0000)]
* included stuff left out of initial check in *
* Done? execpt for part of ToKnownColor *

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

22 years agoOooops ....
Martin Baulig [Thu, 28 Mar 2002 21:23:30 +0000 (21:23 -0000)]
Oooops ....

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

22 years ago* Initial file check in. *
Dennis Hayes [Thu, 28 Mar 2002 21:21:57 +0000 (21:21 -0000)]
* Initial file check in. *
* Mostly done, will finish in the next few days. *

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

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

* class.cs (Method.Emit): Only emit symbolic debugging info if the
current location is not Null.

* codegen.cs (CodeGen.SaveSymbols): Split out symbol writing code into
a separate method so we can profile it.

* driver.cs (ShowTime): We need to use `(int) span.TotalSeconds' since
`span.Seconds' are just seconds, but no minutes or hours.
(MainDriver): Profile the CodeGen.SaveSymbols calls.

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

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

* XmlDocument.cs (CreateWhitespace):
(CreateSignificantWhitespace): Removed extraneous call to the ToCharArray
method.

* XmlSignificantWhitespace.cs (Value): Removed MonoTODO attribute.

* XmlDeclarationTests.cs (TestConstructor):
* XmlDocumentTypeTests.cs (TestAppendChild):
* XmlSignificantWhitespaceTests.cs (TestXmlWhitespaceConstructor):
* XmlWhiteSpaceTests.cs (TestXmlWhitespaceConstructor): Fixed the
test for catching Exceptions.

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

22 years agoFLush updates
Miguel de Icaza [Thu, 28 Mar 2002 20:11:49 +0000 (20:11 -0000)]
FLush updates

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

22 years agoMoved from mcs/doctools/docstub.cs
John Barnette [Thu, 28 Mar 2002 20:10:51 +0000 (20:10 -0000)]
Moved from mcs/doctools/docstub.cs

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

22 years agoadded my tests for the calendars
Ulrich Kunitz [Thu, 28 Mar 2002 20:07:42 +0000 (20:07 -0000)]
added my tests for the calendars

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

22 years agohelper class for calendars; based on the "Calendrical Calculations" books
Ulrich Kunitz [Thu, 28 Mar 2002 20:02:57 +0000 (20:02 -0000)]
helper class for calendars; based on the "Calendrical Calculations" books

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

22 years ago*Calendar classes
Ulrich Kunitz [Thu, 28 Mar 2002 20:00:29 +0000 (20:00 -0000)]
*Calendar classes

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

22 years ago2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Thu, 28 Mar 2002 19:55:41 +0000 (19:55 -0000)]
2002-03-28  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.Common/DataTableMappingCollection.cs:
* System.Data.Common/DbDataAdapter.cs:
* System.Data.Common/DbDataPermission.cs:
* System.Data.Common/DataTableMapping.cs: new skeletons.

* System.Data.SqlClient/SqlDataAdapter.cs:
* System.Data.SqlClient/SqlDataReader.cs:
* System.Data.SqlClient/SqlErrors.cs:
* System.Data.SqlClient/SqlError.cs:
* System.Data.SqlClient/SqlException.cs:
* System.Data.SqlClient/SqlParameter.cs:
* System.Data.SqlClient/SqlParameterCollection.cs:
* System.Data.SqlClient/SqlTransaction.cs:
* System.Data.SqlClient/SqlCommand.cs: fixed skeletons.

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

22 years agoInitial revision.
John Barnette [Thu, 28 Mar 2002 19:53:16 +0000 (19:53 -0000)]
Initial revision.

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

22 years ago2002-03-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 28 Mar 2002 19:50:33 +0000 (19:50 -0000)]
2002-03-28  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Method.Define), (Property.Define), (Indexer.Define):
Remove the gratuitous set of Final:

// If an interface implementation, then we can set Final.
if (((flags & MethodAttributes.Abstract) == 0) &&
    implementing.DeclaringType.IsInterface)
flags |= MethodAttributes.Final;

        I do not know what I was smoking when I used that.

* cs-parser.jay, delegate.cs: Make Delegate be a DeclSpace, first
step into fixing the name resolution issues for delegates and
unifying the toplevel name resolution.

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

22 years agoRemove /doctools from the build for the moment.
John Barnette [Thu, 28 Mar 2002 19:38:44 +0000 (19:38 -0000)]
Remove /doctools from the build for the moment.

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

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

* class.cs (Method.Emit): If we have a symbol writer, call its
OpenMethod(), CloseMethod() and SetMethodSourceRange() methods to
tell it about the current method.

* codegen.cs (EmitContext.Mark): New public method. Tell the symbol
writer that we're going to emit the first byte of IL code for a new
statement (a new source line).
(EmitContext.EmitTopBlock): If we have a symbol writer, call
EmitContext.Mark() before emitting any code.

* location.cs (SymbolDocument): Return null when we're Null.

* statement.cs (Statement): Moved the `Location loc' variable here.
(Statement.EmitBoolExpression): If we have a symbol writer, call
ec.Mark() before emitting any code to tell it that we're at the
beginning of a new statement.
(StatementExpression): Added `Location' argument to the constructor.
(Block): Added public readonly variable `StartLocation' and public
variable `EndLocation'.  The latter is to be set using SetEndLocation().
(Block): Added constructor which takes a start and end location.
(Block.SetEndLocation): New method. This sets the end location.
(Block.EmitMeta): If we have a symbol writer, tell it the names of the
local variables we create.
(Block.Emit): If we have a symbol writer, call ec.Mark() before emitting
each statement and do also mark the begin and end of the block.

* cs-parser.jay (block : OPEN_BRACE): Use the new `Block' constructor to
tell it the current lexer.Location, use Location.Null for the end of the
block.
(block : OPEN_BRACE opt_statement_list CLOSE_BRACE): When closing the
current block, set its end location using SetEndLocation().
(statement_expression): StatementExpression constructor now takes the
lexer.Location as additional argument.
(for_statement, declare_local_variables): Likewise.
(declare_local_variables): When creating a new implicit block, use the
new Block constructor and pass it the lexer.Location.

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

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

* jit.c (mono_debug_insert_breakpoint): New global variable.
(mono_debug_last_breakpoint_address): New global variable.

* emit-x86.c (arch_compile_method): If `mono_debug_insert_breakpoint' is
non-zero, insert a breakpoint; if it's positive, decrement it when done.
Set `mono_debug_last_breakpoint_address' to the address of the last inserted
breakpoint.

* debug.h: Provide external declaration of `mono_debug_insert_breakpoint' and
`mono_debug_last_breakpoint_address', also documented them here.

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

22 years agoMore spring-cleaning.
John Barnette [Thu, 28 Mar 2002 16:20:20 +0000 (16:20 -0000)]
More spring-cleaning.

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

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

* debug-private.h (MonoDebugHandle): Renamed `format' to `default_format'.
(AssemblyDebugInfo): Added `format'.

* debug.c: Use the AssemblyDebugInfo's `format' field to determine the format,
this allows us choose the format on a per-assembly basis.
(mono_debug_open_assembly): When using MONO_DEBUG_FORMAT_DWARF2_PLUS, fall back
to MONO_DEBUG_FORMAT_DWARF2 if the symbol file does not exist, but the IL file
exists.
(debug_generate_method_lines): Generate correct IL offsets.

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

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

* ecore.cs (Expression.MemberLookup): On interfaces, lookup
members also on the parent interfaces recursively.

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

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