ChangeLog 38 KB

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