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