mono.git
21 years ago2002-10-23 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Thu, 24 Oct 2002 06:30:31 +0000 (06:30 -0000)]
2002-10-23  Tim Coleman (tim@timcoleman.com)
        * ITds.cs:
        * Tds42.cs:
        * Tds50.cs:
        * Tds70.cs:
        * Tds80.cs:
                New classes added.  Functionality
                is split up because different protocols
                have slight differences.
        * Tds.cs:
                Remove some unnecessary code after
                the above split, and add in a whole
                lot more stuff for completeness.
        * TdsColumnType.cs:
                Fix Int4.  Wrong enum value.
        * TdsComm.cs:
                Move the encoder out of constructor
                because we don't know the charset at
                that point
        * TdsConnectionParameters.cs:
                Small changes
        * TdsPacketEndTokenResult.cs:
                Implement ToString ()

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

21 years ago2002-10-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Oct 2002 06:10:00 +0000 (06:10 -0000)]
2002-10-24  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Return are more gentle token on failure.

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

21 years ago2002-10-24 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Thu, 24 Oct 2002 06:09:23 +0000 (06:09 -0000)]
2002-10-24  Miguel de Icaza  <miguel@ximian.com>

* pending.cs (PendingImplementation.InterfaceMethod): This routine
had an out-of-sync index variable, which caused it to remove from
the list of pending methods the wrong method sometimes.

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

21 years ago2002-10-23 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Thu, 24 Oct 2002 01:51:44 +0000 (01:51 -0000)]
2002-10-23  Sebastien Pouliot  <spouliot@videotron.ca>

* SymmetricAlgorithm.cs: Fixed CFB mode (do encryption while decrypting!)
* TripleDESCryptoServiceProvider.cs: Ajusted for CFB.

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

21 years agoforgot this
Gonzalo Paniagua Javier [Thu, 24 Oct 2002 00:58:00 +0000 (00:58 -0000)]
forgot this

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

21 years ago2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Oct 2002 00:56:40 +0000 (00:56 -0000)]
2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpWebRequest.cs: applied patch from Tim Haynes
(thaynes@openlinksw.com)

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

21 years ago2002-10-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 24 Oct 2002 00:42:54 +0000 (00:42 -0000)]
2002-10-24  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadPool.cs: now the monitor thread is not sleeping and checking if
more worker threads needed. It waits on _DataInQueue. If (and only if)
there's data in the queue it checks if more worker threads needed and
then sleeps 5 before waiting for queued data again.

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

21 years ago2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Oct 2002 23:21:55 +0000 (23:21 -0000)]
2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlTextReaderTests.cs: fixed TestEntityReferenceInsideText.

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

21 years ago2002-10-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 23 Oct 2002 22:42:54 +0000 (22:42 -0000)]
2002-10-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* XmlTextReader.cs: don't increment depth for entity references.

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

21 years ago2002-10-23 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Wed, 23 Oct 2002 18:28:49 +0000 (18:28 -0000)]
2002-10-23  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged many sources from mcs/mcs, to resync

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

21 years agoRevert this patch
Miguel de Icaza [Wed, 23 Oct 2002 17:04:47 +0000 (17:04 -0000)]
Revert this patch

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

21 years ago * XmlDeclaration.cs : Fixed ParseInput() more parse strictly.
Atsushi Eno [Wed, 23 Oct 2002 16:44:47 +0000 (16:44 -0000)]
* XmlDeclaration.cs : Fixed ParseInput() more parse strictly.
  (now uses Regex.Match() of Regex const object. )
* XmlNode.cs : ConstructDOM() now creates XmlDeclaration node.
* XmlTextReader.cs : ReadProcessingInstruction() now reads
  XMLDeclaration.

* XmlWriter.cs : Implemented main of WriteAttributes().
  TODO: 'defattr' parameter ignored; DTD must be implemented.

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

21 years ago * XmlDocumentTests.cs: TestDocumentLoadUromUrl()
Atsushi Eno [Wed, 23 Oct 2002 16:43:36 +0000 (16:43 -0000)]
* XmlDocumentTests.cs: TestDocumentLoadUromUrl()
* XmlTextWriterTests.cs: TestWriteAttributes()

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

21 years ago2002-10-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Oct 2002 15:13:10 +0000 (15:13 -0000)]
2002-10-23  Dick Porter  <dick@ximian.com>

* file-io.c:
* file-io.h:
* icall.c: Added MonoIO.GetFileType internal call

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

21 years ago2002-10-23 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 23 Oct 2002 15:12:26 +0000 (15:12 -0000)]
2002-10-23  Dick Porter  <dick@ximian.com>

