mono.git
21 years ago * Class.cs: Resolve Methods before emiting
Jackson Harper [Mon, 10 Feb 2003 05:27:36 +0000 (05:27 -0000)]
* Class.cs: Resolve Methods before emiting
* InstrBase.cs: Take a Class instead of CodeGen when emiting
* Method.cs: Replace MethodInfo property with MethodBuilder property,
         Add resolve method
* Instructions.cs: Take Class instead of CodeGen when emitting,
        get member methods from Class.
* TypeManager.cs: Add set indexer

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

21 years ago2003-02-09 Piers Haken <piersh@friskit.com>
Piers Haken [Sun, 9 Feb 2003 22:57:59 +0000 (22:57 -0000)]
2003-02-09  Piers Haken <piersh@friskit.com>

* SelectNodesTests.cs: added TestNamespaceSelect (from Jerome Laban)

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

21 years ago2003-02-09 Piers Haken <piersh@friskit.com>
Piers Haken [Sun, 9 Feb 2003 22:54:50 +0000 (22:54 -0000)]
2003-02-09  Piers Haken  <piersh@friskit.com>

* XPathNavigator.cs:
* Iterator.cs:
* Expression.cs: fix namespace handling

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

21 years agoOoops.
Martin Baulig [Sun, 9 Feb 2003 22:42:42 +0000 (22:42 -0000)]
Ooops.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:39:06 +0000 (22:39 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* AssemblyBuilder.cs (AssemblyBuilder.methods): Removed.  This was
a hack for the symbol writer which is no longer needed.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:37:32 +0000 (22:37 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* MonoSymbolWriter.cs (MonoSymbolWriter.ctor): We don't need the
`mbuilder_array' anymore.

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

21 years agoSmall fix.
Martin Baulig [Sun, 9 Feb 2003 22:36:14 +0000 (22:36 -0000)]
Small fix.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:33:59 +0000 (22:33 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.h: Reflect latest symbol writer changes.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:32:46 +0000 (22:32 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* namespace.cs (Namespace..ctor): Added SourceFile argument.
(Namespace.DefineNamespaces): New static public method; this is
called when we're compiling with debugging to add all namespaces
to the symbol file.

* tree.cs (Tree.RecordNamespace): Added SourceFile argument and
pass it to the Namespace's .ctor.

* symbolwriter.cs (SymbolWriter.OpenMethod): Added TypeContainer
and MethodBase arguments; pass the namespace ID to the symwriter;
pass the MethodBase instead of the token to the symwriter.
(SymbolWriter.DefineNamespace): New method to add a namespace to
the symbol file.

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

21 years agoFixed typo.
Martin Baulig [Sun, 9 Feb 2003 22:27:43 +0000 (22:27 -0000)]
Fixed typo.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:27:01 +0000 (22:27 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* MonoSymbolWrtier.cs (SourceFile): Derive from SourceFileEntry.
(SourceBlock): We don't need source lines here.
(SourceMethod): We're always constructed with source info.

* MonoSymbolTable.cs: Added support for namespaces.
(NamespaceEntry): New struct.
(SourceFileEntry.DefineNamespace): New method.
(MethodEntry.BuildLineNumberTable): The table is already sorted,
so we don't need to do this here.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:24:18 +0000 (22:24 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* IMonoSymbolWriter.cs: Ooops, I forgot to remove this.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 22:23:23 +0000 (22:23 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* IMonoSymbolWriter.cs (DefineNamespace, OpenMethod): New methods.

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

21 years ago2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 9 Feb 2003 21:29:26 +0000 (21:29 -0000)]
2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* interp.c: added a dummy mono_runtime_install_handlers function to
avoid crashing when ves_pinvoke_method tries to call it.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 21:15:10 +0000 (21:15 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* symbolwriter.cs: New file.  This is a wrapper around
ISymbolWriter with a cleaner API.  We'll dynamically Invoke()
methods here in near future.

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

21 years agoHmm, sort the table for the moment, this is just a bit slower, but more stable.
Martin Baulig [Sun, 9 Feb 2003 20:12:56 +0000 (20:12 -0000)]
Hmm, sort the table for the moment, this is just a bit slower, but more stable.

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

21 years agoReflect latest API changes.
Martin Baulig [Sun, 9 Feb 2003 20:11:15 +0000 (20:11 -0000)]
Reflect latest API changes.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 20:10:53 +0000 (20:10 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* codegen.cs (EmitContext.Mark): Just pass the arguments to
ILGenerator.MarkSequencePoint() which are actually used by the
symbol writer.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 20:09:05 +0000 (20:09 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* IMonoSymbolWriter.cs (MarkSequencePoint): New method which takes
just the required arguments as scalars, not arrays.

* ILGenerator.cs (ILGenerator.MarkSequencePoint): Use that new
interface method; unnecessarily creating such a large number of
arrays is both slow and too memory consuming.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 19:39:02 +0000 (19:39 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* location.cs (SourceFile): New public sealed class.  This
contains the name and an index which is used in the location's token.
(Location): Reserve an appropriate number of bits in the token for
the source file instead of walking over that list, this gives us a
really huge performance improvement when compiling with debugging.

* driver.cs (Driver.parse, Driver.tokenize_file): Take a
`SourceFile' argument instead of a string.
(Driver.ProcessFile): Add all the files via Location.AddFile(),
but don't parse/tokenize here, we need to generate the list of all
source files before we do that.
(Driver.ProcessFiles): New static function.  Parses/tokenizes all
the files.

* cs-parser.jay (CSharpParser): Take a `SourceFile' argument
instead of a string.

* cs-tokenizer.cs (Tokenizer): Take `SourceFile' argument instead
of a string.

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

21 years agoHmm, no, this was wrong.
Martin Baulig [Sun, 9 Feb 2003 19:23:20 +0000 (19:23 -0000)]
Hmm, no, this was wrong.

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

21 years ago2003-02-09 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 9 Feb 2003 19:17:12 +0000 (19:17 -0000)]
2003-02-09  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilderTest.cs: Added lots of new tests.

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

21 years ago2003-02-09 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Sun, 9 Feb 2003 19:15:42 +0000 (19:15 -0000)]
2003-02-09  Rodrigo Moya <rodrigo@ximian.com>

