mono.git
20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 21:46:34 +0000 (21:46 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Add new --with-nptl option to enable NPTL only
features since auto-detection is not reliable.

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 21:05:40 +0000 (21:05 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* autogen.sh: Fix previous patch and silence noisy GNU which.

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

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

* gc.c (mono_domain_finalize): Fix compilation for no GC case.

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

20 years ago * DataGrid.cs (CreateControlHierarchy): Current page index is
Jackson Harper [Fri, 7 Nov 2003 20:13:15 +0000 (20:13 -0000)]
    * DataGrid.cs (CreateControlHierarchy): Current page index is
alolowed to equal page count. This prevents an exception being
thrown when both are zero.

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

20 years ago2003-11-07 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Fri, 7 Nov 2003 19:58:30 +0000 (19:58 -0000)]
2003-11-07  Bernie Solomon  <bernard@ugsolutions.com>

* autogen.sh: tweak glibtool check so it works
if which doesn't set return code properly

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

20 years ago2003-11-07 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 7 Nov 2003 19:13:39 +0000 (19:13 -0000)]
2003-11-07  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
    change. The Command objects must not be created in the constructor.
    The Commands should be in the overrided method "OnRowUpdating".

    * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
    the proper exception (not MissingManifestResourceException). It is
    thrown in MS.NET and in MONO. (Npgsql compiled with MCS).

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

20 years ago2003-11-07 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 7 Nov 2003 18:10:11 +0000 (18:10 -0000)]
2003-11-07  Zoltan Varga  <vargaz@freemail.hu>

* autogen.sh: Applied patch from Peter Teichman (peter@ximian.com).
Use 'glibtool' instead of 'libtool' on OSX.

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

20 years ago2003-11-07 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 12:51:36 +0000 (12:51 -0000)]
2003-11-07  Sebastien Pouliot  <spouliot@videotron.ca>

* AlgorithmIdentifierTest.cs: New. Unit tests for AlgorithmIdentifier.
* CryptographicAttributeTest.cs: New. Unit tests for CryptographicAttribute.
* Pkcs9AttributeTest.cs: New. Unit tests for Pkcs9Attribute (same as for
CryptographicAttribute).
* Pkcs9DocumentDescriptionTest.cs: New. Unit tests for Pkcs9DocumentDescription.
* Pkcs9DocumentNameTest.cs: New. Unit tests for Pkcs9DocumentName.
* Pkcs9SigningTimeTest.cs: New. Unit tests for Pkcs9SigningTime.

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

20 years ago2003-11-07 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 12:49:29 +0000 (12:49 -0000)]
2003-11-07  Sebastien Pouliot  <spouliot@videotron.ca>

* AlgorithmIdentifier.cs: New. Class to encapsulate PKCS7 AlgorithmIdentifier.
* CryptographicAttribute.cs: Basic class for attributes.
* KeyAgreeKeyChoice.cs: New. Enumeration for key agreement.
* Pkcs9Attribute.cs: New. Base class for Pkcs#9 attributes.
* Pkcs9DocumentDescription.cs: New. Pkcs#9 DocumentDescription attribute.
* Pkcs9DocumentName.cs: New. Pkcs#9 DocumentName attribute.
* Pkcs9SigningTime.cs: New. Pkcs#9 SigningTime attribute.
* RecipientInfoType.cs: New. Enumeration for RecipientInfo.
* RecipientSubType.cs: New. Enumeration for RecipientInfo.
* SubjectIdentifierOrKeyType.cs: New. Enumeration for SubjectIdentifier.
* SubjectIdentifierType.cs: New. Enumeration for SubjectIdentifier.

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

20 years ago2003-11-07 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 7 Nov 2003 10:26:51 +0000 (10:26 -0000)]
2003-11-07  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
    different Insrt / Update / Delete commands.

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

20 years ago2003-11-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 7 Nov 2003 07:01:27 +0000 (07:01 -0000)]
2003-11-06  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (New.DoResolve): Do not dereference value that
might be a null return.

* statement.cs (Block.EmitMeta): Use the Const.ChangeType to make
sure that the constant value has the right type.  Fixes an
unreported bug, similar to 50425.