* Process.cs: Redirected standard input needs to have AutoFlush set

2002-10-23  Dick Porter  <dick@ximian.com>

* FileStream.cs: Implemented CanSeek, and used it around all the
calls to MonoIO.Seek.  Fixed buffering in Read() so that it
doesn't block forever on short reads.

* MonoFileType.cs: New enum for GetFileType

* MonoIO.cs: Added GetFileType

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

21 years ago2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Wed, 23 Oct 2002 14:23:09 +0000 (14:23 -0000)]
2002-10-23  Ville Palo <vi64pa@koti.soon.fi>

* System.Data.SqlTypes/SqlDouble.cs:
* System.Data.SqlTypes/SqlSingle.cs: Finished

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

21 years ago2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Wed, 23 Oct 2002 14:09:49 +0000 (14:09 -0000)]
2002-10-23  Ville Palo <vi64pa@koti.soon.fi>

* System.Data.SqlTypes/SqlByte.cs:
* System.Data.SqlTypes/SqlBoolean.cs:
* System.Data.SqlTypes/SqlInt16.cs:
* System.Data.SqlTypes/SqlInt32.cs:
* System.Data.SqlTypes/SqlInt64.cs: Finished.

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

21 years agoUpdate asp.net status
Gonzalo Paniagua Javier [Wed, 23 Oct 2002 11:25:09 +0000 (11:25 -0000)]
Update asp.net status

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

21 years agoFlush
Miguel de Icaza [Wed, 23 Oct 2002 05:48:58 +0000 (05:48 -0000)]
Flush

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

21 years ago2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Wed, 23 Oct 2002 03:07:03 +0000 (03:07 -0000)]
2002-10-20  Sebastien Pouliot  <spouliot@videotron.ca>

* RjindaelManaged.cs: Fixed decryption for 192 and 256 bit block size

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

21 years ago2002-10-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Wed, 23 Oct 2002 00:17:33 +0000 (00:17 -0000)]
2002-10-22  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (PropertyExpr): Do not use PropertyInfo.CanRead,
CanWrite, because those refer to this particular instance of the
property, and do not take into account the fact that we can
override single members of a property.

Constructor requires an EmitContext.  The resolution process does
not happen here, but we need to compute the accessors before,
because the resolution does not always happen for properties.

* typemanager.cs (RealMemberLookup): Set private_ok if we are a
subclass, before we did not update this flag, but we did update
bindingflags.

(GetAccessors): Drop this routine, as it did not work in the
presence of partially overwritten set/get methods.

Notice that this broke the cs1540 detection, but that will require
more thinking.

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

21 years agoAdd new test
Miguel de Icaza [Tue, 22 Oct 2002 23:59:33 +0000 (23:59 -0000)]
Add new test

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

21 years ago2002-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Oct 2002 23:10:19 +0000 (23:10 -0000)]
2002-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* class.cs:
* codegen.cs:
* driver.cs: issue a warning instead of an error if we don't support
debugging for the platform. Also ignore a couple of errors that may
arise when trying to write the symbols. Undo my previous patch.

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

