mono.git
20 years ago2003-12-02 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 3 Dec 2003 01:38:56 +0000 (01:38 -0000)]
2003-12-02  Sebastien Pouliot  <spouliot@videotron.ca>

* ChallengeResponse.cs: Fixed compilation error with mcs (System.Math.Min)
* Type2Message.cs: Fixed compilation warning for override. Flags are now
32 bits.
* Type3Message.cs: Fixed compilation warning for override. Removed (old)
header code to use base class. Changed 16 bits Options for 32 bits Flags
(NtlmFlags).

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

20 years ago * System.Runtime.Remoting.dll.sources: Added:
Lluis Sanchez [Wed, 3 Dec 2003 01:13:26 +0000 (01:13 -0000)]
* System.Runtime.Remoting.dll.sources: Added:
System.Runtime.Remoting.MetadataServices/MetaDataExporter.cs
System.Runtime.Remoting.MetadataServices/MetaDataCodeGenerator.cs
* Makefile: Added new assembly references.

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

20 years ago * MetaData.cs: Implemented most of methods.
Lluis Sanchez [Wed, 3 Dec 2003 00:58:47 +0000 (00:58 -0000)]
* MetaData.cs: Implemented most of methods.
* ServiceType.cs: Implemented.
* MetaDataCodeGenerator.cs: Added. Implements code generation functionality.
* MetaDataExporter.cs: Added. Implements support methods for generating
  schemas for MetaData.

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

20 years ago* SoapServices.cs: Little fix in namespace construction.
Lluis Sanchez [Wed, 3 Dec 2003 00:48:38 +0000 (00:48 -0000)]
* SoapServices.cs: Little fix in namespace construction.

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

20 years agoSoapTypeAttribute.cs: Set correct value for default namespace.
Lluis Sanchez [Wed, 3 Dec 2003 00:45:15 +0000 (00:45 -0000)]
SoapTypeAttribute.cs: Set correct value for default namespace.

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 22:42:07 +0000 (22:42 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: when building the redirect URI, use the previous
one as the base URI, which makes relative URIs work.

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 21:45:54 +0000 (21:45 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* DigestClient.cs: merged in code from Sebastien Pouliot and Greg
Reinacker that Supports cnonce and preauthentication.

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

20 years ago2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 2 Dec 2003 20:52:05 +0000 (20:52 -0000)]
2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>

* pen.c (GdipSetPenLineCap): fix arg type so it compiles
using HP compiler.

* gdip.h: fix spelling of GdipSetPenLineJoin and add
prototype for GdipGetPenLineJoin

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

20 years agofix typo
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 20:50:32 +0000 (20:50 -0000)]
fix typo

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

20 years agoadded DigestClient
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 20:41:15 +0000 (20:41 -0000)]
added DigestClient

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 20:41:04 +0000 (20:41 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.dll.sources: Modified file.
* System.Net/DigestClient.cs: initial Digest autothentication. Works
with apache mod_digest.

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

20 years agoStrings.cs bits
Rafael Teixeira [Tue, 2 Dec 2003 18:34:26 +0000 (18:34 -0000)]
Strings.cs bits

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

20 years ago * Page.cs: Implemented registered array declarations. Patch by
Jackson Harper [Tue, 2 Dec 2003 18:08:51 +0000 (18:08 -0000)]
* Page.cs: Implemented registered array declarations. Patch by
Benjamin Jemlich <pcgod@gmx.net>

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

20 years ago2003-12-02 Bernie Solomon <bernard@ugsolutions.com>
Bernie Solomon [Tue, 2 Dec 2003 16:46:30 +0000 (16:46 -0000)]
2003-12-02  Bernie Solomon  <bernard@ugsolutions.com>

* mono-math.c: fix for older C compilers and big endian machines

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 16:22:05 +0000 (16:22 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpApplication.cs: handle FileNotFound and
DirectoryNotFound exceptions when creating the handler to generate
a better error page.

* System.Web/HttpException.cs: display the http_code if available.
Changed all \n by \r\n to make the hidden stack trace readable.

* System.Web/StaticFileHandler.cs: don't send the real path in th
eerror.

* System.Web.Compilation/AspGenerator.cs: basic checking of ID validity.
Throw a ParseException when mixing languages.

* System.Web.UI/TemplateParser.cs: basic check for 'classname' attribute
and added patch by pcgod@gmx.net for bug #51568, which fixes automatic
class names for pages starting with a number.

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

20 years agoMoved TODOAttribute.cs out of the assembly's root directory and into a System
Richard Thombs [Tue, 2 Dec 2003 15:34:52 +0000 (15:34 -0000)]
Moved TODOAttribute.cs out of the assembly's root directory and into a System
sub-directory as requested.

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

20 years agoFinished stubbing ObjectSpaces.Query and updated all 'using' statements to
Richard Thombs [Tue, 2 Dec 2003 15:17:36 +0000 (15:17 -0000)]
Finished stubbing ObjectSpaces.Query and updated all 'using' statements to
pick up MonoTODO from the System assembly as recommended.

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

20 years agoThis needs to be thread-safe. Spotted by Gonzalo.
Dick Porter [Tue, 2 Dec 2003 13:56:37 +0000 (13:56 -0000)]
This needs to be thread-safe.  Spotted by Gonzalo.

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

20 years ago2003-12-02 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 2 Dec 2003 13:04:54 +0000 (13:04 -0000)]
2003-12-02  Dick Porter  <dick@ximian.com>

* Thread.cs: Throw InvalidOperationException if Thread.Name is
already set.

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

20 years ago2003-12-02 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 2 Dec 2003 10:11:05 +0000 (10:11 -0000)]
2003-12-02  Dick Porter  <dick@ximian.com>

