ChangeLog 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  1. 2005-08-27 Francisco Figueiredo Jr. <[email protected]>
  2. * NpgsqlParameter.cs: Applied patch to fix a NullReferenceException when using Design Time support. Thanks Josh Cooley ( jbnpgsql at tuxinthebox dot net ) for patch.
  3. * NpgsqlDataReader.cs: Updated ProviderType metadata from NpgsqlDataReader.GetResultsetSchema to be the string for the type rather than the oid. Fixed ColumnSize, NumericPrecision, NumericScale, BaseColumnName, AllowDBNull, and IsAliased. Also integrated patch from (rlp at bamafolks dot com), gborg 751. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patches!
  4. * NpgsqlConnection.cs,
  5. NpgsqlSchema.cs: Josh Cooley (jbnpgsql at tuxinthebox dot net) improved Metadata support in Npgsql. Added support for the following collections through NpgsqlConnection.GetSchema() methods: MetaDataCollections, Restrictions, Databases, Tables, Columns, Views and Users. Also added support for restrictions when getting info about these collections.
  6. * NpgsqlCommand.cs: Fixed problem with stored procedure command texts which finished with a ";". Npgsql was adding incorrectly a trailing "()" when calling this command text.
  7. * NpgsqlDbType.cs,
  8. NpgsqlTypesHelper.cs: Added refcursor parameter support. Now, refcursors can be passed as arguments for functions. Thanks Jon Asher for heads up and tests.
  9. * Npgsql.dll.sources: Added helper metadata class. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net).
  10. * NpgsqlDataAdapter: Updated constructor documentation.
  11. * NpgsqlConnectorPool: Fixed concurrent problem when using MinPoolSize > 1. Thanks Josh Cooley (jbnpgsql at tuxinthebox dot net) for patch.
  12. * NpgsqlParameterCollection.cs: Fixed problems with parameters with "@" prefix. They weren't correctly recognized. Thanks Pejvan Beigui ( pejvan at gmail dot com) for heads up.
  13. * NpgsqlCommandBuilder.cs: Updated documentation.
  14. 2005-08-21 Francisco Figueiredo Jr. <[email protected]>
  15. * Makefile,
  16. Npgsql.dll.resources: Removed references to design time support. This is not needed when compiling Npgsql with mono.
  17. 2005-08-06 Francisco Figueiredo Jr. <[email protected]>
  18. * NpgsqlCommand.cs: Fixed problem when using commandtype.storedprocedure with command texts which have parameters with ' or any other value which needed to be escaped. Now they are properly handled. Thanks Dalibor (dalxxx at email dot com) for heads up and tests.
  19. 2005-08-05 Francisco Figueiredo Jr. <[email protected]>
  20. * NpgsqlConnection.cs: Fixed documentation about User Id connection string key. Thanks peyn at tlen dot pl for heads up. Fixes gborg 1388
  21. 2005-07-29 Francisco Figueiredo Jr. <[email protected]>
  22. * NpgsqlCommand.cs: Fixed problem with query strings with newlines. Regexp used to parse parameters were removing new line bytes creating query strings with errors. Thanks Jaroslaw Kowalski (jaak at jkowalski dot net) for fix.
  23. 2005-07-19 Francisco Figueiredo Jr. <[email protected]>
  24. * NpgsqlTypes/NpgsqlTypeConverters.cs: Gborg 1370. Fixed problems with Money type when using a culture which doesn't use dot as decimal separator. Also fixed problem where only Decimal types (i.e.: 7.4M) could be used as Money type values. Now Float values can be used too.
  25. 2005-07-08 Francisco Figueiredo Jr. <[email protected]>
  26. * Npgsql/NpgsqlCommand.cs: Npgsql now can handle functions which return refcursor and setof refcursor. Now, results are returned as NpgsqlDataReader resultsets. There is no need to explicitly call "fetch all ..."
  27. 2005-07-05 Francisco Figueiredo Jr. <[email protected]>
  28. * NpgsqlTypes/NpgsqlDbType.cs,
  29. NpgsqlTypes/NpgsqlTypesHelper.cs,
  30. Npgsql/NpgsqlParameter.cs,
  31. Npgsql/NpgsqlConnectionString.cs,
  32. Npgsql/NpgsqlState.resx,
  33. Npgsql/NpgsqlConnection.cs,
  34. Npgsql/NpgsqlClosedState.cs,
  35. Npgsql/NpgsqlCommand.cs,
  36. Npgsql/NpgsqlConnector.cs,
  37. Npgsql/NpgsqlParameterCollection.cs,
  38. Npgsql/NpgsqlDataReader.cs,
  39. Npgsql/NpgsqlException.cs: Updated to Npgsql 0.7beta6 gborg code.
  40. 2005-02-20 Francisco Figueiredo Jr. <[email protected]>
  41. * Npgsql/NpgsqlCommand.cs: Fixed a problem when using prepare commands inside a transaction. Portal wasn't being released. We use the unnamed portal now. Thanks Marcin (marcin at floryan dot neostrada dot pl) for the heads up.
  42. 2005-02-13 Francisco Figueiredo Jr. <[email protected]>
  43. * NpgsqlTypes/NpgsqlTypesHelper.cs: gborg 1121: Fixed another culture variant representation problem when handling floating numbers. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
  44. gborg 1167: Added support for writing null chars in text fields. Now they are escaped with \\0.
  45. Thanks Sergey (sergey dot p dot k dot no dot spam at gmail dot com) for patch.
  46. 2005-02-08 Francisco Figueiredo Jr. <[email protected]>
  47. * NpgsqlTypes/NpgsqlTypesHelper.cs: Fixed float precision rounding. Now all float values are sent with 15 precision scale.
  48. * Npgsql/NpgsqlCommand.cs: Fixed problem when setting a new connection and a running transaction existed. Now, the transaction can be removed and later the connection can be replaced. Thanks Mike Griffin (mike.griffin at mygenerationsoftware dot com) for heads up.
  49. 2005-02-06 Francisco Figueiredo Jr. <[email protected]>
  50. * NpgsqlTypes/NpgsqlTypeConverters.cs: Fixed datetime precision when sending values to backend. It was sending just the first 3 decimal values of time. Now it sends all the 6 digits. Thanks Martin Susil (spam at susil dot net) for heads up.
  51. 2005-01-29 Francisco Figueiredo Jr. <[email protected]>
  52. * Npgsql/NpgsqlCommand.cs: Added support for updating output parameters when calling executereader().
  53. Thanks Mike Griffin (mike dot griffin at mygenerationsoftware dot com) for heads up.
  54. Fixed internal constructor to initialize Parameters collection and timeout.
  55. 2005-01-27 Francisco Figueiredo Jr. <[email protected]>
  56. * Npgsql/NpgsqlParameter.cs,
  57. Npgsql/NpgsqlConnection.cs,
  58. Npgsql/NpgsqlCommand.cs,
  59. Npgsql/NpgsqlParameterCollection.cs,
  60. Makefile: Fixed problem when compiling Npgsql with Mono on windows with cygwin. Thanks Atsushi Enomoto(atsushi at ximian dot com) for heads up and Rafael Teixeira(monoman at gmail dot com) for fix.
  61. 2005-01-24 Atsushi Enomoto <[email protected]>
  62. * Makefile : quick csc build fix (tested on mcs as well).
  63. 2005-01-23 Francisco Figueiredo Jr. <[email protected]>
  64. * NpgsqlTypes/NpgsqlTypes.cs,
  65. Npgsql.dll.sources,
  66. Npgsql/NpgsqlParameter.cs,
  67. Npgsql/NpgsqlConnection.cs,
  68. Npgsql/NpgsqlCommand.cs,
  69. Npgsql/NpgsqlParameterCollection.cs,
  70. Makefile: Removed System.Drawing, System.Windows.Forms and System.Design dependency.
  71. * NpgsqlTypes/NpgsqlTypesHelper.cs: Added patch for gborg 1121. Thanks regmaster (regmaster at gmx dot li) and torben (torben-spam-npsql at nehmer dot net) for patch.
  72. 2005-01-21 Francisco Figueiredo Jr. <[email protected]>
  73. * NpgsqlTypes/NpgsqlDbType.cs,
  74. NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for Varchar datatype. Removed Internal data type enum. It is not supported yet.
  75. * Npgsql/PGUtil.cs,
  76. Npgsql/PGUtil.resx: (WriteString) Added support for logging what string is being written to database server.
  77. * Npgsql/NpgsqlCommand.cs: Added SingleRow behavior support.
  78. gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
  79. Fixed record function bug when function had many parameters. Thanks Neri (neri at gborg dot postgresql dot org) for heads up.
  80. * Npgsql/NpgsqlCommandBuilder.cs,
  81. NpgsqlDataAdapter.cs: Applied patch to fix gborg 1095. Thanks Eric van der Gutten (ericvdg at ananzi dot co dot za).
  82. * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
  83. 2004-12-20 Francisco Figueiredo Jr. <[email protected]>
  84. * Npgsql/NpgsqlCommand.cs: gborg 1099. Added support for record return type functions. Thanks neri and Michel for heads up and tests.
  85. * Npgsql/NpgsqlDataReader.cs: Removed type conversions for GetXXX() methods.
  86. * Npgsql/NpgsqlCommand.cs: Added IClonable implementation. Also added strong type NpgsqlTransaction property and converted previous interface implementation to implicit interface implementation. Thanks Christopher Gersbo-Møller (cgm at knowledgelab dot sdu dot dk) for heads up.
  87. 2004-12-19 Francisco Figueiredo Jr. <[email protected]>
  88. * Npgsql/NpgsqlCommand.cs: Fixed gborg 1088 and 1080. Thanks Neri (neri at gborg dot postgresql dot org) for help. Now mapped output parameters are correctly updated regardless their position in Parameters collection.
  89. 2004-12-16 Francisco Figueiredo Jr. <[email protected]>
  90. * Npgsql/NpgsqlConnector.cs: Changed name of portal and prepare prefixes to be all lower case in order to not have case problems when deallocating them.
  91. * Npgsql/NpgsqlCommand.cs: Fixed gborg 1082. Added support to implicit parameters when calling stored procedures.
  92. 2004-12-05 Francisco Figueiredo Jr. <[email protected]>
  93. * Npgsql/NpgsqlConnector (IsValid): Clean mediator after get a connection from pool and test it for validity. This fix a bug which some times occured which made available this test resultset to user when it shouldn't.
  94. 2004-12-07 Raja R Harinath <[email protected]>
  95. * Makefile (CLEAN_FILES): Add $(RESX_RES).
  96. ($(the_lib)): Depend on $(OTHER_RES) too.
  97. ($(RESX_RES)): Pass argument of RESGEN through
  98. PLATFORM_CHANGE_SEPARATOR_CMD.
  99. 2004-12-05 Francisco Figueiredo Jr. <[email protected]>
  100. * Npgsql/NpgsqlCommand.cs: gborg 971 & 1068: Added support for ParameterDirection.Output and ParameterDirection.InputOutput parameters. Now you can use these types of parameters to get results. Thanks Ivan (ivan-sun1 at mail dot ru) and (teste at aslls dot ss) for heads up.
  101. 2004-11-26 Raja R Harinath <[email protected]>
  102. * Makefile (OTHER_RES): New. List of .bmp files.
  103. (EXTRA_DISTFILES): Distribute them.
  104. 2004-11-25 Francisco Figueiredo Jr. <[email protected]>
  105. Updated to 0.7beta3 release.
  106. * NpgsqlBind.cs: Minor code cleanup.
  107. * NpgsqlClosedState.cs: Code formatting.
  108. * NpgsqlCommand.cs: Code cleanup and updating for new Plan and Portal name generation code.
  109. * NpgsqlConnection.cs: Fixed contructor log message.
  110. * NpgsqlConnectionString.cs: Code formatting.
  111. * NpgsqlConnector.cs:
  112. ReleasePlansPortals: Added method to release used plans and portals.
  113. NextPortalName, NextPlanName: Added methods to handle name generation.
  114. * NpgsqlConnectorPool.cs:
  115. UngetPooledConnector: Added call to release plans and portals in connector.
  116. * NpgsqlError.cs: New constructor which takes ProtocolVersion and String parameters.
  117. * NpgsqlQuery.cs: Changed constructor to take an NpgsqlCommand instead of just the command string.
  118. * NpgsqlReadyState.cs: Changed code to reflect NpgsqlQuery change.
  119. * NpgsqlState.cs:
  120. ProcessBackendResponses_Ver_(2,3): Fixed handling of invalid authentication methods. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
  121. * NpgsqlState.resx: Fixed resource key typo.
  122. * NpgsqlTransaction.cs: Fixed IDisposable pattern implementation of NpgsqlTransaction. Now it doesn't incorrectly raise InvalidOperation exceptions. Thanks Ivan Radovanovic ( rivan at sezampro dot yu ) for heads up.
  123. * NpgsqlDbType.cs: Code cleanup.
  124. * NpgsqlTypeConverters.cs : Removed method to handle string. String quoting is handled prevously as it depends in the type of query: simple or extended.
  125. * NpgsqlTypes.cs: Code cleanup.
  126. * NpgsqlTypesHelper.cs:
  127. (CreateAndLoadInitialTypesMapping): Removed delegate handler of String types. It's not necessary anymore.
  128. (ConvertToBackend): Refactorying. Fixed gborg 1035. Thanks Magnus Hagander (mha at sollentuna dot net) for the heads up.
  129. 2004-11-25 Raja R Harinath <[email protected]>
  130. * Makefile (EXTRA_DISTFILES): Add Npgsql.dll.resources.
  131. 2004-11-04 Raja R Harinath <[email protected]>
  132. * Makefile (EXTRA_DISTFILES): Fix for 'make dist'.
  133. 2004-09-30 Francisco Figueiredo Jr. <[email protected]>
  134. * NpgsqlTypes/FastPath.cs,
  135. NpgsqlTypes/FastPathArg.cs,
  136. NpgsqlTypes/LargeObject.cs,
  137. NpgsqlTypes/LargeObjectManager.cs,
  138. Npgsql.dll.sources: Added large object support. Thanks Emiliano Necciari (e dot necciari at blogic dot it) for the patch.
  139. 2004-09-26 Francisco Figueiredo Jr. <[email protected]>
  140. * Npgsql/NpgsqlDataReader.cs:
  141. GetBytes: Added a little fix for proper handling of getbytes with current Npgsql semantics in mind. For while, we just support offset value of 0 as we
  142. read all the bytes field value at a time. So there is no copy when offset is not 0.
  143. 2004-09-25 Francisco Figueiredo Jr. <[email protected]>
  144. * Npgsql/NpgsqlCommand.cs:
  145. GetParseCommandText: Fixed an incorrect patch. Thanks Martin ( martijn at boland dot org) for heads up.
  146. 2004-09-25 Francisco Figueiredo Jr. <[email protected]>
  147. * Npgsql/NpgsqlCommand.cs:
  148. ReplaceParameterValue: Fixed parameter replace when next byte after parameter name is '\\r'. Thanks Ivan Radovanovic rivan at sezampro dot yu for the fix.
  149. GetParseCommandText: Added a workaround to have some queries which are giving parameter type problems. Thanks Martin ( martijn at boland dot org) for bug report.
  150. 2004-09-23 Francisco Figueiredo Jr. <[email protected]>
  151. * NpgsqlTypes/NpgsqlTypesHelper.cs:
  152. ConvertToBackend: Added support for System.Enum types. Now enumerated types can be used correctly as a paramater value. Thanks Martin ( martijn at boland dot org) for the heads up.
  153. 2004-09-18 Francisco Figueiredo Jr. <[email protected]>
  154. * Npgsql/NpgsqlCommand.cs:
  155. GetClearCommandText: Fixed an infinite loop when trying to use a parameter whose name is equals to same type name.
  156. i.e.: parameter name :text which would conflict with :text parameter name which was being added in the replacement string.
  157. * NpgsqlTypes/NpgsqlTypeConverters.cs:
  158. BasicNativeToBackendTypeConverter.ToString: Fixed handling of strings with backslashes. Now they are properly escaped.
  159. 2004-09-18 Francisco Figueiredo Jr. <[email protected]>
  160. * NpgsqlCommand.cs,
  161. NpgsqlConnector.cs: Improved portal and plan name creation to use an unique number from NpgsqlConnector instead of using an static field in NpgsqlCommand. Thanks Martin ( martijn at boland dot org) for the heads up.
  162. 2004-09-15 Francisco Figueiredo Jr. <[email protected]>
  163. * Npgsql/NpgsqlRowDescription.cs:
  164. FieldIndex: Really added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
  165. 2004-09-14 Francisco Figueiredo Jr. <[email protected]>
  166. * Npgsql/NpgsqlRowDescription.cs:
  167. FieldIndex: Added support for case insensitive fields index lookup. Thanks Martin ( martijn at boland dot org)
  168. 2004-09-12 Francisco Figueiredo Jr. <[email protected]>
  169. * NpgsqlTypes/NpgsqlTypesHelper:
  170. VerifyDefaultTypesMap: Added DbType.Byte support. Thanks Martin ( martijn at boland dot org)
  171. for heads up.
  172. 2004-09-12 Francisco Figueiredo Jr. <[email protected]>
  173. * NpgsqlTypes/NpgsqlTypesHelper:
  174. ConvertToBackend: Fixed code to handle null values properly when using extended query mode.
  175. Fix bug 955 in gborg.
  176. 2004-09-11 Francisco Figueiredo Jr. <[email protected]>
  177. * Npgsql/NpgsqlConnection.cs:
  178. Dispose: Improved implementation. Also added warning logging for
  179. NpgsqlConnection leakings.
  180. Close: Fixed code to allow calling many times even when being disposed.
  181. * Npgsql/NpgsqlConnection.resx:
  182. Added new warning logging message for NpgsqlConnection leakings.
  183. * Npgsql/NpgsqlConnector.cs:
  184. IsValid: new method to check if Connector is still valid.
  185. * Npgsql/NpgsqlConnectorPool.cs:
  186. GetPooledConnector: Improved to check validity of Connector.
  187. FixPoolCountBecauseOfConnectionDisposeFalse: new method to fix the connection pool count
  188. because NpgsqlConnection leaking. This way, uses doesn't run out of connections from pool.
  189. 2004-09-07 Francisco Figueiredo Jr. <[email protected]>
  190. * NpgsqlException.cs: Added support for deserialization of NpgsqlException.
  191. * NpgsqlState.cs: Added missing handling of NoData message.
  192. 2004-07-02 Raja R Harinath <[email protected]>
  193. * Makefile (OVERRIDE_BARE_TARGETS): Remove.
  194. ($(the_lib)): Make dependency explicit.
  195. 2004-06-28 Raja R Harinath <[email protected]>
  196. * Makefile (%.resources): Use $(RESGEN).
  197. 2004-06-22 Raja R Harinath <[email protected]>
  198. * Makefile: Use $(PLATFORM_PATH_SEPARATOR) in MONO_PATH.
  199. 2004-06-21 Raja R Harinath <[email protected]>
  200. * Makefile (LIBRARY_SNK): Sign with Npgsql/Npgsql.snk.
  201. 2004-06-18 Francisco Figueiredo Jr. <[email protected]>
  202. * Synchronized files with gborg cvs up to release 0.6.
  203. 2004-05-29 Francisco Figueiredo Jr. <[email protected]>
  204. * Npgsql/NpgsqlConnection.cs: Added workaround for redhat server versions.
  205. It returns 7.3.4-RH as its server version. Thanks Jaroslaw Kowalski
  206. ([email protected]) for the patch.
  207. 2004-05-24 Francisco Figueiredo Jr. <[email protected]>
  208. * Npgsql/NpgsqlConnection.cs: Fixed bug when handling Unicode connections.
  209. Fixes Gborg bug 752.
  210. Thanks [email protected] for the patch.
  211. 2004-05-23 Francisco Figueiredo Jr. <[email protected]>
  212. * Npgsql/NpgsqlConnection.cs: Fixed bug which prevented Npgsql to
  213. connect to cvs built servers which had devel in its version string.
  214. 2004-05-22 Francisco Figueiredo Jr. <[email protected]>
  215. Npgsql/NpgsqlCommand.cs,
  216. Npgsql/NpgsqlConnection.cs,
  217. Npgsql/NpgsqlDataReader.cs,
  218. Npgsql/NpgsqlException.cs,
  219. Npgsql/NpgsqlTransaction.cs,
  220. Npgsql/Design/ConnectionStringEditor.cs,
  221. Npgsql/Design/ConnectionStringEditorForm.cs,
  222. Npgsql/Design/NpgsqlParameterConverter.cs,
  223. Npgsql/Design/NpgsqlParametersEditor.cs,
  224. NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
  225. Glen Parker ([email protected]): Bug #772 ("Using
  226. Command and Prepare adds single quotes to strings twice")
  227. is fixed :-) It was broken when running on the version 3
  228. protocol (extended query support) on PostgreSQL 7.4.
  229. Some of the files in Design were formatted with macintosh line
  230. terminators. This was screwing up the xmldoc generator in csc,
  231. so I reformatted to make it work.
  232. I've added some essential xmldoc comments (<summary> tags). Much work
  233. remains here, but I wanted to get a few in on common functions and
  234. properties.
  235. The .build file will now generate the Npgsql.xml file, next to the .dll
  236. file. I removed the existing Npgsql.xml from CVS.
  237. Thanks Glen Parker for this patch.
  238. 2004-05-20 Francisco Figueiredo Jr. <[email protected]>
  239. NpgsqlAsciiRow.cs,
  240. NpgsqlBackEndKeyData.cs,
  241. NpgsqlBinaryRow.cs,
  242. NpgsqlCommand.cs,
  243. NpgsqlConnectedState.cs,
  244. NpgsqlConnection.cs,
  245. NpgsqlConnection.resx,
  246. NpgsqlConnector.cs,
  247. NpgsqlConnectorPool.cs,
  248. NpgsqlError.cs,
  249. NpgsqlMediator.cs,
  250. NpgsqlMessageTypes.cs,
  251. NpgsqlPasswordPacket.cs,
  252. NpgsqlQuery.cs,
  253. NpgsqlRowDescription.cs,
  254. NpgsqlStartupPacket.cs,
  255. NpgsqlState.cs,
  256. PGUtil.cs,
  257. NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
  258. - split more protocol handlers between version 2 and version 3
  259. - split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
  260. - store BackendKeyData in its own member on Mediator
  261. - Store ParameterStatus objects in a key map on Mediator
  262. - Get backend version now from the Mediator if possible
  263. - Rewrite parsers for server version and connection string
  264. - Store server version numericially (in a new class ServerVersion)
  265. - As usual, lots of code cleanup/commenting/etc.
  266. Thanks very much Glen Parker ([email protected]) for this patch.
  267. 2004-05-20 Raja R Harinath <[email protected]>
  268. * Makefile (%.resources): Use INTERNAL_RESGEN.
  269. 2004-05-13 Francisco Figueiredo Jr. <[email protected]>
  270. * Npgsql/NpgsqlHashAlgorithm.cs: Changed exception type from Exception t
  271. o InvalidOperationException when calling the Hash property and hash value is nul
  272. l. Thanks Gonzalo Paniagua Javier <[email protected]> for catching that.
  273. 2004-05-09 Francisco Figueiredo Jr. <[email protected]>
  274. * HashAlgorithm.cs,
  275. NpgsqlAsciiRow.cs,
  276. NpgsqlBinaryRow.cs,
  277. NpgsqlClosedState.cs,
  278. NpgsqlCommand.cs,
  279. NpgsqlCommandBuilder.cs,
  280. NpgsqlConnection.cs,
  281. NpgsqlDataReader.cs,
  282. NpgsqlException.cs,
  283. NpgsqlParameterCollection.cs,
  284. NpgsqlReadyState.cs,
  285. NpgsqlTransaction.cs: Improved exception handling. Now Npgsql throws mor
  286. e meaningful exceptions instead of throw NpgsqlException which are now exclusive
  287. ly to sign server errors. Thanks Glen Parker ([email protected]) for the patch.
  288. 2004-05-05 Gonzalo Paniagua Javier <[email protected]>
  289. * Makefile:
  290. * Npgsql.dll.resources: all the resources command line options are now
  291. in a separate response file.
  292. 2004-05-04 Jaroslaw Kowalski <[email protected]>
  293. * Npgsql/NpgsqlDataReader.cs: Fixed RecordsAffected to properly return -1 after "create table" and similar commands.
  294. 2004-05-01 Francisco Figueiredo Jr. <[email protected]>
  295. * Npgsql/NpgsqlCommand.cs,
  296. Npgsql/NpgsqlConnection.cs,
  297. Npgsql/NpgsqlConnector.cs,
  298. Npgsql/NpgsqlConnectorPool.cs,
  299. Npgsql/NpgsqlError.cs,
  300. Npgsql/NpgsqlException.cs,
  301. Npgsql/NpgsqlParameterCollection.cs,
  302. NpgsqlTypes/NpgsqlTypesHelper.cs: Improved exception support. Now NpgsqlException as well as NpgsqlError provide much more information. Thanks Glen Parker ([email protected]) for the patch.
  303. 2004-04-30 Todd Berman <[email protected]>
  304. * Npgsql/AssemblyInfo.cs: use the proper path to the .pub file
  305. 2004-04-30 Duncan Mak <[email protected]>
  306. * Npgsql/AssemblyInfo.cs: Enable delay signing, using Npgsql.pub.
  307. * Npgsql/Npgsql.pub: Added to CVS.
  308. 2004-04-21 Francisco Figueiredo Jr. <[email protected]>
  309. * Npgsql/NpgsqlDataAdapter.cs: Changed RowUpdated and RowUpdating prefix to Npgsql.
  310. * Npgsql/NpgsqlClosedState.cs: Removed dependency in TlsException. Carlos Guzman will change this excpetion to internal.
  311. * Npgsql/NpgsqlCommand.cs
  312. * Npgsql/NpgsqlCommand.resx
  313. * Npgsql/NpgsqlConnection.cs
  314. * Npgsql/NpgsqlConnection.resx
  315. * Npgsql/NpgsqlDataAdapter.cs
  316. * Npgsql/NpgsqlError.cs
  317. * Npgsql/NpgsqlException.cs
  318. * Npgsql/NpgsqlException.resx
  319. * Npgsql/NpgsqlMediator.cs
  320. * Npgsql/NpgsqlState.cs
  321. * Npgsql/NpgsqlState.resx
  322. * Npgsql/PGUtil.cs : Added initial error handling code improvements. Thanks Glen Parker ([email protected]) 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.
  323. 2004-04-09 Francisco Figueiredo Jr. <[email protected]>
  324. * 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.
  325. 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
  326. * 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 ([email protected]) for spotting that.
  327. 2004-03-28 Francisco Figueiredo Jr. <[email protected]>
  328. * Npgsql/NpgsqlConnection.cs: Implemented IClonable interface in NpgsqlConnection class. Thanks Juliano Barbosa for pointing it out.
  329. 2004-03-22 Francisco Figueiredo Jr. <[email protected]>
  330. * Npgsql/NpgsqlAsciiRow.cs
  331. * Npgsql/NpgsqlBinaryRow.cs
  332. * Npgsql/NpgsqlDataReader.cs: Fixed NpgsqlDataReader.IsDBNull(). It wasn't working for postgresql 7.4+. Thanks Glen Parker ([email protected]) for the patch.
  333. 2004-03-13 Francisco Figueiredo Jr. <[email protected]>
  334. * Npgsql/NpgsqlConnection.cs:
  335. * 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.
  336. * NpgsqlTypes/NpgsqlTypesHelper: Applied patch to correctly parse datetimes values with timezone information. Thanks Glen Parker <[email protected]> for the patch.
  337. 2004-03-06 Francisco Figueiredo Jr. <[email protected]>
  338. * Npgsql/NpgsqlConnectorPool.cs: Fixed bug 706 in gborg. Now Max timeout will be working correctly. Thanks Sami Kuhmonen <[email protected]> for the patch.
  339. 2004-02-29 Francisco Figueiredo Jr. <[email protected]>
  340. * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding. Added support for encoding and connection timeout in connection string.
  341. * Npgsql/NpgsqlConnectorPool.cs: Added support for timeout and max connection pool.
  342. 2004-02-28 Francisco Figueiredo Jr. <[email protected]>
  343. * Npgsql/NpgsqlConnector.cs: Added support for connection encoding.
  344. * Npgsql/NpgsqlConnection.cs: Better handling of connection encoding.
  345. * 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.
  346. 2004-02-25 Francisco Figueiredo Jr. <[email protected]>
  347. * Npgsql/NpgsqlDataReader.cs: Fixed a OutOfBoundsException when trying to access an element after have read all elements. Now it throws an InvalidOperationException.
  348. * Npgsql/NpgsqlConnection.cs: Fixed Unicode handling. This also fixes bug 695 in gborg. Thanks Sami Kuhmonen <[email protected]> for the patch.
  349. 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
  350. * Npgsql/NpgsqlDataReader.cs: Removed a log line which reduced the conne
  351. ction startup time in 300 milliseconds.
  352. 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
  353. * NpgsqlConnection.cs: Added support for Unicode encoding. Fixes feature
  354. request 534 on gborg. Thanks Ivar <[email protected]> for pointing it out.
  355. 2004-02-16 Francisco Figueiredo Jr. <[email protected]>
  356. * Npgsql/NpgsqlStartupPacket.cs: Added code to set datestyle to iso when
  357. connecting using protocol 3.0 version. Thanks Sami Kuhmonen <[email protected]> for pointing it out.
  358. 2004-02-14 Francisco Figueiredo Jr. <[email protected]>
  359. * Npgsql/NpgsqlCommand.cs: Fixed a bug when handling queries which return no data. Thanks Morten Mertner <[email protected]> for the fix.
  360. 2004-02-10 Francisco Figueiredo Jr. <[email protected]>
  361. * NpgsqlTypes/NpgsqlTypesHelper.cs: Added support for datetime and time datatypes with timezone data. Thanks Sami Kuhmonen ([email protected]).
  362. 2004-01-15 Jackson Harper <[email protected]>
  363. * NpgslTypes/NpgsqlTypesHelper.cs: Add StringFixedLength type.
  364. 2003-11-23 Pedro Mart�ez Juli� <[email protected]>
  365. * Npgsql/HashAlgorithm.cs:
  366. * Npgsql/NpgsqlClosedState.cs:
  367. * Npgsql/NpgsqlCommand.cs:
  368. * Npgsql/NpgsqlConnectedState.cs:
  369. * Npgsql/NpgsqlConnection.cs:
  370. * Npgsql/NpgsqlReadyState.cs:
  371. * Npgsql/NpgsqlStartupState.cs:
  372. * Npgsql/NpgsqlState.cs: Apply Disposable pattern, when using
  373. ADO.NET we need to call Dispose after using any Component like
  374. NpgsqlDataAdapter, NpgsqlConnection, etc... Change a few internal
  375. methods to Properties.
  376. 2003-11-22 Pedro Mart�ez Juli� <[email protected]>
  377. * Npgsql/NpgsqlClosedState.cs:
  378. * Npgsql/NpgsqlConnectedState.cs:
  379. * Npgsql/NpgsqlConnection.cs:
  380. * Npgsql/NpgsqlReadyState.cs:
  381. * Npgsql/NpgsqlState.cs: Changes related to the last update of SSL
  382. implementation. Now we're using TcpClient for the connection and
  383. Stream for the abstraction layer to SslClientStream.
  384. 2003-11-11 Pedro Mart�ez Juli� <[email protected]>
  385. * Npgsql/NpgsqlDataReader.cs: GetSchemaTable has nothing to do with
  386. CanRead because the schema can be readed with or without result
  387. rows.
  388. 2003-11-10 Pedro Mart�ez Juli� <[email protected]>
  389. * Npgsql/NpgsqlDataAdapter.cs: Best use "if" instead of try-catch.
  390. 2003-11-10 Pedro Mart�ez Juli� <[email protected]>
  391. * Npgsql/NpgsqlDataAdapter.cs: Catch the exception thrown by MS.NET
  392. when a mapping is not in the collection.
  393. 2003-11-09 Pedro Mart�ez Juli� <[email protected]>
  394. * Npgsql/NpgsqlDataAdapter.cs: Do not assing the result of the
  395. CommandBuilder to the local data. Local data should be null if the
  396. client doesn't set them.
  397. * Npgsql/NpgsqlCommandBuilder.cs: Mistake in param name fixed.
  398. 2003-11-09 Pedro Mart�ez Juli� <[email protected]>
  399. * Makefile: Little fix for build the resources.
  400. * Npgsql/NpgsqlCommandBuilder.cs: Added row version in delete
  401. command.
  402. 2003-11-08 Pedro Mart�ez Juli� <[email protected]>
  403. * Npgsql/NpgsqlCommand.cs: Removed try-catch for Resource Manager
  404. calls, the problem is fixed.
  405. * Makefile: Fix one bug in the build of resources.
  406. 2003-11-08 Pedro Mart�ez Juli� <[email protected]>
  407. * Npgsql/NpgsqlCommandBuilder.cs: Added the command builder.
  408. * Npgsql/NpgsqlDataAdapter.cs: Added the CommandBuilder stuff. When
  409. OnRowUpdating is called we create the command necesary for updating,
  410. inserting or deleting any row of the DataTable/DataSet.
  411. * Npgsql/NpgsqlCommand.cs: Temporary try-catch. ResMan still doesn't
  412. work. This must be removed when ResMan works.
  413. * Npgsql/NpgsqlParameter: No more than one call to value.GetType()
  414. is more efficient for the deep if structure types.
  415. 2003-11-07 Pedro Mart�ez Juli� <[email protected]>
  416. * Npgsql/NpgsqlDataAdapter.cs: Fixed the mistake I did in the last
  417. change. The Command objects must not be created in the constructor.
  418. The Commands should be in the overrided method "OnRowUpdating".
  419. * Npgsql/NpgsqlCommand.cs: Added two try-catch instructions to get
  420. the proper exception (not MissingManifestResourceException). It is
  421. thrown in MS.NET and in MONO. (Npgsql compiled with MCS).
  422. 2003-11-07 Pedro Mart�ez Juli� <[email protected]>
  423. * Npgsql/NpgsqlDataAdapter.cs: Create new Command classes for the
  424. different Insrt / Update / Delete commands.
  425. 2003-10-20 Pedro Mart�ez Juli� <[email protected]>
  426. * Npgsql/NpgsqlClosedState.cs:
  427. * Npgsql/NpgsqlConnection.cs:
  428. * Npgsql/NpgsqlConnectedState.cs:
  429. * Npgsql/NpgsqlReadyState.cs:
  430. * Npgsql/NpgsqlState.cs: Changed the namespace for Tls, now the
  431. namespace is Mono.System.Protocol.Tls, before was
  432. System.Security.Tls.
  433. * Npgsql/Makefile: Change reference from System.Security.Tls to
  434. Mono.Security (now Tls lives there).
  435. 2003-10-16 Pedro Mart�ez Juli� <[email protected]>
  436. * Npgsql/NpgsqlClosedState.cs:
  437. * Npgsql/NpgsqlConnectedState.cs:
  438. * Npgsql/NpgsqlConnection.cs: Changed TcpClient by TlsSession
  439. because now it is used TlsSession and it doesn't work without
  440. these changes.
  441. 2003-10-16 Pedro Mart�ez Juli� <[email protected]>
  442. * Makefile: changed reference from Lib/System.Security.Tls.dll to
  443. System.Security.Tls because the last will be installed before and
  444. separatelly.
  445. * Lib: Removed Lib directory, moved System.Security.Tls.dll to
  446. Mono.Security.Tls library directory.
  447. 2003-10-15 Pedro Mart�ez Juli� <[email protected]>
  448. * Makefile: fix building and the install objectives.
  449. 2003-04-26 Pedro Mart�ez Juli� <[email protected]>
  450. * Npgsql/NpgsqlDataReader.cs: Change GetFloat and GetDouble. Now
  451. they works as direct casting from GetValue.
  452. 2003-07-18 Peter Williams <[email protected]>
  453. * Npgsql/AssemblyInfo.cs: Don't strongname the assembly, because
  454. we can't unless corlib is strongnamed too. Not a wonderful solution,
  455. but I don't think this ever worked anyway.
  456. 2003-05-25 Francisco Figueiredo Jr. <[email protected]>
  457. * Npgsql/NpgsqlDataReader.cs: Fixed an invalid index exception when
  458. processing 0 rows queries.
  459. 2003-04-26 Pedro Mart�ez Juli� <[email protected]>
  460. * Npgsql/NpgsqlDataReader.cs: Now GetDateTime works for "dd/MM/yyyy"
  461. date formats. I think that it's needed support to auto-detect
  462. DateTime format through PgSql server configuration.
  463. 2003-01-28 Daniel Morgan <[email protected]>
  464. * Npgsql.build: got it to work for Windows build
  465. * Npgsql/Npgsql.build
  466. * Npgsql/Npgsql.cmbx
  467. * Npgsql/Npgsql.prjx: removed files not needed
  468. 2003-01-28 Daniel Morgan <[email protected]>
  469. * added the Npgsql (Npgsql is a .Net Data Provider for PostgreSQL)
  470. from http://gborg.postgresql.org/project/npgsql/projdisplay.php
  471. by adding the following files and directories to the mcs module
  472. in mono-cvs.ximian.com at mcs/class:
  473. Npgsql (directory)
  474. ChangeLog
  475. Makefile
  476. Npgsql.build
  477. RELEASENOTES.txt
  478. TODO.txt
  479. makefile.gnu
  480. LICENSE.txt
  481. README.txt
  482. STATUS.txt
  483. list
  484. Npgsql/Npgsql (directory)
  485. Npgsql/AssemblyInfo.cs
  486. Npgsql/NpgsqlAsciiRow.cs
  487. Npgsql/NpgsqlBackEndKeyData.cs
  488. Npgsql/NpgsqlClosedState.cs
  489. Npgsql/NpgsqlCommand.cs
  490. Npgsql/NpgsqlConnectedState.cs
  491. Npgsql/NpgsqlConnection.cs
  492. Npgsql/NpgsqlConnector.cs
  493. Npgsql/NpgsqlConnectorPool.cs
  494. Npgsql/NpgsqlDataAdapter.cs
  495. Npgsql/NpgsqlDataReader.cs
  496. Npgsql/NpgsqlEventLog.cs
  497. Npgsql/NpgsqlException.cs
  498. Npgsql/NpgsqlMediator.cs
  499. Npgsql/NpgsqlMessageTypes.cs
  500. Npgsql/NpgsqlParameter.cs
  501. Npgsql/NpgsqlParameterCollection.cs
  502. Npgsql/NpgsqlPasswordPacket.cs
  503. Npgsql/NpgsqlQuery.cs
  504. Npgsql/NpgsqlReadyState.cs
  505. Npgsql/NpgsqlResultSet.cs
  506. Npgsql/NpgsqlRowDescription.cs
  507. Npgsql/NpgsqlStartupPacket.cs
  508. Npgsql/NpgsqlStartupState.cs
  509. Npgsql/NpgsqlState.cs
  510. Npgsql/NpgsqlTransaction.cs
  511. Npgsql/PGUtil.cs