21 years ago2002-10-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Tue, 22 Oct 2002 22:42:53 +0000 (22:42 -0000)]
2002-10-22  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* driver.cs: ignore /debug switch except for Unix platforms.

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 20:50:32 +0000 (20:50 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 20:49:02 +0000 (20:49 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * list:
                Add TODOAttribute in both
                namespaces
                Add TdsConnectionPool

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 20:48:13 +0000 (20:48 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * TdsConnectionPool.cs:
                New class added for pooling connections
        * TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation, handling of
                pooled connections and such.
        * TdsConnection.cs:
                Code cleanups, more implementation
                Connection pooling (works!)
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

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

21 years ago2002-10-22 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 22 Oct 2002 20:44:25 +0000 (20:44 -0000)]
2002-10-22  Miguel de Icaza  <miguel@ximian.com>

* configure.in: Also allow the miss-spelled bohem.

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

21 years ago2002-10-22 Tim Haynes <thaynes@openlinksw.com>
Miguel de Icaza [Tue, 22 Oct 2002 19:32:29 +0000 (19:32 -0000)]
2002-10-22  Tim Haynes <thaynes@openlinksw.com>

* - Fixed the duplication of xmlns:xx = yy when serializing the
XML for serialization

Fixed the unnecessary parsing/serializing when adding assemblies
for serialization

Avoided setting the XmlNode.InnerXml property
(as it's not implemented)

Fixed the usage/implementation of
XmlElement.GetElementsByTagName()

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 16:14:11 +0000 (16:14 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * list:
                Add TODOAttribute in both
                namespaces

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 16:12:57 +0000 (16:12 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * Tds.cs :
                More implementation.  Does some
                query stuff now.  Can also change
                database.
        * TdsConnectionParameters.cs:
                Rename Host to DataSource, and
                add Hostname for the local hostname.
        * TdsPacketEndTokenResult.cs:
                Change TODO attribute
        * TODOAttribute.cs:
                New class added

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

21 years ago2002-10-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 22 Oct 2002 16:07:33 +0000 (16:07 -0000)]
2002-10-23  Nick Drochak  <ndrochak@gol.com>

* DateAndTimeTest.cs: Try to set the culture for these tests and see
if that helps.  All but one works on my machine.

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

21 years ago2002-10-22 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Tue, 22 Oct 2002 16:06:50 +0000 (16:06 -0000)]
2002-10-22  Tim Coleman (tim@timcoleman.com)
        * TdsCommand.cs:
        * TdsTransaction.cs:
                Some implementation
        * TdsConnection.cs:
                Code cleanups, more implementation
        * TODOAttribute.cs:
                Add this to this namespace
        * TdsDataReader.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameterCollection.cs:
                Change the TODO attributes

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

21 years ago2002-10-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 22 Oct 2002 15:23:44 +0000 (15:23 -0000)]
2002-10-23  Nick Drochak  <ndrochak@gol.com>

* makefile: Remove mcs2.exe and mcs3.exe on 'make clean'

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

21 years ago*** empty log message ***
Tim Coleman [Tue, 22 Oct 2002 15:19:49 +0000 (15:19 -0000)]
*** empty log message ***

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

21 years ago2002-10-23 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 22 Oct 2002 15:17:42 +0000 (15:17 -0000)]
2002-10-23  Nick Drochak  <ndrochak@gol.com>

* ConstraintCollectionTest.cs (SetUp): Clear the constraints before
each test.
* ConstraintTest.cs: same
* DataColumnTest.cs: Get exceptions straight.  Some are thrown and some
aren't

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

21 years agoEvidence.cs from Jackson Harper
Miguel de Icaza [Tue, 22 Oct 2002 14:40:02 +0000 (14:40 -0000)]
Evidence.cs from Jackson Harper

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

21 years agoSome updates.
Jaime Anguiano Olarra [Tue, 22 Oct 2002 14:19:07 +0000 (14:19 -0000)]
Some updates.

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

21 years ago2002-10-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Tue, 22 Oct 2002 13:54:27 +0000 (13:54 -0000)]
2002-10-22  Nick Drochak  <ndrochak@gol.com>

* DataColumnTest.cs: Remove compiler warnings and use caught exception
to report useful info.

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

21 years ago2002-10-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Tue, 22 Oct 2002 01:29:26 +0000 (01:29 -0000)]
2002-10-21  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Do not make mcs-debug conditional, so we do not break
builds that use it.

* statement.cs (UsageVector.MergeChildren): I would like Martin to
review this patch.  But basically after all the children variables
have been merged, the value of "Breaks" was not being set to
new_breaks for Switch blocks.  I think that it should be set after
it has executed.  Currently I set this to the value of new_breaks,
but only if new_breaks is FlowReturn.ALWAYS, which is a bit
conservative, but I do not understand this code very well.

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

21 years ago2002-10-21 Daniel Morgan <danmorg@sc.rr.com>
Daniel Morgan [Tue, 22 Oct 2002 00:14:12 +0000 (00:14 -0000)]
2002-10-21  Daniel Morgan <danmorg@sc.rr.com>

* sqlsharpgtk.cs
* SqlEditor.cs: added files for SQL# For GTK#

* win32.make: added make file to build on Windows

* sql-editor-gtk-widget: added subdirectory

* sql-editor-gtk-widget/gnome-db-sqleditor.c
* sql-editor-gtk-widget/gnome-db-sqleditor.h: added files for
sql editor gtk+ widget

* sql-editor-gtk-widget/Win32.make: added make file
to build gtk+ widget on Windows

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

21 years ago2002-10-21 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Mon, 21 Oct 2002 23:32:42 +0000 (23:32 -0000)]
2002-10-21  Tim Coleman (tim@timcoleman.com)
* Tds.cs
* TdsComm.cs:
A whole slew of changes to get logon
to work (it now works in both TDS 7.0
and TDS 4.2) ... danmorg can test with
8.0 if he likes.
TdsComm has some simplifications too,
because C# has some features not present
in the Java implementation.
* TdsConnectionParameters.cs:
Change a few default values.
* TdsMessage.cs:
Implement this class.

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

