mono.git
21 years ago * CodeGen.cs: Add methods for setting corflags, subsystem, and corflags.
Jackson Harper [Sun, 15 Jun 2003 00:54:17 +0000 (00:54 -0000)]
    * CodeGen.cs: Add methods for setting corflags, subsystem, and corflags.

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

21 years agoexample added
Alexandre Pigolkine [Sun, 15 Jun 2003 00:39:36 +0000 (00:39 -0000)]
example added

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

21 years agocdeclCallbacks for libjpeg
Alexandre Pigolkine [Sun, 15 Jun 2003 00:27:44 +0000 (00:27 -0000)]
cdeclCallbacks for libjpeg

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

21 years agofiles added, --unsafe flag, cdecl delegates
Alexandre Pigolkine [Sun, 15 Jun 2003 00:19:16 +0000 (00:19 -0000)]
files added, --unsafe flag, cdecl delegates

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

21 years ago * ILParser.jay: Implement custom modified types.
Jackson Harper [Sun, 15 Jun 2003 00:17:23 +0000 (00:17 -0000)]
    * ILParser.jay: Implement custom modified types.

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

21 years ago * ITypeRef.cs, PeapiTypeRef.cs, TypeRef.cs: Quick hack for custom
Jackson Harper [Sun, 15 Jun 2003 00:15:58 +0000 (00:15 -0000)]
    * ITypeRef.cs, PeapiTypeRef.cs, TypeRef.cs: Quick hack for custom
modified types.

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

21 years agoimage painting, InternalImageInfo, image read/write
Alexandre Pigolkine [Sun, 15 Jun 2003 00:14:37 +0000 (00:14 -0000)]
image painting, InternalImageInfo, image read/write

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

21 years agoInternalImageInfo support
Alexandre Pigolkine [Sun, 15 Jun 2003 00:13:17 +0000 (00:13 -0000)]
InternalImageInfo support

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

21 years agosupport of InternalImageInfo, image loading
Alexandre Pigolkine [Sun, 15 Jun 2003 00:12:33 +0000 (00:12 -0000)]
support of InternalImageInfo, image loading

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

21 years agoproperties uncommented
Alexandre Pigolkine [Sun, 15 Jun 2003 00:11:40 +0000 (00:11 -0000)]
properties uncommented

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

21 years agoimplementation added, see ChangeLog
Alexandre Pigolkine [Sun, 15 Jun 2003 00:10:47 +0000 (00:10 -0000)]
implementation added, see ChangeLog

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

21 years agofirst version of codecs
Alexandre Pigolkine [Sun, 15 Jun 2003 00:06:47 +0000 (00:06 -0000)]
first version of codecs

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

21 years agoswitch to unix line terminators
Alexandre Pigolkine [Sun, 15 Jun 2003 00:00:01 +0000 (00:00 -0000)]
switch to unix line terminators

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

21 years ago2003-06-14 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 14 Jun 2003 21:43:57 +0000 (21:43 -0000)]
2003-06-14  Sebastien Pouliot  <spouliot@videotron.ca>

* list.unix. Added SubjectAltNameExtension.cs

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

21 years ago2003-06-14 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 14 Jun 2003 21:41:58 +0000 (21:41 -0000)]
2003-06-14  Sebastien Pouliot  <spouliot@videotron.ca>

* SubjectAltNameExtension.cs: New. Added for certview.

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

21 years ago2003-06-14 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 14 Jun 2003 21:08:08 +0000 (21:08 -0000)]
2003-06-14  Sebastien Pouliot  <spouliot@videotron.ca>

* mono.bmp: New. 16x16 bitmap for Mono::
* mono.ico: New. 32x32 windows icon for Mono::
* v1.bmp: New. 16x16 bitmap for X.509 v1 properties/extensions.
* v2.bmp: New. 16x16 bitmap for X.509 v2 properties/extensions.
* v3.bmp: New. 16x16 bitmap for X.509 v3 properties/extensions.
* v3critical.bmp: New. 16x16 bitmap for X.509 v3 critical extensions.
* wax-seal.png: New. Bitmap for valid certificate.
* wax-seal-broken.png: Bitmap for invalid certificate.

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

