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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* reflection.h (MonoReflectionSigHelper): New type.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fix a ms to ns conversion magnitude thinko.

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

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

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

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

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

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

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

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

* XmlDocument.cs (CreateSignificantWhitespace): Implemented.

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

* XmlSignificantWhitespaceTests.cs: Added to CVS.

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

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

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

* XmlDocument.cs (CreateWhitespace): Implemented.

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

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

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

* XmlCDataSectionTests.cs: Added to CVS.

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

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

* XmlWhiteSpaceTests.cs: Added to CVS.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* debug.h (MonoDebugFormat): Added MONO_DEBUG_FORMAT_DWARF2_PLUS.

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

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

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

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

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

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

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

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

* AsyncResult.cs: impl.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* XmlEntityReference.cs (CloneNode): Implemented.

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

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

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

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

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

* XmlAttribute.cs (CloneNode): Implemented.

* XmlDocumentFragment.cs (CloneNode): Implemented.

* XmlElement.cs (CloneNode): Implemented.

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

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

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

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

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

* IAssemblerWriter.cs: New interface.

* AssemblerWriterI386.cs: New class.

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

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

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

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

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

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

* README.relocation-table: Updated documentation.

* MonoDwarfFileWriter.cs: Improved line number output.

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

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

* SymbolToken.cs (GetToken): Implemented.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

* XmlNotation.cs: Added to CVS.

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

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

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

* XmlCDataSection.cs (CloneNode): Implemented.

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

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

* XmlWhitespace.cs (Module): implemented.

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

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

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

* MonoDwarfFileWriter.cs: Implemented line number support.

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

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

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

22 years ago2002-03-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 19 Mar 2002 20:42:16 +0000 (20:42 -0000)]
2002-03-19  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Add default assemblies (the equivalent to the
Microsoft CSC.RSP file)

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

22 years ago2002-03-19 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 19 Mar 2002 19:29:43 +0000 (19:29 -0000)]
2002-03-19  Dick Porter  <dick@ximian.com>

* doc/mono-build.sh:
* doc/mono-build-w32.sh: Updated to get libgc

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

22 years ago*** empty log message ***
Martin Baulig [Tue, 19 Mar 2002 18:49:27 +0000 (18:49 -0000)]
*** empty log message ***

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

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

* IMonoSymbolWriter.cs (ISourceFile, ISourceMethod, ISourceLine, ILocalVariable):
New interfaces.

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

22 years agoUpdated
Miguel de Icaza [Tue, 19 Mar 2002 16:31:49 +0000 (16:31 -0000)]
Updated

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

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

* Some bug-fixes. Thanks to the class-status been put up. Great tool.

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

22 years agoTouchups
Miguel de Icaza [Tue, 19 Mar 2002 16:13:03 +0000 (16:13 -0000)]
Touchups

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

22 years ago2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Tue, 19 Mar 2002 16:09:03 +0000 (16:09 -0000)]
2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>

* file-io.c: FileStream flush support; FileSetLength now
restores file pointer.

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

22 years agoUpdate site
Miguel de Icaza [Tue, 19 Mar 2002 15:59:13 +0000 (15:59 -0000)]
Update site

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

22 years agoAdd System.Xml.Schema from Ajay
Miguel de Icaza [Tue, 19 Mar 2002 15:27:27 +0000 (15:27 -0000)]
Add System.Xml.Schema from Ajay

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

22 years agoTue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Mar 2002 13:31:30 +0000 (13:31 -0000)]
Tue Mar 19 18:18:49 CET 2002 Paolo Molaro <lupus@ximian.com>

* Array.cs: move error handling in the catch block.
* MulticastDelegate.cs: remove == and != operators that were
removed with the delegate changes (when you add stuff, please do not
remove existing functionality!).
* Type.cs: if a property is not found in a type, search for it
in the parent types, too.

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

22 years agoTue Mar 19 18:17:21 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Mar 2002 13:27:09 +0000 (13:27 -0000)]
Tue Mar 19 18:17:21 CET 2002 Paolo Molaro <lupus@ximian.com>

* class.c: set image for pointer classes.

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

22 years agoTue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 19 Mar 2002 13:25:59 +0000 (13:25 -0000)]
Tue Mar 19 18:15:29 CET 2002 Paolo Molaro <lupus@ximian.com>

* dis-cil.c: use unsigned for variables.

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

22 years ago2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
Dan Lewis [Tue, 19 Mar 2002 12:51:56 +0000 (12:51 -0000)]
2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>

