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