21 years ago2003-06-14 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 14 Jun 2003 21:06:44 +0000 (21:06 -0000)]
2003-06-14  Sebastien Pouliot  <spouliot@videotron.ca>

* CertificateViewer.cs: New. SFW-based certificate viewer.
* CertificateViewer.resx: New. SWF Resource file.
* CertificateFormatter.cs: New. Not GUI specific.
* certview.exe.config: New. Configuration file for certview.
* certview.glade: New. GUI for GTK#.
* certview.gladep: New. Project file for GLADE.
* gcertview.cs: New. GTK#-based certificate viewer.
* makefile: New. makefile for both SWF and GTK# viewers.
* X509ExtensionsHandler.cs: Configuration file parser.

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

21 years agoSat Jun 14 19:01:32 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 14 Jun 2003 17:11:16 +0000 (17:11 -0000)]
Sat Jun 14 19:01:32 CEST 2003 Paolo Molaro <lupus@ximian.com>

* icall.c: when getting timezone info, return reasonable values if we
can't get the actual data.

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

21 years ago * Methods.cs: Added information about headers in MethodStubInfo. Added cache of...
Lluis Sanchez [Sat, 14 Jun 2003 14:38:01 +0000 (14:38 -0000)]
* Methods.cs: Added information about headers in MethodStubInfo. Added cache of serializers
  in TypeStubInfo so serializers for headers they can be shared by several methods.
* SoapClientMessage.cs: Headers added in the constructor.
* SoapMessage.cs: Added header list initialization.
* SoapHttpClientProtocol.cs: Added support soap headers.

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

21 years ago2003-06-14 Dick Porter <dick@ximian.com>
Dick Porter [Sat, 14 Jun 2003 14:27:42 +0000 (14:27 -0000)]
2003-06-14  Dick Porter  <dick@ximian.com>

* threads.c (start_wrapper): Remove the reference to the thread
object in the TLS data, so the thread object can be finalized.
This won't be reached if the thread threw an uncaught exception,
so those thread handles will stay referenced :-( (This is due to
missing support for scanning thread-specific data in the Boehm GC
- the io-layer keeps a GC-visible hash of pointers to TLS data.)

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

21 years agoMake print_method_from_ip() print the pointer it's looking up, to make
Dick Porter [Sat, 14 Jun 2003 14:19:23 +0000 (14:19 -0000)]
Make print_method_from_ip() print the pointer it's looking up, to make
later matching up of the output with the stack trace easier.

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

21 years ago2003-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sat, 14 Jun 2003 13:22:53 +0000 (13:22 -0000)]
2003-06-14  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: if CookieContainer has not been set, make HttpWebResponse ignore
Set-Cookie* headers.

* HttpWebResponse.cs: Set-Cookie and Set-Cookie headers removed if CookieContainer have
been provided to the request.

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

21 years agoSat Jun 14 13:16:17 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 14 Jun 2003 11:26:34 +0000 (11:26 -0000)]
Sat Jun 14 13:16:17 CEST 2003 Paolo Molaro <lupus@ximian.com>

* reflection.c: ensure streams and tables are first allocated with
ALLOC_ATOMIC (GC_realloc uses plain GC_malloc otherwise).

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

21 years agoSat Jun 14 13:13:20 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sat, 14 Jun 2003 11:22:11 +0000 (11:22 -0000)]
Sat Jun 14 13:13:20 CEST 2003 Paolo Molaro <lupus@ximian.com>

