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