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