ChangeLog 89 KB

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