mono.git
20 years ago2003-11-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Nov 2003 11:51:53 +0000 (11:51 -0000)]
2003-11-25  Zoltan Varga  <vargaz@freemail.hu>

* Assembly.cs (LoadWithPartialName): Return null instead of throwing
an exception to match MS behavior.

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

20 years agoFix compilation for gcc 2.95
Gonzalo Paniagua Javier [Tue, 25 Nov 2003 11:49:40 +0000 (11:49 -0000)]
Fix compilation for gcc 2.95

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

20 years ago2003-11-25 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 25 Nov 2003 11:48:26 +0000 (11:48 -0000)]
2003-11-25  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilder.cs: Implement GetField.

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

20 years ago2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 25 Nov 2003 11:45:43 +0000 (11:45 -0000)]
2003-11-25  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
<along@mainsoft.com>. Fixes bug #51377.

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

20 years agoUpdated LAMESPEC
Gonzalo Paniagua Javier [Tue, 25 Nov 2003 10:50:06 +0000 (10:50 -0000)]
Updated LAMESPEC

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

20 years ago* Implemented DrawFocusRectangle on top of System.Drawing
Peter Dennis Bartok [Tue, 25 Nov 2003 09:02:36 +0000 (09:02 -0000)]
* Implemented DrawFocusRectangle on top of System.Drawing
* Changed code to use System Brushes and Pens instead of those locally defined

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

20 years ago* Added ControlDark and ControlDarkDark brushes
Peter Dennis Bartok [Tue, 25 Nov 2003 08:56:47 +0000 (08:56 -0000)]
* Added ControlDark and ControlDarkDark brushes

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

20 years agoAdd disco to .cvsignore
Peter Williams [Tue, 25 Nov 2003 05:32:03 +0000 (05:32 -0000)]
Add disco to .cvsignore

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

20 years ago2003-11-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 Nov 2003 05:26:36 +0000 (05:26 -0000)]
2003-11-25  Miguel de Icaza  <miguel@ximian.com>

* expression.cs: Make TypeOfVoid derive from TypeOf, so code in
attributes for example can not tell the difference between these.
The difference was only a syntax feature of the language.

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

20 years agoupdate
Miguel de Icaza [Tue, 25 Nov 2003 05:24:38 +0000 (05:24 -0000)]
update

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

20 years agoAdd new test
Miguel de Icaza [Tue, 25 Nov 2003 05:23:39 +0000 (05:23 -0000)]
Add new test

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

20 years ago2003-11-25 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 Nov 2003 05:15:13 +0000 (05:15 -0000)]
2003-11-25  Miguel de Icaza  <miguel@ximian.com>

* attribute.cs: Apply attributes to delegates.

* delegate.cs: Call the apply attributes method.

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

20 years ago2003-11-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 25 Nov 2003 04:52:26 +0000 (04:52 -0000)]
2003-11-24  Miguel de Icaza  <miguel@ximian.com>

* convert.cs (TryImplicitIntConversion): One line bug fix: we were
comparing 0 vs Byte.MinValue, not the value

(ImplicitConversionRequired): When reporting a conversion error,
use error 31 to print out the constant error instead of the
simpler 29.

* expression.cs: Apply fix from l_m@pacbell.net (Laurent Morichetti),
which fixes bug 51347.

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

20 years ago * SessionStateServerHandler.cs: Parse connection string. Need to
Jackson Harper [Tue, 25 Nov 2003 04:25:24 +0000 (04:25 -0000)]
    * SessionStateServerHandler.cs: Parse connection string. Need to
look into what MS allows/doesn't allow better.

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

20 years ago * System.web.dll.sources: Add State server classes to build.
Jackson Harper [Tue, 25 Nov 2003 03:44:38 +0000 (03:44 -0000)]
    * System.web.dll.sources: Add State server classes to build.

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

20 years ago * RemoteStateServer.cs: The state server object that will reside
Jackson Harper [Tue, 25 Nov 2003 03:42:46 +0000 (03:42 -0000)]
    * RemoteStateServer.cs: The state server object that will reside
on the server and store session data and ids.
* StateServerItem.cs: Container for session data.
* SessionStateServerHandler.cs: Handler that communicates with the
StateServer so sessions can be stored out of process.
* SessionStateModule.cs: Allow state server mode.

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

