2002-11-12 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Data / ChangeLog
index b44a7050a06aa4cffef5daf15ecdd470cbd60c73..32745d1f0f10d42c745e0d5e06b1093143c6e26b 100644 (file)
@@ -1,3 +1,341 @@
+2002-11-12  Tim Coleman <tim@timcoleman.com>
+       * 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
+       * System.Data.Common/DbDataAdapter.cs:
+       * System.Data.SqlClient/SqlDataAdapter.cs:
+               Change event calling system
+       * System.Data.SqlClient/SqlClientPermission.cs:
+       * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Add comments
+       * System.Data.SqlClient/SqlCommand.cs:
+               Some changes to make consistent with .NET based on Sql server traces
+               Implement command timeout
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+               Make sure that we only build a command if key info found
+       * System.Data.SqlClient/SqlConnection.cs:
+               Change event calling system
+               Some changes to make consistent with .NET based on Sql server traces
+               Implement connection timeout
+       * System.Data.SqlClient/SqlConnectionPool.cs:
+               Implement connection timeout
+       * System.Data.SqlClient/SqlError.cs:
+               Implement ToString ()
+       * System.Data.SqlClient/SqlException.cs:
+               Mucho implementation and cleanup
+       * System.Data.SqlClient/SqlParameter.cs:
+               Implement Clone ()
+       * System.Data.SqlClient/SqlParameterCollection.cs:
+               Code cleanup
+       * System.Data.SqlClient/SqlTransaction.cs:
+               Move some of the transaction creation to SqlConnection to be consistent
+               with .NET SQL traces
+
+2002-11-08  Tim Coleman <tim@timcoleman.com>
+       * System.Data/DataRow.cs:
+       * System.Data/DataTable.cs:
+               Some fix-ups related to the DbDataAdapter to make it work.
+       * System.Data.Common/DbDataAdapter.cs:
+               Fix the Fill () and Update () methods.  These now work
+               fairly well.  Need mucho testing.
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+               Support table mappings and parameter source versions now.
+       * System.Data.SqlClient/SqlConnection.cs:
+       * System.Data.SqlClient/SqlTransaction.cs:
+               Add set accessor for transaction so that SqlTransaction.Commit ()
+               will remove itself from the connection.
+       * System.Data.SqlClient/SqlDataAdapter.cs:
+               Update/Insert/Delete command should be null by default.
+       * System.Data.SqlClient/SqlException.cs:
+               Remove a TODO attribute
+       * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
+               Properly handle the SqlCommand object
+
+2002-11-08  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are 
+       implemented.
+       
+2002-11-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
+       my comments and do something more appropiate.
+
+2002-11-07  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data.SqlTypes/SqlBinary.cs:
+       * System.Data.SqlTypes/SqlBoolean.cs:
+       * System.Data.SqlTypes/SqlByte.cs:
+       * System.Data.SqlTypes/SqlDateTime.cs:
+       * System.Data.SqlTypes/SqlDecimal.cs:
+       * System.Data.SqlTypes/SqlDouble.cs:
+       * System.Data.SqlTypes/SqlDecimal.cs:
+       * System.Data.SqlTypes/SqlGuid.cs:
+       * System.Data.SqlTypes/SqlInt16.cs:
+       * System.Data.SqlTypes/SqlInt32.cs:
+       * System.Data.SqlTypes/SqlInt64.cs:
+       * System.Data.SqlTypes/SqlMoney.cs:
+       * System.Data.SqlTypes/SqlSingle.cs:
+       * System.Data.SqlTypes/SqlString.cs: Implemented more methods and 
+       fixed some. SqlBoolean Equals (object value) -method improvements to
+       all classes.
+       
+2002-11-07  Tim Coleman <tim@timcoleman.com>
+       * System.Data.Common/DbDataAdapter.cs:
+               Remove NotImplementedException in Dispose
+       * System.Data.Common/FieldNameLookup.cs:
+               Should be sealed
+       * System.Data.SqlClient/SqlCommand.cs:
+               Fix CommandText accessor (stack overflow)
+               Implement DeriveParameters method
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+               Implement this class
+       * System.Data.SqlClient/SqlConnection.cs:
+               Change application name to "Mono SqlClient Data Provider"
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Add new schema information
+       * System.Data.SqlClient/SqlError.cs:
+       * System.Data.SqlClient/SqlErrorCollection.cs:
+               Remove internal methods, TODO attributes
+       * System.Data.SqlClient/SqlParameter.cs:
+               Add new internal constructor for DeriveParameters use
+       * System.Data.SqlClient/SqlParameterConverter.cs:
+               Add missing methods based on class status
+
+2002-11-07  Nick Drochak <ndrochak@gol.com>
+       * list: add System.Data/ColumnDataPropertyDescriptor.cs
+
+2002-11-04  Tim Coleman <tim@timcoleman.com>
+       * list:
+               Add Mono.Data.TdsClient.Internal.TdsInternalError
+               Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
+               Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
+               Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
+               Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
+               Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
+               Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
+               Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
+               Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
+       * System.Data.Common/RowUpdatedEventArgs.cs:
+       * System.Data.Common/RowUpdatingEventArgs.cs:
+               Implement
+       * System.Data.SqlClient/SqlCommand.cs:
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Remove checks for errors.  These are now handled by events
+       * System.Data.SqlClient/SqlConnection.cs:
+       * System.Data.SqlClient/SqlError.cs:
+       * System.Data.SqlClient/SqlException.cs:
+       * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
+               Add event handlers and triggers for errors, messages, state change
+       * System.Data.SqlClient/SqlParameter.cs:
+               Re-add refreshproperties
+       * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
+       * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
+       * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
+       * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
+               Implement
+
+2002-11-04  Tim Coleman <tim@timcoleman.com>
+       * list:
+               Add Mono.Data.TdsClient.Internal.TdsBigDecimal
+               Add System.Data.SqlClient.SqlParameterConverter
+               Add System.Data.DataSysDescriptionAttribute
+       * System.Data/DataSysDescriptionAttribute.cs:
+               New class added
+       * System.Data.Common/DbDataPermission.cs:
+               Add CreateInstance method
+       * System.Data.SqlClient/SqlClientPermission.cs:
+       * System.Data.SqlClient/SqlError.cs:
+               Add Serializable attribute
+       * System.Data.SqlClient/SqlCommand.cs:
+       * System.Data.SqlClient/SqlConnection.cs:
+       * System.Data.SqlClient/SqlDataAdapter.cs:
+       * System.Data.SqlClient/SqlParameter.cs:
+               Add some missing property attributes
+       * System.Data.SqlClient/SqlCommandBuilder.cs:
+               Add some missing property attributes
+               Implement properties
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Implement missing methods
+       * System.Data.SqlClient/SqlErrorCollection.cs:
+               Implement the properties
+       * System.Data.SqlClient/SqlException.cs:
+               Remove extra property accessors
+       * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
+               Add internal constructor
+       * System.Data.SqlClient/SqlParameterCollection.cs:
+               Add internal constructor
+               Add property attributes
+       * System.Data.SqlClient/SqlParameterConverter.cs:
+               New internal class added
+       * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
+       * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
+               Remove destructor
+       * System.Data.SqlTypes/SqlDecimal.cs:
+               Add implicit conversion from TdsBigDecimal to SqlDecimal
+       * System.Data.SqlTypes/SqlString.cs:
+       * System.Data.SqlTypes/SqlInt16.cs:
+       * System.Data.SqlTypes/SqlDateTime.cs:
+               Change code to remove compiler warnings
+
+2002-11-04  Stuart Caborn <stuart.caborn@clearswift.com>
+
+       * list: added System.Data/XmlConstants.cs to
+       Linux build
+
+    * System.Data/XmlConstants.cs: added -
+       * System.Data/DataTable.cs
+       * System.Data/DataSet.cs
+       * System.Data/DataColumn.cs
+       * System.Data/DataColumnCollection.cs
+       * System.Data/DataRelation.cs: modified -
+       Began initial implementation of WriteXml \r
+       and WriteXmlSchema. There is no support for DiffGrams \r
+       yet. In WriteSchema mode, relationships are missing, \r
+       all types are xs:string and the namespacing is not \r
+       working properly. Added support for Ordinals in the \r
+       DataColumnCollection and added support for \r
+       namespaces and prefixes.\r
+
+2002-11-03  Ville Palo <vi64pa@koti.soon.fi>
+
+       * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
+       by NUnitConsole_mono.exe
+       
+2002-11-03  Tim Coleman (tim@timcoleman.com)
+       * System.Data.SqlClient/SqlCommand.cs:
+               Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Get more schema info if available
+       * list:
+               Add Mono.Data.TdsClient.Internal.TdsColumnStatus
+
+2002-11-02  Tim Coleman (tim@timcoleman.com) 
+       * System.Data.SqlClient/SqlCommand.cs:
+               Change to use sp_executesql to run regular text queries.
+               Now, sp_executesql for text, sp_execute for prepared,
+               and execute for SPs means everything runs a procedure.
+       * System.Data.SqlClient/SqlParameter.cs:
+               Allow client to set parameter name in Prepare ()
+       * System.Data.SqlClient/SqlParameterCollection.cs:
+               Implement some methods
+       * System.Data.SqlClient/SqlDataReader.cs:
+               Since everything is an SP now, we know that when
+               we see DoneProc, that we are really done.
+
+2002-11-01  Tim Coleman (tim@timcoleman.com) :
+       * System.Data.Common/DbEnumerator.cs :
+               Throw correct exception on Reset ()
+               Add ColumnSize to schema table.
+       * System.Data.SqlClient/SqlDataReader.cs :
+               Add ColumnSize to schema table.
+       * System.Data.SqlClient/SqlCommand.cs :
+               Change the way that preparing is handled.
+               Now uses sp_prepare on the server instead of temp
+               stored procedures because it's the Right Thing[tm] to do.
+       * System.Data.SqlClient/SqlConnection.cs :
+               Store data readers here rather than in command
+       * System.Data.SqlClient/SqlDataReader.cs :
+               More implementation, including binary types
+       * System.Data.SqlClient/SqlParameter.cs :
+               Lowercase type name
+
+2002-10-31  Tim Coleman (tim@timcoleman.com)
+        * System.Data.Common/DbDataAdapter.cs :
+                Fix handling of nulls
+        * System.Data.Common/DbDataRecord.cs :
+                Change GetFieldType ()
+        * System.Data.Common/DbEnumerator.cs :
+                Add new schema information
+        * System.Data.Common/FieldNameLookup.cs :
+                Change definition of schema
+        * System.Data.Common/SchemaInfo.cs :
+                Add more information
+        * System.Data.SqlClient/SqlDataReader.cs :
+                get more schema table data
+        * list :
+                Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
+
+2002-10-31  Ville Palo <vi64pa@koti.soon.fi>
+
+       * SqlBinary.cs:
+       * SqlBoolean.cs:
+       * SqlByte.cs:
+       * SqlDecimal.cs:
+       * SqlDouble.cs:
+       * SqlInt16.cs:
+       * SqlInt64.cs:
+       * SqlString.cs: Some bugfixes and some TODOs but so much 
+       work to do.
+
 2002-10-30  Tim Coleman (tim@timcoleman.com)
        * System.Data.Common/FieldNameLookup.cs:
        * System.Data.Common/SchemaInfo.cs: