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