mono.git
20 years ago * ServiceDescription.cs: Fixed implementation of CanRead.
Lluis Sanchez [Tue, 21 Oct 2003 00:16:52 +0000 (00:16 -0000)]
* ServiceDescription.cs: Fixed implementation of CanRead.

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

20 years ago * DiscoveryClientProtocol.cs: Fixed little bug in DiscoverAny.
Lluis Sanchez [Tue, 21 Oct 2003 00:14:07 +0000 (00:14 -0000)]
* DiscoveryClientProtocol.cs: Fixed little bug in DiscoverAny.

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

20 years agoAdded disco tool
Lluis Sanchez [Tue, 21 Oct 2003 00:03:59 +0000 (00:03 -0000)]
Added disco tool

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

20 years ago * Makefile: Added disco directory.
Lluis Sanchez [Mon, 20 Oct 2003 23:40:19 +0000 (23:40 -0000)]
* Makefile: Added disco directory.

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

20 years ago2003-10-20 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Mon, 20 Oct 2003 23:36:25 +0000 (23:36 -0000)]
2003-10-20  Sebastien Pouliot  <spouliot@videotron.ca>

* Mono.Security.dll.sources: Removed AssemblyInfo.cs from build.
This file is for TLS not for the complete Mono.Security assembly.

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

20 years agoAdded TlsAbstractCipherSuite.cs, TlsCipherSuiteFactory.cs and
Duncan Mak [Mon, 20 Oct 2003 23:24:38 +0000 (23:24 -0000)]
Added TlsAbstractCipherSuite.cs, TlsCipherSuiteFactory.cs and
TlsCompressMethod.cs. This fixes the build.

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

20 years ago * ReflectionHelper.cs: In CheckSerializableType() check that the type
Lluis Sanchez [Mon, 20 Oct 2003 23:10:14 +0000 (23:10 -0000)]
* ReflectionHelper.cs: In CheckSerializableType() check that the type
  is public.
* XmlSerializationWriter.cs: Added check for circular references.
  This fixes bug #49879.

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

20 years ago2003-10-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 20 Oct 2003 22:16:28 +0000 (22:16 -0000)]
2003-10-20  Miguel de Icaza  <miguel@ximian.com>

* TcpClient.cs: Fix void Dispose (bool disposing) to follow the
pattern.  It was shutting down the managed resources even in the
finalizer case, it should only do that when called from
IDisposable.Dipose.

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

20 years ago*** empty log message ***
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 22:14:35 +0000 (22:14 -0000)]
*** empty log message ***

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

20 years agoUpdated Changelog
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 22:13:56 +0000 (22:13 -0000)]
Updated Changelog

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

20 years agoadding jordi as contributor
Jordi Mas i Hernandez [Mon, 20 Oct 2003 21:50:36 +0000 (21:50 -0000)]
adding jordi as contributor

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

20 years agoRecommit change done by Pedro
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:49:42 +0000 (21:49 -0000)]
Recommit change done by Pedro

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

20 years agoUpdated Changelog
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:46:08 +0000 (21:46 -0000)]
Updated Changelog

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

20 years agoSync file
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:32:34 +0000 (21:32 -0000)]
Sync file

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

20 years agoFill and parse message replace by specific process method for each protocol supported
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:29:23 +0000 (21:29 -0000)]
Fill and parse message replace by specific process method for each protocol supported

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

20 years agoUpdated file
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:24:51 +0000 (21:24 -0000)]
Updated file

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

20 years agoAdded new CompressionMethod property
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:19:50 +0000 (21:19 -0000)]
Added new CompressionMethod property

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

20 years agoUpdated CompressionMethod property of session context
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:19:26 +0000 (21:19 -0000)]
Updated CompressionMethod property of session context

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

20 years agoStatic method moved to TlsCipherSuiteFactory class
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:16:50 +0000 (21:16 -0000)]
Static method moved to TlsCipherSuiteFactory class

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

