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