* System.Data.OleDb/OleDbConnection.cs:
* System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.

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

21 years agoSun Feb 9 18:37:01 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 9 Feb 2003 17:45:09 +0000 (17:45 -0000)]
Sun Feb 9 18:37:01 CET 2003 Paolo Molaro <lupus@ximian.com>

* loader.c: implemented MEMBERREF_PARENT_TYPEDEF.
* metadata.c, reflection.c: missing MONO_TYPE_TYPEDBYREF handling.
* object.c: fixed mono_object_get_virtual_method () for interfaces.
* verify.c: check for code that runs after the end of the method.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 16:41:32 +0000 (16:41 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* driver.cs (Driver.SetupDefaultDefines): Define `__MonoRuntime__'
if we're using mono's corlib.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 16:39:03 +0000 (16:39 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* cs-tokenizer.cs (Tokenizer.PreProcessLine): Also reset the
filename on `#line default'.

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

21 years ago2003-02-09 Martin Baulig <martin@ximian.com>
Martin Baulig [Sun, 9 Feb 2003 16:37:28 +0000 (16:37 -0000)]
2003-02-09  Martin Baulig  <martin@ximian.com>

* output.c: Use `#line default' instead of source file "-".

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

21 years agoUse TypeManager to loopup types
Jackson Harper [Sun, 9 Feb 2003 08:31:46 +0000 (08:31 -0000)]
Use TypeManager to loopup types

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

21 years agoUse full names for calling instructions
Jackson Harper [Sun, 9 Feb 2003 08:29:47 +0000 (08:29 -0000)]
Use full names for calling instructions

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

21 years ago2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 9 Feb 2003 04:26:02 +0000 (04:26 -0000)]
2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: give different default names depending on the place where
it is assigned. Implemented ResolveURl (no more ~ rendered in
attributes!).

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

21 years agoforgot changelog
Jackson Harper [Sun, 9 Feb 2003 04:22:33 +0000 (04:22 -0000)]
forgot changelog

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

21 years ago2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 9 Feb 2003 04:22:24 +0000 (04:22 -0000)]
2003-02-09  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ArrayList.cs: fixed setSize (!).

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

21 years ago * TypeManager.cs: Fix error parsing type names
Jackson Harper [Sun, 9 Feb 2003 04:21:48 +0000 (04:21 -0000)]
* TypeManager.cs: Fix error parsing type names
* Method.cs: Display the name of types that can't be found

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

21 years agoCreate type names properly
Jackson Harper [Sun, 9 Feb 2003 04:15:58 +0000 (04:15 -0000)]
Create type names properly

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

21 years ago2003-02-08 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 9 Feb 2003 03:46:24 +0000 (03:46 -0000)]
2003-02-08  Tim Coleman <tim@timcoleman.com>
        * System.Data.OracleClient/OciGlueLib_BCC_win32.make:
        * System.Data.OracleClient/OciGlueLib_MSVC_win32.make:
        change name of library to ociglue.dll
        * System.Data.OracleClient/ociglue.c:
        Use the "database" parameter as TNSNAME.
        * System.Data.OracleClient/OciGlue.cs:
        Change DllImport from "System.Data.OracleClient.ociglue.dll" to
        "ociglue".
        * System.Data.OracleClient/OciGlueLib_GCC_linux.make:
        added makefile for ociglue shared lib on Linux platform
        and compiler gcc.

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

21 years agoforgot to commit changelog
Jackson Harper [Sun, 9 Feb 2003 03:43:30 +0000 (03:43 -0000)]
forgot to commit changelog

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

21 years agooops
Jackson Harper [Sun, 9 Feb 2003 03:42:35 +0000 (03:42 -0000)]
oops

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

21 years agoAdd TypeManager.cs to build
Jackson Harper [Sun, 9 Feb 2003 03:41:47 +0000 (03:41 -0000)]
Add TypeManager.cs to build

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

21 years agoHandle argument lists better
Jackson Harper [Sun, 9 Feb 2003 03:39:19 +0000 (03:39 -0000)]
Handle argument lists better

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

21 years ago * TypeManager.cs: Add file
Jackson Harper [Sun, 9 Feb 2003 03:38:20 +0000 (03:38 -0000)]
* TypeManager.cs: Add file
        * CodeGen.cs: Add TypeManager attribute
        * InstrBase.cs: Take a CodeGen in Emit method
        * Instructions.cs: Take a CodeGen in Emit method, handle arg lists better
        * Method.cs: Handle local variables better

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

21 years ago2003-02-08 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Sun, 9 Feb 2003 02:44:00 +0000 (02:44 -0000)]
2003-02-08  Tim Coleman <tim@timcoleman.com>
        * System.Data.OracleClient/OciGlueLib_GCC_linux.make:
        added makefile for ociglue shared lib on Linux platform
        and compiler gcc.

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

21 years agoChange class name
Jackson Harper [Sat, 8 Feb 2003 23:50:42 +0000 (23:50 -0000)]
Change class name

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

21 years agoChange class name
Jackson Harper [Sat, 8 Feb 2003 23:49:46 +0000 (23:49 -0000)]
Change class name

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

21 years ago * test-2.il: Add new test
Jackson Harper [Sat, 8 Feb 2003 23:46:27 +0000 (23:46 -0000)]
* test-2.il: Add new test
        * makefile: Use new test

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

21 years ago * Method.cs: Add functionality to define local variables
Jackson Harper [Sat, 8 Feb 2003 23:42:42 +0000 (23:42 -0000)]
* Method.cs: Add functionality to define local variables
* Instructions.cs: Add newobj instruction, cleanup call instruction

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

21 years agoHandle .local and newobj
Jackson Harper [Sat, 8 Feb 2003 23:39:14 +0000 (23:39 -0000)]
Handle .local and newobj

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

21 years agoFix a few methods in "Math.cs" and add the necesary internal calls to "icall.c",...
Pedro Martínez Juliá [Sat, 8 Feb 2003 22:47:42 +0000 (22:47 -0000)]
Fix a few methods in "Math.cs" and add the necesary internal calls to "icall.c", "sysmath.h" and "sysmath.c". There is also a modification of "MathTest.cs".

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

21 years agoFix a few methods in "Math.cs" and add the necesary internal calls to "icall.c",...
Pedro Martínez Juliá [Sat, 8 Feb 2003 22:47:42 +0000 (22:47 -0000)]
Fix a few methods in "Math.cs" and add the necesary internal calls to "icall.c", "sysmath.h" and "sysmath.c". There is also a modification of "MathTest.cs".

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

21 years ago2003-02-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Feb 2003 22:18:38 +0000 (22:18 -0000)]
2003-02-08  Martin Baulig  <martin@ximian.com>

* MonoSymbolDocumentWriter.cs: Removed.

* MonoSymbolWriter.cs (SourceFile): Implement ISymbolDocumentWriter.

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

21 years agofix attachment filename
Piers Haken [Sat, 8 Feb 2003 22:13:14 +0000 (22:13 -0000)]
fix attachment filename

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

21 years agoThis comment is incorrect, we aren't generating DWARF here.
Martin Baulig [Sat, 8 Feb 2003 22:11:45 +0000 (22:11 -0000)]
This comment is incorrect, we aren't generating DWARF here.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 20:33:32 +0000 (20:33 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.args: added TypeBuilderTest.cs.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 20:32:25 +0000 (20:32 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilderTest.cs: New file.

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

21 years ago2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 8 Feb 2003 20:07:42 +0000 (20:07 -0000)]
2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* list.unix: added ImageAttributes.cs.
* System.Drawing/Graphics.cs: stubbed out all the methods.

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

21 years agoreally remove Font.cs
Gonzalo Paniagua Javier [Sat, 8 Feb 2003 20:05:48 +0000 (20:05 -0000)]
really remove Font.cs

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

21 years ago2003-02-08 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 8 Feb 2003 19:24:01 +0000 (19:24 -0000)]
2003-02-08  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (GetMethodSource): New public method.
(FindMethod): Return the correct index.

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

21 years agoFixed build.
Paolo Molaro [Sat, 8 Feb 2003 18:30:20 +0000 (18:30 -0000)]
Fixed build.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 16:57:21 +0000 (16:57 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* corlib_test.args: added beginnings of Reflection.Emit test suite.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 16:53:39 +0000 (16:53 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilderTest.cs ChangeLog: New files.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 16:49:42 +0000 (16:49 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* unix.args: added MACAlgorithm and HMACAlgorithm.

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

21 years ago2003-02-08 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 8 Feb 2003 16:48:09 +0000 (16:48 -0000)]
2003-02-08  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs: Added error checking to methods so they conform to
MSDN docs. Implemented 'GetModule' and 'CallingConvention' members.
Some other tweaks to improve compatibility with MS .NET.

* TypeBuilder.cs: Added 'is_created' property which will be used for
checking 'type is already created' errors.

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 16:31:12 +0000 (16:31 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* Changes to refer Mono.Xml

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 16:29:10 +0000 (16:29 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* RemotingConfiguration.cs: Changed using to Mono.Xml for MiniParser.

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 16:26:50 +0000 (16:26 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* MiniParser.cs: Renamed namespace to match new location.

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

21 years ago2003-02-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 8 Feb 2003 16:23:07 +0000 (16:23 -0000)]
2003-02-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Control.cs: when adding a control, assign default names to th
children that don't have one.

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

21 years agoSat Feb 8 17:03:16 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 8 Feb 2003 16:08:59 +0000 (16:08 -0000)]
Sat Feb 8 17:03:16 CET 2003 Paolo Molaro <lupus@ximian.com>

* statement.cs: don't clear the pinned var when the fixed statement
returns from the method (fixes bug#37752).

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 12:57:36 +0000 (12:57 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* X509Certificate.cs: Changes to refer Mono.Security (for ASN1)

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 12:55:27 +0000 (12:55 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* Changes to refer Mono.Math and Mono.Security.Cryptography

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 12:43:41 +0000 (12:43 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoTools.cs: Renamed namespace to match new location.
* PKCS1.cs: Renamed namespace to match new location.
* HMACAlgorithm.cs: New. Generic class to implement HMAC
using any hash algorithm (was in S.S.C.HMACSHA1.cs).
* MACAlgorithm.cs: New. Generic class to implement MAC
using any symmetric algorithm (was in S.S.C.MACTripleDES.cs).

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 12:42:32 +0000 (12:42 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* ASN1.cs: Renamed namespace to match new location.

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

21 years ago2003-02-08 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 8 Feb 2003 12:41:34 +0000 (12:41 -0000)]
2003-02-08  Sebastien Pouliot  <spouliot@videotron.ca>

* BigInteger.cs: Renamed namespace to match new location.

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

21 years agoSat Feb 8 12:58:06 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 8 Feb 2003 12:18:50 +0000 (12:18 -0000)]
Sat Feb 8 12:58:06 CET 2003 Paolo Molaro <lupus@ximian.com>

* typemanager.cs: fix from mathpup@mylinuxisp.com (Marcus Urban)
to IsValueType ().

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

21 years ago2003-02-08 Piers Haken <piersh@friskit.com>
Piers Haken [Sat, 8 Feb 2003 10:15:05 +0000 (10:15 -0000)]
2003-02-08 Piers Haken <piersh@friskit.com>

* fixed case of pens.cs and font.cs

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

21 years ago*** empty log message ***
Piers Haken [Sat, 8 Feb 2003 10:00:47 +0000 (10:00 -0000)]
*** empty log message ***

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

21 years ago2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Sat, 8 Feb 2003 09:58:00 +0000 (09:58 -0000)]
2003-02-08  Ville Palo <vi64pa@koti.soon.fi>

* ExpressionElement.cs: More implementation

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

21 years ago*** empty log message ***
Piers Haken [Sat, 8 Feb 2003 08:15:26 +0000 (08:15 -0000)]
*** empty log message ***

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

21 years agouse gconstpointer in mono_marshal_get_icall_wrapper()
Dietmar Maurer [Sat, 8 Feb 2003 07:53:49 +0000 (07:53 -0000)]
use gconstpointer in mono_marshal_get_icall_wrapper()

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

21 years ago*** empty log message ***
Piers Haken [Sat, 8 Feb 2003 03:41:29 +0000 (03:41 -0000)]
*** empty log message ***

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

21 years agogetting SWF to compile
Dennis Hayes [Sat, 8 Feb 2003 01:37:18 +0000 (01:37 -0000)]
getting SWF to compile

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

21 years agogetting swf to compile
Dennis Hayes [Sat, 8 Feb 2003 01:36:59 +0000 (01:36 -0000)]
getting swf to compile

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

21 years agoadditions to get SWF to compile
Dennis Hayes [Sat, 8 Feb 2003 01:33:53 +0000 (01:33 -0000)]
additions to get SWF to compile

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

21 years ago*** empty log message ***
Dennis Hayes [Sat, 8 Feb 2003 01:31:15 +0000 (01:31 -0000)]
*** empty log message ***

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 18:05:59 +0000 (18:05 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (Methods, Sources): New public properties.

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

21 years agofix: use MONO_ARCH_SAVE_REGS for mono_ldstr
Dietmar Maurer [Fri, 7 Feb 2003 17:58:37 +0000 (17:58 -0000)]
fix: use MONO_ARCH_SAVE_REGS for mono_ldstr

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 17:58:08 +0000 (17:58 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.c (mono_debug_symfile_add_method): Ignore interncalls.

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

21 years agoCosmetic fixes.
Martin Baulig [Fri, 7 Feb 2003 17:55:29 +0000 (17:55 -0000)]
Cosmetic fixes.

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

21 years ago2003-02-07 Patrik Torstensson
Patrik Torstensson [Fri, 7 Feb 2003 16:04:24 +0000 (16:04 -0000)]
2003-02-07 Patrik Torstensson

* Exception.cs: Fixed formating.

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

21 years agoRemoved this debugging statement.
Martin Baulig [Fri, 7 Feb 2003 15:10:32 +0000 (15:10 -0000)]
Removed this debugging statement.

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 15:07:48 +0000 (15:07 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* MonoSymbolFile.cs (MonoSymbolFile.ReadSymbolFile): New public
static method, returns null (without throwing an exception) if the
assembly doesn't have any debugging info.

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

21 years agoReflect latest API changes.
Martin Baulig [Fri, 7 Feb 2003 15:06:53 +0000 (15:06 -0000)]
Reflect latest API changes.

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 15:05:18 +0000 (15:05 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* debug-mono-symfile.c: Reflected latest symwriter changes.
(mono_debug_create_mono_symbol_file): Removed.
(mono_debug_open_mono_symbol_file): Take an argument which
specifies whether to create a dynamic symbol file.

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

21 years ago2003-02-07 Patrik Torstensson
Patrik Torstensson [Fri, 7 Feb 2003 14:59:31 +0000 (14:59 -0000)]
2003-02-07  Patrik Torstensson

* CADMessages.cs: Disable smuggeling of objects cross domain, still issues casing remoting
  to fail. (fixed formating)

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

21 years agoOops, removed debuging writeline:s
Patrik Torstensson [Fri, 7 Feb 2003 14:58:20 +0000 (14:58 -0000)]
Oops, removed debuging writeline:s

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

21 years ago2003-02-07 Patrik Torstensson
Patrik Torstensson [Fri, 7 Feb 2003 14:56:31 +0000 (14:56 -0000)]
2003-02-07 Patrik Torstensson

* RemotingServices.cs: Always marshal an object in GetObjectData

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

21 years ago2003-02-07 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 7 Feb 2003 13:46:08 +0000 (13:46 -0000)]
2003-02-07  Dietmar Maurer  <dietmar@ximian.com>

* class.c (mono_class_from_mono_type): added MONO_TYPE_TYPEDBYREF

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 12:12:58 +0000 (12:12 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* MonoSymbolWriter.cs (MonoSymbolWriter.Initialize): Removed the
custom initialization function.

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 12:12:39 +0000 (12:12 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* driver.cs: Removed the `--debug-args' command line argument.

* codegen.cs (CodeGen.SaveSymbols): Removed, this is now done
automatically by the AsssemblyBuilder.
(CodeGen.InitializeSymbolWriter): We don't need to call any
initialization function on the symbol writer anymore.  This method
doesn't take any arguments.

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

21 years agoClose() must not be called.
Martin Baulig [Fri, 7 Feb 2003 12:03:56 +0000 (12:03 -0000)]
Close() must not be called.

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

21 years ago2003-02-07 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 12:02:07 +0000 (12:02 -0000)]
2003-02-07  Martin Baulig  <martin@ximian.com>

* ModuleBuilder.cs (.ctor): Added `bool IsMainModule' argument.
(Save): New internal method; creates the module's symbol file if
we're compiling with debugging information.

* AssemblyBuilder.cs (EmbedResource): Added internal overloaded
version of this method which takes a `byte[] blob' instead of a file.
(DefineDynamicMethod): If this is the first module, tell the
ModuleBuilder that this is the main module.
(Save): Call a new interncall `build_metadata' to create the final
metadata and save all the symbol files before creating the actual
output.

* IMonoSymbolWriter.cs: New public class; it is in the namespace
Mono.CSharp.Debugger.  The Mono symbol writer implements this interface.

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

21 years ago2003-02-05 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 7 Feb 2003 12:01:11 +0000 (12:01 -0000)]
2003-02-05  Martin Baulig  <martin@ximian.com>

* reflection.c (mono_image_build_metadata): Make this public,
protect it against being called multiple times, don't create
resources and don't build the compressed metadata here.
(mono_image_create_pefile): Do this here.

* icall.c
("System.Reflection.Emit.AssemblyBuilder::build_metadata"): Added.

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