mono.git
20 years agoflush
Miguel de Icaza [Mon, 20 Oct 2003 18:14:17 +0000 (18:14 -0000)]
flush

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

20 years agoMakefile fix
Miguel de Icaza [Mon, 20 Oct 2003 18:06:25 +0000 (18:06 -0000)]
Makefile fix

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

20 years agoIf you want to help on the Mono Jscript .Net compiler effort, here is
César Natarén [Mon, 20 Oct 2003 17:01:26 +0000 (17:01 -0000)]
If you want to help on the Mono Jscript .Net compiler effort, here is
a list of things where you can start helping with:

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

20 years agoImproved formatting of xml and code.
Lluis Sanchez [Mon, 20 Oct 2003 14:45:35 +0000 (14:45 -0000)]
Improved formatting of xml and code.

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

20 years agoInitial PrintDialog implementation
Jordi Mas i Hernandez [Mon, 20 Oct 2003 14:04:46 +0000 (14:04 -0000)]
Initial PrintDialog implementation

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

20 years ago2003-10-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Oct 2003 13:14:37 +0000 (13:14 -0000)]
2003-10-20  Zoltan Varga  <vargaz@freemail.hu>

* object.h object.c: Remove G_GNUC_NORETURN from the signature of
mono_raise_exception, since otherwise gcc doesn't generate the function
epilog for raise_exception, confusing the stack unwinding in the JIT.
Fixes #45043.

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

20 years ago2003-10-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 20 Oct 2003 12:40:02 +0000 (12:40 -0000)]
2003-10-20  Zoltan Varga  <vargaz@freemail.hu>

* rawbuffer.c (mono_raw_buffer_load_mmap): Map mmap-ed memory with
PROT_EXEC. This seems to prevent segmentation faults on Fedora Linux.
Fixes #49499.

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

20 years ago2003-10-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 20 Oct 2003 07:14:12 +0000 (07:14 -0000)]
2003-10-20  Nick Drochak <ndrochak@gol.com>

* ecore.cs: Fix typo and build.  Needed another right paren.

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