* Decimal.cs: Fix NumberFormatInfo lookup.  Patch by
Mohammad DAMT (mdamt@cdl2000.com), fixes bug 51443.

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

20 years ago2003-12-02 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 2 Dec 2003 10:01:18 +0000 (10:01 -0000)]
2003-12-02  Dick Porter  <dick@ximian.com>

* locales.c (create_NumberFormat): NumberFormatInfo construction.
Patch by Mohammad DAMT (mdamt@cdl2000.com).

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

20 years ago2003-12-02 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 2 Dec 2003 10:00:32 +0000 (10:00 -0000)]
2003-12-02  Dick Porter  <dick@ximian.com>

* NumberFormatInfo.cs: Helper called by runtime locale
construction from ICU.  Patch by Mohammad DAMT (mdamt@cdl2000.com).

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

20 years ago2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 2 Dec 2003 07:24:19 +0000 (07:24 -0000)]
2003-12-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* README: tiny fix ;-)

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

20 years ago2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 2 Dec 2003 05:14:43 +0000 (05:14 -0000)]
2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* Compiler.cs : In FromListString(), it should use default ns,
  not unqualified one.
* GenericOutputter.cs : CheckState() - attribute's Prefix should take
  precedence.  Doctype should be written even if SYSTEM id is absent.
  Fixed possible multiple xmlns output.
* HtmlEmitter.cs :
  - Encoding output using META element.
  - Doctype name is fixed (html).
  - Double quotation on PUBLIC and SYSTEM missing.
  - Fixed incorrect tag name check for IMG.
  - '>' should not be escaped.
* XmlWriterEmitter.cs :
  Added newline before doctype.  In WriteComment(), "--" and tail
  '-' are not allowed (it escapes, while XmlWriter simply rejects).
* XslTransformProcessor.cs : cdata-section-elements should enclose
  direct child tests only.   Added PreserveWhitespace() (incomplete).
* XsltCompiledContext.cs : Implemented PreserveWhitespace() (incomplete).

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

20 years ago2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 2 Dec 2003 05:13:42 +0000 (05:13 -0000)]
2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslElement.cs, XslCopy.cs, XslCopyOf.cs, XslLiteralElement.cs :
  Modified cdata-section-elements handling.
* XslAttribute.cs, XslElement.cs : Fixed incorrect prefix handling.
* XslComment.cs : In case of empty value, don't call value.Evaluate().
* XslCopyOf.cs : Element node should consider cdata-section elements.

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

20 years ago2003-12-02 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Tue, 2 Dec 2003 05:12:47 +0000 (05:12 -0000)]
2003-12-02  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XslTransformImpl.cs : Load(XmlReader) should pass XmlSpace.Preserve
  to XPathDocument.ctor().

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

20 years ago2003-12-01 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 2 Dec 2003 04:04:25 +0000 (04:04 -0000)]
2003-12-01  Sebastien Pouliot  <spouliot@videotron.ca>

* Mono.Security.dll.sources: Added Mono.Security.Protocol.Ntlm namespace
* Mono.Security_test.dll.sources: Added Mono.Security.Protocol.Ntlm unit
tests.

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