21 years ago2002-10-21 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Mon, 21 Oct 2002 23:29:04 +0000 (23:29 -0000)]
2002-10-21  Tim Coleman (tim@timcoleman.com)
* TdsConnection.cs:
Make sure to set the TDS Version. (This will
use 4.2)

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

21 years ago2002-10-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 21 Oct 2002 21:26:01 +0000 (21:26 -0000)]
2002-10-21  Miguel de Icaza  <miguel@ximian.com>

* X509CertificateCollection.cs (Add): New method.

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

21 years agoFlush
Miguel de Icaza [Mon, 21 Oct 2002 21:02:12 +0000 (21:02 -0000)]
Flush

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

21 years agoFlush
Miguel de Icaza [Mon, 21 Oct 2002 21:01:26 +0000 (21:01 -0000)]
Flush

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

21 years agoAdded OdbcErrorCollection.cs to list.
Mark Crichton [Mon, 21 Oct 2002 19:22:49 +0000 (19:22 -0000)]
Added OdbcErrorCollection.cs to list.

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

21 years ago2002-10-21 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Mon, 21 Oct 2002 17:05:50 +0000 (17:05 -0000)]
2002-10-21  Miguel de Icaza  <miguel@ximian.com>

* cs-tokenizer.cs: Also allow \r in comments as a line separator.

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

21 years ago2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Oct 2002 17:04:53 +0000 (17:04 -0000)]
2002-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* RC2CryptoServiceProvider.cs: fixed end of lines (changed from \r
to \n).

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

21 years agoImplemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
Brian Ritchie [Mon, 21 Oct 2002 16:44:14 +0000 (16:44 -0000)]
Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
includes full error text returned by ODBC driver

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

21 years ago2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Oct 2002 16:40:28 +0000 (16:40 -0000)]
2002-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* StreamReader.cs: ReadLine now treats a \r not followed by a \n as a
\n (this is what MS does).

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

21 years ago2002-10-19 Ville Palo <vi64pa@koti.soon.fi>
Ville Palo [Mon, 21 Oct 2002 15:23:20 +0000 (15:23 -0000)]
2002-10-19  Ville Palo <vi64pa@koti.soon.fi>

* System.Data.SqlTypes/AllTests.cs:
* System.Data.SqlTypes/SqlGuidTest.cs: new test suite for SqlGuid.

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

21 years ago2002-10-22 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Mon, 21 Oct 2002 15:09:42 +0000 (15:09 -0000)]
2002-10-22  Nick Drochak  <ndrochak@gol.com>

* XmlTextWriterTests.cs: Null is ok when prefix is "xmlns".

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

21 years agoFix typo.
Nick Drochak [Mon, 21 Oct 2002 14:44:16 +0000 (14:44 -0000)]
Fix typo.

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

21 years ago2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
Rodrigo Moya [Mon, 21 Oct 2002 12:21:47 +0000 (12:21 -0000)]
2002-10-21  Rodrigo Moya <rodrigo@ximian.com>

* list: removed libodbchelper.cs file, which has been removed.

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

21 years agoadded new files in System.Data.Odbc
Gonzalo Paniagua Javier [Mon, 21 Oct 2002 12:15:06 +0000 (12:15 -0000)]
added new files in System.Data.Odbc

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

21 years ago2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 21 Oct 2002 12:14:13 +0000 (12:14 -0000)]
2002-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ChangeLog: added.
* OdbcError.cs:
* OdbcException.cs: added dummy implementation for these missing
classes.

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

21 years ago2002-10-21 Duncan Mak <duncan@ximian.com>
Duncan Mak [Mon, 21 Oct 2002 04:18:43 +0000 (04:18 -0000)]
2002-10-21  Duncan Mak  <duncan@ximian.com>

* XmlDocument.cs:
* XmlElement.cs:
* XmlNode.cs:
* XmlTextReader.cs: Implementation for XmlNode.InnerXml from
Atsushi Enomoto <ginga@kit.hi-ho.ne.jp>.