20 years ago2003-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 20 Oct 2003 03:54:06 +0000 (03:54 -0000)]
2003-10-19  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs: Applied fix from Ben Maurer.   We were handling in the
`internal' case regular and protected, but not allowing protected
to be evaluated later.  Bug 49840

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

20 years ago2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Oct 2003 14:09:22 +0000 (14:09 -0000)]
2003-10-19  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* BuiltInDatatype.cs : Implemented XsdHexBinary.Parse().
* XmlSchemaCollection.cs : Implemented CopyTo().
* XmlSchemaDatatype.cs : Added Normalize() with whitespace handling.
  Added support for anySimpleType.
* XmlSchemaSimpleType.cs : Type specification named as anyType should
  be mapped to anySimpleType.
* BUGS-MS.txt : Added more case note.

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

20 years ago2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Oct 2003 13:56:55 +0000 (13:56 -0000)]
2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlAttributeCollection.cs : Fixed synchronization stuff.
* XmlConvert.cs : Added two FromBinHexString() methods.
* XmlTextReader.cs : Modified to use one of the above method.
* XmlValidatingReader.cs : XsdValidatingReader.XmlResolver will be
  disabled (in the next commit), so resolver won' be set to it.
  Attempt to validate against XDR now throws NotSupportedException.

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

20 years ago2003-10-19 Joerg Rosenkranz <joergr@voelcker.com>
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 11:16:59 +0000 (11:16 -0000)]
2003-10-19  Joerg Rosenkranz <joergr@voelcker.com>

* Tds.cs (GetStringValue): A string length of 0xFF (255) is not
misinterpreted as special value anymore.

This is a fix to bug #49835.

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

20 years ago * PEAPI.cs: Use bytes not bits for constant sizes.
Jackson Harper [Sun, 19 Oct 2003 09:28:56 +0000 (09:28 -0000)]
    * PEAPI.cs: Use bytes not bits for constant sizes.

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

20 years ago2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Oct 2003 09:23:29 +0000 (09:23 -0000)]
2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlChar.cs : added WhitespaceChars, used in common.
* XmlConvert.cs,
  XmlDeclaration.cs,
  XmlParserInput.cs,
  XmlTextReader.cs,
  XmlTextWriter.cs : String.Trim()
* XmlConvert.cs : shifted XmlConstructs to XmlChar.
* XmlTextReader.cs : Implemented Normalization.

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

20 years ago2003-10-19 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sun, 19 Oct 2003 04:47:46 +0000 (04:47 -0000)]
2003-10-19  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNode.cs : GetPrefixOfNamespace() also contained a bug similar to
  GetNamespaceOfPrefix() fixed at 2003-10-13.
* XmlTextReader.cs : ReadBase64() should keep incomplete base64 block
  which remained by previous call of this method.
* XmlUrlResolver.cs : Added assertion for file Uri path's absoluteness.
* XmlValidatingReader.cs : Notice about intention of XDR won't be
  supported (at least in Mono 1.0).

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

20 years agoFix the ! operator for traces, and add N: to the trace factiliy
Miguel de Icaza [Sun, 19 Oct 2003 04:46:48 +0000 (04:46 -0000)]
Fix the ! operator for traces, and add N: to the trace factiliy

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 19 Oct 2003 03:10:14 +0000 (03:10 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* X509SecurityTokenTest.cs: New. New. Unit tests for X509SecurityToken.

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

20 years ago2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 00:36:42 +0000 (00:36 -0000)]
2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AspParser.cs: fixed bug #49627.

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

20 years ago2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 19 Oct 2003 00:20:59 +0000 (00:20 -0000)]
2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Calendar.cs: fixed bug #49727.

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

20 years ago2003-10-18 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 18 Oct 2003 23:59:00 +0000 (23:59 -0000)]
2003-10-18 Ben Maurer  <bmaurer@users.sourceforge.net>

* TableStyle.cs: fix #49740.

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

20 years ago2003-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 23:36:42 +0000 (23:36 -0000)]
2003-10-19  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* SelectedDatesCollection.cs: fix by Yaron for bug #49698.
* ValidationSummary.cs: fixes bug #49669.

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 22:01:45 +0000 (22:01 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* BinarySecurityToken.cs: Added support for GetXml/LoadXml
* SecurityToken.cs: Better support for WSE2
* X509SecurityToken.cs: Implemented most of the TODO.

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

20 years ago2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 20:01:19 +0000 (20:01 -0000)]
2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* icall.c: OutputDebugStringW expects 16-bit unicode characters, not
utf8.

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

20 years agoAdded uninstall target
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 18:33:54 +0000 (18:33 -0000)]
Added uninstall target

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

20 years ago * icall.c: Removed GetUninitializedObject method because
Lluis Sanchez [Sat, 18 Oct 2003 18:29:22 +0000 (18:29 -0000)]
* icall.c: Removed GetUninitializedObject method because
  AllocateUninitializedClassInstance does the same.

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

20 years ago * FormatterServices.cs: In GetUninitializedObject methdod, reuse
Lluis Sanchez [Sat, 18 Oct 2003 18:23:03 +0000 (18:23 -0000)]
* FormatterServices.cs: In GetUninitializedObject methdod, reuse
ActivationServices.AllocateUninitializedClassInstance, it does the same.

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

20 years ago * ActivationServices.cs: make AllocateUninitializedClassInstance public,
Lluis Sanchez [Sat, 18 Oct 2003 18:22:30 +0000 (18:22 -0000)]
* ActivationServices.cs: make AllocateUninitializedClassInstance public,
  so it can be reused.

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 17:23:49 +0000 (17:23 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: Oops, forgot the INSIDE_CORLIB to mark class as internal.

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 17:18:58 +0000 (17:18 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* sn.cs: Fixed a bug when exporting the public key from a SNK file.

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 17:17:41 +0000 (17:17 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib.dll.sources: Added classes StrongName to support StrongNames.

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 17:16:17 +0000 (17:16 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* AssemblyBuilder.cs (SetCustomAttribute): Changed PK extraction to
use Mono.Security.StrongName (#49785).

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

20 years ago2003-10-18 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 17:13:45 +0000 (17:13 -0000)]
2003-10-18  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: Added from Mono.Security assembly for StrongName
support in AssemblyBuilder.

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

20 years ago * util.c (hex_dump): Use uppercase hex so there are no conflicts
Jackson Harper [Sat, 18 Oct 2003 16:06:34 +0000 (16:06 -0000)]
    * util.c (hex_dump): Use uppercase hex so there are no conflicts
with ilasm keywords ie cf

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

20 years ago * dis-cil.c (get_encoded_user_string): use g_strescape instead of
Jackson Harper [Sat, 18 Oct 2003 16:05:21 +0000 (16:05 -0000)]
    * dis-cil.c (get_encoded_user_string): use g_strescape instead of
escaping manually.

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

20 years ago * ExternTable.cs: Separate class and value types into diff
Jackson Harper [Sat, 18 Oct 2003 15:55:25 +0000 (15:55 -0000)]
    * ExternTable.cs: Separate class and value types into diff
          tables.

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

20 years ago * InstrTable.cs: Use short branch instructions instead of aliasing them
Jackson Harper [Sat, 18 Oct 2003 15:48:31 +0000 (15:48 -0000)]
    * InstrTable.cs: Use short branch instructions instead of aliasing them
to the long branch instructions.

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

20 years ago * PEAPI.cs: Add proper support for short instructions, removing
Jackson Harper [Sat, 18 Oct 2003 15:44:44 +0000 (15:44 -0000)]
    * PEAPI.cs: Add proper support for short instructions, removing
PEAPI's auto selection of short/long branch operations
feature.

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

20 years ago2003-10-18 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 18 Oct 2003 15:34:26 +0000 (15:34 -0000)]
2003-10-18  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (SetCustomAttribute): Extract the public key from
the keyfile.

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

20 years ago2003-10-18 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 18 Oct 2003 15:21:26 +0000 (15:21 -0000)]
2003-10-18  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlDocument.cs : CloneNode() does not copy PreserveWhitespace.
* XmlWriter.cs : Calling WriteNode() with XmlReader whose state is
  XmlDeclaration now calls WriteProcessingInstruction(). This fixes
  testcase XmlWriterTests.WriteNodeFullDocument().
* XmlTextWriter.cs : Added LAMESPEC comments related to above.

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

20 years ago2003-10-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 18 Oct 2003 07:13:03 +0000 (07:13 -0000)]
2003-10-18  Martin Baulig  <martin@ximian.com>

* MethodInfo.cs (MethodInfo.GetGenericArguments): Make this method
abstract; use an interncall in MonoMethod and a custom
implementation in MethodBuilder.

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

20 years ago2003-10-18 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 18 Oct 2003 06:59:42 +0000 (06:59 -0000)]
2003-10-18  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_signature): Renamed to
mono_class_inflate_generic_signature() and made it public.
(my_mono_class_from_generic_parameter): New static function; if we
don't already have the generic parameter's MonoClass, create a
very simple one which is just used internally in the runtime and
not passed back to managed code.

* class.h (MonoGenericInst): Added `gpointer mbuilder' field.

