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