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