* metadata.h (MonoMethodSignature): Moved the
`MonoGenericParam *gen_params' to the MonoMethodHeader.
(MonoMethodHeader): Moved the `MonoGenericParam *gen_params' here.

* icall.c (ves_icall_MethodInfo_GetGenericArguments): Renamed to
ves_icall_MonoMethod_GetGenericArguments(); this is now an
interncall on the MonoMethod class, not on MethodInfo.
(ves_icall_MethodInfo_BindGenericParameters): Removed, we're now
calling mono_reflection_bind_generic_method_parameters() directly.

* loader.c (mono_method_get_signature): If this is a MethodSpec;
return the already computed `method->signature'.
(method_from_methodspec): New static function to load a method
from a MethodSpec entry.
(mono_get_method_from_token): Call the new method_from_methodspec()
for MethodSpec tokens.
(mono_get_method_from_token): If we're a generic method, load the
type parameters.

* reflection.c (mono_image_get_memberref_token): Allow
MEMBERREF_PARENT_TYPEDEF here; this will be used in the MethodSpec
table.
(fixup_method): Added support for MONO_TABLE_METHODSPEC.
(mono_image_create_token): First check whether it's a generic
method (so we'd need to create a MethodSpec), then do the other
two alternatives.
(mono_reflection_bind_generic_method_parameters): Return a
`MonoReflectionMethod *' instead of a `MonoMethod *'; we're now
called directly from the interncall.

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