* XmlTextReaderTests.cs:
* XmlElementTests.cs:
* XmlDocumentTests.cs: Patches from Atsushi Enomoto
<ginga@kit.hi-ho.ne.jp>.

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:25:38 +0000 (03:25 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>

* StatusBarPanelAutoSize.cs
* StatusBarPanelBorderStyle.cs
* StatusBarPanelClickEventArgs.cs
* StatusBarPanelClickEventHandler.cs
* StatusBarPanelStyle.cs
* TabAlignment.cs
* ToolBar.cs
* ToolBarAppearance.cs
* ToolBarButton.cs
* ToolBarButtonClickEventArgs.cs
* ToolBarButtonClickEventHandler.cs
* ToolBarButtonStyle.cs
* ToolBarTextAlign.cs
* Tooltip.cs
* TreeNode.cs
* TreeNodeCollection.cs
* TreeView.cs
* TreeViewAction.cs
* TreeViewCancelEventArgs.cs
* TreeViewCancelEventHandler.cs
* TreeViewEventArgs.cs
* TreeViewEventHandler.cs
* UICues.cs
* UICuesEventArgs.cs
* UICuesEventHandler.cs
* UpDownEventArgs.cs
* UpDownEventHandler.cs
* WINELib.csproj
* WINELib.csproj.user
* winelib.sln

* Moved file from SWF need for uncommented code.
* Include porject file for Visual studio.
* forgot solution file for visual studio.
* will break winelib build because some classes that
* should be public are not marked as suh, so default to private.
* resulting in error "visiblity does not match"
* will fix and check in Tuseday.
* planed to fix tonight, but am out of time and want to get this cjahecked in.

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:18:32 +0000 (03:18 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>

* PaintEventHandler.cs
* PropertyTabChangedEventArgs.cs
* PropertyTabChangedEventHandler.cs
* PropertyValueChangedEventArgs.cs
* PropertyValueChangedEventHandler.cs
* QueryAccessibilityHelpEventArgs.cs
* QueryAccessibilityHelpEventHandler.cs
* QueryContinueDragEventArgs.cs
* QueryContinueDragEventHandler.cs
* RightToLeft.cs
* ScrollEventArgs.cs
* ScrollEventHandler.cs
* ScrollEventType.cs
* SelectedGridItemChangedEventArgs.cs
* SelectedGridItemChangedEventHandler.cs
* SizeGripStyle.cs
* SplitterEventArgs.cs
* SplitterEventHandler.cs
* StatusBar.cs
* StatusBarDrawItemEventArgs.cs
* StatusBarDrawItemEventHandler.cs
* StatusBarPanel.cs

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:15:13 +0000 (03:15 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>

* KeyPressEventHandler.cs
* Keys.cs
* LabelEditEventArgs.cs
* LabelEditEventHandler.cs
* LayoutEventArgs.cs
* LayoutEventHandler.cs
* LeftRightAlignment.cs
* LinkArea.cs
* LinkBehavior.cs
* LinkClickedEventArgs.cs
* LinkClickedEventHandler.cs
* LinkLabel.cs
* LinkLabelLinkClickedEventArgs.cs
* LinkLabelLinkClickedEventHandler.cs
* ListViewAlignment.cs
* MainMenu.cs
* MdiLayout.cs
* MeasureItemEventArgs.cs
* MeasureItemEventHandler.cs
* Menu.cs
* Message.cs
* MessageBoxButtons.cs
* MessageBoxDefaultButton.cs
* MessageBoxIcon.cs
* MessageBoxOptions.cs
* MouseButtons.cs
* MouseEventArgs.cs
* MouseEventHandler.cs
* NavigateEventArgs.cs
* NavigateEventHandler.cs
* NodeLabelEditEventArgs.cs
* NodeLabelEditEventHandler.cs
* PaintEventArgs.cs

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:10:32 +0000 (03:10 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>
* HelpEventArgs.cs
* HelpEventHandler.cs
* HorizontalAlignment.cs
* IButtonControl.cs
* IDataObject.cs
* ImageList.cs
* ImageListStreamer.cs
* ImeMode.cs
* IMessageFilter.cs
* InputLanguage.cs
* InputLanguageChangedEventArgs.cs
* InputLanguageChangedEventHandler.cs
* InputLanguageChangingEventArgs.cs
* InputLanguageChangingEventHandler.cs
* InputLanguageCollection.cs
* InvalidateEventArgs.cs
* InvalidateEventHandler.cs
* ItemChangedEventArgs.cs
* ItemChangedEventHandler.cs
* ItemCheckEventArgs.cs
* ItemCheckEventHandler.cs
* ItemDragEventArgs.cs
* ItemDragEventHandler.cs
* IWin32Window.cs
* IWindowTarget.cs
* KeyEventArgs.cs
* KeyEventHandler.cs
* KeyPressEventArgs.cs

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:07:00 +0000 (03:07 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>

* ConvertEventArgs.cs
* ConvertEventHandler.cs
* CreateParams.cs
* Cursor.cs
* DateBoldEventArgs.cs
* DateRangeEventArgs.cs
* DateRangeEventHandler.cs
* DialogResult.cs
* DockStyle.cs
* DragAction.cs
* DragDropEffects.cs
* DragEventArgs.cs
* DragEventHandler.cs
* DrawItemState.cs
* ErrorIconAlignment.cs
* FlatStyle.cs
* FormBorderStyle.cs
* FormStartPosition.cs
* FormWindowState.cs
* GiveFeedbackEventArgs.cs
* GiveFeedbackEventHandler.cs
* GridItem.cs

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 03:02:52 +0000 (03:02 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>
* Application.cs
* Button.cs
* ButtonBase.cs
* changelog
* ContainerControl.cs
* Control.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* Font.cs
* Form.cs
* IAccessible.cs
* IContainerControl.cs
* Label.cs
* MenuItem.cs
* MessageBox.cs
* NativeWindow.cs
* ScrollableControl.cs
* Win32.cs

* Added some implmentation. Uncommented some stuff.
* About to add files to implment stuff uncommented.

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

21 years ago 2002-10-18 DennisHayes <dennish@raytek.com>
Dennis Hayes [Mon, 21 Oct 2002 02:47:35 +0000 (02:47 -0000)]
  2002-10-18  DennisHayes <dennish@raytek.com>
* Application.cs
* Button.cs
* ButtonBase.cs
* changelog
* ContainerControl.cs
* Control.cs
* DrawItemEventArgs.cs
* DrawItemEventHandler.cs
* Font.cs
* Form.cs
* IAccessible.cs
* IContainerControl.cs
* Label.cs
* MenuItem.cs
* MessageBox.cs
* NativeWindow.cs
* ScrollableControl.cs
* Win32.cs

* Added some implmentation. Uncommented some stuff.
* About to add files to implment stuff uncommented.

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

21 years ago2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sun, 20 Oct 2002 20:20:12 +0000 (20:20 -0000)]
2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* using Mono.GetOptions preliminar support for response files,
  changed the makefile target 'test' for use o response file testmbas/filelist

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

21 years agoalpha support for response files
Rafael Teixeira [Sun, 20 Oct 2002 20:06:40 +0000 (20:06 -0000)]
alpha support for response files

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

21 years ago2002-10-20 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Sun, 20 Oct 2002 19:38:09 +0000 (19:38 -0000)]
2002-10-20  Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* merged many sources from mcs/mcs, to resync

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

21 years ago- Transaction Isolation Level is supported
Brian Ritchie [Sun, 20 Oct 2002 19:19:50 +0000 (19:19 -0000)]
- Transaction Isolation Level is supported
- Fixed TinyInt mapping (Thanks Daniel for finding the bug!)
- ExecuteScalar is supported
- Support CloseConnection CommandBehavior for ExecuteReader
- Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
- Parameter support for all data types (needs further optimization)

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

21 years agoOk, my own attempt, after 3 cvs update failures
Miguel de Icaza [Sun, 20 Oct 2002 18:34:48 +0000 (18:34 -0000)]
Ok, my own attempt, after 3 cvs update failures

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

21 years agowrap_as doubly defined bug
Rafael Teixeira [Sun, 20 Oct 2002 18:31:03 +0000 (18:31 -0000)]
wrap_as doubly defined bug

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

21 years ago2002-10-20 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sun, 20 Oct 2002 18:16:26 +0000 (18:16 -0000)]
2002-10-20  Tim Coleman (tim@timcoleman.com)
        * list:
                Add new files to build.

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

21 years ago2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 20 Oct 2002 18:15:47 +0000 (18:15 -0000)]
2002-10-20  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests.cs: Added suite for Rjindael
* RjindaelTest.cs: New. Test vectors from FIPS PUB 197 appendix.

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

21 years ago2002-10-20 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sun, 20 Oct 2002 18:15:04 +0000 (18:15 -0000)]
2002-10-20  Tim Coleman (tim@timcoleman.com)
        * TdsColumnType.cs:
        * TdsContext.cs:
        * TdsEnvPacketSubType.cs:
        * TdsMessage.cs:
        * TdsPacketColumnInfoResult.cs:
        * TdsPacketColumnNamesResult.cs:
        * TdsPacketColumnOrderResult.cs:
        * TdsPacketControlResult.cs:
        * TdsPacketEndTokenResult.cs:
        * TdsPacketErrorResult.cs:
        * TdsPacketMessageResult.cs:
        * TdsPacketOutputParam.cs:
        * TdsPacketResult.cs:
        * TdsPacketRetStatResult.cs:
        * TdsPacketRowResult.cs:
        * TdsPacketSubType.cs:
        * TdsPacketTableNameResult.cs:
        * TdsPacketUnknown.cs:
                New classes added as part of TDS internal implementation.
        * Tds.cs:
                Some work on receiving and interpreting packages received from
                SQL Server.  Still doesn't work completely.
        * TdsComm.cs:
                Add some methods as part of the ongoing work with Tds.cs
        * TdsConnectionParameters.cs:
                Add default values for Encoding ("iso-8859-1"), Port (1433),
                TDS Version (4.2).

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

21 years ago2002-10-20 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sun, 20 Oct 2002 18:11:27 +0000 (18:11 -0000)]
2002-10-20  Sebastien Pouliot  <spouliot@videotron.ca>