* const.cs (Const.LookupConstantValue): Call
ImplicitStandardConversionExists before doing a conversion to
avoid havng the TypeManager.ChangeType do conversions.

Reduced the number of casts used

(Const.ChangeType): New routine to enable reuse of the constant
type changing code from statement.

* typemanager.cs (ChangeType): Move common initialization to
static global variables.

Fixes #50425.

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

20 years ago2003-11-06 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Fri, 7 Nov 2003 04:46:49 +0000 (04:46 -0000)]
2003-11-06 Ben Maurer  <bmaurer@users.sourceforge.net>

* Iterator.cs: (AxisIterator.ComparablePosition): Remove. Let
it inherit from the base class. This made b[2] evaluated on
<a /><b /><c /><a /><b /><c /> return the first b node because
in the ChildIterator it was the second node and seemed to satsify
the predicate.

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

20 years agoIts serializable only in 1.2
Miguel de Icaza [Fri, 7 Nov 2003 04:11:41 +0000 (04:11 -0000)]
Its serializable only in 1.2

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

20 years agoAdd serialization support; We should audit the Exception classes
Miguel de Icaza [Fri, 7 Nov 2003 03:44:42 +0000 (03:44 -0000)]
Add serialization support;  We should audit the Exception classes

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

20 years ago(DrawEllipse): Fix Width, Height ordering.
Duncan Mak [Fri, 7 Nov 2003 03:06:50 +0000 (03:06 -0000)]
(DrawEllipse): Fix Width, Height ordering.

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

20 years ago2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 02:04:00 +0000 (02:04 -0000)]
2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* AsnEncodedDataTest.cs: New. Unit tests for AsnEncodedData (.NET 1.2).
* OidTest.cs: New. Unit tests for Oid (.NET 1.2).
* OidCollectionTest.cs: New. Unit tests for OidCollection (.NET 1.2).
* OidEnumeratorTest.cs: New. Unit tests for OidEnumerator (.NET 1.2).

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

20 years ago2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 02:03:00 +0000 (02:03 -0000)]
2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).

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

20 years ago2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 01:15:15 +0000 (01:15 -0000)]
2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* BinarySecurityTokenTest.cs: Fixed some tests and added one for RawData.
* DecryptionKeyProviderTest.cs: New. Unit tests for DecryptionKeyProvider.
* SignatureTest.cs: Updated for WSE2 compatibility (SignatureOptions).

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

20 years ago2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 01:12:52 +0000 (01:12 -0000)]
2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* BinarySecurityToken.cs: Oops unit tests were failing on this one. Also implemented RawData (it's  actually used - see updated unit tests).
* DecryptionKeyProvider.cs: Basic implementation based on code I (wrongly) put in EncryptedKey.
* EncrypedKey.cs: Now calls DecryptionKeyProvider.
* SignatureOptions.cs: Updated for WSE2 compatibility (removed IncludePath*).

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

20 years ago2003-11-06 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Fri, 7 Nov 2003 00:40:32 +0000 (00:40 -0000)]
2003-11-06  Sebastien Pouliot  <spouliot@videotron.ca>

* StrongName.cs: Now supports MZ headers bigger than 128 bytes.

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

20 years ago2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 21:49:29 +0000 (21:49 -0000)]
2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* VBCodeGenerator.cs: some corrections regarding missing spaces in
generated code (e. g. "Property "). QuoteSnippetString implemented.
Patch by Jochen Wezel (jwezel@compumaster.de).

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

20 years ago2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
Zoltan Varga [Thu, 6 Nov 2003 21:02:53 +0000 (21:02 -0000)]
2003-11-06  Zoltan Varga  <zovarga@ws-zovarga2>

* appdomain.c (mono_domain_unload): Add a workaround for bug #27663.

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

20 years ago2003-11-06 Zoltan Varga <zovarga@ws-zovarga2>
Zoltan Varga [Thu, 6 Nov 2003 20:54:00 +0000 (20:54 -0000)]
2003-11-06  Zoltan Varga  <zovarga@ws-zovarga2>

* mono/benchmark/pinvoke.cs: New benchmark for testing the performance
of the managed/unmanaged boundary.

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

