1 2004-06-28 Raja R Harinath <rharinath@novell.com>
3 * Makefile (%.resources): Use $(RESGEN).
5 2004-06-22 Raja R Harinath <rharinath@novell.com>
7 * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
9 2004-06-21 Raja R Harinath <rharinath@novell.com>
11 * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
13 2004-06-18 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
14 * Synchronized files with gborg cvs up to release 0.6.
16 2004-05-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
17 * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
18 It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
19 (jaak@zd.com.pl) for the patch.
21 2004-05-24 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
22 * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
24 Thanks stehule@kix.fsv.cvut.cz for the patch.
26 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
28 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
29 connect to cvs built servers which had devel in its version string.
31 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
33 Npgsql/NpgsqlCommand.cs,
34 Npgsql/NpgsqlConnection.cs,
35 Npgsql/NpgsqlDataReader.cs,
36 Npgsql/NpgsqlException.cs,
37 Npgsql/NpgsqlTransaction.cs,
38 Npgsql/Design/ConnectionStringEditor.cs,
39 Npgsql/Design/ConnectionStringEditorForm.cs,
40 Npgsql/Design/NpgsqlParameterConverter.cs,
41 Npgsql/Design/NpgsqlParametersEditor.cs,
42 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
43 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
44 Command and Prepare adds single quotes to strings twice")
45 is fixed :-) It was broken when running on the version 3
46 protocol (extended query support) on PostgreSQL 7.4.
47 Some of the files in Design were formatted with macintosh line
48 terminators. This was screwing up the xmldoc generator in csc,
49 so I reformatted to make it work.
50 I've added some essential xmldoc comments (<summary> tags). Much work
51 remains here, but I wanted to get a few in on common functions and
54 The .build file will now generate the Npgsql.xml file, next to the .dll
55 file. I removed the existing Npgsql.xml from CVS.
57 Thanks Glen Parker for this patch.
60 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
63 NpgsqlBackEndKeyData.cs,
66 NpgsqlConnectedState.cs,
68 NpgsqlConnection.resx,
70 NpgsqlConnectorPool.cs,
73 NpgsqlMessageTypes.cs,
74 NpgsqlPasswordPacket.cs,
76 NpgsqlRowDescription.cs,
77 NpgsqlStartupPacket.cs,
80 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
81 - split more protocol handlers between version 2 and version 3
82 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
83 - store BackendKeyData in its own member on Mediator
84 - Store ParameterStatus objects in a key map on Mediator
85 - Get backend version now from the Mediator if possible
86 - Rewrite parsers for server version and connection string
87 - Store server version numericially (in a new class ServerVersion)
88 - As usual, lots of code cleanup/commenting/etc.
90 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
92 2004-05-20 Raja R Harinath <rharinath@novell.com>
94 * Makefile (%.resources): Use INTERNAL_RESGEN.
96 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
98 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
99 o InvalidOperationException when calling the Hash property and hash value is nul
100 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
102 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
106 NpgsqlClosedState.cs,
108 NpgsqlCommandBuilder.cs,
112 NpgsqlParameterCollection.cs,
114 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
115 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
116 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
120 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
123 * Npgsql.dll.resources: all the resources command line options are now
124 in a separate response file.
126 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
127 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
129 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
131 * Npgsql/NpgsqlCommand.cs,
132 Npgsql/NpgsqlConnection.cs,
133 Npgsql/NpgsqlConnector.cs,
134 Npgsql/NpgsqlConnectorPool.cs,
135 Npgsql/NpgsqlError.cs,
136 Npgsql/NpgsqlException.cs,
137 Npgsql/NpgsqlParameterCollection.cs,
138 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.
140 2004-04-30 Todd Berman <tberman@sevenl.net>
142 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
144 2004-04-30 Duncan Mak <duncan@ximian.com>
146 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
148 * Npgsql/Npgsql.pub: Added to CVS.
150 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
151 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
152 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
154 * Npgsql/NpgsqlCommand.cs
155 * Npgsql/NpgsqlCommand.resx
156 * Npgsql/NpgsqlConnection.cs
157 * Npgsql/NpgsqlConnection.resx
158 * Npgsql/NpgsqlDataAdapter.cs
159 * Npgsql/NpgsqlError.cs
160 * Npgsql/NpgsqlException.cs
161 * Npgsql/NpgsqlException.resx
162 * Npgsql/NpgsqlMediator.cs
163 * Npgsql/NpgsqlState.cs
164 * Npgsql/NpgsqlState.resx
165 * 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.
169 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
170 * 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.
172 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
173 * 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.
175 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
176 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
178 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
179 * Npgsql/NpgsqlAsciiRow.cs
180 * Npgsql/NpgsqlBinaryRow.cs
181 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
184 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
186 * Npgsql/NpgsqlConnection.cs:
187 * 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.
188 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
191 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
193 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
195 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
196 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
197 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
199 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
201 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
202 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
203 * 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.
206 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
208 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
210 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
213 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
215 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
216 ction startup time in 300 milliseconds.
218 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
220 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
221 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
223 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
225 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
226 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
228 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
230 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
232 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
234 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
236 2004-01-15 Jackson Harper <jackson@ximian.com>
238 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
240 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
242 * Npgsql/HashAlgorithm.cs:
243 * Npgsql/NpgsqlClosedState.cs:
244 * Npgsql/NpgsqlCommand.cs:
245 * Npgsql/NpgsqlConnectedState.cs:
246 * Npgsql/NpgsqlConnection.cs:
247 * Npgsql/NpgsqlReadyState.cs:
248 * Npgsql/NpgsqlStartupState.cs:
249 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
250 ADO.NET we need to call Dispose after using any Component like
251 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
252 methods to Properties.
254 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
256 * Npgsql/NpgsqlClosedState.cs:
257 * Npgsql/NpgsqlConnectedState.cs:
258 * Npgsql/NpgsqlConnection.cs:
259 * Npgsql/NpgsqlReadyState.cs:
260 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
261 implementation. Now we're using TcpClient for the connection and
262 Stream for the abstraction layer to SslClientStream.
264 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
266 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
267 CanRead because the schema can be readed with or without result
270 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
272 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
274 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
276 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
277 when a mapping is not in the collection.
279 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
281 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
282 CommandBuilder to the local data. Local data should be null if the
283 client doesn't set them.
285 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
287 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
289 * Makefile: Little fix for build the resources.
291 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
294 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
296 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
297 calls, the problem is fixed.
299 * Makefile: Fix one bug in the build of resources.
301 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
303 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
305 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
306 OnRowUpdating is called we create the command necesary for updating,
307 inserting or deleting any row of the DataTable/DataSet.
309 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
310 work. This must be removed when ResMan works.
312 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
313 is more efficient for the deep if structure types.
315 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
317 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
318 change. The Command objects must not be created in the constructor.
319 The Commands should be in the overrided method "OnRowUpdating".
321 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
322 the proper exception (not MissingManifestResourceException). It is
323 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
325 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
327 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
328 different Insrt / Update / Delete commands.
330 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
332 * Npgsql/NpgsqlClosedState.cs:
333 * Npgsql/NpgsqlConnection.cs:
334 * Npgsql/NpgsqlConnectedState.cs:
335 * Npgsql/NpgsqlReadyState.cs:
336 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
337 namespace is Mono.System.Protocol.Tls, before was
340 * Npgsql/Makefile: Change reference from System.Security.Tls to
341 Mono.Security (now Tls lives there).
343 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
345 * Npgsql/NpgsqlClosedState.cs:
346 * Npgsql/NpgsqlConnectedState.cs:
347 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
348 because now it is used TlsSession and it doesn't work without
351 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
353 * Makefile: changed reference from Lib/System.Security.Tls.dll to
354 System.Security.Tls because the last will be installed before and
357 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
358 Mono.Security.Tls library directory.
360 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
362 * Makefile: fix building and the install objectives.
364 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
366 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
367 they works as direct casting from GetValue.
369 2003-07-18 Peter Williams <peter@newton.cx>
371 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
372 we can't unless corlib is strongnamed too. Not a wonderful solution,
373 but I don't think this ever worked anyway.
375 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
376 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
377 processing 0 rows queries.
379 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
381 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
382 date formats. I think that it's needed support to auto-detect
383 DateTime format through PgSql server configuration.
385 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
387 * Npgsql.build: got it to work for Windows build
389 * Npgsql/Npgsql.build
391 * Npgsql/Npgsql.prjx: removed files not needed
393 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
395 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
396 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
397 by adding the following files and directories to the mcs module
398 in mono-cvs.ximian.com at mcs/class:
411 Npgsql/Npgsql (directory)
412 Npgsql/AssemblyInfo.cs
413 Npgsql/NpgsqlAsciiRow.cs
414 Npgsql/NpgsqlBackEndKeyData.cs
415 Npgsql/NpgsqlClosedState.cs
416 Npgsql/NpgsqlCommand.cs
417 Npgsql/NpgsqlConnectedState.cs
418 Npgsql/NpgsqlConnection.cs
419 Npgsql/NpgsqlConnector.cs
420 Npgsql/NpgsqlConnectorPool.cs
421 Npgsql/NpgsqlDataAdapter.cs
422 Npgsql/NpgsqlDataReader.cs
423 Npgsql/NpgsqlEventLog.cs
424 Npgsql/NpgsqlException.cs
425 Npgsql/NpgsqlMediator.cs
426 Npgsql/NpgsqlMessageTypes.cs
427 Npgsql/NpgsqlParameter.cs
428 Npgsql/NpgsqlParameterCollection.cs
429 Npgsql/NpgsqlPasswordPacket.cs
430 Npgsql/NpgsqlQuery.cs
431 Npgsql/NpgsqlReadyState.cs
432 Npgsql/NpgsqlResultSet.cs
433 Npgsql/NpgsqlRowDescription.cs
434 Npgsql/NpgsqlStartupPacket.cs
435 Npgsql/NpgsqlStartupState.cs
436 Npgsql/NpgsqlState.cs
437 Npgsql/NpgsqlTransaction.cs