* icall.c: fixed GetElementType for byrefs (bug# 44792).

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

21 years agoFixes the enumerator for SortedList.
Duncan Mak [Sat, 14 Jun 2003 04:37:26 +0000 (04:37 -0000)]
Fixes the enumerator for SortedList.

2003-06-13  Herve Poussineau  <hpoussineau@fr.st>

* SortedList.cs: Can enumerate on DictionaryEntries, not only on
keys on values. Enumerate by default on DictionaryEntries.

2003-06-14  Duncan Mak  <duncan@ximian.com>

* SortedListTest.cs
(TestIndexer):
(TestEnumerator): Incorporated these two tests from Philippe
Lavoie <philippe.lavoie@cactus.ca>.

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

21 years ago * XmlSerializationReader.cs: Fixed error message.
Lluis Sanchez [Fri, 13 Jun 2003 22:30:24 +0000 (22:30 -0000)]
* XmlSerializationReader.cs: Fixed error message.
* XmlSerializationReaderInterpreter.cs: Fixed bug when reading XmlQualifiedNames as attributes
  Thanks to Atsushi!
* XmlSerializationWriter.cs: Null check in FromXmlQualifiedName.

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

21 years ago2003-06-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 13 Jun 2003 17:48:23 +0000 (17:48 -0000)]
2003-06-13  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_reflection_create_runtime_class): Add support for
properties to dynamically created classes.
* reflection.c: Fix a few places where non-MonoObjects were inserted
into the tokens hashtable.

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

21 years ago2003-06-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 13 Jun 2003 17:33:41 +0000 (17:33 -0000)]
2003-06-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlNodeReader.cs : LookupNamespace () has refered invalid current
  node for attributes. Modified to use private "document" property.

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

21 years agoFri Jun 13 19:10:55 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 13 Jun 2003 17:19:18 +0000 (17:19 -0000)]
Fri Jun 13 19:10:55 CEST 2003 Paolo Molaro <lupus@ximian.com>

* object.c: some support to handle out of memory exceptions.

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

21 years ago * XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName()...
Lluis Sanchez [Fri, 13 Jun 2003 16:09:27 +0000 (16:09 -0000)]
* XmlSerializationReader.cs: Fixed implementation of ReadElementQualifiedName() and ReadTypedPrimitive().
* XmlSerializationReaderInterpreter.cs: Improved serialization of XmlQualifiedNames.
* XmlSerializationWriter.cs: implemented methods for reading XmlQualifiedNames.
* XmlSerializationWriterInterpreter.cs: Improved deserialization of XmlQualifiedNames.

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

21 years ago2003-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Fri, 13 Jun 2003 16:01:42 +0000 (16:01 -0000)]
2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Net/AuthenticationManager.cs: get the list of authentication
modules from the configuration files. Added Clear and fixed Unregister.

* System.Net/BasicClient.cs: fully implemented.

* System.Net/HttpWebRequest.cs: added support for Basic authentication
when credentials are set.

* System.Net/NetworkCredential.cs: fixed GetCredential.

* System.Net.Configuration/NetAuthenticationModuleHandler.cs: register
the modules using AuthenticationManager.

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

21 years ago * Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
Lluis Sanchez [Fri, 13 Jun 2003 15:30:58 +0000 (15:30 -0000)]
* Methods.cs: Added serializer to MethodStubInfo for deserializing faults.
* SoapHttpClientProtocol.cs: Added support for faults.

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

21 years agomissing.
Paolo Molaro [Fri, 13 Jun 2003 10:14:26 +0000 (10:14 -0000)]
missing.

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

21 years ago * SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
Lluis Sanchez [Fri, 13 Jun 2003 09:48:24 +0000 (09:48 -0000)]
* SchemaTypes.cs: Changed DataSet type for a more generic XmlSerializable.
* SoapReflectionImporter.cs: tiny fix.
* XmlReflectionImporter.cs, TypeData.cs, XmlSerializationWriterInterpreter.cs,
  XmlSerializationReaderInterpreter.cs: Added support for IXmlSerializable.
* XmlSerializationReader.cs: Fixed implementation of ReadSerializable().
* XmlSerializationWriter.cs: implemented WriteSerializable ().

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

21 years ago2003-06-13 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Fri, 13 Jun 2003 09:22:52 +0000 (09:22 -0000)]
2003-06-13  Dietmar Maurer  <dietmar@ximian.com>

* mini.c (optimize_branches): improved to handle all kinds of
conditional branches.

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

21 years agoFixes to various System.Collections class, with test cases included.
Duncan Mak [Fri, 13 Jun 2003 08:40:21 +0000 (08:40 -0000)]
Fixes to various System.Collections class, with test cases included.

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