* SymmetricAlgorithm.cs: Added better Dispose support
* DES.cs: Now only contains the abstract DES class.
* DESCryptoServiceProvider.cs: Added the DESTransform class (inherited
from SymmetricTransform) based the old DESCore and DESTransformBase code
* RC2.cs: Fixed EffectiveKeySize == 0
* RC2CryptoServiceProvider.cs: Added the RC2Transform class (inherited
from SymmetricTransform) based on the old RC2lImpl code. Unrolled some loops.
* RjindaelManaged.cs: Few more optimizations while looking for decrypting bug
* TripleDESCryptoServiceProvider.cs: New. Implement TripleDESTransform from
DESTransform (non-optimal but working :-).

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

21 years agoFixed compile blocker. Still missing a Type declaration, and removed a
Mark Crichton [Sun, 20 Oct 2002 17:38:47 +0000 (17:38 -0000)]
Fixed compile blocker.  Still missing a Type declaration, and removed a
warning.

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

21 years ago*** empty log message ***
Tim Coleman [Sun, 20 Oct 2002 16:10:05 +0000 (16:10 -0000)]
*** empty log message ***

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

21 years ago2002-10-20 Nick Drochak <ndrochak@gol.com>
Nick Drochak [Sun, 20 Oct 2002 14:06:39 +0000 (14:06 -0000)]
2002-10-20  Nick Drochak  <ndrochak@gol.com>

