ChangeLog 91 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629
  1. 2003-02-10 Nick Drochak <[email protected]>
  2. * System.Data.build: Keep the standalone tests out of the dll.
  3. 2003-02-09 Rodrigo Moya <[email protected]>
  4. * System.Data.OleDb/OleDbConnection.cs:
  5. * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
  6. 2003-01-30 Ville Palo <[email protected]>
  7. * list: Added new file ExpressionElement.cs
  8. 2003-01-26 Daniel Morgan <[email protected]>
  9. * System.Data/DataColumn.cs: fix to not check for DataType being set
  10. * System.Data/DataRow.cs: misc fixes
  11. * Test/SqlTest.cs: accept connection parameters from
  12. command line instead of being hard coded
  13. * Test/System.Data_test.build: exclude building SqlTest.cs
  14. * Test/System.Data/DataRowTest.cs
  15. * Test/System.Data/DataColumnTest.cs: added new tests and numbered
  16. all the tests so they can be easily identified
  17. * Test/System.Data/DataRelationTest.cs: commented code that calls
  18. DataSet's BeginEdit() and EndEdit() which causes a compile error
  19. 2003-01-24 Daniel Morgan <[email protected]>
  20. * System.Data/DataColumn.cs: fixes to be like .NET -
  21. when setting AllowDBNull to false, determine if there is
  22. any data that has DBNull.Value, implement AutoIncrement, do not
  23. allow changing the DataType of the column if data has already been
  24. set, check if the DataType is supported,
  25. * System.Data/DataColumnCollection.cs: handle default ColumnName
  26. like .NET
  27. * System.Data/DataRow.cs: fixes to be like .NET - a
  28. data column gets initialized to all DBNull.Values not null,
  29. implement AutoIncrement, when setting ItemArray if the item array being
  30. set has less items than the number of columns in the table set those last
  31. columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
  32. both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
  33. and AutoIncrement if the value is set to null while DBNull.Value only gets set
  34. to DBNull.Value
  35. 2003-01-17 Daniel Morgan <[email protected]>
  36. * System.Data.SqlClient.SqlConnection.cs: add connection
  37. parameter UID which is the same thing as User ID
  38. 2003-01-13 Ville Palo <[email protected]>
  39. * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
  40. methods.
  41. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  42. * list: added System.Data/DataTablePropertyDescriptor.cs
  43. 2002-12-27 Ville Palo <[email protected]>
  44. * list: Added System.Data/XmlDataLoader.cs
  45. 2002-12-16 Ville Palo <[email protected]>
  46. * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
  47. types of transactions works, i guess ;)
  48. 2002-12-14 Ville Palo <[email protected]>
  49. * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
  50. DataSet's datatable is now possible.
  51. 2002-12-11 Ville Palo <[email protected]>
  52. * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
  53. GetElementFromRowElement () -methods. Somefixed and little clean up.
  54. 2002-12-10 Gonzalo Paniagua Javier <[email protected]>
  55. * System.Data.SqlClient/SqlCommand.cs:
  56. (CloseReader): don't get the output parameters here.
  57. (GetOutputParameters): don't skip the stream. The parameters will be
  58. there.
  59. * System.Data.SqlClient/SqlConnection.cs: don't try to execute
  60. 'sp_reset_connection'.
  61. * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
  62. after the end of the results.
  63. 2002-12-04 Ville Palo <[email protected]>
  64. * System.Xml/XmlDataDocument.cs: Now this works in both ways,
  65. DataSet <--> XmlDataDocument.cs at some level at least.
  66. 2002-12-02 Ville Palo <[email protected]>
  67. * System.Xml/XmlDataDocument.cs : some fixes and some imlemented
  68. methods.
  69. 2002-12-01 Tim Coleman <[email protected]>
  70. * System.Data.SqlClient/SqlDataReader.cs:
  71. Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
  72. shift.
  73. 2002-12-01 Ville Palo <[email protected]>
  74. * list: Added XmlDataDocument.cs
  75. * System.Xml/XmlDataDocument.cs: more implementation.
  76. 2002-11-30 Daniel Morgan <[email protected]>
  77. * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
  78. needed by OdbcDataAdapter
  79. * System.Data.Odbc/OdbcDataAdapter.cs
  80. * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
  81. * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
  82. * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
  83. * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
  84. ODBC Data Adapter
  85. * list: added new files to linux build
  86. in namespace System.Data.Odbc for the ODBC Data Adapter
  87. * System.Xml/XmlDataDocument.cs: commented method
  88. protected internal override XPathNavigator CreateNavigator(XmlNode node)
  89. because it would not compile on .NET Framework. Added
  90. a FIXME comment there
  91. 2002-11-29 Ville Palo <[email protected]>
  92. * System.Xml/XmlDataDocument.cs: Started to implement.
  93. 2002-11-26 Tim Coleman <[email protected]>
  94. * System.Data.SqlClient/SqlCommand.cs:
  95. * System.Data.SqlClient/SqlConnection.cs:
  96. * System.Data.SqlClient/SqlDataReader.cs:
  97. * System.Data.SqlClient/SqlParameter.cs:
  98. * System.Data.SqlClient/SqlParameterCollection.cs:
  99. * System.Data.SqlClient/SqlTransaction.cs:
  100. Many changes around restructuring of parameter
  101. information so that the Sybase provider supports
  102. PREPAREs too.
  103. 2002-11-25 Ville Palo <[email protected]>
  104. * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
  105. 2002-11-21 Tim Coleman <[email protected]>
  106. * System.Data.build:
  107. * System.Data.SqlClient/SqlCommand.cs:
  108. * System.Data.SqlClient/SqlConnection.cs:
  109. * System.Data.SqlClient/SqlConnectionPool.cs:
  110. * System.Data.SqlClient/SqlDataReader.cs:
  111. * System.Data.SqlClient/SqlException.cs:
  112. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
  113. * System.Data.SqlClient/SqlParameter.cs:
  114. * System.Data.SqlClient/SqlTransaction.cs:
  115. * System.Data.SqlClient/SqlXmlTextReader.cs:
  116. * System.Data.SqlTypes/SqlDecimal.cs:
  117. Modify to accept new Mono.Data.Tds.Protocol
  118. namespace in Mono.Data.Tds assembly, replacing
  119. Mono.Data.TdsClient.Internal
  120. 2002-11-20 Ville Palo <[email protected]>
  121. * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
  122. decimal.c file. Does not work correctly yet.
  123. 2002-11-18 Tim Coleman <[email protected]>
  124. * System.Data.SqlClient/SqlConnection.cs:
  125. BeginTransaction bug.
  126. * System.Data.SqlClient/SqlParameter.cs:
  127. Add some comments to describe what is going on.
  128. * System.Data.SqlClient/SqlCommand.cs:
  129. Add a TODO.
  130. * System.Data.SqlClient/SqlDataReader.cs:
  131. Add support to get SQL Types
  132. 2002-11-16 Daniel Morgan <[email protected]>
  133. * System.Data/DataView.cs: fix bug
  134. with DataViewEnumerator causing InvalidOperationException
  135. on the last item
  136. 2002-11-15 Tim Coleman <[email protected]>
  137. * System.Data.Common/DbDataPermission.cs:
  138. * System.Data.SqlClient/SqlClientPermission.cs:
  139. Make these agree on the class status page.
  140. * System.Data.SqlClient/SqlCommand.cs:
  141. - Fix up handling of GUID and [Var]Binary, and Image types
  142. * System.Data.SqlClient/SqlParameter.cs:
  143. - Provide support for conversion between Type,
  144. DbType, SqlDbType, and the SQL server type names.
  145. - Fix up handling of GUID and [Var]Binary types
  146. * System.Data.SqlClient/SqlParameterCollection.cs:
  147. Correct all of the Add methods.
  148. * Test/SqlTest.cs:
  149. - Add more types to test: unique identifier, binary,
  150. image, smalldatetime, money, smallmoney, timestamp
  151. 2002-11-14 Daniel Morgan <[email protected]>
  152. * System.Data/DataColumnPropertyDescriptor.cs
  153. * System.Data/DataRowView.cs
  154. * System.Data/DataView.cs
  155. * System.Data.Common/DbDataRecord.cs: a little bit more
  156. implementation for data binding purposes
  157. * Test/PostgresTest.cs
  158. * Test/TestSqlDataAdapter.cs
  159. * Test/TestSqlException.cs
  160. * TestSqlParameters.cs: fixed test for PostgreSQL's new home
  161. at Mono.Data.PostgreSqlClient
  162. 2002-11-14 Tim Coleman <[email protected]>
  163. * System.Data.SqlClient/SqlCommand.cs:
  164. Slight reformatting of Bit values and sql statements
  165. * System.Data.SqlClient/SqlDataReader.cs:
  166. Implement RecordsAffected
  167. Complete SchemaTable
  168. * System.Data.SqlClient/SqlParameter.cs:
  169. Propertly support Char/NChar
  170. * System.Data.SqlClient/SqlXmlTextReader.cs:
  171. Add Close () to the Dispose () method
  172. 2002-11-13 Tim Coleman <[email protected]>
  173. * Test/SqlTest.cs:
  174. New class added for testing SqlClient
  175. * System.Data.SqlClient/SqlCommand.cs:
  176. Add handling for SqlDbType.Bit
  177. * System.Data.SqlClient/SqlConnection.cs:
  178. Implement Dispose () methods.
  179. Change ConnectionString setter
  180. * System.Data.SqlClient/SqlDataReader.cs:
  181. Implement Dispose () methods.
  182. Set RecordsAffected to -1 by default. Need to
  183. set this correctly in the future.
  184. * System.Data.SqlClient/SqlCommandBuilder.cs:
  185. * System.Data.SqlClient/SqlDataAdapter.cs:
  186. * System.Data.SqlClient/SqlTransaction.cs:
  187. * System.Data.SqlClient/SqlXmlTextReader.cs:
  188. Implement Dispose () methods.
  189. 2002-11-12 Tim Coleman <[email protected]>
  190. * list:
  191. Remove Mono.Data.TdsClient.Internal/TdsContext.cs
  192. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  193. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  194. Complete these classes
  195. * System.Data.Common/DbDataAdapter.cs:
  196. Experimental support for FillSchema ()
  197. 2002-11-11 Tim Coleman <[email protected]>
  198. * System.Data/ResDescriptionAttribute.cs:
  199. * list
  200. New internal class added
  201. * System.Data/Constraint.cs:
  202. * System.Data/ConstraintCollection.cs:
  203. * System.Data/DBConcurrencyException.cs:
  204. * System.Data/DataColumn.cs:
  205. * System.Data/DataColumnCollection.cs:
  206. * System.Data/DataRelation.cs:
  207. * System.Data/DataRelationCollection.cs:
  208. * System.Data/DataRow.cs:
  209. * System.Data/DataRowBuilder.cs:
  210. * System.Data/DataRowBuilder.cs:
  211. * System.Data/DataRowCollection.cs:
  212. * System.Data/DataSet.cs:
  213. * System.Data/DataTable.cs:
  214. * System.Data/DataTableCollection.cs:
  215. * System.Data/DataView.cs:
  216. * System.Data/DataViewManager.cs:
  217. * System.Data/DataViewSetting.cs:
  218. * System.Data/DataViewSettingCollection.cs:
  219. * System.Data/ForeignKeyConstraint.cs:
  220. * System.Data/ForeignKeyConstraint.cs:
  221. * System.Data/InternalDataCollectionBase.cs:
  222. * System.Data/MergeFailedEventArgs.cs:
  223. * System.Data/StrongTypingException.cs:
  224. * System.Data/TypeDataSetGeneratorException.cs:
  225. * System.Data/UniqueConstraint.cs:
  226. * System.Data.Common/DataAdapter.cs:
  227. * System.Data.Common/DataColumnMapping.cs:
  228. * System.Data.Common/DataColumnMappingCollection.cs:
  229. * System.Data.Common/DataTableMapping.cs:
  230. * System.Data.Common/DataTableMappingCollection.cs:
  231. * System.Data.Common/DbDataAdapter.cs:
  232. * System.Data.Common/DbDataPermission.cs:
  233. * System.Data.Common/DbDataPermissionAttribute.cs:
  234. * System.Data.Common/DbEnumerator.cs:
  235. * System.Data.SqlClient/SqlCommand.cs:
  236. * System.Data.SqlClient/SqlCommandBuilder.cs:
  237. * System.Data.SqlClient/SqlConnection.cs:
  238. * System.Data.SqlClient/SqlDataAdapter.cs:
  239. * System.Data.SqlClient/SqlParameter.cs:
  240. Add missing attributes, methods, properties based on information
  241. from System.Data class status page on go-mono.com.
  242. 2002-11-10 Ville Palo <[email protected]>
  243. * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
  244. 2002-11-09 Tim Coleman <[email protected]>
  245. * list:
  246. * System.Data/DataCategoryAttribute.cs:
  247. Add new attribute based on corcompare
  248. 2002-11-09 Rodrigo Moya <[email protected]>
  249. * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
  250. based on the PgSql/SqlClient data adapter classes.
  251. 2002-11-09 Tim Coleman <[email protected]>
  252. * list:
  253. Add new internal tds classes
  254. * System.Data.Common/DbDataAdapter.cs:
  255. * System.Data.SqlClient/SqlDataAdapter.cs:
  256. Change event calling system
  257. * System.Data.SqlClient/SqlClientPermission.cs:
  258. * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
  259. * System.Data.SqlClient/SqlDataReader.cs:
  260. Add comments
  261. * System.Data.SqlClient/SqlCommand.cs:
  262. Some changes to make consistent with .NET based on Sql server traces
  263. Implement command timeout
  264. * System.Data.SqlClient/SqlCommandBuilder.cs:
  265. Make sure that we only build a command if key info found
  266. * System.Data.SqlClient/SqlConnection.cs:
  267. Change event calling system
  268. Some changes to make consistent with .NET based on Sql server traces
  269. Implement connection timeout
  270. * System.Data.SqlClient/SqlConnectionPool.cs:
  271. Implement connection timeout
  272. * System.Data.SqlClient/SqlError.cs:
  273. Implement ToString ()
  274. * System.Data.SqlClient/SqlException.cs:
  275. Mucho implementation and cleanup
  276. * System.Data.SqlClient/SqlParameter.cs:
  277. Implement Clone ()
  278. * System.Data.SqlClient/SqlParameterCollection.cs:
  279. Code cleanup
  280. * System.Data.SqlClient/SqlTransaction.cs:
  281. Move some of the transaction creation to SqlConnection to be consistent
  282. with .NET SQL traces
  283. 2002-11-08 Tim Coleman <[email protected]>
  284. * System.Data/DataRow.cs:
  285. * System.Data/DataTable.cs:
  286. Some fix-ups related to the DbDataAdapter to make it work.
  287. * System.Data.Common/DbDataAdapter.cs:
  288. Fix the Fill () and Update () methods. These now work
  289. fairly well. Need mucho testing.
  290. * System.Data.SqlClient/SqlCommandBuilder.cs:
  291. Support table mappings and parameter source versions now.
  292. * System.Data.SqlClient/SqlConnection.cs:
  293. * System.Data.SqlClient/SqlTransaction.cs:
  294. Add set accessor for transaction so that SqlTransaction.Commit ()
  295. will remove itself from the connection.
  296. * System.Data.SqlClient/SqlDataAdapter.cs:
  297. Update/Insert/Delete command should be null by default.
  298. * System.Data.SqlClient/SqlException.cs:
  299. Remove a TODO attribute
  300. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  301. Properly handle the SqlCommand object
  302. 2002-11-08 Ville Palo <[email protected]>
  303. * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
  304. implemented.
  305. 2002-11-08 Gonzalo Paniagua Javier <[email protected]>
  306. * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
  307. my comments and do something more appropiate.
  308. 2002-11-07 Ville Palo <[email protected]>
  309. * System.Data.SqlTypes/SqlBinary.cs:
  310. * System.Data.SqlTypes/SqlBoolean.cs:
  311. * System.Data.SqlTypes/SqlByte.cs:
  312. * System.Data.SqlTypes/SqlDateTime.cs:
  313. * System.Data.SqlTypes/SqlDecimal.cs:
  314. * System.Data.SqlTypes/SqlDouble.cs:
  315. * System.Data.SqlTypes/SqlDecimal.cs:
  316. * System.Data.SqlTypes/SqlGuid.cs:
  317. * System.Data.SqlTypes/SqlInt16.cs:
  318. * System.Data.SqlTypes/SqlInt32.cs:
  319. * System.Data.SqlTypes/SqlInt64.cs:
  320. * System.Data.SqlTypes/SqlMoney.cs:
  321. * System.Data.SqlTypes/SqlSingle.cs:
  322. * System.Data.SqlTypes/SqlString.cs: Implemented more methods and
  323. fixed some. SqlBoolean Equals (object value) -method improvements to
  324. all classes.
  325. 2002-11-07 Tim Coleman <[email protected]>
  326. * System.Data.Common/DbDataAdapter.cs:
  327. Remove NotImplementedException in Dispose
  328. * System.Data.Common/FieldNameLookup.cs:
  329. Should be sealed
  330. * System.Data.SqlClient/SqlCommand.cs:
  331. Fix CommandText accessor (stack overflow)
  332. Implement DeriveParameters method
  333. * System.Data.SqlClient/SqlCommandBuilder.cs:
  334. Implement this class
  335. * System.Data.SqlClient/SqlConnection.cs:
  336. Change application name to "Mono SqlClient Data Provider"
  337. * System.Data.SqlClient/SqlDataReader.cs:
  338. Add new schema information
  339. * System.Data.SqlClient/SqlError.cs:
  340. * System.Data.SqlClient/SqlErrorCollection.cs:
  341. Remove internal methods, TODO attributes
  342. * System.Data.SqlClient/SqlParameter.cs:
  343. Add new internal constructor for DeriveParameters use
  344. * System.Data.SqlClient/SqlParameterConverter.cs:
  345. Add missing methods based on class status
  346. 2002-11-07 Nick Drochak <[email protected]>
  347. * list: add System.Data/ColumnDataPropertyDescriptor.cs
  348. 2002-11-04 Tim Coleman <[email protected]>
  349. * list:
  350. Add Mono.Data.TdsClient.Internal.TdsInternalError
  351. Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
  352. Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
  353. Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
  354. Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
  355. Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
  356. Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
  357. Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
  358. Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
  359. * System.Data.Common/RowUpdatedEventArgs.cs:
  360. * System.Data.Common/RowUpdatingEventArgs.cs:
  361. Implement
  362. * System.Data.SqlClient/SqlCommand.cs:
  363. * System.Data.SqlClient/SqlDataReader.cs:
  364. Remove checks for errors. These are now handled by events
  365. * System.Data.SqlClient/SqlConnection.cs:
  366. * System.Data.SqlClient/SqlError.cs:
  367. * System.Data.SqlClient/SqlException.cs:
  368. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
  369. Add event handlers and triggers for errors, messages, state change
  370. * System.Data.SqlClient/SqlParameter.cs:
  371. Re-add refreshproperties
  372. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  373. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
  374. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  375. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
  376. Implement
  377. 2002-11-04 Tim Coleman <[email protected]>
  378. * list:
  379. Add Mono.Data.TdsClient.Internal.TdsBigDecimal
  380. Add System.Data.SqlClient.SqlParameterConverter
  381. Add System.Data.DataSysDescriptionAttribute
  382. * System.Data/DataSysDescriptionAttribute.cs:
  383. New class added
  384. * System.Data.Common/DbDataPermission.cs:
  385. Add CreateInstance method
  386. * System.Data.SqlClient/SqlClientPermission.cs:
  387. * System.Data.SqlClient/SqlError.cs:
  388. Add Serializable attribute
  389. * System.Data.SqlClient/SqlCommand.cs:
  390. * System.Data.SqlClient/SqlConnection.cs:
  391. * System.Data.SqlClient/SqlDataAdapter.cs:
  392. * System.Data.SqlClient/SqlParameter.cs:
  393. Add some missing property attributes
  394. * System.Data.SqlClient/SqlCommandBuilder.cs:
  395. Add some missing property attributes
  396. Implement properties
  397. * System.Data.SqlClient/SqlDataReader.cs:
  398. Implement missing methods
  399. * System.Data.SqlClient/SqlErrorCollection.cs:
  400. Implement the properties
  401. * System.Data.SqlClient/SqlException.cs:
  402. Remove extra property accessors
  403. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
  404. Add internal constructor
  405. * System.Data.SqlClient/SqlParameterCollection.cs:
  406. Add internal constructor
  407. Add property attributes
  408. * System.Data.SqlClient/SqlParameterConverter.cs:
  409. New internal class added
  410. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  411. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  412. Remove destructor
  413. * System.Data.SqlTypes/SqlDecimal.cs:
  414. Add implicit conversion from TdsBigDecimal to SqlDecimal
  415. * System.Data.SqlTypes/SqlString.cs:
  416. * System.Data.SqlTypes/SqlInt16.cs:
  417. * System.Data.SqlTypes/SqlDateTime.cs:
  418. Change code to remove compiler warnings
  419. 2002-11-04 Stuart Caborn <[email protected]>
  420. * list: added System.Data/XmlConstants.cs to
  421. Linux build
  422. * System.Data/XmlConstants.cs: added -
  423. * System.Data/DataTable.cs
  424. * System.Data/DataSet.cs
  425. * System.Data/DataColumn.cs
  426. * System.Data/DataColumnCollection.cs
  427. * System.Data/DataRelation.cs: modified -
  428. Began initial implementation of WriteXml
  429. and WriteXmlSchema. There is no support for DiffGrams
  430. yet. In WriteSchema mode, relationships are missing,
  431. all types are xs:string and the namespacing is not
  432. working properly. Added support for Ordinals in the
  433. DataColumnCollection and added support for
  434. namespaces and prefixes.
  435. 2002-11-03 Ville Palo <[email protected]>
  436. * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
  437. by NUnitConsole_mono.exe
  438. 2002-11-03 Tim Coleman ([email protected])
  439. * System.Data.SqlClient/SqlCommand.cs:
  440. Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
  441. * System.Data.SqlClient/SqlDataReader.cs:
  442. Get more schema info if available
  443. * list:
  444. Add Mono.Data.TdsClient.Internal.TdsColumnStatus
  445. 2002-11-02 Tim Coleman ([email protected])
  446. * System.Data.SqlClient/SqlCommand.cs:
  447. Change to use sp_executesql to run regular text queries.
  448. Now, sp_executesql for text, sp_execute for prepared,
  449. and execute for SPs means everything runs a procedure.
  450. * System.Data.SqlClient/SqlParameter.cs:
  451. Allow client to set parameter name in Prepare ()
  452. * System.Data.SqlClient/SqlParameterCollection.cs:
  453. Implement some methods
  454. * System.Data.SqlClient/SqlDataReader.cs:
  455. Since everything is an SP now, we know that when
  456. we see DoneProc, that we are really done.
  457. 2002-11-01 Tim Coleman ([email protected]) :
  458. * System.Data.Common/DbEnumerator.cs :
  459. Throw correct exception on Reset ()
  460. Add ColumnSize to schema table.
  461. * System.Data.SqlClient/SqlDataReader.cs :
  462. Add ColumnSize to schema table.
  463. * System.Data.SqlClient/SqlCommand.cs :
  464. Change the way that preparing is handled.
  465. Now uses sp_prepare on the server instead of temp
  466. stored procedures because it's the Right Thing[tm] to do.
  467. * System.Data.SqlClient/SqlConnection.cs :
  468. Store data readers here rather than in command
  469. * System.Data.SqlClient/SqlDataReader.cs :
  470. More implementation, including binary types
  471. * System.Data.SqlClient/SqlParameter.cs :
  472. Lowercase type name
  473. 2002-10-31 Tim Coleman ([email protected])
  474. * System.Data.Common/DbDataAdapter.cs :
  475. Fix handling of nulls
  476. * System.Data.Common/DbDataRecord.cs :
  477. Change GetFieldType ()
  478. * System.Data.Common/DbEnumerator.cs :
  479. Add new schema information
  480. * System.Data.Common/FieldNameLookup.cs :
  481. Change definition of schema
  482. * System.Data.Common/SchemaInfo.cs :
  483. Add more information
  484. * System.Data.SqlClient/SqlDataReader.cs :
  485. get more schema table data
  486. * list :
  487. Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
  488. 2002-10-31 Ville Palo <[email protected]>
  489. * SqlBinary.cs:
  490. * SqlBoolean.cs:
  491. * SqlByte.cs:
  492. * SqlDecimal.cs:
  493. * SqlDouble.cs:
  494. * SqlInt16.cs:
  495. * SqlInt64.cs:
  496. * SqlString.cs: Some bugfixes and some TODOs but so much
  497. work to do.
  498. 2002-10-30 Tim Coleman ([email protected])
  499. * System.Data.Common/FieldNameLookup.cs:
  500. * System.Data.Common/SchemaInfo.cs:
  501. * System.Data.SqlClient/SqlXmlTextReader.cs:
  502. New classes added
  503. * list :
  504. Class list changed in build
  505. * System.Data.SqlClient/SqlCommand.cs:
  506. Added support for command behaviors
  507. Refactored a bunch of code
  508. Implement ExecuteScalar
  509. Implement ExecuteXmlReader
  510. * System.Data.SqlClient/SqlConnection.cs:
  511. Moved CheckForErrors here
  512. * System.Data.SqlClient/SqlDataAdapter.cs:
  513. Code reformatting
  514. * System.Data.SqlClient/SqlDataReader.cs:
  515. Implement GetEnumerator
  516. Fix NextResult, Read
  517. Add SqlDataReaderEnumerator private class
  518. * System.Data.SqlClient/SqlParameter.cs:
  519. Move some of the Prepare code from SqlCommand to here
  520. * System.Data.SqlClient/SqlTransaction.cs:
  521. Move error checking to SqlConnection
  522. 2002-10-29 Tim Coleman ([email protected])
  523. * System.Data.SqlClient/SqlCommand.cs:
  524. Added code to handle parameters for queries
  525. * System.Data.SqlClient/SqlConnection.cs:
  526. Properly handle resetting SqlConnections
  527. * System.Data.SqlClient/SqlDataReader.cs:
  528. Properly handle the case where no results are returned
  529. * System.Data.SqlClient/SqlParameter.cs:
  530. Default direction to Input
  531. * System.Data.SqlClient/SqlParameterCollection.cs:
  532. Implement GetEnumerator
  533. 2002-10-29 Rodrigo Moya <[email protected]>
  534. * makefile.gnu: added Test directory.
  535. 2002-10-29 Ville Palo <[email protected]>
  536. * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
  537. couple of MonoTODOs.
  538. 2002-10-28 Tim Coleman ([email protected])
  539. * System.Data.SqlClient/SqlCommand.cs:
  540. Add some error handling
  541. * System.Data.SqlClient/SqlDataReader.cs:
  542. Add some error handling
  543. Add precision/scale to schema table
  544. * System.Data.SqlClient/SqlException.cs:
  545. Generate a SqlException from TDS error
  546. collection
  547. * System.Data.SqlClient/SqlTransaction.cs:
  548. Add some error handling
  549. 2002-10-28 Ville Palo <[email protected]>
  550. * System.Data.SqlTypes/SqlBinary.cs:
  551. * System.Data.SqlTypes/SqlBoolean.cs:
  552. * System.Data.SqlTypes/SqlByte.cs:
  553. * System.Data.SqlTypes/SqlDateTime.cs:
  554. * System.Data.SqlTypes/SqlDecimal.cs:
  555. * System.Data.SqlTypes/SqlDouble.cs:
  556. * System.Data.SqlTypes/SqlDecimal.cs:
  557. * System.Data.SqlTypes/SqlDouble.cs:
  558. * System.Data.SqlTypes/SqlGuid.cs:
  559. * System.Data.SqlTypes/SqlInt16.cs:
  560. * System.Data.SqlTypes/SqlInt32.cs:
  561. * System.Data.SqlTypes/SqlInt64.cs:
  562. * System.Data.SqlTypes/Money.cs:
  563. * System.Data.SqlTypes/SqlSingle.cs:
  564. * System.Data.SqlTypes/SqlString.cs:
  565. * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
  566. some other minor fixes.
  567. 2002-10-27 Rodrigo Moya <[email protected]>
  568. * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
  569. GetFillParameters, Update): added overloaded methods.
  570. * System.Data.OleDb/OleDbCommand.cs:
  571. * System.Data.OleDb/OleDbDataReader.cs:
  572. * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
  573. data adapter at a time. Mono's version can open as many as you want,
  574. for free.
  575. 2002-10-25 Tim Coleman ([email protected])
  576. * System.Data.SqlClient/SqlConnectionPool.cs:
  577. New class added
  578. * System.Data.SqlClient/SqlClientPermission.cs:
  579. * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
  580. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
  581. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
  582. * System.Data.SqlClient/SqlParameter.cs:
  583. * System.Data.SqlClient/SqlParameterCollection.cs:
  584. Code reformatting
  585. * System.Data.SqlClient/SqlCommand.cs:
  586. * System.Data.SqlClient/SqlConnection.cs:
  587. * System.Data.SqlClient/SqlException.cs:
  588. * System.Data.SqlClient/SqlTransaction.cs:
  589. New code based on work in TDS Client
  590. * list:
  591. New files added for SqlClient, and TdsClient.Internal
  592. * System.Data.build:
  593. Added reference to System.EnterpriseServices.dll
  594. Still leave SqlClient out of build until danmorg
  595. can fix.
  596. 2002-10-23 Ville Palo <[email protected]>
  597. * System.Data.SqlTypes/SqlDouble.cs:
  598. * System.Data.SqlTypes/SqlSingle.cs: Finished
  599. 2002-10-23 Ville Palo <[email protected]>
  600. * System.Data.SqlTypes/SqlByte.cs:
  601. * System.Data.SqlTypes/SqlBoolean.cs:
  602. * System.Data.SqlTypes/SqlInt16.cs:
  603. * System.Data.SqlTypes/SqlInt32.cs:
  604. * System.Data.SqlTypes/SqlInt64.cs: Finished.
  605. 2002-10-21 Rodrigo Moya <[email protected]>
  606. * list: removed libodbchelper.cs file, which has been removed.
  607. 2002-10-16 Tim Coleamn <[email protected]>
  608. * list:
  609. * System.Data.build:
  610. Exclude compiling of System.Data.SqlClient in
  611. preparation for overhauls of that system.
  612. 2002-10-16 Daniel Morgan <[email protected]>
  613. * ParmUtil.cs
  614. * PostgresLibrary.cs
  615. * PostgresTypes.cs
  616. * SqlClientPermission.cs
  617. * SqlClientPermissionAttribute.cs
  618. * SqlCommand.cs
  619. * SqlCommandBuilder.cs
  620. * SqlConnection.cs
  621. * SqlDataAdapter.cs
  622. * SqlDataReader.cs
  623. * SqlError.cs
  624. * SqlErrorCollection.cs
  625. * SqlException.cs
  626. * SqlInfoMessageEventArgs.cs
  627. * SqlInfoMessageEventHandler.cs
  628. * SqlParameter.cs
  629. * SqlParameterCollection.cs
  630. * SqlRowUpdatedEventArgs.cs
  631. * SqlRowUpdatedEventHandler.cs
  632. * SqlRowUpdatingEventArgs.cs
  633. * SqlRowUpdatingEventHandler.cs
  634. * SqlTransaction.cs: thanks to Miguel de Icaza, he
  635. copied files on the mono cvs server
  636. from mcs/class/System.Data/System.Data.SqlClient
  637. for the PostgreSQL provider
  638. to mcs/class/Mono.Data.PostgreSqlClient.
  639. This frees up
  640. mcs/class/System.Data/System.Data.SqlClient for
  641. the Microsoft SQL Server provider.
  642. Any Mono.Data.PostgreSqlClient/Sql*.cs files
  643. were copied on the cvs server
  644. to Mono.Data.PostgreSqlClient/PgSql*.cs files
  645. and the old Mono.Data.PostgreSqlClient/Sql*.cs
  646. files were removed. Copying, renaming, and removing
  647. was done on the cvs server so we could keep
  648. the cvs change history.
  649. 2002-10-15 Daniel Morgan <[email protected]>
  650. * System.Data.OleDb/libgda.cs: added more functions
  651. to platfrom invoke into shared library libgda
  652. * System.Data.OleDb/OleDbDataReader.cs: implemented
  653. GetSchemaTable() and GetFieldType()
  654. 2002-10-13 Daniel Morgan <[email protected]>
  655. * System.Data/DataRow.cs: don't throw exception
  656. if DBNull is false. Had to do comment this line
  657. to allow a typeof(Type).
  658. * System.Data.SqlClient/SqlCommand.cs: the "DataType"
  659. DataColumn and DataRows in a DataTable for a schema should
  660. be typeof Type, not string. This is to make it
  661. compatible with MS.NET
  662. * System.Data.SqlClient/SqlConnection.cs: the
  663. isolation level should be set before
  664. beginning the transaction
  665. * Test/SqlSharpCli.cs: change string to Type for
  666. "DataType" from a DataRow in a DataTable
  667. that contains a schema.
  668. 2002-10-14 Rodrigo Moya <[email protected]>
  669. * list: added missing Odbc files.
  670. 2002-10-09 Rodrigo Moya <[email protected]>
  671. * list: added System.Data.Odbc files.
  672. 2002-10-09 Brian Ritchie <[email protected]>
  673. * System.Data.Odbc/*: added first version of ODBC managed provider.
  674. 2002-10-07 Gonzalo Paniagua Javier <[email protected]>
  675. * System.Data/ConstraintCollection.cs:
  676. * System.Data/DataColumnCollection.cs:
  677. * System.Data/DataRowCollection.cs:
  678. * System.Data/DataTableCollection.cs:
  679. * System.Data/InternalDataCollectionBase.cs: made List internal to fix
  680. the build with csc. It must be a mcs bug. I will try to get a test case.
  681. 2002-10-06 Luis Fernandez <[email protected]>
  682. * System.Data/Constraint.cs (AssertConstraint): added overloaded
  683. method.
  684. * System.Data/DataColumnCollection.cs: added constraints when needed.
  685. * System.Data/DataRow.cs: validate UniqueConstraint's.
  686. * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
  687. internal method to validate a given DataRow with respect to the
  688. DataRowCollection.
  689. * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
  690. new overloaded method.
  691. * System.Data/UniqueConstraint.cs: added implementation.
  692. (AseertConstraint): implemented new overloaded method.
  693. 2002-10-01 Rodrigo Moya <[email protected]>
  694. * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
  695. last commit, which wasn't supposed to be in CVS yet.
  696. 2002-10-01 Luis Fernandez <[email protected]>
  697. * System.Data/DataColumn.cs:
  698. * System.Data/DataRow.cs:
  699. * System.Data/DataRowCollection.cs:
  700. * System.Data/DataTable.cs: some fixes and implementation.
  701. 2002-09-28 Vladimir Vukicevic <[email protected]>
  702. * System.Data.OleDb/OleDbConnection.cs: Close
  703. reader properly in call to ExecuteScalar().
  704. 2002-09-07 Rodrigo Moya <[email protected]>
  705. * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
  706. connection strings, which are then converted to GDA connection
  707. strings, instead of using directly GDA data source names.
  708. * System.Data.OleDb/libgda.cs: added more needed functions.
  709. 2002-09-06 Franklin Wise <[email protected]>
  710. * System.Data/DataColumn.cs: More flushing out.
  711. * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
  712. * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
  713. * Tests: See Changelog for System.Data/Test
  714. 2002-09-04 Franklin Wise <[email protected]>
  715. * Tests: See Changelog for System.Data/Test
  716. * New Files:
  717. System.Data/DataColumnCollectionTest.cs
  718. System.Data/DataRowCollectionTest.cs
  719. System.Data/DataRowTest.cs
  720. * System.Data/DataColumn.cs: Flushing out validation, type conversion for
  721. autoincrement. Added lots of TODO's.
  722. * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
  723. Tagged implementation with FIXME tags. Lot's more validation
  724. and setup needs to be done, much of which is now tagged as todo's
  725. or FIXME's
  726. * System.Data/DataRow.cs: Lot's of fixme's added.
  727. * System.Data/DataRowCollection.cs: TODO's added.
  728. * System.Data/DataTable.cs: Implemented PrimaryKey.
  729. * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
  730. helpers.
  731. 2002-08-25 Rodrigo Moya <[email protected]>
  732. * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
  733. correctly the isolation level.
  734. (IsolationLevel): likewise.
  735. (~OleDbTransaction): implemented.
  736. * System.Data.OleDb/libgda.cs: added more needed stuff.
  737. 2002-08-22 Daniel Morgan <[email protected]>
  738. * System.Data.SqlClient/SqlParameter.cs: flush
  739. * System.Data.SqlClient/SqlParameterCollection.cs: fixes
  740. for the Item property, IndexOf, and Contains.
  741. * Test/SqlSharpCli.cs: added input parameters support.
  742. when a query is executed, if a parameter name matches
  743. a SQL# internal variable name, it uses that value for the parameter; otherwise,
  744. the user is prompted for the parameter value. Currently, it only supports
  745. string parameters.
  746. 2002-08-21 Rodrigo Moya <[email protected]>
  747. * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
  748. and get_type for GdaValue).
  749. * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
  750. libgda.cs.
  751. 2002-08-20 Rodrigo Moya <[email protected]>
  752. * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
  753. property.
  754. (Close): set the dataReader to null.
  755. * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
  756. connection's DataReader property to this object.
  757. (Close): set it to null here.
  758. (Depth, IsDbNull): implemented.
  759. (this): implemented the Item property with a string indexer.
  760. * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
  761. ExecuteScalar): do nothing if there's already an open data reader.
  762. * System.Data.OleDb/libgda.cs: more API functions.
  763. * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
  764. reader before continuing.
  765. 2002-08-20 Franklin Wise <[email protected]>
  766. * System.Data/System.Data.build: added nowarn:0679
  767. * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
  768. setup to begin implementing. Implemented ctor().
  769. * Tests: See System.Data\Test\ChangeLog
  770. 2002-08-19 Rodrigo Moya <[email protected]>
  771. * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
  772. 2002-08-19 Franklin Wise <[email protected]>
  773. * Tests: See System.Data\Test\ChangeLog
  774. * System.Data/UniqueConstraint.cs: More validation.
  775. * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
  776. Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
  777. logic.
  778. * System.Data/DataTable.cs: Added more MonoTODO tags
  779. * class/System.Data/.cvsignore: added tmp & Temp
  780. * System.Data/Constraint.cs: Changed abstract helpers to virtual and
  781. internal.
  782. * System.Data/ConstraintCollection.cs: Commented out unused line.
  783. 2002-08-18 Rodrigo Moya <[email protected]>
  784. * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
  785. * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
  786. constructor.
  787. (ErrorCode, Message, Source, Errors): implemented.
  788. * System.Data.OleDb/OleDbError.cs: implemented the full class.
  789. * System.Data.OleDb/libgda.cs: added more libgda functions.
  790. * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
  791. the opened connection.
  792. 2002-08-18 Rodrigo Moya <[email protected]>
  793. * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
  794. * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
  795. ArrayList after releasing the items.
  796. (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
  797. GetOrdinal, GetString): implemented.
  798. (GetDataTypeName): made it get the type from the data model, not from
  799. the current value, which could not have been retrieved yet.
  800. (GetValue): call the Get* method corresponding with the data type of
  801. the requested column.
  802. * System.Data.OleDb/libgda.cs: added more libgda functions.
  803. (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
  804. * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
  805. titles via OleDbDataReader.GetName ().
  806. (TestOleDb): create temporary table with a date field.
  807. (InsertRow): set current date for the date field.
  808. 2002-08-18 Rodrigo Moya <[email protected]>
  809. * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
  810. GetValue, which will take care of all the work needed.
  811. (Close): implemented basic stuff.
  812. (~OleDbDataReader): implemented.
  813. * System.Data.OleDb/libgda.cs: added more needed functions.
  814. 2002-08-16 Rodrigo Moya <[email protected]>
  815. * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
  816. we create.
  817. (TestTransaction): added test for transactions.
  818. 2002-08-16 Rodrigo Moya <[email protected]>
  819. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  820. * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
  821. when there are errors.
  822. (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
  823. * System.Data.OleDb/TestOleDb.cs: added more testing code for data
  824. readers.
  825. 2002-08-15 Rodrigo Moya <[email protected]>
  826. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  827. * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
  828. create an empty GdaParameterList.
  829. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
  830. for NULL before passing them to Marshal.PtrToStructure, which issues
  831. an exception if the value is NULL.
  832. 2002-08-15 Rodrigo Moya <[email protected]>
  833. * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
  834. unreachable code to avoid compiler warning.
  835. * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
  836. * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
  837. (OpenReader): removed internal method.
  838. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
  839. the list of returned data models.
  840. 2002-08-15 Franklin Wise <[email protected]>
  841. * System.Data/Constraint.cs: Added helper virtual functions
  842. * System.Data/ConstraintCollection.cs: Improved constraint removal,
  843. validation. Removed specific knowledge of subclasses of
  844. Constraint.
  845. * System.Data/DataColumn.cs: Added static helper function to compare
  846. if two DataColumn arrays are the same.
  847. * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
  848. * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
  849. validation to do.
  850. 2002-08-13 Franklin Wise <[email protected]>
  851. * System.Data/DataRow.cs: Added several fixme tags.
  852. 2002-08-13 Rodrigo Moya <[email protected]>
  853. * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
  854. InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
  855. to avoid compiler warnings.
  856. 2002-08-12 Franklin Wise <[email protected]>
  857. * System.Data/Constraint.cs: Implemented
  858. * System.Data/UniqueConstraint.cs: GetHashCode() &
  859. special case Ctor. Still need to be implemented. LAMESPEC tags
  860. added.
  861. * System.Data/ConstraintCollection.cs: Clear() &
  862. AddRange() need to be finished. Several LAMESPEC tags.
  863. * Allow Constraint collection to be created in DataTable.
  864. * System.Data/ForeignKeyConstraint: Added a couple of
  865. helper functions.
  866. * System.Data/DataColumnCollection New/Added DataColumns now have
  867. Table property set.
  868. 2002-08-11 Rodrigo Moya <[email protected]>
  869. * System.Data.OleDb/libgda.cs: added some GdaValue functions.
  870. * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
  871. internal method, since we don't need it.
  872. (ExecuteReader): call SetupGdaCommand before executing the command
  873. via libgda functions.
  874. (ExecuteScalar): implemented.
  875. * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
  876. to OleDbCommand.OpenReader.
  877. (GetBoolean): implemented.
  878. 2002-08-08 Franklin Wise <[email protected]>
  879. * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
  880. * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
  881. * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
  882. values.
  883. 2002-08-06 Gonzalo Paniagua Javier <[email protected]>
  884. * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
  885. and don't show a warning in Open.
  886. * System.Data.OleDb/TestOleDb.cs: added Close.
  887. 2002-08-05 Rodrigo Moya <[email protected]>
  888. * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
  889. ConnectionTimeout, ServerVersion, GdaConnection):
  890. corrected style.
  891. (OleDbConnection): call libgda.gda_init on constructor.
  892. * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
  893. which wasn't been called.
  894. * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
  895. make some tests.
  896. 2002-08-04 Rodrigo Moya <[email protected]>
  897. * list: added missing System.Data.OleDb and
  898. System.Data.Common files.
  899. * System.Data.OleDb/ChangeLog: removed and merged with
  900. System.Data's ChangeLog.
  901. * System.Data.OleDb/OleDbDataAdapter.cs:
  902. * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
  903. 2002-07-30 Rodrigo Moya <[email protected]>
  904. * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
  905. (IsClosed, Item, RecordsAffected): implemented some properties.
  906. * libgda.cs: added GdaDataModel methods.
  907. 2002-07-29 Rodrigo Moya <[email protected]>
  908. * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
  909. a second argument (ArrayList results).
  910. (NextResult): implemented.
  911. * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
  912. pass that to the OleDbDataReader.
  913. (OleDbCommand constructor): don't create the ArrayList of results.
  914. (GdaResults): removed property.
  915. (ExecuteReader): create a temporary ArrayList and pass that to the
  916. OleDbDataReader constructor.
  917. 2002-07-28 Rodrigo Moya <[email protected]>
  918. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
  919. (CreateParameter): implemented IDbCommand methods.
  920. (CommandText): don't create many GdaCommand's, only one is needed.
  921. (ExecuteNonQuery): set up the internal GDA command object.
  922. (ExecuteReader): use correctly the unique GDA command object.
  923. * System.Data.OleDb/libgda.cs: added new libgda calls.
  924. 2002-07-27 Rodrigo Moya <[email protected]>
  925. * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
  926. (BeginTransaction): implemented IDbConnection methods.
  927. 2002-07-12 Rodrigo Moya <[email protected]>
  928. * list: added System.Data.OleDb files to file list.
  929. 2002-07-11 Rodrigo Moya <[email protected]>
  930. * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
  931. * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
  932. of the set method for this property.
  933. * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
  934. (MissingSchemaAction): implemented.
  935. 2002-07-10 Tim Coleman <[email protected]>
  936. * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
  937. * System.Data.OleDb/OleDbConnection.cs: Modified constructor
  938. * System.Data.OleDb/OleDbError.cs: Added stubbs
  939. * System.Data.OleDb/OleDbException.cs: Added stubbs
  940. * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
  941. * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
  942. * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
  943. * System.Data.OleDb/OleDbPermission.cs: Added stubbs
  944. * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
  945. * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
  946. support transaction nesting
  947. * System.Data.OleDb/libgda.cs: Added my name to this file
  948. 2002-07-09 Tim Coleman <[email protected]>
  949. * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
  950. * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
  951. * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
  952. * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
  953. * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
  954. * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
  955. * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
  956. * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
  957. * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
  958. * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
  959. * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
  960. * System.Data.OleDb/OleDbType.cs: Fixed two typos
  961. * System.Data.OleDb/libgda.cs: Style changes, added new methods
  962. 2002-07-09 Tim Coleman <[email protected]>
  963. * System.Data.build: remove restriction on System.Data.OleDb build
  964. 2002-06-03 Rodrigo Moya <[email protected]>
  965. * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
  966. IsSynchronized): implemented.
  967. 2002-06-02 Rodrigo Moya <[email protected]>
  968. * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
  969. * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
  970. (Parameters, Transaction, Connection): made these overload
  971. IDbCommand's ones.
  972. * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
  973. call m_list methods, not own ones.
  974. * System.Data.OleDb/OleDbParameter.cs: more implementation.
  975. 2002-06-02 Rodrigo Moya <[email protected]>
  976. * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
  977. Commit, Rollback): implemented.
  978. (GdaConnection): added new internal property.
  979. * System.Data.OleDb/OleDbParameter.cs:
  980. * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
  981. properties.
  982. * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
  983. 2002-06-01 Rodrigo Moya <[email protected]>
  984. * System.Data.OleDb/libgda.cs: added new libgda API functions.
  985. * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
  986. (BeginTransaction): made it overload IDbConnection methods.
  987. (ChangeDatabase): new stub, needs some work on libgda for being
  988. implemented.
  989. (Clone): new stub.
  990. (Close): implemented.
  991. (CreateCommand): implemented.
  992. (GetOleDbSchemaTable): new stub, until I understand what to do here.
  993. (Open): implemented basic stuff, which is just supporting connection
  994. strings that represent a GDA data source name. More to come.
  995. (InfoMessage, StateChange): added events.
  996. * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
  997. 2002-05-29 Rodrigo Moya <[email protected]>
  998. * System.Data.OleDb/libgda.cs: added static constructor.
  999. (GdaClient): new static property to get the underlying GdaClient
  1000. object.
  1001. * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
  1002. the static 'libgda' class.
  1003. 2002-05-29 Rodrigo Moya <[email protected]>
  1004. * System.Data.OleDb/libgda.cs: static class for libgda API calls.
  1005. * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
  1006. (ConnectionString, Connectiontimeout, Database, State):
  1007. implemented class properties.
  1008. (BeginTransaction): implemented.
  1009. * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
  1010. * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
  1011. 2002-05-27 Rodrigo Moya <[email protected]>
  1012. * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
  1013. 2002-06-06 Rodrigo Moya <[email protected]>
  1014. * list: added missing PostgresTypes.cs file.
  1015. 2002-06-02 Francisco Jr. <[email protected]>
  1016. * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
  1017. methods.
  1018. 2002-05-30 Daniel Morgan <[email protected]>
  1019. * System.Data.SqlClient/SqlConnection.cs: modifed -
  1020. start to implement the interfaces properly and
  1021. properly doing a Close(), Dispose(), and
  1022. releasing resources
  1023. * Test/SqlSharpCli.cs: modified -
  1024. add support for MySQL in Mono.Data.MySql
  1025. and OleDb support in System.Data.OleDb. However,
  1026. the OleDb support is commented right now.
  1027. When the program starts up, a shorter help menu should
  1028. display the most important commands: help and quit
  1029. 2002-05-28 Rodrigo Moya <[email protected]>
  1030. * System.Data.build: exclude System.Data.OleDb files.
  1031. 2002-05-27 Daniel Morgan <[email protected]>
  1032. * System.Data.SqlClient/SqlCommand.cs: typo
  1033. should be CommandBehavior.KeyInfo
  1034. * Test/SqlSharpCli.cs: refactored and added a few more
  1035. features.
  1036. 2002-05-27 Tim Coleman <[email protected]>
  1037. * list: update to compile properly (add missing
  1038. files and switch path delimiter from '\' to '/').
  1039. 2002-05-26 Daniel Morgan <[email protected]>
  1040. * System.Data/DataRow.cs
  1041. * System.Data.Common/DbDataAdapter.cs: fix to
  1042. get Test/TestSqlDataAdapter.cs to work again
  1043. * Test/TestSqlDataAdapter.cs: removed comment
  1044. about SqlDataReader:NextResult() not being implemented; it
  1045. bas been implemented
  1046. 2002-05-26 Daniel Morgan <[email protected]>
  1047. * System.Data/DataRow.cs: modified
  1048. support setting of DBNull.Value
  1049. using the Item indexer this[DataColumn]
  1050. * System.Data.SqlClient/SqlCommand.cs: modified
  1051. tweaks to show TODO's for other CommandBehavior.
  1052. Set AllowDBNull column to true for IsKey row
  1053. in schema DataTable.
  1054. * System.Data.SqlClient/SqlConnection.cs: modified
  1055. if transaction is in progress when a Close() is called,
  1056. do a transaction Rollback.
  1057. 2002-05-26 Daniel Morgan <[email protected]>
  1058. * Test/SqlSharpCli.cs: added file
  1059. My new toy. SQL# is a command-line tool to enter
  1060. SQL commands and queries using Mono System.Data.
  1061. It also serves as a test for Mono System.Data.
  1062. * System.Data.SqlClient/SqlCommand.cs: modified
  1063. - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
  1064. should handle the results from SQL Commands and Queries.
  1065. - Internal class SqlResult should not create schema Table
  1066. for the result from a SQL Command. Also, set the RecordsRetrieved
  1067. property for SqlDataReader.
  1068. - Closing the SqlDataReader should Close() the SqlConnection for
  1069. a CommandBehavior.CloseConnection.
  1070. - Set defaults for SqlResult
  1071. * System.Data.SqlClient/SqlConnection.cs: modified -
  1072. when SqlDataReader is Close()
  1073. should Close() the SqlConnection for
  1074. a CommandBehavior.CloseConnection. Changed internal Property
  1075. from OpenReader get/set to IsReaderOpen get and created
  1076. internal methods OpenReader()/CloseReader() for SqlCommand to call.
  1077. SqlConnection needs to be prevented from doing while SqlDataReader
  1078. is being used.
  1079. * System.Data.SqlClient/SqlDataReader.cs: modified -
  1080. call SqlCommand's OpenReader() internal method. get
  1081. RecordsRetrieved from SqlResult. set/reset default
  1082. values for SqlDataReader.
  1083. * Test/PostgresTest.cs
  1084. * Test/TestExecuteScalar.cs
  1085. * Test/TestSqlDataReader.cs: modified
  1086. for the Execute...() methods in SqlCommand
  1087. to test SQL Queries and Commands
  1088. * Test/System.Data_test.build: modified
  1089. exclude new file Test/SqlSharpCli.cs from
  1090. test build
  1091. 2002-05-24 Tim Coleman <[email protected]>
  1092. * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
  1093. for get accessors. These should be implemented in derived classes. See
  1094. SqlDataAdapter for clues.
  1095. * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
  1096. * System.Data.Common/DataAdapter.cs:
  1097. * System.Data.Common/DataTableMappingCollection.cs:
  1098. * System.Data.Common/DataTableMapping.cs:
  1099. * System.Data.Common/DataColumnMappingCollection.cs:
  1100. * System.Data.Common/DataColumnMapping.cs:
  1101. Properly (I hope!) implement all of the appropriate interfaces
  1102. for these classes.
  1103. 2002-05-23 Tim Coleman <[email protected]>
  1104. * System.Data.SqlClient/SqlCommand.cs: include
  1105. the BaseColumnName in the schema table. Was missed before.
  1106. * System.Data.Common/DbDataAdapter.cs: Use DataTable
  1107. mappings so that the DataSet and DataTable are more closely tied.
  1108. Get schema information from the DataTable using GetSchemaTable ()
  1109. Various other little fixes
  1110. * System.Data.Common/DataColumnMappingCollection.cs:
  1111. * System.Data.Common/DataTableMapping.cs:
  1112. * System.Data.Common/DataTableMappingCollection.cs: Some
  1113. implementation, enough to be used by DbDataAdapter.
  1114. 2002-05-23 Daniel Morgan <[email protected]>
  1115. * System.Data.SqlClient/SqlCommand.cs: set
  1116. the "ProviderType" to the PostgreSQL type oid
  1117. * System.Data.SqlClient/SqlDataReader.cs: fix
  1118. for various properties and methods that
  1119. return meta data: Item indexers this[name] and this[index],
  1120. GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
  1121. should work again.
  1122. 2002-05-22 Daniel Morgan <[email protected]>
  1123. * System.Data/DataRow.cs: change suggested
  1124. by tim: in Item indexer, do an EndEdit()
  1125. * System.Data.SqlClient/SqlCommand.cs: more
  1126. fixes to SqlResult. After setting each item in
  1127. the DataRow, do an AcceptChanges() to commit
  1128. the changes in the DataRow. For DataType, use a Type
  1129. of System.String since System.Type nor System.Object
  1130. seems to work.
  1131. * Test/TestSqlDataReader.cs
  1132. * Test/PostgresTest.cs: updated to to be on
  1133. the way schema table is suppose to work
  1134. 2002-05-22 Daniel Morgan <[email protected]>
  1135. * System.Data.SqlClient/SqlCommand.cs: more work on
  1136. building the schema table
  1137. 2002-05-22 Tim Coleman <[email protected]>
  1138. * System.Data.SqlClient/SqlCommand.cs: preliminary work
  1139. on getting the schema table correctly built.
  1140. 2002-05-21 Daniel Morgan <[email protected]>
  1141. * System.Data.SqlClient/ParmUtil.cs: added file - to
  1142. provide utility for conversion of input parameters
  1143. * System.Data.SqlClient/PostgresTypes.cs: added file -
  1144. moved the PostgreHelper class to here. May eventually
  1145. move the internal class PostgresTypes that's inside the
  1146. SqlConnection to here as well.
  1147. Handling of PostgreSQL <-> .NET types need to be though
  1148. out more. Also, the PostgreHelper has a method to convert
  1149. from .NET types to a string which can be put into used in
  1150. an SQL statement to execute against a PostgreSQL database.
  1151. This is the beginnings of parameters support. It currently
  1152. only supports input parameters. Still need to do output,
  1153. input/output, and return parameters.
  1154. * Test/TestSqlParameters.cs: new test to test the input
  1155. parameters in System.Data.SqlClient against a
  1156. PostgreSQL db.
  1157. * System.Data.SqlClient/PostgresLibrary.cs: moved
  1158. PostgresHelper class to file PostgresTypes.cs. Also
  1159. moved struct PostgresType there too.
  1160. * System.Data.SqlClient/SqlCommand.cs: added input
  1161. parameters support
  1162. * System.Data.SqlClient/SqlParameter.cs: got
  1163. SqlParameter to work
  1164. * System.Data.SqlClient/SqlParameterCollection.cs: got
  1165. SqlParameterCollection to work
  1166. * Test/System.Data_test.build: added files to exclude
  1167. from test build
  1168. * System.Data.SqlClient/SqlConnection.cs: release resources
  1169. no longer used
  1170. 2002-05-18 Daniel Morgan <[email protected]>
  1171. * System.Xml: added directory for classes with namespace
  1172. System.Xml to go into the System.Data.dll assembly
  1173. * System.Xml/XmlDataDocument: added file
  1174. for stubbed concrete class XmlDataDocument which
  1175. inherits from XmlDocument. Its purpose is to provide
  1176. a W3C XML DOM Document for relational data and interacting
  1177. with a DataSet
  1178. 2002-05-18 Daniel Morgan <[email protected]>
  1179. * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
  1180. Text, TableDirect, and StoredProcedure
  1181. * Test/PostgresTest.cs: changed call to version()
  1182. stored procedure to use the CommandType of StoredProcedure
  1183. * Test/TestSqlDataReader.cs: test all the CommandTypes
  1184. 2002-05-18 Daniel Morgan <[email protected]>
  1185. * System.Data.build: took out all excluded
  1186. files except the ones in the Test directory
  1187. because all files compile now. It does not
  1188. mean they all work or have implementations
  1189. though.
  1190. * System.Data/DataRelationCollection.cs
  1191. * System.Data/DataTableRelationCollection.cs
  1192. * System.Data/InternalDataCollectionBase.cs
  1193. * System.Data.Common/DbDataPermission.cs
  1194. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
  1195. * System.Data.SqlClient/SqlClientPermission.cs
  1196. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
  1197. to get all System.Data* files to compile.
  1198. * System.Data.SqlClient/SqlCommand.cs: started coding
  1199. to prevent SqlConnection and SqlCommand from doing
  1200. anyting while fetching data using SqlDataReader. Also,
  1201. started coding to undo this prevention once the
  1202. SqlDataReader is closed.
  1203. * System.Data.SqlClient/SqlConnection.cs: get database server
  1204. version. Started coding to prevent connection from
  1205. doing anything while fetching data and undo once the reader
  1206. is closed. Include events SqlInfoMessage and StateChange.
  1207. * System.Data.SqlClient/SqlDataReader.cs: start coding to
  1208. prevent connection and command from doing anything while
  1209. fetching data, and undo when closed.
  1210. * Test/PostgresTest.cs: added test to get ServerVersion
  1211. property from SqlConnection
  1212. 2002-05-18 Tim Coleman <[email protected]>
  1213. * System.Data/DataRow.cs: More implementation,
  1214. as well as boundary checks and small semantic
  1215. repairs
  1216. 2002-05-18 Tim Coleman <[email protected]>
  1217. * System.Data/DataRow.cs: Try to reduce memory
  1218. usage by only creating the original and proposed
  1219. arrays as required in BeginEdit, and then destroying
  1220. proposed during EndEdit, and original during AcceptChanges.
  1221. * System.Data.Common/DbDataAdapter.cs: Make the
  1222. startRecord and maxRecords parameters work correctly.
  1223. 2002-05-18 Tim Coleman <[email protected]>
  1224. * System.Data/DataRow.cs: Move the null check in
  1225. ItemArray set to above the Invalid Cast check, so
  1226. that we don't get null reference exceptions.
  1227. 2002-05-17 Daniel Morgan <[email protected]>
  1228. * System.Data.SqlClient/PostgresLibrary.cs: handle
  1229. data value from database being NULL
  1230. * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
  1231. allow multiple result sets. Added new internal class
  1232. SqlResult to pass result set data from SqlCommand
  1233. to SqlDataReader.
  1234. * System.Data.SqlClient/SqlDataReader.cs: allow
  1235. multiple result sets.
  1236. * System.Data.SqlClient/SqlConnection.cs: moved
  1237. things around. Implement IDisposable.
  1238. * Test/TestSqlDataReader.cs: test for execution
  1239. of multiple result sets and display the results
  1240. of these multiple results sets
  1241. * Test/TestSqlDataAdapter.cs: tweaks
  1242. 2002-05-17 Tim Coleman <[email protected]>
  1243. * System.Data.Common/DbDataAdapter.cs:
  1244. - More implementation of Fill methods
  1245. - Get rid of isDirty flag, because we can just check
  1246. if the table exists
  1247. - Do *not* remove DataTables before Filling them
  1248. - Implicitly open the connection before doing a Fill
  1249. if it does not exist.
  1250. * System.Data.SqlClient/SqlDataAdapter.cs:
  1251. - Minor fixup
  1252. * System.Data/DataTableCollection.cs:
  1253. - Add DataSet to internal, undocumented constructor
  1254. - When a table is created, set its DataSet property
  1255. - Default table name for creation is "Table1" (see .NET)
  1256. - Inherit the ArrayList list from InternalDataCollecitonBase
  1257. and maintain a hashtable between table names and
  1258. DataTables
  1259. * System.Data/DataTable.cs:
  1260. - Add internal dataSet field. This is used by
  1261. DataTableCollection when the DataTable is constructed.
  1262. * System.Data/DataSet.cs:
  1263. - Pass a reference to the DataSet when constructing the
  1264. DataTableCollection.
  1265. 2002-05-16 Tim Coleman <[email protected]>
  1266. * System.Data.Common/DbDataAdapter.cs:
  1267. Use table.Rows.Add (itemArray) instead of
  1268. table.Rows.Add (thisRow) to provide better
  1269. abstraction.
  1270. * System.Data/DataRowCollection.cs:
  1271. Some implementation of this class.
  1272. * System.Data/InternalDataCollectionBase.cs:
  1273. Some implementation. Most notably, this now
  1274. has an enumerator so we can use foreach (DataRow row in table.Rows)
  1275. in the test classes.
  1276. * System.Data/DataTable.cs:
  1277. Since DataRowCollection now accepts a DataTable in
  1278. its internal constructor, we must pass one in.
  1279. 2002-05-16 Daniel Morgan <[email protected]>
  1280. * Test/TestSqlDataAdapter.cs: added new test
  1281. for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
  1282. DataRowCollection, and DataRow. It tests retrieving data
  1283. based on a SQL SELECT query. This test is based on Tim Coleman's
  1284. test he sent to me.
  1285. 2002-05-16 Tim Coleman <[email protected]>
  1286. * System.Data.Common/DbDataAdapter.cs:
  1287. Use table.Rows.Add (thisRow) instead of
  1288. table.ImportRow (thisRow)
  1289. * System.Data/DataRowCollection.cs:
  1290. Construct the ArrayList before using it
  1291. 2002-05-16 Tim Coleman <[email protected]>
  1292. * System.Data/DataTable.cs:
  1293. Construct the DataRowCollection in the DataTable
  1294. constructor. Otherwise, it's a null reference.
  1295. 2002-05-16 Tim Coleman <[email protected]>
  1296. * System.Data.SqlClient/SqlDataReader.cs:
  1297. Modify GetValues to use Array.Copy() to copy
  1298. the results from fields to values, rather than
  1299. an assignment, which results in loss of data.
  1300. 2002-05-16 Tim Coleman <[email protected]>
  1301. * System.Data/DataRow.cs:
  1302. More implementation and documentation. It should
  1303. work more like expected, although there is no way
  1304. to demonstrate this well yet. DataTable requires
  1305. more work.
  1306. 2002-05-15 Tim Coleman <[email protected]>
  1307. * System.Data/DataRow.cs:
  1308. Minor tweaks as I determine exactly how to
  1309. implement this class.
  1310. 2002-05-14 Duncan Mak <[email protected]>
  1311. * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
  1312. 2002-05-14 Tim Coleman
  1313. * System.Data/DataRow.cs:
  1314. * System.Data/DataRowBuilder.cs:
  1315. * System.Data/DataTable.cs:
  1316. More implementation of these classes. DataRow
  1317. can now (possibly) do some useful things.
  1318. Still not sure what DataRowBuilder is all about,
  1319. other than passing a DataTable in.
  1320. 2002-05-14 Tim Coleman
  1321. * System.Data/DataRowBuilder.cs:
  1322. Add stubb for this internal class.
  1323. 2002-05-13 Tim Coleman
  1324. * System.Data.Common/DbDataAdapter.cs:
  1325. The maxRecords check was not correct.
  1326. 2002-05-13 Tim Coleman
  1327. * System.Data/DataTableCollection.cs:
  1328. Fix an issue when adding a DataTable and size == 0.
  1329. Now explicitly checks if size > 0 before doing Array.Copy ()
  1330. * System.Data.Common/DbDataAdapter.cs:
  1331. Move closer to a working implementation.
  1332. Make the IDbCommand fields protected so that they can
  1333. be inherited.
  1334. * System.Data.SqlClient/SqlDataAdapter.cs:
  1335. This should inherit the IDbCommands instead of having its
  1336. own. An explicit cast is used to force conversion between
  1337. IDbCommand and SqlCommand
  1338. 2002-05-13 Tim Coleman
  1339. * System.Data.Common/DataTableMappingCollection.cs:
  1340. Some implementation to allow progress with DbDataAdapter
  1341. 2002-05-13 Tim Coleman
  1342. * System.Data.Common/DbDataAdapter.cs:
  1343. Modify to not break compile.
  1344. 2002-05-13 Tim Coleman
  1345. * System.Data.build:
  1346. include SqlDataAdapter, SqlRowUpdatedEventArgs,
  1347. SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
  1348. SqlRowUpdatingEventHandler in the build.
  1349. 2002-05-13 Tim Coleman
  1350. * System.Data.Common/DbDataAdapter.cs:
  1351. More implementation.
  1352. * System.Data.Common/DataAdapter.cs:
  1353. Correction of some of the stubbing, as well as a
  1354. little bit more implementation
  1355. 2002-05-11 Tim Coleman
  1356. * System.Data.SqlClient/SqlDataAdapter.cs:
  1357. * System.Data.Common/DbDataAdapter.cs:
  1358. Moved methods that weren't supposed to
  1359. be in SqlDataAdapter out. They should be implemented
  1360. in DbDataAdapter.
  1361. 2002-05-11 Tim Coleman
  1362. * System.Data.SqlClient/SqlDataAdapter.cs:
  1363. some implementation of this class. Note
  1364. that none of the functionality has been
  1365. tested yet, but I felt it should be checked
  1366. in at this point as it compiles.
  1367. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  1368. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  1369. Modified so that they will compile properly.
  1370. Needed to include SqlDataAdapter in the build.
  1371. 2002-05-11 Rodrigo Moya <[email protected]>
  1372. * System.Data/DataTable.cs (Clear): implemented.
  1373. (DataTable): removed repeated code in constructors, and call the
  1374. basic constructor from the others.
  1375. * System.Data/DataColumn.cs: some tweaks.
  1376. * System.Data/DataRow.cs (RowState): implemented.
  1377. (CancelEdit): set rowState property back to Unchanged.
  1378. (RejectChanges): call CancelEdit.
  1379. (Delete): set rowState to Deleted.
  1380. 2002-05-11 Daniel Morgan <[email protected]>
  1381. * System.Data.build: added copy of System.Data.dll to Test directory
  1382. for easy testing. Also, added clean for it too.
  1383. * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
  1384. from PostgreSQL data type to .NET type.
  1385. * System.Data.SqlClient/SqlDataReader.cs: beginnings
  1386. handling of a NULL value from the database
  1387. * Test/PostgresTest.cs: added tests for NULL values retrieved
  1388. from the database
  1389. * Test/ReadPostgresData.cs
  1390. * Test/TestExecuteScalar.cs
  1391. * Test/TestSqlDataReader.cs
  1392. * Test/TestSqlException.cs
  1393. * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
  1394. "postgres". These tests may eventually be removed since they
  1395. are not flexible.
  1396. 2002-05-10 Rodrigo Moya <[email protected]>
  1397. * System.Data.build: removed reference to non-existant
  1398. TestDataColumn.cs file.
  1399. * System.Data/DataSet.cs: added some implementation.
  1400. 2002-05-09 Daniel Morgan <[email protected]>
  1401. * System.Data.SqlClient/PostgresLibrary.cs: got
  1402. PostgreSQL data types time, date, timestamp (DateTime like)
  1403. mapped to .NET System.DateTime working based
  1404. on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
  1405. Also mapped pg type boolean to .net Boolean
  1406. * SqlClient/SqlConnection.cs: run SQL command to set
  1407. Date style to ISO
  1408. * Test/PostgresTest.cs: added test for an UPDATE SQL command,
  1409. added tests for aggregates min(), max(), sum(), count(). could
  1410. not get avg() to work due to some formatting error; someone claimed
  1411. that it was my locale settings. added tests for SELECT of columns
  1412. of type boolean, float, double, date, time, and timestamp. They
  1413. have not been fully tested, but its a start.
  1414. 2002-05-09 Tim Coleman <[email protected]>
  1415. * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
  1416. addition, subtraction, and multiplication for the
  1417. SqlDecimal type, as well as modification of some other
  1418. operations. More to come on this one.
  1419. 2002-05-08 Rodrigo Moya <[email protected]>
  1420. * Test/System.Data_test.build: excluded TestDataColumn, which
  1421. should be replaced with a nunit test.
  1422. * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
  1423. 2002-05-07 Tim Coleman <[email protected]>
  1424. * SqlBinary.cs:
  1425. * SqlBoolean.cs:
  1426. * SqlByte.cs:
  1427. * SqlDateTime.cs:
  1428. * SqlDecimal.cs:
  1429. * SqlDouble.cs:
  1430. * SqlGuid.cs:
  1431. * SqlInt16.cs:
  1432. * SqlInt32.cs:
  1433. * SqlInt64.cs:
  1434. * SqlMoney.cs:
  1435. * SqlSingle.cs:
  1436. * SqlString.cs:
  1437. Fix the broken build I made before. Bad
  1438. me.
  1439. 2002-05-07 Tim Coleman <[email protected]>
  1440. * SqlString.cs:
  1441. Fix a symantic error I made in SqlString
  1442. Equals where I copied and pasted wrongly
  1443. 2002-05-07 Tim Coleman <[email protected]>
  1444. * INullable.cs:
  1445. * SqlBinary.cs:
  1446. * SqlBoolean.cs:
  1447. * SqlByte.cs:
  1448. * SqlCompareOptions.cs:
  1449. * SqlDateTime.cs:
  1450. * SqlDecimal.cs:
  1451. * SqlDouble.cs:
  1452. * SqlGuid.cs:
  1453. * SqlInt16.cs:
  1454. * SqlInt32.cs:
  1455. * SqlInt64.cs:
  1456. * SqlMoney.cs:
  1457. * SqlSingle.cs:
  1458. * SqlString.cs:
  1459. Implement CompareTo, Equals, and String conversions
  1460. for many types
  1461. 2002-05-05 Daniel Morgan <[email protected]>
  1462. * Test/PostgresTest.cs: modified to run completely. There
  1463. are many TODOs in System.Data, so not all data types are
  1464. included in the SELECT SQL query. Also, I made it to where
  1465. it would connect
  1466. using "host=localhost;dbname=test;user=postgres"
  1467. instead of my userid and password. When more types are included,
  1468. update this test.
  1469. 2002-05-05 Daniel Morgan <[email protected]>
  1470. * Test/PostgresTest.cs: added - ported
  1471. libgda postgres-test.c originally by
  1472. Gonzalo Paniagua Javier <[email protected]>
  1473. to C#.
  1474. 2002-05-05 Tim Coleman <[email protected]>
  1475. * System.Data.SqlTypes/SqlBinary.cs:
  1476. * System.Data.SqlTypes/SqlBoolean.cs:
  1477. * System.Data.SqlTypes/SqlByte.cs:
  1478. * System.Data.SqlTypes/SqlDateTime.cs:
  1479. * System.Data.SqlTypes/SqlDecimal.cs:
  1480. * System.Data.SqlTypes/SqlDouble.cs:
  1481. * System.Data.SqlTypes/SqlGuid.cs:
  1482. * System.Data.SqlTypes/SqlInt16.cs:
  1483. * System.Data.SqlTypes/SqlInt32.cs:
  1484. * System.Data.SqlTypes/SqlInt64.cs:
  1485. * System.Data.SqlTypes/SqlMoney.cs:
  1486. * System.Data.SqlTypes/SqlSingle.cs:
  1487. * System.Data.SqlTypes/SqlString.cs:
  1488. More implementation, and code clean-up for consistency.
  1489. Also, I had implemented many conversions as explicit
  1490. that should have been implicit. This should remove
  1491. many of the red X's and green pluses from the
  1492. System.Data.SqlTypes namespace.
  1493. 2002-05-05 Miguel de Icaza <[email protected]>
  1494. * System.Data/DataSet.cs: Remove [Serializable] attributes from
  1495. methods, those only apply to structs or classes.
  1496. Stub out ISerializable, ISupportInitialize, and IListSource methods
  1497. * System.Data/DataRowView.cs: Stub out interface methods for
  1498. IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
  1499. * System.Data/DataView.cs: Comment out non-implemented
  1500. interfaces.
  1501. * System.Data/DataViewSettingsCollection.cs: Type cast variables
  1502. to the correct type to make it compile.
  1503. * System.Data/DataViewSettings.cs: remove reference to
  1504. non-existance type ApplyDefaultSort, it is a boolean.
  1505. 2002-05-05 Tim Coleman <[email protected]>
  1506. * System.Data.SqlTypes/SqlBinary.cs:
  1507. * System.Data.SqlTypes/SqlBoolean.cs:
  1508. * System.Data.SqlTypes/SqlByte.cs:
  1509. * System.Data.SqlTypes/SqlDecimal.cs:
  1510. * System.Data.SqlTypes/SqlDouble.cs:
  1511. * System.Data.SqlTypes/SqlGuid.cs:
  1512. * System.Data.SqlTypes/SqlInt16.cs:
  1513. * System.Data.SqlTypes/SqlInt32.cs:
  1514. * System.Data.SqlTypes/SqlInt64.cs:
  1515. * System.Data.SqlTypes/SqlMoney.cs:
  1516. * System.Data.SqlTypes/SqlSingle.cs:
  1517. * System.Data.SqlTypes/SqlString.cs:
  1518. Various fixes, including adding the SqlNullValueException
  1519. when trying to retrieve the value of a null SqlType,
  1520. and when casting values, a Null of type A converts to a
  1521. Null of type B.
  1522. 2002-05-04 Daniel Morgan <[email protected]>
  1523. * System.Data.SqlClient/PostgresLibrary.cs
  1524. * System.Data.SqlClient/SqlCommand.cs
  1525. * System.Data.SqlClient/SqlConnection.cs
  1526. * System.Data.SqlClient/SqlDataReader.cs
  1527. oid should not be hard coded because they
  1528. can change from one version of PostgreSQL
  1529. to the next. Use the typname's instead.
  1530. The PostgreSQL type data retrieves
  1531. at database connection time. Any unimplemented
  1532. types just default to string. These were things
  1533. suggested by Gonzalo.
  1534. * Test/ReadPostgresData.cs - stuff
  1535. * Test/TestSqlDataReader.cs - stuff
  1536. * System.Data.SqlTypes/SqlInt32.cs - added a using
  1537. 2002-05-03 Tim Coleman <[email protected]>
  1538. * System.Data.build: Fix the build so that test depends on build
  1539. 2002-05-03 Tim Coleman <[email protected]>
  1540. * System.Data.SqlTypes/SqlByte.cs:
  1541. * System.Data.SqlTypes/SqlDateTime.cs:
  1542. * System.Data.SqlTypes/SqlDecimal.cs:
  1543. * System.Data.SqlTypes/SqlDouble.cs:
  1544. * System.Data.SqlTypes/SqlGuid.cs:
  1545. * System.Data.SqlTypes/SqlInt16.cs:
  1546. * System.Data.SqlTypes/SqlInt64.cs:
  1547. * System.Data.SqlTypes/SqlMoney.cs:
  1548. * System.Data.SqlTypes/SqlSingle.cs:
  1549. These files were mysteriously excluded from the last
  1550. patch I made and sent to Rodrigo
  1551. * System.Data.build: include the System.Data.SqlTypes in the build
  1552. 2002-05-03 Daniel Morgan <[email protected]>
  1553. * System.Data.build: removed comments
  1554. * System.Data.SqlClient/PostgresLibrary.cs: changed
  1555. the hard-coded PostgreSQL oid type int's to using an
  1556. enum. Also, added PostgreSQL bpchar (character) type.
  1557. * Test/TestSqlDataReader.cs: updated test
  1558. to include new bpchar PostgreSQL type
  1559. 2002-05-03 Rodrigo Moya <[email protected]>
  1560. * System.Data.SqlTypes/SqlBinary.cs:
  1561. * System.Data.SqlTypes/SqlBoolean.cs:
  1562. * System.Data.SqlTypes/SqlInt32.cs:
  1563. * System.Data.SqlTypes/SqlString.cs: more implementation, by
  1564. Tim Coleman <[email protected]>.
  1565. 2002-05-03 Daniel Morgan <[email protected]>
  1566. * Test/TestExecuteScalar.cs: added test for
  1567. method ExecuteScalar in class SqlCommand.
  1568. * System.Data/DataColumnCollection.cs - it should
  1569. inherit properties from base InternalDataCollectionBase
  1570. and use them instead of overriding them, such as, List.
  1571. * System.Data/DataColumn.cs
  1572. * System.Data/DataTable.cs: tweaks to retrieve
  1573. meta data from the database
  1574. * System.Data.SqlClient/PostgresLibrary.cs -
  1575. added method OidToType to convert PostgreSQL oid type
  1576. to System.Type. Renamed method OidTypeToSystem
  1577. to ConvertPgTypeToSystem for converting the data value
  1578. from a PostgreSQL type to a .NET System type.
  1579. * System.Data.SqlClient/SqlCommand.cs: implemented
  1580. method ExecuteReader which returns a SqlDataReader
  1581. for a light forward only read only result set.
  1582. It works on types int4 ==> Int32 and
  1583. varchar ==> String. Other types
  1584. will come later.
  1585. * System.Data.SqlClient/SqlConnection.cs: added comment
  1586. * System.Data.SqlClient/SqlDataReader.cs: implemented
  1587. class. It works, but still lots to do.
  1588. * Test/ReadPostgresData.cs: stuff
  1589. * Test/TestSqlDataReader.cs: updated test for SqlDataReader
  1590. to display meta data and the data
  1591. 2002-05-03 Duncan Mak <[email protected]>
  1592. * TODO: Took out all the Exceptions. They should be all done now.
  1593. * System.Data/ConstraintException.cs:
  1594. * System.Data/DBConcurrencyException.cs:
  1595. * System.Data/DataException.cs:
  1596. * System.Data/DeletedRowInaccessibleException.cs:
  1597. * System.Data/DuplicateNameException.cs:
  1598. * System.Data/EvaluateException.cs:
  1599. * System.Data/InRowChangingEventException.cs:
  1600. * System.Data/InvalidConstraintException.cs:
  1601. * System.Data/InvalidExpressionException.cs:
  1602. * System.Data/MissingPrimaryKeyException.cs:
  1603. * System.Data/NoNullAllowedException.cs:
  1604. * System.Data/ReadOnlyException.cs:
  1605. * System.Data/RowNotInTableException.cs:
  1606. * System.Data/StrongTypingException.cs:
  1607. * System.Data/SyntaxErrorException.cs:
  1608. * System.Data/TypeDataSetGeneratorException.cs:
  1609. * System.Data/VersionNotFoundException.cs: Added to CVS.
  1610. * System.Data.SqlTypes/SqlNullValueException.cs:
  1611. * System.Data.SqlTypes/SqlTruncateException.cs:
  1612. * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
  1613. 2002-05-02 Rodrigo Moya <[email protected]>
  1614. * System.Data/DataViewSettingCollection.cs: implemented.
  1615. * System.Data/DataRowView.cs: new stubs.
  1616. * System.Data.SqlTypes/SqlByte.cs:
  1617. * System.Data.SqlTypes/SqlDateTime.cs:
  1618. * System.Data.SqlTypes/SqlDecimal.cs:
  1619. * System.Data.SqlTypes/SqlDouble.cs:
  1620. * System.Data.SqlTypes/SqlGuid.cs:
  1621. * System.Data.SqlTypes/SqlInt16.cs:
  1622. * System.Data.SqlTypes/SqlInt64.cs:
  1623. * System.Data.SqlTypes/SqlMoney.cs:
  1624. * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
  1625. by Tim Coleman <[email protected]>
  1626. * System.Data.build: excluded newly-added files.
  1627. 2002-05-02 Daniel Morgan <[email protected]>
  1628. * System.Data.SqlClient/PostgresLibrary.cs: included new
  1629. internal class that will be a helper class in using
  1630. PostgreSQL. PostgresLibrary is used for the
  1631. pinvoke methods to the PostgreSQL Client
  1632. native C library libpq while the class PostgresHelper
  1633. is used for wrapper or helper methods. It currently only
  1634. has one static method OidTypeToSystem in converting
  1635. PostgreSQL types to .NET System.<type>s, such as,
  1636. a PostgreSQL int8 becomes a .NET System.Int64.
  1637. Only a few types have been added, such as, int2,
  1638. int4, int8, varchar, text, bool, and char. Other types
  1639. will come later.
  1640. * System.Data.SqlClient/SqlCommand.cs: implemented
  1641. method ExecuteScalar which allows us to do aggregate
  1642. functions, such as, count, avg, min, max, and sum. We
  1643. also are able to retrieve the result, convert it to the .NET type
  1644. as an object. The user of the returned object must explicitly cast.
  1645. * Test/ReadPostgresData.cs: updated sample
  1646. to help us learn to retrieve data in System.Data.SqlClient
  1647. classes
  1648. 2002-05-01 Daniel Morgan <[email protected]>
  1649. * System.Data.build: added /nowarn: nnnn arguments
  1650. so you will not get a ton of warnings. The warnings
  1651. being excluded are: 1595, 0067, 0109, 0169, and 0649
  1652. 2002-05-01 Daniel Morgan <[email protected]>
  1653. * System.Data.build: modified to exclude more
  1654. files from the build
  1655. 2002-05-01 Rodrigo Moya <[email protected]>
  1656. * System.Data.SqlClient/SqlClientPermission.cs: added missing
  1657. 'using's.
  1658. * System.Data/MergeFailedEventArgs.cs: new class, contributed
  1659. by John Dugaw <[email protected]>.
  1660. * System.Data.build: excluded new files from build.
  1661. 2002-04-29 Daniel Morgan <[email protected]>
  1662. * Test/ReadPostgresData.cs: added - Uses the
  1663. PostgresLibrary to retrieve a recordset.
  1664. This is not meant to be used in Production, but as a
  1665. learning aid in coding
  1666. class System.Data.SqlClient.SqlDataReader.
  1667. This sample does work.
  1668. * Test/TestSqlDataReader.cs: added - used
  1669. to test SqlDataReader (does not work yet)
  1670. Forgot to add to ChangeLog on last commit.
  1671. 2002-04-28 Rodrigo Moya <[email protected]>
  1672. * System.Data/DataViewSetting.cs: new class.
  1673. 2002-04-28 Rodrigo Moya <[email protected]>
  1674. * System.Data/DataViewManager.cs: new class.
  1675. * System.Data.SqlTypes/INullable.cs: properties for interfaces
  1676. don't have implementation.
  1677. * System.Data.SqlTypes/SqlInt32.cs:
  1678. * System.Data.SqlTypes/SqlString.cs:
  1679. * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
  1680. these are strctures.
  1681. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
  1682. missing 'using's.
  1683. 2002-04-28 Rodrigo Moya <[email protected]>
  1684. * System.Data/DataTableRelationCollection.cs: use 'new' keyword
  1685. for correctly hiding parent class' members.
  1686. (AddRange): use 'override' keyword on overriden method.
  1687. (Clear): likewise.
  1688. (Contains): likewise.
  1689. (IndexOf): likewise.
  1690. (OnCollectionChanged): likewise.
  1691. (OnCollectionChanging): likewise.
  1692. (RemoveCore): likewise.
  1693. * System.Data/DataColumnCollection.cs: use 'new' keyword.
  1694. * System.Data/DataSet.cs: added missing 'using's.
  1695. 2002-04-28 Rodrigo Moya <[email protected]>
  1696. * System.Data/DataSet.cs:
  1697. * System.Data/DataTableCollection.cs:
  1698. * System.Data/DataView.cs: compilation fixes on Linux.
  1699. 2002-04-28 Daniel Morgan <[email protected]>
  1700. * System.Data/DataRelation.cs
  1701. * System.Data/ForeignKeyConstraint.cs
  1702. * System.Data/UniqueConstraint.cs: added more stubs
  1703. * System.Data/DataTableRelationCollection.cs: added back to cvs
  1704. and modified for compile errors. DataRelationCollection is an
  1705. abstract class and there must be a class that implements for
  1706. DataTable/DataSet. DataTableRelationCollection was changed
  1707. to an internal class.
  1708. * System.Data.build: modified - new files added
  1709. also wanted to include files/classes in the build
  1710. so we can get a compilable forward read only result set.
  1711. It compiles now using csc/nant with warnings, but this
  1712. is a start for adding functionality for the result set.
  1713. Classes associated with/and DataSet are still excluded.
  1714. * TODO: modified - updated to do list for System.Data
  1715. * System.Data/Constraint.cs
  1716. * System.Data/ConstraintCollection.cs
  1717. * System.Data/DataRelationCollection.cs
  1718. * System.Data/DataRow.cs
  1719. * System.Data/DataRowChangeEventArgs.cs
  1720. * System.Data/DataRowCollection.cs
  1721. * System.Data/DataTable.cs
  1722. * System.Data/DataTableCollection.cs
  1723. * System.Data/InternalDataCollectionBase.cs
  1724. * System.Data/PropertyCollection.cs: modified -
  1725. changes to compile SqlDataReader/DataTable and
  1726. dependencies
  1727. * System.Data/IDbCommand.cs
  1728. * System.Data.SqlClient/SqlCommand.cs: modified -
  1729. un-commented overloaded methods ExecuteReader
  1730. which returns a SqlDataReader
  1731. 2002-04-28 Rodrigo Moya <[email protected]>
  1732. * System.Data/DataTableCollection.cs: more implementation.
  1733. (Count): added 'override' keyword, as pointer out by Martin.
  1734. * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
  1735. only call Array.Copy when there is really stuff to be copied.
  1736. (CopyTo): don't create the temporary array, it's not needed.
  1737. * System.Data.build: excluded newly added file from build.
  1738. 2002-04-27 Rodrigo Moya <[email protected]>
  1739. * System.Data/DataTableRelationCollection.cs: removed, it's not
  1740. on MS SDK documentation.
  1741. * System.Data/DataTableCollection.cs: new class.
  1742. 2002-04-27 Daniel Morgan <[email protected]>
  1743. * System.Data/DataRowChangeEventArgs.cs
  1744. * System.Data/DataRowCollection.cs
  1745. * System.Data/DataView.cs
  1746. * System.Data/PropertyCollection.cs: added new stubs
  1747. * System.Data.build: modified - added new files to exclude
  1748. from build
  1749. * TODO: modified - removed files from TODO list
  1750. that were stubbed above
  1751. * System.Data/DataColumn.cs
  1752. * System.Data/DataRow.cs: modified - various tweaks
  1753. and added internal method SetTable to set the reference
  1754. to a DataTable
  1755. * System.Data/DataSet.cs: modified - class was not
  1756. completely stubbed.
  1757. * System.Data/DataTable.cs: modified - temporarily commented
  1758. DataSet and DataView references - trying to compile a SqlDataReader,
  1759. DataTable, and dependencies for a forward read-only result set.
  1760. SqlDataAdapter, DataSet, and DataView will come later once we can get
  1761. a forward read only result set working.
  1762. * System.Data/IDataRecord.cs: modified - source code lines should
  1763. not be > 80
  1764. * System.Data/InternalDataCollectionBase.cs: modified - started
  1765. implementing this base class for collection of data rows,
  1766. columns, tables, relations, and constraints
  1767. * System.Data.SqlClient/SqlException.cs: modified -
  1768. call base(message) so a unhandled exception displays
  1769. the message of a SQL error instead of the
  1770. default SystemException message
  1771. * Test/TestSqlException.cs: modified -
  1772. handle the rollback properly for a SqlException on a
  1773. failure to connect
  1774. 2002-04-23 Daniel Morgan <[email protected]>
  1775. * System.Data.build: modified - added new
  1776. files to exclude from build
  1777. * System.Data/Constraint.cs
  1778. * System.Data/ConstraintCollection.cs
  1779. * System.Data/InternalDataCollectionBase.cs: added -
  1780. stubs which are needed to build DataTable.cs
  1781. * TODO: modified - added more classes TODO and
  1782. added more stuff TODO, such as, create script
  1783. to create test database monotestdb for testing
  1784. classes in System.Data
  1785. 2002-04-23 Rodrigo Moya <[email protected]>
  1786. * System.Data.Common/DataAdapter.cs:
  1787. * System.Data.Common/DataColumnMappingCollection.cs:
  1788. * System.Data.Common/DataTableMappingCollection.cs:
  1789. * System.Data.Common/DbDataPermission.cs:
  1790. * System.Data.Common/DbDataPermissionAttribute.cs: some
  1791. compilation errors fixed.
  1792. 2002-04-23 Daniel Morgan <[email protected]>
  1793. * TODO: modified - added classes TODO, and
  1794. a poor attempt at System.Data plan
  1795. 2002-04-23 Daniel Morgan <[email protected]>
  1796. * ChangeLog: modified - put tabs where they belong
  1797. * System.Data.SqlClient/SqlDataReader.cs
  1798. * System.Data/DataColumn.cs: modified - compile errors
  1799. trying to compile SqlDataAdapter and dependencies
  1800. 2002-04-23 Daniel Morgan <[email protected]>
  1801. * System.Data.SqlTypes/SqlBoolean.cs
  1802. * System.Data.SqlTypes/SqlCompareOptions.cs
  1803. * System.Data.SqlTypes/SqlInt32.cs
  1804. * System.Data.SqlTypes/SqlString.cs: added - new stubs
  1805. * System.Data/DataTable.cs
  1806. * System.Data.SqlClient/SqlCommand.cs
  1807. * System.Data.SqlClient/SqlConnection.cs
  1808. * System.Data.SqlClient/SqlError.cs
  1809. * System.Data.SqlClient/SqlTransaction.cs: modified -
  1810. misc. tweaks
  1811. * System.Data.SqlClient/SqlException.cs: modified -
  1812. missing Message on indexer for Message property
  1813. 2002-04-21 Daniel Morgan <[email protected]>
  1814. * System.Data.SqlClient/SqlCommand.cs: modified - to
  1815. compile using mcs. This problem is
  1816. returning a stronger type in csc vs. msc
  1817. * System.Data.SqlClient/SqlConnection.cs: modified - msc
  1818. can not do a using PGconn = IntPtr; and then declare
  1819. with PGconn pgConn = IntPtr.Zero;
  1820. Thiw works under csc though. Had to comment using and
  1821. changed declaration to IntPtr pgConn = IntPtr.Zero;
  1822. Also, got rid of compile warnings for hostaddr and port.
  1823. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
  1824. rid of compile warnings. Commented MonoTODO attribute because mcs
  1825. doesn't seem to work with C# array property indexer (Item)
  1826. this[int index]
  1827. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1828. commented MonoTODO attribute for indexer for mcs compiling
  1829. * Test/TestSqlIsolationLevel.cs:
  1830. * Test/TestSqlInsert.cs:
  1831. * Test/TestSqlException.cs: modified -
  1832. removed extra ExecuteNonQuery which caused two inserted rows
  1833. 2002-04-20 Daniel Morgan <[email protected]>
  1834. * System.Data/StateChangeEventArgs.cs - added
  1835. needed to compile System.Data.dll with mcs.
  1836. 2002-04-20 Daniel Morgan <[email protected]>
  1837. * System.Data.OleDb: added directory - for OleDb database
  1838. provider classes
  1839. * System.Data.SqlClient/SqlClientPermission.cs
  1840. * System.Data.SqlClient/SqlClientPermissionAttribute.cs
  1841. * System.Data.SqlClient/SqlCommandBuilder.cs
  1842. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
  1843. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
  1844. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
  1845. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
  1846. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
  1847. * Test/TestSqlException.cs
  1848. * Test/TestSqlIsolationLevel.cs: added - more tests
  1849. * System.Data.build: modified - added new files - excludes these too
  1850. * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
  1851. * System.Data.SqlClient/SqlConnection.cs
  1852. * System.Data.SqlClient/SqlCommand.cs
  1853. * System.Data.SqlClient/SqlTransaction.cs
  1854. * System.Data.SqlClient/SqlException.cs
  1855. * System.Data.SqlClient/SqlErrorCollection.cs
  1856. * System.Data.SqlClient/SqlError.cs: modified - transaction and
  1857. exception/error handling. SqlConnection(connectionString)
  1858. constructor should not automatically connect.
  1859. * System.Data.SqlClient/SqlDataReader.cs
  1860. * System.Data.SqlClient/SqlDataAdapter.cs
  1861. * System.Data.SqlClient/SqlParameter.cs
  1862. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1863. added using System.ComponentModel;
  1864. * Test/TestSqlInsert.cs: modified - to use transaction
  1865. 2002-04-17 Rodrigo Moya <[email protected]>
  1866. * System.Data/DataRow.cs: new skeletons.
  1867. * System.Data.Common/DataAdapter.cs:
  1868. * System.Data.Common/DataColumnMapping.cs:
  1869. * System.Data.Common/DataColumnMappingCollection.cs:
  1870. * System.Data.Common/DataTableMapping.cs:
  1871. * System.Data.Common/DataTableMappingCollection.cs:
  1872. * System.Data.Common/DbDataAdapter.cs:
  1873. * System.Data.Common/RowUpdatedEventArgs.cs:
  1874. * System.Data.SqlClient/SqlDataAdapter.cs:
  1875. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
  1876. fixes for Linux.
  1877. * System.Data.Common/DbDataRecord.cs:
  1878. * System.Data.Common/DbEnumerator.cs: removed MS implementation
  1879. internal classes.
  1880. 2002-04-17 Daniel Morgan <[email protected]>
  1881. * Test/TestSqlInsert.cs: modified - do
  1882. a SQL DELETE before SQL INSERT of row so you can use this
  1883. test over and over.
  1884. * System.Data.SqlClient/SqlTransaction.cs: modified - default
  1885. IsolationLevel for PostgreSQL is ReadCommitted. However,
  1886. PostgreSQL allows Serializable as well.
  1887. (Thanks to Gonzalo for that!)
  1888. * System.Data.SqlClient/SqlConnection.cs: modified
  1889. * System.Data.SqlClient/SqlCommand.cs: modified
  1890. * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
  1891. working; however, we still need to implement SQL errors
  1892. and exceptions to properly handle transactions. Also, added
  1893. status and error message support from the PostgreSQL database.
  1894. Currently, this does a Console.WriteLine() to display the
  1895. status and error messages, but this is a TODO
  1896. for SQL errors and exceptions.
  1897. * System.Data/TODOAttribute.cs: added - needed MonoTODO
  1898. attribute for System.Data.dll assembly
  1899. * System.Data/IDbCommand.cs: modified - commented
  1900. overloaded method ExecuteReader
  1901. so System.Data.SqlClient.SqlCommand can compile
  1902. * System.Data/IDbCommand.cs: modified
  1903. * System.Data/IDbConnection.cs: modified - added using System;
  1904. * System.Data/IDataParameter.cs
  1905. * System.Data.build: modified - build classes
  1906. in System.Data.SqlClient and exclude others in System.Data
  1907. * System.Data.SqlClient/PostgresLibrary.cs: modified - change
  1908. parameter data type from IntPtr to enum ExecStatusType
  1909. * ChangeLog: modified - corrected previous entries in log
  1910. 2002-04-16 Rodrigo Moya <[email protected]>
  1911. * System.Data.Common/DataColumnMappingCollection.cs: added basic
  1912. implementation. Still missing some stuff.
  1913. 2002-04-16 Daniel Morgan <[email protected]>
  1914. * System.Data.SqlClient/SqlConnection.cs: modified - got
  1915. to compile, run, and connect to PostgreSQL database
  1916. * System.Data.SqlClient/SqlCommand.cs: modified - got
  1917. to compile, run, and execute a SQL INSERT command
  1918. which successfully inserted a row
  1919. into the PostgreSQL database
  1920. * System.Data.SqlClient/SqlTransaction.cs: modified
  1921. * System.Data.SqlClient/SqlParameter.cs: modified
  1922. * System.Data.SqlClient/SqlParameterCollection.cs: modified
  1923. * System.Data.SqlClient/SqlError.cs: modified
  1924. * System.Data.SqlClient/SqlErrorCollection.cs: modified
  1925. * System.Data.SqlClient/SqlException.cs: modified
  1926. * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
  1927. * System.Data.SqlClient/SqlAdapter: modified
  1928. * System.Data.SqlClient/SqlReader: modified - add more stubs
  1929. 2002-04-16 Daniel Morgan <[email protected]>
  1930. * Test/TestSqlInsert.cs: added
  1931. 2002-04-15 Daniel Morgan <[email protected]>
  1932. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
  1933. class SqlConnecition
  1934. * System.Data.SqlClient/SqlErrorCollection.cs: added
  1935. * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
  1936. 2002-04-15 Christopher Podurgiel <[email protected]>
  1937. * System.Data.IDbDataParameter: Added Interface to IDataParameter.
  1938. * System.Data.IDbTransaction: Added Interface to IDisposable.
  1939. * System.Data.IDbCommand: Fixed Capitalization of class name.
  1940. * System.Data.IDbConnection: Fixed Capitalization of class name.
  1941. 2002-04-15 Rodrigo Moya <[email protected]>
  1942. * System.Data.Common/DbDataPermissionAttribute.cs:
  1943. * System.Data.Common/DataAdapter.cs:
  1944. * System.Data.Common/DataColumnMapping.cs:
  1945. * System.Data.Common/DbDataPermission.cs: added some implementation.
  1946. 2002-04-15 Rodrigo Moya <[email protected]>
  1947. * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
  1948. syntax, as pointed out by Levent Camlibel.
  1949. 2002-04-14 Rodrigo Moya <[email protected]>
  1950. * System.Data.SqlTypes/SqlBinary.cs:
  1951. * System.Data.SqlTypes/INullable.cs: new skeletons.
  1952. 2002-04-14 Daniel Morgan <[email protected]>
  1953. * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
  1954. contains all calls the the PostgreSQL client library, to be used
  1955. everywhere in System.Data.SqlClient.
  1956. 2002-03-30 Rodrigo Moya <[email protected]>
  1957. * System.Data.SqlClient/SqlConnection.cs: implemented basic
  1958. constructors.
  1959. * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
  1960. 2002-03-29 Rodrigo Moya <[email protected]>
  1961. * System.Data.Common/DbDataRecord.cs:
  1962. * System.Data.Common/DbEnumerator.cs:
  1963. * System.Data.Common/RowUpdatedEventArgs.cs:
  1964. * System.Data.Common/RowUpdatingEventArgs.cs:
  1965. * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
  1966. 2002-03-28 Rodrigo Moya <[email protected]>
  1967. * System.Data.Common/DataTableMappingCollection.cs:
  1968. * System.Data.Common/DbDataAdapter.cs:
  1969. * System.Data.Common/DbDataPermission.cs:
  1970. * System.Data.Common/DataTableMapping.cs: new skeletons.
  1971. * System.Data.SqlClient/SqlDataAdapter.cs:
  1972. * System.Data.SqlClient/SqlDataReader.cs:
  1973. * System.Data.SqlClient/SqlErrors.cs:
  1974. * System.Data.SqlClient/SqlError.cs:
  1975. * System.Data.SqlClient/SqlException.cs:
  1976. * System.Data.SqlClient/SqlParameter.cs:
  1977. * System.Data.SqlClient/SqlParameterCollection.cs:
  1978. * System.Data.SqlClient/SqlTransaction.cs:
  1979. * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
  1980. 2002-03-27 Rodrigo Moya <[email protected]>
  1981. * System.Data.Common/DataColumnMapping.cs:
  1982. * System.Data.Common/DataColumnMappingCollection.cs:
  1983. * System.Data.Common/DataAdapter.cs: created skeletons.
  1984. * System.Data.build: exclude new directories from build.
  1985. 2002-03-27 Rodrigo Moya <[email protected]>
  1986. * System.Data.SqlClient/SqlTransaction.cs: started implementation.
  1987. * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
  1988. implemented (2 methods).
  1989. 2002-03-24 Duncan Mak <[email protected]>
  1990. * System.Data.build: Excluded System.Data.SqlClient from the build.
  1991. The stubs are incomplete and they are stopping the build.
  1992. * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
  1993. 2002-03-24 Rodrigo Moya <[email protected]>
  1994. * System.Data.SqlClient/*: added skeletons for the SQL managed
  1995. provider for ADO.Net, to be based initially in PostgreSQL.
  1996. 2002-03-15 Christopher Podurgiel <[email protected]>
  1997. Changed the Namespace on some Enums from mono.System.Data to System.Data
  1998. 2002-03-01 Christopher Podurgiel <[email protected]>
  1999. * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
  2000. default name if the ColumnName is null.
  2001. * DataSet.cs : Added
  2002. * DataTable.cs : Added
  2003. * DataRelationCollection.cs : Added
  2004. * DataTableRelationCollection.cs : Added
  2005. * DataColumn : Added
  2006. 2002-02-11 Christopher Podurgiel <[email protected]>
  2007. * DataColumnChangeEventArgs.cs : Added
  2008. * DataColumnCollection.cs : Added
  2009. 2002-02-10 Christopher Podurgiel <[email protected]>
  2010. * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
  2011. * Updated all Enums, Interfaces, and Delegates in System.Data