21 years agoI forgot to write and commit my ChangeLog entry from monday's changes.
César Natarén [Fri, 13 Jun 2003 06:21:49 +0000 (06:21 -0000)]
I forgot to write and commit my ChangeLog entry from monday's changes.

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Fri, 13 Jun 2003 03:32:30 +0000 (03:32 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@motus.com>

* SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
* Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.

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

21 years ago2003-06-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Jun 2003 22:27:09 +0000 (22:27 -0000)]
2003-06-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: *really* take care of requestSent to prevent
sending the same request twice.
* WebAsyncResult.cs: don't close the handle. Just Reset.
* WebConnectionStream.cs: removed unneeded line.

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

21 years agoFix the attribution.
Duncan Mak [Thu, 12 Jun 2003 20:23:06 +0000 (20:23 -0000)]
Fix the attribution.

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

21 years ago2003-06-12 Duncan Mak <duncan@ximian.com>
Duncan Mak [Thu, 12 Jun 2003 20:16:26 +0000 (20:16 -0000)]
2003-06-12  Duncan Mak  <duncan@ximian.com>

* UserPreferenceChangedEventArgs.cs
* UserPreferenceChangingEventArgs.cs
(Category): Fixed typo. Patch from A. Nahr.
(A-Soft@A-SoftTech.com>.

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

21 years ago2003-06-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 Jun 2003 20:00:09 +0000 (20:00 -0000)]
2003-06-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: use InternalClose when we are not going to send the
rest of the request stream because of an error after sending the
headers.

* WebConnection.cs: check for completion after setting the response.
Enable reading in NextRead.

* WebConnectionStream.cs: re-fixed the count for partially buffered
reads. If the network stream returns 0 bytes, we're done.

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

21 years ago * XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
Lluis Sanchez [Thu, 12 Jun 2003 19:34:16 +0000 (19:34 -0000)]
* XmlAnyElementAttribute.cs, XmlArrayItemAttribute.cs: Added AllowMultiple flag.
* XmlReflectionImporter.cs, XmlSerializationWriterInterpreter.cs,
  XmlSerializationReaderInterpreter.cs, XmlTypeMapElementInfo.cs,
  XmlTypeMapMemberElement.cs, XmlTypeMapping.cs: Added support for XmlTextAttribute.
* XmlSerializationWriter.cs: small fix.

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

21 years ago2003-06-13 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Thu, 12 Jun 2003 18:47:31 +0000 (18:47 -0000)]
2003-06-13  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XSD2Class.cs: several changes.

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

21 years agocreate context menu using CreatePopupMenu function
Aleksey Ryabchuk [Thu, 12 Jun 2003 16:40:16 +0000 (16:40 -0000)]
create context menu using CreatePopupMenu function

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

21 years agobug fix
Dietmar Maurer [Thu, 12 Jun 2003 16:33:38 +0000 (16:33 -0000)]
bug fix

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

21 years agostarted impl. of TreeView control
Aleksey Ryabchuk [Thu, 12 Jun 2003 16:28:47 +0000 (16:28 -0000)]
started impl. of TreeView control

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

21 years ago * Control.cs : don't do anything if Anchor is set to default value
Aleksey Ryabchuk [Thu, 12 Jun 2003 14:48:33 +0000 (14:48 -0000)]
* Control.cs : don't do anything if Anchor is set to default value
* SystemInformation.cs : return some system metrics
* UserControl.cs : default size impl.

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

21 years ago2003-06-12 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Thu, 12 Jun 2003 14:00:20 +0000 (14:00 -0000)]
2003-06-12  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): support reference
return types

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

21 years agoWed Jun 11 18:32:51 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 12 Jun 2003 10:11:46 +0000 (10:11 -0000)]
Wed Jun 11 18:32:51 CEST 2003 Paolo Molaro <lupus@ximian.com>

* object.h, object.c: more portability stuff from Bernie Solomon.
Unexport mono_object_allocate(). Added mono_object_unbox ().
Set exitcode when an unhandled exception is thrown.

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

21 years ago2003-06-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Jun 2003 08:43:33 +0000 (08:43 -0000)]
2003-06-12  Zoltan Varga  <vargaz@freemail.hu>

* FileStreamTest.cs: New tests for recently fixed bugs.

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