20 years ago(GdipDrawRectangle): Add call to gdip_pen_setup so
Duncan Mak [Thu, 6 Nov 2003 20:46:04 +0000 (20:46 -0000)]
(GdipDrawRectangle): Add call to gdip_pen_setup so
that we stroke with the right color.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 20:44:48 +0000 (20:44 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* mini.h (mono_arch_setup_jit_tls_data): New arch specific function.

* mini.c (setup_jit_tls_data): Call the new function.

* mini-x86.c mini-ppc.c mini-sparc.c: Define the new function.

* mini-x86.c: Add experimental support for fast access to the lmf
structure under NPTL/Linux 2.6.x.

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

20 years ago(DrawPie): Use DrawPieI instead of DrawPie and fix
Duncan Mak [Thu, 6 Nov 2003 20:44:30 +0000 (20:44 -0000)]
(DrawPie): Use DrawPieI instead of DrawPie and fix
angle parameters for the integer case.
(DrawBezier): Hook it up with GdipDrawBezier.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 20:36:01 +0000 (20:36 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* configure.in acconfig.h: Add check for __thread keyword in gcc.

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

20 years ago * System.web.dll.sources: Add SessionId.cs to build
Jackson Harper [Thu, 6 Nov 2003 19:26:31 +0000 (19:26 -0000)]
    * System.web.dll.sources: Add SessionId.cs to build

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

20 years ago * ISessionHandler.cs: Pass the SessionStateModule to handlers when
Jackson Harper [Thu, 6 Nov 2003 19:25:32 +0000 (19:25 -0000)]
    * ISessionHandler.cs: Pass the SessionStateModule to handlers when
updating.
* SessionSqlServerHandler.cs:
* SessionInProcHandler.cs: Accept SessionStateModule when
updating. Use new SessionId.Create method for creating session
ids.
* SessionStateModule.cs: Add a random number generator that will
be used for creating session ids. Pass this to handlers when
updating.
* SessionId.cs: New class for creating session ids.

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

20 years ago * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
Jackson Harper [Thu, 6 Nov 2003 17:39:37 +0000 (17:39 -0000)]
    * ValidationSummary.cs: Add Render method. Patch by Yaron Shkop.
* BaseValidator.cs: Disable base control so the isValid flag is
not reset.

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

20 years ago2003-11-06 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Thu, 6 Nov 2003 17:10:42 +0000 (17:10 -0000)]
2003-11-06 cesar lopez nataren <cesar@ciencias.unam.mx>

* FunctionDeclaration.cs: Build a ScriptFunction local variable,
if inside a nested block.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 15:28:22 +0000 (15:28 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c
(reflection_methodbuilder_from_method_builder):
(reflection_methodbuilder_from_ctor_builder): New helper functions to
initialize a ReflectionMethodBuilder structure.
(mono_image_get_methodbuilder_token):
(mono_image_get_ctorbuilder_token): New functions to emit memberref
tokens which point to types in another module inside the same assembly.

* reflection.c: Use the new helper functions.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 15:11:00 +0000 (15:11 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs (.ctor): Automatically add RTSpecialName flag
as MS does.

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

20 years ago2003-11-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 6 Nov 2003 13:40:06 +0000 (13:40 -0000)]
2003-11-06  Martin Baulig  <martin@ximian.com>

* ldscript: Make `GC_push_all_stack', `GC_start_blocking',
`GC_end_blocking' and 'gc_thread_vtable' public; they're used by
the debugger.

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

20 years ago2003-11-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 6 Nov 2003 13:13:18 +0000 (13:13 -0000)]
2003-11-06  Martin Baulig  <martin@ximian.com>

* ModuleBuilder.cs (ModuleBuilder.Save): Call `build_metadata'
before writing the symbol file.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 12:06:58 +0000 (12:06 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_basic_init): Initialize basedir and culture.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 12:05:37 +0000 (12:05 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (.ctor): Initialize the 'dir' field to something
sensible.

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

20 years agoay
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:52:53 +0000 (11:52 -0000)]
ay

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

20 years ago2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 11:46:33 +0000 (11:46 -0000)]
2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: patch by Alon Gazit <along@mainsoft.com> to remove extra
space in generated javascript.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 11:33:44 +0000 (11:33 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (Save): Set 'created' flag.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 11:06:53 +0000 (11:06 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* icall.c loader.c reflection.c: Use ModuleBuilder->dynamic_image
instead of AssemblyBuilder->dynamic_assembly in the appropriate places.

* reflection.c (resolution_scope_from_image): Emit a moduleref if
neccesary.

* reflection.c (mono_image_build_metadata): Emit metadata only for the
current module. Emit the manifest only for the main module.

* reflection.c (mono_image_create_token): Add assertion when a
memberref needs to be created.

* reflection.c reflection.h (MonoDynamicAssembly): Remove unused fields.

* reflection.c (mono_reflection_get_custom_attrs_blob): Allocate a
larger buffer for the custom attribute blob. Fixes #50637.

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

20 years agoChanged line endings
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 10:48:53 +0000 (10:48 -0000)]
Changed line endings

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

20 years ago2003-11-04 Carlos Guzm�n �lvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Thu, 6 Nov 2003 09:30:36 +0000 (09:30 -0000)]
2003-11-04 Carlos Guzm�n �lvarez <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls/CipherSuite.cs:

- Added custom padding for record encryption.

2003-11-03 Carlos Guzm�n �lvarez <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls.Handshake/TlsHandshakeMessages.cs:

- Removed file.

* Mono.Security.Protocol.Tls/TlsSslHandshakeHash.cs:

- New class for handshake hashes calculation on SSL3 protocol.

* Mono.Security.Protocol.Tls/TlsSessionContext.cs:

- Fixed mac keys clearing for SSL3 protocol.

* Mono.Security.Protocol.Tls/TlsSslCipherSuite.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:

- Added changes for make use of new TlsSslHandshakeHash class.

* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:

- Added initial implementation for SSL3 protocol.

* Mono.Security.Cryptography/MD5SHA1CryptoServiceProvider.cs:

- New class for md5-sha hash calculation.

* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerFinished.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsHandshakeMessage.cs:

- Make use of new MD5SHA1CryptoServiceProvider class.

* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:

- Added initial implementation (not finished).

* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

- Minor change to message processing.

- Changed verify method name to verifySignature.

* Mono.Security.Protocol.Tls/TlsSessionContext.cs:

- Changed handshakeHashes member to be an TlsStream.

2003-10-28 Carlos Guzm�n �lvarez <carlosga@telefonica.net>

* Mono.Security.Protocol.Tls/CipherSuite.cs:
* Mono.Security.Protocol.Tls/TlsSessionSettings.cs:
* Mono.Security.Protocol.Tls/TlsServerSettings.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientCertificateVerify.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsClientKeyExchange.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs:
* Mono.Security.Protocol.Tls.Handshake.Client/TlsServerKeyExchange.cs:

- Added changes for make use of X509 classes from mono.

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

20 years ago2003-11-06 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 6 Nov 2003 09:03:12 +0000 (09:03 -0000)]
2003-11-06  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (get_next_table_index): Moved to ModuleBuilder,
since table indexes are per-module.

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

