ChangeLog 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092
  1. 2002-05-18 Daniel Morgan <[email protected]>
  2. * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
  3. Text, TableDirect, and StoredProcedure
  4. * Test/PostgresTest.cs: changed call to version()
  5. stored procedure to use the CommandType of StoredProcedure
  6. * Test/TestSqlDataReader.cs: test all the CommandTypes
  7. 2002-05-18 Daniel Morgan <[email protected]>
  8. * System.Data.build: took out all excluded
  9. files except the ones in the Test directory
  10. because all files compile now. It does not
  11. mean they all work or have implementations
  12. though.
  13. * System.Data/DataRelationCollection.cs
  14. * System.Data/DataTableRelationCollection.cs
  15. * System.Data/InternalDataCollectionBase.cs
  16. * System.Data.Common/DbDataPermission.cs
  17. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
  18. * System.Data.SqlClient/SqlClientPermission.cs
  19. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
  20. to get all System.Data* files to compile.
  21. * System.Data.SqlClient/SqlCommand.cs: started coding
  22. to prevent SqlConnection and SqlCommand from doing
  23. anyting while fetching data using SqlDataReader. Also,
  24. started coding to undo this prevention once the
  25. SqlDataReader is closed.
  26. * System.Data.SqlClient/SqlConnection.cs: get database server
  27. version. Started coding to prevent connection from
  28. doing anything while fetching data and undo once the reader
  29. is closed. Include events SqlInfoMessage and StateChange.
  30. * System.Data.SqlClient/SqlDataReader.cs: start coding to
  31. prevent connection and command from doing anything while
  32. fetching data, and undo when closed.
  33. * Test/PostgresTest.cs: added test to get ServerVersion
  34. property from SqlConnection
  35. 2002-05-18 Tim Coleman <[email protected]>
  36. * System.Data/DataRow.cs: More implementation,
  37. as well as boundary checks and small semantic
  38. repairs
  39. 2002-05-18 Tim Coleman <[email protected]>
  40. * System.Data/DataRow.cs: Try to reduce memory
  41. usage by only creating the original and proposed
  42. arrays as required in BeginEdit, and then destroying
  43. proposed during EndEdit, and original during AcceptChanges.
  44. * System.Data.Common/DbDataAdapter.cs: Make the
  45. startRecord and maxRecords parameters work correctly.
  46. 2002-05-18 Tim Coleman <[email protected]>
  47. * System.Data/DataRow.cs: Move the null check in
  48. ItemArray set to above the Invalid Cast check, so
  49. that we don't get null reference exceptions.
  50. 2002-05-17 Daniel Morgan <[email protected]>
  51. * System.Data.SqlClient/PostgresLibrary.cs: handle
  52. data value from database being NULL
  53. * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
  54. allow multiple result sets. Added new internal class
  55. SqlResult to pass result set data from SqlCommand
  56. to SqlDataReader.
  57. * System.Data.SqlClient/SqlDataReader.cs: allow
  58. multiple result sets.
  59. * System.Data.SqlClient/SqlConnection.cs: moved
  60. things around. Implement IDisposable.
  61. * Test/TestSqlDataReader.cs: test for execution
  62. of multiple result sets and display the results
  63. of these multiple results sets
  64. * Test/TestSqlDataAdapter.cs: tweaks
  65. 2002-05-17 Tim Coleman <[email protected]>
  66. * System.Data.Common/DbDataAdapter.cs:
  67. - More implementation of Fill methods
  68. - Get rid of isDirty flag, because we can just check
  69. if the table exists
  70. - Do *not* remove DataTables before Filling them
  71. - Implicitly open the connection before doing a Fill
  72. if it does not exist.
  73. * System.Data.SqlClient/SqlDataAdapter.cs:
  74. - Minor fixup
  75. * System.Data/DataTableCollection.cs:
  76. - Add DataSet to internal, undocumented constructor
  77. - When a table is created, set its DataSet property
  78. - Default table name for creation is "Table1" (see .NET)
  79. - Inherit the ArrayList list from InternalDataCollecitonBase
  80. and maintain a hashtable between table names and
  81. DataTables
  82. * System.Data/DataTable.cs:
  83. - Add internal dataSet field. This is used by
  84. DataTableCollection when the DataTable is constructed.
  85. * System.Data/DataSet.cs:
  86. - Pass a reference to the DataSet when constructing the
  87. DataTableCollection.
  88. 2002-05-16 Tim Coleman <[email protected]>
  89. * System.Data.Common/DbDataAdapter.cs:
  90. Use table.Rows.Add (itemArray) instead of
  91. table.Rows.Add (thisRow) to provide better
  92. abstraction.
  93. * System.Data/DataRowCollection.cs:
  94. Some implementation of this class.
  95. * System.Data/InternalDataCollectionBase.cs:
  96. Some implementation. Most notably, this now
  97. has an enumerator so we can use foreach (DataRow row in table.Rows)
  98. in the test classes.
  99. * System.Data/DataTable.cs:
  100. Since DataRowCollection now accepts a DataTable in
  101. its internal constructor, we must pass one in.
  102. 2002-05-16 Daniel Morgan <[email protected]>
  103. * Test/TestSqlDataAdapter.cs: added new test
  104. for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
  105. DataRowCollection, and DataRow. It tests retrieving data
  106. based on a SQL SELECT query. This test is based on Tim Coleman's
  107. test he sent to me.
  108. 2002-05-16 Tim Coleman <[email protected]>
  109. * System.Data.Common/DbDataAdapter.cs:
  110. Use table.Rows.Add (thisRow) instead of
  111. table.ImportRow (thisRow)
  112. * System.Data/DataRowCollection.cs:
  113. Construct the ArrayList before using it
  114. 2002-05-16 Tim Coleman <[email protected]>
  115. * System.Data/DataTable.cs:
  116. Construct the DataRowCollection in the DataTable
  117. constructor. Otherwise, it's a null reference.
  118. 2002-05-16 Tim Coleman <[email protected]>
  119. * System.Data.SqlClient/SqlDataReader.cs:
  120. Modify GetValues to use Array.Copy() to copy
  121. the results from fields to values, rather than
  122. an assignment, which results in loss of data.
  123. 2002-05-16 Tim Coleman <[email protected]>
  124. * System.Data/DataRow.cs:
  125. More implementation and documentation. It should
  126. work more like expected, although there is no way
  127. to demonstrate this well yet. DataTable requires
  128. more work.
  129. 2002-05-15 Tim Coleman <[email protected]>
  130. * System.Data/DataRow.cs:
  131. Minor tweaks as I determine exactly how to
  132. implement this class.
  133. 2002-05-14 Duncan Mak <[email protected]>
  134. * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
  135. 2002-05-14 Tim Coleman
  136. * System.Data/DataRow.cs:
  137. * System.Data/DataRowBuilder.cs:
  138. * System.Data/DataTable.cs:
  139. More implementation of these classes. DataRow
  140. can now (possibly) do some useful things.
  141. Still not sure what DataRowBuilder is all about,
  142. other than passing a DataTable in.
  143. 2002-05-14 Tim Coleman
  144. * System.Data/DataRowBuilder.cs:
  145. Add stubb for this internal class.
  146. 2002-05-13 Tim Coleman
  147. * System.Data.Common/DbDataAdapter.cs:
  148. The maxRecords check was not correct.
  149. 2002-05-13 Tim Coleman
  150. * System.Data/DataTableCollection.cs:
  151. Fix an issue when adding a DataTable and size == 0.
  152. Now explicitly checks if size > 0 before doing Array.Copy ()
  153. * System.Data.Common/DbDataAdapter.cs:
  154. Move closer to a working implementation.
  155. Make the IDbCommand fields protected so that they can
  156. be inherited.
  157. * System.Data.SqlClient/SqlDataAdapter.cs:
  158. This should inherit the IDbCommands instead of having its
  159. own. An explicit cast is used to force conversion between
  160. IDbCommand and SqlCommand
  161. 2002-05-13 Tim Coleman
  162. * System.Data.Common/DataTableMappingCollection.cs:
  163. Some implementation to allow progress with DbDataAdapter
  164. 2002-05-13 Tim Coleman
  165. * System.Data.Common/DbDataAdapter.cs:
  166. Modify to not break compile.
  167. 2002-05-13 Tim Coleman
  168. * System.Data.build:
  169. include SqlDataAdapter, SqlRowUpdatedEventArgs,
  170. SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
  171. SqlRowUpdatingEventHandler in the build.
  172. 2002-05-13 Tim Coleman
  173. * System.Data.Common/DbDataAdapter.cs:
  174. More implementation.
  175. * System.Data.Common/DataAdapter.cs:
  176. Correction of some of the stubbing, as well as a
  177. little bit more implementation
  178. 2002-05-11 Tim Coleman
  179. * System.Data.SqlClient/SqlDataAdapter.cs:
  180. * System.Data.Common/DbDataAdapter.cs:
  181. Moved methods that weren't supposed to
  182. be in SqlDataAdapter out. They should be implemented
  183. in DbDataAdapter.
  184. 2002-05-11 Tim Coleman
  185. * System.Data.SqlClient/SqlDataAdapter.cs:
  186. some implementation of this class. Note
  187. that none of the functionality has been
  188. tested yet, but I felt it should be checked
  189. in at this point as it compiles.
  190. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  191. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  192. Modified so that they will compile properly.
  193. Needed to include SqlDataAdapter in the build.
  194. 2002-05-11 Rodrigo Moya <[email protected]>
  195. * System.Data/DataTable.cs (Clear): implemented.
  196. (DataTable): removed repeated code in constructors, and call the
  197. basic constructor from the others.
  198. * System.Data/DataColumn.cs: some tweaks.
  199. * System.Data/DataRow.cs (RowState): implemented.
  200. (CancelEdit): set rowState property back to Unchanged.
  201. (RejectChanges): call CancelEdit.
  202. (Delete): set rowState to Deleted.
  203. 2002-05-11 Daniel Morgan <[email protected]>
  204. * System.Data.build: added copy of System.Data.dll to Test directory
  205. for easy testing. Also, added clean for it too.
  206. * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
  207. from PostgreSQL data type to .NET type.
  208. * System.Data.SqlClient/SqlDataReader.cs: beginnings
  209. handling of a NULL value from the database
  210. * Test/PostgresTest.cs: added tests for NULL values retrieved
  211. from the database
  212. * Test/ReadPostgresData.cs
  213. * Test/TestExecuteScalar.cs
  214. * Test/TestSqlDataReader.cs
  215. * Test/TestSqlException.cs
  216. * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
  217. "postgres". These tests may eventually be removed since they
  218. are not flexible.
  219. 2002-05-10 Rodrigo Moya <[email protected]>
  220. * System.Data.build: removed reference to non-existant
  221. TestDataColumn.cs file.
  222. * System.Data/DataSet.cs: added some implementation.
  223. 2002-05-09 Daniel Morgan <[email protected]>
  224. * System.Data.SqlClient/PostgresLibrary.cs: got
  225. PostgreSQL data types time, date, timestamp (DateTime like)
  226. mapped to .NET System.DateTime working based
  227. on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
  228. Also mapped pg type boolean to .net Boolean
  229. * SqlClient/SqlConnection.cs: run SQL command to set
  230. Date style to ISO
  231. * Test/PostgresTest.cs: added test for an UPDATE SQL command,
  232. added tests for aggregates min(), max(), sum(), count(). could
  233. not get avg() to work due to some formatting error; someone claimed
  234. that it was my locale settings. added tests for SELECT of columns
  235. of type boolean, float, double, date, time, and timestamp. They
  236. have not been fully tested, but its a start.
  237. 2002-05-09 Tim Coleman <[email protected]>
  238. * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
  239. addition, subtraction, and multiplication for the
  240. SqlDecimal type, as well as modification of some other
  241. operations. More to come on this one.
  242. 2002-05-08 Rodrigo Moya <[email protected]>
  243. * Test/System.Data_test.build: excluded TestDataColumn, which
  244. should be replaced with a nunit test.
  245. * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
  246. 2002-05-07 Tim Coleman <[email protected]>
  247. * SqlBinary.cs:
  248. * SqlBoolean.cs:
  249. * SqlByte.cs:
  250. * SqlDateTime.cs:
  251. * SqlDecimal.cs:
  252. * SqlDouble.cs:
  253. * SqlGuid.cs:
  254. * SqlInt16.cs:
  255. * SqlInt32.cs:
  256. * SqlInt64.cs:
  257. * SqlMoney.cs:
  258. * SqlSingle.cs:
  259. * SqlString.cs:
  260. Fix the broken build I made before. Bad
  261. me.
  262. 2002-05-07 Tim Coleman <[email protected]>
  263. * SqlString.cs:
  264. Fix a symantic error I made in SqlString
  265. Equals where I copied and pasted wrongly
  266. 2002-05-07 Tim Coleman <[email protected]>
  267. * INullable.cs:
  268. * SqlBinary.cs:
  269. * SqlBoolean.cs:
  270. * SqlByte.cs:
  271. * SqlCompareOptions.cs:
  272. * SqlDateTime.cs:
  273. * SqlDecimal.cs:
  274. * SqlDouble.cs:
  275. * SqlGuid.cs:
  276. * SqlInt16.cs:
  277. * SqlInt32.cs:
  278. * SqlInt64.cs:
  279. * SqlMoney.cs:
  280. * SqlSingle.cs:
  281. * SqlString.cs:
  282. Implement CompareTo, Equals, and String conversions
  283. for many types
  284. 2002-05-05 Daniel Morgan <[email protected]>
  285. * Test/PostgresTest.cs: modified to run completely. There
  286. are many TODOs in System.Data, so not all data types are
  287. included in the SELECT SQL query. Also, I made it to where
  288. it would connect
  289. using "host=localhost;dbname=test;user=postgres"
  290. instead of my userid and password. When more types are included,
  291. update this test.
  292. 2002-05-05 Daniel Morgan <[email protected]>
  293. * Test/PostgresTest.cs: added - ported
  294. libgda postgres-test.c originally by
  295. Gonzalo Paniagua Javier <[email protected]>
  296. to C#.
  297. 2002-05-05 Tim Coleman <[email protected]>
  298. * System.Data.SqlTypes/SqlBinary.cs:
  299. * System.Data.SqlTypes/SqlBoolean.cs:
  300. * System.Data.SqlTypes/SqlByte.cs:
  301. * System.Data.SqlTypes/SqlDateTime.cs:
  302. * System.Data.SqlTypes/SqlDecimal.cs:
  303. * System.Data.SqlTypes/SqlDouble.cs:
  304. * System.Data.SqlTypes/SqlGuid.cs:
  305. * System.Data.SqlTypes/SqlInt16.cs:
  306. * System.Data.SqlTypes/SqlInt32.cs:
  307. * System.Data.SqlTypes/SqlInt64.cs:
  308. * System.Data.SqlTypes/SqlMoney.cs:
  309. * System.Data.SqlTypes/SqlSingle.cs:
  310. * System.Data.SqlTypes/SqlString.cs:
  311. More implementation, and code clean-up for consistency.
  312. Also, I had implemented many conversions as explicit
  313. that should have been implicit. This should remove
  314. many of the red X's and green pluses from the
  315. System.Data.SqlTypes namespace.
  316. 2002-05-05 Miguel de Icaza <[email protected]>
  317. * System.Data/DataSet.cs: Remove [Serializable] attributes from
  318. methods, those only apply to structs or classes.
  319. Stub out ISerializable, ISupportInitialize, and IListSource methods
  320. * System.Data/DataRowView.cs: Stub out interface methods for
  321. IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
  322. * System.Data/DataView.cs: Comment out non-implemented
  323. interfaces.
  324. * System.Data/DataViewSettingsCollection.cs: Type cast variables
  325. to the correct type to make it compile.
  326. * System.Data/DataViewSettings.cs: remove reference to
  327. non-existance type ApplyDefaultSort, it is a boolean.
  328. 2002-05-05 Tim Coleman <[email protected]>
  329. * System.Data.SqlTypes/SqlBinary.cs:
  330. * System.Data.SqlTypes/SqlBoolean.cs:
  331. * System.Data.SqlTypes/SqlByte.cs:
  332. * System.Data.SqlTypes/SqlDecimal.cs:
  333. * System.Data.SqlTypes/SqlDouble.cs:
  334. * System.Data.SqlTypes/SqlGuid.cs:
  335. * System.Data.SqlTypes/SqlInt16.cs:
  336. * System.Data.SqlTypes/SqlInt32.cs:
  337. * System.Data.SqlTypes/SqlInt64.cs:
  338. * System.Data.SqlTypes/SqlMoney.cs:
  339. * System.Data.SqlTypes/SqlSingle.cs:
  340. * System.Data.SqlTypes/SqlString.cs:
  341. Various fixes, including adding the SqlNullValueException
  342. when trying to retrieve the value of a null SqlType,
  343. and when casting values, a Null of type A converts to a
  344. Null of type B.
  345. 2002-05-04 Daniel Morgan <[email protected]>
  346. * System.Data.SqlClient/PostgresLibrary.cs
  347. * System.Data.SqlClient/SqlCommand.cs
  348. * System.Data.SqlClient/SqlConnection.cs
  349. * System.Data.SqlClient/SqlDataReader.cs
  350. oid should not be hard coded because they
  351. can change from one version of PostgreSQL
  352. to the next. Use the typname's instead.
  353. The PostgreSQL type data retrieves
  354. at database connection time. Any unimplemented
  355. types just default to string. These were things
  356. suggested by Gonzalo.
  357. * Test/ReadPostgresData.cs - stuff
  358. * Test/TestSqlDataReader.cs - stuff
  359. * System.Data.SqlTypes/SqlInt32.cs - added a using
  360. 2002-05-03 Tim Coleman <[email protected]>
  361. * System.Data.build: Fix the build so that test depends on build
  362. 2002-05-03 Tim Coleman <[email protected]>
  363. * System.Data.SqlTypes/SqlByte.cs:
  364. * System.Data.SqlTypes/SqlDateTime.cs:
  365. * System.Data.SqlTypes/SqlDecimal.cs:
  366. * System.Data.SqlTypes/SqlDouble.cs:
  367. * System.Data.SqlTypes/SqlGuid.cs:
  368. * System.Data.SqlTypes/SqlInt16.cs:
  369. * System.Data.SqlTypes/SqlInt64.cs:
  370. * System.Data.SqlTypes/SqlMoney.cs:
  371. * System.Data.SqlTypes/SqlSingle.cs:
  372. These files were mysteriously excluded from the last
  373. patch I made and sent to Rodrigo
  374. * System.Data.build: include the System.Data.SqlTypes in the build
  375. 2002-05-03 Daniel Morgan <[email protected]>
  376. * System.Data.build: removed comments
  377. * System.Data.SqlClient/PostgresLibrary.cs: changed
  378. the hard-coded PostgreSQL oid type int's to using an
  379. enum. Also, added PostgreSQL bpchar (character) type.
  380. * Test/TestSqlDataReader.cs: updated test
  381. to include new bpchar PostgreSQL type
  382. 2002-05-03 Rodrigo Moya <[email protected]>
  383. * System.Data.SqlTypes/SqlBinary.cs:
  384. * System.Data.SqlTypes/SqlBoolean.cs:
  385. * System.Data.SqlTypes/SqlInt32.cs:
  386. * System.Data.SqlTypes/SqlString.cs: more implementation, by
  387. Tim Coleman <[email protected]>.
  388. 2002-05-03 Daniel Morgan <[email protected]>
  389. * Test/TestExecuteScalar.cs: added test for
  390. method ExecuteScalar in class SqlCommand.
  391. * System.Data/DataColumnCollection.cs - it should
  392. inherit properties from base InternalDataCollectionBase
  393. and use them instead of overriding them, such as, List.
  394. * System.Data/DataColumn.cs
  395. * System.Data/DataTable.cs: tweaks to retrieve
  396. meta data from the database
  397. * System.Data.SqlClient/PostgresLibrary.cs -
  398. added method OidToType to convert PostgreSQL oid type
  399. to System.Type. Renamed method OidTypeToSystem
  400. to ConvertPgTypeToSystem for converting the data value
  401. from a PostgreSQL type to a .NET System type.
  402. * System.Data.SqlClient/SqlCommand.cs: implemented
  403. method ExecuteReader which returns a SqlDataReader
  404. for a light forward only read only result set.
  405. It works on types int4 ==> Int32 and
  406. varchar ==> String. Other types
  407. will come later.
  408. * System.Data.SqlClient/SqlConnection.cs: added comment
  409. * System.Data.SqlClient/SqlDataReader.cs: implemented
  410. class. It works, but still lots to do.
  411. * Test/ReadPostgresData.cs: stuff
  412. * Test/TestSqlDataReader.cs: updated test for SqlDataReader
  413. to display meta data and the data
  414. 2002-05-03 Duncan Mak <[email protected]>
  415. * TODO: Took out all the Exceptions. They should be all done now.
  416. * System.Data/ConstraintException.cs:
  417. * System.Data/DBConcurrencyException.cs:
  418. * System.Data/DataException.cs:
  419. * System.Data/DeletedRowInaccessibleException.cs:
  420. * System.Data/DuplicateNameException.cs:
  421. * System.Data/EvaluateException.cs:
  422. * System.Data/InRowChangingEventException.cs:
  423. * System.Data/InvalidConstraintException.cs:
  424. * System.Data/InvalidExpressionException.cs:
  425. * System.Data/MissingPrimaryKeyException.cs:
  426. * System.Data/NoNullAllowedException.cs:
  427. * System.Data/ReadOnlyException.cs:
  428. * System.Data/RowNotInTableException.cs:
  429. * System.Data/StrongTypingException.cs:
  430. * System.Data/SyntaxErrorException.cs:
  431. * System.Data/TypeDataSetGeneratorException.cs:
  432. * System.Data/VersionNotFoundException.cs: Added to CVS.
  433. * System.Data.SqlTypes/SqlNullValueException.cs:
  434. * System.Data.SqlTypes/SqlTruncateException.cs:
  435. * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
  436. 2002-05-02 Rodrigo Moya <[email protected]>
  437. * System.Data/DataViewSettingCollection.cs: implemented.
  438. * System.Data/DataRowView.cs: new stubs.
  439. * System.Data.SqlTypes/SqlByte.cs:
  440. * System.Data.SqlTypes/SqlDateTime.cs:
  441. * System.Data.SqlTypes/SqlDecimal.cs:
  442. * System.Data.SqlTypes/SqlDouble.cs:
  443. * System.Data.SqlTypes/SqlGuid.cs:
  444. * System.Data.SqlTypes/SqlInt16.cs:
  445. * System.Data.SqlTypes/SqlInt64.cs:
  446. * System.Data.SqlTypes/SqlMoney.cs:
  447. * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
  448. by Tim Coleman <[email protected]>
  449. * System.Data.build: excluded newly-added files.
  450. 2002-05-02 Daniel Morgan <[email protected]>
  451. * System.Data.SqlClient/PostgresLibrary.cs: included new
  452. internal class that will be a helper class in using
  453. PostgreSQL. PostgresLibrary is used for the
  454. pinvoke methods to the PostgreSQL Client
  455. native C library libpq while the class PostgresHelper
  456. is used for wrapper or helper methods. It currently only
  457. has one static method OidTypeToSystem in converting
  458. PostgreSQL types to .NET System.<type>s, such as,
  459. a PostgreSQL int8 becomes a .NET System.Int64.
  460. Only a few types have been added, such as, int2,
  461. int4, int8, varchar, text, bool, and char. Other types
  462. will come later.
  463. * System.Data.SqlClient/SqlCommand.cs: implemented
  464. method ExecuteScalar which allows us to do aggregate
  465. functions, such as, count, avg, min, max, and sum. We
  466. also are able to retrieve the result, convert it to the .NET type
  467. as an object. The user of the returned object must explicitly cast.
  468. * Test/ReadPostgresData.cs: updated sample
  469. to help us learn to retrieve data in System.Data.SqlClient
  470. classes
  471. 2002-05-01 Daniel Morgan <[email protected]>
  472. * System.Data.build: added /nowarn: nnnn arguments
  473. so you will not get a ton of warnings. The warnings
  474. being excluded are: 1595, 0067, 0109, 0169, and 0649
  475. 2002-05-01 Daniel Morgan <[email protected]>
  476. * System.Data.build: modified to exclude more
  477. files from the build
  478. 2002-05-01 Rodrigo Moya <[email protected]>
  479. * System.Data.SqlClient/SqlClientPermission.cs: added missing
  480. 'using's.
  481. * System.Data/MergeFailedEventArgs.cs: new class, contributed
  482. by John Dugaw <[email protected]>.
  483. * System.Data.build: excluded new files from build.
  484. 2002-04-29 Daniel Morgan <[email protected]>
  485. * Test/ReadPostgresData.cs: added - Uses the
  486. PostgresLibrary to retrieve a recordset.
  487. This is not meant to be used in Production, but as a
  488. learning aid in coding
  489. class System.Data.SqlClient.SqlDataReader.
  490. This sample does work.
  491. * Test/TestSqlDataReader.cs: added - used
  492. to test SqlDataReader (does not work yet)
  493. Forgot to add to ChangeLog on last commit.
  494. 2002-04-28 Rodrigo Moya <[email protected]>
  495. * System.Data/DataViewSetting.cs: new class.
  496. 2002-04-28 Rodrigo Moya <[email protected]>
  497. * System.Data/DataViewManager.cs: new class.
  498. * System.Data.SqlTypes/INullable.cs: properties for interfaces
  499. don't have implementation.
  500. * System.Data.SqlTypes/SqlInt32.cs:
  501. * System.Data.SqlTypes/SqlString.cs:
  502. * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
  503. these are strctures.
  504. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
  505. missing 'using's.
  506. 2002-04-28 Rodrigo Moya <[email protected]>
  507. * System.Data/DataTableRelationCollection.cs: use 'new' keyword
  508. for correctly hiding parent class' members.
  509. (AddRange): use 'override' keyword on overriden method.
  510. (Clear): likewise.
  511. (Contains): likewise.
  512. (IndexOf): likewise.
  513. (OnCollectionChanged): likewise.
  514. (OnCollectionChanging): likewise.
  515. (RemoveCore): likewise.
  516. * System.Data/DataColumnCollection.cs: use 'new' keyword.
  517. * System.Data/DataSet.cs: added missing 'using's.
  518. 2002-04-28 Rodrigo Moya <[email protected]>
  519. * System.Data/DataSet.cs:
  520. * System.Data/DataTableCollection.cs:
  521. * System.Data/DataView.cs: compilation fixes on Linux.
  522. 2002-04-28 Daniel Morgan <[email protected]>
  523. * System.Data/DataRelation.cs
  524. * System.Data/ForeignKeyConstraint.cs
  525. * System.Data/UniqueConstraint.cs: added more stubs
  526. * System.Data/DataTableRelationCollection.cs: added back to cvs
  527. and modified for compile errors. DataRelationCollection is an
  528. abstract class and there must be a class that implements for
  529. DataTable/DataSet. DataTableRelationCollection was changed
  530. to an internal class.
  531. * System.Data.build: modified - new files added
  532. also wanted to include files/classes in the build
  533. so we can get a compilable forward read only result set.
  534. It compiles now using csc/nant with warnings, but this
  535. is a start for adding functionality for the result set.
  536. Classes associated with/and DataSet are still excluded.
  537. * TODO: modified - updated to do list for System.Data
  538. * System.Data/Constraint.cs
  539. * System.Data/ConstraintCollection.cs
  540. * System.Data/DataRelationCollection.cs
  541. * System.Data/DataRow.cs
  542. * System.Data/DataRowChangeEventArgs.cs
  543. * System.Data/DataRowCollection.cs
  544. * System.Data/DataTable.cs
  545. * System.Data/DataTableCollection.cs
  546. * System.Data/InternalDataCollectionBase.cs
  547. * System.Data/PropertyCollection.cs: modified -
  548. changes to compile SqlDataReader/DataTable and
  549. dependencies
  550. * System.Data/IDbCommand.cs
  551. * System.Data.SqlClient/SqlCommand.cs: modified -
  552. un-commented overloaded methods ExecuteReader
  553. which returns a SqlDataReader
  554. 2002-04-28 Rodrigo Moya <[email protected]>
  555. * System.Data/DataTableCollection.cs: more implementation.
  556. (Count): added 'override' keyword, as pointer out by Martin.
  557. * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
  558. only call Array.Copy when there is really stuff to be copied.
  559. (CopyTo): don't create the temporary array, it's not needed.
  560. * System.Data.build: excluded newly added file from build.
  561. 2002-04-27 Rodrigo Moya <[email protected]>
  562. * System.Data/DataTableRelationCollection.cs: removed, it's not
  563. on MS SDK documentation.
  564. * System.Data/DataTableCollection.cs: new class.
  565. 2002-04-27 Daniel Morgan <[email protected]>
  566. * System.Data/DataRowChangeEventArgs.cs
  567. * System.Data/DataRowCollection.cs
  568. * System.Data/DataView.cs
  569. * System.Data/PropertyCollection.cs: added new stubs
  570. * System.Data.build: modified - added new files to exclude
  571. from build
  572. * TODO: modified - removed files from TODO list
  573. that were stubbed above
  574. * System.Data/DataColumn.cs
  575. * System.Data/DataRow.cs: modified - various tweaks
  576. and added internal method SetTable to set the reference
  577. to a DataTable
  578. * System.Data/DataSet.cs: modified - class was not
  579. completely stubbed.
  580. * System.Data/DataTable.cs: modified - temporarily commented
  581. DataSet and DataView references - trying to compile a SqlDataReader,
  582. DataTable, and dependencies for a forward read-only result set.
  583. SqlDataAdapter, DataSet, and DataView will come later once we can get
  584. a forward read only result set working.
  585. * System.Data/IDataRecord.cs: modified - source code lines should
  586. not be > 80
  587. * System.Data/InternalDataCollectionBase.cs: modified - started
  588. implementing this base class for collection of data rows,
  589. columns, tables, relations, and constraints
  590. * System.Data.SqlClient/SqlException.cs: modified -
  591. call base(message) so a unhandled exception displays
  592. the message of a SQL error instead of the
  593. default SystemException message
  594. * Test/TestSqlException.cs: modified -
  595. handle the rollback properly for a SqlException on a
  596. failure to connect
  597. 2002-04-23 Daniel Morgan <[email protected]>
  598. * System.Data.build: modified - added new
  599. files to exclude from build
  600. * System.Data/Constraint.cs
  601. * System.Data/ConstraintCollection.cs
  602. * System.Data/InternalDataCollectionBase.cs: added -
  603. stubs which are needed to build DataTable.cs
  604. * TODO: modified - added more classes TODO and
  605. added more stuff TODO, such as, create script
  606. to create test database monotestdb for testing
  607. classes in System.Data
  608. 2002-04-23 Rodrigo Moya <[email protected]>
  609. * System.Data.Common/DataAdapter.cs:
  610. * System.Data.Common/DataColumnMappingCollection.cs:
  611. * System.Data.Common/DataTableMappingCollection.cs:
  612. * System.Data.Common/DbDataPermission.cs:
  613. * System.Data.Common/DbDataPermissionAttribute.cs: some
  614. compilation errors fixed.
  615. 2002-04-23 Daniel Morgan <[email protected]>
  616. * TODO: modified - added classes TODO, and
  617. a poor attempt at System.Data plan
  618. 2002-04-23 Daniel Morgan <[email protected]>
  619. * ChangeLog: modified - put tabs where they belong
  620. * System.Data.SqlClient/SqlDataReader.cs
  621. * System.Data/DataColumn.cs: modified - compile errors
  622. trying to compile SqlDataAdapter and dependencies
  623. 2002-04-23 Daniel Morgan <[email protected]>
  624. * System.Data.SqlTypes/SqlBoolean.cs
  625. * System.Data.SqlTypes/SqlCompareOptions.cs
  626. * System.Data.SqlTypes/SqlInt32.cs
  627. * System.Data.SqlTypes/SqlString.cs: added - new stubs
  628. * System.Data/DataTable.cs
  629. * System.Data.SqlClient/SqlCommand.cs
  630. * System.Data.SqlClient/SqlConnection.cs
  631. * System.Data.SqlClient/SqlError.cs
  632. * System.Data.SqlClient/SqlTransaction.cs: modified -
  633. misc. tweaks
  634. * System.Data.SqlClient/SqlException.cs: modified -
  635. missing Message on indexer for Message property
  636. 2002-04-21 Daniel Morgan <[email protected]>
  637. * System.Data.SqlClient/SqlCommand.cs: modified - to
  638. compile using mcs. This problem is
  639. returning a stronger type in csc vs. msc
  640. * System.Data.SqlClient/SqlConnection.cs: modified - msc
  641. can not do a using PGconn = IntPtr; and then declare
  642. with PGconn pgConn = IntPtr.Zero;
  643. Thiw works under csc though. Had to comment using and
  644. changed declaration to IntPtr pgConn = IntPtr.Zero;
  645. Also, got rid of compile warnings for hostaddr and port.
  646. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
  647. rid of compile warnings. Commented MonoTODO attribute because mcs
  648. doesn't seem to work with C# array property indexer (Item)
  649. this[int index]
  650. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  651. commented MonoTODO attribute for indexer for mcs compiling
  652. * Test/TestSqlIsolationLevel.cs:
  653. * Test/TestSqlInsert.cs:
  654. * Test/TestSqlException.cs: modified -
  655. removed extra ExecuteNonQuery which caused two inserted rows
  656. 2002-04-20 Daniel Morgan <[email protected]>
  657. * System.Data/StateChangeEventArgs.cs - added
  658. needed to compile System.Data.dll with mcs.
  659. 2002-04-20 Daniel Morgan <[email protected]>
  660. * System.Data.OleDb: added directory - for OleDb database
  661. provider classes
  662. * System.Data.SqlClient/SqlClientPermission.cs
  663. * System.Data.SqlClient/SqlClientPermissionAttribute.cs
  664. * System.Data.SqlClient/SqlCommandBuilder.cs
  665. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
  666. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
  667. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
  668. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
  669. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
  670. * Test/TestSqlException.cs
  671. * Test/TestSqlIsolationLevel.cs: added - more tests
  672. * System.Data.build: modified - added new files - excludes these too
  673. * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
  674. * System.Data.SqlClient/SqlConnection.cs
  675. * System.Data.SqlClient/SqlCommand.cs
  676. * System.Data.SqlClient/SqlTransaction.cs
  677. * System.Data.SqlClient/SqlException.cs
  678. * System.Data.SqlClient/SqlErrorCollection.cs
  679. * System.Data.SqlClient/SqlError.cs: modified - transaction and
  680. exception/error handling. SqlConnection(connectionString)
  681. constructor should not automatically connect.
  682. * System.Data.SqlClient/SqlDataReader.cs
  683. * System.Data.SqlClient/SqlDataAdapter.cs
  684. * System.Data.SqlClient/SqlParameter.cs
  685. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  686. added using System.ComponentModel;
  687. * Test/TestSqlInsert.cs: modified - to use transaction
  688. 2002-04-17 Rodrigo Moya <[email protected]>
  689. * System.Data/DataRow.cs: new skeletons.
  690. * System.Data.Common/DataAdapter.cs:
  691. * System.Data.Common/DataColumnMapping.cs:
  692. * System.Data.Common/DataColumnMappingCollection.cs:
  693. * System.Data.Common/DataTableMapping.cs:
  694. * System.Data.Common/DataTableMappingCollection.cs:
  695. * System.Data.Common/DbDataAdapter.cs:
  696. * System.Data.Common/RowUpdatedEventArgs.cs:
  697. * System.Data.SqlClient/SqlDataAdapter.cs:
  698. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
  699. fixes for Linux.
  700. * System.Data.Common/DbDataRecord.cs:
  701. * System.Data.Common/DbEnumerator.cs: removed MS implementation
  702. internal classes.
  703. 2002-04-17 Daniel Morgan <[email protected]>
  704. * Test/TestSqlInsert.cs: modified - do
  705. a SQL DELETE before SQL INSERT of row so you can use this
  706. test over and over.
  707. * System.Data.SqlClient/SqlTransaction.cs: modified - default
  708. IsolationLevel for PostgreSQL is ReadCommitted. However,
  709. PostgreSQL allows Serializable as well.
  710. (Thanks to Gonzalo for that!)
  711. * System.Data.SqlClient/SqlConnection.cs: modified
  712. * System.Data.SqlClient/SqlCommand.cs: modified
  713. * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
  714. working; however, we still need to implement SQL errors
  715. and exceptions to properly handle transactions. Also, added
  716. status and error message support from the PostgreSQL database.
  717. Currently, this does a Console.WriteLine() to display the
  718. status and error messages, but this is a TODO
  719. for SQL errors and exceptions.
  720. * System.Data/TODOAttribute.cs: added - needed MonoTODO
  721. attribute for System.Data.dll assembly
  722. * System.Data/IDbCommand.cs: modified - commented
  723. overloaded method ExecuteReader
  724. so System.Data.SqlClient.SqlCommand can compile
  725. * System.Data/IDbCommand.cs: modified
  726. * System.Data/IDbConnection.cs: modified - added using System;
  727. * System.Data/IDataParameter.cs
  728. * System.Data.build: modified - build classes
  729. in System.Data.SqlClient and exclude others in System.Data
  730. * System.Data.SqlClient/PostgresLibrary.cs: modified - change
  731. parameter data type from IntPtr to enum ExecStatusType
  732. * ChangeLog: modified - corrected previous entries in log
  733. 2002-04-16 Rodrigo Moya <[email protected]>
  734. * System.Data.Common/DataColumnMappingCollection.cs: added basic
  735. implementation. Still missing some stuff.
  736. 2002-04-16 Daniel Morgan <[email protected]>
  737. * System.Data.SqlClient/SqlConnection.cs: modified - got
  738. to compile, run, and connect to PostgreSQL database
  739. * System.Data.SqlClient/SqlCommand.cs: modified - got
  740. to compile, run, and execute a SQL INSERT command
  741. which successfully inserted a row
  742. into the PostgreSQL database
  743. * System.Data.SqlClient/SqlTransaction.cs: modified
  744. * System.Data.SqlClient/SqlParameter.cs: modified
  745. * System.Data.SqlClient/SqlParameterCollection.cs: modified
  746. * System.Data.SqlClient/SqlError.cs: modified
  747. * System.Data.SqlClient/SqlErrorCollection.cs: modified
  748. * System.Data.SqlClient/SqlException.cs: modified
  749. * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
  750. * System.Data.SqlClient/SqlAdapter: modified
  751. * System.Data.SqlClient/SqlReader: modified - add more stubs
  752. 2002-04-16 Daniel Morgan <[email protected]>
  753. * Test/TestSqlInsert.cs: added
  754. 2002-04-15 Daniel Morgan <[email protected]>
  755. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
  756. class SqlConnecition
  757. * System.Data.SqlClient/SqlErrorCollection.cs: added
  758. * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
  759. 2002-04-15 Christopher Podurgiel <[email protected]>
  760. * System.Data.IDbDataParameter: Added Interface to IDataParameter.
  761. * System.Data.IDbTransaction: Added Interface to IDisposable.
  762. * System.Data.IDbCommand: Fixed Capitalization of class name.
  763. * System.Data.IDbConnection: Fixed Capitalization of class name.
  764. 2002-04-15 Rodrigo Moya <[email protected]>
  765. * System.Data.Common/DbDataPermissionAttribute.cs:
  766. * System.Data.Common/DataAdapter.cs:
  767. * System.Data.Common/DataColumnMapping.cs:
  768. * System.Data.Common/DbDataPermission.cs: added some implementation.
  769. 2002-04-15 Rodrigo Moya <[email protected]>
  770. * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
  771. syntax, as pointed out by Levent Camlibel.
  772. 2002-04-14 Rodrigo Moya <[email protected]>
  773. * System.Data.SqlTypes/SqlBinary.cs:
  774. * System.Data.SqlTypes/INullable.cs: new skeletons.
  775. 2002-04-14 Daniel Morgan <[email protected]>
  776. * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
  777. contains all calls the the PostgreSQL client library, to be used
  778. everywhere in System.Data.SqlClient.
  779. 2002-03-30 Rodrigo Moya <[email protected]>
  780. * System.Data.SqlClient/SqlConnection.cs: implemented basic
  781. constructors.
  782. * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
  783. 2002-03-29 Rodrigo Moya <[email protected]>
  784. * System.Data.Common/DbDataRecord.cs:
  785. * System.Data.Common/DbEnumerator.cs:
  786. * System.Data.Common/RowUpdatedEventArgs.cs:
  787. * System.Data.Common/RowUpdatingEventArgs.cs:
  788. * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
  789. 2002-03-28 Rodrigo Moya <[email protected]>
  790. * System.Data.Common/DataTableMappingCollection.cs:
  791. * System.Data.Common/DbDataAdapter.cs:
  792. * System.Data.Common/DbDataPermission.cs:
  793. * System.Data.Common/DataTableMapping.cs: new skeletons.
  794. * System.Data.SqlClient/SqlDataAdapter.cs:
  795. * System.Data.SqlClient/SqlDataReader.cs:
  796. * System.Data.SqlClient/SqlErrors.cs:
  797. * System.Data.SqlClient/SqlError.cs:
  798. * System.Data.SqlClient/SqlException.cs:
  799. * System.Data.SqlClient/SqlParameter.cs:
  800. * System.Data.SqlClient/SqlParameterCollection.cs:
  801. * System.Data.SqlClient/SqlTransaction.cs:
  802. * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
  803. 2002-03-27 Rodrigo Moya <[email protected]>
  804. * System.Data.Common/DataColumnMapping.cs:
  805. * System.Data.Common/DataColumnMappingCollection.cs:
  806. * System.Data.Common/DataAdapter.cs: created skeletons.
  807. * System.Data.build: exclude new directories from build.
  808. 2002-03-27 Rodrigo Moya <[email protected]>
  809. * System.Data.SqlClient/SqlTransaction.cs: started implementation.
  810. * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
  811. implemented (2 methods).
  812. 2002-03-24 Duncan Mak <[email protected]>
  813. * System.Data.build: Excluded System.Data.SqlClient from the build.
  814. The stubs are incomplete and they are stopping the build.
  815. * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
  816. 2002-03-24 Rodrigo Moya <[email protected]>
  817. * System.Data.SqlClient/*: added skeletons for the SQL managed
  818. provider for ADO.Net, to be based initially in PostgreSQL.
  819. 2002-03-15 Christopher Podurgiel <[email protected]>
  820. Changed the Namespace on some Enums from mono.System.Data to System.Data
  821. 2002-03-01 Christopher Podurgiel <[email protected]>
  822. * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
  823. default name if the ColumnName is null.
  824. * DataSet.cs : Added
  825. * DataTable.cs : Added
  826. * DataRelationCollection.cs : Added
  827. * DataTableRelationCollection.cs : Added
  828. * DataColumn : Added
  829. 2002-02-11 Christopher Podurgiel <[email protected]>
  830. * DataColumnChangeEventArgs.cs : Added
  831. * DataColumnCollection.cs : Added
  832. 2002-02-10 Christopher Podurgiel <[email protected]>
  833. * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
  834. * Updated all Enums, Interfaces, and Delegates in System.Data