20 years ago * ILParser.jay: Set value types, set enums as value types. Use
Jackson Harper [Sat, 18 Oct 2003 06:14:49 +0000 (06:14 -0000)]
   * ILParser.jay: Set value types, set enums as value types. Use
correct var for call conv in method signatures.

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

20 years ago2003-10-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 18 Oct 2003 05:54:18 +0000 (05:54 -0000)]
2003-10-18  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.UI/TemplateControl.cs: moved NoParamsInvoker class to its
own file.

* System.Web/HttpApplicationFactory.cs: use NoParamsInvoker.
* System.Web/HttpRequest.cs: support request filters.
* System.Web/HttpRequestStream.cs: mono-stylized and added new Set
method.

* System.Web/NoParamsInvoker.cs: proxy class to invoke user-provided
methods without parameters that are invoked by EventHandlers.

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

20 years ago2003-10-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 02:53:56 +0000 (02:53 -0000)]
2003-10-17  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib.dll.sources: Added classes CryptoConvert to support StrongNames.

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

20 years ago2003-10-17 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 18 Oct 2003 02:28:17 +0000 (02:28 -0000)]
2003-10-17  Sebastien Pouliot  <spouliot@videotron.ca>

* CryptoConvert.cs: Added from Mono.Security to support StrongNames.

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

20 years ago * SoapReflectionImporter.cs: Support element references for enum values in
Lluis Sanchez [Fri, 17 Oct 2003 22:55:42 +0000 (22:55 -0000)]
* SoapReflectionImporter.cs: Support element references for enum values in
  encoding format. This fixes bug #49568.
* XmlSerializationReaderInterpreter.cs: In encoded format, do not check
  the name and namespace of the wrapper element. MS.NET doesn't do it.
  This fixes bug #49729.

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

20 years ago2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 17 Oct 2003 22:20:33 +0000 (22:20 -0000)]
2003-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>

* Microsoft.VisualBasic/VBCodeGenerator.cs: Sub or Function generation is switched by method.ReturnType being "System.Void"

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

20 years ago2003-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 17 Oct 2003 22:11:45 +0000 (22:11 -0000)]
2003-10-17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>

* Microsoft.VisualBasic/VBCodeCompiler.cs: Inserts "--" before file names block
* Microsoft.VisualBasic/VBCodeGenerator.cs: Indexer should be ".Item(xx)"

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

20 years ago2003-10-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Oct 2003 21:58:11 +0000 (21:58 -0000)]
2003-10-17  Martin Baulig  <martin@ximian.com>

* gen-test.sh: Removed.

* gen-test.pl: New file; this is a perl script which runs all the
generics tests.

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

20 years ago2003/10/17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Fri, 17 Oct 2003 21:30:53 +0000 (21:30 -0000)]
2003/10/17  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* genericparser.cs:
    Don't print exception when a file is not found to be parsed
File extensions not matched are now processed with the default parser
Better handle file/directory not found exceptions, and use Report.Error in that case
* added defaultparserattribute.cs
* mb-parser.jay : Mono.MonoBASIC.Parser is now the [DefaultParser]
* location.cs version 1.4 recovered (Marco Ridoni had it overwritten with an older version)
* mb-tokenizer.cs, rootcontext.cs, tree.cs: Location constructor needs column number now

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

20 years ago2003-10-17 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 17 Oct 2003 21:12:21 +0000 (21:12 -0000)]
2003-10-17 Ben Maurer  <bmaurer@users.sourceforge.net>

        * CompilationConfiguration.cs (Init): you have to inherit copying
        files from the bin folders too.

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

20 years agoMySql - Fixed major bug with null field handling (thanks Naucki)
Reggie Burnett [Fri, 17 Oct 2003 19:30:47 +0000 (19:30 -0000)]
MySql - Fixed major bug with null field handling (thanks Naucki)
MySql - Removed unused IsClosed method in MySqlStream
MySql - Removed unused IsDead code from Driver

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

20 years ago * dis-cil.c (get_encoded_user_string): Escape user strings when
Jackson Harper [Fri, 17 Oct 2003 19:21:13 +0000 (19:21 -0000)]
    * dis-cil.c (get_encoded_user_string): Escape user strings when