20 years agoMySql - same pooling bug fixed again!! ;-)
Reggie Burnett [Tue, 2 Dec 2003 04:03:32 +0000 (04:03 -0000)]
MySql - same pooling bug fixed again!!  ;-)

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 04:00:19 +0000 (04:00 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.dll.sources: added WebConfigurationSettings.

* System.Web/HttpContext.cs: updated GetConfig and GetAppConfig to new
API.

* System.Web/HttpResponse.cs: separate initialization of the HttpWriter,
as it tries to read configuration settings while the config. system is
not available (ie, before the first request).

* System.Web/HttpRuntime.cs: delayed queueManager and response writer
initialization until the configuration system is working.

* System.Web.Configuration/GlobalizationConfiguration.cs: return null
when the configuration is not available.

* System.Web.Util/WebEncoding.cs: use the Default encoding when the
globalization configuration is not available.

* System.Web.Configuration/WebConfigurationSettings.cs: handle
configuration for System.Web. It replaces the default
IConfigurationSystem with itself and handles web.config files
oddities.

* System.Web.UI.WebControls/WebControl.cs: don't create the attributes
when GetAttribute is called.

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

20 years ago2003-11-21 Juraj Skripsky <js@hotfeet.ch>
Miguel de Icaza [Tue, 2 Dec 2003 03:51:03 +0000 (03:51 -0000)]
2003-11-21  Juraj Skripsky <js@hotfeet.ch>

* quicksearch.cs: Create and use hashtable only for "long" search
strings.

(Search): Use simple scan for a single-character search strings.

(GetChar): Simplify case sensitivity handling.

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

20 years agoupdate changelog
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 03:46:33 +0000 (03:46 -0000)]
update changelog

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

20 years ago2003-12-02 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 2 Dec 2003 03:45:27 +0000 (03:45 -0000)]
2003-12-02  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ConfigurationSettings.cs: handle allowdefinition and allowlocation,
added locks, don't reopen the file for every new section to be read,
but keep them as strings and build the section handlers with that.

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

20 years ago2003-12-01 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 2 Dec 2003 03:41:49 +0000 (03:41 -0000)]
2003-12-01  Sebastien Pouliot  <spouliot@videotron.ca>

* ChallengeResponseTest.cs: New. Unit tests for NTLMv1 challenge response.
* Type1MessageTest.cs: New. Unit tests to encode/decode negotiation messages.
* Type2MessageTest.cs: New. Unit tests to encode/decode challenge messages.
* Type3MessageTest.cs: New. Unit tests to encode/decode authentication message.

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

20 years ago2003-12-01 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Tue, 2 Dec 2003 03:38:55 +0000 (03:38 -0000)]
2003-12-01  Sebastien Pouliot  <spouliot@videotron.ca>

* ChallengeResponse.cs: New. Implements the NTLM (v1) Challenge Response.
* MessageBase.cs: New. Abstract base class for NTLM messages.
* NtlmFlags.cs: New. All known flags for NTLM.
* Type1Message.cs: New. Negotiation message.
* Type2Message.cs: New. Challenge message.
* Type3Message.cs: New. Authentication message.

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

20 years agoMysql -fixed pooling bug
Reggie Burnett [Tue, 2 Dec 2003 03:10:33 +0000 (03:10 -0000)]
Mysql -fixed pooling bug

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

20 years agoadded dir jerrors and jtests
César Natarén [Tue, 2 Dec 2003 00:18:56 +0000 (00:18 -0000)]
added dir jerrors and jtests

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

20 years ago * WebControl.cs: Only allow access keys to be null or a single
Jackson Harper [Mon, 1 Dec 2003 18:39:50 +0000 (18:39 -0000)]
    * WebControl.cs: Only allow access keys to be null or a single
char. Patch by Alon Gazit <along@mainsoft.com>.

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

20 years agore-added class-status.html (it was empty in go-mono.com). Fixed make clean.
Gonzalo Paniagua Javier [Mon, 1 Dec 2003 18:34:16 +0000 (18:34 -0000)]
re-added class-status.html (it was empty in go-mono.com). Fixed make clean.

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

20 years ago * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
Jackson Harper [Mon, 1 Dec 2003 18:07:06 +0000 (18:07 -0000)]
    * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
<along@mainsoft.com>.

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

20 years agoMon Dec 1 16:54:05 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Mon, 1 Dec 2003 15:49:54 +0000 (15:49 -0000)]
Mon Dec 1 16:54:05 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, tramp-ppc.c: save FP arguments in the trampoline.
More FP-related fixes.

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

20 years ago Add remarks to ChangeLog.
Eran Domb [Mon, 1 Dec 2003 13:56:54 +0000 (13:56 -0000)]
Add remarks to ChangeLog.

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

20 years ago * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
Eran Domb [Mon, 1 Dec 2003 13:55:13 +0000 (13:55 -0000)]
* DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
(Add) : Find if the new column name is the same as the one found in IndexOf.
(IndexOf) : New method.
(Contains) : Use new IndexOf.
(IndexOf) : Use new IndexOf.

* DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
(DataSetRelationCollection.AddCore) : First add the UniqueConstraint.

* DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
(Delete) : Detach row if the RowState was Added.
(GetChildRows) : Get the array form the ChildTable.
(GetParentRows) : Get the array from the ParenTable.

* DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.

* DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.

* DataTable.cs (PrimaryKey) : Fix bugs.
(Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.

* DataTableCollection.cs (Add) : Fix a bug.

* ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.

* MergeManager.cs (AdjustSchema) : Fix a bug.

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

20 years ago ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
Eran Domb [Mon, 1 Dec 2003 13:51:25 +0000 (13:51 -0000)]
ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
(Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
Some code style changes (tab instead of whit spaces, alignment, etc...).

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

20 years ago2003-12-01 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 1 Dec 2003 12:24:46 +0000 (12:24 -0000)]
2003-12-01  Dick Porter  <dick@ximian.com>

* wapi-private.h:
* mutexes.c (CreateMutex):
* mutex-private.h (struct _WapiHandle_mutex):
* handles.c: Look up certain handle types by name, in a shared
namespace.  Currently only mutex handles have this implemented.
Fixes bug 51089.

* semaphores.c (CreateSemaphore):
* events.c (CreateEvent): Fix signature

2003-12-01  Dick Porter  <dick@ximian.com>

* threads.c: Fix signature and call in CreateMutex and
CreateEvent.

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

20 years ago2003-12-01 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 1 Dec 2003 12:04:49 +0000 (12:04 -0000)]
2003-12-01  Dick Porter  <dick@ximian.com>

* String.cs: Make Compare, IndexOf, LastIndexOf, StartsWith,
Replace, ToLower, ToUpper and Equals use the correct CultureInfo.

2003-12-01  Dick Porter  <dick@ximian.com>

* CultureInfo.cs: Culture name creation is case-insensitive.
Implemented CurrentCulture and CurrentUICulture.

* CompareInfo.cs: Fix IndexOf and LastIndexOf so that they work
for combining characters.

2003-12-01  Dick Porter  <dick@ximian.com>

* Thread.cs: Implement CurrentCulture and CurrentUICulture

2003-12-01  Dick Porter  <dick@ximian.com>

* CaseInsensitiveComparer.cs: Construct the default comparers when
they're needed, to avoid a dependency loop with CultureInfo's
constructor.

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

20 years ago2003-12-01 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 1 Dec 2003 12:01:39 +0000 (12:01 -0000)]
2003-12-01  Dick Porter  <dick@ximian.com>

* icall.c:
* locales.c: Implement string compares and searching

* object.h: Add extra Thread field

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

20 years agoFix build
Dick Porter [Mon, 1 Dec 2003 12:00:59 +0000 (12:00 -0000)]
Fix build

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

20 years ago Adding remark.
Eran Domb [Mon, 1 Dec 2003 07:20:43 +0000 (07:20 -0000)]
Adding remark.

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

20 years agosynced with ByteFX (0.74) 11-30-2003
Reggie Burnett [Mon, 1 Dec 2003 04:20:36 +0000 (04:20 -0000)]
synced with ByteFX (0.74) 11-30-2003

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

20 years ago * CheckBoxList.cs: A checkbox will have null post data if it is
Jackson Harper [Mon, 1 Dec 2003 03:47:52 +0000 (03:47 -0000)]
    * CheckBoxList.cs: A checkbox will have null post data if it is
unselected. This fixes bug #51516.

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

20 years agoUpdate Mono to point to xsp.1
Miguel de Icaza [Mon, 1 Dec 2003 01:19:17 +0000 (01:19 -0000)]
Update Mono to point to xsp.1

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

20 years ago2003-11-30 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Mon, 1 Dec 2003 01:07:45 +0000 (01:07 -0000)]
2003-11-30 Ben Maurer  <bmaurer@users.sourceforge.net>

* LosFormatter.cs: Use ObjectStateFormatter. Pretty big size
reduction.

* ObjectStateFormatter.cs: Comment out tracing.

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

20 years ago2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 1 Dec 2003 00:49:41 +0000 (00:49 -0000)]
2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* QueueTest.cs: added more tests. Patch from Carlos Barcenilla.

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

20 years ago2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 1 Dec 2003 00:48:29 +0000 (00:48 -0000)]
2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Queue.cs: patch from Carlos Barcenilla.
public class Queue
- method: ICollection.Clone()
- Optimized. Removed unneeded instructions.
- method: public static Queue Synchronized (Queue queue)
- ArgumentNullException.ParamName must be "queue", not null.
- method: public virtual void TrimToSize()
- Must increment modCount.