21 years ago2003-06-11 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 Jun 2003 08:35:22 +0000 (08:35 -0000)]
2003-06-11  Zoltan Varga  <vargaz@freemail.hu>

* FileStream.cs: Fix errors in previous checkins:
(Write): Only take the shortcut route if the data is longer than the
buffer length.
(Write): Flush the buffer before writing out the new data
(Write): Flush the buffer after writing out a segment since otherwise
we will go into an infinite loop.
(FlushBuffer): Remove my last change since it was clearly wrong.
(Seek): Run FlushBuffer () after the in-buffer seek optimization.
(Seek): Only use the in-buffer optimization if the buffer is not
empty.
(Length): Call FlushBuffer () since buffer data might change the size
of the stream.

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Thu, 12 Jun 2003 02:03:46 +0000 (02:03 -0000)]
2003-06-11  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests2.cs: Converted tests to NUnit2 format.
* RSACryptoServiceProviderTest.cs: Converted tests to NUnit2 format.
* RSAPKCS1KeyExchangeDeformatterTest.cs: Converted tests to NUnit2 format.
* RSAPKCS1KeyExchangeFormatterTest.cs: Converted tests to NUnit2 format.
* RSAPKCS1SignatureDeformatterTest.cs: Converted tests to NUnit2 format.
* RSAPKCS1SignatureFormatterTest.cs: Converted tests to NUnit2 format.

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

21 years ago2003-06-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 12 Jun 2003 01:53:57 +0000 (01:53 -0000)]
2003-06-11  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>

* CommandTests.cs: Changed code to use parameter names starting with ':'. Added test for empty query.
* DataReaderTests.cs: Added test for parameter names overlap. Added test for nonexistent parameter name.

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

21 years ago2003-06-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Thu, 12 Jun 2003 01:49:20 +0000 (01:49 -0000)]
2003-06-11  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>

