merge from trunk revisions 58933, 58935, 58936
[mono.git] / mcs / class / Npgsql / ChangeLog
index 87feec5becc634d73bf9830e10099c4287d1bc6d..b3251478d632563bee3cd6eb7cf2e1360f84a57b 100644 (file)
@@ -1,3 +1,178 @@
+
+2005-08-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+    * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
+    * NpgsqlDataReader.cs: Updated ProviderType metadata from NpgsqlDataReader.GetResultsetSchema to be the string for the type rather than the oid.  Fixed ColumnSize, NumericPrecision, NumericScale, BaseColumnName, AllowDBNull, and IsAliased. Also integrated patch from (rlp at bamafolks dot com), gborg 751. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patches!
+    * NpgsqlConnection.cs,
+    NpgsqlSchema.cs: Josh Cooley (jbnpgsql at tuxinthebox dot net) improved Metadata support in Npgsql. Added support for the following collections through NpgsqlConnection.GetSchema() methods: MetaDataCollections, Restrictions, Databases, Tables, Columns, Views and Users. Also added support for restrictions when getting info about these collections.
+    * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
+    * NpgsqlDbType.cs,
+    NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
+    * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
+    * NpgsqlDataAdapter: Updated constructor documentation.
+    * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
+    * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
+    * NpgsqlCommandBuilder.cs: Updated documentation.
+    
+2005-08-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+       * Makefile,
+       Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
+
+2005-08-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+        * NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
+
+        
+2005-08-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+       * NpgsqlConnection.cs:  Fixed documentation about User Id connection string key. Thanks peyn at tlen dot pl for heads up. Fixes gborg 1388
+
+2005-07-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+        * NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.
+       
+
+2005-07-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+        * NpgsqlTypes/NpgsqlTypeConverters.cs:  Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.
+       
+2005-07-08  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * Npgsql/NpgsqlCommand.cs: Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."
+
+2005-07-05 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+   
+    * NpgsqlTypes/NpgsqlDbType.cs,
+      NpgsqlTypes/NpgsqlTypesHelper.cs,
+      Npgsql/NpgsqlParameter.cs,
+      Npgsql/NpgsqlConnectionString.cs,
+      Npgsql/NpgsqlState.resx,
+      Npgsql/NpgsqlConnection.cs,
+      Npgsql/NpgsqlClosedState.cs,
+      Npgsql/NpgsqlCommand.cs,
+      Npgsql/NpgsqlConnector.cs,
+      Npgsql/NpgsqlParameterCollection.cs,
+      Npgsql/NpgsqlDataReader.cs,
+      Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
+
+2005-02-20 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
+
+2005-02-13 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlTypes/NpgsqlTypesHelper.cs: gborg 1121: Fixed another culture variant representation problem when handling floating numbers. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
+    gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
+    Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
+    
+2005-02-08 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
+    * Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
+
+2005-02-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
+
+2005-01-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
+    Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up. 
+    Fixed internal constructor to initialize Parameters collection and timeout.
+
+2005-01-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * Npgsql/NpgsqlParameter.cs,
+    Npgsql/NpgsqlConnection.cs,
+    Npgsql/NpgsqlCommand.cs,
+    Npgsql/NpgsqlParameterCollection.cs,
+    Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
+
+2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Makefile : quick csc build fix (tested on mcs as well).
+
+2005-01-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+        * NpgsqlTypes/NpgsqlTypes.cs,
+        Npgsql.dll.sources,
+        Npgsql/NpgsqlParameter.cs,
+        Npgsql/NpgsqlConnection.cs,
+        Npgsql/NpgsqlCommand.cs,
+        Npgsql/NpgsqlParameterCollection.cs,
+        Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
+        * NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.
+
+2005-01-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+        * NpgsqlTypes/NpgsqlDbType.cs,
+        NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
+        * Npgsql/PGUtil.cs,
+        Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
+        * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support. 
+        gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
+        Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
+        * Npgsql/NpgsqlCommandBuilder.cs,
+        NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
+        * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
+        
+        
+
+2004-12-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+        * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
+        * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
+        * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.
+        
+2004-12-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+       * Npgsql/NpgsqlCommand.cs: Fixed gborg 1088 and 1080. Thanks Neri (neri at gborg dot postgresql dot org) for help. Now mapped output parameters are correctly updated regardless their position in Parameters collection.
+
+2004-12-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+       * Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them.
+       * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures. 
+
+2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+       * Npgsql/NpgsqlConnector (IsValid): Clean mediator after get a connection from pool and test it for validity. This fix a bug which some times occured which made available this test resultset to user when it shouldn't. 
+
+2004-12-07  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile (CLEAN_FILES): Add $(RESX_RES).
+       ($(the_lib)): Depend on $(OTHER_RES) too.
+       ($(RESX_RES)): Pass argument of RESGEN through
+       PLATFORM_CHANGE_SEPARATOR_CMD.
+
+2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+
+       * Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can use these types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.
+
+2004-11-26  Raja R Harinath  <rharinath@novell.com>
+
+       * Makefile (OTHER_RES): New.  List of .bmp files.
+       (EXTRA_DISTFILES): Distribute them.
+
+2004-11-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
+    
+    Updated to 0.7beta3 release.
+    * NpgsqlBind.cs:  Minor code cleanup.
+    * NpgsqlClosedState.cs: Code formatting.
+    * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
+    * NpgsqlConnection.cs: Fixed contructor log message.
+    * NpgsqlConnectionString.cs: Code formatting.
+    * NpgsqlConnector.cs:
+        ReleasePlansPortals: Added method to release used plans and portals.
+        NextPortalName, NextPlanName: Added methods to handle name generation.
+    * NpgsqlConnectorPool.cs:
+        UngetPooledConnector: Added call to release plans and portals in connector.
+    * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
+    * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
+    * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
+    * NpgsqlState.cs: 
+        ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
+    * NpgsqlState.resx: Fixed resource key typo.
+    * NpgsqlTransaction.cs: Fixed IDisposable pattern implementation of NpgsqlTransaction. Now it doesn't incorrectly raise InvalidOperation exceptions. Thanks Ivan Radovanovic ( rivan at sezampro dot yu ) for heads up.
+     * NpgsqlDbType.cs: Code cleanup.
+     * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
+     * NpgsqlTypes.cs: Code cleanup.
+     * NpgsqlTypesHelper.cs: 
+        (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
+        (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
+
 2004-11-25  Raja R Harinath  <rharinath@novell.com>
 
        * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.