20 years ago* Implemented DrawComboButton on top of System.Drawing
Peter Dennis Bartok [Tue, 25 Nov 2003 03:37:41 +0000 (03:37 -0000)]
* Implemented DrawComboButton on top of System.Drawing
* Implemented DrawContainerGrabHandle on top of System.Drawing

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

20 years ago * ServerIdentity.cs: Get non public types, so remote objects can
Jackson Harper [Tue, 25 Nov 2003 00:54:29 +0000 (00:54 -0000)]
    * ServerIdentity.cs: Get non public types, so remote objects can
be non public or have non public constructors.

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

20 years ago2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 20:40:01 +0000 (20:40 -0000)]
2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* io.c: don't call g_free before testing errno as it may modify it.
If the path exists, return an error if it's not a directory. Fixes
bug #50753.

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

20 years ago2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 20:37:42 +0000 (20:37 -0000)]
2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Directory.cs: provide the path when getting the IOException.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 20:37:26 +0000 (20:37 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* MonoType.cs: Make Standard|HasThis match Standard in GetMethod and
GetConstructor, as done by MS.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 20:33:50 +0000 (20:33 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* ModuleTest.cs: Make the assembly name unique to fix the GlobalData
test.

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

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

* MonoMethod.cs: Add missing constructor.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 19:35:36 +0000 (19:35 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

icall.c (ves_icall_System_Reflection_Assembly_InternalGetType):
Enumerate all modules inside a dynamic assembly. Fixes #51293.

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

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

* BaseDataList.cs: allow setting null as Datasource.

* DataGrid.cs: keep autogenerated columns in the ViewState.

Patches by Alon Gazit <along@mainsoft.com>.

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

20 years ago2003-11-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 18:44:24 +0000 (18:44 -0000)]
2003-11-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
<along@mainsoft.com>.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 18:30:40 +0000 (18:30 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* corlib.dll.sources: Add System.Reflection.Emit/DynamicMethod.cs.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 18:29:47 +0000 (18:29 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* DynamicMethod.cs: New class.

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

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

* icall.c: Add new icall for creating dynamic methods.

* loader.h debug-helpers.c: Add new wrapper type for dynamic methods.

* reflection.h (MonoReflectionDynamicMethod): Fix type of bool fields.

* reflection.c (mono_reflection_create_dynamic_method): New icall to
create a dynamic method.

* reflection.c (resolve_object): New helper function.

* reflection.c: Generalize ReflectionMethodBuilder and the functions
which manipulate it so they can also work on dynamic methods.

* reflection.c (reflection_method_builder_to_mono_method): Avoid
creating the MonoReflectionMethodAux structure if it is not needed.

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

20 years ago2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 24 Nov 2003 17:03:12 +0000 (17:03 -0000)]
2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* Iterator.cs : PrecedingIterator.MoveNext() now breaks up at Root.
* XPathNavigator.cs : ComparePosition() didn't handle attributes
  correctly.

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

20 years ago2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 24 Nov 2003 17:02:35 +0000 (17:02 -0000)]
2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* DTDValidatingReader.cs : Fixed ReadContent() which may result in
  invalid additional Text node.

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

20 years ago2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 24 Nov 2003 15:30:32 +0000 (15:30 -0000)]
2003-11-24  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlTextWriter.cs :
  On WriteProcessingInstruction(), ArgumentException() is expected ;-)

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

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

* Parser.jay, Expression.cs, Iterator.cs :
  Added ExprParens and ParensIterator classes which is used to handle
  precedence of parenthesized expressions.
  (e.g. consider "(preceding::*)[3]" and "preceding::[3]" )

* Expression.cs, Iterator.cs :
  Added RequireSorting property for each Expr and BaseIterator classes.
  SlashIterator.MoveNext() now considers correct sorting. But
  considering performance, it separates two logics, sorted and sortless
  depending on RequireSorting of left iterator and right expression.

* Iterator.cs :
  SimpleIterator.ctor() should consider when nav is null.
  FollowingIterator.MoveNext() and PrecedingIterator.MoveNext() should
  not return any nodes.
  AncestorIterator and AncestorOrSelfIterator copy ctr() should clone
  positions.
  AncestorIterator.MoveNext() should skip Root if context node is
  Root itself.
  FollowingIterator.MoveNext() should not handle children of context
  itself.
  PrecedingIterator.MoveNext() should skip its ancestors.
  AxisIterator.ReverseAxis should be dependent on its containing iter.
  UnionIterator.MoveNext() should consider comparison of nodes in
  different document. The behavior is implementation dependent.
  (see XSLT spec 12.1)

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

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