private class SyncQueue
- method: public override object Clone ()
- Must return a synchronized (SyncStack) instance.
- method: public override void TrimToSize ()
- Not implemented.

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

20 years agoFix typo
Gonzalo Paniagua Javier [Mon, 1 Dec 2003 00:40:44 +0000 (00:40 -0000)]
Fix typo

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

20 years ago2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 1 Dec 2003 00:37:44 +0000 (00:37 -0000)]
2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* OdbcTransaction.cs: applied patch from Jeff Seifert that makes
this class implement IDbTransaction interface.

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

20 years ago2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 30 Nov 2003 23:32:23 +0000 (23:32 -0000)]
2003-12-01  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* UrlUtils.cs: don't forget basePath when relative path is not rooted.
Fixes bug #51522.

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

20 years agoAh, missing
Miguel de Icaza [Sun, 30 Nov 2003 21:03:40 +0000 (21:03 -0000)]
Ah, missing

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

20 years agoUpdate
Miguel de Icaza [Sun, 30 Nov 2003 21:02:28 +0000 (21:02 -0000)]
Update

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

20 years agoflush
Miguel de Icaza [Sun, 30 Nov 2003 18:53:31 +0000 (18:53 -0000)]
flush

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

20 years agoAnother small fix.
Paolo Molaro [Sun, 30 Nov 2003 18:51:06 +0000 (18:51 -0000)]
Another small fix.

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

20 years ago2003-11-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Sun, 30 Nov 2003 18:46:53 +0000 (18:46 -0000)]
2003-11-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web.Compilation/PageCompiler.cs: assign LCID, Culture and/or
UICulture in FrameworInitialize() if provided in @Page.

* System.Web.UI/Page.cs: fixed UICulture, LCID and Culture. Set the
thread [UI]Culture before processing the request.

* System.Web.UI/PageParser.cs: read Culture, UICulture and LCID
attributes. Added properties for these. Partially contributed by
Mohammad Damt.

Fixes bug #51511.

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

20 years agoSun Nov 30 19:13:52 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Sun, 30 Nov 2003 18:10:05 +0000 (18:10 -0000)]
Sun Nov 30 19:13:52 CET 2003 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c, cpu-g4.md, inssel-ppc.brg: fixed finally handlers
and register allocation buglet. Hello world now runs.

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

20 years agochangelog entries
César Natarén [Sun, 30 Nov 2003 17:42:49 +0000 (17:42 -0000)]
changelog entries

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

20 years ago2003-11-30 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 30 Nov 2003 17:40:36 +0000 (17:40 -0000)]
2003-11-30  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* expression.cs: Added new field to Call class, so it can handle more arguments.

* StringLiteral.cs (Emit) : Load the string value.

* Literal.cs: BooleanLiteral, Resolve always return true. Emit the value and box it to Boolean.

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

20 years ago2003-11-30 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 30 Nov 2003 17:20:08 +0000 (17:20 -0000)]
2003-11-30  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* CodeGenerator.cs: Set parent if 'JScript 0' to GlobalScope. Set
custom attribute. Build default 'JScript 0' constructor. Emit
default initial/final code of 'Global Code'. Create default
'JScript Main'.

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

20 years ago2003-11-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Nov 2003 16:30:29 +0000 (16:30 -0000)]
2003-11-30  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (fixup_method): Add support for MonoCMethod.

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

20 years ago DbDataAdapter.cs : Check if there is mapping to avoid exception.
Eran Domb [Sun, 30 Nov 2003 15:20:33 +0000 (15:20 -0000)]
DbDataAdapter.cs : Check if there is mapping to avoid exception.

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

20 years ago2003-11-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Nov 2003 15:09:12 +0000 (15:09 -0000)]
2003-11-30  Zoltan Varga  <vargaz@freemail.hu>

* typemanager.cs: Fix lookup of GetNamespaces.

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

20 years agoUp
Miguel de Icaza [Sun, 30 Nov 2003 12:30:46 +0000 (12:30 -0000)]
Up

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

20 years agoupdate docs
Miguel de Icaza [Sun, 30 Nov 2003 12:20:01 +0000 (12:20 -0000)]
update docs

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

20 years agoMore WinForms
Miguel de Icaza [Sun, 30 Nov 2003 12:18:00 +0000 (12:18 -0000)]
More WinForms

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

20 years agoRemove
Miguel de Icaza [Sun, 30 Nov 2003 12:17:33 +0000 (12:17 -0000)]
Remove

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