20 years agoThrow a plain Exception here
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:54:46 +0000 (07:54 -0000)]
Throw a plain Exception here

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

20 years ago2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:51:11 +0000 (07:51 -0000)]
2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* IPAddress.cs: prevent exceptions when trying to parse the static IPv6
addresses.

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

20 years ago2003-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:40:27 +0000 (07:40 -0000)]
2003-11-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ConfigurationSettings.cs: don't handle null or non-existent file in
the catch blocks.

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

20 years agoOoops. Forgot to enable globalization section
Gonzalo Paniagua Javier [Thu, 6 Nov 2003 07:21:26 +0000 (07:21 -0000)]
Ooops. Forgot to enable globalization section

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

20 years ago2003-11-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 6 Nov 2003 06:17:21 +0000 (06:17 -0000)]
2003-11-06  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (ImplicitReferenceConversion): Somehow we allowed
every value type to go through, even if it was void.  Fix that.

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

20 years ago2003-11-06 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 6 Nov 2003 06:08:48 +0000 (06:08 -0000)]
2003-11-06  Martin Baulig  <martin@ximian.com>

* ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
Started to implement the System.Collections.Generic classes.

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

20 years ago2003-11-06 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 6 Nov 2003 05:55:08 +0000 (05:55 -0000)]
2003-11-06  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Use is_identifier_start_character on the start
character of the define, and the is_identifier_part_character for
the rest of the string.

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