loading. ie ""quote"" should be "\"quote\"".
* dis-cil.c (dissasemble_cil): Write SEH debug info into a comment
block. Combine SEH blocks that have the same offset and length,
this prevents creating invalid SEH blocks.

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

20 years ago2003-10-17 Ettore Perazzoli <ettore@ximian.com>
Ettore Perazzoli [Fri, 17 Oct 2003 18:53:17 +0000 (18:53 -0000)]
2003-10-17  Ettore Perazzoli  <ettore@ximian.com>

* Mono.Data.SqliteClient/SqliteConnection.cs
(SqliteConnection.LastInsertRowId): New property to bind the
sqlite_last_insert_rowid() call.

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

20 years ago2003-10-17 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 17 Oct 2003 17:04:16 +0000 (17:04 -0000)]
2003-10-17  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * MonoEvent.cs: implement ToString method as in MS.NET.

    * MonoMethod.cs: fix some differences between mono and MS.NET
    implementation of ToString.

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

20 years ago2003-10-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Oct 2003 16:37:19 +0000 (16:37 -0000)]
2003-10-17  Martin Baulig  <martin@ximian.com>

* generic.cs (Constraints.Resolve): Take a DecpSpace instead of a
TypeContainer so we can also use this for Interfaces.
(TypeParameter.Resolve): Likewise.

* interface.cs (Interface.DefineType): Added support for generic
interfaces.

* cs-parser.jay: Added support for generic structs and interfaces.

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

20 years agoTwo more generics tests.
Martin Baulig [Fri, 17 Oct 2003 16:29:47 +0000 (16:29 -0000)]
Two more generics tests.

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

20 years agofluhs
Miguel de Icaza [Fri, 17 Oct 2003 16:15:22 +0000 (16:15 -0000)]
fluhs

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 14:04:03 +0000 (14:04 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (SetCustomAttribute): Ignore empty keyfile name.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 13:09:59 +0000 (13:09 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs: Moved loading of the public key file into
managed code from reflection.c.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 13:08:21 +0000 (13:08 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (load_public_key): Move loading of the public key
into managed code.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 12:45:07 +0000 (12:45 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyNameTest.cs: Convert to Nunit2 format, add tests for
CultureInfo, Version and HashAlgorithm properties.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 12:40:18 +0000 (12:40 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs: Set cultureInfo and version from the AssemblyName
passed to the constructor.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 12:38:24 +0000 (12:38 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyName.cs: Fix Version property when some version fields are
undefined.

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

20 years ago2003-10-17 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 17 Oct 2003 12:33:49 +0000 (12:33 -0000)]
2003-10-17  Zoltan Varga  <vargaz@freemail.hu>

* image.h (MonoAssemblyName): Add public_key and hash_alg fields.

* assembly.c (mono_assembly_open): Fill in public_key and hash_alg
fields.

* icall.c (ves_icall_System_Reflection_Assembly_FillName): Fill in
culture, hash_alg and public_key. Fixes #49555.

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

20 years ago2003-10-17 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 17 Oct 2003 11:14:15 +0000 (11:14 -0000)]
2003-10-17  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * WebClient.cs: use Path.DirectorySeparator instead of "/" for
    windows compatibility. Add some checks for file paths like
    "C:/xxx/yyy/..." and like "/home/xxx/...".

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

20 years agoReference ../Mono.Security.Tls/System.Security.dll to let plain 'make' work
Gonzalo Paniagua Javier [Fri, 17 Oct 2003 07:17:17 +0000 (07:17 -0000)]
Reference ../Mono.Security.Tls/System.Security.dll to let plain 'make' work

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

20 years agoMore generics tests.
Martin Baulig [Fri, 17 Oct 2003 03:41:09 +0000 (03:41 -0000)]
More generics tests.

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

20 years ago2003-10-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Oct 2003 03:34:02 +0000 (03:34 -0000)]
2003-10-17  Martin Baulig  <martin@ximian.com>

* generics.cs (GenericMemberAccess.DoResolve): We can now actually
call generic methods :-)

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

20 years ago2003-10-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Oct 2003 03:26:20 +0000 (03:26 -0000)]
2003-10-17  Martin Baulig  <martin@ximian.com>

* MethodInfo.cs (MethodInfo.GetGenericArguments): New method.
(MethodInfo.BindGenericParameters): New method.

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

20 years ago2003-10-17 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 17 Oct 2003 03:12:16 +0000 (03:12 -0000)]
2003-10-17  Martin Baulig  <martin@ximian.com>