* io.h, io.c, events.c, mutexes.c, semaphores.c, sockets.c,
threads.c, io.c: added flush method to handles.

* io.c: FlushFileBuffers() and FindFirstFile() functions.

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

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

* IMonoSymbolWriter.cs (OpenMethod): Take a System.Reflection.MethodInfo, not
a string.

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

22 years agoFixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
Jason Diamond [Tue, 19 Mar 2002 12:00:58 +0000 (12:00 -0000)]
Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.

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

22 years agoFixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.
Jason Diamond [Tue, 19 Mar 2002 11:59:07 +0000 (11:59 -0000)]
Fixed typo in XmlDocument.Load that was duplicating the LocalName in the Prefix.

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

22 years agoMore work here ....
Martin Baulig [Tue, 19 Mar 2002 11:55:07 +0000 (11:55 -0000)]
More work here ....

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

22 years ago2002-03-19 Martin Baulig <martin@gnome.org>
Martin Baulig [Tue, 19 Mar 2002 11:54:26 +0000 (11:54 -0000)]
2002-03-19  Martin Baulig  <martin@gnome.org>

* StreamWriter.cs (StreamWriter (string)): The default is to override
the file, not to append to it.
(StreamWriter (string path, bool append)): When appending, seek to the
end of the file, otherwise truncate the file to zero length.
(Dispose (bool)): Close the internalStream.
(Flush): Flush the interalStream.
(Write (char[], int, int)): Flush the internalStream in auto-flush-mode.

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

22 years ago2002-03-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 19 Mar 2002 11:40:16 +0000 (11:40 -0000)]
2002-03-20  Nick Drochak  <ndrochak@gol.com>

* corlib_test.build: On 'clean' remove all the dll's and pdb's

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

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

* FileStream.cs: Flush buffer before FileSetLength.

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

22 years ago2002/03/19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 19 Mar 2002 04:43:52 +0000 (04:43 -0000)]
2002/03/19  Nick Drochak <ndrochak@gol.com>

* sysmath.c: Forgot one.

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

22 years ago2002/03/19 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 19 Mar 2002 03:34:54 +0000 (03:34 -0000)]
2002/03/19  Nick Drochak <ndrochak@gol.com>

* corlib_test.build: Re-include tests into the build.

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

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

* driver.cs: Implement --recurse for Mike.

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

22 years agoUpdate man page with --recurse docs
Miguel de Icaza [Tue, 19 Mar 2002 03:27:36 +0000 (03:27 -0000)]
Update man page with --recurse docs

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

22 years ago2002-03-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 19 Mar 2002 02:45:35 +0000 (02:45 -0000)]
2002-03-19  Miguel de Icaza  <miguel@ximian.com>

* driver.cs (SplitPathAndPattern): Small bug fix, I was not
correctly splitting out the paths.

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

22 years ago2002-03-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 19 Mar 2002 02:31:44 +0000 (02:31 -0000)]
2002-03-18  Miguel de Icaza  <miguel@ximian.com>

* sysmath.c: Avoid redefining existing names.

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

22 years agoAdd new tests
Miguel de Icaza [Tue, 19 Mar 2002 00:23:14 +0000 (00:23 -0000)]
Add new tests

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

22 years ago2002-03-18 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 19 Mar 2002 00:21:56 +0000 (00:21 -0000)]
2002-03-18  Miguel de Icaza  <miguel@ximian.com>

* interface.cs (Interface.PopulateProperty): Instead of using
`parent' as the declaration space for the set parameters, use
`this'

* support.cs (InternalParameters): InternalParameters constructor
takes a DeclSpace instead of a TypeContainer.

* expression.cs (ArrayCreation.EmitDynamicInitializers): If value
types are being initialized, load the address of it before calling
the function.

(New): Provide a mechanism to disable the generation of local
value type temporaries when the caller will be providing us with
an address to store it.

(ArrayCreation.EmitDynamicInitializers): Use it.

Fixes two bugs reported on Bugzilla

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

22 years agoMoveToElement after reading attributes instead of restoring the element properties...
Jason Diamond [Mon, 18 Mar 2002 23:59:30 +0000 (23:59 -0000)]
MoveToElement after reading attributes instead of restoring the element properties early.

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

22 years agonamespace and prefix support in XmlTextWriter
Kral Ferch [Mon, 18 Mar 2002 22:42:13 +0000 (22:42 -0000)]
namespace and prefix support in XmlTextWriter

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