* NpgsqlCommand.cs: Fixed parameter replace bug when parameter names overlap. Thanks Ishpal Singh. Cleaned up the code.
* NpgsqlDataReader.cs: Fixed NPE bug when handling queries which doesn't return anything.
* NpgsqlParameter.cs: Added code to format parameter names to start with ':'.
* NpgsqlParameterCollection.cs: Added code to format parameter names to start with ':'.

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Thu, 12 Jun 2003 01:33:25 +0000 (01:33 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@motus.com>

* crypto: Updated crypto status

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Thu, 12 Jun 2003 01:22:06 +0000 (01:22 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@motus.com>

* DSACryptoServiceProvider.cs: Refactored from orginal by splitting
much core functionalities into DSAManaged.
* RSACryptoServiceProvider.cs: Refactored from orginal by splitting
much core functionalities into RSAManaged.
* RSAPKCS1SignatureDeformatter.cs: Updated to use the new PKCS#1 API.
Now works with any hash algorithm (which OID is defined in machine.config)
* RSAPKCS1SignatureFormatter.cs: Updated to use the new PKCS#1 API.
Now works with any hash algorithm (which OID is defined in machine.config)

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Thu, 12 Jun 2003 01:14:03 +0000 (01:14 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@videotron.ca>

* unix.args: added Mono.Security.Cryptography/DSAManaged.cs and
RSAManaged.cs

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Thu, 12 Jun 2003 01:09:04 +0000 (01:09 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@motus.com>

* DSAManaged.cs: Refactored from DSACryptoServiceProvider.cs. Cannot
be reused outside [ms]corlib because DSA constructor is internal :-(

* PKCS1.cs: Now support any hash algorithm when encoding PKCS 1.5
(i.e. not limited to pre-calculated values for known hashes). Some
other API changes to ease the use of other hash algorithms.

* RSAManaged.cs: Refactored from RSACryptoServiceProvider.cs. This
class is required for custom PKCS#1 padding in SSL (which is not
possible using RSACryptoServiceProvider).

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

21 years ago2003-06-11 Sebastien Pouliot <spouliot@motus.com>
Sebastien Pouliot [Thu, 12 Jun 2003 00:35:48 +0000 (00:35 -0000)]
2003-06-11  Sebastien Pouliot <spouliot@motus.com>

* BigInteger.cs: Added Clear to zeroize big integers and code to allow
compares with null (because operators == and != are re-defined). Note:
The class may still leak some private info in temp arrays (thanks Ben).

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

21 years ago * XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
Lluis Sanchez [Wed, 11 Jun 2003 23:16:11 +0000 (23:16 -0000)]
* XmlReflectionImporter.cs: Added support for XmlIgnoreAttribute in enum members.
  Added support for DefaultValueAttribute.
* XmlSerializationWriterInterpreter.cs: Added support for DefaultValueAttribute. Fixed bug when writting
  the value of an enum.
* XmlTypeMapMember.cs: Added DefaultValue attribute.
* XmlTypeMapping.cs: EnumMap.GetXmlName and GetXmlValue, so they can now deal with
  integer values.

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

21 years ago2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Jun 2003 20:48:43 +0000 (20:48 -0000)]
2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* WebClient.cs: implemented UploadFile. Fixed SetupRequest to set the
special headers *after* the others.

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

21 years ago2003-06-11 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Wed, 11 Jun 2003 18:22:02 +0000 (18:22 -0000)]
2003-06-11  Tim Coleman <tim@timcoleman.com>
        * SybaseConnection.cs:
                Make connection parameter parsing "more correct"
                and throw appropriate exceptions, similar to MS SqlClient
        * SybaseBinary.cs:
        * SybaseBoolean.cs:
        * SybaseByte.cs:
        * SybaseDateTime.cs:
        * SybaseDecimal.cs:
        * SybaseDouble.cs:
        * SybaseMoney.cs:
        * SybaseString.cs:
                Mass import of code from SqlClient to make this behave
                better.

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

21 years agoSimple script to print a stack trace and also look up all the managed
Dick Porter [Wed, 11 Jun 2003 17:02:46 +0000 (17:02 -0000)]
Simple script to print a stack trace and also look up all the managed
frames

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

21 years ago * ContextMenu.cs : SourceControl, Show method
Aleksey Ryabchuk [Wed, 11 Jun 2003 16:36:24 +0000 (16:36 -0000)]
* ContextMenu.cs : SourceControl, Show method
* Control.cs : ContextMenu, CanSelect, force parent to perform layout when Dock property changes
* GroupBox.cs
* Label.cs
* Panel.cs
* PictureBox.cs
* Splitter.cs
* ProgressBar.cs : remove Selectable style
* RadioButton.cs : set TextAlign to MiddleLeft by default
* tooltip.cs : override Dispose method
* win32Enums.cs
* win32functions.cs : flags and function for context menu

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

21 years agoWed Jun 11 18:01:06 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Wed, 11 Jun 2003 16:12:19 +0000 (16:12 -0000)]
Wed Jun 11 18:01:06 CEST 2003 Paolo Molaro <lupus@ximian.com>

* mini.c, mini.h, jit-icalls.c: speedup emulation of opcodes that
don't raise exceptions.

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

21 years agoAdd markup
Miguel de Icaza [Wed, 11 Jun 2003 14:39:58 +0000 (14:39 -0000)]
Add markup

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

21 years ago * XmlSerializationReader.cs: Minor fix.
Lluis Sanchez [Wed, 11 Jun 2003 13:53:43 +0000 (13:53 -0000)]
* XmlSerializationReader.cs: Minor fix.

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

21 years ago* XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.
Lluis Sanchez [Wed, 11 Jun 2003 13:38:56 +0000 (13:38 -0000)]
* XmlSerializationReader.cs, XmlSerializationReaderInterpreter.cs: Minor fixes.

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

21 years agoFlush
Miguel de Icaza [Wed, 11 Jun 2003 13:37:48 +0000 (13:37 -0000)]
Flush

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

21 years ago2003-06-11 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 11 Jun 2003 12:39:20 +0000 (12:39 -0000)]
2003-06-11  Dick Porter  <dick@ximian.com>

* shared.c: Fix shared directory creation.  Patch from
Pablo Baena <pbaena@uol.com.ar>

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

