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