* XmlTextWriter.cs :
  WriteProcessingInstruction() should check name validity.
  AddMissingElementXmlns() should allow namespace emission even if it
  is identical to existing one.

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

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

* XslAttribute.cs, XslElement.cs, XslLiteralElement.cs :
  More precise namespace handling.
* XslCopy.cs, XslElement.cs, XslLiteralElement.cs :
  Added cdata-section-elements support.
* XslNumber.cs :
  Cases when value is NodeSet should be allowed.
  Default output should be 1,2,3... not exception. see XSLT spec 7.7.1

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

20 years ago2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Mon, 24 Nov 2003 15:15:09 +0000 (15:15 -0000)]
2003-11-24 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>

(in general: cdata-section-elements support, correct document()
base uri handling, and so on)
* Compiler.cs : Use XmlSpace.Preserve to parse included stylesheet.
  And move to document element.  Added XslNameUtil.FromListString().
* Emitter.cs, HtmlEmitter.cs, TextEmitter.cs XmlWriterEmitter.cs :
  Added WriteCDataSection().
* Outputter.cs, GenericOutputter.cs, TextOutputter.cs :
  Added InsideCDataSection.
* GenericOutputter.cs :
  In .ctor(), WriteState should be succeeded from output XmlWriter.
  WriteNamespaceDecl() now drops declaration identical to existing one.
  Removed obsolete htmlEmulation.
* XslOutput.cs : Added CDataSectionElements support.
* XslStylesheet.cs : Added BaseUri, StyleDocument and PrefixInEffect().
* XslTransformProcessor.cs :
  Added Output and CurrentOutputUri. TryStylesheetNamespaceOutput()
  now considers xsl:exclude-element-prefixes on literal element.
  Added PushCDataState() and PopCDataState().
* XsltCompiledContext.cs : When base uri of document() target is empty,
  then it should use stylesheet's BaseURI, not that of current document.

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

20 years ago * Methods.cs, TypeStubManager.cs, SoapMessage.cs: Removed TODO comment.
Lluis Sanchez [Mon, 24 Nov 2003 15:02:41 +0000 (15:02 -0000)]
* Methods.cs, TypeStubManager.cs, SoapMessage.cs: Removed TODO comment.
* SoapDocumentationHandler.cs: Check that the documentation page exist.
* SoapHttpClientProtocol.cs: Removed cast from WebResponse to
  HttpWebResponse. This fixes bug #51281.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 13:47:11 +0000 (13:47 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* reflection.h verify.c: Update after changes to object layout.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 13:45:09 +0000 (13:45 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* ILGenerator.cs MethodBuilder.cs ConstructorBuilder.cs: Retrieve
tokens from a token generator object instead of from the ModuleBuilder,
to support the implementation of DynamicMethod. Also get rid of the
unused 'mbuilder' field.

* ModuleBuilder.cs: Create a token generator object which can be
passed to ILGenerator.

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

20 years agoFix build on windows
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 13:23:21 +0000 (13:23 -0000)]
Fix build on windows

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

20 years agofix build on windows.
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 13:14:56 +0000 (13:14 -0000)]
fix build on windows.

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

