ChangeLog 32 KB

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