2 2005-02-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
4 * 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.
5 gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
6 Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
8 2005-02-08 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
10 * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
11 * 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.
13 2005-02-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
15 * 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.
17 2005-01-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
19 * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
20 Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
21 Fixed internal constructor to initialize Parameters collection and timeout.
23 2005-01-27 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
25 * Npgsql/NpgsqlParameter.cs,
26 Npgsql/NpgsqlConnection.cs,
27 Npgsql/NpgsqlCommand.cs,
28 Npgsql/NpgsqlParameterCollection.cs,
29 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.
31 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
33 * Makefile : quick csc build fix (tested on mcs as well).
35 2005-01-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
36 * NpgsqlTypes/NpgsqlTypes.cs,
38 Npgsql/NpgsqlParameter.cs,
39 Npgsql/NpgsqlConnection.cs,
40 Npgsql/NpgsqlCommand.cs,
41 Npgsql/NpgsqlParameterCollection.cs,
42 Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
43 * 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.
45 2005-01-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
46 * NpgsqlTypes/NpgsqlDbType.cs,
47 NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
49 Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
50 * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
51 gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
52 Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
53 * Npgsql/NpgsqlCommandBuilder.cs,
54 NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
55 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
59 2004-12-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
60 * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
61 * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
62 * 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.
64 2004-12-19 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
65 * 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.
67 2004-12-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
68 * 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.
69 * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
71 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
72 * 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.
74 2004-12-07 Raja R Harinath <rharinath@novell.com>
76 * Makefile (CLEAN_FILES): Add $(RESX_RES).
77 ($(the_lib)): Depend on $(OTHER_RES) too.
78 ($(RESX_RES)): Pass argument of RESGEN through
79 PLATFORM_CHANGE_SEPARATOR_CMD.
81 2004-12-05 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
83 * 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.
85 2004-11-26 Raja R Harinath <rharinath@novell.com>
87 * Makefile (OTHER_RES): New. List of .bmp files.
88 (EXTRA_DISTFILES): Distribute them.
90 2004-11-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com>
92 Updated to 0.7beta3 release.
93 * NpgsqlBind.cs: Minor code cleanup.
94 * NpgsqlClosedState.cs: Code formatting.
95 * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
96 * NpgsqlConnection.cs: Fixed contructor log message.
97 * NpgsqlConnectionString.cs: Code formatting.
99 ReleasePlansPortals: Added method to release used plans and portals.
100 NextPortalName, NextPlanName: Added methods to handle name generation.
101 * NpgsqlConnectorPool.cs:
102 UngetPooledConnector: Added call to release plans and portals in connector.
103 * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
104 * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
105 * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
107 ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
108 * NpgsqlState.resx: Fixed resource key typo.
109 * 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.
110 * NpgsqlDbType.cs: Code cleanup.
111 * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
112 * NpgsqlTypes.cs: Code cleanup.
113 * NpgsqlTypesHelper.cs:
114 (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
115 (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
117 2004-11-25 Raja R Harinath <rharinath@novell.com>
119 * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
121 2004-11-04 Raja R Harinath <rharinath@novell.com>
123 * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
125 2004-09-30 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126 * NpgsqlTypes/FastPath.cs,
127 NpgsqlTypes/FastPathArg.cs,
128 NpgsqlTypes/LargeObject.cs,
129 NpgsqlTypes/LargeObjectManager.cs,
130 Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
133 2004-09-26 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
135 * Npgsql/NpgsqlDataReader.cs:
136 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
137 read all the bytes field value at a time. So there is no copy when offset is not 0.
139 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
141 * Npgsql/NpgsqlCommand.cs:
142 GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
144 2004-09-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
146 * Npgsql/NpgsqlCommand.cs:
147 ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
148 GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
150 2004-09-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
152 * NpgsqlTypes/NpgsqlTypesHelper.cs:
153 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.
155 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
157 * Npgsql/NpgsqlCommand.cs:
158 GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
159 i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
160 * NpgsqlTypes/NpgsqlTypeConverters.cs:
161 BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
163 2004-09-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
166 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.
168 2004-09-15 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
169 * Npgsql/NpgsqlRowDescription.cs:
170 FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
172 2004-09-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
174 * Npgsql/NpgsqlRowDescription.cs:
175 FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
177 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
179 * NpgsqlTypes/NpgsqlTypesHelper:
180 VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
183 2004-09-12 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
185 * NpgsqlTypes/NpgsqlTypesHelper:
186 ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
187 Fix bug 955 in gborg.
189 2004-09-11 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
191 * Npgsql/NpgsqlConnection.cs:
192 Dispose: Improved implementation. Also added warning logging for
193 NpgsqlConnection leakings.
194 Close: Fixed code to allow calling many times even when being disposed.
195 * Npgsql/NpgsqlConnection.resx:
196 Added new warning logging message for NpgsqlConnection leakings.
197 * Npgsql/NpgsqlConnector.cs:
198 IsValid: new method to check if Connector is still valid.
199 * Npgsql/NpgsqlConnectorPool.cs:
200 GetPooledConnector: Improved to check validity of Connector.
201 FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
202 because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
204 2004-09-07 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
206 * NpgsqlException.cs: Added support for deserialization of NpgsqlException.
208 * NpgsqlState.cs: Added missing handling of NoData message.
211 2004-07-02 Raja R Harinath <rharinath@novell.com>
213 * Makefile (OVERRIDE_BARE_TARGETS): Remove.
214 ($(the_lib)): Make dependency explicit.
216 2004-06-28 Raja R Harinath <rharinath@novell.com>
218 * Makefile (%.resources): Use $(RESGEN).
220 2004-06-22 Raja R Harinath <rharinath@novell.com>
222 * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
224 2004-06-21 Raja R Harinath <rharinath@novell.com>
226 * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
228 2004-06-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
229 * Synchronized files with gborg cvs up to release 0.6.
231 2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
232 * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
233 It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
234 (jaak@zd.com.pl) for the patch.
236 2004-05-24 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
237 * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
239 Thanks stehule@kix.fsv.cvut.cz for the patch.
241 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
243 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
244 connect to cvs built servers which had devel in its version string.
246 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
248 Npgsql/NpgsqlCommand.cs,
249 Npgsql/NpgsqlConnection.cs,
250 Npgsql/NpgsqlDataReader.cs,
251 Npgsql/NpgsqlException.cs,
252 Npgsql/NpgsqlTransaction.cs,
253 Npgsql/Design/ConnectionStringEditor.cs,
254 Npgsql/Design/ConnectionStringEditorForm.cs,
255 Npgsql/Design/NpgsqlParameterConverter.cs,
256 Npgsql/Design/NpgsqlParametersEditor.cs,
257 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
258 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
259 Command and Prepare adds single quotes to strings twice")
260 is fixed :-) It was broken when running on the version 3
261 protocol (extended query support) on PostgreSQL 7.4.
262 Some of the files in Design were formatted with macintosh line
263 terminators. This was screwing up the xmldoc generator in csc,
264 so I reformatted to make it work.
265 I've added some essential xmldoc comments (<summary> tags). Much work
266 remains here, but I wanted to get a few in on common functions and
269 The .build file will now generate the Npgsql.xml file, next to the .dll
270 file. I removed the existing Npgsql.xml from CVS.
272 Thanks Glen Parker for this patch.
275 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
278 NpgsqlBackEndKeyData.cs,
281 NpgsqlConnectedState.cs,
283 NpgsqlConnection.resx,
285 NpgsqlConnectorPool.cs,
288 NpgsqlMessageTypes.cs,
289 NpgsqlPasswordPacket.cs,
291 NpgsqlRowDescription.cs,
292 NpgsqlStartupPacket.cs,
295 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
296 - split more protocol handlers between version 2 and version 3
297 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
298 - store BackendKeyData in its own member on Mediator
299 - Store ParameterStatus objects in a key map on Mediator
300 - Get backend version now from the Mediator if possible
301 - Rewrite parsers for server version and connection string
302 - Store server version numericially (in a new class ServerVersion)
303 - As usual, lots of code cleanup/commenting/etc.
305 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
307 2004-05-20 Raja R Harinath <rharinath@novell.com>
309 * Makefile (%.resources): Use INTERNAL_RESGEN.
311 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
313 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
314 o InvalidOperationException when calling the Hash property and hash value is nul
315 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
317 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
321 NpgsqlClosedState.cs,
323 NpgsqlCommandBuilder.cs,
327 NpgsqlParameterCollection.cs,
329 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
330 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
331 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
335 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
338 * Npgsql.dll.resources: all the resources command line options are now
339 in a separate response file.
341 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
342 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
344 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
346 * Npgsql/NpgsqlCommand.cs,
347 Npgsql/NpgsqlConnection.cs,
348 Npgsql/NpgsqlConnector.cs,
349 Npgsql/NpgsqlConnectorPool.cs,
350 Npgsql/NpgsqlError.cs,
351 Npgsql/NpgsqlException.cs,
352 Npgsql/NpgsqlParameterCollection.cs,
353 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.
355 2004-04-30 Todd Berman <tberman@sevenl.net>
357 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
359 2004-04-30 Duncan Mak <duncan@ximian.com>
361 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
363 * Npgsql/Npgsql.pub: Added to CVS.
365 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
366 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
367 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
369 * Npgsql/NpgsqlCommand.cs
370 * Npgsql/NpgsqlCommand.resx
371 * Npgsql/NpgsqlConnection.cs
372 * Npgsql/NpgsqlConnection.resx
373 * Npgsql/NpgsqlDataAdapter.cs
374 * Npgsql/NpgsqlError.cs
375 * Npgsql/NpgsqlException.cs
376 * Npgsql/NpgsqlException.resx
377 * Npgsql/NpgsqlMediator.cs
378 * Npgsql/NpgsqlState.cs
379 * Npgsql/NpgsqlState.resx
380 * 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.
384 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
385 * 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.
387 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
388 * 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.
390 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
391 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
393 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
394 * Npgsql/NpgsqlAsciiRow.cs
395 * Npgsql/NpgsqlBinaryRow.cs
396 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
399 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
401 * Npgsql/NpgsqlConnection.cs:
402 * 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.
403 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
406 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
408 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
410 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
411 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
412 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
414 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
416 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
417 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
418 * 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.
421 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
423 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
425 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
428 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
430 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
431 ction startup time in 300 milliseconds.
433 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
435 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
436 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
438 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
440 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
441 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
443 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
445 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
447 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
449 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
451 2004-01-15 Jackson Harper <jackson@ximian.com>
453 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
455 2003-11-23 Pedro Mart�ez Juli� <yoros@wanadoo.es>
457 * Npgsql/HashAlgorithm.cs:
458 * Npgsql/NpgsqlClosedState.cs:
459 * Npgsql/NpgsqlCommand.cs:
460 * Npgsql/NpgsqlConnectedState.cs:
461 * Npgsql/NpgsqlConnection.cs:
462 * Npgsql/NpgsqlReadyState.cs:
463 * Npgsql/NpgsqlStartupState.cs:
464 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
465 ADO.NET we need to call Dispose after using any Component like
466 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
467 methods to Properties.
469 2003-11-22 Pedro Mart�ez Juli� <yoros@wanadoo.es>
471 * Npgsql/NpgsqlClosedState.cs:
472 * Npgsql/NpgsqlConnectedState.cs:
473 * Npgsql/NpgsqlConnection.cs:
474 * Npgsql/NpgsqlReadyState.cs:
475 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
476 implementation. Now we're using TcpClient for the connection and
477 Stream for the abstraction layer to SslClientStream.
479 2003-11-11 Pedro Mart�ez Juli� <yoros@wanadoo.es>
481 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
482 CanRead because the schema can be readed with or without result
485 2003-11-10 Pedro Mart�ez Juli� <yoros@wanadoo.es>
487 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
489 2003-11-10 Pedro Mart�ez Juli� <yoros@wanadoo.es>
491 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
492 when a mapping is not in the collection.
494 2003-11-09 Pedro Mart�ez Juli� <yoros@wanadoo.es>
496 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
497 CommandBuilder to the local data. Local data should be null if the
498 client doesn't set them.
500 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
502 2003-11-09 Pedro Mart�ez Juli� <yoros@wanadoo.es>
504 * Makefile: Little fix for build the resources.
506 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
509 2003-11-08 Pedro Mart�ez Juli� <yoros@wanadoo.es>
511 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
512 calls, the problem is fixed.
514 * Makefile: Fix one bug in the build of resources.
516 2003-11-08 Pedro Mart�ez Juli� <yoros@wanadoo.es>
518 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
520 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
521 OnRowUpdating is called we create the command necesary for updating,
522 inserting or deleting any row of the DataTable/DataSet.
524 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
525 work. This must be removed when ResMan works.
527 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
528 is more efficient for the deep if structure types.
530 2003-11-07 Pedro Mart�ez Juli� <yoros@wanadoo.es>
532 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
533 change. The Command objects must not be created in the constructor.
534 The Commands should be in the overrided method "OnRowUpdating".
536 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
537 the proper exception (not MissingManifestResourceException). It is
538 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
540 2003-11-07 Pedro Mart�ez Juli� <yoros@wanadoo.es>
542 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
543 different Insrt / Update / Delete commands.
545 2003-10-20 Pedro Mart�ez Juli� <yoros@wanadoo.es>
547 * Npgsql/NpgsqlClosedState.cs:
548 * Npgsql/NpgsqlConnection.cs:
549 * Npgsql/NpgsqlConnectedState.cs:
550 * Npgsql/NpgsqlReadyState.cs:
551 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
552 namespace is Mono.System.Protocol.Tls, before was
555 * Npgsql/Makefile: Change reference from System.Security.Tls to
556 Mono.Security (now Tls lives there).
558 2003-10-16 Pedro Mart�ez Juli� <yoros@wanadoo.es>
560 * Npgsql/NpgsqlClosedState.cs:
561 * Npgsql/NpgsqlConnectedState.cs:
562 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
563 because now it is used TlsSession and it doesn't work without
566 2003-10-16 Pedro Mart�ez Juli� <yoros@wanadoo.es>
568 * Makefile: changed reference from Lib/System.Security.Tls.dll to
569 System.Security.Tls because the last will be installed before and
572 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
573 Mono.Security.Tls library directory.
575 2003-10-15 Pedro Mart�ez Juli� <yoros@wanadoo.es>
577 * Makefile: fix building and the install objectives.
579 2003-04-26 Pedro Mart�ez Juli� <yoros@wanadoo.es>
581 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
582 they works as direct casting from GetValue.
584 2003-07-18 Peter Williams <peter@newton.cx>
586 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
587 we can't unless corlib is strongnamed too. Not a wonderful solution,
588 but I don't think this ever worked anyway.
590 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
591 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
592 processing 0 rows queries.
594 2003-04-26 Pedro Mart�ez Juli� <yoros@wanadoo.es>
596 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
597 date formats. I think that it's needed support to auto-detect
598 DateTime format through PgSql server configuration.
600 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
602 * Npgsql.build: got it to work for Windows build
604 * Npgsql/Npgsql.build
606 * Npgsql/Npgsql.prjx: removed files not needed
608 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
610 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
611 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
612 by adding the following files and directories to the mcs module
613 in mono-cvs.ximian.com at mcs/class:
626 Npgsql/Npgsql (directory)
627 Npgsql/AssemblyInfo.cs
628 Npgsql/NpgsqlAsciiRow.cs
629 Npgsql/NpgsqlBackEndKeyData.cs
630 Npgsql/NpgsqlClosedState.cs
631 Npgsql/NpgsqlCommand.cs
632 Npgsql/NpgsqlConnectedState.cs
633 Npgsql/NpgsqlConnection.cs
634 Npgsql/NpgsqlConnector.cs
635 Npgsql/NpgsqlConnectorPool.cs
636 Npgsql/NpgsqlDataAdapter.cs
637 Npgsql/NpgsqlDataReader.cs
638 Npgsql/NpgsqlEventLog.cs
639 Npgsql/NpgsqlException.cs
640 Npgsql/NpgsqlMediator.cs
641 Npgsql/NpgsqlMessageTypes.cs
642 Npgsql/NpgsqlParameter.cs
643 Npgsql/NpgsqlParameterCollection.cs
644 Npgsql/NpgsqlPasswordPacket.cs
645 Npgsql/NpgsqlQuery.cs
646 Npgsql/NpgsqlReadyState.cs
647 Npgsql/NpgsqlResultSet.cs
648 Npgsql/NpgsqlRowDescription.cs
649 Npgsql/NpgsqlStartupPacket.cs
650 Npgsql/NpgsqlStartupState.cs
651 Npgsql/NpgsqlState.cs
652 Npgsql/NpgsqlTransaction.cs