ChangeLog 52 KB

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