1 2004-05-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
7 NpgsqlCommandBuilder.cs,
11 NpgsqlParameterCollection.cs,
13 NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
14 e meaningful exceptions instead of throw NpgsqlException which are now exclusive
15 ly to sign server errors. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
19 2004-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
22 * Npgsql.dll.resources: all the resources command line options are now
23 in a separate response file.
25 2004-05-04 Jaroslaw Kowalski <jaak@zd.com.pl>
26 * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
28 2004-05-01 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
30 * Npgsql/NpgsqlCommand.cs,
31 Npgsql/NpgsqlConnection.cs,
32 Npgsql/NpgsqlConnector.cs,
33 Npgsql/NpgsqlConnectorPool.cs,
34 Npgsql/NpgsqlError.cs,
35 Npgsql/NpgsqlException.cs,
36 Npgsql/NpgsqlParameterCollection.cs,
37 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.
39 2004-04-30 Todd Berman <tberman@sevenl.net>
41 * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
43 2004-04-30 Duncan Mak <duncan@ximian.com>
45 * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
47 * Npgsql/Npgsql.pub: Added to CVS.
49 2004-04-21 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
50 * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
51 * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
53 * Npgsql/NpgsqlCommand.cs
54 * Npgsql/NpgsqlCommand.resx
55 * Npgsql/NpgsqlConnection.cs
56 * Npgsql/NpgsqlConnection.resx
57 * Npgsql/NpgsqlDataAdapter.cs
58 * Npgsql/NpgsqlError.cs
59 * Npgsql/NpgsqlException.cs
60 * Npgsql/NpgsqlException.resx
61 * Npgsql/NpgsqlMediator.cs
62 * Npgsql/NpgsqlState.cs
63 * Npgsql/NpgsqlState.resx
64 * 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.
68 2004-04-09 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
69 * 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.
71 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
72 * 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.
74 2004-03-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
75 * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
77 2004-03-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
78 * Npgsql/NpgsqlAsciiRow.cs
79 * Npgsql/NpgsqlBinaryRow.cs
80 * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
83 2004-03-13 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
85 * Npgsql/NpgsqlConnection.cs:
86 * 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.
87 * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
90 2004-03-06 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
92 * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
94 2004-02-29 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
95 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
96 * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
98 2004-02-28 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
100 * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
101 * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
102 * 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.
105 2004-02-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
107 * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
109 * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
112 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
114 * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
115 ction startup time in 300 milliseconds.
117 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
119 * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
120 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
122 2004-02-16 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
124 * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
125 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
127 2004-02-14 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
129 * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
131 2004-02-10 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
133 * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
135 2004-01-15 Jackson Harper <jackson@ximian.com>
137 * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
139 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
141 * Npgsql/HashAlgorithm.cs:
142 * Npgsql/NpgsqlClosedState.cs:
143 * Npgsql/NpgsqlCommand.cs:
144 * Npgsql/NpgsqlConnectedState.cs:
145 * Npgsql/NpgsqlConnection.cs:
146 * Npgsql/NpgsqlReadyState.cs:
147 * Npgsql/NpgsqlStartupState.cs:
148 * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
149 ADO.NET we need to call Dispose after using any Component like
150 NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
151 methods to Properties.
153 2003-11-22 Pedro Martínez Juliá <yoros@wanadoo.es>
155 * Npgsql/NpgsqlClosedState.cs:
156 * Npgsql/NpgsqlConnectedState.cs:
157 * Npgsql/NpgsqlConnection.cs:
158 * Npgsql/NpgsqlReadyState.cs:
159 * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
160 implementation. Now we're using TcpClient for the connection and
161 Stream for the abstraction layer to SslClientStream.
163 2003-11-11 Pedro Martínez Juliá <yoros@wanadoo.es>
165 * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
166 CanRead because the schema can be readed with or without result
169 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
171 * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
173 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
175 * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
176 when a mapping is not in the collection.
178 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
180 * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
181 CommandBuilder to the local data. Local data should be null if the
182 client doesn't set them.
184 * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
186 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
188 * Makefile: Little fix for build the resources.
190 * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
193 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
195 * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
196 calls, the problem is fixed.
198 * Makefile: Fix one bug in the build of resources.
200 2003-11-08 Pedro Martínez Juliá <yoros@wanadoo.es>
202 * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
204 * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
205 OnRowUpdating is called we create the command necesary for updating,
206 inserting or deleting any row of the DataTable/DataSet.
208 * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
209 work. This must be removed when ResMan works.
211 * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
212 is more efficient for the deep if structure types.
214 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
216 * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
217 change. The Command objects must not be created in the constructor.
218 The Commands should be in the overrided method "OnRowUpdating".
220 * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
221 the proper exception (not MissingManifestResourceException). It is
222 thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
224 2003-11-07 Pedro Martínez Juliá <yoros@wanadoo.es>
226 * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
227 different Insrt / Update / Delete commands.
229 2003-10-20 Pedro Martínez Juliá <yoros@wanadoo.es>
231 * Npgsql/NpgsqlClosedState.cs:
232 * Npgsql/NpgsqlConnection.cs:
233 * Npgsql/NpgsqlConnectedState.cs:
234 * Npgsql/NpgsqlReadyState.cs:
235 * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
236 namespace is Mono.System.Protocol.Tls, before was
239 * Npgsql/Makefile: Change reference from System.Security.Tls to
240 Mono.Security (now Tls lives there).
242 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
244 * Npgsql/NpgsqlClosedState.cs:
245 * Npgsql/NpgsqlConnectedState.cs:
246 * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
247 because now it is used TlsSession and it doesn't work without
250 2003-10-16 Pedro Martínez Juliá <yoros@wanadoo.es>
252 * Makefile: changed reference from Lib/System.Security.Tls.dll to
253 System.Security.Tls because the last will be installed before and
256 * Lib: Removed Lib directory, moved System.Security.Tls.dll to
257 Mono.Security.Tls library directory.
259 2003-10-15 Pedro Martínez Juliá <yoros@wanadoo.es>
261 * Makefile: fix building and the install objectives.
263 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
265 * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
266 they works as direct casting from GetValue.
268 2003-07-18 Peter Williams <peter@newton.cx>
270 * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
271 we can't unless corlib is strongnamed too. Not a wonderful solution,
272 but I don't think this ever worked anyway.
274 2003-05-25 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
275 * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
276 processing 0 rows queries.
278 2003-04-26 Pedro Martínez Juliá <yoros@wanadoo.es>
280 * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
281 date formats. I think that it's needed support to auto-detect
282 DateTime format through PgSql server configuration.
284 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
286 * Npgsql.build: got it to work for Windows build
288 * Npgsql/Npgsql.build
290 * Npgsql/Npgsql.prjx: removed files not needed
292 2003-01-28 Daniel Morgan <danmorg@sc.rr.com>
294 * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
295 from http://gborg.postgresql.org/project/npgsql/projdisplay.php
296 by adding the following files and directories to the mcs module
297 in mono-cvs.ximian.com at mcs/class:
310 Npgsql/Npgsql (directory)
311 Npgsql/AssemblyInfo.cs
312 Npgsql/NpgsqlAsciiRow.cs
313 Npgsql/NpgsqlBackEndKeyData.cs
314 Npgsql/NpgsqlClosedState.cs
315 Npgsql/NpgsqlCommand.cs
316 Npgsql/NpgsqlConnectedState.cs
317 Npgsql/NpgsqlConnection.cs
318 Npgsql/NpgsqlConnector.cs
319 Npgsql/NpgsqlConnectorPool.cs
320 Npgsql/NpgsqlDataAdapter.cs
321 Npgsql/NpgsqlDataReader.cs
322 Npgsql/NpgsqlEventLog.cs
323 Npgsql/NpgsqlException.cs
324 Npgsql/NpgsqlMediator.cs
325 Npgsql/NpgsqlMessageTypes.cs
326 Npgsql/NpgsqlParameter.cs
327 Npgsql/NpgsqlParameterCollection.cs
328 Npgsql/NpgsqlPasswordPacket.cs
329 Npgsql/NpgsqlQuery.cs
330 Npgsql/NpgsqlReadyState.cs
331 Npgsql/NpgsqlResultSet.cs
332 Npgsql/NpgsqlRowDescription.cs
333 Npgsql/NpgsqlStartupPacket.cs
334 Npgsql/NpgsqlStartupState.cs
335 Npgsql/NpgsqlState.cs
336 Npgsql/NpgsqlTransaction.cs