Tim Coleman [Tue, 25 Nov 2003 21:50:31 +0000 (21:50 -0000)]
2003-11-25 Tim Coleman <tim@timcoleman.com>
* IDataSources.cs:
New 1.2 class added
svn path=/trunk/mcs/; revision=20440
Jackson Harper [Tue, 25 Nov 2003 21:43:29 +0000 (21:43 -0000)]
* RemoteStateServer.cs: Update the session dictionary data and the
static objects data.
* SessionDictionary.cs: Remove type serialization methods, these
have been moved to a utility class. Add convenience methods for
converting to/from byte arrays.
* SessionSQLServerHandler.cs:
* SessionStateServerHandler.cs: Save/Restore static objects. Use new
to/from byte array methods.
* StateServerItem.cs: Hold static objects data.
svn path=/trunk/mcs/; revision=20439
Jackson Harper [Tue, 25 Nov 2003 21:42:21 +0000 (21:42 -0000)]
* HttpStaticObjectsCollection.cs: Add methods for serialization
and conversion to/from byte arrays.
svn path=/trunk/mcs/; revision=20438
Jackson Harper [Tue, 25 Nov 2003 21:41:45 +0000 (21:41 -0000)]
* System.web.dll.sources: Add AltSerialization.cs to the build
svn path=/trunk/mcs/; revision=20437
Jackson Harper [Tue, 25 Nov 2003 21:39:59 +0000 (21:39 -0000)]
* AltSerialization.cs: Utility methods for optimized
serializing.
svn path=/trunk/mcs/; revision=20436
Tim Coleman [Tue, 25 Nov 2003 21:34:21 +0000 (21:34 -0000)]
2003-11-25 Tim Coleman <tim@timcoleman.com>
* ChangeLog:
* Makefile:
* System.Data.Mapping/*.cs:
* System.Data.SqlXml/*.cs:
* System.Data.SqlXml.dll.sources:
* System.Xml.Query/*.cs:
* TODOAttribute.cs:
Create initial stubs for System.Data.SqlXml
svn path=/trunk/mcs/; revision=20435
Tim Coleman [Tue, 25 Nov 2003 21:02:58 +0000 (21:02 -0000)]
2003-11-25 Tim Coleman <tim@timcoleman.com>
* System.Xml.dll.sources: added XmlSchemaBuiltInType.cs
svn path=/trunk/mcs/; revision=20434
Zoltan Varga [Tue, 25 Nov 2003 19:19:49 +0000 (19:19 -0000)]
2003-11-25 Zoltan Varga <vargaz@freemail.hu>
* mini.h (inst_switch): Remove unused macro.
svn path=/trunk/mono/; revision=20433
Gonzalo Paniagua Javier [Tue, 25 Nov 2003 16:51:24 +0000 (16:51 -0000)]
2003-11-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* aot.c:
(load_aot_module): free 'info->methods' and 'info' properly. No more
"free(): invalid pointer blah" messages when you have an old aot
compiled assembly.
svn path=/trunk/mono/; revision=20432
Lluis Sanchez [Tue, 25 Nov 2003 16:48:03 +0000 (16:48 -0000)]
* InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
* SoapServices.cs: Implemented missing methods.
* WellKnownClientTypeEntry.cs: Initialize object_url in constructor.
svn path=/trunk/mcs/; revision=20431
Lluis Sanchez [Tue, 25 Nov 2003 16:47:29 +0000 (16:47 -0000)]
* AsyncResult.cs, CallContext.cs: Added private constructor.
* ReturnMessage.cs: Added parameter array length check.
svn path=/trunk/mcs/; revision=20430
Lluis Sanchez [Tue, 25 Nov 2003 16:40:00 +0000 (16:40 -0000)]
* RealProxy.cs: Added some missing methods.
* RemotingProxy.cs: ActivateRemoteObject() must return a ConstructionResponse
instead of a ReturnMessage.
svn path=/trunk/mcs/; revision=20429
Lluis Sanchez [Tue, 25 Nov 2003 16:30:36 +0000 (16:30 -0000)]
* InternalRemotingServices.cs: Implemented GetCachedSoapAttribute().
* SoapServices.cs: Implemented missing methods.
* WellKnownClientTypeEntry.cs: Initialize object_url in constructor.
svn path=/trunk/mcs/; revision=20428
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
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
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
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
Gonzalo Paniagua Javier [Tue, 25 Nov 2003 10:50:06 +0000 (10:50 -0000)]
Updated LAMESPEC
svn path=/trunk/mcs/; revision=20423
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
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
Peter Williams [Tue, 25 Nov 2003 05:32:03 +0000 (05:32 -0000)]
Add disco to .cvsignore
svn path=/trunk/mono/; revision=20420
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
Miguel de Icaza [Tue, 25 Nov 2003 05:24:38 +0000 (05:24 -0000)]
update
svn path=/trunk/mcs/; revision=20418
Miguel de Icaza [Tue, 25 Nov 2003 05:23:39 +0000 (05:23 -0000)]
Add new test
svn path=/trunk/mcs/; revision=20417
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 13:23:21 +0000 (13:23 -0000)]
Fix build on windows
svn path=/trunk/mcs/; revision=20382
Gonzalo Paniagua Javier [Mon, 24 Nov 2003 13:14:56 +0000 (13:14 -0000)]
fix build on windows.
svn path=/trunk/mcs/; revision=20381
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
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
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
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
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
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
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
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
Sunil Kumar [Mon, 24 Nov 2003 04:11:13 +0000 (04:11 -0000)]
Modified for checked in files
svn path=/trunk/mcs/; revision=20371
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
Sunil Kumar [Mon, 24 Nov 2003 04:08:57 +0000 (04:08 -0000)]
Added Novell.Directory.Ldap namespace
svn path=/trunk/mcs/; revision=20369
Sunil Kumar [Mon, 24 Nov 2003 04:07:13 +0000 (04:07 -0000)]
Added ChangeLog and Makefile
svn path=/trunk/mcs/; revision=20368
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
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
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
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
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
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
Peter Dennis Bartok [Sun, 23 Nov 2003 19:58:20 +0000 (19:58 -0000)]
* Added Disposable interface
svn path=/trunk/mcs/; revision=20359
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
Peter Dennis Bartok [Sun, 23 Nov 2003 19:14:15 +0000 (19:14 -0000)]
* Corrected wrong number
svn path=/trunk/mcs/; revision=20357
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
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
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
Ben Maurer [Sun, 23 Nov 2003 02:45:11 +0000 (02:45 -0000)]
add sources
svn path=/trunk/mcs/; revision=20350
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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