* class.h (MonoGenericInst): Moved this declaration here and added
`MonoMethod *generic_method'.

* icall.c
(ves_icall_MethodInfo_GetGenericArguments): New interncall.
(ves_icall_MethodInfo_BindGenericParameters): New interncall.

* metadata.c (mono_metadata_type_equal): Two types of
MONO_TYPE_VAR or MONO_TYPE_MVAR equals if they have the same
index; ie. don't compare the address of the `MonoGenericParam'
structure.
(mono_metadata_load_generic_params): Removed the `MonoMethod
*method' argument.

* metadata.h (MonoGenericInst): Moved declaration to class.h.
(MonoMethodHeader): Added `MonoGenericInst *geninst'.

* reflection.c (method_encode_signature): Encode the number of
generic parameters.
(encode_generic_method_sig): New static function.
(method_encode_methodspec): New static function; creates an entry
in the MethodSpec table for a generic method.
(mono_image_get_methodspec_token): New static function.
(mono_image_create_token): Call mono_image_get_methodspec_token()
for generic methods.
(mono_reflection_bind_generic_method_parameters): New public
function.  Instantiates a generic method.

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

20 years ago2003-10-16 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Fri, 17 Oct 2003 03:07:58 +0000 (03:07 -0000)]
2003-10-16  Daniel Morgan <danielmorgan@verizon.net>

* Makefile
* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: after editing these files, forgot to edit my
          new email address

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

20 years ago2003-10-16 Daniel Morgan <danielmorgan@verizon.net>
Daniel Morgan [Fri, 17 Oct 2003 03:01:29 +0000 (03:01 -0000)]
2003-10-16  Daniel Morgan <danielmorgan@verizon.net>

* Win32.make: removed file.  replaced with Makefile

* Makefile: new makefile for building on Linux and Windows

* LoginDialog.cs
* SqlSharpDataAdapter.cs
* sqlsharpgtk.cs: correct compile errors

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

20 years agoRemove debugging message
Miguel de Icaza [Thu, 16 Oct 2003 22:42:46 +0000 (22:42 -0000)]
Remove debugging message

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

20 years agoUse explanatory message
Miguel de Icaza [Thu, 16 Oct 2003 22:34:06 +0000 (22:34 -0000)]
Use explanatory message

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