20 years agoSignatureFix
Miguel de Icaza [Sun, 30 Nov 2003 12:13:46 +0000 (12:13 -0000)]
SignatureFix

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

20 years agoupdates from grammar changes
César Natarén [Sun, 30 Nov 2003 03:10:25 +0000 (03:10 -0000)]
updates from grammar changes

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

20 years ago2003-11-29 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
César Natarén [Sun, 30 Nov 2003 03:02:20 +0000 (03:02 -0000)]
2003-11-29  Cesar Lopez Nataren  <cesar@ciencias.unam.mx>

* jscript-lexer-grammar.g: define new rule 'arguments' instead of
repeating hand written rule all around. Change "." for DOT, dumb
mistake by myself. Added rule new_expr. Now we handle properly the
call_expr rule (as defined on the spec), and added a new
argument. Added subrule new_expr to  left_hand_side_expr rule.

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

20 years ago2003-11-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 30 Nov 2003 01:37:22 +0000 (01:37 -0000)]
2003-11-29  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Removed redundant line.

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

20 years agoRename Cairo.Object -> Cairo.Graphics
Miguel de Icaza [Sun, 30 Nov 2003 01:36:18 +0000 (01:36 -0000)]
Rename Cairo.Object -> Cairo.Graphics

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

20 years ago2003-11-28 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 29 Nov 2003 22:11:47 +0000 (22:11 -0000)]
2003-11-28  Miguel de Icaza  <miguel@ximian.com>

* Mono.Cairo/Object.cs:

* Mono.Cairo/Surface.cs (LookupSurface): New method, it took me a
while to find out why Cairo applications would crash sometimes.
The problem was that Cairo.Object:TargetSurface get property would
create a Surface from an IntPtr, leading to having two managed
objects owning the same unmanaged Surface.

(Surface..ctor): Make private, so only this module can create
surfaces.

(Surface.Dispose): Add disposable pattern, finalizer.

* Mono.Cairo/Object.cs: Add disposable pattern, finalizer.

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

20 years ago2003-11-29 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 29 Nov 2003 21:59:18 +0000 (21:59 -0000)]
2003-11-29  Miguel de Icaza  <miguel@ximian.com>

* statement.cs (Block.Resolve, Block.Emit): Avoid foreach on
ArrayLists, use for loops with bounds.

* flowanalysis.cs (FlowBranching.Merge): Avoid foreach on
arraylist.

* expression.cs (Invocation.OverloadResolve): Avoid foreach on
arraylists, use for loop with bounds.

The above three changes give us a 0.071 second performance
improvement out of 3.294 seconds down to 3.223.  On my machine
the above changes reduced the memory usage by 1,387 KB during
compiler bootstrap.

* cs-parser.jay (QualifiedIdentifier): New class used to represent
QualifiedIdentifiers.  Before we created a new string through
concatenation, and mostly later on, the result would be
manipulated by DecomposeQI through string manipulation.

This reduced the compiler memory usage for bootstrapping from
59380 KB to 59007 KB on my machine, 373 KB, and also reduced the
compile times in 0.05 seconds.

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

20 years ago * DataGrid.cs: Display paging controls even when there is no
Jackson Harper [Sat, 29 Nov 2003 08:48:43 +0000 (08:48 -0000)]
    * DataGrid.cs: Display paging controls even when there is no
data. Path by Mohammad DAMT. Fixes bug #51487.

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

20 years ago * DataGrid.cs: Call TrackViewState when loading bound columns view
Jackson Harper [Sat, 29 Nov 2003 08:19:12 +0000 (08:19 -0000)]
   * DataGrid.cs: Call TrackViewState when loading bound columns view
state. So that their state is saved. This fixes bug #51424. Also
set ReadOnly.

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

20 years agoFri Nov 28 23:03:05 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Nov 2003 22:15:54 +0000 (22:15 -0000)]
Fri Nov 28 23:03:05 CET 2003 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, inssel-ppc.brg, mini-ppc.c: better long return support.
* tramp-ppc.c: fixed class init trampoline.
* inssel-ppc.brg, mini.c, jit-icalls.c, mini-ppc.h: more emulation.

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

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

* gc.c: Fix hangs and error messages when GC_DONT_GC is set.

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

20 years agoDo string compares with the Invariant culture.
Dick Porter [Fri, 28 Nov 2003 18:22:08 +0000 (18:22 -0000)]
Do string compares with the Invariant culture.

