Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
[mono.git] / mcs / class / Npgsql / ChangeLog
1 2004-06-22  Raja R Harinath  <rharinath@novell.com>
2
3         * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
4
5 2004-06-21  Raja R Harinath  <rharinath@novell.com>
6
7         * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
8
9 2004-06-18  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
10         * Synchronized files with gborg cvs up to release 0.6.
11
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.
16
17 2004-05-24  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
18         * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
19         Fixes Gborg bug 752.
20         Thanks stehule@kix.fsv.cvut.cz for the patch.
21
22 2004-05-23  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
23         
24         * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
25 connect to cvs built servers which had devel in its version string.
26         
27 2004-05-22  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
28
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
48 properties.
49
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.
52
53         Thanks Glen Parker for this patch.
54
55
56 2004-05-20  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
57
58         NpgsqlAsciiRow.cs,
59         NpgsqlBackEndKeyData.cs,
60         NpgsqlBinaryRow.cs,
61         NpgsqlCommand.cs,
62         NpgsqlConnectedState.cs,
63         NpgsqlConnection.cs,
64         NpgsqlConnection.resx,
65         NpgsqlConnector.cs,
66         NpgsqlConnectorPool.cs,
67         NpgsqlError.cs,
68         NpgsqlMediator.cs,
69         NpgsqlMessageTypes.cs,
70         NpgsqlPasswordPacket.cs,
71         NpgsqlQuery.cs,
72         NpgsqlRowDescription.cs,
73         NpgsqlStartupPacket.cs,
74         NpgsqlState.cs,
75         PGUtil.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.
85
86         Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
87
88 2004-05-20  Raja R Harinath  <rharinath@novell.com>
89
90         * Makefile (%.resources): Use INTERNAL_RESGEN.
91
92 2004-05-13  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
93
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.
97
98 2004-05-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
99         * HashAlgorithm.cs,
100         NpgsqlAsciiRow.cs,
101         NpgsqlBinaryRow.cs,
102         NpgsqlClosedState.cs,
103         NpgsqlCommand.cs,
104         NpgsqlCommandBuilder.cs,
105         NpgsqlConnection.cs,
106         NpgsqlDataReader.cs,
107         NpgsqlException.cs,
108         NpgsqlParameterCollection.cs,
109         NpgsqlReadyState.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.
113
114
115
116 2004-05-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
117
118         * Makefile:
119         * Npgsql.dll.resources: all the resources command line options are now
120         in a separate response file.
121
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.
124
125 2004-05-01  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126
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.
135
136 2004-04-30  Todd Berman  <tberman@sevenl.net>
137
138         * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
139
140 2004-04-30  Duncan Mak  <duncan@ximian.com>
141
142         * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
143
144         * Npgsql/Npgsql.pub: Added to CVS.
145
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.
149
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.
162
163
164
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.
167
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.
170
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.
173
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.
178
179
180 2004-03-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
181
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.
185         
186
187 2004-03-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
188
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.
190
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.
194
195 2004-02-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
196
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.
200
201
202 2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
203
204         * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
205
206         * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
207
208  
209 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
210
211         * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
212 ction startup time in 300 milliseconds.
213
214 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
215
216         * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
217 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
218
219 2004-02-16 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
220
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.
223
224 2004-02-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
225
226         * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
227
228 2004-02-10  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
229         
230         * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
231
232 2004-01-15  Jackson Harper <jackson@ximian.com>
233
234         * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
235         
236 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
237
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.
249
250 2003-11-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
251
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.
259
260 2003-11-11  Pedro Martínez Juliá  <yoros@wanadoo.es>
261
262         * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
263         CanRead because the schema can be readed with or without result
264         rows.
265
266 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
267
268         * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
269
270 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
271
272         * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
273         when a mapping is not in the collection.
274
275 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
276
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.
280
281         * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
282
283 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
284
285         * Makefile: Little fix for build the resources.
286
287         * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
288         command.
289
290 2003-11-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
291
292         * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
293         calls, the problem is fixed.
294
295         * Makefile: Fix one bug in the build of resources.
296
297 2003-11-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
298
299         * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
300
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.
304
305         * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
306         work. This must be removed when ResMan works.
307
308         * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
309         is more efficient for the deep if structure types.
310
311 2003-11-07  Pedro Martínez Juliá  <yoros@wanadoo.es>
312
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".
316
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).
320
321 2003-11-07  Pedro Martínez Juliá  <yoros@wanadoo.es>
322
323         * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
324         different Insrt / Update / Delete commands.
325
326 2003-10-20  Pedro Martínez Juliá  <yoros@wanadoo.es>
327
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
334         System.Security.Tls.
335
336         * Npgsql/Makefile: Change reference from System.Security.Tls to
337         Mono.Security (now Tls lives there).
338
339 2003-10-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
340
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
345         these changes.
346
347 2003-10-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
348
349         * Makefile: changed reference from Lib/System.Security.Tls.dll to
350         System.Security.Tls because the last will be installed before and
351         separatelly.
352
353         * Lib: Removed Lib directory, moved System.Security.Tls.dll to
354         Mono.Security.Tls library directory.
355
356 2003-10-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
357
358         * Makefile: fix building and the install objectives.
359
360 2003-04-26  Pedro Martínez Juliá  <yoros@wanadoo.es>
361
362         * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
363         they works as direct casting from GetValue.
364
365 2003-07-18  Peter Williams  <peter@newton.cx>
366
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.
370
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.
374
375 2003-04-26  Pedro Martínez Juliá  <yoros@wanadoo.es>
376
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.
380
381 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
382
383         * Npgsql.build: got it to work for Windows build
384         
385         * Npgsql/Npgsql.build
386         * Npgsql/Npgsql.cmbx 
387         * Npgsql/Npgsql.prjx: removed files not needed
388
389 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
390
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:
395       
396       Npgsql (directory)     
397       ChangeLog    
398       Makefile  
399       Npgsql.build  
400       RELEASENOTES.txt  
401       TODO.txt  
402       makefile.gnu
403       LICENSE.txt  
404       README.txt
405       STATUS.txt
406       list
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
434           Npgsql/PGUtil.cs
435