Fix operator != handling of LHS null
[mono.git] / mcs / class / Npgsql / ChangeLog
index dc4c0cad67923fab5536530e4b75b6dc280479f6..a91ba40c6b3af3064eca3364756c5ecc2553ab74 100644 (file)
@@ -1,3 +1,214 @@
+2009-11-20  Veerapuram Varadhan  <vvaradhan@novell.com>
+
+       * Npgsql.dll.sources: Add
+       Npgsql{Factory,ConnectionStringBuilder}.cs
+       * Npgsql/NpgsqlConnectionString.cs: Comment out redefinition of
+       SslMode.
+       * Npgsql/NpgsqlConnectionStringBuilder.cs: Mark it for 2.x profile
+       onwards.
+       * Npgsql/NpgsqlFactory.cs: Make methods to work also on 2.x profile
+       
+2008-11-05  Francisco Figueiredo Jr.  <francisco@npgsql.org>
+
+       Undone update as it breaks the svn tree. 
+
+2008-11-05  Francisco Figueiredo Jr.  <francisco@npgsql.org>
+       
+       Updated Npgsql to Npgsql2 2.0.1. Now Npgsql requires .Net 2.0 or above
+
+2008-05-05  Francisco Figueiredo Jr.  <francisco@npgsql.org>
+
+        Fixed problems when notification thread throws exception. Not is
+       correctly thrown. See http://pgfoundry.org/forum/message.php?msg_id=1003387 for discussion about that. Thanks Josh Cooley for patch.
+
+
+2007-11-15  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+       *Npgsql/NpgsqlCommand.cs:  [#1010187] Problem with parsing parameters and "<" or ">" operator with Prepare().
+        [#1010186] Thread safety problem when Parsing command text.
+        Thanks Hubert FONGARNAND for patches!
+
+2007-11-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+       *NpgsqlTypes/NpgsqlTypesHelper.cs: This is a single line patch version for handling Standard conforming strings parameter in postgresql.conf. You only need this version instead of 1.0 is you are using this setting or is planning to use it. Also, starting with 8.4 postgresql version, this parameter will be default to on in postgresql.conf. Today it is off.
+       More info can be obtained on this link: http://pgfoundry.org/tracker/index.php?func=detail&aid=1009624&group_id=1000140&atid=592
+       Thanks Laurenz Albe & Erich Lerch for their patch!
+
+
+2006-11-01  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+       
+       *Npgsql/NpgsqlCommand.cs: [#1000765] InvalidCastException for ByteA
+       Parameter when command.Prepare() Thanks Hubert Fongarnand for patch!
+
+2006-10-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+        *Npgsql/NpgsqlCommand.resx,
+         Npgsql/NpgsqlConnection.cs,
+         Npgsql/NpgsqlCommand.cs,
+         Npgsql/NpgsqlState.cs,
+         Npgsql/NpgsqlConnectorPool.cs,
+         Npgsql/NpgsqlCommandBuilder.cs,
+         Npgsql/NpgsqlDataReader.cs,
+         NpgsqlTypes/LargeObjectManager.cs,
+         NpgsqlTypes/NpgsqlDbType.cs,
+         NpgsqlTypes/LargeObject.cs,
+         NpgsqlTypes/NpgsqlTypesHelper.cs,
+         NpgsqlTypes/FastPath.cs: Updated to 1.0 final version. 
+
+
+
+2006-09-06  Kornél Pál  <kornelpal@gmail.com>
+
+       * Test/TestConfiguration.cs: Moved from build/common.
+       * Npgsql/Npgsql_test.dll.sources: Added TestConfiguration.cs.
+
+2006-08-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+
+       *  Npgsql/NpgsqlParameter.cs
+      Npgsql/NpgsqlConnectionString.cs
+      Npgsql/NpgsqlState.resx
+      Npgsql/NpgsqlConnection.cs
+      Npgsql/NpgsqlSchema.cs
+      Npgsql/NpgsqlClosedState.cs
+      Npgsql/NpgsqlCommand.cs
+      Npgsql/NpgsqlConnectorPool.cs
+      Npgsql/NpgsqlConnector.cs
+      Npgsql/NpgsqlTransaction.resx
+      Npgsql/NpgsqlRowDescription.cs
+      Npgsql/NpgsqlCommandBuilder.cs
+      Npgsql/NpgsqlDataReader.cs
+      Npgsql/NpgsqlException.cs
+         Npgsql/NpgsqlMediator.cs
+      Npgsql/NpgsqlReadyState.cs
+      NpgsqlTypes/NpgsqlDbType.cs
+      NpgsqlTypes/NpgsqlTypeConverters.cs
+      NpgsqlTypes/NpgsqlTypesHelper.cs: Updated to RC3 version.
+
+
+
+
+2006-04-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * Npgsql_test.dll.sources,
+      Npgsql.dll.sources,
+      Npgsql/NpgsqlError.cs,
+      Npgsql/NpgsqlCommandBuilder.resx,
+      Npgsql/NpgsqlConnectedState.cs,
+      Npgsql/NpgsqlBind.cs,
+      Npgsql/NpgsqlTransaction.cs,
+      Npgsql/NpgsqlConnectionString.cs,
+      Npgsql/NpgsqlConnection.cs,
+      Npgsql/NpgsqlClosedState.cs,
+      Npgsql/NpgsqlState.cs,
+      Npgsql/NpgsqlAsciiRow.cs,
+      Npgsql/NpgsqlConnector.cs,
+      Npgsql/NpgsqlParameterCollection.cs,
+      Npgsql/NpgsqlCancelRequest.cs,
+      Npgsql/NpgsqlCommandBuilder.cs,
+      Npgsql/NpgsqlException.cs,
+      Npgsql/NpgsqlMediator.cs,
+      Npgsql/NpgsqlReadyState.cs,
+      Npgsql/PGUtil.cs,
+      ChangeLog,
+      Npgsql.dll.resources,
+      NpgsqlTypes/NpgsqlDbType.cs,
+      NpgsqlTypes/NpgsqlTypeConverters.cs,
+      NpgsqlTypes/NpgsqlTypes.cs,
+      NpgsqlTypes/NpgsqlTypesHelper.cs,
+      Makefile: Updated to RC1 version.
+
+
+Thu Feb 23 10:29:13 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+    * Npgsql/NpgsqlCommand.cs: return count for fetch and move, too,
+    patch from Federico Di Gregorio <fog@initd.org>.
+
+
+2006-01-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * PGUtil.cs: [#1000517] ServerVersion operator overload. Fixed. Thanks Otto for heads up.
+
+
+2006-01-01  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+       
+    * NpgsqlCommand.cs: [#1000497] Dot in parameter name causes exception. Added performance patch for GetClearCommandText() thanks Bryan Mayland.
+    * NpgsqlParameterCollection.cs: Added performance patch for GetClearCommandText() thanks Bryan Mayland.
+    * [#1000454] Getting identifier of an inserted row. Added property LastInsertedOID to NpgsqlCommand. This property only works when using a single insert command and the table was created with oids else it returns 0.
+
+2005-12-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlCommand.cs: [#1000500] Fixed problem when parsing parameter names with NpgsqlCommand.Prepare(), [#1000497] Fixed problem with dot in parameter names.
+
+2005-12-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlTransaction.cs: [#1000491] Fixed transaction isolation level setting. Thanks Ottó Havasvölgyi for heads up.
+    * NpgsqlTransaction.cs.resx: Removed unused key.
+
+2005-12-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    * NpgsqlAsciiRow.cs,
+      NpgsqlBind.cs,
+      NpgsqlCommand.cs,
+      NpgsqlConnector.cs,
+      NpgsqlReadyState.cs,
+      NpgsqlState.cs,
+      NpgsqlTypesHelper.cs: [#1000458] Enormous memory increase (and application crash) with large BYTEA parameter. Added binary support.  Thanks Hubert FONGARNAND for patch. Improved network performance by removing some Stream.Flush() calls.
+
+
+2005-12-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+
+       * NpgsqlClosedState.cs:  Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.
+
+2005-12-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+       * Npgsql/NpgsqlCommand.cs: [bugzilla 76961] Fixed problem with ExecuteReader when using SchemaOnly and SingleRow behavior at same time. Thanks Kamil Skalski for feedback.
+
+2005-12-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
+
+    Npgsql/NpgsqlError.cs,
+    Npgsql/NpgsqlParameter.cs,
+    Npgsql/NpgsqlConnectionString.cs,
+    Npgsql/NpgsqlConnection.cs,
+    Npgsql/NpgsqlSchema.cs,
+    Npgsql/NpgsqlClosedState.cs,
+    Npgsql/NpgsqlCommand.cs,
+    Npgsql/NpgsqlState.cs,
+    Npgsql/NpgsqlAsciiRow.cs,
+    Npgsql/NpgsqlConnectorPool.cs,
+    Npgsql/NpgsqlConnector.cs,
+    Npgsql/NpgsqlQuery.cs,
+    Npgsql/NpgsqlRowDescription.cs,
+    Npgsql/NpgsqlCommandBuilder.cs,
+    Npgsql/NpgsqlDataReader.cs,
+    Npgsql/NpgsqlException.cs,
+    Npgsql/NpgsqlMediator.cs,
+    Npgsql/NpgsqlReadyState.cs,
+    Npgsql/NpgsqlEventLog.cs,
+    Npgsql.dll.resources,
+    NpgsqlTypes/NpgsqlTypeConverters.cs,
+    NpgsqlTypes/NpgsqlTypesHelper.cs,
+    Makefile: Updated to 1.0beta1
+
+
+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.
 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.
+        * 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.
@@ -492,7 +703,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
 
        * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
        
-2003-11-23  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-23  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/HashAlgorithm.cs:
        * Npgsql/NpgsqlClosedState.cs:
@@ -506,7 +717,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
        methods to Properties.
 
-2003-11-22  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-22  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlClosedState.cs:
        * Npgsql/NpgsqlConnectedState.cs:
@@ -516,22 +727,22 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        implementation. Now we're using TcpClient for the connection and
        Stream for the abstraction layer to SslClientStream.
 
-2003-11-11  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-11  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
        CanRead because the schema can be readed with or without result
        rows.
 
-2003-11-10  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-10  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
 
-2003-11-10  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-10  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
        when a mapping is not in the collection.
 
-2003-11-09  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-09  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
        CommandBuilder to the local data. Local data should be null if the
@@ -539,21 +750,21 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
 
        * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
 
-2003-11-09  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-09  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Makefile: Little fix for build the resources.
 
        * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
        command.
 
-2003-11-08  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-08  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
        calls, the problem is fixed.
 
        * Makefile: Fix one bug in the build of resources.
 
-2003-11-08  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-08  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
 
@@ -567,7 +778,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
        is more efficient for the deep if structure types.
 
-2003-11-07  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-07  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
        change. The Command objects must not be created in the constructor.
@@ -577,12 +788,12 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        the proper exception (not MissingManifestResourceException). It is
        thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
 
-2003-11-07  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-11-07  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
        different Insrt / Update / Delete commands.
 
-2003-10-20  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-10-20  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlClosedState.cs:
        * Npgsql/NpgsqlConnection.cs:
@@ -595,7 +806,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        * Npgsql/Makefile: Change reference from System.Security.Tls to
        Mono.Security (now Tls lives there).
 
-2003-10-16  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-10-16  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlClosedState.cs:
        * Npgsql/NpgsqlConnectedState.cs:
@@ -603,7 +814,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        because now it is used TlsSession and it doesn't work without
        these changes.
 
-2003-10-16  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-10-16  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Makefile: changed reference from Lib/System.Security.Tls.dll to
        System.Security.Tls because the last will be installed before and
@@ -612,11 +823,11 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        * Lib: Removed Lib directory, moved System.Security.Tls.dll to
        Mono.Security.Tls library directory.
 
-2003-10-15  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-10-15  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Makefile: fix building and the install objectives.
 
-2003-04-26  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-04-26  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
        they works as direct casting from GetValue.
@@ -631,7 +842,7 @@ connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for
        * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
        processing 0 rows queries.
 
-2003-04-26  Pedro Mart�ez Juli� <yoros@wanadoo.es>
+2003-04-26  Pedro Martínez Juliá <yoros@wanadoo.es>
 
        * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
        date formats. I think that it's needed support to auto-detect