20 years agoApplied patch by Eran Domb. If type is Enum, the code use type.GetElememtType() inste...
Lluis Sanchez [Mon, 24 Nov 2003 11:46:26 +0000 (11:46 -0000)]
Applied patch by Eran Domb. If type is Enum, the code use type.GetElememtType() instead of Enum.GetUnderlyingType().

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 11:39:46 +0000 (11:39 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* LocalBuilder.cs ILGenerator.cs: Get rid of 'module' field, obtain
needed objects from the ilgen object instead.

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

20 years agocommented currentlocale line in getResultString method
Sunil Kumar [Mon, 24 Nov 2003 10:53:49 +0000 (10:53 -0000)]
commented currentlocale line in getResultString method

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 09:22:33 +0000 (09:22 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (method_builder_encode_signature): Fix compilation on
gcc 2.95.x.

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

20 years ago2003-11-24 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 24 Nov 2003 09:03:34 +0000 (09:03 -0000)]
2003-11-24  Zoltan Varga  <vargaz@freemail.hu>

* configure.in: Fix signbit check. Fixes #51315.

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

20 years ago* Implemented DrawCaptionButton on top of System.Drawing
Peter Dennis Bartok [Mon, 24 Nov 2003 08:45:04 +0000 (08:45 -0000)]
* Implemented DrawCaptionButton on top of System.Drawing
* Implemented DrawScrollButton on top of System.Drawing
* Implemented DrawRadioButton on top of System.Drawing
* Implemented DrawCheckBox on top of System.Drawing
* Implemented DrawButton on top of System.Drawing

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

20 years agoAdded log for System.DirectoryServices class files
Sunil Kumar [Mon, 24 Nov 2003 04:15:32 +0000 (04:15 -0000)]
Added log for System.DirectoryServices class files

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

20 years agoClass files Implementing System.DirectoryServices namespace
Sunil Kumar [Mon, 24 Nov 2003 04:13:09 +0000 (04:13 -0000)]
Class files Implementing System.DirectoryServices namespace

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

20 years agoModified for checked in files
Sunil Kumar [Mon, 24 Nov 2003 04:11:13 +0000 (04:11 -0000)]
Modified for checked in files

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

20 years agoAdded refernce to Novell.Directory.Ldap
Sunil Kumar [Mon, 24 Nov 2003 04:10:05 +0000 (04:10 -0000)]
Added refernce to Novell.Directory.Ldap

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

20 years agoAdded Novell.Directory.Ldap namespace
Sunil Kumar [Mon, 24 Nov 2003 04:08:57 +0000 (04:08 -0000)]
Added Novell.Directory.Ldap namespace

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

20 years agoAdded ChangeLog and Makefile
Sunil Kumar [Mon, 24 Nov 2003 04:07:13 +0000 (04:07 -0000)]
Added ChangeLog and Makefile

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

20 years agoClass files Implementing various utility classes used by LDAP C# Libraray
Sunil Kumar [Mon, 24 Nov 2003 03:59:43 +0000 (03:59 -0000)]
Class files Implementing various utility classes used by LDAP C# Libraray

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

20 years agoClass files implementing LDAP RFC2251 Messages
Sunil Kumar [Mon, 24 Nov 2003 03:58:26 +0000 (03:58 -0000)]
Class files implementing LDAP RFC2251 Messages

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

20 years agoClass files implementing various LDAP Extensions
Sunil Kumar [Mon, 24 Nov 2003 03:56:19 +0000 (03:56 -0000)]
Class files implementing various LDAP Extensions

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

20 years agoClass files implementing Various LDAP Controls
Sunil Kumar [Mon, 24 Nov 2003 03:55:00 +0000 (03:55 -0000)]
Class files implementing  Various LDAP Controls

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

20 years agoClass files Representing Various ASN1 Structures
Sunil Kumar [Mon, 24 Nov 2003 03:54:00 +0000 (03:54 -0000)]
Class files Representing Various ASN1 Structures

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

20 years agoClass Files Representing Various LDAP Requests
Sunil Kumar [Mon, 24 Nov 2003 03:52:45 +0000 (03:52 -0000)]
Class Files Representing Various LDAP Requests

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

20 years ago* Added Disposable interface
Peter Dennis Bartok [Sun, 23 Nov 2003 19:58:20 +0000 (19:58 -0000)]
* Added Disposable interface

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

20 years ago* Added missing StartCap & EndCap property to Pen
Peter Dennis Bartok [Sun, 23 Nov 2003 19:57:13 +0000 (19:57 -0000)]
* Added missing StartCap & EndCap property to Pen
* Removed extra LineCap property

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

20 years ago* Corrected wrong number
Peter Dennis Bartok [Sun, 23 Nov 2003 19:14:15 +0000 (19:14 -0000)]
* Corrected wrong number

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

20 years ago2003-11-23 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 23 Nov 2003 17:33:07 +0000 (17:33 -0000)]
2003-11-23  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/HashAlgorithm.cs:
    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlCommand.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlStartupState.cs:
    * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
    ADO.NET we need to call Dispose after using any Component like
    NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
    methods to Properties.

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

20 years ago2003-11-23 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Sun, 23 Nov 2003 17:28:59 +0000 (17:28 -0000)]
2003-11-23  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * DbDataAdapter.cs: Call command dispose in self dispose method. We
    need to dispose the connections and other stuff stored in the
    commands.

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

