1 2004-05-23 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
3 * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
4 connect to cvs built servers which had devel in its version string.
6 2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
8 Npgsql/NpgsqlCommand.cs,
9 Npgsql/NpgsqlConnection.cs,
10 Npgsql/NpgsqlDataReader.cs,
11 Npgsql/NpgsqlException.cs,
12 Npgsql/NpgsqlTransaction.cs,
13 Npgsql/Design/ConnectionStringEditor.cs,
14 Npgsql/Design/ConnectionStringEditorForm.cs,
15 Npgsql/Design/NpgsqlParameterConverter.cs,
16 Npgsql/Design/NpgsqlParametersEditor.cs,
17 NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
18 Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
19 Command and Prepare adds single quotes to strings twice")
20 is fixed :-) It was broken when running on the version 3
21 protocol (extended query support) on PostgreSQL 7.4.
22 Some of the files in Design were formatted with macintosh line
23 terminators. This was screwing up the xmldoc generator in csc,
24 so I reformatted to make it work.
25 I've added some essential xmldoc comments (<summary> tags). Much work
26 remains here, but I wanted to get a few in on common functions and
29 The .build file will now generate the Npgsql.xml file, next to the .dll
30 file. I removed the existing Npgsql.xml from CVS.
32 Thanks Glen Parker for this patch.
35 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
38 NpgsqlBackEndKeyData.cs,
41 NpgsqlConnectedState.cs,
43 NpgsqlConnection.resx,
45 NpgsqlConnectorPool.cs,
48 NpgsqlMessageTypes.cs,
49 NpgsqlPasswordPacket.cs,
51 NpgsqlRowDescription.cs,
52 NpgsqlStartupPacket.cs,
55 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
56 - split more protocol handlers between version 2 and version 3
57 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
58 - store BackendKeyData in its own member on Mediator
59 - Store ParameterStatus objects in a key map on Mediator
60 - Get backend version now from the Mediator if possible
61 - Rewrite parsers for server version and connection string
62 - Store server version numericially (in a new class ServerVersion)
63 - As usual, lots of code cleanup/commenting/etc.
65 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
67 2004-05-20 Raja R Harinath <rharinath@novell.com>
69 * Makefile (%.resources): Use INTERNAL_RESGEN.
71 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
73 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
74 o InvalidOperationException when calling the Hash property and hash value is nul
75 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
77 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
83 NpgsqlCommandBuilder.cs,
87 NpgsqlParameterCollection.cs,
89 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
90 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
91 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
95 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
98 * Npgsql.dll.resources: all the resources command line options are now
99 in a separate response file.
101 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
102 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
104 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
106 * Npgsql/NpgsqlCommand.cs,
107 Npgsql/NpgsqlConnection.cs,
108 Npgsql/NpgsqlConnector.cs,
109 Npgsql/NpgsqlConnectorPool.cs,
110 Npgsql/NpgsqlError.cs,
111 Npgsql/NpgsqlException.cs,
112 Npgsql/NpgsqlParameterCollection.cs,
113 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.
115 2004-04-30 Todd Berman <tberman@sevenl.net>
117 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
119 2004-04-30 Duncan Mak <duncan@ximian.com>
121 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
123 * Npgsql/Npgsql.pub: Added to CVS.
125 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
127 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
129 * Npgsql/NpgsqlCommand.cs
130 * Npgsql/NpgsqlCommand.resx
131 * Npgsql/NpgsqlConnection.cs
132 * Npgsql/NpgsqlConnection.resx
133 * Npgsql/NpgsqlDataAdapter.cs
134 * Npgsql/NpgsqlError.cs
135 * Npgsql/NpgsqlException.cs
136 * Npgsql/NpgsqlException.resx
137 * Npgsql/NpgsqlMediator.cs
138 * Npgsql/NpgsqlState.cs
139 * Npgsql/NpgsqlState.resx
140 * 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.
144 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
145 * 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.
147 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
148 * 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.
150 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
151 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
153 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
154 * Npgsql/NpgsqlAsciiRow.cs
155 * Npgsql/NpgsqlBinaryRow.cs
156 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
159 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
161 * Npgsql/NpgsqlConnection.cs:
162 * 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.
163 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
166 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
168 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
170 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
171 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
172 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
174 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
176 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
177 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
178 * 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.
181 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
183 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
185 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
188 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
190 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
191 ction startup time in 300 milliseconds.
193 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
195 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
196 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
198 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
200 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
201 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
203 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
205 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
207 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
209 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
211 2004-01-15 Jackson Harper <jackson@ximian.com>
213 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
215 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
217 * Npgsql/HashAlgorithm.cs:
218 * Npgsql/NpgsqlClosedState.cs:
219 * Npgsql/NpgsqlCommand.cs:
220 * Npgsql/NpgsqlConnectedState.cs:
221 * Npgsql/NpgsqlConnection.cs:
222 * Npgsql/NpgsqlReadyState.cs:
223 * Npgsql/NpgsqlStartupState.cs:
224 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
225 ADO.NET we need to call Dispose after using any Component like
226 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
227 methods to Properties.
229 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
231 * Npgsql/NpgsqlClosedState.cs:
232 * Npgsql/NpgsqlConnectedState.cs:
233 * Npgsql/NpgsqlConnection.cs:
234 * Npgsql/NpgsqlReadyState.cs:
235 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
236 implementation. Now we're using TcpClient for the connection and
237 Stream for the abstraction layer to SslClientStream.
239 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
241 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
242 CanRead because the schema can be readed with or without result
245 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
247 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
249 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
251 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
252 when a mapping is not in the collection.
254 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
256 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
257 CommandBuilder to the local data. Local data should be null if the
258 client doesn't set them.
260 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
262 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
264 * Makefile: Little fix for build the resources.
266 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
269 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
271 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
272 calls, the problem is fixed.
274 * Makefile: Fix one bug in the build of resources.
276 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
278 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
280 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
281 OnRowUpdating is called we create the command necesary for updating,
282 inserting or deleting any row of the DataTable/DataSet.
284 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
285 work. This must be removed when ResMan works.
287 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
288 is more efficient for the deep if structure types.
290 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
292 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
293 change. The Command objects must not be created in the constructor.
294 The Commands should be in the overrided method "OnRowUpdating".
296 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
297 the proper exception (not MissingManifestResourceException). It is
298 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
300 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
302 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
303 different Insrt / Update / Delete commands.
305 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
307 * Npgsql/NpgsqlClosedState.cs:
308 * Npgsql/NpgsqlConnection.cs:
309 * Npgsql/NpgsqlConnectedState.cs:
310 * Npgsql/NpgsqlReadyState.cs:
311 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
312 namespace is Mono.System.Protocol.Tls, before was
315 * Npgsql/Makefile: Change reference from System.Security.Tls to
316 Mono.Security (now Tls lives there).
318 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
320 * Npgsql/NpgsqlClosedState.cs:
321 * Npgsql/NpgsqlConnectedState.cs:
322 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
323 because now it is used TlsSession and it doesn't work without
326 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
328 * Makefile: changed reference from Lib/System.Security.Tls.dll to
329 System.Security.Tls because the last will be installed before and
332 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
333 Mono.Security.Tls library directory.
335 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
337 * Makefile: fix building and the install objectives.
339 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
341 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
342 they works as direct casting from GetValue.
344 2003-07-18 Peter Williams <peter@newton.cx>
346 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
347 we can't unless corlib is strongnamed too. Not a wonderful solution,
348 but I don't think this ever worked anyway.
350 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
351 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
352 processing 0 rows queries.
354 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
356 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
357 date formats. I think that it's needed support to auto-detect
358 DateTime format through PgSql server configuration.
360 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
362 * Npgsql.build: got it to work for Windows build
364 * Npgsql/Npgsql.build
366 * Npgsql/Npgsql.prjx: removed files not needed
368 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
370 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
371 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
372 by adding the following files and directories to the mcs module
373 in mono-cvs.ximian.com at mcs/class:
386 Npgsql/Npgsql (directory)
387 Npgsql/AssemblyInfo.cs
388 Npgsql/NpgsqlAsciiRow.cs
389 Npgsql/NpgsqlBackEndKeyData.cs
390 Npgsql/NpgsqlClosedState.cs
391 Npgsql/NpgsqlCommand.cs
392 Npgsql/NpgsqlConnectedState.cs
393 Npgsql/NpgsqlConnection.cs
394 Npgsql/NpgsqlConnector.cs
395 Npgsql/NpgsqlConnectorPool.cs
396 Npgsql/NpgsqlDataAdapter.cs
397 Npgsql/NpgsqlDataReader.cs
398 Npgsql/NpgsqlEventLog.cs
399 Npgsql/NpgsqlException.cs
400 Npgsql/NpgsqlMediator.cs
401 Npgsql/NpgsqlMessageTypes.cs
402 Npgsql/NpgsqlParameter.cs
403 Npgsql/NpgsqlParameterCollection.cs
404 Npgsql/NpgsqlPasswordPacket.cs
405 Npgsql/NpgsqlQuery.cs
406 Npgsql/NpgsqlReadyState.cs
407 Npgsql/NpgsqlResultSet.cs
408 Npgsql/NpgsqlRowDescription.cs
409 Npgsql/NpgsqlStartupPacket.cs
410 Npgsql/NpgsqlStartupState.cs
411 Npgsql/NpgsqlState.cs
412 Npgsql/NpgsqlTransaction.cs