2006-09-14 Jonathan Chambers <joncham@gmail.com>
[mcs.git] / class / Npgsql / ChangeLog
blob3595efb6ce9912f42bf51c71cebc7583f80c44a9
1 2006-09-06  Kornél Pál  <kornelpal@gmail.com>
3         * Test/TestConfiguration.cs: Moved from build/common.
4         * Npgsql/Npgsql_test.dll.sources: Added TestConfiguration.cs.
6 2006-08-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
9         *  Npgsql/NpgsqlParameter.cs
10       Npgsql/NpgsqlConnectionString.cs
11       Npgsql/NpgsqlState.resx
12       Npgsql/NpgsqlConnection.cs
13       Npgsql/NpgsqlSchema.cs
14       Npgsql/NpgsqlClosedState.cs
15       Npgsql/NpgsqlCommand.cs
16       Npgsql/NpgsqlConnectorPool.cs
17       Npgsql/NpgsqlConnector.cs
18       Npgsql/NpgsqlTransaction.resx
19       Npgsql/NpgsqlRowDescription.cs
20       Npgsql/NpgsqlCommandBuilder.cs
21       Npgsql/NpgsqlDataReader.cs
22       Npgsql/NpgsqlException.cs
23           Npgsql/NpgsqlMediator.cs
24       Npgsql/NpgsqlReadyState.cs
25       NpgsqlTypes/NpgsqlDbType.cs
26       NpgsqlTypes/NpgsqlTypeConverters.cs
27       NpgsqlTypes/NpgsqlTypesHelper.cs: Updated to RC3 version.
32 2006-04-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
34     * Npgsql_test.dll.sources,
35       Npgsql.dll.sources,
36       Npgsql/NpgsqlError.cs,
37       Npgsql/NpgsqlCommandBuilder.resx,
38       Npgsql/NpgsqlConnectedState.cs,
39       Npgsql/NpgsqlBind.cs,
40       Npgsql/NpgsqlTransaction.cs,
41       Npgsql/NpgsqlConnectionString.cs,
42       Npgsql/NpgsqlConnection.cs,
43       Npgsql/NpgsqlClosedState.cs,
44       Npgsql/NpgsqlState.cs,
45       Npgsql/NpgsqlAsciiRow.cs,
46       Npgsql/NpgsqlConnector.cs,
47       Npgsql/NpgsqlParameterCollection.cs,
48       Npgsql/NpgsqlCancelRequest.cs,
49       Npgsql/NpgsqlCommandBuilder.cs,
50       Npgsql/NpgsqlException.cs,
51       Npgsql/NpgsqlMediator.cs,
52       Npgsql/NpgsqlReadyState.cs,
53       Npgsql/PGUtil.cs,
54       ChangeLog,
55       Npgsql.dll.resources,
56       NpgsqlTypes/NpgsqlDbType.cs,
57       NpgsqlTypes/NpgsqlTypeConverters.cs,
58       NpgsqlTypes/NpgsqlTypes.cs,
59       NpgsqlTypes/NpgsqlTypesHelper.cs,
60       Makefile: Updated to RC1 version.
63 Thu Feb 23 10:29:13 CET 2006 Paolo Molaro <lupus@ximian.com>
65     * Npgsql/NpgsqlCommand.cs: return count for fetch and move, too,
66     patch from Federico Di Gregorio <fog@initd.org>.
69 2006-01-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
71     * PGUtil.cs: [#1000517] ServerVersion operator overload. Fixed. Thanks Otto for heads up.
74 2006-01-01  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
75         
76     * NpgsqlCommand.cs: [#1000497] Dot in parameter name causes exception. Added performance patch for GetClearCommandText() thanks Bryan Mayland.
77     * NpgsqlParameterCollection.cs: Added performance patch for GetClearCommandText() thanks Bryan Mayland.
78     * [#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.
80 2005-12-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
82     * NpgsqlCommand.cs: [#1000500] Fixed problem when parsing parameter names with NpgsqlCommand.Prepare(), [#1000497] Fixed problem with dot in parameter names.
84 2005-12-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
86     * NpgsqlTransaction.cs: [#1000491] Fixed transaction isolation level setting. Thanks Ottó Havasvölgyi for heads up.
87     * NpgsqlTransaction.cs.resx: Removed unused key.
89 2005-12-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
91     * NpgsqlAsciiRow.cs,
92       NpgsqlBind.cs,
93       NpgsqlCommand.cs,
94       NpgsqlConnector.cs,
95       NpgsqlReadyState.cs,
96       NpgsqlState.cs,
97       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.
100 2005-12-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
103         * NpgsqlClosedState.cs:  Added a performance improvement fix. Npgsql now use a buffered stream for all server interactions.
105 2005-12-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
107         * Npgsql/NpgsqlCommand.cs: [bugzilla 76961] Fixed problem with ExecuteReader when using SchemaOnly and SingleRow behavior at same time. Thanks Kamil Skalski for feedback.
109 2005-12-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
111     Npgsql/NpgsqlError.cs,
112     Npgsql/NpgsqlParameter.cs,
113     Npgsql/NpgsqlConnectionString.cs,
114     Npgsql/NpgsqlConnection.cs,
115     Npgsql/NpgsqlSchema.cs,
116     Npgsql/NpgsqlClosedState.cs,
117     Npgsql/NpgsqlCommand.cs,
118     Npgsql/NpgsqlState.cs,
119     Npgsql/NpgsqlAsciiRow.cs,
120     Npgsql/NpgsqlConnectorPool.cs,
121     Npgsql/NpgsqlConnector.cs,
122     Npgsql/NpgsqlQuery.cs,
123     Npgsql/NpgsqlRowDescription.cs,
124     Npgsql/NpgsqlCommandBuilder.cs,
125     Npgsql/NpgsqlDataReader.cs,
126     Npgsql/NpgsqlException.cs,
127     Npgsql/NpgsqlMediator.cs,
128     Npgsql/NpgsqlReadyState.cs,
129     Npgsql/NpgsqlEventLog.cs,
130     Npgsql.dll.resources,
131     NpgsqlTypes/NpgsqlTypeConverters.cs,
132     NpgsqlTypes/NpgsqlTypesHelper.cs,
133     Makefile: Updated to 1.0beta1
136 2005-08-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
137     * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
138     * 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!
139     * NpgsqlConnection.cs,
140     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.
141     * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
142     * NpgsqlDbType.cs,
143     NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
144     * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
145     * NpgsqlDataAdapter: Updated constructor documentation.
146     * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
147     * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
148     * NpgsqlCommandBuilder.cs: Updated documentation.
149     
150 2005-08-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
151         * Makefile,
152         Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
154 2005-08-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
156         * 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.
158         
159 2005-08-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
161         * NpgsqlConnection.cs:  Fixed documentation about User Id connection string key. Thanks peyn at tlen dot pl for heads up. Fixes gborg 1388
163 2005-07-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
165         * 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.
166         
168 2005-07-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
170         * 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.
171         
172 2005-07-08  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
174     * 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 ..."
176 2005-07-05 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
177    
178     * NpgsqlTypes/NpgsqlDbType.cs,
179       NpgsqlTypes/NpgsqlTypesHelper.cs,
180       Npgsql/NpgsqlParameter.cs,
181       Npgsql/NpgsqlConnectionString.cs,
182       Npgsql/NpgsqlState.resx,
183       Npgsql/NpgsqlConnection.cs,
184       Npgsql/NpgsqlClosedState.cs,
185       Npgsql/NpgsqlCommand.cs,
186       Npgsql/NpgsqlConnector.cs,
187       Npgsql/NpgsqlParameterCollection.cs,
188       Npgsql/NpgsqlDataReader.cs,
189       Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
191 2005-02-20 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
193     * 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.
195 2005-02-13 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
197     * 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.
198     gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
199     Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
200     
201 2005-02-08 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
203     * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
204     * 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.
206 2005-02-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
208     * 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.
210 2005-01-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
212     * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
213     Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up. 
214     Fixed internal constructor to initialize Parameters collection and timeout.
216 2005-01-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
218     * Npgsql/NpgsqlParameter.cs,
219     Npgsql/NpgsqlConnection.cs,
220     Npgsql/NpgsqlCommand.cs,
221     Npgsql/NpgsqlParameterCollection.cs,
222     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.
224 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
226         * Makefile : quick csc build fix (tested on mcs as well).
228 2005-01-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
229         * NpgsqlTypes/NpgsqlTypes.cs,
230         Npgsql.dll.sources,
231         Npgsql/NpgsqlParameter.cs,
232         Npgsql/NpgsqlConnection.cs,
233         Npgsql/NpgsqlCommand.cs,
234         Npgsql/NpgsqlParameterCollection.cs,
235         Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
236         * 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.
238 2005-01-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
239         * NpgsqlTypes/NpgsqlDbType.cs,
240         NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
241         * Npgsql/PGUtil.cs,
242         Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
243         * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support. 
244         gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
245         Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
246         * Npgsql/NpgsqlCommandBuilder.cs,
247         NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
248         * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
249         
250         
252 2004-12-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
253         * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
254         * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
255         * 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.
256         
257 2004-12-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
258         * 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.
260 2004-12-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
261         * 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.
262         * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures. 
264 2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
265         * 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. 
267 2004-12-07  Raja R Harinath  <rharinath@novell.com>
269         * Makefile (CLEAN_FILES): Add $(RESX_RES).
270         ($(the_lib)): Depend on $(OTHER_RES) too.
271         ($(RESX_RES)): Pass argument of RESGEN through
272         PLATFORM_CHANGE_SEPARATOR_CMD.
274 2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
276         * 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.
278 2004-11-26  Raja R Harinath  <rharinath@novell.com>
280         * Makefile (OTHER_RES): New.  List of .bmp files.
281         (EXTRA_DISTFILES): Distribute them.
283 2004-11-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
284     
285     Updated to 0.7beta3 release.
286     * NpgsqlBind.cs:  Minor code cleanup.
287     * NpgsqlClosedState.cs: Code formatting.
288     * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
289     * NpgsqlConnection.cs: Fixed contructor log message.
290     * NpgsqlConnectionString.cs: Code formatting.
291     * NpgsqlConnector.cs:
292         ReleasePlansPortals: Added method to release used plans and portals.
293         NextPortalName, NextPlanName: Added methods to handle name generation.
294     * NpgsqlConnectorPool.cs:
295         UngetPooledConnector: Added call to release plans and portals in connector.
296     * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
297     * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
298     * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
299     * NpgsqlState.cs: 
300         ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
301     * NpgsqlState.resx: Fixed resource key typo.
302     * 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.
303      * NpgsqlDbType.cs: Code cleanup.
304      * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
305      * NpgsqlTypes.cs: Code cleanup.
306      * NpgsqlTypesHelper.cs: 
307         (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
308         (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
310 2004-11-25  Raja R Harinath  <rharinath@novell.com>
312         * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
314 2004-11-04  Raja R Harinath  <rharinath@novell.com>
316         * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
318 2004-09-30  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
319     * NpgsqlTypes/FastPath.cs,
320     NpgsqlTypes/FastPathArg.cs,
321     NpgsqlTypes/LargeObject.cs,
322     NpgsqlTypes/LargeObjectManager.cs,
323     Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
324     
326 2004-09-26  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
328     * Npgsql/NpgsqlDataReader.cs:
329         GetBytes: Added a little fix for proper handling of getbytes with current Npgsql semantics in mind. For while, we just support offset value of 0 as we
330         read all the bytes field value at a time. So there is no copy when offset is not 0.
331         
332 2004-09-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
334     * Npgsql/NpgsqlCommand.cs:
335         GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
337 2004-09-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
339     * Npgsql/NpgsqlCommand.cs:
340         ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
341         GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
343 2004-09-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
345     * NpgsqlTypes/NpgsqlTypesHelper.cs:
346         ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.
348 2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
350     * Npgsql/NpgsqlCommand.cs:
351         GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
352         i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
353     * NpgsqlTypes/NpgsqlTypeConverters.cs:
354         BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
355         
356 2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
358         * NpgsqlCommand.cs,
359         NpgsqlConnector.cs:  Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.
361 2004-09-15  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
362     * Npgsql/NpgsqlRowDescription.cs:
363         FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
365 2004-09-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
367     * Npgsql/NpgsqlRowDescription.cs:
368         FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
369         
370 2004-09-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
372         * NpgsqlTypes/NpgsqlTypesHelper:
373                 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
374                 for heads up.
375                 
376 2004-09-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
378         * NpgsqlTypes/NpgsqlTypesHelper:
379                 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
380                 Fix bug 955 in gborg.
382 2004-09-11  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
384         * Npgsql/NpgsqlConnection.cs: 
385                 Dispose: Improved implementation. Also added warning logging for 
386                 NpgsqlConnection leakings.
387                 Close: Fixed code to allow calling many times even when being disposed.
388         * Npgsql/NpgsqlConnection.resx:
389                 Added new warning logging message for NpgsqlConnection leakings.
390         * Npgsql/NpgsqlConnector.cs:
391                 IsValid: new method to check if Connector is still valid.
392         * Npgsql/NpgsqlConnectorPool.cs:
393                 GetPooledConnector: Improved to check validity of Connector.
394                 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
395                 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
397 2004-09-07  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
399         * NpgsqlException.cs:  Added support for deserialization of NpgsqlException.
401         * NpgsqlState.cs: Added missing handling of NoData message.
402         
404 2004-07-02  Raja R Harinath  <rharinath@novell.com>
406         * Makefile (OVERRIDE_BARE_TARGETS): Remove.
407         ($(the_lib)): Make dependency explicit.
409 2004-06-28  Raja R Harinath  <rharinath@novell.com>
411         * Makefile (%.resources): Use $(RESGEN).
413 2004-06-22  Raja R Harinath  <rharinath@novell.com>
415         * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
417 2004-06-21  Raja R Harinath  <rharinath@novell.com>
419         * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
421 2004-06-18  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
422         * Synchronized files with gborg cvs up to release 0.6.
424 2004-05-29  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
425         * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
426         It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski 
427 (jaak@zd.com.pl) for the patch.
429 2004-05-24  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
430         * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
431         Fixes Gborg bug 752.
432         Thanks stehule@kix.fsv.cvut.cz for the patch.
434 2004-05-23  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
435         
436         * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
437 connect to cvs built servers which had devel in its version string.
438         
439 2004-05-22  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
441         Npgsql/NpgsqlCommand.cs,
442         Npgsql/NpgsqlConnection.cs,
443         Npgsql/NpgsqlDataReader.cs,
444         Npgsql/NpgsqlException.cs,
445         Npgsql/NpgsqlTransaction.cs,
446         Npgsql/Design/ConnectionStringEditor.cs,
447         Npgsql/Design/ConnectionStringEditorForm.cs,
448         Npgsql/Design/NpgsqlParameterConverter.cs,
449         Npgsql/Design/NpgsqlParametersEditor.cs,
450         NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by 
451         Glen Parker (glenebob@nwlink.com): Bug #772 ("Using 
452         Command and Prepare adds single quotes to strings twice")
453         is fixed  :-)   It was broken when running on the version 3
454         protocol (extended query support) on PostgreSQL 7.4. 
455         Some of the files in Design were formatted with macintosh line 
456         terminators. This was screwing up the xmldoc generator in csc, 
457         so I reformatted to make it work.
458         I've added some essential xmldoc comments (<summary> tags).  Much work
459 remains here, but I wanted to get a few in on common functions and
460 properties.
462         The .build file will now generate the Npgsql.xml file, next to the .dll
463 file.  I removed the existing Npgsql.xml from CVS.
465         Thanks Glen Parker for this patch.
468 2004-05-20  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
470         NpgsqlAsciiRow.cs,
471         NpgsqlBackEndKeyData.cs,
472         NpgsqlBinaryRow.cs,
473         NpgsqlCommand.cs,
474         NpgsqlConnectedState.cs,
475         NpgsqlConnection.cs,
476         NpgsqlConnection.resx,
477         NpgsqlConnector.cs,
478         NpgsqlConnectorPool.cs,
479         NpgsqlError.cs,
480         NpgsqlMediator.cs,
481         NpgsqlMessageTypes.cs,
482         NpgsqlPasswordPacket.cs,
483         NpgsqlQuery.cs,
484         NpgsqlRowDescription.cs,
485         NpgsqlStartupPacket.cs,
486         NpgsqlState.cs,
487         PGUtil.cs,
488         NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
489         - split more protocol handlers between version 2 and version 3
490         - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
491         - store BackendKeyData in its own member on Mediator
492         - Store ParameterStatus objects in a key map on Mediator
493         - Get backend version now from the Mediator if possible
494         - Rewrite parsers for server version and connection string
495         - Store server version numericially (in a new class ServerVersion)
496         - As usual, lots of code cleanup/commenting/etc.
498         Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
500 2004-05-20  Raja R Harinath  <rharinath@novell.com>
502         * Makefile (%.resources): Use INTERNAL_RESGEN.
504 2004-05-13  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
506         * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
507 o InvalidOperationException when calling the Hash property and hash value is nul
508 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
510 2004-05-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
511         * HashAlgorithm.cs,
512         NpgsqlAsciiRow.cs,
513         NpgsqlBinaryRow.cs,
514         NpgsqlClosedState.cs,
515         NpgsqlCommand.cs,
516         NpgsqlCommandBuilder.cs,
517         NpgsqlConnection.cs,
518         NpgsqlDataReader.cs,
519         NpgsqlException.cs,
520         NpgsqlParameterCollection.cs,
521         NpgsqlReadyState.cs,
522         NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
523 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
524 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
528 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
530         * Makefile:
531         * Npgsql.dll.resources: all the resources command line options are now
532         in a separate response file.
534 2004-05-04  Jaroslaw Kowalski <jaak@zd.com.pl>
535         * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
537 2004-05-01  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
539         * Npgsql/NpgsqlCommand.cs,
540         Npgsql/NpgsqlConnection.cs,
541         Npgsql/NpgsqlConnector.cs,
542         Npgsql/NpgsqlConnectorPool.cs,
543         Npgsql/NpgsqlError.cs,
544         Npgsql/NpgsqlException.cs,
545         Npgsql/NpgsqlParameterCollection.cs,
546         NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
548 2004-04-30  Todd Berman  <tberman@sevenl.net>
550         * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
552 2004-04-30  Duncan Mak  <duncan@ximian.com>
554         * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
556         * Npgsql/Npgsql.pub: Added to CVS.
558 2004-04-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
559         * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
560         * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
562         * Npgsql/NpgsqlCommand.cs
563         * Npgsql/NpgsqlCommand.resx
564         * Npgsql/NpgsqlConnection.cs
565         * Npgsql/NpgsqlConnection.resx
566         * Npgsql/NpgsqlDataAdapter.cs
567         * Npgsql/NpgsqlError.cs
568         * Npgsql/NpgsqlException.cs
569         * Npgsql/NpgsqlException.resx
570         * Npgsql/NpgsqlMediator.cs
571         * Npgsql/NpgsqlState.cs
572         * Npgsql/NpgsqlState.resx
573         * Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker (glenebob@nwlink.com) for the patch. NpgsqlException now gives aceess to error collection through the Errors property. This property return a collection of NpgsqlErrors objects. Also it gives access to error message, hint, severity and code. This fixes the feature request 689 in gborg.
577 2004-04-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
578         * Npgsql/NpgsqlDataAdapter.cs: Fixed DataAdapter to raise the RowUpdating and RowUpdated events. This also fixes some issues in gborg 710 bug. This modification may have broken CommandBuilder support. Working on that.
580 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
581         * Npgsql/NpgsqlTransaction.cs: Fixed a bug where rollback was being called when disposing NpgsqlTransaction objects even when transaction was sucessfully commited. Fixes bug 725 in gborg. Thanks melkor (melkor@adinet.com.uy) for spotting that.
583 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
584         * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
586 2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
587         * Npgsql/NpgsqlAsciiRow.cs
588         * Npgsql/NpgsqlBinaryRow.cs
589         * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
592 2004-03-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
594         * Npgsql/NpgsqlConnection.cs:
595         * Npgsql/NpgsqlClosedState.cs: Added support for SSL callbacks points. Now, client applications can provide the callbacks. Npgsql provide a default callback implementation which always assumes the certificate is ok. This allows easy use as client don't need to provide callback to use ssl connections. This also fixes bug 705 in gborg.
596         * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
597         
599 2004-03-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
601         * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
603 2004-02-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
604         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
605         * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
607 2004-02-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
609         * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
610         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
611         * Npgsql/NpgsqlCommand.cs: Fixed an Invalid Index error when executing ExecuteScalar() method with an empty resultset. Thanks Lynn A. Roth for the fix. This fixes bug 687 in gborg.
614 2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
616         * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
618         * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
621 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
623         * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
624 ction startup time in 300 milliseconds.
626 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
628         * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
629 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
631 2004-02-16 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
633         * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
634 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
636 2004-02-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
638         * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
640 2004-02-10  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
641         
642         * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
644 2004-01-15  Jackson Harper <jackson@ximian.com>
646         * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
647         
648 2003-11-23  Pedro Martínez Juliá <yoros@wanadoo.es>
650         * Npgsql/HashAlgorithm.cs:
651         * Npgsql/NpgsqlClosedState.cs:
652         * Npgsql/NpgsqlCommand.cs:
653         * Npgsql/NpgsqlConnectedState.cs:
654         * Npgsql/NpgsqlConnection.cs:
655         * Npgsql/NpgsqlReadyState.cs:
656         * Npgsql/NpgsqlStartupState.cs:
657         * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
658         ADO.NET we need to call Dispose after using any Component like
659         NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
660         methods to Properties.
662 2003-11-22  Pedro Martínez Juliá <yoros@wanadoo.es>
664         * Npgsql/NpgsqlClosedState.cs:
665         * Npgsql/NpgsqlConnectedState.cs:
666         * Npgsql/NpgsqlConnection.cs:
667         * Npgsql/NpgsqlReadyState.cs:
668         * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
669         implementation. Now we're using TcpClient for the connection and
670         Stream for the abstraction layer to SslClientStream.
672 2003-11-11  Pedro Martínez Juliá <yoros@wanadoo.es>
674         * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
675         CanRead because the schema can be readed with or without result
676         rows.
678 2003-11-10  Pedro Martínez Juliá <yoros@wanadoo.es>
680         * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
682 2003-11-10  Pedro Martínez Juliá <yoros@wanadoo.es>
684         * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
685         when a mapping is not in the collection.
687 2003-11-09  Pedro Martínez Juliá <yoros@wanadoo.es>
689         * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
690         CommandBuilder to the local data. Local data should be null if the
691         client doesn't set them.
693         * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
695 2003-11-09  Pedro Martínez Juliá <yoros@wanadoo.es>
697         * Makefile: Little fix for build the resources.
699         * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
700         command.
702 2003-11-08  Pedro Martínez Juliá <yoros@wanadoo.es>
704         * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
705         calls, the problem is fixed.
707         * Makefile: Fix one bug in the build of resources.
709 2003-11-08  Pedro Martínez Juliá <yoros@wanadoo.es>
711         * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
713         * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
714         OnRowUpdating is called we create the command necesary for updating,
715         inserting or deleting any row of the DataTable/DataSet.
717         * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
718         work. This must be removed when ResMan works.
720         * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
721         is more efficient for the deep if structure types.
723 2003-11-07  Pedro Martínez Juliá <yoros@wanadoo.es>
725         * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
726         change. The Command objects must not be created in the constructor.
727         The Commands should be in the overrided method "OnRowUpdating".
729         * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
730         the proper exception (not MissingManifestResourceException). It is
731         thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
733 2003-11-07  Pedro Martínez Juliá <yoros@wanadoo.es>
735         * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
736         different Insrt / Update / Delete commands.
738 2003-10-20  Pedro Martínez Juliá <yoros@wanadoo.es>
740         * Npgsql/NpgsqlClosedState.cs:
741         * Npgsql/NpgsqlConnection.cs:
742         * Npgsql/NpgsqlConnectedState.cs:
743         * Npgsql/NpgsqlReadyState.cs:
744         * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
745         namespace is Mono.System.Protocol.Tls, before was
746         System.Security.Tls.
748         * Npgsql/Makefile: Change reference from System.Security.Tls to
749         Mono.Security (now Tls lives there).
751 2003-10-16  Pedro Martínez Juliá <yoros@wanadoo.es>
753         * Npgsql/NpgsqlClosedState.cs:
754         * Npgsql/NpgsqlConnectedState.cs:
755         * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
756         because now it is used TlsSession and it doesn't work without
757         these changes.
759 2003-10-16  Pedro Martínez Juliá <yoros@wanadoo.es>
761         * Makefile: changed reference from Lib/System.Security.Tls.dll to
762         System.Security.Tls because the last will be installed before and
763         separatelly.
765         * Lib: Removed Lib directory, moved System.Security.Tls.dll to
766         Mono.Security.Tls library directory.
768 2003-10-15  Pedro Martínez Juliá <yoros@wanadoo.es>
770         * Makefile: fix building and the install objectives.
772 2003-04-26  Pedro Martínez Juliá <yoros@wanadoo.es>
774         * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
775         they works as direct casting from GetValue.
777 2003-07-18  Peter Williams  <peter@newton.cx>
779         * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
780         we can't unless corlib is strongnamed too. Not a wonderful solution,
781         but I don't think this ever worked anyway.
783 2003-05-25  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
784         * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
785         processing 0 rows queries.
787 2003-04-26  Pedro Martínez Juliá <yoros@wanadoo.es>
789         * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
790         date formats. I think that it's needed support to auto-detect
791         DateTime format through PgSql server configuration.
793 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
795         * Npgsql.build: got it to work for Windows build
796         
797         * Npgsql/Npgsql.build
798         * Npgsql/Npgsql.cmbx 
799         * Npgsql/Npgsql.prjx: removed files not needed
801 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
803         * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
804           from http://gborg.postgresql.org/project/npgsql/projdisplay.php
805           by adding the following files and directories to the mcs module
806           in mono-cvs.ximian.com at mcs/class:
807       
808       Npgsql (directory)     
809       ChangeLog    
810       Makefile  
811       Npgsql.build  
812       RELEASENOTES.txt  
813       TODO.txt  
814       makefile.gnu
815       LICENSE.txt  
816       README.txt
817       STATUS.txt
818       list
819           Npgsql/Npgsql (directory)
820           Npgsql/AssemblyInfo.cs
821           Npgsql/NpgsqlAsciiRow.cs
822           Npgsql/NpgsqlBackEndKeyData.cs
823           Npgsql/NpgsqlClosedState.cs
824           Npgsql/NpgsqlCommand.cs
825           Npgsql/NpgsqlConnectedState.cs
826           Npgsql/NpgsqlConnection.cs
827           Npgsql/NpgsqlConnector.cs
828           Npgsql/NpgsqlConnectorPool.cs
829           Npgsql/NpgsqlDataAdapter.cs
830           Npgsql/NpgsqlDataReader.cs
831           Npgsql/NpgsqlEventLog.cs
832           Npgsql/NpgsqlException.cs
833           Npgsql/NpgsqlMediator.cs
834           Npgsql/NpgsqlMessageTypes.cs
835           Npgsql/NpgsqlParameter.cs
836           Npgsql/NpgsqlParameterCollection.cs
837           Npgsql/NpgsqlPasswordPacket.cs
838           Npgsql/NpgsqlQuery.cs
839           Npgsql/NpgsqlReadyState.cs
840           Npgsql/NpgsqlResultSet.cs
841           Npgsql/NpgsqlRowDescription.cs
842           Npgsql/NpgsqlStartupPacket.cs
843           Npgsql/NpgsqlStartupState.cs
844           Npgsql/NpgsqlState.cs
845           Npgsql/NpgsqlTransaction.cs
846           Npgsql/PGUtil.cs