1 2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
4 NpgsqlBackEndKeyData.cs,
7 NpgsqlConnectedState.cs,
11 NpgsqlConnectorPool.cs,
14 NpgsqlMessageTypes.cs,
15 NpgsqlPasswordPacket.cs,
17 NpgsqlRowDescription.cs,
18 NpgsqlStartupPacket.cs,
21 NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
22 - split more protocol handlers between version 2 and version 3
23 - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
24 - store BackendKeyData in its own member on Mediator
25 - Store ParameterStatus objects in a key map on Mediator
26 - Get backend version now from the Mediator if possible
27 - Rewrite parsers for server version and connection string
28 - Store server version numericially (in a new class ServerVersion)
29 - As usual, lots of code cleanup/commenting/etc.
31 Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
33 2004-05-20 Raja R Harinath <rharinath@novell.com>
35 * Makefile (%.resources): Use INTERNAL_RESGEN.
37 2004-05-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
39 * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
40 o InvalidOperationException when calling the Hash property and hash value is nul
41 l. Thanks Gonzalo Paniagua Javier <gonzalo@ximian.com> for catching that.
43 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
49 NpgsqlCommandBuilder.cs,
53 NpgsqlParameterCollection.cs,
55 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
56 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
57 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
61 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 * Npgsql.dll.resources: all the resources command line options are now
65 in a separate response file.
67 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
68 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
70 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
72 * Npgsql/NpgsqlCommand.cs,
73 Npgsql/NpgsqlConnection.cs,
74 Npgsql/NpgsqlConnector.cs,
75 Npgsql/NpgsqlConnectorPool.cs,
76 Npgsql/NpgsqlError.cs,
77 Npgsql/NpgsqlException.cs,
78 Npgsql/NpgsqlParameterCollection.cs,
79 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.
81 2004-04-30 Todd Berman <tberman@sevenl.net>
83 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
85 2004-04-30 Duncan Mak <duncan@ximian.com>
87 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
89 * Npgsql/Npgsql.pub: Added to CVS.
91 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
92 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
93 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
95 * Npgsql/NpgsqlCommand.cs
96 * Npgsql/NpgsqlCommand.resx
97 * Npgsql/NpgsqlConnection.cs
98 * Npgsql/NpgsqlConnection.resx
99 * Npgsql/NpgsqlDataAdapter.cs
100 * Npgsql/NpgsqlError.cs
101 * Npgsql/NpgsqlException.cs
102 * Npgsql/NpgsqlException.resx
103 * Npgsql/NpgsqlMediator.cs
104 * Npgsql/NpgsqlState.cs
105 * Npgsql/NpgsqlState.resx
106 * 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.
110 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
111 * 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.
113 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
114 * 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.
116 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
117 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
119 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
120 * Npgsql/NpgsqlAsciiRow.cs
121 * Npgsql/NpgsqlBinaryRow.cs
122 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
125 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
127 * Npgsql/NpgsqlConnection.cs:
128 * 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.
129 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
132 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
134 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
136 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
137 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
138 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
140 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
142 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
143 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
144 * 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.
147 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
149 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
151 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
154 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
156 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
157 ction startup time in 300 milliseconds.
159 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
161 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
162 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
164 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
166 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
167 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
169 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
171 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
173 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
175 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
177 2004-01-15 Jackson Harper <jackson@ximian.com>
179 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
181 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
183 * Npgsql/HashAlgorithm.cs:
184 * Npgsql/NpgsqlClosedState.cs:
185 * Npgsql/NpgsqlCommand.cs:
186 * Npgsql/NpgsqlConnectedState.cs:
187 * Npgsql/NpgsqlConnection.cs:
188 * Npgsql/NpgsqlReadyState.cs:
189 * Npgsql/NpgsqlStartupState.cs:
190 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
191 ADO.NET we need to call Dispose after using any Component like
192 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
193 methods to Properties.
195 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
197 * Npgsql/NpgsqlClosedState.cs:
198 * Npgsql/NpgsqlConnectedState.cs:
199 * Npgsql/NpgsqlConnection.cs:
200 * Npgsql/NpgsqlReadyState.cs:
201 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
202 implementation. Now we're using TcpClient for the connection and
203 Stream for the abstraction layer to SslClientStream.
205 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
207 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
208 CanRead because the schema can be readed with or without result
211 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
213 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
215 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
217 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
218 when a mapping is not in the collection.
220 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
222 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
223 CommandBuilder to the local data. Local data should be null if the
224 client doesn't set them.
226 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
228 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
230 * Makefile: Little fix for build the resources.
232 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
235 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
237 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
238 calls, the problem is fixed.
240 * Makefile: Fix one bug in the build of resources.
242 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
244 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
246 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
247 OnRowUpdating is called we create the command necesary for updating,
248 inserting or deleting any row of the DataTable/DataSet.
250 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
251 work. This must be removed when ResMan works.
253 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
254 is more efficient for the deep if structure types.
256 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
258 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
259 change. The Command objects must not be created in the constructor.
260 The Commands should be in the overrided method "OnRowUpdating".
262 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
263 the proper exception (not MissingManifestResourceException). It is
264 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
266 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
268 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
269 different Insrt / Update / Delete commands.
271 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
273 * Npgsql/NpgsqlClosedState.cs:
274 * Npgsql/NpgsqlConnection.cs:
275 * Npgsql/NpgsqlConnectedState.cs:
276 * Npgsql/NpgsqlReadyState.cs:
277 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
278 namespace is Mono.System.Protocol.Tls, before was
281 * Npgsql/Makefile: Change reference from System.Security.Tls to
282 Mono.Security (now Tls lives there).
284 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
286 * Npgsql/NpgsqlClosedState.cs:
287 * Npgsql/NpgsqlConnectedState.cs:
288 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
289 because now it is used TlsSession and it doesn't work without
292 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
294 * Makefile: changed reference from Lib/System.Security.Tls.dll to
295 System.Security.Tls because the last will be installed before and
298 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
299 Mono.Security.Tls library directory.
301 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
303 * Makefile: fix building and the install objectives.
305 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
307 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
308 they works as direct casting from GetValue.
310 2003-07-18 Peter Williams <peter@newton.cx>
312 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
313 we can't unless corlib is strongnamed too. Not a wonderful solution,
314 but I don't think this ever worked anyway.
316 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
317 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
318 processing 0 rows queries.
320 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
322 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
323 date formats. I think that it's needed support to auto-detect
324 DateTime format through PgSql server configuration.
326 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
328 * Npgsql.build: got it to work for Windows build
330 * Npgsql/Npgsql.build
332 * Npgsql/Npgsql.prjx: removed files not needed
334 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
336 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
337 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
338 by adding the following files and directories to the mcs module
339 in mono-cvs.ximian.com at mcs/class:
352 Npgsql/Npgsql (directory)
353 Npgsql/AssemblyInfo.cs
354 Npgsql/NpgsqlAsciiRow.cs
355 Npgsql/NpgsqlBackEndKeyData.cs
356 Npgsql/NpgsqlClosedState.cs
357 Npgsql/NpgsqlCommand.cs
358 Npgsql/NpgsqlConnectedState.cs
359 Npgsql/NpgsqlConnection.cs
360 Npgsql/NpgsqlConnector.cs
361 Npgsql/NpgsqlConnectorPool.cs
362 Npgsql/NpgsqlDataAdapter.cs
363 Npgsql/NpgsqlDataReader.cs
364 Npgsql/NpgsqlEventLog.cs
365 Npgsql/NpgsqlException.cs
366 Npgsql/NpgsqlMediator.cs
367 Npgsql/NpgsqlMessageTypes.cs
368 Npgsql/NpgsqlParameter.cs
369 Npgsql/NpgsqlParameterCollection.cs
370 Npgsql/NpgsqlPasswordPacket.cs
371 Npgsql/NpgsqlQuery.cs
372 Npgsql/NpgsqlReadyState.cs
373 Npgsql/NpgsqlResultSet.cs
374 Npgsql/NpgsqlRowDescription.cs
375 Npgsql/NpgsqlStartupPacket.cs
376 Npgsql/NpgsqlStartupState.cs
377 Npgsql/NpgsqlState.cs
378 Npgsql/NpgsqlTransaction.cs