20 years agoUpdate list
Miguel de Icaza [Thu, 6 Nov 2003 02:26:12 +0000 (02:26 -0000)]
Update list

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

20 years agoUpdate list
Miguel de Icaza [Thu, 6 Nov 2003 02:25:06 +0000 (02:25 -0000)]
Update list

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

20 years ago2003-11-05 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 6 Nov 2003 02:13:58 +0000 (02:13 -0000)]
2003-11-05  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (UnaryMutator.EmitCode): When I updated
LocalVariableReference.DoResolve, I overdid it, and dropped an
optimization done on local variable references.

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

20 years agoUpdate makefile
Miguel de Icaza [Thu, 6 Nov 2003 02:13:41 +0000 (02:13 -0000)]
Update makefile

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

20 years agoFlush
Miguel de Icaza [Thu, 6 Nov 2003 01:01:17 +0000 (01:01 -0000)]
Flush

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

20 years ago* Graphics.cs (DrawPie):
Duncan Mak [Thu, 6 Nov 2003 00:14:27 +0000 (00:14 -0000)]
* Graphics.cs (DrawPie):
* gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
in graphics.c.

* graphics.c
(make_pie, make_ellipse, make_polygon): Add static keyword.

* gdip_defs.h: Update headers to include DrawBezier, DrawBeziers,
DrawEllipse, DrawPie, DrawPolygon, DrawRectangle, FillEllipse,
FillPolygon and the RenderingOrigin property.

* Makefile (install-local): Added missing semi-colons.

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

20 years ago2003-11-03 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Wed, 5 Nov 2003 23:44:58 +0000 (23:44 -0000)]
2003-11-03  Bernie Solomon <bernard@ugsolutions.com>

* gdip_main.h, gdip_win32.h, gdip_win32.c:
fixes for non-GCC compilers

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

20 years agoupdates from grammar
César Natarén [Wed, 5 Nov 2003 18:01:41 +0000 (18:01 -0000)]
updates from grammar

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

20 years agoChangeLog entries.
César Natarén [Wed, 5 Nov 2003 18:00:01 +0000 (18:00 -0000)]
ChangeLog entries.

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

20 years ago* ScriptBlock.cs: Initiate the global block with 'null' as parent.
César Natarén [Wed, 5 Nov 2003 17:57:49 +0000 (17:57 -0000)]
* ScriptBlock.cs: Initiate the global block with 'null' as parent.

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

20 years ago* Block.cs, FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' field.
César Natarén [Wed, 5 Nov 2003 17:57:01 +0000 (17:57 -0000)]
* Block.cs, FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' field.
* Block.cs, FunctionDeclaration.cs, FunctionExpression.cs,
FunctionObject.cs, VariableDeclaration.cs: Added 'AST parent' parameter to constructor.

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

20 years ago * jscript-lexer-parser.g: Now we take care of parents. This allows
César Natarén [Wed, 5 Nov 2003 17:55:20 +0000 (17:55 -0000)]
* jscript-lexer-parser.g: Now we take care of parents. This allows
to keep track if we are inside nested blocks. At
'func_decl_or_expr', now I built the FunctionDeclaration or
FunctionExpression first and then assign its body to it - this let
me get a non-null value of the FunctionExpression or
FunctionDeclaration so I can detect if it's a nested block (thanks go to Jackson!).

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

20 years ago * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
Eran Domb [Wed, 5 Nov 2003 08:51:01 +0000 (08:51 -0000)]
* DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.

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

20 years ago2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 Nov 2003 07:49:02 +0000 (07:49 -0000)]
2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpRequest.cs:
* System.Web/HttpResponse.cs:
* System.Web/HttpUtility.cs:
* System.Web/HttpValueCollection.cs: encoding fixes/updates.

* System.Web/HttpWriter.cs: when updating the encoding, flush the
existing stream. Encoding updates.

* System.Web.Compilation/AspGenerator.cs: use fileEncoding from
configuration files.

* System.Web.Compilation/PageCompiler.cs: add assign statements for
ContentType, ResponseEncoding and CodePage if supplied.