20 years ago * regex.cs: Add CultureInvariant flag to RegexOptions.
Jackson Harper [Sun, 23 Nov 2003 05:14:53 +0000 (05:14 -0000)]
    * regex.cs: Add CultureInvariant flag to RegexOptions.

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

20 years agoadd sources
Ben Maurer [Sun, 23 Nov 2003 02:45:11 +0000 (02:45 -0000)]
add sources

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

20 years ago2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sun, 23 Nov 2003 02:44:44 +0000 (02:44 -0000)]
2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* SqlDataSource*: Implement almost everything. Data access is
still missing.

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

20 years ago2003-11-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 23 Nov 2003 00:06:53 +0000 (00:06 -0000)]
2003-11-22  Miguel de Icaza  <miguel@ximian.com>

* PropertyDescriptorCollection.cs (Insert): Another one.

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

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

* PropertyTabAttribute.cs (Equals): Avoid recurssion

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

20 years ago* Matrix.cs: Rewrote to use GDI+ implementation, doing all the
Duncan Mak [Sat, 22 Nov 2003 23:32:56 +0000 (23:32 -0000)]
* Matrix.cs: Rewrote to use GDI+ implementation, doing all the
math in unmanaged code instead of doing it in C#.

* gdipFunctions.cs
(GdipResetWorldTransform, GdipSetWorldTransform):
(GdipGetWorldTransform, GdipScaleWorldTransform): Imported.

* Graphics.cs: Remove unnecessary TODO, and reformatted the code.
(transform): Removed this field. Always use the
matrix associated in the GpGraphics ptr.
(DrawBeziers): Implemented.
(DrawLine): Don't need to manually invoke the transform now.
(MultiplyTransform, ResetTransform):
(ScaleTransform, TranslateTransform): Use GDI+ implementation.
(Transform): Instead of storing a Matrix in managed code, use
equivalent GDI+ functions.

* matrix.c (GdipCreateMatrix3, GdipCreateMatrix3I): Implemented.
(GdipCloneMatrix): Fixed.
(GdipShearMatrix, set_shear): Implemented.

* graphics.c:
(GdipGetWorldTransform, GdipMultiplyWorldTransform): Implemented.
(GdipRotatePenTransform, GdipTranslatePenTransform): Use GDI+
functions instead.

* gdip.h
(GdipRotatePenTransform, GdipTranslatePenTransform): Fix
signature.
(GdipCreateMatrix3, GdipCreateMatrix3I): Use const appropriately.

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

20 years ago2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 22 Nov 2003 22:04:38 +0000 (22:04 -0000)]
2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* ObjectStateFormatter.cs: Fix bug when reading small ints.
Add some tracing so we can see what is going on.

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

20 years ago2003-11-22 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 22 Nov 2003 22:01:19 +0000 (22:01 -0000)]
2003-11-22 Ben Maurer  <bmaurer@users.sourceforge.net>

* Calendar.cs (SaveViewState):
    - We were allocating a 11 item array, we only used 10 items,
      so only allocate 10.
    - We only need to save the selected dates if there are any.
* DataGrid.cs (SaveViewState):
* DataGridColumn.cs (SaveViewState):
* DataGridColumnCollection.cs (SaveViewState):
    - Only return the array if there is anything in it
* Style.cs (SaveViewState):
    - Only save the bits if there were changes.
* WebControl.cs (SaveViewState), (LoadViewState):
    - Don't save Enabled into the viewstate here, we already
      do it in the property. This just caused *EVERY* control
      to have a non-null state, taking up lots of extra room
      in the ViewState.
    - The style will always be created with this control's
      viewstate, so the style will always return null for the
      viewstate. As such, we do not need to store it. We can
      also reduce the triplet to a pair because of this.

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

20 years ago * ValidationSummary.cs: Fix number of messages and message
Jackson Harper [Sat, 22 Nov 2003 21:48:27 +0000 (21:48 -0000)]
    * ValidationSummary.cs: Fix number of messages and message
          array computation.

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

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

* driver.cs: Applied patch from gert.driesen@pandora.be (Gert Driesen)
which fixes the -warnaserror command line option.

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

20 years agoApply patch from Wojciech Polak <polak@gnu.org>, updates errno values
Miguel de Icaza [Sat, 22 Nov 2003 20:39:16 +0000 (20:39 -0000)]
Apply patch from Wojciech Polak <polak@gnu.org>, updates errno values

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