Use the char forms of IndexOf and LastIndexOf, so that the comparison is
done with the Invariant culture.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:59:28 +0000 (16:59 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlAttribute.cs : set_Prefix checks value when existing is "xmlns".

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:32:42 +0000 (16:32 -0000)]
2003-11-28  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlWriter.cs : patch by Gonzalo (I modified a bit). WriteNode()
  shouldn't expect non-empty element content. This will fix bug #48287.

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

20 years ago2003-11-28 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Fri, 28 Nov 2003 16:30:45 +0000 (16:30 -0000)]
2003-11-28  Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

* XmlWriterTests.cs : Added WriteNodeFullDocument() with
  encoding specification. Added WriteNodeNonEmptyElement().
* XmlUrlResolverTests.cs : Added GetEntityWithNonStreamReturnType()
  and GetEntityWithRelativeFileUri().
* XmlTextWriterTests.cs : Added some namespace related tests.
* XmlTextReaderTests.cs : Added char-entity and ReadBase64() tests.
* XmlNodeTests.cs : GetPrefixOfNamespace() test also for disconnected
  nodes.
* XmlElementTests.cs : Added ConstructionAndDefaultAttributes().
* XmlDeclarationTests.cs : Added InvalidInnerText().
* XmlAttributeTests.cs : Added CheckPrefixWithNamespace().

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

20 years agoadded StringsTest.cs, but not yet complete
Jochen Wezel [Fri, 28 Nov 2003 15:43:41 +0000 (15:43 -0000)]
added StringsTest.cs, but not yet complete

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

20 years agoFri Nov 28 16:36:29 CET 2003 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 28 Nov 2003 15:34:09 +0000 (15:34 -0000)]
Fri Nov 28 16:36:29 CET 2003 Paolo Molaro <lupus@ximian.com>

* cpu-g4.md, inssel-ppc.brg, jit-icalls.c, mini-ppc.c, mini-ppc.h,
mini.c: more ppc changes/fixes.

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

20 years agoApplied patch from Philipp <pixelpapst@users.sourceforge.net>
Miguel de Icaza [Fri, 28 Nov 2003 14:55:54 +0000 (14:55 -0000)]
Applied patch from Philipp <pixelpapst@users.sourceforge.net>

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

20 years ago2003-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Nov 2003 14:32:59 +0000 (14:32 -0000)]
2003-11-28  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyBuilder.cs (SetCustomAttribute): Implement automatic
generation of build and revision numbers. Fixes #46492.

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

20 years agoq
Jochen Wezel [Fri, 28 Nov 2003 14:31:03 +0000 (14:31 -0000)]
q

