* Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
[mono.git] / mcs / class / Npgsql / ChangeLog
1 2004-04-30  Duncan Mak  <duncan@ximian.com>
2
3         * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
4
5         * Npgsql/Npgsql.pub: Added to CVS.
6
7 2004-04-21  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
8         * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
9         * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
10
11         * Npgsql/NpgsqlCommand.cs
12         * Npgsql/NpgsqlCommand.resx
13         * Npgsql/NpgsqlConnection.cs
14         * Npgsql/NpgsqlConnection.resx
15         * Npgsql/NpgsqlDataAdapter.cs
16         * Npgsql/NpgsqlError.cs
17         * Npgsql/NpgsqlException.cs
18         * Npgsql/NpgsqlException.resx
19         * Npgsql/NpgsqlMediator.cs
20         * Npgsql/NpgsqlState.cs
21         * Npgsql/NpgsqlState.resx
22         * 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.
23
24
25
26 2004-04-09  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
27         * 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.
28
29 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
30         * 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.
31
32 2004-03-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
33         * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
34
35 2004-03-22  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
36         * Npgsql/NpgsqlAsciiRow.cs
37         * Npgsql/NpgsqlBinaryRow.cs
38         * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker (glenebob@nwlink.com) for the patch.
39
40
41 2004-03-13  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
42
43         * Npgsql/NpgsqlConnection.cs:
44         * 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.
45         * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <glenebob@nwlink.com> for the patch.
46         
47
48 2004-03-06  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
49
50         * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
51
52 2004-02-29  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
53         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
54         * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
55
56 2004-02-28  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
57
58         * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
59         * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
60         * 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.
61
62
63 2004-02-25  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
64
65         * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
66
67         * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <feenix@iqs.fi> for the patch.
68
69  
70 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
71
72         * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
73 ction startup time in 300 milliseconds.
74
75 2004-02-16  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
76
77         * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
78 request 534 on gborg. Thanks Ivar <ivar@lumisoft.ee> for pointing it out.
79
80 2004-02-16 Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
81
82         * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
83 connecting using protocol 3.0 version. Thanks Sami Kuhmonen <feenix@iqs.fi> for pointing it out.
84
85 2004-02-14  Francisco Figueiredo Jr.  <fxjrlists@yahoo.com.br>
86
87         * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <morten@mertner.com> for the fix.
88
89 2004-02-10  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
90         
91         * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen (sami@iqs.fi).
92
93 2004-01-15  Jackson Harper <jackson@ximian.com>
94
95         * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
96         
97 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
98
99         * Npgsql/HashAlgorithm.cs:
100         * Npgsql/NpgsqlClosedState.cs:
101         * Npgsql/NpgsqlCommand.cs:
102         * Npgsql/NpgsqlConnectedState.cs:
103         * Npgsql/NpgsqlConnection.cs:
104         * Npgsql/NpgsqlReadyState.cs:
105         * Npgsql/NpgsqlStartupState.cs:
106         * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
107         ADO.NET we need to call Dispose after using any Component like
108         NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
109         methods to Properties.
110
111 2003-11-22  Pedro Martínez Juliá  <yoros@wanadoo.es>
112
113         * Npgsql/NpgsqlClosedState.cs:
114         * Npgsql/NpgsqlConnectedState.cs:
115         * Npgsql/NpgsqlConnection.cs:
116         * Npgsql/NpgsqlReadyState.cs:
117         * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
118         implementation. Now we're using TcpClient for the connection and
119         Stream for the abstraction layer to SslClientStream.
120
121 2003-11-11  Pedro Martínez Juliá  <yoros@wanadoo.es>
122
123         * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
124         CanRead because the schema can be readed with or without result
125         rows.
126
127 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
128
129         * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
130
131 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
132
133         * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
134         when a mapping is not in the collection.
135
136 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
137
138         * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
139         CommandBuilder to the local data. Local data should be null if the
140         client doesn't set them.
141
142         * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
143
144 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
145
146         * Makefile: Little fix for build the resources.
147
148         * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
149         command.
150
151 2003-11-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
152
153         * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
154         calls, the problem is fixed.
155
156         * Makefile: Fix one bug in the build of resources.
157
158 2003-11-08  Pedro Martínez Juliá  <yoros@wanadoo.es>
159
160         * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
161
162         * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
163         OnRowUpdating is called we create the command necesary for updating,
164         inserting or deleting any row of the DataTable/DataSet.
165
166         * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
167         work. This must be removed when ResMan works.
168
169         * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
170         is more efficient for the deep if structure types.
171
172 2003-11-07  Pedro Martínez Juliá  <yoros@wanadoo.es>
173
174         * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
175         change. The Command objects must not be created in the constructor.
176         The Commands should be in the overrided method "OnRowUpdating".
177
178         * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
179         the proper exception (not MissingManifestResourceException). It is
180         thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
181
182 2003-11-07  Pedro Martínez Juliá  <yoros@wanadoo.es>
183
184         * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
185         different Insrt / Update / Delete commands.
186
187 2003-10-20  Pedro Martínez Juliá  <yoros@wanadoo.es>
188
189         * Npgsql/NpgsqlClosedState.cs:
190         * Npgsql/NpgsqlConnection.cs:
191         * Npgsql/NpgsqlConnectedState.cs:
192         * Npgsql/NpgsqlReadyState.cs:
193         * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
194         namespace is Mono.System.Protocol.Tls, before was
195         System.Security.Tls.
196
197         * Npgsql/Makefile: Change reference from System.Security.Tls to
198         Mono.Security (now Tls lives there).
199
200 2003-10-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
201
202         * Npgsql/NpgsqlClosedState.cs:
203         * Npgsql/NpgsqlConnectedState.cs:
204         * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
205         because now it is used TlsSession and it doesn't work without
206         these changes.
207
208 2003-10-16  Pedro Martínez Juliá  <yoros@wanadoo.es>
209
210         * Makefile: changed reference from Lib/System.Security.Tls.dll to
211         System.Security.Tls because the last will be installed before and
212         separatelly.
213
214         * Lib: Removed Lib directory, moved System.Security.Tls.dll to
215         Mono.Security.Tls library directory.
216
217 2003-10-15  Pedro Martínez Juliá  <yoros@wanadoo.es>
218
219         * Makefile: fix building and the install objectives.
220
221 2003-04-26  Pedro Martínez Juliá  <yoros@wanadoo.es>
222
223         * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
224         they works as direct casting from GetValue.
225
226 2003-07-18  Peter Williams  <peter@newton.cx>
227
228         * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
229         we can't unless corlib is strongnamed too. Not a wonderful solution,
230         but I don't think this ever worked anyway.
231
232 2003-05-25  Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
233         * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
234         processing 0 rows queries.
235
236 2003-04-26  Pedro Martínez Juliá  <yoros@wanadoo.es>
237
238         * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
239         date formats. I think that it's needed support to auto-detect
240         DateTime format through PgSql server configuration.
241
242 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
243
244         * Npgsql.build: got it to work for Windows build
245         
246         * Npgsql/Npgsql.build
247         * Npgsql/Npgsql.cmbx 
248         * Npgsql/Npgsql.prjx: removed files not needed
249
250 2003-01-28  Daniel Morgan <danmorg@sc.rr.com>
251
252         * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
253           from http://gborg.postgresql.org/project/npgsql/projdisplay.php
254           by adding the following files and directories to the mcs module
255           in mono-cvs.ximian.com at mcs/class:
256       
257       Npgsql (directory)     
258       ChangeLog    
259       Makefile  
260       Npgsql.build  
261       RELEASENOTES.txt  
262       TODO.txt  
263       makefile.gnu
264       LICENSE.txt  
265       README.txt
266       STATUS.txt
267       list
268           Npgsql/Npgsql (directory)
269           Npgsql/AssemblyInfo.cs
270           Npgsql/NpgsqlAsciiRow.cs
271           Npgsql/NpgsqlBackEndKeyData.cs
272           Npgsql/NpgsqlClosedState.cs
273           Npgsql/NpgsqlCommand.cs
274           Npgsql/NpgsqlConnectedState.cs
275           Npgsql/NpgsqlConnection.cs
276           Npgsql/NpgsqlConnector.cs
277           Npgsql/NpgsqlConnectorPool.cs
278           Npgsql/NpgsqlDataAdapter.cs
279           Npgsql/NpgsqlDataReader.cs
280           Npgsql/NpgsqlEventLog.cs
281           Npgsql/NpgsqlException.cs
282           Npgsql/NpgsqlMediator.cs
283           Npgsql/NpgsqlMessageTypes.cs
284           Npgsql/NpgsqlParameter.cs
285           Npgsql/NpgsqlParameterCollection.cs
286           Npgsql/NpgsqlPasswordPacket.cs
287           Npgsql/NpgsqlQuery.cs
288           Npgsql/NpgsqlReadyState.cs
289           Npgsql/NpgsqlResultSet.cs
290           Npgsql/NpgsqlRowDescription.cs
291           Npgsql/NpgsqlStartupPacket.cs
292           Npgsql/NpgsqlStartupState.cs
293           Npgsql/NpgsqlState.cs
294           Npgsql/NpgsqlTransaction.cs
295           Npgsql/PGUtil.cs
296