* cfold.cs: Fixed compile blocker.

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

21 years ago2002-10-20 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Oct 2002 07:41:46 +0000 (07:41 -0000)]
2002-10-20  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: I was chekcing the key, not the file.

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

21 years ago2002-10-20 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sun, 20 Oct 2002 06:46:11 +0000 (06:46 -0000)]
2002-10-20  Tim Coleman (tim@timcoleman.com)
        * TdsConnection.cs:
                Lots of stuff to get this working somewhat.

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

21 years agoAdd to insure ourselves of bug #32218 which btw, I am sure will
Ravi Pratap M [Sun, 20 Oct 2002 01:21:02 +0000 (01:21 -0000)]
Add to insure ourselves of bug #32218 which btw, I am sure will
never resurface but anyhow ;-)

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

21 years ago2002-10-19 Ravi Pratap <ravi@ximian.com>
Ravi Pratap M [Sun, 20 Oct 2002 01:16:43 +0000 (01:16 -0000)]
2002-10-19  Ravi Pratap  <ravi@ximian.com>

* ecore.cs (UserDefinedConversion): Get rid of the bogus error
message that we were generating - we just need to silently return
a null.

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

21 years ago*** empty log message ***
Ravi Pratap M [Sun, 20 Oct 2002 01:14:35 +0000 (01:14 -0000)]
*** empty log message ***

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

21 years ago2002-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sun, 20 Oct 2002 00:36:27 +0000 (00:36 -0000)]
2002-10-19  Miguel de Icaza  <miguel@ximian.com>