20 years ago2003-11-22 Carlos Guzman Alvarez <carlosga@telefonica.net>
Carlos Guzmán Álvarez [Sat, 22 Nov 2003 13:10:33 +0000 (13:10 -0000)]
2003-11-22 Carlos Guzman Alvarez <carlosga@telefonica.net>

* Changed line endings to unix format in SSL/TLS sources.

* Mono.Security.CryptographyoHMD5SHA1CryptoServiceProvider.cs:

    - Removed file (now it's called MD5SHA1.cs)

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

    - Removed comments from AES ciphersuites.

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

20 years ago * OutputCacheModule.cs: Store a CachedVaryBy object for each
Jackson Harper [Sat, 22 Nov 2003 06:53:51 +0000 (06:53 -0000)]
    * OutputCacheModule.cs: Store a CachedVaryBy object for each
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.

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

20 years ago * OutputCacheModule.cs: Store a CachedVaryBy object for each
Jackson Harper [Sat, 22 Nov 2003 06:53:51 +0000 (06:53 -0000)]
    * OutputCacheModule.cs: Store a CachedVaryBy object for each
cached page. Then store a CachedRawResponse for each combination
of varried parameters for a page.
* CachedRawResponse.cs: Do not need to store param values anymore
those are stored in the CachedVaryBy now. Get the content length
so we dont send back the entire buffer.
* CachedVaryBy.cs: New file - holds the varyby data for a page,
and a method to generate a key based on params. Right now this
only works with VaryByParams. TODO: support VaryByHeaders and
VaryByCustom.

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

20 years ago * System.web.dll.sources: Add CachedVaryBy.cs to the build
Jackson Harper [Sat, 22 Nov 2003 06:53:03 +0000 (06:53 -0000)]
    * System.web.dll.sources: Add CachedVaryBy.cs to the build

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

20 years ago * HttpResponse.cs: When caching data set the content length in the
Jackson Harper [Sat, 22 Nov 2003 06:52:22 +0000 (06:52 -0000)]
    * HttpResponse.cs: When caching data set the content length in the
cached repsonse so that only that amount will be written back to
the client. Add method to write a range of binary data.
* HttpCacheVaryByParams.cs: Add method to retrieve param
names.

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

20 years ago * Page.cs: Set vary by params when cache location is Server.
Jackson Harper [Sat, 22 Nov 2003 06:50:21 +0000 (06:50 -0000)]
    * Page.cs: Set vary by params when cache location is Server.

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

20 years ago2003-11-21 Ben Maurer <bmaurer@users.sourceforge.net>
Ben Maurer [Sat, 22 Nov 2003 04:31:31 +0000 (04:31 -0000)]
2003-11-21 Ben Maurer  <bmaurer@users.sourceforge.net>

* ObjectStateFormatter.cs: v2 file. In v1.x this will be
internal as LosFormatter will eventually use it to save
the view state.

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

20 years ago2003-11-22 Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>
Atsushi Eno [Sat, 22 Nov 2003 02:54:34 +0000 (02:54 -0000)]
2003-11-22  Atsushi Enomoto  <ginga@kit.hi-ho.ne.jp>

* XmlTextReader.cs : Fixed ReadInnerXml(). This fixes bug #51267.

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

20 years ago2003-11-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 22 Nov 2003 02:52:16 +0000 (02:52 -0000)]
2003-11-21  Miguel de Icaza  <miguel@ximian.com>

* cfold.cs (DoNumericPromotions): During constant folding of
additions on UIntConstant, special case intconstants with
IntConstants like we do on the expression binary operator.

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

20 years ago2003-11-22 Pedro Mart�nez Juli� <yoros@wanadoo.es>
Pedro Martínez Juliá [Fri, 21 Nov 2003 23:08:09 +0000 (23:08 -0000)]
2003-11-22  Pedro Mart�nez Juli�  <yoros@wanadoo.es>

    * Npgsql/NpgsqlClosedState.cs:
    * Npgsql/NpgsqlConnectedState.cs:
    * Npgsql/NpgsqlConnection.cs:
    * Npgsql/NpgsqlReadyState.cs:
    * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
    implementation. Now we're using TcpClient for the connection and
    Stream for the abstraction layer to SslClientStream.

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

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

* Compiler.cs : Modified decimal-format comparison code.
* Outputter.cs,
  TextOutputter.cs,
  GenericOutputter.cs : Added WriteState. Now WriteStartDocument() will
  be called only when required.
