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