2 2005-02-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
4 * Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
6 2005-02-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
8 * NpgsqlTypes/NpgsqlTypesHelper.cs: gborg 1121: Fixed another culture variant representation problem when handling floating numbers. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
9 gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
10 Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
12 2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
14 * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
15 * Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
17 2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
19 * NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
21 2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
23 * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
24 Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
25 Fixed internal constructor to initialize Parameters collection and timeout.
27 2005-01-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
29 * Npgsql/NpgsqlParameter.cs,
30 Npgsql/NpgsqlConnection.cs,
31 Npgsql/NpgsqlCommand.cs,
32 Npgsql/NpgsqlParameterCollection.cs,
33 Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
35 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
37 * Makefile : quick csc build fix (tested on mcs as well).
39 2005-01-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
40 * NpgsqlTypes/NpgsqlTypes.cs,
42 Npgsql/NpgsqlParameter.cs,
43 Npgsql/NpgsqlConnection.cs,
44 Npgsql/NpgsqlCommand.cs,
45 Npgsql/NpgsqlParameterCollection.cs,
46 Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
47 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.
49 2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
50 * NpgsqlTypes/NpgsqlDbType.cs,
51 NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
53 Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
54 * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
55 gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
56 Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
57 * Npgsql/NpgsqlCommandBuilder.cs,
58 NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
59 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
63 2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
64 * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
65 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
66 * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.
68 2004-12-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
69 * 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.
71 2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
72 * 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.
73 * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
75 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
76 * 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.
78 2004-12-07 Raja R Harinath <rharinath@novell.com>
80 * Makefile (CLEAN_FILES): Add $(RESX_RES).
81 ($(the_lib)): Depend on $(OTHER_RES) too.
82 ($(RESX_RES)): Pass argument of RESGEN through
83 PLATFORM_CHANGE_SEPARATOR_CMD.
85 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
87 * 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.
89 2004-11-26 Raja R Harinath <rharinath@novell.com>
91 * Makefile (OTHER_RES): New. List of .bmp files.
92 (EXTRA_DISTFILES): Distribute them.
94 2004-11-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
96 Updated to 0.7beta3 release.
97 * NpgsqlBind.cs: Minor code cleanup.
98 * NpgsqlClosedState.cs: Code formatting.
99 * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
100 * NpgsqlConnection.cs: Fixed contructor log message.
101 * NpgsqlConnectionString.cs: Code formatting.
102 * NpgsqlConnector.cs:
103 ReleasePlansPortals: Added method to release used plans and portals.
104 NextPortalName, NextPlanName: Added methods to handle name generation.
105 * NpgsqlConnectorPool.cs:
106 UngetPooledConnector: Added call to release plans and portals in connector.
107 * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
108 * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
109 * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
111 ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
112 * NpgsqlState.resx: Fixed resource key typo.
113 * 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.
114 * NpgsqlDbType.cs: Code cleanup.
115 * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
116 * NpgsqlTypes.cs: Code cleanup.
117 * NpgsqlTypesHelper.cs:
118 (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
119 (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
121 2004-11-25 Raja R Harinath <rharinath@novell.com>
123 * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
125 2004-11-04 Raja R Harinath <rharinath@novell.com>
127 * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
129 2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
130 * NpgsqlTypes/FastPath.cs,
131 NpgsqlTypes/FastPathArg.cs,
132 NpgsqlTypes/LargeObject.cs,
133 NpgsqlTypes/LargeObjectManager.cs,
134 Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
137 2004-09-26 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
139 * Npgsql/NpgsqlDataReader.cs:
140 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
141 read all the bytes field value at a time. So there is no copy when offset is not 0.
143 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
145 * Npgsql/NpgsqlCommand.cs:
146 GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
148 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
150 * Npgsql/NpgsqlCommand.cs:
151 ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
152 GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
154 2004-09-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
156 * NpgsqlTypes/NpgsqlTypesHelper.cs:
157 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.
159 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
161 * Npgsql/NpgsqlCommand.cs:
162 GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
163 i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
164 * NpgsqlTypes/NpgsqlTypeConverters.cs:
165 BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
167 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
170 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.
172 2004-09-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
173 * Npgsql/NpgsqlRowDescription.cs:
174 FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
176 2004-09-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
178 * Npgsql/NpgsqlRowDescription.cs:
179 FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
181 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
183 * NpgsqlTypes/NpgsqlTypesHelper:
184 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
187 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
189 * NpgsqlTypes/NpgsqlTypesHelper:
190 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
191 Fix bug 955 in gborg.
193 2004-09-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
195 * Npgsql/NpgsqlConnection.cs:
196 Dispose: Improved implementation. Also added warning logging for
197 NpgsqlConnection leakings.
198 Close: Fixed code to allow calling many times even when being disposed.
199 * Npgsql/NpgsqlConnection.resx:
200 Added new warning logging message for NpgsqlConnection leakings.
201 * Npgsql/NpgsqlConnector.cs:
202 IsValid: new method to check if Connector is still valid.
203 * Npgsql/NpgsqlConnectorPool.cs:
204 GetPooledConnector: Improved to check validity of Connector.
205 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
206 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
208 2004-09-07 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
210 * NpgsqlException.cs: Added support for deserialization of NpgsqlException.
212 * NpgsqlState.cs: Added missing handling of NoData message.
215 2004-07-02 Raja R Harinath <rharinath@novell.com>
217 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
218 ($(the_lib)): Make dependency explicit.
220 2004-06-28 Raja R Harinath <rharinath@novell.com>
222 * Makefile (%.resources): Use $(RESGEN).
224 2004-06-22 Raja R Harinath <rharinath@novell.com>
226 * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
228 2004-06-21 Raja R Harinath <rharinath@novell.com>
230 * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
232 2004-06-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
233 * Synchronized files with gborg cvs up to release 0.6.
235 2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
236 * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
237 It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
238 (jaak@zd.com.pl) for the patch.
240 2004-05-24 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
241 * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
243 Thanks stehule@kix.fsv.cvut.cz for the patch.
245 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
247 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
248 connect to cvs built servers which had devel in its version string.
250 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
252 Npgsql/NpgsqlCommand.cs,
253 Npgsql/NpgsqlConnection.cs,
254 Npgsql/NpgsqlDataReader.cs,
255 Npgsql/NpgsqlException.cs,
256 Npgsql/NpgsqlTransaction.cs,
257 Npgsql/Design/ConnectionStringEditor.cs,
258 Npgsql/Design/ConnectionStringEditorForm.cs,
259 Npgsql/Design/NpgsqlParameterConverter.cs,
260 Npgsql/Design/NpgsqlParametersEditor.cs,
261 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
262 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
263 Command and Prepare adds single quotes to strings twice")
264 is fixed :-) It was broken when running on the version 3
265 protocol (extended query support) on PostgreSQL 7.4.
266 Some of the files in Design were formatted with macintosh line
267 terminators. This was screwing up the xmldoc generator in csc,
268 so I reformatted to make it work.
269 I've added some essential xmldoc comments (<summary> tags). Much work
270 remains here, but I wanted to get a few in on common functions and
273 The .build file will now generate the Npgsql.xml file, next to the .dll
274 file. I removed the existing Npgsql.xml from CVS.
276 Thanks Glen Parker for this patch.
279 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
282 NpgsqlBackEndKeyData.cs,
285 NpgsqlConnectedState.cs,
287 NpgsqlConnection.resx,
289 NpgsqlConnectorPool.cs,
292 NpgsqlMessageTypes.cs,
293 NpgsqlPasswordPacket.cs,
295 NpgsqlRowDescription.cs,
296 NpgsqlStartupPacket.cs,
299 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
300 - split more protocol handlers between version 2 and version 3
301 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
302 - store BackendKeyData in its own member on Mediator
303 - Store ParameterStatus objects in a key map on Mediator
304 - Get backend version now from the Mediator if possible
305 - Rewrite parsers for server version and connection string
306 - Store server version numericially (in a new class ServerVersion)
307 - As usual, lots of code cleanup/commenting/etc.
309 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
311 2004-05-20 Raja R Harinath <rharinath@novell.com>
313 * Makefile (%.resources): Use INTERNAL_RESGEN.
315 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
317 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
318 o InvalidOperationException when calling the Hash property and hash value is nul
319 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
321 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
325 NpgsqlClosedState.cs,
327 NpgsqlCommandBuilder.cs,
331 NpgsqlParameterCollection.cs,
333 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
334 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
335 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
339 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
342 * Npgsql.dll.resources: all the resources command line options are now
343 in a separate response file.
345 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
346 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
348 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
350 * Npgsql/NpgsqlCommand.cs,
351 Npgsql/NpgsqlConnection.cs,
352 Npgsql/NpgsqlConnector.cs,
353 Npgsql/NpgsqlConnectorPool.cs,
354 Npgsql/NpgsqlError.cs,
355 Npgsql/NpgsqlException.cs,
356 Npgsql/NpgsqlParameterCollection.cs,
357 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.
359 2004-04-30 Todd Berman <tberman@sevenl.net>
361 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
363 2004-04-30 Duncan Mak <duncan@ximian.com>
365 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
367 * Npgsql/Npgsql.pub: Added to CVS.
369 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
370 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
371 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
373 * Npgsql/NpgsqlCommand.cs
374 * Npgsql/NpgsqlCommand.resx
375 * Npgsql/NpgsqlConnection.cs
376 * Npgsql/NpgsqlConnection.resx
377 * Npgsql/NpgsqlDataAdapter.cs
378 * Npgsql/NpgsqlError.cs
379 * Npgsql/NpgsqlException.cs
380 * Npgsql/NpgsqlException.resx
381 * Npgsql/NpgsqlMediator.cs
382 * Npgsql/NpgsqlState.cs
383 * Npgsql/NpgsqlState.resx
384 * 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.
388 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
389 * 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.
391 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
392 * 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.
394 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
395 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
397 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
398 * Npgsql/NpgsqlAsciiRow.cs
399 * Npgsql/NpgsqlBinaryRow.cs
400 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
403 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
405 * Npgsql/NpgsqlConnection.cs:
406 * 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.
407 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
410 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
412 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
414 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
415 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
416 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
418 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
420 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
421 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
422 * 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.
425 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
427 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
429 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
432 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
434 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
435 ction startup time in 300 milliseconds.
437 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
439 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
440 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
442 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
444 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
445 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
447 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
449 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
451 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
453 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
455 2004-01-15 Jackson Harper <jackson@ximian.com>
457 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
459 2003-11-23 Pedro Mart�ez Juli� <yoros@wanadoo.es>
461 * Npgsql/HashAlgorithm.cs:
462 * Npgsql/NpgsqlClosedState.cs:
463 * Npgsql/NpgsqlCommand.cs:
464 * Npgsql/NpgsqlConnectedState.cs:
465 * Npgsql/NpgsqlConnection.cs:
466 * Npgsql/NpgsqlReadyState.cs:
467 * Npgsql/NpgsqlStartupState.cs:
468 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
469 ADO.NET we need to call Dispose after using any Component like
470 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
471 methods to Properties.
473 2003-11-22 Pedro Mart�ez Juli� <yoros@wanadoo.es>
475 * Npgsql/NpgsqlClosedState.cs:
476 * Npgsql/NpgsqlConnectedState.cs:
477 * Npgsql/NpgsqlConnection.cs:
478 * Npgsql/NpgsqlReadyState.cs:
479 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
480 implementation. Now we're using TcpClient for the connection and
481 Stream for the abstraction layer to SslClientStream.
483 2003-11-11 Pedro Mart�ez Juli� <yoros@wanadoo.es>
485 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
486 CanRead because the schema can be readed with or without result
489 2003-11-10 Pedro Mart�ez Juli� <yoros@wanadoo.es>
491 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
493 2003-11-10 Pedro Mart�ez Juli� <yoros@wanadoo.es>
495 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
496 when a mapping is not in the collection.
498 2003-11-09 Pedro Mart�ez Juli� <yoros@wanadoo.es>
500 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
501 CommandBuilder to the local data. Local data should be null if the
502 client doesn't set them.
504 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
506 2003-11-09 Pedro Mart�ez Juli� <yoros@wanadoo.es>
508 * Makefile: Little fix for build the resources.
510 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
513 2003-11-08 Pedro Mart�ez Juli� <yoros@wanadoo.es>
515 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
516 calls, the problem is fixed.
518 * Makefile: Fix one bug in the build of resources.
520 2003-11-08 Pedro Mart�ez Juli� <yoros@wanadoo.es>
522 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
524 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
525 OnRowUpdating is called we create the command necesary for updating,
526 inserting or deleting any row of the DataTable/DataSet.
528 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
529 work. This must be removed when ResMan works.
531 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
532 is more efficient for the deep if structure types.
534 2003-11-07 Pedro Mart�ez Juli� <yoros@wanadoo.es>
536 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
537 change. The Command objects must not be created in the constructor.
538 The Commands should be in the overrided method "OnRowUpdating".
540 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
541 the proper exception (not MissingManifestResourceException). It is
542 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
544 2003-11-07 Pedro Mart�ez Juli� <yoros@wanadoo.es>
546 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
547 different Insrt / Update / Delete commands.
549 2003-10-20 Pedro Mart�ez Juli� <yoros@wanadoo.es>
551 * Npgsql/NpgsqlClosedState.cs:
552 * Npgsql/NpgsqlConnection.cs:
553 * Npgsql/NpgsqlConnectedState.cs:
554 * Npgsql/NpgsqlReadyState.cs:
555 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
556 namespace is Mono.System.Protocol.Tls, before was
559 * Npgsql/Makefile: Change reference from System.Security.Tls to
560 Mono.Security (now Tls lives there).
562 2003-10-16 Pedro Mart�ez Juli� <yoros@wanadoo.es>
564 * Npgsql/NpgsqlClosedState.cs:
565 * Npgsql/NpgsqlConnectedState.cs:
566 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
567 because now it is used TlsSession and it doesn't work without
570 2003-10-16 Pedro Mart�ez Juli� <yoros@wanadoo.es>
572 * Makefile: changed reference from Lib/System.Security.Tls.dll to
573 System.Security.Tls because the last will be installed before and
576 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
577 Mono.Security.Tls library directory.
579 2003-10-15 Pedro Mart�ez Juli� <yoros@wanadoo.es>
581 * Makefile: fix building and the install objectives.
583 2003-04-26 Pedro Mart�ez Juli� <yoros@wanadoo.es>
585 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
586 they works as direct casting from GetValue.
588 2003-07-18 Peter Williams <peter@newton.cx>
590 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
591 we can't unless corlib is strongnamed too. Not a wonderful solution,
592 but I don't think this ever worked anyway.
594 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
595 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
596 processing 0 rows queries.
598 2003-04-26 Pedro Mart�ez Juli� <yoros@wanadoo.es>
600 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
601 date formats. I think that it's needed support to auto-detect
602 DateTime format through PgSql server configuration.
604 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
606 * Npgsql.build: got it to work for Windows build
608 * Npgsql/Npgsql.build
610 * Npgsql/Npgsql.prjx: removed files not needed
612 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
614 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
615 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
616 by adding the following files and directories to the mcs module
617 in mono-cvs.ximian.com at mcs/class:
630 Npgsql/Npgsql (directory)
631 Npgsql/AssemblyInfo.cs
632 Npgsql/NpgsqlAsciiRow.cs
633 Npgsql/NpgsqlBackEndKeyData.cs
634 Npgsql/NpgsqlClosedState.cs
635 Npgsql/NpgsqlCommand.cs
636 Npgsql/NpgsqlConnectedState.cs
637 Npgsql/NpgsqlConnection.cs
638 Npgsql/NpgsqlConnector.cs
639 Npgsql/NpgsqlConnectorPool.cs
640 Npgsql/NpgsqlDataAdapter.cs
641 Npgsql/NpgsqlDataReader.cs
642 Npgsql/NpgsqlEventLog.cs
643 Npgsql/NpgsqlException.cs
644 Npgsql/NpgsqlMediator.cs
645 Npgsql/NpgsqlMessageTypes.cs
646 Npgsql/NpgsqlParameter.cs
647 Npgsql/NpgsqlParameterCollection.cs
648 Npgsql/NpgsqlPasswordPacket.cs
649 Npgsql/NpgsqlQuery.cs
650 Npgsql/NpgsqlReadyState.cs
651 Npgsql/NpgsqlResultSet.cs
652 Npgsql/NpgsqlRowDescription.cs
653 Npgsql/NpgsqlStartupPacket.cs
654 Npgsql/NpgsqlStartupState.cs
655 Npgsql/NpgsqlState.cs
656 Npgsql/NpgsqlTransaction.cs