* HtmlEmitter.cs : Improved indentation stuff.
* XslDecimalFormat.cs : Added incomplete implementation of
  CheckSameAs() and FormatNumber().
* XslStylesheet.cs,
  XslTransformProcessor.cs : Changed XslStylesheet.StylesheetNamespaces
  from StringDictionary to ArrayList of QName (to keep order).

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

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

* XslAttribute.cs : Name verification.
* XslElement.cs : Name verification. Consider IsEmptyElement.
* XslCopy.cs : copy namespace nodes too.

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

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

* ManagedXslTransform.cs : Now WriteStartDocument() is moved internal to
  GenericOutputter.

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

20 years ago * context-static.cs: new test for ContextStaticAttribute.
Lluis Sanchez [Fri, 21 Nov 2003 18:43:49 +0000 (18:43 -0000)]
* context-static.cs: new test for ContextStaticAttribute.
* Makefile.am: added context-static.cs.

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

20 years agoContext.cs: Added internal static_data field.
Lluis Sanchez [Fri, 21 Nov 2003 18:39:12 +0000 (18:39 -0000)]
Context.cs: Added internal static_data field.

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

20 years ago* jit-icalls.c, mini.c: Added support for context static fields.
Lluis Sanchez [Fri, 21 Nov 2003 18:37:19 +0000 (18:37 -0000)]
* jit-icalls.c, mini.c: Added support for context static fields.

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

20 years ago* interp.c: Added support for context static fields.
Lluis Sanchez [Fri, 21 Nov 2003 18:36:44 +0000 (18:36 -0000)]
* interp.c: Added support for context static fields.

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

20 years ago * appdomain.h: Added support for context static fields. Added static_data
Lluis Sanchez [Fri, 21 Nov 2003 18:36:17 +0000 (18:36 -0000)]
* appdomain.h: Added support for context static fields. Added static_data
  field to MonoAppContext and renamed thread_static_fields to a more
  generic special_static_fields in MonoAppDomain, since it can now contain
  context static fields.
* domain.c: Updated hashtable name.
* object.c: Replaced field_is_thread_static() for a more generic
  field_is_special_static() which also checks for context static attribute.
  In mono_class_vtable(), added support for static context fields.
* threads.c: Changed methods that manage thread static fields to more
  generic methods so they can be reused both for thread and context static
  data.
* threads.h: Declared some new methods.

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

20 years ago2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 21 Nov 2003 17:16:08 +0000 (17:16 -0000)]
2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* System.Web.dll.sources: added XmlBuilder.cs

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

20 years ago2003-11-21 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Fri, 21 Nov 2003 17:15:45 +0000 (17:15 -0000)]
2003-11-21  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* Xml.cs: Corrected attribute
* XmlBuilder.cs: Added

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

20 years ago * BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
Lluis Sanchez [Fri, 21 Nov 2003 16:57:11 +0000 (16:57 -0000)]
* BinaryFormatter.cs, MessageFormatter.cs, ObjectReader.cs: Added support
  for TypeFilter property.

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

20 years ago * FormatterServices.cs: Added CheckTypeSecurity() and
Lluis Sanchez [Fri, 21 Nov 2003 16:54:15 +0000 (16:54 -0000)]
* FormatterServices.cs: Added CheckTypeSecurity() and
  GetSafeUninitializedObject().

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

20 years agoSoapFormatter.cs: Added FilterLevel property.
Lluis Sanchez [Fri, 21 Nov 2003 16:48:27 +0000 (16:48 -0000)]
SoapFormatter.cs: Added FilterLevel property.

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

20 years ago * BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs,
Lluis Sanchez [Fri, 21 Nov 2003 16:44:58 +0000 (16:44 -0000)]
* BinaryClientFormatterSinkProvider.cs, BinaryServerFormatterSinkProvider.cs,
  BinaryCore.cs, BinaryServerFormatterSinkProvider.cs,
  SoapClientFormatterSinkProvider.cs, SoapCore.cs,
  SoapServerFormatterSinkProvider.cs.cs: Added support for TypeFilterLevel
  property.

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

20 years ago2003-11-21 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 21 Nov 2003 16:33:34 +0000 (16:33 -0000)]
2003-11-21  Zoltan Varga  <vargaz@freemail.hu>

* MethodBase.cs (Invoke): Make this virtual under NET 1.2.

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