20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 19:14:54 +0000 (19:14 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* MethodInfo.cs (MethodInfo.IsGenericMethodDefinition): New
property.

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

20 years agoUpdate
Miguel de Icaza [Thu, 16 Oct 2003 19:14:31 +0000 (19:14 -0000)]
Update

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

20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 18:51:26 +0000 (18:51 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* metadata.h (MonoMethodSignature): Moved `MonoGenericParam
*gen_params' here from MonoMethodHeader.

* metadata.c (mono_metadata_parse_method_signature): If we have
generic parameters, initialize `method->gen_params' and then set
the correct `type->data.generic_param' in all the parameters.

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

20 years ago2003-10-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 16 Oct 2003 18:34:33 +0000 (18:34 -0000)]
2003-10-16  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlTextArea.cs: fixed infinite recursion.

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

20 years ago2003-10-16: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 16 Oct 2003 17:49:12 +0000 (17:49 -0000)]
2003-10-16:  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
* Added again Peter Williams comments removed by mistake in the previous update.

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

20 years ago2003-10-16 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 16 Oct 2003 12:40:37 +0000 (12:40 -0000)]
2003-10-16  Zoltan Varga  <vargaz@freemail.hu>

* threads.c (mono_threads_get_default_stacksize): New function to
return the default stacksize.

* gc.c (mono_gc_cleanup): Use a separate event for waiting for the
termination of the finalizer thread, since the previous method had
race conditions. Fixes #49628.

* gc.c (mono_gc_init): Use the same stacksize for the finalizer thread
as for the other managed threads.

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

20 years agofiledialog.cs uses the placetoolbar and allow resizing
Jordi Mas i Hernandez [Thu, 16 Oct 2003 10:59:14 +0000 (10:59 -0000)]
filedialog.cs uses the placetoolbar and allow resizing

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

20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 06:32:46 +0000 (06:32 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* class.c (inflate_generic_signature): Copy `generic_param_count'.
(inflate_generic_header): Copy `gen_params'.

* icall.c (ves_icall_MethodInfo_get_IsGenericMethodDefinition):
New interncall.

* metadata.c (mono_metadata_parse_method_signature): Actually set
the `method->generic_param_count' here.
(mono_metadata_load_generic_params): Initialize `pklass' to NULL.

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

20 years ago2003-10-16 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 16 Oct 2003 05:19:29 +0000 (05:19 -0000)]
2003-10-16  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (namespace_or_type_name): Only create a
GenericMemberAccess if we actually have type arguments.

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

20 years agoAdd new Tls directory
Miguel de Icaza [Thu, 16 Oct 2003 01:27:23 +0000 (01:27 -0000)]
Add new Tls directory

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Thu, 16 Oct 2003 00:59:32 +0000 (00:59 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * WebClient.cs: added a slash between directory and file names.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Thu, 16 Oct 2003 00:41:18 +0000 (00:41 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
    because now it is used TlsSession and it doesn't work without
    these changes.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:06:18 +0000 (23:06 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: Add Mono.Security.Tls assembly.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:05:32 +0000 (23:05 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile:
    * ChangeLog:
    * System.Security.Tls.dll:
    * System.Security.Tls.dll.sources: Initial commit.

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

20 years ago2003-10-16 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 23:04:05 +0000 (23:04 -0000)]
2003-10-16  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: changed reference from Lib/System.Security.Tls.dll to
    System.Security.Tls because the last will be installed before and
    separatelly.

    * Lib: Removed Lib directory, moved System.Security.Tls.dll to
    Mono.Security.Tls library directory.

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

20 years ago2003-10-15 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 15 Oct 2003 21:55:09 +0000 (21:55 -0000)]
2003-10-15  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Makefile: fix building and the install objectives.

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 20:58:09 +0000 (20:58 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* vararg.il: New file.

* Makefile.am: Added vararg.il.

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

20 years agoGdipDrawImageRectI changed
Alexandre Pigolkine [Wed, 15 Oct 2003 20:57:58 +0000 (20:57 -0000)]
GdipDrawImageRectI changed

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 20:17:15 +0000 (20:17 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* get.c (get_ret_type): Remove needless warning message.

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

20 years ago2003-10-15 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 15 Oct 2003 20:14:22 +0000 (20:14 -0000)]
2003-10-15  Zoltan Varga  <vargaz@freemail.hu>

* mini.c (mono_method_to_ir): Fix initialization of typedbyref locals.

* mini.c inssel.brg: Implement typedefbyref opcodes.

* mini.c (mono_jit_compile_method): Remove unused local variable.

* mini.c (mono_jit_compile_method_inner): Ditto.

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

20 years agoImproved organization of information. Added syntax coloring for proxy and wsdl.
Lluis Sanchez [Wed, 15 Oct 2003 18:49:44 +0000 (18:49 -0000)]
Improved organization of information. Added syntax coloring for proxy and wsdl.

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

20 years ago * MessageBinding.cs: Name property should be null by default.
Lluis Sanchez [Wed, 15 Oct 2003 18:47:12 +0000 (18:47 -0000)]
* MessageBinding.cs: Name property should be null by default.
* ProtocolImporter.cs: Take into account the previous change.

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

20 years ago2003-10-15 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Wed, 15 Oct 2003 18:11:48 +0000 (18:11 -0000)]
2003-10-15  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : DescendantIterator and FollowingIterator also should
  not MoveNext() after they reached to the end.

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

20 years ago * MapCodeGenerator.cs: Made MapCodeGenerator internal.
Lluis Sanchez [Wed, 15 Oct 2003 18:11:33 +0000 (18:11 -0000)]
* MapCodeGenerator.cs: Made MapCodeGenerator internal.

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

20 years ago2003-10-15: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Wed, 15 Oct 2003 16:38:47 +0000 (16:38 -0000)]
2003-10-15:  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Synchronized files with Gborg repository

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