21 years ago2003-06-11 Dietmar Maurer <dietmar@ximian.com>
Dietmar Maurer [Wed, 11 Jun 2003 09:59:09 +0000 (09:59 -0000)]
2003-06-11  Dietmar Maurer  <dietmar@ximian.com>

* marshal.c (mono_marshal_get_native_wrapper): use custom
marshaler for return types.

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

21 years ago2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 Jun 2003 00:00:36 +0000 (00:00 -0000)]
2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoType.cs: don't throw nullref when the return type for a property
is specified and the property doesn't have a get accessor.

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

21 years ago2003-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 22:56:27 +0000 (22:56 -0000)]
2003-06-10  Duncan Mak  <duncan@ximian.com>

* Array.cs (CreateInstance): Fixed a typo. It should throw
ArgumentNullException instead of ArgumentException.

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

21 years ago2003-06-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 10 Jun 2003 22:42:04 +0000 (22:42 -0000)]
2003-06-11  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HashtableTest.cs: removed duplicate tests and unneeded inner class.

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

21 years agoChange back the copyright. I guess I should not look for a carrear as a lawyer ;-)
Ben Maurer [Tue, 10 Jun 2003 22:37:50 +0000 (22:37 -0000)]
Change back the copyright. I guess I should not look for a carrear as a lawyer ;-)

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

21 years ago * Methods.cs: removed handler for UnknownNode event
Lluis Sanchez [Tue, 10 Jun 2003 18:31:05 +0000 (18:31 -0000)]
* Methods.cs: removed handler for UnknownNode event

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

21 years ago * SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primit...
Lluis Sanchez [Tue, 10 Jun 2003 18:30:32 +0000 (18:30 -0000)]
* SoapReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
* XmlAttributes.cs: Default value of XmlDefaultValue changed to System.DBNull.Value
* XmlCustomFormatter.cs: small fixes.
* XmlReflectionImporter.cs: Added check: some overrides cannot be applied to primitive types.
* XmlSerializationWriter.cs: Implemented TopLevelElement().
  WriteNamespaceDeclarations(): Fixed (the hashtable contains XmlQualifiedNames, not strings).
  WriteXsiType(): It is not necessary to add the namespace declaration, this will now be done by XmlWriter.
* XmlSerializationWriterInterpreter.cs: Call TopLevelElement() when writing classes or arrays as
  root elements.

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

21 years ago * XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be...
Lluis Sanchez [Tue, 10 Jun 2003 18:13:55 +0000 (18:13 -0000)]
* XmlTextWriter.cs: when adding an attribute with a namespace, a prefix must be automaticaly
  generated, and a namespace declaration must be added.
* XmlWriter.cs: the namespace for the prefix xmlns must be http://www.w3.org/2000/xmlns/

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

21 years agoTue Jun 10 19:00:31 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jun 2003 17:09:45 +0000 (17:09 -0000)]
Tue Jun 10 19:00:31 CEST 2003 Paolo Molaro <lupus@ximian.com>

* tramp-x86.c, tramp-ppc.c, debug-mini.c: move arch-specific code
to arch-specific files.

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

21 years ago2003-06-10 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 10 Jun 2003 17:02:25 +0000 (17:02 -0000)]
2003-06-10  Dick Porter  <dick@ximian.com>

* acconfig.h:
* configure.in: Check for struct ip_mreq if struct ip_mreqn isn't
available.

2003-06-10  Dick Porter  <dick@ximian.com>

* socket-io.c: Don't assume that one of struct ip_mreqn or struct
ip_mreq is available

2003-06-10  Dick Porter  <dick@ximian.com>

* atomic.c: Delete the useless compile warning

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

21 years ago2003-06-11 Nick Drochak <ndrochak@gol.cm>
Nick Drochak [Tue, 10 Jun 2003 16:44:00 +0000 (16:44 -0000)]
2003-06-11  Nick Drochak <ndrochak@gol.cm>

* Added Paolo's comments about CVS commits and changing code.
Also reorganized it a bit. Hopefully this is a more logical ordering.

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

21 years ago * Conrols.cs : Disposing property, Dispose method
Aleksey Ryabchuk [Tue, 10 Jun 2003 16:17:41 +0000 (16:17 -0000)]
* Conrols.cs : Disposing property, Dispose method
* Cursor.cs  : Show, Hide, Copy cursor
* NativeWindow.cs : destructor

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