* System.Web.Configuration/GlobalizationConfiguration.cs: added
GetInstance method.

* System.Web.Configuration/GlobalizationConfigurationHandler.cs: warn
about unsupported encodings and provide reasonable defaults.

* System.Web.Security/FormsAuthentication.cs: encoding updates.
* System.Web.UI/LosFormatter.cs: encoding updates.
* System.Web.UI/Page.cs: implemented CodePage and ContentType.
* System.Web.UI/PageParser.cs: handle CodePage, ContentEncoding and
ResponseEncoding attributes.

* System.Web.Util/WebEncoding.cs: added properties to access
configuration files encoding.

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

20 years ago * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for...
Eran Domb [Wed, 5 Nov 2003 07:03:03 +0000 (07:03 -0000)]
* DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
on all Relations.
(GetChildRows) : Adding some checks.
(GetParentRows) : Adding some checks. Fix a bug in implementation.
(SetParentRow) : Added implementation.

* DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
* DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
* ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
* MergeManager.cs : Check that the target table is not null.

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

20 years ago2003-11-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 5 Nov 2003 06:14:59 +0000 (06:14 -0000)]
2003-11-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* AssemblyResourceLoader.cs: fixed compilation under MS. Ben already
filed a bug report.

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

20 years ago2003-11-05 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Wed, 5 Nov 2003 06:00:35 +0000 (06:00 -0000)]
2003-11-05  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DateTimeFormatInfo.cs: Hack an era for US culture. We must look
    for other ways to get the ERA string.

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

20 years agoMake this optional for those who dont have cairo
Miguel de Icaza [Wed, 5 Nov 2003 05:02:33 +0000 (05:02 -0000)]
Make this optional for those who dont have cairo

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

20 years ago * AssemblyResourceLoader.cs: No method body for v1. This fixes the
Jackson Harper [Wed, 5 Nov 2003 00:27:31 +0000 (00:27 -0000)]
    * AssemblyResourceLoader.cs: No method body for v1. This fixes the
build.

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

20 years agoadd WebResource.axd support
Ben Maurer [Tue, 4 Nov 2003 23:44:56 +0000 (23:44 -0000)]
add WebResource.axd support

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

20 years ago2003-11-04 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Tue, 4 Nov 2003 23:43:25 +0000 (23:43 -0000)]
2003-11-04 Ben Maurer  <bmaurer@users.sourceforge.net>

* HttpContext.cs (IsCustomErrorEnabled): dont throw exception, just return false
(which makes sense, as the custom errors *arent* enabled; ie they dont work.
* HttpResponseStream.cs: you actually can write with len = 0
* AssemblyResourceLoader.cs: New file. New v2 handler.
* Control.cs (GetWebResourceUrl): new v2 function
* Page.cs (GetWebResourceUrl): ditto.
make the JS we generate work with moz if the form is not a child
of document.
* WebResourceAttribute.cs: Added, new v2 attribute.

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

20 years ago2003-11-04 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 4 Nov 2003 22:59:28 +0000 (22:59 -0000)]
2003-11-04  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs: Convert the return from Ldlen into an int.

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

20 years agogrammar updates
César Natarén [Tue, 4 Nov 2003 22:35:47 +0000 (22:35 -0000)]
grammar updates

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

20 years ago2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 4 Nov 2003 22:03:19 +0000 (22:03 -0000)]
2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>

* FunctionObject.cs: Handle no parameters on functions.

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

20 years ago2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>
César Natarén [Tue, 4 Nov 2003 21:44:33 +0000 (21:44 -0000)]
2003-11-04 cesar lopez nataren <cesar@ciencias.unam.mx>

* jscript-lexer-parser.g: Allow functions without parameters.

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

20 years ago * TemplateColumn.cs: Use the same renderer for selected items as
Jackson Harper [Tue, 4 Nov 2003 21:08:20 +0000 (21:08 -0000)]
    * TemplateColumn.cs: Use the same renderer for selected items as
normal items. This fixes bug #49744.

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

20 years ago * DataList.cs:
Jackson Harper [Tue, 4 Nov 2003 19:44:05 +0000 (19:44 -0000)]
    * DataList.cs:
* WebControl.cs: Fix argument out of range exceptions on
properties. Patch by Yaron Shkop.

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

20 years ago2003-11-04 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 4 Nov 2003 18:56:16 +0000 (18:56 -0000)]
2003-11-04  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : Added bool ReverseAxis property to identify whether
  the iterator is in reverse order or not.  Added ComparablePosition
  for correct position comparison for PredicateIterator and reverse-
  order-axes.  Modified AncestorIterator, AncestorOrSelfIterator,
  PrecedingIterator and PrecedingSiblingIterator to make MoveNext()
  return their nodes in document order. This fixes bugzilla #39079.

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

20 years agoFlush
Miguel de Icaza [Tue, 4 Nov 2003 17:40:01 +0000 (17:40 -0000)]
Flush

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

20 years agoFlush
Miguel de Icaza [Tue, 4 Nov 2003 17:34:15 +0000 (17:34 -0000)]
Flush

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

20 years agoFlush
Miguel de Icaza [Tue, 4 Nov 2003 17:28:16 +0000 (17:28 -0000)]
Flush

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

20 years agoFlush
Miguel de Icaza [Tue, 4 Nov 2003 14:40:19 +0000 (14:40 -0000)]
Flush

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

20 years agoUpdate
Miguel de Icaza [Tue, 4 Nov 2003 14:30:14 +0000 (14:30 -0000)]
Update

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

20 years agoFlush
Miguel de Icaza [Tue, 4 Nov 2003 14:03:03 +0000 (14:03 -0000)]
Flush

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

20 years agoBuild fixes
Miguel de Icaza [Tue, 4 Nov 2003 13:38:47 +0000 (13:38 -0000)]
Build fixes

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

20 years ago * TemplateColumn.cs: If the item is selected but there is no
Jackson Harper [Tue, 4 Nov 2003 07:58:25 +0000 (07:58 -0000)]
    * TemplateColumn.cs: If the item is selected but there is no
editItemTemplate use the itemTemplate. This matches MS
behvoir.

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

20 years ago * Repeater.cs: Always set alternating items to the AlternatingItem
Jackson Harper [Tue, 4 Nov 2003 06:02:35 +0000 (06:02 -0000)]
    * Repeater.cs: Always set alternating items to the AlternatingItem
type, when instantiating alternating items use the itemTemplate if
the alternatingItem template is null. This matches MS behavoir and
fixes bug #50157.

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

20 years ago * DataGridPagerStyle.cs: Name of view state attribute is
Jackson Harper [Tue, 4 Nov 2003 05:44:03 +0000 (05:44 -0000)]
    * DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.

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

20 years ago * DataGridPagerStyle.cs: Name of view state attribute is
Jackson Harper [Tue, 4 Nov 2003 05:43:30 +0000 (05:43 -0000)]
    * DataGridPagerStyle.cs: Name of view state attribute is
PagerVisible not Visible. Call owner.OnPagerChanged when the pager
visibility is changed. Patch by Yaron Shkop.

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

20 years ago * RepeatInfo.cs: When doing horizontal rendering use the repeat
Jackson Harper [Tue, 4 Nov 2003 05:22:38 +0000 (05:22 -0000)]
    * RepeatInfo.cs: When doing horizontal rendering use the repeat
columns as the number of columns in a row. This fixes bug
#49016.

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

20 years ago * AppDomain.cs: Added some null checks in Load methods. This fixes bug
Lluis Sanchez [Tue, 4 Nov 2003 00:25:33 +0000 (00:25 -0000)]
* AppDomain.cs: Added some null checks in Load methods. This fixes bug
  #50356.

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

20 years ago * PagedDataSource.cs (PageCount): Return page count of 1 if there
Jackson Harper [Mon, 3 Nov 2003 23:34:55 +0000 (23:34 -0000)]
    * PagedDataSource.cs (PageCount): Return page count of 1 if there
paging is disabled. Patch by Yaron Shkop.
* PagedDataSource.cs (CopyTo): Improve. Patch by Yaron Shkop.
* TableStyle.cs (AddAttributesToRender): Render border style
collapse. Patch by Yaron Shkop.
* TableStyle.cs:
* TableItemStyle.cs:
* DataGridPagerStyle.cs: Call base copy and merge even if style is of
the wrong type. Patch by Yaron Shkop.

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

