**** Merged r40732-r40872 from MCS ****
[mono.git] / mcs / class / Npgsql / ChangeLog
1
2 2005-02-20 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
3
4    * 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.
5
6 2005-02-13 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
7
8     * 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.
9     gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
10     Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
11     
12 2005-02-08 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
13
14     * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
15     * 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.
16
17 2005-02-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
18
19     * 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.
20
21 2005-01-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
22
23     * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
24     Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up. 
25     Fixed internal constructor to initialize Parameters collection and timeout.
26
27 2005-01-27  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
28
29     * Npgsql/NpgsqlParameter.cs,
30     Npgsql/NpgsqlConnection.cs,
31     Npgsql/NpgsqlCommand.cs,
32     Npgsql/NpgsqlParameterCollection.cs,
33     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.
34
35 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
36
37         * Makefile : quick csc build fix (tested on mcs as well).
38
39 2005-01-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
40         * NpgsqlTypes/NpgsqlTypes.cs,
41         Npgsql.dll.sources,
42         Npgsql/NpgsqlParameter.cs,
43         Npgsql/NpgsqlConnection.cs,
44         Npgsql/NpgsqlCommand.cs,
45         Npgsql/NpgsqlParameterCollection.cs,
46         Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
47         * 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.
48
49 2005-01-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
50         * NpgsqlTypes/NpgsqlDbType.cs,
51         NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
52         * Npgsql/PGUtil.cs,
53         Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
54         * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support. 
55         gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
56         Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
57         * Npgsql/NpgsqlCommandBuilder.cs,
58         NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
59         * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
60         
61         
62
63 2004-12-20  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
64         * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
65         * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
66         * 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.
67         
68 2004-12-19  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
69         * 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.
70
71 2004-12-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
72         * 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.
73         * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures. 
74
75 2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
76         * 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. 
77
78 2004-12-07  Raja R Harinath  <rharinath@novell.com>
79
80         * Makefile (CLEAN_FILES): Add $(RESX_RES).
81         ($(the_lib)): Depend on $(OTHER_RES) too.
82         ($(RESX_RES)): Pass argument of RESGEN through
83         PLATFORM_CHANGE_SEPARATOR_CMD.
84
85 2004-12-05  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
86
87         * 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.
88
89 2004-11-26  Raja R Harinath  <rharinath@novell.com>
90
91         * Makefile (OTHER_RES): New.  List of .bmp files.
92         (EXTRA_DISTFILES): Distribute them.
93
94 2004-11-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com>
95     
96     Updated to 0.7beta3 release.
97     * NpgsqlBind.cs:  Minor code cleanup.
98     * NpgsqlClosedState.cs: Code formatting.
99     * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
100     * NpgsqlConnection.cs: Fixed contructor log message.
101     * NpgsqlConnectionString.cs: Code formatting.
102     * NpgsqlConnector.cs:
103         ReleasePlansPortals: Added method to release used plans and portals.
104         NextPortalName, NextPlanName: Added methods to handle name generation.
105     * NpgsqlConnectorPool.cs:
106         UngetPooledConnector: Added call to release plans and portals in connector.
107     * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
108     * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
109     * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
110     * NpgsqlState.cs: 
111         ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
112     * NpgsqlState.resx: Fixed resource key typo.
113     * 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.
114      * NpgsqlDbType.cs: Code cleanup.
115      * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
116      * NpgsqlTypes.cs: Code cleanup.
117      * NpgsqlTypesHelper.cs: 
118         (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
119         (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
120
121 2004-11-25  Raja R Harinath  <rharinath@novell.com>
122
123         * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
124
125 2004-11-04  Raja R Harinath  <rharinath@novell.com>
126
127         * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
128
129 2004-09-30  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
130     * NpgsqlTypes/FastPath.cs,
131     NpgsqlTypes/FastPathArg.cs,
132     NpgsqlTypes/LargeObject.cs,
133     NpgsqlTypes/LargeObjectManager.cs,
134     Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
135     
136
137 2004-09-26  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
138
139     * Npgsql/NpgsqlDataReader.cs:
140         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
141         read all the bytes field value at a time. So there is no copy when offset is not 0.
142         
143 2004-09-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
144
145     * Npgsql/NpgsqlCommand.cs:
146         GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
147
148 2004-09-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
149
150     * Npgsql/NpgsqlCommand.cs:
151         ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
152         GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
153
154 2004-09-23  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
155
156     * NpgsqlTypes/NpgsqlTypesHelper.cs:
157         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.
158
159 2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
160
161     * Npgsql/NpgsqlCommand.cs:
162         GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
163         i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
164     * NpgsqlTypes/NpgsqlTypeConverters.cs:
165         BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
166         
167 2004-09-18  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
168
169         * NpgsqlCommand.cs,
170         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.
171
172 2004-09-15  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
173     * Npgsql/NpgsqlRowDescription.cs:
174         FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
175
176 2004-09-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
177
178     * Npgsql/NpgsqlRowDescription.cs:
179         FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
180         
181 2004-09-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
182
183         * NpgsqlTypes/NpgsqlTypesHelper:
184                 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
185                 for heads up.
186                 
187 2004-09-12  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
188
189         * NpgsqlTypes/NpgsqlTypesHelper:
190                 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
191                 Fix bug 955 in gborg.
192
193 2004-09-11  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
194
195         * Npgsql/NpgsqlConnection.cs: 
196                 Dispose: Improved implementation. Also added warning logging for 
197                 NpgsqlConnection leakings.
198                 Close: Fixed code to allow calling many times even when being disposed.
199         * Npgsql/NpgsqlConnection.resx:
200                 Added new warning logging message for NpgsqlConnection leakings.
201         * Npgsql/NpgsqlConnector.cs:
202                 IsValid: new method to check if Connector is still valid.
203         * Npgsql/NpgsqlConnectorPool.cs:
204                 GetPooledConnector: Improved to check validity of Connector.
205                 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
206                 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
207
208 2004-09-07  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
209
210         * NpgsqlException.cs:  Added support for deserialization of NpgsqlException.
211
212         * NpgsqlState.cs: Added missing handling of NoData message.
213         
214
215 2004-07-02  Raja R Harinath  <rharinath@novell.com>
216
217         * Makefile (OVERRIDE_BARE_TARGETS): Remove.
218         ($(the_lib)): Make dependency explicit.
219
220 2004-06-28  Raja R Harinath  <rharinath@novell.com>
221
222         * Makefile (%.resources): Use $(RESGEN).
223
224 2004-06-22  Raja R Harinath  <rharinath@novell.com>
225
226         * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
227
228 2004-06-21  Raja R Harinath  <rharinath@novell.com>
229
230         * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
231
232 2004-06-18  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
233         * Synchronized files with gborg cvs up to release 0.6.
234
235 2004-05-29  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
236         * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
237         It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski 
238 (jaak@zd.com.pl) for the patch.
239
240 2004-05-24  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
241         * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
242         Fixes Gborg bug 752.
243         Thanks stehule@kix.fsv.cvut.cz for the patch.
244
245 2004-05-23  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
246         
247         * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
248 connect to cvs built servers which had devel in its version string.
249         
250 2004-05-22  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
251
252         Npgsql/NpgsqlCommand.cs,
253         Npgsql/NpgsqlConnection.cs,
254         Npgsql/NpgsqlDataReader.cs,
255         Npgsql/NpgsqlException.cs,
256         Npgsql/NpgsqlTransaction.cs,
257         Npgsql/Design/ConnectionStringEditor.cs,
258         Npgsql/Design/ConnectionStringEditorForm.cs,
259         Npgsql/Design/NpgsqlParameterConverter.cs,
260         Npgsql/Design/NpgsqlParametersEditor.cs,
261         NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by 
262         Glen Parker (glenebob@nwlink.com): Bug #772 ("Using 
263         Command and Prepare adds single quotes to strings twice")
264         is fixed  :-)   It was broken when running on the version 3
265         protocol (extended query support) on PostgreSQL 7.4. 
266         Some of the files in Design were formatted with macintosh line 
267         terminators. This was screwing up the xmldoc generator in csc, 
268         so I reformatted to make it work.
269         I've added some essential xmldoc comments (<summary> tags).  Much work
270 remains here, but I wanted to get a few in on common functions and
271 properties.
272
273         The .build file will now generate the Npgsql.xml file, next to the .dll
274 file.  I removed the existing Npgsql.xml from CVS.
275
276         Thanks Glen Parker for this patch.
277
278
279 2004-05-20  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
280
281         NpgsqlAsciiRow.cs,
282         NpgsqlBackEndKeyData.cs,
283         NpgsqlBinaryRow.cs,
284         NpgsqlCommand.cs,
285         NpgsqlConnectedState.cs,
286         NpgsqlConnection.cs,
287         NpgsqlConnection.resx,
288         NpgsqlConnector.cs,
289         NpgsqlConnectorPool.cs,
290         NpgsqlError.cs,
291         NpgsqlMediator.cs,
292         NpgsqlMessageTypes.cs,
293         NpgsqlPasswordPacket.cs,
294         NpgsqlQuery.cs,
295         NpgsqlRowDescription.cs,
296         NpgsqlStartupPacket.cs,
297         NpgsqlState.cs,
298         PGUtil.cs,
299         NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
300         - split more protocol handlers between version 2 and version 3
301         - split MessageTypes class on ver2/ver3 and add remaining types for ver3        - removed handlers for deprecated protocol message types
302         - store BackendKeyData in its own member on Mediator
303         - Store ParameterStatus objects in a key map on Mediator
304         - Get backend version now from the Mediator if possible
305         - Rewrite parsers for server version and connection string
306         - Store server version numericially (in a new class ServerVersion)
307         - As usual, lots of code cleanup/commenting/etc.
308
309         Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
310
311 2004-05-20  Raja R Harinath  <rharinath@novell.com>
312
313         * Makefile (%.resources): Use INTERNAL_RESGEN.
314
315 2004-05-13  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
316
317         * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
318 o InvalidOperationException when calling the Hash property and hash value is nul
319 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
320
321 2004-05-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
322         * HashAlgorithm.cs,
323         NpgsqlAsciiRow.cs,
324         NpgsqlBinaryRow.cs,
325         NpgsqlClosedState.cs,
326         NpgsqlCommand.cs,
327         NpgsqlCommandBuilder.cs,
328         NpgsqlConnection.cs,
329         NpgsqlDataReader.cs,
330         NpgsqlException.cs,
331         NpgsqlParameterCollection.cs,
332         NpgsqlReadyState.cs,
333         NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
334 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
335 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
336
337
338
339 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
340
341         * Makefile:
342         * Npgsql.dll.resources: all the resources command line options are now
343         in a separate response file.
344
345 2004-05-04  Jaroslaw Kowalski <jaak@zd.com.pl>
346         * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
347
348 2004-05-01  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
349
350         * Npgsql/NpgsqlCommand.cs,
351         Npgsql/NpgsqlConnection.cs,
352         Npgsql/NpgsqlConnector.cs,
353         Npgsql/NpgsqlConnectorPool.cs,
354         Npgsql/NpgsqlError.cs,
355         Npgsql/NpgsqlException.cs,
356         Npgsql/NpgsqlParameterCollection.cs,
357         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.
358
359 2004-04-30  Todd Berman  <tberman@sevenl.net>
360
361         * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
362
363 2004-04-30  Duncan Mak  <duncan@ximian.com>
364
365         * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
366
367         * Npgsql/Npgsql.pub: Added to CVS.
368
369 2004-04-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
370         * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
371         * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
372
373         * Npgsql/NpgsqlCommand.cs
374         * Npgsql/NpgsqlCommand.resx
375         * Npgsql/NpgsqlConnection.cs
376         * Npgsql/NpgsqlConnection.resx
377         * Npgsql/NpgsqlDataAdapter.cs
378         * Npgsql/NpgsqlError.cs
379         * Npgsql/NpgsqlException.cs
380         * Npgsql/NpgsqlException.resx
381         * Npgsql/NpgsqlMediator.cs
382         * Npgsql/NpgsqlState.cs
383         * Npgsql/NpgsqlState.resx
384         * 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.
385
386
387
388 2004-04-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
389         * 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.
390
391 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
392         * 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.
393
394 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
395         * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
396
397 2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
398         * Npgsql/NpgsqlAsciiRow.cs
399         * Npgsql/NpgsqlBinaryRow.cs
400         * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
401
402
403 2004-03-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
404
405         * Npgsql/NpgsqlConnection.cs:
406         * 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.
407         * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
408         
409
410 2004-03-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
411
412         * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
413
414 2004-02-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
415         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
416         * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
417
418 2004-02-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
419
420         * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
421         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
422         * 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.
423
424
425 2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
426
427         * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
428
429         * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
430
431  
432 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
433
434         * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
435 ction startup time in 300 milliseconds.
436
437 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
438
439         * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
440 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
441
442 2004-02-16 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
443
444         * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
445 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
446
447 2004-02-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
448
449         * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
450
451 2004-02-10  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
452         
453         * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
454
455 2004-01-15  Jackson Harper <jackson@ximian.com>
456
457         * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
458         
459 2003-11-23  Pedro Mart�ez Juli� <yoros@wanadoo.es>
460
461         * Npgsql/HashAlgorithm.cs:
462         * Npgsql/NpgsqlClosedState.cs:
463         * Npgsql/NpgsqlCommand.cs:
464         * Npgsql/NpgsqlConnectedState.cs:
465         * Npgsql/NpgsqlConnection.cs:
466         * Npgsql/NpgsqlReadyState.cs:
467         * Npgsql/NpgsqlStartupState.cs:
468         * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
469         ADO.NET we need to call Dispose after using any Component like
470         NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
471         methods to Properties.
472
473 2003-11-22  Pedro Mart�ez Juli� <yoros@wanadoo.es>
474
475         * Npgsql/NpgsqlClosedState.cs:
476         * Npgsql/NpgsqlConnectedState.cs:
477         * Npgsql/NpgsqlConnection.cs:
478         * Npgsql/NpgsqlReadyState.cs:
479         * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
480         implementation. Now we're using TcpClient for the connection and
481         Stream for the abstraction layer to SslClientStream.
482
483 2003-11-11  Pedro Mart�ez Juli� <yoros@wanadoo.es>
484
485         * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
486         CanRead because the schema can be readed with or without result
487         rows.
488
489 2003-11-10  Pedro Mart�ez Juli� <yoros@wanadoo.es>
490
491         * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
492
493 2003-11-10  Pedro Mart�ez Juli� <yoros@wanadoo.es>
494
495         * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
496         when a mapping is not in the collection.
497
498 2003-11-09  Pedro Mart�ez Juli� <yoros@wanadoo.es>
499
500         * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
501         CommandBuilder to the local data. Local data should be null if the
502         client doesn't set them.
503
504         * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
505
506 2003-11-09  Pedro Mart�ez Juli� <yoros@wanadoo.es>
507
508         * Makefile: Little fix for build the resources.
509
510         * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
511         command.
512
513 2003-11-08  Pedro Mart�ez Juli� <yoros@wanadoo.es>
514
515         * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
516         calls, the problem is fixed.
517
518         * Makefile: Fix one bug in the build of resources.
519
520 2003-11-08  Pedro Mart�ez Juli� <yoros@wanadoo.es>
521
522         * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
523
524         * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
525         OnRowUpdating is called we create the command necesary for updating,
526         inserting or deleting any row of the DataTable/DataSet.
527
528         * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
529         work. This must be removed when ResMan works.
530
531         * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
532         is more efficient for the deep if structure types.
533
534 2003-11-07  Pedro Mart�ez Juli� <yoros@wanadoo.es>
535
536         * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
537         change. The Command objects must not be created in the constructor.
538         The Commands should be in the overrided method "OnRowUpdating".
539
540         * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
541         the proper exception (not MissingManifestResourceException). It is
542         thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
543
544 2003-11-07  Pedro Mart�ez Juli� <yoros@wanadoo.es>
545
546         * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
547         different Insrt / Update / Delete commands.
548
549 2003-10-20  Pedro Mart�ez Juli� <yoros@wanadoo.es>
550
551         * Npgsql/NpgsqlClosedState.cs:
552         * Npgsql/NpgsqlConnection.cs:
553         * Npgsql/NpgsqlConnectedState.cs:
554         * Npgsql/NpgsqlReadyState.cs:
555         * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
556         namespace is Mono.System.Protocol.Tls, before was
557         System.Security.Tls.
558
559         * Npgsql/Makefile: Change reference from System.Security.Tls to
560         Mono.Security (now Tls lives there).
561
562 2003-10-16  Pedro Mart�ez Juli� <yoros@wanadoo.es>
563
564         * Npgsql/NpgsqlClosedState.cs:
565         * Npgsql/NpgsqlConnectedState.cs:
566         * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
567         because now it is used TlsSession and it doesn't work without
568         these changes.
569
570 2003-10-16  Pedro Mart�ez Juli� <yoros@wanadoo.es>
571
572         * Makefile: changed reference from Lib/System.Security.Tls.dll to
573         System.Security.Tls because the last will be installed before and
574         separatelly.
575
576         * Lib: Removed Lib directory, moved System.Security.Tls.dll to
577         Mono.Security.Tls library directory.
578
579 2003-10-15  Pedro Mart�ez Juli� <yoros@wanadoo.es>
580
581         * Makefile: fix building and the install objectives.
582
583 2003-04-26  Pedro Mart�ez Juli� <yoros@wanadoo.es>
584
585         * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
586         they works as direct casting from GetValue.
587
588 2003-07-18  Peter Williams  <peter@newton.cx>
589
590         * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
591         we can't unless corlib is strongnamed too. Not a wonderful solution,
592         but I don't think this ever worked anyway.
593
594 2003-05-25  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
595         * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
596         processing 0 rows queries.
597
598 2003-04-26  Pedro Mart�ez Juli� <yoros@wanadoo.es>
599
600         * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
601         date formats. I think that it's needed support to auto-detect
602         DateTime format through PgSql server configuration.
603
604 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
605
606         * Npgsql.build: got it to work for Windows build
607         
608         * Npgsql/Npgsql.build
609         * Npgsql/Npgsql.cmbx 
610         * Npgsql/Npgsql.prjx: removed files not needed
611
612 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
613
614         * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
615           from http://gborg.postgresql.org/project/npgsql/projdisplay.php
616           by adding the following files and directories to the mcs module
617           in mono-cvs.ximian.com at mcs/class:
618       
619       Npgsql (directory)     
620       ChangeLog    
621       Makefile  
622       Npgsql.build  
623       RELEASENOTES.txt  
624       TODO.txt  
625       makefile.gnu
626       LICENSE.txt  
627       README.txt
628       STATUS.txt
629       list
630           Npgsql/Npgsql (directory)
631           Npgsql/AssemblyInfo.cs
632           Npgsql/NpgsqlAsciiRow.cs
633           Npgsql/NpgsqlBackEndKeyData.cs
634           Npgsql/NpgsqlClosedState.cs
635           Npgsql/NpgsqlCommand.cs
636           Npgsql/NpgsqlConnectedState.cs
637           Npgsql/NpgsqlConnection.cs
638           Npgsql/NpgsqlConnector.cs
639           Npgsql/NpgsqlConnectorPool.cs
640           Npgsql/NpgsqlDataAdapter.cs
641           Npgsql/NpgsqlDataReader.cs
642           Npgsql/NpgsqlEventLog.cs
643           Npgsql/NpgsqlException.cs
644           Npgsql/NpgsqlMediator.cs
645           Npgsql/NpgsqlMessageTypes.cs
646           Npgsql/NpgsqlParameter.cs
647           Npgsql/NpgsqlParameterCollection.cs
648           Npgsql/NpgsqlPasswordPacket.cs
649           Npgsql/NpgsqlQuery.cs
650           Npgsql/NpgsqlReadyState.cs
651           Npgsql/NpgsqlResultSet.cs
652           Npgsql/NpgsqlRowDescription.cs
653           Npgsql/NpgsqlStartupPacket.cs
654           Npgsql/NpgsqlStartupState.cs
655           Npgsql/NpgsqlState.cs
656           Npgsql/NpgsqlTransaction.cs
657           Npgsql/PGUtil.cs
658