Warnings
[mono.git] / mcs / class / System.Data / ChangeLog
index fbc9e5ef73255a9cfae1132d641821f65ed13c4f..304f4c1752fbd1d4a557af2f775486d2824c5015 100644 (file)
@@ -1,3 +1,491 @@
+2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.
+
+2004-04-19  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data.dll.sources : Added XmlSchemaDataImporter.cs
+
+2004-04-15  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data_test.dll.sources :
+         added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.
+
+2004-04-14  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data_test.dll.sources : added DataSetReadXmlTest.cs.
+
+2004-04-13  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.
+
+2004-04-05  Lluis Sanchez Gual  <lluis@ximian.com>
+
+       * System.Data.dll.sources: removed SqlConnectionPool.cs.
+
+2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
+
+       * System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
+       * Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs
+
+2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * System.Data.dll.sources : added classes
+
+2004-03-04 Eran Domb <erand@mainsoft.com>
+
+       * System.Data.dll.sources : added Node.cs, ComparerFactory.cs.
+
+2004-03-03  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data.dll.sources : added Index.cs.
+
+2004-01-21  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.
+
+2004-01-20  Atsushi Enomoto <atsushi@ximian.com>
+
+       * System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.
+
+2003-12-28  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add new .NET 1.2 sources.
+
+2003-12-21  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add new .NET 1.2 sources.
+
+2003-12-19  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add new .NET 1.2 sources.
+
+2003-12-16  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add new .NET 1.2 sources.
+
+2003-11-26  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add many new System.Data classes for NET_1_2 build.
+
+2003-11-25  Tim Coleman <tim@timcoleman.com>
+       * System.Data.dll.sources:
+               Add System.Data/IDataSources.cs to build
+
+2003-07-18  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+       * System.Data.dll.sources: Assembly/Locale.cs added, Assembly/AssemblyInfo.cs added
+
+2003-07-18  Peter Williams  <peter@newton.cx>
+
+       * Makefile (EXTRA_DISTFILES): NUnit.Prefs is not
+       a distable file.
+
+2003-07-16  Peter Williams  <peter@newton.cx>
+
+       * Makefile: Flip around for the new default build
+       profile.
+
+2003-06-16  Tim Coleman <tim@timcoleman.com>
+       * System.Data.Common/DbDataAdapter.cs:
+               Add the DataTable to the result set even if it contains
+               no rows.  Based on report by Krieg Andreas.
+
+2003-03-17  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.build: on windows build, ignore
+       warnings CS0219: "The variable xxx is assigned but its value is
+       never used" and CS0168: "The variable xxx
+       is declared but never used"
+       
+       * System.Data/DataRow.cs: flush
+       
+       * System.Data/DataSet.cs: start implementation on Clear(),
+       and WriteXml() should write the start element <?xml ... ?> at the top
+       of the document
+       
+       * System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
+       of Compute() - still not working
+
+2003-03-16  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data/DataRowView.cs: in the constructor pass
+       DataRow in instead of int index of the DataRow
+       in DataTable.Rows
+       
+       * System.Data/DataTable.cs: implement sorting
+       for method Select(filterExpression,sort)
+       
+       * System.Data/DataView.cs: more implementation -
+       Now, If Sort, RowFilter, or RowStateFilter is set, an 
+       enumerated DataRowViews will be a view with those
+       properties applied.  Still need to implement event handling
+       though.
+
+2003-03-13  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+               Change "where" variable name to "whereClause" at the
+               request of Rhys Weatherley <rweather@zip.com.au>
+
+2003-03-10  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.SqlClient/SqlDataReader.cs: when 
+       the data reader is closed, this SqlDataReader referenced 
+       in SqlConnection needs to be null
+       
+       * System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
+       have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
+       the data reader needs to be immediately closed, and 0 returned
+       as the number of rows added or refreshed
+
+2003-02-18  Daniel Morgan <danmorg@sc.rr.com>
+
+       * DataTableRelationCollection.cs: removed file
+       because its internally in file DataRelationCollection.cs
+
+2003-02-18  Alan Tam <Tam@SiuLung.com>
+\r
+       * DataRelation.cs: Added storage required to hold the relations.\r
+         Checking of constraints are not implemented yet.\r
+       * DataRelationCollection.cs: Implemented DataSetRelationCollection\r
+         and DataTableRelationCollection, both as inner class of the abstract class\r
+         DataRelationCollection (like Microsoft although not documented in ECMA).\r
+       * DataRow.cs: Implemented GetChildRows in a extremely slow way.\r
+         Need to implement caching like Microsoft later.\r
+       * DataSet.cs: Uncomment DataRelation related members. Uncomment\r
+         code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],\r
+         XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in\r
+         GetSerializationData.\r
+       * DataTable.cs: Uncomment DataRelation related members.\r
+
+2003-02-11  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlConnection.cs:
+               Close the data reader properly, and be sure
+               to close the data reader when the connection
+               is closed.
+
+2003-02-10  Nick Drochak  <ndrochak@gol.com>
+
+       * System.Data.build: Keep the standalone tests out of the dll.
+
+2003-02-09  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data.OleDb/OleDbConnection.cs:
+       * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
+
+2003-01-30  Ville Palo <vi64pa@koti.soon.fi>
+
+       * list: Added new file ExpressionElement.cs
+       
+2003-01-26  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data/DataColumn.cs: fix to not check for DataType being set
+       
+       * System.Data/DataRow.cs: misc fixes
+       
+       * Test/SqlTest.cs: accept connection parameters from 
+       command line instead of being hard coded
+       
+       * Test/System.Data_test.build: exclude building SqlTest.cs
+       
+       * Test/System.Data/DataRowTest.cs
+       * Test/System.Data/DataColumnTest.cs: added new tests and numbered
+       all the tests so they can be easily identified
+       
+       * Test/System.Data/DataRelationTest.cs: commented code that calls
+       DataSet's BeginEdit() and EndEdit() which causes a compile error
+
+2003-01-24  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data/DataColumn.cs: fixes to be like .NET - 
+       when setting AllowDBNull to false, determine if there is 
+       any data that has DBNull.Value, implement AutoIncrement, do not
+       allow changing the DataType of the column if data has already been
+       set, check if the DataType is supported, 
+       
+       * System.Data/DataColumnCollection.cs: handle default ColumnName
+       like .NET
+       
+       * System.Data/DataRow.cs: fixes to be like .NET - a
+       data column gets initialized to all DBNull.Values not null, 
+       implement AutoIncrement, when setting ItemArray if the item array being
+       set has less items than the number of columns in the table set those last
+       columns to DBNull.Value, after setting ItemArray values do an EndEdit(), 
+       both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
+       and AutoIncrement if the value is set to null while DBNull.Value only gets set
+       to DBNull.Value
+
+2003-01-17  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.SqlClient.SqlConnection.cs: add connection 
+       parameter UID which is the same thing as User ID
+       
+2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
+       methods.
+
+2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * list: added System.Data/DataTablePropertyDescriptor.cs
+
+2002-12-27  Ville Palo <vi64pa@koti.soon.fi>
+
+       * list: Added System.Data/XmlDataLoader.cs
+       
+2002-12-16  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
+       types of transactions works, i guess ;)
+       
+2002-12-14  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
+       DataSet's datatable is now possible.
+       
+2002-12-11  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
+       GetElementFromRowElement () -methods. Somefixed and little clean up.
+
+2002-12-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Data.SqlClient/SqlCommand.cs:
+       (CloseReader): don't get the output parameters here.
+       (GetOutputParameters): don't skip the stream. The parameters will be
+       there.
+
+       * System.Data.SqlClient/SqlConnection.cs: don't try to execute
+       'sp_reset_connection'.
+
+       * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
+       after the end of the results.
+
+2002-12-04  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: Now this works in both ways,
+       DataSet <--> XmlDataDocument.cs at some level at least.
+       
+2002-12-02  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs : some fixes and some imlemented 
+       methods.
+       
+2002-12-01  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
+               shift.
+
+2002-12-01  Ville Palo <vi64pa@koti.soon.fi>
+
+       * list: Added XmlDataDocument.cs
+       * System.Xml/XmlDataDocument.cs: more implementation.
+       
+2002-11-30  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
+       needed by OdbcDataAdapter
+       
+       * System.Data.Odbc/OdbcDataAdapter.cs\r
+       * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs\r
+       * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs\r
+       * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs\r
+       * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
+       ODBC Data Adapter
+
+       * list: added new files to linux build 
+       in namespace System.Data.Odbc for the ODBC Data Adapter
+       
+       * System.Xml/XmlDataDocument.cs: commented method
+       protected internal override XPathNavigator CreateNavigator(XmlNode node)
+       because it would not compile on .NET Framework.  Added 
+       a FIXME comment there
+
+2002-11-29  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Xml/XmlDataDocument.cs: Started to implement.
+       
+2002-11-26  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlCommand.cs:
+       * System.Data.SqlClient/SqlConnection.cs:
+       * System.Data.SqlClient/SqlDataReader.cs:
+       * System.Data.SqlClient/SqlParameter.cs:
+       * System.Data.SqlClient/SqlParameterCollection.cs:
+       * System.Data.SqlClient/SqlTransaction.cs:
+               Many changes around restructuring of parameter
+               information so that the Sybase provider supports
+               PREPAREs too.
+
+2002-11-25  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
+       
+2002-11-21  Tim Coleman <tim@timcoleman.com>
+        * System.Data.build:
+        * System.Data.SqlClient/SqlCommand.cs:
+        * System.Data.SqlClient/SqlConnection.cs:
+        * System.Data.SqlClient/SqlConnectionPool.cs:
+        * System.Data.SqlClient/SqlDataReader.cs:
+        * System.Data.SqlClient/SqlException.cs:
+        * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
+        * System.Data.SqlClient/SqlParameter.cs:
+        * System.Data.SqlClient/SqlTransaction.cs:
+        * System.Data.SqlClient/SqlXmlTextReader.cs:
+        * System.Data.SqlTypes/SqlDecimal.cs:
+                Modify to accept new Mono.Data.Tds.Protocol
+                namespace in Mono.Data.Tds assembly, replacing
+                Mono.Data.TdsClient.Internal
+
+2002-11-20  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from 
+       decimal.c file. Does not work correctly yet.
+       
+2002-11-18  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlConnection.cs:
+               BeginTransaction bug.
+       * System.Data.SqlClient/SqlParameter.cs:
+               Add some comments to describe what is going on.
+       * System.Data.SqlClient/SqlCommand.cs:
+               Add a TODO.
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Add support to get SQL Types
+
+2002-11-16  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data/DataView.cs: fix bug
+       with DataViewEnumerator causing InvalidOperationException
+       on the last item
+
+2002-11-15  Tim Coleman <tim@timcoleman.com>
+       * System.Data.Common/DbDataPermission.cs:
+       * System.Data.SqlClient/SqlClientPermission.cs:
+               Make these agree on the class status page.
+        * System.Data.SqlClient/SqlCommand.cs:
+                - Fix up handling of GUID and [Var]Binary, and Image types
+        * System.Data.SqlClient/SqlParameter.cs:
+                - Provide support for conversion between Type,
+                  DbType, SqlDbType, and the SQL server type names.
+                - Fix up handling of GUID and [Var]Binary types
+        * System.Data.SqlClient/SqlParameterCollection.cs:
+               Correct all of the Add methods.
+        * Test/SqlTest.cs:
+                - Add more types to test: unique identifier, binary,
+                 image, smalldatetime, money, smallmoney, timestamp
+
+2002-11-14  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data/DataColumnPropertyDescriptor.cs
+       * System.Data/DataRowView.cs
+       * System.Data/DataView.cs
+       * System.Data.Common/DbDataRecord.cs: a little bit more
+       implementation for data binding purposes
+       
+       * Test/PostgresTest.cs
+       * Test/TestSqlDataAdapter.cs
+       * Test/TestSqlException.cs
+       * TestSqlParameters.cs: fixed test for PostgreSQL's new home
+       at Mono.Data.PostgreSqlClient
+
+2002-11-14  Tim Coleman <tim@timcoleman.com>
+       * System.Data.SqlClient/SqlCommand.cs:
+               Slight reformatting of Bit values and sql statements
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Implement RecordsAffected
+               Complete SchemaTable
+       * System.Data.SqlClient/SqlParameter.cs:
+               Propertly support Char/NChar
+       * System.Data.SqlClient/SqlXmlTextReader.cs:
+               Add Close () to the Dispose () method
+
+2002-11-13  Tim Coleman <tim@timcoleman.com>
+       * Test/SqlTest.cs:
+               New class added for testing SqlClient
+       * System.Data.SqlClient/SqlCommand.cs:
+               Add handling for SqlDbType.Bit
+       * System.Data.SqlClient/SqlConnection.cs:
+               Implement Dispose () methods.
+               Change ConnectionString setter
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Implement Dispose () methods.
+               Set RecordsAffected to -1 by default. Need to
+               set this correctly in the future.
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+       * System.Data.SqlClient/SqlDataAdapter.cs:
+       * System.Data.SqlClient/SqlTransaction.cs:
+       * System.Data.SqlClient/SqlXmlTextReader.cs:
+               Implement Dispose () methods.
+
+2002-11-12  Tim Coleman <tim@timcoleman.com>
+       * list:
+               Remove Mono.Data.TdsClient.Internal/TdsContext.cs
+       * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
+       * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
+               Complete these classes
+       * System.Data.Common/DbDataAdapter.cs:
+               Experimental support for FillSchema ()
+
+2002-11-11  Tim Coleman <tim@timcoleman.com>
+        * System.Data/ResDescriptionAttribute.cs:
+        * list
+                New internal class added
+        * System.Data/Constraint.cs:
+        * System.Data/ConstraintCollection.cs:
+        * System.Data/DBConcurrencyException.cs:
+        * System.Data/DataColumn.cs:
+        * System.Data/DataColumnCollection.cs:
+        * System.Data/DataRelation.cs:
+        * System.Data/DataRelationCollection.cs:
+        * System.Data/DataRow.cs:
+        * System.Data/DataRowBuilder.cs:
+        * System.Data/DataRowBuilder.cs:
+        * System.Data/DataRowCollection.cs:
+        * System.Data/DataSet.cs:
+        * System.Data/DataTable.cs:
+        * System.Data/DataTableCollection.cs:
+        * System.Data/DataView.cs:
+        * System.Data/DataViewManager.cs:
+        * System.Data/DataViewSetting.cs:
+        * System.Data/DataViewSettingCollection.cs:
+        * System.Data/ForeignKeyConstraint.cs:
+        * System.Data/ForeignKeyConstraint.cs:
+        * System.Data/InternalDataCollectionBase.cs:
+        * System.Data/MergeFailedEventArgs.cs:
+        * System.Data/StrongTypingException.cs:
+        * System.Data/TypeDataSetGeneratorException.cs:
+        * System.Data/UniqueConstraint.cs:
+        * System.Data.Common/DataAdapter.cs:
+        * System.Data.Common/DataColumnMapping.cs:
+        * System.Data.Common/DataColumnMappingCollection.cs:
+        * System.Data.Common/DataTableMapping.cs:
+        * System.Data.Common/DataTableMappingCollection.cs:
+        * System.Data.Common/DbDataAdapter.cs:
+        * System.Data.Common/DbDataPermission.cs:
+        * System.Data.Common/DbDataPermissionAttribute.cs:
+        * System.Data.Common/DbEnumerator.cs:
+        * System.Data.SqlClient/SqlCommand.cs:
+        * System.Data.SqlClient/SqlCommandBuilder.cs:
+        * System.Data.SqlClient/SqlConnection.cs:
+        * System.Data.SqlClient/SqlDataAdapter.cs:
+        * System.Data.SqlClient/SqlParameter.cs:
+                Add missing attributes, methods, properties based on information
+                from System.Data class status page on go-mono.com.
+
+
+2002-11-10  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
+       
+2002-11-09  Tim Coleman <tim@timcoleman.com>
+       * list:
+       * System.Data/DataCategoryAttribute.cs:
+               Add new attribute based on corcompare
+
+2002-11-09  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
+       based on the PgSql/SqlClient data adapter classes.
+
 2002-11-09  Tim Coleman <tim@timcoleman.com>
        * list:
                Add new internal tds classes