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