20 years agoTlsCipherSuite now inhers from TlsAbstractCipherSuite class, fixed problem with paddi...
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:16:08 +0000 (21:16 -0000)]
TlsCipherSuite now inhers from TlsAbstractCipherSuite class, fixed problem with padding length calculation with new AES cipher suites

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

20 years agoAdded new enumeration for TLS compression methods
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:14:00 +0000 (21:14 -0000)]
Added new enumeration for TLS compression methods

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

20 years agoAdded new Factory class for Cipher Suites
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:11:51 +0000 (21:11 -0000)]
Added new Factory class for Cipher Suites

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

20 years agoAdded new class for SSL3 Cipher Suites
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:09:31 +0000 (21:09 -0000)]
Added new class for SSL3 Cipher Suites

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

20 years agoAdded new abstract base class for cipher suite implementations
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 21:07:53 +0000 (21:07 -0000)]
Added new abstract base class for cipher suite implementations

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

20 years agoAdded my information of mono contributor
Carlos Guzmán Álvarez [Mon, 20 Oct 2003 20:33:50 +0000 (20:33 -0000)]
Added my information of mono contributor

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

20 years agoadded default form to show unhandled exceptions
Jordi Mas i Hernandez [Mon, 20 Oct 2003 20:06:40 +0000 (20:06 -0000)]
added default form to show unhandled exceptions

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

20 years ago * disco.cs, Makefile, disco.exe.sources: New files. Initial implementation
Lluis Sanchez [Mon, 20 Oct 2003 19:28:39 +0000 (19:28 -0000)]
* disco.cs, Makefile, disco.exe.sources: New files. Initial implementation
  of the Disco tool.

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

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

* FileStream.cs public FileStream (string name, FileMode mode)
constructor: If we pass FileMode.Append, we can not pass
FileAccess.ReadWrite.  This fixes bug 44959

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

20 years ago * ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
Lluis Sanchez [Mon, 20 Oct 2003 18:41:46 +0000 (18:41 -0000)]
* ReflectionHelper.cs: Added check in CheckSerializableType(). Interfaces
  can't be serialized. This fixes bug #49878.
* TypeData.cs: In ListItemType check that the collection has a valid
  Add method and report an error if not.
* XmlReflectionImporter.cs: Added CheckSerializableType check call when
  reflecting a collection.

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

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

* exception.c (mono_exception_from_name_msg): New helper function for
creating exceptions and initializing their message field.

* exception.c: Simplify functions using the new helper.

* exception.h exception.c (mono_get_exception_cannot_unload_appdomain):
New function.

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

20 years agoCasting error bug fix: Applied patches from seifert@everybody.org (Jeff Seifert)...
Miguel de Icaza [Mon, 20 Oct 2003 18:36:36 +0000 (18:36 -0000)]
Casting error bug fix: Applied patches from seifert@everybody.org (Jeff Seifert), that fix #49561

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

20 years agoApplied patch from seifert@everybody.org (Jeff Seifert), bug 49553
Miguel de Icaza [Mon, 20 Oct 2003 18:34:53 +0000 (18:34 -0000)]
Applied patch from  seifert@everybody.org (Jeff Seifert), bug 49553

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

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

    * Mono.Security.dll.sources: Added references for Tls files.

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

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

    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
    namespace is Mono.System.Protocol.Tls, before was
    System.Security.Tls.

    * Npgsql/Makefile: Change reference from System.Security.Tls to
    Mono.Security (now Tls lives there).

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

20 years agoUpdate this too
Miguel de Icaza [Mon, 20 Oct 2003 18:23:39 +0000 (18:23 -0000)]
Update this too

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

20 years agoAdd generator
Miguel de Icaza [Mon, 20 Oct 2003 18:23:06 +0000 (18:23 -0000)]
Add generator

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

20 years agoApplied patch from perky@FreeBSD.org (Hye-Shik Chang) that adds CP949 codec
Miguel de Icaza [Mon, 20 Oct 2003 18:22:42 +0000 (18:22 -0000)]
Applied patch from perky@FreeBSD.org (Hye-Shik Chang) that adds CP949 codec

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

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