ChangeLog 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638
  1. 2002-08-18 Rodrigo Moya <[email protected]>
  2. * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
  3. * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
  4. ArrayList after releasing the items.
  5. (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
  6. GetOrdinal, GetString): implemented.
  7. (GetDataTypeName): made it get the type from the data model, not from
  8. the current value, which could not have been retrieved yet.
  9. (GetValue): call the Get* method corresponding with the data type of
  10. the requested column.
  11. * System.Data.OleDb/libgda.cs: added more libgda functions.
  12. (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
  13. * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
  14. titles via OleDbDataReader.GetName ().
  15. (TestOleDb): create temporary table with a date field.
  16. (InsertRow): set current date for the date field.
  17. 2002-08-18 Rodrigo Moya <[email protected]>
  18. * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
  19. GetValue, which will take care of all the work needed.
  20. (Close): implemented basic stuff.
  21. (~OleDbDataReader): implemented.
  22. * System.Data.OleDb/libgda.cs: added more needed functions.
  23. 2002-08-16 Rodrigo Moya <[email protected]>
  24. * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
  25. we create.
  26. (TestTransaction): added test for transactions.
  27. 2002-08-16 Rodrigo Moya <[email protected]>
  28. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  29. * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
  30. when there are errors.
  31. (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
  32. * System.Data.OleDb/TestOleDb.cs: added more testing code for data
  33. readers.
  34. 2002-08-15 Rodrigo Moya <[email protected]>
  35. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  36. * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
  37. create an empty GdaParameterList.
  38. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
  39. for NULL before passing them to Marshal.PtrToStructure, which issues
  40. an exception if the value is NULL.
  41. 2002-08-15 Rodrigo Moya <[email protected]>
  42. * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
  43. unreachable code to avoid compiler warning.
  44. * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
  45. * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
  46. (OpenReader): removed internal method.
  47. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
  48. the list of returned data models.
  49. 2002-08-15 Franklin Wise <[email protected]>
  50. * System.Data/Constraint.cs: Added helper virtual functions
  51. * System.Data/ConstraintCollection.cs: Improved constraint removal,
  52. validation. Removed specific knowledge of subclasses of
  53. Constraint.
  54. * System.Data/DataColumn.cs: Added static helper function to compare
  55. if two DataColumn arrays are the same.
  56. * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
  57. * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
  58. validation to do.
  59. 2002-08-13 Franklin Wise <[email protected]>
  60. * System.Data/DataRow.cs: Added several fixme tags.
  61. 2002-08-13 Rodrigo Moya <[email protected]>
  62. * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
  63. InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
  64. to avoid compiler warnings.
  65. 2002-08-12 Franklin Wise <[email protected]>
  66. * System.Data/Constraint.cs: Implemented
  67. * System.Data/UniqueConstraint.cs: GetHashCode() &
  68. special case Ctor. Still need to be implemented. LAMESPEC tags
  69. added.
  70. * System.Data/ConstraintCollection.cs: Clear() &
  71. AddRange() need to be finished. Several LAMESPEC tags.
  72. * Allow Constraint collection to be created in DataTable.
  73. * System.Data/ForeignKeyConstraint: Added a couple of
  74. helper functions.
  75. * System.Data/DataColumnCollection New/Added DataColumns now have
  76. Table property set.
  77. 2002-08-11 Rodrigo Moya <[email protected]>
  78. * System.Data.OleDb/libgda.cs: added some GdaValue functions.
  79. * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
  80. internal method, since we don't need it.
  81. (ExecuteReader): call SetupGdaCommand before executing the command
  82. via libgda functions.
  83. (ExecuteScalar): implemented.
  84. * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
  85. to OleDbCommand.OpenReader.
  86. (GetBoolean): implemented.
  87. 2002-08-08 Franklin Wise <[email protected]>
  88. * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
  89. * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
  90. * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
  91. values.
  92. 2002-08-06 Gonzalo Paniagua Javier <[email protected]>
  93. * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
  94. and don't show a warning in Open.
  95. * System.Data.OleDb/TestOleDb.cs: added Close.
  96. 2002-08-05 Rodrigo Moya <[email protected]>
  97. * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
  98. ConnectionTimeout, ServerVersion, GdaConnection):
  99. corrected style.
  100. (OleDbConnection): call libgda.gda_init on constructor.
  101. * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
  102. which wasn't been called.
  103. * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
  104. make some tests.
  105. 2002-08-04 Rodrigo Moya <[email protected]>
  106. * list: added missing System.Data.OleDb and
  107. System.Data.Common files.
  108. * System.Data.OleDb/ChangeLog: removed and merged with
  109. System.Data's ChangeLog.
  110. * System.Data.OleDb/OleDbDataAdapter.cs:
  111. * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
  112. 2002-07-30 Rodrigo Moya <[email protected]>
  113. * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
  114. (IsClosed, Item, RecordsAffected): implemented some properties.
  115. * libgda.cs: added GdaDataModel methods.
  116. 2002-07-29 Rodrigo Moya <[email protected]>
  117. * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
  118. a second argument (ArrayList results).
  119. (NextResult): implemented.
  120. * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
  121. pass that to the OleDbDataReader.
  122. (OleDbCommand constructor): don't create the ArrayList of results.
  123. (GdaResults): removed property.
  124. (ExecuteReader): create a temporary ArrayList and pass that to the
  125. OleDbDataReader constructor.
  126. 2002-07-28 Rodrigo Moya <[email protected]>
  127. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
  128. (CreateParameter): implemented IDbCommand methods.
  129. (CommandText): don't create many GdaCommand's, only one is needed.
  130. (ExecuteNonQuery): set up the internal GDA command object.
  131. (ExecuteReader): use correctly the unique GDA command object.
  132. * System.Data.OleDb/libgda.cs: added new libgda calls.
  133. 2002-07-27 Rodrigo Moya <[email protected]>
  134. * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
  135. (BeginTransaction): implemented IDbConnection methods.
  136. 2002-07-12 Rodrigo Moya <[email protected]>
  137. * list: added System.Data.OleDb files to file list.
  138. 2002-07-11 Rodrigo Moya <[email protected]>
  139. * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
  140. * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
  141. of the set method for this property.
  142. * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
  143. (MissingSchemaAction): implemented.
  144. 2002-07-10 Tim Coleman <[email protected]>
  145. * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
  146. * System.Data.OleDb/OleDbConnection.cs: Modified constructor
  147. * System.Data.OleDb/OleDbError.cs: Added stubbs
  148. * System.Data.OleDb/OleDbException.cs: Added stubbs
  149. * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
  150. * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
  151. * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
  152. * System.Data.OleDb/OleDbPermission.cs: Added stubbs
  153. * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
  154. * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
  155. support transaction nesting
  156. * System.Data.OleDb/libgda.cs: Added my name to this file
  157. 2002-07-09 Tim Coleman <[email protected]>
  158. * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
  159. * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
  160. * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
  161. * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
  162. * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
  163. * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
  164. * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
  165. * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
  166. * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
  167. * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
  168. * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
  169. * System.Data.OleDb/OleDbType.cs: Fixed two typos
  170. * System.Data.OleDb/libgda.cs: Style changes, added new methods
  171. 2002-07-09 Tim Coleman <[email protected]>
  172. * System.Data.build: remove restriction on System.Data.OleDb build
  173. 2002-06-03 Rodrigo Moya <[email protected]>
  174. * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
  175. IsSynchronized): implemented.
  176. 2002-06-02 Rodrigo Moya <[email protected]>
  177. * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
  178. * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
  179. (Parameters, Transaction, Connection): made these overload
  180. IDbCommand's ones.
  181. * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
  182. call m_list methods, not own ones.
  183. * System.Data.OleDb/OleDbParameter.cs: more implementation.
  184. 2002-06-02 Rodrigo Moya <[email protected]>
  185. * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
  186. Commit, Rollback): implemented.
  187. (GdaConnection): added new internal property.
  188. * System.Data.OleDb/OleDbParameter.cs:
  189. * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
  190. properties.
  191. * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
  192. 2002-06-01 Rodrigo Moya <[email protected]>
  193. * System.Data.OleDb/libgda.cs: added new libgda API functions.
  194. * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
  195. (BeginTransaction): made it overload IDbConnection methods.
  196. (ChangeDatabase): new stub, needs some work on libgda for being
  197. implemented.
  198. (Clone): new stub.
  199. (Close): implemented.
  200. (CreateCommand): implemented.
  201. (GetOleDbSchemaTable): new stub, until I understand what to do here.
  202. (Open): implemented basic stuff, which is just supporting connection
  203. strings that represent a GDA data source name. More to come.
  204. (InfoMessage, StateChange): added events.
  205. * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
  206. 2002-05-29 Rodrigo Moya <[email protected]>
  207. * System.Data.OleDb/libgda.cs: added static constructor.
  208. (GdaClient): new static property to get the underlying GdaClient
  209. object.
  210. * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
  211. the static 'libgda' class.
  212. 2002-05-29 Rodrigo Moya <[email protected]>
  213. * System.Data.OleDb/libgda.cs: static class for libgda API calls.
  214. * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
  215. (ConnectionString, Connectiontimeout, Database, State):
  216. implemented class properties.
  217. (BeginTransaction): implemented.
  218. * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
  219. * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
  220. 2002-05-27 Rodrigo Moya <[email protected]>
  221. * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
  222. 2002-06-06 Rodrigo Moya <[email protected]>
  223. * list: added missing PostgresTypes.cs file.
  224. 2002-06-02 Francisco Jr. <[email protected]>
  225. * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
  226. methods.
  227. 2002-05-30 Daniel Morgan <[email protected]>
  228. * System.Data.SqlClient/SqlConnection.cs: modifed -
  229. start to implement the interfaces properly and
  230. properly doing a Close(), Dispose(), and
  231. releasing resources
  232. * Test/SqlSharpCli.cs: modified -
  233. add support for MySQL in Mono.Data.MySql
  234. and OleDb support in System.Data.OleDb. However,
  235. the OleDb support is commented right now.
  236. When the program starts up, a shorter help menu should
  237. display the most important commands: help and quit
  238. 2002-05-28 Rodrigo Moya <[email protected]>
  239. * System.Data.build: exclude System.Data.OleDb files.
  240. 2002-05-27 Daniel Morgan <[email protected]>
  241. * System.Data.SqlClient/SqlCommand.cs: typo
  242. should be CommandBehavior.KeyInfo
  243. * Test/SqlSharpCli.cs: refactored and added a few more
  244. features.
  245. 2002-05-27 Tim Coleman <[email protected]>
  246. * list: update to compile properly (add missing
  247. files and switch path delimiter from '\' to '/').
  248. 2002-05-26 Daniel Morgan <[email protected]>
  249. * System.Data/DataRow.cs
  250. * System.Data.Common/DbDataAdapter.cs: fix to
  251. get Test/TestSqlDataAdapter.cs to work again
  252. * Test/TestSqlDataAdapter.cs: removed comment
  253. about SqlDataReader:NextResult() not being implemented; it
  254. bas been implemented
  255. 2002-05-26 Daniel Morgan <[email protected]>
  256. * System.Data/DataRow.cs: modified
  257. support setting of DBNull.Value
  258. using the Item indexer this[DataColumn]
  259. * System.Data.SqlClient/SqlCommand.cs: modified
  260. tweaks to show TODO's for other CommandBehavior.
  261. Set AllowDBNull column to true for IsKey row
  262. in schema DataTable.
  263. * System.Data.SqlClient/SqlConnection.cs: modified
  264. if transaction is in progress when a Close() is called,
  265. do a transaction Rollback.
  266. 2002-05-26 Daniel Morgan <[email protected]>
  267. * Test/SqlSharpCli.cs: added file
  268. My new toy. SQL# is a command-line tool to enter
  269. SQL commands and queries using Mono System.Data.
  270. It also serves as a test for Mono System.Data.
  271. * System.Data.SqlClient/SqlCommand.cs: modified
  272. - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
  273. should handle the results from SQL Commands and Queries.
  274. - Internal class SqlResult should not create schema Table
  275. for the result from a SQL Command. Also, set the RecordsRetrieved
  276. property for SqlDataReader.
  277. - Closing the SqlDataReader should Close() the SqlConnection for
  278. a CommandBehavior.CloseConnection.
  279. - Set defaults for SqlResult
  280. * System.Data.SqlClient/SqlConnection.cs: modified -
  281. when SqlDataReader is Close()
  282. should Close() the SqlConnection for
  283. a CommandBehavior.CloseConnection. Changed internal Property
  284. from OpenReader get/set to IsReaderOpen get and created
  285. internal methods OpenReader()/CloseReader() for SqlCommand to call.
  286. SqlConnection needs to be prevented from doing while SqlDataReader
  287. is being used.
  288. * System.Data.SqlClient/SqlDataReader.cs: modified -
  289. call SqlCommand's OpenReader() internal method. get
  290. RecordsRetrieved from SqlResult. set/reset default
  291. values for SqlDataReader.
  292. * Test/PostgresTest.cs
  293. * Test/TestExecuteScalar.cs
  294. * Test/TestSqlDataReader.cs: modified
  295. for the Execute...() methods in SqlCommand
  296. to test SQL Queries and Commands
  297. * Test/System.Data_test.build: modified
  298. exclude new file Test/SqlSharpCli.cs from
  299. test build
  300. 2002-05-24 Tim Coleman <[email protected]>
  301. * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
  302. for get accessors. These should be implemented in derived classes. See
  303. SqlDataAdapter for clues.
  304. * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
  305. * System.Data.Common/DataAdapter.cs:
  306. * System.Data.Common/DataTableMappingCollection.cs:
  307. * System.Data.Common/DataTableMapping.cs:
  308. * System.Data.Common/DataColumnMappingCollection.cs:
  309. * System.Data.Common/DataColumnMapping.cs:
  310. Properly (I hope!) implement all of the appropriate interfaces
  311. for these classes.
  312. 2002-05-23 Tim Coleman <[email protected]>
  313. * System.Data.SqlClient/SqlCommand.cs: include
  314. the BaseColumnName in the schema table. Was missed before.
  315. * System.Data.Common/DbDataAdapter.cs: Use DataTable
  316. mappings so that the DataSet and DataTable are more closely tied.
  317. Get schema information from the DataTable using GetSchemaTable ()
  318. Various other little fixes
  319. * System.Data.Common/DataColumnMappingCollection.cs:
  320. * System.Data.Common/DataTableMapping.cs:
  321. * System.Data.Common/DataTableMappingCollection.cs: Some
  322. implementation, enough to be used by DbDataAdapter.
  323. 2002-05-23 Daniel Morgan <[email protected]>
  324. * System.Data.SqlClient/SqlCommand.cs: set
  325. the "ProviderType" to the PostgreSQL type oid
  326. * System.Data.SqlClient/SqlDataReader.cs: fix
  327. for various properties and methods that
  328. return meta data: Item indexers this[name] and this[index],
  329. GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
  330. should work again.
  331. 2002-05-22 Daniel Morgan <[email protected]>
  332. * System.Data/DataRow.cs: change suggested
  333. by tim: in Item indexer, do an EndEdit()
  334. * System.Data.SqlClient/SqlCommand.cs: more
  335. fixes to SqlResult. After setting each item in
  336. the DataRow, do an AcceptChanges() to commit
  337. the changes in the DataRow. For DataType, use a Type
  338. of System.String since System.Type nor System.Object
  339. seems to work.
  340. * Test/TestSqlDataReader.cs
  341. * Test/PostgresTest.cs: updated to to be on
  342. the way schema table is suppose to work
  343. 2002-05-22 Daniel Morgan <[email protected]>
  344. * System.Data.SqlClient/SqlCommand.cs: more work on
  345. building the schema table
  346. 2002-05-22 Tim Coleman <[email protected]>
  347. * System.Data.SqlClient/SqlCommand.cs: preliminary work
  348. on getting the schema table correctly built.
  349. 2002-05-21 Daniel Morgan <[email protected]>
  350. * System.Data.SqlClient/ParmUtil.cs: added file - to
  351. provide utility for conversion of input parameters
  352. * System.Data.SqlClient/PostgresTypes.cs: added file -
  353. moved the PostgreHelper class to here. May eventually
  354. move the internal class PostgresTypes that's inside the
  355. SqlConnection to here as well.
  356. Handling of PostgreSQL <-> .NET types need to be though
  357. out more. Also, the PostgreHelper has a method to convert
  358. from .NET types to a string which can be put into used in
  359. an SQL statement to execute against a PostgreSQL database.
  360. This is the beginnings of parameters support. It currently
  361. only supports input parameters. Still need to do output,
  362. input/output, and return parameters.
  363. * Test/TestSqlParameters.cs: new test to test the input
  364. parameters in System.Data.SqlClient against a
  365. PostgreSQL db.
  366. * System.Data.SqlClient/PostgresLibrary.cs: moved
  367. PostgresHelper class to file PostgresTypes.cs. Also
  368. moved struct PostgresType there too.
  369. * System.Data.SqlClient/SqlCommand.cs: added input
  370. parameters support
  371. * System.Data.SqlClient/SqlParameter.cs: got
  372. SqlParameter to work
  373. * System.Data.SqlClient/SqlParameterCollection.cs: got
  374. SqlParameterCollection to work
  375. * Test/System.Data_test.build: added files to exclude
  376. from test build
  377. * System.Data.SqlClient/SqlConnection.cs: release resources
  378. no longer used
  379. 2002-05-18 Daniel Morgan <[email protected]>
  380. * System.Xml: added directory for classes with namespace
  381. System.Xml to go into the System.Data.dll assembly
  382. * System.Xml/XmlDataDocument: added file
  383. for stubbed concrete class XmlDataDocument which
  384. inherits from XmlDocument. Its purpose is to provide
  385. a W3C XML DOM Document for relational data and interacting
  386. with a DataSet
  387. 2002-05-18 Daniel Morgan <[email protected]>
  388. * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
  389. Text, TableDirect, and StoredProcedure
  390. * Test/PostgresTest.cs: changed call to version()
  391. stored procedure to use the CommandType of StoredProcedure
  392. * Test/TestSqlDataReader.cs: test all the CommandTypes
  393. 2002-05-18 Daniel Morgan <[email protected]>
  394. * System.Data.build: took out all excluded
  395. files except the ones in the Test directory
  396. because all files compile now. It does not
  397. mean they all work or have implementations
  398. though.
  399. * System.Data/DataRelationCollection.cs
  400. * System.Data/DataTableRelationCollection.cs
  401. * System.Data/InternalDataCollectionBase.cs
  402. * System.Data.Common/DbDataPermission.cs
  403. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
  404. * System.Data.SqlClient/SqlClientPermission.cs
  405. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
  406. to get all System.Data* files to compile.
  407. * System.Data.SqlClient/SqlCommand.cs: started coding
  408. to prevent SqlConnection and SqlCommand from doing
  409. anyting while fetching data using SqlDataReader. Also,
  410. started coding to undo this prevention once the
  411. SqlDataReader is closed.
  412. * System.Data.SqlClient/SqlConnection.cs: get database server
  413. version. Started coding to prevent connection from
  414. doing anything while fetching data and undo once the reader
  415. is closed. Include events SqlInfoMessage and StateChange.
  416. * System.Data.SqlClient/SqlDataReader.cs: start coding to
  417. prevent connection and command from doing anything while
  418. fetching data, and undo when closed.
  419. * Test/PostgresTest.cs: added test to get ServerVersion
  420. property from SqlConnection
  421. 2002-05-18 Tim Coleman <[email protected]>
  422. * System.Data/DataRow.cs: More implementation,
  423. as well as boundary checks and small semantic
  424. repairs
  425. 2002-05-18 Tim Coleman <[email protected]>
  426. * System.Data/DataRow.cs: Try to reduce memory
  427. usage by only creating the original and proposed
  428. arrays as required in BeginEdit, and then destroying
  429. proposed during EndEdit, and original during AcceptChanges.
  430. * System.Data.Common/DbDataAdapter.cs: Make the
  431. startRecord and maxRecords parameters work correctly.
  432. 2002-05-18 Tim Coleman <[email protected]>
  433. * System.Data/DataRow.cs: Move the null check in
  434. ItemArray set to above the Invalid Cast check, so
  435. that we don't get null reference exceptions.
  436. 2002-05-17 Daniel Morgan <[email protected]>
  437. * System.Data.SqlClient/PostgresLibrary.cs: handle
  438. data value from database being NULL
  439. * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
  440. allow multiple result sets. Added new internal class
  441. SqlResult to pass result set data from SqlCommand
  442. to SqlDataReader.
  443. * System.Data.SqlClient/SqlDataReader.cs: allow
  444. multiple result sets.
  445. * System.Data.SqlClient/SqlConnection.cs: moved
  446. things around. Implement IDisposable.
  447. * Test/TestSqlDataReader.cs: test for execution
  448. of multiple result sets and display the results
  449. of these multiple results sets
  450. * Test/TestSqlDataAdapter.cs: tweaks
  451. 2002-05-17 Tim Coleman <[email protected]>
  452. * System.Data.Common/DbDataAdapter.cs:
  453. - More implementation of Fill methods
  454. - Get rid of isDirty flag, because we can just check
  455. if the table exists
  456. - Do *not* remove DataTables before Filling them
  457. - Implicitly open the connection before doing a Fill
  458. if it does not exist.
  459. * System.Data.SqlClient/SqlDataAdapter.cs:
  460. - Minor fixup
  461. * System.Data/DataTableCollection.cs:
  462. - Add DataSet to internal, undocumented constructor
  463. - When a table is created, set its DataSet property
  464. - Default table name for creation is "Table1" (see .NET)
  465. - Inherit the ArrayList list from InternalDataCollecitonBase
  466. and maintain a hashtable between table names and
  467. DataTables
  468. * System.Data/DataTable.cs:
  469. - Add internal dataSet field. This is used by
  470. DataTableCollection when the DataTable is constructed.
  471. * System.Data/DataSet.cs:
  472. - Pass a reference to the DataSet when constructing the
  473. DataTableCollection.
  474. 2002-05-16 Tim Coleman <[email protected]>
  475. * System.Data.Common/DbDataAdapter.cs:
  476. Use table.Rows.Add (itemArray) instead of
  477. table.Rows.Add (thisRow) to provide better
  478. abstraction.
  479. * System.Data/DataRowCollection.cs:
  480. Some implementation of this class.
  481. * System.Data/InternalDataCollectionBase.cs:
  482. Some implementation. Most notably, this now
  483. has an enumerator so we can use foreach (DataRow row in table.Rows)
  484. in the test classes.
  485. * System.Data/DataTable.cs:
  486. Since DataRowCollection now accepts a DataTable in
  487. its internal constructor, we must pass one in.
  488. 2002-05-16 Daniel Morgan <[email protected]>
  489. * Test/TestSqlDataAdapter.cs: added new test
  490. for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
  491. DataRowCollection, and DataRow. It tests retrieving data
  492. based on a SQL SELECT query. This test is based on Tim Coleman's
  493. test he sent to me.
  494. 2002-05-16 Tim Coleman <[email protected]>
  495. * System.Data.Common/DbDataAdapter.cs:
  496. Use table.Rows.Add (thisRow) instead of
  497. table.ImportRow (thisRow)
  498. * System.Data/DataRowCollection.cs:
  499. Construct the ArrayList before using it
  500. 2002-05-16 Tim Coleman <[email protected]>
  501. * System.Data/DataTable.cs:
  502. Construct the DataRowCollection in the DataTable
  503. constructor. Otherwise, it's a null reference.
  504. 2002-05-16 Tim Coleman <[email protected]>
  505. * System.Data.SqlClient/SqlDataReader.cs:
  506. Modify GetValues to use Array.Copy() to copy
  507. the results from fields to values, rather than
  508. an assignment, which results in loss of data.
  509. 2002-05-16 Tim Coleman <[email protected]>
  510. * System.Data/DataRow.cs:
  511. More implementation and documentation. It should
  512. work more like expected, although there is no way
  513. to demonstrate this well yet. DataTable requires
  514. more work.
  515. 2002-05-15 Tim Coleman <[email protected]>
  516. * System.Data/DataRow.cs:
  517. Minor tweaks as I determine exactly how to
  518. implement this class.
  519. 2002-05-14 Duncan Mak <[email protected]>
  520. * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
  521. 2002-05-14 Tim Coleman
  522. * System.Data/DataRow.cs:
  523. * System.Data/DataRowBuilder.cs:
  524. * System.Data/DataTable.cs:
  525. More implementation of these classes. DataRow
  526. can now (possibly) do some useful things.
  527. Still not sure what DataRowBuilder is all about,
  528. other than passing a DataTable in.
  529. 2002-05-14 Tim Coleman
  530. * System.Data/DataRowBuilder.cs:
  531. Add stubb for this internal class.
  532. 2002-05-13 Tim Coleman
  533. * System.Data.Common/DbDataAdapter.cs:
  534. The maxRecords check was not correct.
  535. 2002-05-13 Tim Coleman
  536. * System.Data/DataTableCollection.cs:
  537. Fix an issue when adding a DataTable and size == 0.
  538. Now explicitly checks if size > 0 before doing Array.Copy ()
  539. * System.Data.Common/DbDataAdapter.cs:
  540. Move closer to a working implementation.
  541. Make the IDbCommand fields protected so that they can
  542. be inherited.
  543. * System.Data.SqlClient/SqlDataAdapter.cs:
  544. This should inherit the IDbCommands instead of having its
  545. own. An explicit cast is used to force conversion between
  546. IDbCommand and SqlCommand
  547. 2002-05-13 Tim Coleman
  548. * System.Data.Common/DataTableMappingCollection.cs:
  549. Some implementation to allow progress with DbDataAdapter
  550. 2002-05-13 Tim Coleman
  551. * System.Data.Common/DbDataAdapter.cs:
  552. Modify to not break compile.
  553. 2002-05-13 Tim Coleman
  554. * System.Data.build:
  555. include SqlDataAdapter, SqlRowUpdatedEventArgs,
  556. SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
  557. SqlRowUpdatingEventHandler in the build.
  558. 2002-05-13 Tim Coleman
  559. * System.Data.Common/DbDataAdapter.cs:
  560. More implementation.
  561. * System.Data.Common/DataAdapter.cs:
  562. Correction of some of the stubbing, as well as a
  563. little bit more implementation
  564. 2002-05-11 Tim Coleman
  565. * System.Data.SqlClient/SqlDataAdapter.cs:
  566. * System.Data.Common/DbDataAdapter.cs:
  567. Moved methods that weren't supposed to
  568. be in SqlDataAdapter out. They should be implemented
  569. in DbDataAdapter.
  570. 2002-05-11 Tim Coleman
  571. * System.Data.SqlClient/SqlDataAdapter.cs:
  572. some implementation of this class. Note
  573. that none of the functionality has been
  574. tested yet, but I felt it should be checked
  575. in at this point as it compiles.
  576. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  577. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  578. Modified so that they will compile properly.
  579. Needed to include SqlDataAdapter in the build.
  580. 2002-05-11 Rodrigo Moya <[email protected]>
  581. * System.Data/DataTable.cs (Clear): implemented.
  582. (DataTable): removed repeated code in constructors, and call the
  583. basic constructor from the others.
  584. * System.Data/DataColumn.cs: some tweaks.
  585. * System.Data/DataRow.cs (RowState): implemented.
  586. (CancelEdit): set rowState property back to Unchanged.
  587. (RejectChanges): call CancelEdit.
  588. (Delete): set rowState to Deleted.
  589. 2002-05-11 Daniel Morgan <[email protected]>
  590. * System.Data.build: added copy of System.Data.dll to Test directory
  591. for easy testing. Also, added clean for it too.
  592. * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
  593. from PostgreSQL data type to .NET type.
  594. * System.Data.SqlClient/SqlDataReader.cs: beginnings
  595. handling of a NULL value from the database
  596. * Test/PostgresTest.cs: added tests for NULL values retrieved
  597. from the database
  598. * Test/ReadPostgresData.cs
  599. * Test/TestExecuteScalar.cs
  600. * Test/TestSqlDataReader.cs
  601. * Test/TestSqlException.cs
  602. * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
  603. "postgres". These tests may eventually be removed since they
  604. are not flexible.
  605. 2002-05-10 Rodrigo Moya <[email protected]>
  606. * System.Data.build: removed reference to non-existant
  607. TestDataColumn.cs file.
  608. * System.Data/DataSet.cs: added some implementation.
  609. 2002-05-09 Daniel Morgan <[email protected]>
  610. * System.Data.SqlClient/PostgresLibrary.cs: got
  611. PostgreSQL data types time, date, timestamp (DateTime like)
  612. mapped to .NET System.DateTime working based
  613. on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
  614. Also mapped pg type boolean to .net Boolean
  615. * SqlClient/SqlConnection.cs: run SQL command to set
  616. Date style to ISO
  617. * Test/PostgresTest.cs: added test for an UPDATE SQL command,
  618. added tests for aggregates min(), max(), sum(), count(). could
  619. not get avg() to work due to some formatting error; someone claimed
  620. that it was my locale settings. added tests for SELECT of columns
  621. of type boolean, float, double, date, time, and timestamp. They
  622. have not been fully tested, but its a start.
  623. 2002-05-09 Tim Coleman <[email protected]>
  624. * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
  625. addition, subtraction, and multiplication for the
  626. SqlDecimal type, as well as modification of some other
  627. operations. More to come on this one.
  628. 2002-05-08 Rodrigo Moya <[email protected]>
  629. * Test/System.Data_test.build: excluded TestDataColumn, which
  630. should be replaced with a nunit test.
  631. * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
  632. 2002-05-07 Tim Coleman <[email protected]>
  633. * SqlBinary.cs:
  634. * SqlBoolean.cs:
  635. * SqlByte.cs:
  636. * SqlDateTime.cs:
  637. * SqlDecimal.cs:
  638. * SqlDouble.cs:
  639. * SqlGuid.cs:
  640. * SqlInt16.cs:
  641. * SqlInt32.cs:
  642. * SqlInt64.cs:
  643. * SqlMoney.cs:
  644. * SqlSingle.cs:
  645. * SqlString.cs:
  646. Fix the broken build I made before. Bad
  647. me.
  648. 2002-05-07 Tim Coleman <[email protected]>
  649. * SqlString.cs:
  650. Fix a symantic error I made in SqlString
  651. Equals where I copied and pasted wrongly
  652. 2002-05-07 Tim Coleman <[email protected]>
  653. * INullable.cs:
  654. * SqlBinary.cs:
  655. * SqlBoolean.cs:
  656. * SqlByte.cs:
  657. * SqlCompareOptions.cs:
  658. * SqlDateTime.cs:
  659. * SqlDecimal.cs:
  660. * SqlDouble.cs:
  661. * SqlGuid.cs:
  662. * SqlInt16.cs:
  663. * SqlInt32.cs:
  664. * SqlInt64.cs:
  665. * SqlMoney.cs:
  666. * SqlSingle.cs:
  667. * SqlString.cs:
  668. Implement CompareTo, Equals, and String conversions
  669. for many types
  670. 2002-05-05 Daniel Morgan <[email protected]>
  671. * Test/PostgresTest.cs: modified to run completely. There
  672. are many TODOs in System.Data, so not all data types are
  673. included in the SELECT SQL query. Also, I made it to where
  674. it would connect
  675. using "host=localhost;dbname=test;user=postgres"
  676. instead of my userid and password. When more types are included,
  677. update this test.
  678. 2002-05-05 Daniel Morgan <[email protected]>
  679. * Test/PostgresTest.cs: added - ported
  680. libgda postgres-test.c originally by
  681. Gonzalo Paniagua Javier <[email protected]>
  682. to C#.
  683. 2002-05-05 Tim Coleman <[email protected]>
  684. * System.Data.SqlTypes/SqlBinary.cs:
  685. * System.Data.SqlTypes/SqlBoolean.cs:
  686. * System.Data.SqlTypes/SqlByte.cs:
  687. * System.Data.SqlTypes/SqlDateTime.cs:
  688. * System.Data.SqlTypes/SqlDecimal.cs:
  689. * System.Data.SqlTypes/SqlDouble.cs:
  690. * System.Data.SqlTypes/SqlGuid.cs:
  691. * System.Data.SqlTypes/SqlInt16.cs:
  692. * System.Data.SqlTypes/SqlInt32.cs:
  693. * System.Data.SqlTypes/SqlInt64.cs:
  694. * System.Data.SqlTypes/SqlMoney.cs:
  695. * System.Data.SqlTypes/SqlSingle.cs:
  696. * System.Data.SqlTypes/SqlString.cs:
  697. More implementation, and code clean-up for consistency.
  698. Also, I had implemented many conversions as explicit
  699. that should have been implicit. This should remove
  700. many of the red X's and green pluses from the
  701. System.Data.SqlTypes namespace.
  702. 2002-05-05 Miguel de Icaza <[email protected]>
  703. * System.Data/DataSet.cs: Remove [Serializable] attributes from
  704. methods, those only apply to structs or classes.
  705. Stub out ISerializable, ISupportInitialize, and IListSource methods
  706. * System.Data/DataRowView.cs: Stub out interface methods for
  707. IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
  708. * System.Data/DataView.cs: Comment out non-implemented
  709. interfaces.
  710. * System.Data/DataViewSettingsCollection.cs: Type cast variables
  711. to the correct type to make it compile.
  712. * System.Data/DataViewSettings.cs: remove reference to
  713. non-existance type ApplyDefaultSort, it is a boolean.
  714. 2002-05-05 Tim Coleman <[email protected]>
  715. * System.Data.SqlTypes/SqlBinary.cs:
  716. * System.Data.SqlTypes/SqlBoolean.cs:
  717. * System.Data.SqlTypes/SqlByte.cs:
  718. * System.Data.SqlTypes/SqlDecimal.cs:
  719. * System.Data.SqlTypes/SqlDouble.cs:
  720. * System.Data.SqlTypes/SqlGuid.cs:
  721. * System.Data.SqlTypes/SqlInt16.cs:
  722. * System.Data.SqlTypes/SqlInt32.cs:
  723. * System.Data.SqlTypes/SqlInt64.cs:
  724. * System.Data.SqlTypes/SqlMoney.cs:
  725. * System.Data.SqlTypes/SqlSingle.cs:
  726. * System.Data.SqlTypes/SqlString.cs:
  727. Various fixes, including adding the SqlNullValueException
  728. when trying to retrieve the value of a null SqlType,
  729. and when casting values, a Null of type A converts to a
  730. Null of type B.
  731. 2002-05-04 Daniel Morgan <[email protected]>
  732. * System.Data.SqlClient/PostgresLibrary.cs
  733. * System.Data.SqlClient/SqlCommand.cs
  734. * System.Data.SqlClient/SqlConnection.cs
  735. * System.Data.SqlClient/SqlDataReader.cs
  736. oid should not be hard coded because they
  737. can change from one version of PostgreSQL
  738. to the next. Use the typname's instead.
  739. The PostgreSQL type data retrieves
  740. at database connection time. Any unimplemented
  741. types just default to string. These were things
  742. suggested by Gonzalo.
  743. * Test/ReadPostgresData.cs - stuff
  744. * Test/TestSqlDataReader.cs - stuff
  745. * System.Data.SqlTypes/SqlInt32.cs - added a using
  746. 2002-05-03 Tim Coleman <[email protected]>
  747. * System.Data.build: Fix the build so that test depends on build
  748. 2002-05-03 Tim Coleman <[email protected]>
  749. * System.Data.SqlTypes/SqlByte.cs:
  750. * System.Data.SqlTypes/SqlDateTime.cs:
  751. * System.Data.SqlTypes/SqlDecimal.cs:
  752. * System.Data.SqlTypes/SqlDouble.cs:
  753. * System.Data.SqlTypes/SqlGuid.cs:
  754. * System.Data.SqlTypes/SqlInt16.cs:
  755. * System.Data.SqlTypes/SqlInt64.cs:
  756. * System.Data.SqlTypes/SqlMoney.cs:
  757. * System.Data.SqlTypes/SqlSingle.cs:
  758. These files were mysteriously excluded from the last
  759. patch I made and sent to Rodrigo
  760. * System.Data.build: include the System.Data.SqlTypes in the build
  761. 2002-05-03 Daniel Morgan <[email protected]>
  762. * System.Data.build: removed comments
  763. * System.Data.SqlClient/PostgresLibrary.cs: changed
  764. the hard-coded PostgreSQL oid type int's to using an
  765. enum. Also, added PostgreSQL bpchar (character) type.
  766. * Test/TestSqlDataReader.cs: updated test
  767. to include new bpchar PostgreSQL type
  768. 2002-05-03 Rodrigo Moya <[email protected]>
  769. * System.Data.SqlTypes/SqlBinary.cs:
  770. * System.Data.SqlTypes/SqlBoolean.cs:
  771. * System.Data.SqlTypes/SqlInt32.cs:
  772. * System.Data.SqlTypes/SqlString.cs: more implementation, by
  773. Tim Coleman <[email protected]>.
  774. 2002-05-03 Daniel Morgan <[email protected]>
  775. * Test/TestExecuteScalar.cs: added test for
  776. method ExecuteScalar in class SqlCommand.
  777. * System.Data/DataColumnCollection.cs - it should
  778. inherit properties from base InternalDataCollectionBase
  779. and use them instead of overriding them, such as, List.
  780. * System.Data/DataColumn.cs
  781. * System.Data/DataTable.cs: tweaks to retrieve
  782. meta data from the database
  783. * System.Data.SqlClient/PostgresLibrary.cs -
  784. added method OidToType to convert PostgreSQL oid type
  785. to System.Type. Renamed method OidTypeToSystem
  786. to ConvertPgTypeToSystem for converting the data value
  787. from a PostgreSQL type to a .NET System type.
  788. * System.Data.SqlClient/SqlCommand.cs: implemented
  789. method ExecuteReader which returns a SqlDataReader
  790. for a light forward only read only result set.
  791. It works on types int4 ==> Int32 and
  792. varchar ==> String. Other types
  793. will come later.
  794. * System.Data.SqlClient/SqlConnection.cs: added comment
  795. * System.Data.SqlClient/SqlDataReader.cs: implemented
  796. class. It works, but still lots to do.
  797. * Test/ReadPostgresData.cs: stuff
  798. * Test/TestSqlDataReader.cs: updated test for SqlDataReader
  799. to display meta data and the data
  800. 2002-05-03 Duncan Mak <[email protected]>
  801. * TODO: Took out all the Exceptions. They should be all done now.
  802. * System.Data/ConstraintException.cs:
  803. * System.Data/DBConcurrencyException.cs:
  804. * System.Data/DataException.cs:
  805. * System.Data/DeletedRowInaccessibleException.cs:
  806. * System.Data/DuplicateNameException.cs:
  807. * System.Data/EvaluateException.cs:
  808. * System.Data/InRowChangingEventException.cs:
  809. * System.Data/InvalidConstraintException.cs:
  810. * System.Data/InvalidExpressionException.cs:
  811. * System.Data/MissingPrimaryKeyException.cs:
  812. * System.Data/NoNullAllowedException.cs:
  813. * System.Data/ReadOnlyException.cs:
  814. * System.Data/RowNotInTableException.cs:
  815. * System.Data/StrongTypingException.cs:
  816. * System.Data/SyntaxErrorException.cs:
  817. * System.Data/TypeDataSetGeneratorException.cs:
  818. * System.Data/VersionNotFoundException.cs: Added to CVS.
  819. * System.Data.SqlTypes/SqlNullValueException.cs:
  820. * System.Data.SqlTypes/SqlTruncateException.cs:
  821. * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
  822. 2002-05-02 Rodrigo Moya <[email protected]>
  823. * System.Data/DataViewSettingCollection.cs: implemented.
  824. * System.Data/DataRowView.cs: new stubs.
  825. * System.Data.SqlTypes/SqlByte.cs:
  826. * System.Data.SqlTypes/SqlDateTime.cs:
  827. * System.Data.SqlTypes/SqlDecimal.cs:
  828. * System.Data.SqlTypes/SqlDouble.cs:
  829. * System.Data.SqlTypes/SqlGuid.cs:
  830. * System.Data.SqlTypes/SqlInt16.cs:
  831. * System.Data.SqlTypes/SqlInt64.cs:
  832. * System.Data.SqlTypes/SqlMoney.cs:
  833. * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
  834. by Tim Coleman <[email protected]>
  835. * System.Data.build: excluded newly-added files.
  836. 2002-05-02 Daniel Morgan <[email protected]>
  837. * System.Data.SqlClient/PostgresLibrary.cs: included new
  838. internal class that will be a helper class in using
  839. PostgreSQL. PostgresLibrary is used for the
  840. pinvoke methods to the PostgreSQL Client
  841. native C library libpq while the class PostgresHelper
  842. is used for wrapper or helper methods. It currently only
  843. has one static method OidTypeToSystem in converting
  844. PostgreSQL types to .NET System.<type>s, such as,
  845. a PostgreSQL int8 becomes a .NET System.Int64.
  846. Only a few types have been added, such as, int2,
  847. int4, int8, varchar, text, bool, and char. Other types
  848. will come later.
  849. * System.Data.SqlClient/SqlCommand.cs: implemented
  850. method ExecuteScalar which allows us to do aggregate
  851. functions, such as, count, avg, min, max, and sum. We
  852. also are able to retrieve the result, convert it to the .NET type
  853. as an object. The user of the returned object must explicitly cast.
  854. * Test/ReadPostgresData.cs: updated sample
  855. to help us learn to retrieve data in System.Data.SqlClient
  856. classes
  857. 2002-05-01 Daniel Morgan <[email protected]>
  858. * System.Data.build: added /nowarn: nnnn arguments
  859. so you will not get a ton of warnings. The warnings
  860. being excluded are: 1595, 0067, 0109, 0169, and 0649
  861. 2002-05-01 Daniel Morgan <[email protected]>
  862. * System.Data.build: modified to exclude more
  863. files from the build
  864. 2002-05-01 Rodrigo Moya <[email protected]>
  865. * System.Data.SqlClient/SqlClientPermission.cs: added missing
  866. 'using's.
  867. * System.Data/MergeFailedEventArgs.cs: new class, contributed
  868. by John Dugaw <[email protected]>.
  869. * System.Data.build: excluded new files from build.
  870. 2002-04-29 Daniel Morgan <[email protected]>
  871. * Test/ReadPostgresData.cs: added - Uses the
  872. PostgresLibrary to retrieve a recordset.
  873. This is not meant to be used in Production, but as a
  874. learning aid in coding
  875. class System.Data.SqlClient.SqlDataReader.
  876. This sample does work.
  877. * Test/TestSqlDataReader.cs: added - used
  878. to test SqlDataReader (does not work yet)
  879. Forgot to add to ChangeLog on last commit.
  880. 2002-04-28 Rodrigo Moya <[email protected]>
  881. * System.Data/DataViewSetting.cs: new class.
  882. 2002-04-28 Rodrigo Moya <[email protected]>
  883. * System.Data/DataViewManager.cs: new class.
  884. * System.Data.SqlTypes/INullable.cs: properties for interfaces
  885. don't have implementation.
  886. * System.Data.SqlTypes/SqlInt32.cs:
  887. * System.Data.SqlTypes/SqlString.cs:
  888. * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
  889. these are strctures.
  890. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
  891. missing 'using's.
  892. 2002-04-28 Rodrigo Moya <[email protected]>
  893. * System.Data/DataTableRelationCollection.cs: use 'new' keyword
  894. for correctly hiding parent class' members.
  895. (AddRange): use 'override' keyword on overriden method.
  896. (Clear): likewise.
  897. (Contains): likewise.
  898. (IndexOf): likewise.
  899. (OnCollectionChanged): likewise.
  900. (OnCollectionChanging): likewise.
  901. (RemoveCore): likewise.
  902. * System.Data/DataColumnCollection.cs: use 'new' keyword.
  903. * System.Data/DataSet.cs: added missing 'using's.
  904. 2002-04-28 Rodrigo Moya <[email protected]>
  905. * System.Data/DataSet.cs:
  906. * System.Data/DataTableCollection.cs:
  907. * System.Data/DataView.cs: compilation fixes on Linux.
  908. 2002-04-28 Daniel Morgan <[email protected]>
  909. * System.Data/DataRelation.cs
  910. * System.Data/ForeignKeyConstraint.cs
  911. * System.Data/UniqueConstraint.cs: added more stubs
  912. * System.Data/DataTableRelationCollection.cs: added back to cvs
  913. and modified for compile errors. DataRelationCollection is an
  914. abstract class and there must be a class that implements for
  915. DataTable/DataSet. DataTableRelationCollection was changed
  916. to an internal class.
  917. * System.Data.build: modified - new files added
  918. also wanted to include files/classes in the build
  919. so we can get a compilable forward read only result set.
  920. It compiles now using csc/nant with warnings, but this
  921. is a start for adding functionality for the result set.
  922. Classes associated with/and DataSet are still excluded.
  923. * TODO: modified - updated to do list for System.Data
  924. * System.Data/Constraint.cs
  925. * System.Data/ConstraintCollection.cs
  926. * System.Data/DataRelationCollection.cs
  927. * System.Data/DataRow.cs
  928. * System.Data/DataRowChangeEventArgs.cs
  929. * System.Data/DataRowCollection.cs
  930. * System.Data/DataTable.cs
  931. * System.Data/DataTableCollection.cs
  932. * System.Data/InternalDataCollectionBase.cs
  933. * System.Data/PropertyCollection.cs: modified -
  934. changes to compile SqlDataReader/DataTable and
  935. dependencies
  936. * System.Data/IDbCommand.cs
  937. * System.Data.SqlClient/SqlCommand.cs: modified -
  938. un-commented overloaded methods ExecuteReader
  939. which returns a SqlDataReader
  940. 2002-04-28 Rodrigo Moya <[email protected]>
  941. * System.Data/DataTableCollection.cs: more implementation.
  942. (Count): added 'override' keyword, as pointer out by Martin.
  943. * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
  944. only call Array.Copy when there is really stuff to be copied.
  945. (CopyTo): don't create the temporary array, it's not needed.
  946. * System.Data.build: excluded newly added file from build.
  947. 2002-04-27 Rodrigo Moya <[email protected]>
  948. * System.Data/DataTableRelationCollection.cs: removed, it's not
  949. on MS SDK documentation.
  950. * System.Data/DataTableCollection.cs: new class.
  951. 2002-04-27 Daniel Morgan <[email protected]>
  952. * System.Data/DataRowChangeEventArgs.cs
  953. * System.Data/DataRowCollection.cs
  954. * System.Data/DataView.cs
  955. * System.Data/PropertyCollection.cs: added new stubs
  956. * System.Data.build: modified - added new files to exclude
  957. from build
  958. * TODO: modified - removed files from TODO list
  959. that were stubbed above
  960. * System.Data/DataColumn.cs
  961. * System.Data/DataRow.cs: modified - various tweaks
  962. and added internal method SetTable to set the reference
  963. to a DataTable
  964. * System.Data/DataSet.cs: modified - class was not
  965. completely stubbed.
  966. * System.Data/DataTable.cs: modified - temporarily commented
  967. DataSet and DataView references - trying to compile a SqlDataReader,
  968. DataTable, and dependencies for a forward read-only result set.
  969. SqlDataAdapter, DataSet, and DataView will come later once we can get
  970. a forward read only result set working.
  971. * System.Data/IDataRecord.cs: modified - source code lines should
  972. not be > 80
  973. * System.Data/InternalDataCollectionBase.cs: modified - started
  974. implementing this base class for collection of data rows,
  975. columns, tables, relations, and constraints
  976. * System.Data.SqlClient/SqlException.cs: modified -
  977. call base(message) so a unhandled exception displays
  978. the message of a SQL error instead of the
  979. default SystemException message
  980. * Test/TestSqlException.cs: modified -
  981. handle the rollback properly for a SqlException on a
  982. failure to connect
  983. 2002-04-23 Daniel Morgan <[email protected]>
  984. * System.Data.build: modified - added new
  985. files to exclude from build
  986. * System.Data/Constraint.cs
  987. * System.Data/ConstraintCollection.cs
  988. * System.Data/InternalDataCollectionBase.cs: added -
  989. stubs which are needed to build DataTable.cs
  990. * TODO: modified - added more classes TODO and
  991. added more stuff TODO, such as, create script
  992. to create test database monotestdb for testing
  993. classes in System.Data
  994. 2002-04-23 Rodrigo Moya <[email protected]>
  995. * System.Data.Common/DataAdapter.cs:
  996. * System.Data.Common/DataColumnMappingCollection.cs:
  997. * System.Data.Common/DataTableMappingCollection.cs:
  998. * System.Data.Common/DbDataPermission.cs:
  999. * System.Data.Common/DbDataPermissionAttribute.cs: some
  1000. compilation errors fixed.
  1001. 2002-04-23 Daniel Morgan <[email protected]>
  1002. * TODO: modified - added classes TODO, and
  1003. a poor attempt at System.Data plan
  1004. 2002-04-23 Daniel Morgan <[email protected]>
  1005. * ChangeLog: modified - put tabs where they belong
  1006. * System.Data.SqlClient/SqlDataReader.cs
  1007. * System.Data/DataColumn.cs: modified - compile errors
  1008. trying to compile SqlDataAdapter and dependencies
  1009. 2002-04-23 Daniel Morgan <[email protected]>
  1010. * System.Data.SqlTypes/SqlBoolean.cs
  1011. * System.Data.SqlTypes/SqlCompareOptions.cs
  1012. * System.Data.SqlTypes/SqlInt32.cs
  1013. * System.Data.SqlTypes/SqlString.cs: added - new stubs
  1014. * System.Data/DataTable.cs
  1015. * System.Data.SqlClient/SqlCommand.cs
  1016. * System.Data.SqlClient/SqlConnection.cs
  1017. * System.Data.SqlClient/SqlError.cs
  1018. * System.Data.SqlClient/SqlTransaction.cs: modified -
  1019. misc. tweaks
  1020. * System.Data.SqlClient/SqlException.cs: modified -
  1021. missing Message on indexer for Message property
  1022. 2002-04-21 Daniel Morgan <[email protected]>
  1023. * System.Data.SqlClient/SqlCommand.cs: modified - to
  1024. compile using mcs. This problem is
  1025. returning a stronger type in csc vs. msc
  1026. * System.Data.SqlClient/SqlConnection.cs: modified - msc
  1027. can not do a using PGconn = IntPtr; and then declare
  1028. with PGconn pgConn = IntPtr.Zero;
  1029. Thiw works under csc though. Had to comment using and
  1030. changed declaration to IntPtr pgConn = IntPtr.Zero;
  1031. Also, got rid of compile warnings for hostaddr and port.
  1032. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
  1033. rid of compile warnings. Commented MonoTODO attribute because mcs
  1034. doesn't seem to work with C# array property indexer (Item)
  1035. this[int index]
  1036. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1037. commented MonoTODO attribute for indexer for mcs compiling
  1038. * Test/TestSqlIsolationLevel.cs:
  1039. * Test/TestSqlInsert.cs:
  1040. * Test/TestSqlException.cs: modified -
  1041. removed extra ExecuteNonQuery which caused two inserted rows
  1042. 2002-04-20 Daniel Morgan <[email protected]>
  1043. * System.Data/StateChangeEventArgs.cs - added
  1044. needed to compile System.Data.dll with mcs.
  1045. 2002-04-20 Daniel Morgan <[email protected]>
  1046. * System.Data.OleDb: added directory - for OleDb database
  1047. provider classes
  1048. * System.Data.SqlClient/SqlClientPermission.cs
  1049. * System.Data.SqlClient/SqlClientPermissionAttribute.cs
  1050. * System.Data.SqlClient/SqlCommandBuilder.cs
  1051. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
  1052. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
  1053. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
  1054. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
  1055. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
  1056. * Test/TestSqlException.cs
  1057. * Test/TestSqlIsolationLevel.cs: added - more tests
  1058. * System.Data.build: modified - added new files - excludes these too
  1059. * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
  1060. * System.Data.SqlClient/SqlConnection.cs
  1061. * System.Data.SqlClient/SqlCommand.cs
  1062. * System.Data.SqlClient/SqlTransaction.cs
  1063. * System.Data.SqlClient/SqlException.cs
  1064. * System.Data.SqlClient/SqlErrorCollection.cs
  1065. * System.Data.SqlClient/SqlError.cs: modified - transaction and
  1066. exception/error handling. SqlConnection(connectionString)
  1067. constructor should not automatically connect.
  1068. * System.Data.SqlClient/SqlDataReader.cs
  1069. * System.Data.SqlClient/SqlDataAdapter.cs
  1070. * System.Data.SqlClient/SqlParameter.cs
  1071. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1072. added using System.ComponentModel;
  1073. * Test/TestSqlInsert.cs: modified - to use transaction
  1074. 2002-04-17 Rodrigo Moya <[email protected]>
  1075. * System.Data/DataRow.cs: new skeletons.
  1076. * System.Data.Common/DataAdapter.cs:
  1077. * System.Data.Common/DataColumnMapping.cs:
  1078. * System.Data.Common/DataColumnMappingCollection.cs:
  1079. * System.Data.Common/DataTableMapping.cs:
  1080. * System.Data.Common/DataTableMappingCollection.cs:
  1081. * System.Data.Common/DbDataAdapter.cs:
  1082. * System.Data.Common/RowUpdatedEventArgs.cs:
  1083. * System.Data.SqlClient/SqlDataAdapter.cs:
  1084. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
  1085. fixes for Linux.
  1086. * System.Data.Common/DbDataRecord.cs:
  1087. * System.Data.Common/DbEnumerator.cs: removed MS implementation
  1088. internal classes.
  1089. 2002-04-17 Daniel Morgan <[email protected]>
  1090. * Test/TestSqlInsert.cs: modified - do
  1091. a SQL DELETE before SQL INSERT of row so you can use this
  1092. test over and over.
  1093. * System.Data.SqlClient/SqlTransaction.cs: modified - default
  1094. IsolationLevel for PostgreSQL is ReadCommitted. However,
  1095. PostgreSQL allows Serializable as well.
  1096. (Thanks to Gonzalo for that!)
  1097. * System.Data.SqlClient/SqlConnection.cs: modified
  1098. * System.Data.SqlClient/SqlCommand.cs: modified
  1099. * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
  1100. working; however, we still need to implement SQL errors
  1101. and exceptions to properly handle transactions. Also, added
  1102. status and error message support from the PostgreSQL database.
  1103. Currently, this does a Console.WriteLine() to display the
  1104. status and error messages, but this is a TODO
  1105. for SQL errors and exceptions.
  1106. * System.Data/TODOAttribute.cs: added - needed MonoTODO
  1107. attribute for System.Data.dll assembly
  1108. * System.Data/IDbCommand.cs: modified - commented
  1109. overloaded method ExecuteReader
  1110. so System.Data.SqlClient.SqlCommand can compile
  1111. * System.Data/IDbCommand.cs: modified
  1112. * System.Data/IDbConnection.cs: modified - added using System;
  1113. * System.Data/IDataParameter.cs
  1114. * System.Data.build: modified - build classes
  1115. in System.Data.SqlClient and exclude others in System.Data
  1116. * System.Data.SqlClient/PostgresLibrary.cs: modified - change
  1117. parameter data type from IntPtr to enum ExecStatusType
  1118. * ChangeLog: modified - corrected previous entries in log
  1119. 2002-04-16 Rodrigo Moya <[email protected]>
  1120. * System.Data.Common/DataColumnMappingCollection.cs: added basic
  1121. implementation. Still missing some stuff.
  1122. 2002-04-16 Daniel Morgan <[email protected]>
  1123. * System.Data.SqlClient/SqlConnection.cs: modified - got
  1124. to compile, run, and connect to PostgreSQL database
  1125. * System.Data.SqlClient/SqlCommand.cs: modified - got
  1126. to compile, run, and execute a SQL INSERT command
  1127. which successfully inserted a row
  1128. into the PostgreSQL database
  1129. * System.Data.SqlClient/SqlTransaction.cs: modified
  1130. * System.Data.SqlClient/SqlParameter.cs: modified
  1131. * System.Data.SqlClient/SqlParameterCollection.cs: modified
  1132. * System.Data.SqlClient/SqlError.cs: modified
  1133. * System.Data.SqlClient/SqlErrorCollection.cs: modified
  1134. * System.Data.SqlClient/SqlException.cs: modified
  1135. * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
  1136. * System.Data.SqlClient/SqlAdapter: modified
  1137. * System.Data.SqlClient/SqlReader: modified - add more stubs
  1138. 2002-04-16 Daniel Morgan <[email protected]>
  1139. * Test/TestSqlInsert.cs: added
  1140. 2002-04-15 Daniel Morgan <[email protected]>
  1141. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
  1142. class SqlConnecition
  1143. * System.Data.SqlClient/SqlErrorCollection.cs: added
  1144. * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
  1145. 2002-04-15 Christopher Podurgiel <[email protected]>
  1146. * System.Data.IDbDataParameter: Added Interface to IDataParameter.
  1147. * System.Data.IDbTransaction: Added Interface to IDisposable.
  1148. * System.Data.IDbCommand: Fixed Capitalization of class name.
  1149. * System.Data.IDbConnection: Fixed Capitalization of class name.
  1150. 2002-04-15 Rodrigo Moya <[email protected]>
  1151. * System.Data.Common/DbDataPermissionAttribute.cs:
  1152. * System.Data.Common/DataAdapter.cs:
  1153. * System.Data.Common/DataColumnMapping.cs:
  1154. * System.Data.Common/DbDataPermission.cs: added some implementation.
  1155. 2002-04-15 Rodrigo Moya <[email protected]>
  1156. * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
  1157. syntax, as pointed out by Levent Camlibel.
  1158. 2002-04-14 Rodrigo Moya <[email protected]>
  1159. * System.Data.SqlTypes/SqlBinary.cs:
  1160. * System.Data.SqlTypes/INullable.cs: new skeletons.
  1161. 2002-04-14 Daniel Morgan <[email protected]>
  1162. * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
  1163. contains all calls the the PostgreSQL client library, to be used
  1164. everywhere in System.Data.SqlClient.
  1165. 2002-03-30 Rodrigo Moya <[email protected]>
  1166. * System.Data.SqlClient/SqlConnection.cs: implemented basic
  1167. constructors.
  1168. * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
  1169. 2002-03-29 Rodrigo Moya <[email protected]>
  1170. * System.Data.Common/DbDataRecord.cs:
  1171. * System.Data.Common/DbEnumerator.cs:
  1172. * System.Data.Common/RowUpdatedEventArgs.cs:
  1173. * System.Data.Common/RowUpdatingEventArgs.cs:
  1174. * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
  1175. 2002-03-28 Rodrigo Moya <[email protected]>
  1176. * System.Data.Common/DataTableMappingCollection.cs:
  1177. * System.Data.Common/DbDataAdapter.cs:
  1178. * System.Data.Common/DbDataPermission.cs:
  1179. * System.Data.Common/DataTableMapping.cs: new skeletons.
  1180. * System.Data.SqlClient/SqlDataAdapter.cs:
  1181. * System.Data.SqlClient/SqlDataReader.cs:
  1182. * System.Data.SqlClient/SqlErrors.cs:
  1183. * System.Data.SqlClient/SqlError.cs:
  1184. * System.Data.SqlClient/SqlException.cs:
  1185. * System.Data.SqlClient/SqlParameter.cs:
  1186. * System.Data.SqlClient/SqlParameterCollection.cs:
  1187. * System.Data.SqlClient/SqlTransaction.cs:
  1188. * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
  1189. 2002-03-27 Rodrigo Moya <[email protected]>
  1190. * System.Data.Common/DataColumnMapping.cs:
  1191. * System.Data.Common/DataColumnMappingCollection.cs:
  1192. * System.Data.Common/DataAdapter.cs: created skeletons.
  1193. * System.Data.build: exclude new directories from build.
  1194. 2002-03-27 Rodrigo Moya <[email protected]>
  1195. * System.Data.SqlClient/SqlTransaction.cs: started implementation.
  1196. * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
  1197. implemented (2 methods).
  1198. 2002-03-24 Duncan Mak <[email protected]>
  1199. * System.Data.build: Excluded System.Data.SqlClient from the build.
  1200. The stubs are incomplete and they are stopping the build.
  1201. * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
  1202. 2002-03-24 Rodrigo Moya <[email protected]>
  1203. * System.Data.SqlClient/*: added skeletons for the SQL managed
  1204. provider for ADO.Net, to be based initially in PostgreSQL.
  1205. 2002-03-15 Christopher Podurgiel <[email protected]>
  1206. Changed the Namespace on some Enums from mono.System.Data to System.Data
  1207. 2002-03-01 Christopher Podurgiel <[email protected]>
  1208. * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
  1209. default name if the ColumnName is null.
  1210. * DataSet.cs : Added
  1211. * DataTable.cs : Added
  1212. * DataRelationCollection.cs : Added
  1213. * DataTableRelationCollection.cs : Added
  1214. * DataColumn : Added
  1215. 2002-02-11 Christopher Podurgiel <[email protected]>
  1216. * DataColumnChangeEventArgs.cs : Added
  1217. * DataColumnCollection.cs : Added
  1218. 2002-02-10 Christopher Podurgiel <[email protected]>
  1219. * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
  1220. * Updated all Enums, Interfaces, and Delegates in System.Data