ion `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 %[DIGITS | WORD] [&]               (( expression ))
 . filename                         :
 [ arg... ]                         [[ expression ]]
 alias [-p] [name[=value] ... ]     bg [job_spec]
 bind [-lpvsPVS] [-m keymap] [-f fi break [n]
 builtin [shell-builtin [arg ...]]  case WORD in [PATTERN [| PATTERN].
 cd [-L|-P] [dir]                   command [-pVv] command [arg ...]
 compgen [-abcdefgjksuv] [-o option complete [-abcdefgjksuv] [-pr] [-o
 continue [n]                       declare [-afFirtx] [-p] name[=valu
 dirs [-clpv] [+N] [-N]             disown [-h] [-ar] [jobspec ...]
 echo [-neE] [arg ...]              enable [-pnds] [-a] [-f filename]
 eval [arg ...]                     exec [-cl] [-a name] file [redirec
 exit [n]                           export [-nf] [name[=value] ...] or
 false                              fc [-e ename] [-nlr] [first] [last
 fg [job_spec]                      for NAME [in WORDS ... ;] do COMMA
 for (( exp1; exp2; exp3 )); do COM function NAME { COMMANDS ; } or NA
 getopts optstring name [arg]       hash [-lr] [-p pathname] [-dt] [na
 help [-s] [pattern ...]            history [-c] [-d offset] [n] or hi
 if COMMANDS; then COMMANDS; [ elif jobs [-lnprs] [jobspec ...] or job
 kill [-s sigspec | -n signum | -si let arg [arg ...]
 local name[=value] ...             logout
 popd [+N | -N] [-n]                printf format [arguments]
 pushd [dir | +N | -N] [-n]         pwd [-PL]
 read [-ers] [-u fd] [-t timeout] [ readonly [-anf] [name[=value] ...]
 return [n]                         select NAME [in WORDS ... ;] do CO
 set [--abefhkmnptuvxBCHP] [-o opti shift [n]
 shopt [-pqsu] [-o long-option] opt source filename
 suspend [-f]                       test [expr]
 time [-p] PIPELINE                 times
 trap [arg] [signal_spec ...] or tr true
 type [-afptP] name [name ...]      typeset [-afFirtx] [-p] name[=valu
 ulimit [-SHacdflmnpstuv] [limit]   umask [-p] [-S] [mode]
 unalias [-a] [name ...]            unset [-f] [-v] [name ...]
 until COMMANDS; do COMMANDS; done  variables - Some variable names an
 wait [n]                           while COMMANDS; do COMMANDS; done
 { COMMANDS ; }
VBCodeGenerator: CreateNameSpace creates Namespace after Imports

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

20 years ago2003-11-28: Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Francisco Figueiredo Jr. [Fri, 28 Nov 2003 13:40:45 +0000 (13:40 -0000)]
2003-11-28: Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>

*NpgsqlCommand.cs:  Fixed a problem with prepare commands in 7.3 server versions. The command was being incorrectly interpreted as needing an explicit cast.

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

20 years ago2003-11-28 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 28 Nov 2003 13:39:32 +0000 (13:39 -0000)]
2003-11-28  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (assembly_name_to_aname): Allow extra characters in
assembly names. Fixes #51468.

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

20 years ago(CompoundArray): Hide this for now.
Duncan Mak [Fri, 28 Nov 2003 06:00:21 +0000 (06:00 -0000)]
(CompoundArray): Hide this for now.

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

20 years ago* Brush.cs (CreateBrush): new internal factory method for creating
Duncan Mak [Fri, 28 Nov 2003 05:47:58 +0000 (05:47 -0000)]
* Brush.cs (CreateBrush): new internal factory method for creating
specific brushes based on the internal (GDI+ C API) BrushType
enum.
(Brush (IntPtr)): new internal constructor.

* Pen.cs: Removed all the C# fields. We are using GDI+ completely
now.
(Pen (IntPtr)): new internal constructor.
(Pen (Brush, float)): Use GdipCreateBrush2.
(Clone): Implemented using GdipClonePen.
(Alignment, Brush, Color, Width): Use GDI+ implementations
instead.
(CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
Implemented these properties.
(CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
(MultiplyTransform, ResetTransform, RotateTransform):
(ScaleTransform, TranslateTransform): Implemented these methods.

* SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.

* gdipEnums.cs (BrushType): Added new GDI+ enum.

* gdipFunctions.cs: Imported new Brush and Pen functions.

* brush.c (gdip_brush_setup): Check on the type of the brush and
delegate the implementation to the concrete Brushes,
(GdipCloneBrush, GdipDeleteBrush, GdipGetBrushType): Implemented.

* gdip.h (DashStyle): Fixed typo.
(PenAlignment, BrushType): Added new enumerations.
(GpBrush): Added new type field.
(GpPen): Added new fields: color, brush, mode, dash_array and
unit. Updated the header file to include new Pen functions.

* pen.c (convert_dash_array): Utitlity function for converting
from a float* from GDI+ to a double* for Cairo.
(GdipCreatePen2, GdipClonePen): Implemented.
(PenWidth, BrushFill, Color, PenMode, PenUnit, DashStyle):
(DashOffset, DashCount, DashArray): Implemented the Get/Set
function pairs for these properties.
(GdipGetPenCompoundArray, GdipSetPenCompoundArray):
(GdipGetPenCompoundArrayCount): Stubbed.

* solidbrush.c (gdip_solidfill_init): Utility for initializing a
SolidBrush. Sets type as BrushTypeSolidColor.
(gdip_solidfill_setup): Moved from gdip_brush_setup.
(gdip_solidfill_clone): Implementation for GdipCloneBrush for a
GpSolidFill.
(GdipSetSolidFillColor, GdipGetSolidFillColor): Implemented.

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

20 years agobug fixie
Ben Maurer [Fri, 28 Nov 2003 05:37:22 +0000 (05:37 -0000)]
bug fixie

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

20 years ago2003-11-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 28 Nov 2003 03:45:04 +0000 (03:45 -0000)]
2003-11-27  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces.Query/ObjectExpression.cs:
        * System.Data.ObjectSpaces.Query/ObjectSpaceNode.cs:
        * System.Data.ObjectSpaces_test.dll.sources:
                Various updates for completion

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

20 years ago2003-11-27 Tim Coleman <tim@timcoleman.com>
Tim Coleman [Fri, 28 Nov 2003 03:43:56 +0000 (03:43 -0000)]
2003-11-27  Tim Coleman <tim@timcoleman.com>
        * System.Data.ObjectSpaces.Query/ObjectExpressionTests.cs:
        * SupportFiles/osd.xml:
        * SupportFiles/rsd.xml:
                New classes added for test

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