21 years agoTue Jun 10 17:35:03 CEST 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Tue, 10 Jun 2003 15:45:18 +0000 (15:45 -0000)]
Tue Jun 10 17:35:03 CEST 2003 Paolo Molaro <lupus@ximian.com>

* debug-mono-symfile.c, marshal.c, metadata.c, monitor.c,
mono-debug-debugger.c, mono-debug.c, process.c: portability fixes
by Bernie Solomon <bernard@ugsolutions.com>.

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

21 years agoRemoved the debugger download link from Mono 0.24 since that debugger version doesn...
Martin Baulig [Tue, 10 Jun 2003 14:59:15 +0000 (14:59 -0000)]
Removed the debugger download link from Mono 0.24 since that debugger version doesn't work with Mono 0.24.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 13:06:09 +0000 (13:06 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_init): Avoid error message on shutdown when
GC_DONT_GC=1 is used.

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

21 years agoBuild fix
Dick Porter [Tue, 10 Jun 2003 12:02:06 +0000 (12:02 -0000)]
Build fix

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:57:22 +0000 (09:57 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_Module_GetGuidInternal):
New icall to return the GUID of a module.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:55:48 +0000 (09:55 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* Module.cs (Mono_GetGuid): New method to return the GUID of the
module.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:52:57 +0000 (09:52 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* XmlDocumentTests.cs: New test for null prefix and namespaceURI in
CreateAttribute.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:51:09 +0000 (09:51 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* MonoSymbolFile.cs: Fix off-by-one error.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:49:55 +0000 (09:49 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* XmlAttribute.cs: Accept a null prefix or namespaceURI.

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

21 years ago2003-06-10 Ville Palo <vi64pa@kolumbus.fi>
Ville Palo [Tue, 10 Jun 2003 09:49:41 +0000 (09:49 -0000)]
2003-06-10  Ville Palo <vi64pa@kolumbus.fi>

* DateTimeTest.cs: more tests.

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

21 years ago2003-06-10 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 10 Jun 2003 09:46:36 +0000 (09:46 -0000)]
2003-06-10  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Define HAVE_GC_GCJ_MALLOC for included libgc.

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

21 years ago2003-06-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jun 2003 09:22:25 +0000 (09:22 -0000)]
2003-06-10  Martin Baulig  <martin@ximian.com>

* configure.in: Fall back to boehm if we don't have a libgc
subdirectory.

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

21 years ago2003-06-10 Martin Baulig <martin@ximian.com>
Martin Baulig [Tue, 10 Jun 2003 08:36:20 +0000 (08:36 -0000)]
2003-06-10  Martin Baulig  <martin@ximian.com>

* configure.in: Make the libgc stuff actually work; we now create
a shared libmonogc.so when using the included libgc.

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

21 years ago2003-06-10 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 06:07:01 +0000 (06:07 -0000)]
2003-06-10  Duncan Mak  <duncan@ximian.com>

* XmlDocumentNavigator.cs (GetNode): Make it implement
IHasXmlNode.

        Hopefully I fixed the space/tab thing. Let's just all use
        spaces, it's just easier....

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

21 years ago2003-06-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 10 Jun 2003 04:05:11 +0000 (04:05 -0000)]
2003-06-10  Nick Drochak <ndrochak@gol.com>

* StackFrameTest.cs: More cleanups.  Now *all* tests pass.

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

21 years ago2003-06-10 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 10 Jun 2003 03:47:57 +0000 (03:47 -0000)]
2003-06-10  Nick Drochak <ndrochak@gol.com>

* StactFrameTest.cs: Cleanups.  Now tests pass.

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

21 years ago2003-06-09 Duncan Mak <duncan@ximian.com>
Duncan Mak [Tue, 10 Jun 2003 03:09:31 +0000 (03:09 -0000)]
2003-06-09  Duncan Mak  <duncan@ximian.com>

* ArrayTest.cs:
(TestCreateInstance2):
(TestLastIndexOf4):
(TestLastIndexOf5):
(MoreSort10): Added 4 new tests.

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