20 years agoExecutive summary:
Duncan Mak [Mon, 3 Nov 2003 23:14:20 +0000 (23:14 -0000)]
Executive summary:

Reformated the code to follow GTK+ style C; renamed
types to reflect the names used in the Flat API reference. Added
implementions for Ellipses, Lines, Polygons and what not.

2003-11-01  Duncan Mak  <duncan@ximian.com>

* matrix.c
(GdipCreateMatrix, GdipCreateMatrix2, GdipCloneMatrix):
(GdipDeleteMatrix, GdipInvertMatrix): Implemented; the rest of the
functions are stubbed out.

* gdip_defs.h (GpMatrixOrder): Added.

* gdip_main.h
(GpRect, GpRectF): Synonyms for Rect and RectF.
(GpMatrix): An alias of cairo_matrix_t.

* Makefile: Added matrix.c.

2003-10-28  Duncan Mak  <duncan@ximian.com>

* Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
(FillEllipse, FillPolygon): implemented.
(RenderingOrigin): implemented.

* gdipFunctions.cs: Added new GDI+ equivalents.

2003-10-28  Duncan Mak  <duncan@ximian.com>

* gdip_main.h, gdip_def.h:
Renamed all gdip_foo_ptr types are now GpFoo *.
Renamed Status to GpStatus.
Reformatted all C++ style comments to C style comments.
Reformatted all C function prototypes to the style used by GTK+.

* gdip_main.h (GpPoint, GpPointF): Added.

* gdip_defs.h (GpFillMode): Added.

* graphics.c (make_ellipse):
(make_polygon, make_polygon_from_integers):
(make_pie): private functions (make_foo) to be reused by DrawFoo
and FillFoo.

(convert_fill_mode): Converts a GpFillMode to a cairo_fill_rule_t.

(GdipDrawPie, GdipFillEllipse, GdipFillPolygon): Implemented.

2003-10-26  Duncan Mak  <duncan@ximian.com>

* graphics.c
(GdipSetRenderingOrigin, GdipGetRenderingOrigin): Implemented.

2003-10-25  Duncan Mak  <duncan@ximian.com>

* graphics.c
(GdipDrawBezier, GdipDrawBezierI):
(GdipDrawBeziers, GdipDrawBeziersI):
(GdipDrawLine, GdipDrawLineI):
(GdipDrawLines, GdipDrawLinesI): implemented.

(GdipFillRectangle):
(GdipDrawString): Make use of gdip_get_status.

* general.c
(gdip_get_status): A new function for retrieving a Status from a
cairo_t.

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

20 years ago2003-11-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 3 Nov 2003 23:04:04 +0000 (23:04 -0000)]
2003-11-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* threadpool.c: notify listener on async processing handles after
invoking the async callback. Thanks to Zoltan.

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

20 years ago * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
Jackson Harper [Mon, 3 Nov 2003 22:47:31 +0000 (22:47 -0000)]
    * HttpSessionState.cs (CopyTo): Copy values not keys. Patch by
          Yaron Shkop.

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

20 years ago * HttpResponse.cs (ContentEncoding): Throw
Jackson Harper [Mon, 3 Nov 2003 22:45:20 +0000 (22:45 -0000)]
    * HttpResponse.cs (ContentEncoding): Throw
ArgumentNullException. Patch by Yaron Shkop.

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

20 years ago * SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
Lluis Sanchez [Mon, 3 Nov 2003 21:36:23 +0000 (21:36 -0000)]
* SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.

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

20 years ago * XmlCustomFormatter.cs: Added support for anyUri type. This fixes
Lluis Sanchez [Mon, 3 Nov 2003 21:23:48 +0000 (21:23 -0000)]
* XmlCustomFormatter.cs: Added support for anyUri type. This fixes
  bug #50041.

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

20 years ago * System.Web.dll.sources: Add SessionSQLServerHandler.cs
Jackson Harper [Mon, 3 Nov 2003 21:11:40 +0000 (21:11 -0000)]
    * System.Web.dll.sources: Add SessionSQLServerHandler.cs
* makefile: Reference System.Data.dll

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