* class.cs (Event.Define): Change my previous commit, as this
breaks the debugger.  This is a temporary hack, as it seems like
the compiler is generating events incorrectly to begin with.

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 23:14:35 +0000 (23:14 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
* list:
rename internal files

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 23:03:57 +0000 (23:03 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
        * list:
                Add new files to build.

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 23:03:15 +0000 (23:03 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
        * TdsDataReader.cs:
        * TdsError.cs:
        * TdsErrorCollection.cs:
        * TdsException.cs:
        * TdsParameter.cs:
        * TdsParameterCollection.cs:
                Added new classes, to get started with this namespace.
                This is pretty much what is needed to do things like
                TdsConnection and so on.
        * TdsCommand.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsCommandInternal class.
        * TdsConnection.cs:
                De-wrappify this class.  There is no longer a
                Mono.Data.TdsClient.Internal.TdsConnectionInternal class.
        * TdsTransaction.cs:
                De-wrappify this class.  There is no longer a

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 22:59:13 +0000 (22:59 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
        * TdsCommInternal.cs:
        * TdsConnectionParametersInternal.cs:
        * TdsInternal.cs:
        * TdsPacketTypeInternal.cs:
        * TdsVersionInternal.cs:
                Rename classes, since there will no
                longer be conflicts between these and
                the classes in Mono.Data.TdsClient
        * TdsServerTypeInternal.cs:
                Added "Generic" server type and renamed
                class to TdsServerType

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 22:55:35 +0000 (22:55 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
* TdsTransactionInternal.cs:
* TdsConnectionInternal.cs:
* TdsCommandInternal.cs:
Since these will be exclusively implemented
in Mono.Data.TdsClient they are no longer needed
here.  Lotsa luck guys!

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

21 years ago2002-10-19 Tim Coleman (tim@timcoleman.com)
Tim Coleman [Sat, 19 Oct 2002 22:51:00 +0000 (22:51 -0000)]
2002-10-19  Tim Coleman (tim@timcoleman.com)
* TdsServerType.cs:
* TdsVersion.cs:
Remove these files as they will exist in
Mono.Data.TdsClient.Internal.

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

21 years ago2002-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Oct 2002 22:12:36 +0000 (22:12 -0000)]
2002-10-19  Miguel de Icaza  <miguel@ximian.com>

* expression.cs (Binary.ResolveOperator): Added support for
"U operator - (E x, E y)"

* cfold.cs (BinaryFold): Added support for "U operator - (E x, E
y)".

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

21 years agoUpdate test
Miguel de Icaza [Sat, 19 Oct 2002 22:06:29 +0000 (22:06 -0000)]
Update test

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

21 years ago2002-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Oct 2002 20:21:49 +0000 (20:21 -0000)]
2002-10-19  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (FieldExpr.AddressOf): We had a special code path for
init-only variables, but this path did not take into account that
there might be also instance readonly variables.  Correct this
problem.

This fixes bug 32253

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

21 years ago2002-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Oct 2002 19:50:49 +0000 (19:50 -0000)]
2002-10-19  Miguel de Icaza  <miguel@ximian.com>

* delegate.cs (NewDelegate.DoResolve): Catch creation of unsafe
delegates as well.

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

21 years ago2002-10-19 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Sat, 19 Oct 2002 19:22:53 +0000 (19:22 -0000)]
2002-10-19  Miguel de Icaza  <miguel@ximian.com>

* driver.cs: Change the extension for modules to `netmodule'

* cs-parser.jay: Improved slightly the location tracking for
the debugger symbols.

* class.cs (Event.Define): Use Modifiers.FieldAttr on the
modifiers that were specified instead of the hardcoded value
(FamAndAssem).  This was basically ignoring the static modifier,
and others.  Fixes 32429.

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

21 years agoImprove this test to test bug 32429
Miguel de Icaza [Sat, 19 Oct 2002 19:18:56 +0000 (19:18 -0000)]
Improve this test to test bug 32429

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

21 years ago * makefile: removed hard coded path to libmono
John Sohn [Sat, 19 Oct 2002 17:21:41 +0000 (17:21 -0000)]
    * makefile: removed hard coded path to libmono

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

21 years ago2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 19 Oct 2002 16:25:46 +0000 (16:25 -0000)]
2002-10-19  Sebastien Pouliot  <spouliot@videotron.ca>

* corlib_test.build: Removed all excluded cryptographic test code as
the cyclic dependency was removed (well commented)

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

21 years ago2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 19 Oct 2002 15:50:12 +0000 (15:50 -0000)]
2002-10-19  Sebastien Pouliot  <spouliot@videotron.ca>

* AllTests.cs: Renabled most tests after commenting all code causing a
cyclic dependency (corlib->System.Xml->corlib). Some tests will fail
until commented code is replaced.
* SymmetricAlgorithm.cs: New (189) generated test cases for all default
algorithm implementation, all cipher modes, all padding modes, all key
sizes, all block sizes, feedback...
* PKCS1MaskGenerationMethodTest.cs: Commented vector test. Added new
tests to check for various exceptions

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

21 years ago2002-10-19 Sebastien Pouliot <spouliot@videotron.ca>
Sebastien Pouliot [Sat, 19 Oct 2002 15:40:37 +0000 (15:40 -0000)]
2002-10-19  Sebastien Pouliot <spouliot@videotron.ca>

* corlib.build: Removed all excluded cryptographic source code as the
cyclic dependency was removed (well commented)

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