ChangeLog 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098
  1. 2007-11-05 Sebastien Pouliot <[email protected]>
  2. * Image.cs: Add test cases for the stream position when loading and
  3. saving bitmaps and metafiles. Some of them are based on Gert Driesen
  4. samples in #338779
  5. 2007-08-13 Sebastien Pouliot <[email protected]>
  6. * TestGraphics.cs: Test against NRE in MultiplyTransform
  7. 2007-08-02 Sebastien Pouliot <[email protected]>
  8. * TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
  9. now that #81572 is fixed.
  10. 2007-08-01 Sebastien Pouliot <[email protected]>
  11. * GDIPlusTest.cs: Add test case for GdipCloneFontFamily
  12. 2007-07-30 Sebastien Pouliot <[email protected]>
  13. * TextureBrushTest.cs: Added test cases for textures using alpha
  14. values (fix #81828).
  15. 2007-07-30 Sebastien Pouliot <[email protected]>
  16. * TestGraphics.cs: Added test cases for [Draw|Fill]Path (#82202)
  17. 2007-07-03 Sebastien Pouliot <[email protected]>
  18. * RegionNonRectTest.cs: Add test cases for combining empty paths and
  19. regions with infinite regions.
  20. 2007-06-21 Sebastien Pouliot <[email protected]>
  21. * GDIPlusTest.cs: Add test cases for GdipCreateCustomLineCap (#81829)
  22. 2007-05-30 Sebastien Pouliot <[email protected]>
  23. * Graphics.cs: Add more test cases for [Get|Release]Hdc[Internal]
  24. methods. Add test case for drawing lines with a pen's width > 1.
  25. 2007-05-28 Sebastien Pouliot <[email protected]>
  26. * GDIPlusTest.cs: Add test cases for GdipDrawRectangles[I]
  27. * TestGraphics.cs: Re-enable [Draw|Fill]Rectangles tests and remove
  28. the saved bitmap (used for debugging).
  29. 2007-05-28 Sebastien Pouliot <[email protected]>
  30. * TestGraphics.cs: Add test cases for [Draw|Fill]Rectangles (#81737)
  31. 2007-05-25 Sebastien Pouliot <[email protected]>
  32. * TestGraphics.cs: Avoid calling ImageAttributes.SetThreshold in test
  33. cases as it's not supported in libgdiplus.
  34. 2007-05-24 Sebastien Pouliot <[email protected]>
  35. * TestGraphics.cs: Add test cases for DrawImage overloads accepting
  36. Point or PointF arrays as destination points.
  37. 2007-05-24 Sebastien Pouliot <[email protected]>
  38. * TestGraphics.cs: Add test cases for the normal behaviour of
  39. FillRectangles.
  40. 2007-05-22 Sebastien Pouliot <[email protected]>
  41. * GDIPlusTest.cs: Add test cases for GdipCreateFromHDC when HDC is
  42. NULL. This match MS behavior as seen in (unfixed) bug #81709.
  43. 2007-05-18 Sebastien Pouliot <[email protected]>
  44. * TestBitmap.cs: Don't use IntPtr.ToInt32 as it may not represent the
  45. pointer correctly in 64bits architectures. Thanks to Zoltan.
  46. 2007-05-15 Sebastien Pouliot <[email protected]>
  47. * GDIPlusTest.cs: Add test cases for GdipDrawImage[I] (overflow) and
  48. GdipDrawImageRectRect (GraphicsUnit).
  49. * TestGraphics.cs: Add test cases for DrawImage, DrawImageUnscaled and
  50. DrawImageUnscaledAndClipped (2.0).
  51. * TestRectangle.cs: Add test cases for negative width/height. Fix some
  52. test cases that were using RectangleF instead of Rectangle.
  53. * TestRectangleF.cs: Add test cases for negative width/height.
  54. 2007-05-08 Everaldo Canuto <[email protected]>
  55. * TestGraphics.cs: MeasureString_MultlineString_Width added (NotWorking)
  56. it is a reproduction of bug #81572 that checks width for multiline
  57. string measurement.
  58. 2007-05-02 Sebastien Pouliot <[email protected]>
  59. * TestColor.cs: Under Windows ensure we're getting the same values for
  60. the desktop colors.
  61. 2007-04-26 Sebastien Pouliot <[email protected]>
  62. * GDIPlusTest.cs: Add basic test cases for GdipRecordMetafileFileName
  63. and it's parameter's validations.
  64. 2007-04-16 Sebastien Pouliot <[email protected]>
  65. * TestBitmap.cs: Add test cases for 16bpp formats (NotWorking) and
  66. reworked LockUnlockBitmap (e.g. add assert messages).
  67. 2007-04-16 Sebastien Pouliot <[email protected]>
  68. * GDIPlusTest.cs: Add test cases for GdipBitmap[Get|Set]Pixel on an
  69. indexed bitmap (1bpp) and on a 16bpp grayscale bitmap.
  70. * TestBitmap.cs: Add test cases for Format[1,4,8]bppIndexed and
  71. Format16bppGrayScale.
  72. 2007-04-14 Sebastien Pouliot <[email protected]>
  73. * TestBitmap.cs: Always test buffer byte-by-byte to avoid endian
  74. issues.
  75. 2007-04-12 Sebastien Pouliot <[email protected]>
  76. * TestBitmap.cs: Rework a test under 2.0 to see if GdipLockBits leaks
  77. if in particular case (it doesn't). Added Categoty("Valgrind") to a
  78. test know to leak due to the API design.
  79. 2007-04-12 Sebastien Pouliot <[email protected]>
  80. * TestBitmap.cs: Split LockBitmap into several tests and do not modify
  81. the data when using ImageLockMode.ReadOnly (this makes some results
  82. random when using MS GDI+).
  83. 2007-04-11 Sebastien Pouliot <[email protected]>
  84. * GDIPlusTest.cs: Add a check for locking (LockBits) a bitmap twice
  85. (without unlocking it first).
  86. * SolidBrushTest.cs: Add a test case to see if a cloned solid brush
  87. returns a named color and a unnamed color.
  88. * TestBitmap.cs: Renable four test cases depending on LockBits. Add
  89. two additionnal test cases for LockBits, Double locks (exception) and
  90. invalid ImageLockMode (no exception).
  91. 2007-04-09 Sebastien Pouliot <[email protected]>
  92. * TestColor.cs: Add a few more test cases for ==, != and Equals
  93. 2007-04-09 Sebastien Pouliot <[email protected]>
  94. * ColorConverter.cs: Add test case with a null CultureInfo for
  95. ConvertFrom.
  96. * ColorTranslator.cs: Add test cases with known values for FromHtml
  97. * TestColor.cs: Made some test clearer about what they do/check.
  98. 2007-04-02 Sebastien Pouliot <[email protected]>
  99. * TestFont.cs: Add test cases for GetHeight(Graphics) and
  100. GetHeight(float) methods.
  101. 2007-03-30 Sebastien Pouliot <[email protected]>
  102. * GDIPlusTest.cs: Add pen test case to check for #81266 (note: will
  103. crash libgdiplus if it's not updated to the latest svn revision).
  104. * SystemFontsTest.cs: Allow a small delta when comparing floats. This
  105. allows the ARM to work properly (e.g. 8.249999 versus 8.25).
  106. 2007-03-19 Jonathan Pobst <[email protected]>
  107. * TestFont.cs: Add a test for exception thrown when an unavailable font
  108. style is requested. (Marked NotWorking due to being platform specific.)
  109. 2007-03-16 Sebastien Pouliot <[email protected]>
  110. * SystemFontsTest.cs: Avoid failures (ignore tests) if no fonts are
  111. available on the system.
  112. 2007-03-15 Sebastien Pouliot <[email protected]>
  113. * ColorConverter.cs: Merge ConvertFrom_NotWorking with ConvertFrom as
  114. the test cases are now working properly.
  115. * ColorTranslator.cs: Add two other #hex cases. Fix typo.
  116. 2007-03-14 Sebastien Pouliot <[email protected]>
  117. * TestImage.cs: Add test cases for loading invalid files as an Image.
  118. 2007-03-09 Sebastien Pouliot <[email protected]>
  119. * GDIPlusTest.cs: Add test cases for GDI+ metafile API.
  120. * TestImage.cs: Add test cases for loading metafile as Image.
  121. 2007-03-08 Sebastien Pouliot <[email protected]>
  122. * TestBitmap.cs: Re-add the 2 NotWorking cases that were removed by
  123. mistake.
  124. 2007-03-07 Vladimir Krasnov <[email protected]>
  125. * TestBitmap.cs, TestFont.cs, TestIcon.cs, TestRegion.cs: removed tests
  126. for TARGET_JVM with not supported method calls
  127. 2007-02-28 Sebastien Pouliot <[email protected]>
  128. * SystemFontsTest.cs: Add more tests cases including disposing the
  129. font instance returned by the SystemFonts class.
  130. 2007-02-26 Sebastien Pouliot <[email protected]>
  131. * TestRegion.cs: Add test cases for ReleaseHrgn and fix GetHrgn tests
  132. to avoid leaking memory under 2.0 (where ReleaseHrgn is available).
  133. 2007-02-21 Sebastien Pouliot <[email protected]>
  134. * ColorConverter.cs: Rename fixture to match our styleguide.
  135. * ColorTranslator.cs: Rename fixture to match our styleguide.
  136. 2007-02-14 Sebastien Pouliot <[email protected]>
  137. * TestBitmap.cs: Add a test cases for default palettes for 1, 4 and 8
  138. bpp indexed formats.
  139. 2007-02-08 Sebastien Pouliot <[email protected]>
  140. * TestRegion.cs: Add test cases for matrix operations on infinite
  141. regions (result is always an infinite region). Add test cases for
  142. scale and scale+translate on regions (to see that they do not trigger
  143. a convertion into bitmap-based regions).
  144. 2007-02-01 Sebastien Pouliot <[email protected]>
  145. * TestGraphics.cs: Add test cases for VisibleClipBound (bug #78958)
  146. and for checking clip bounds after operation on world tranformations.
  147. 2007-01-31 Sebastien Pouliot <[email protected]>
  148. * TestGraphics.cs: Add test case for trailing spaces when calling
  149. MeasureString. #80680
  150. 2007-01-30 Sebastien Pouliot <[email protected]>
  151. * TestBitmap.cs: Add a test cases for SoapFormatter and Xml
  152. serialization, which "works" under 2.0 but not under 1.1.
  153. * TestImage.cs: Add test case for XmlSerializer on Image type, which
  154. "works" under 2.0 but not under 1.1.
  155. 2007-01-30 Sebastien Pouliot <[email protected]>
  156. * TestBitmap.cs: Add a test case to serialize and deserialize a icon,
  157. which use a decoder-only codec.
  158. 2007-01-19 Sebastien Pouliot <[email protected]>
  159. * GDIPlusTest.cs: Add test cases for loading unexisting files in
  160. GdipLoadImageFromFile and GdipCreateBitmapFromFile. Added test case
  161. for error code returned by GdipGetImageGraphicsContext for indexed
  162. bitmaps.
  163. 2007-01-18 Sebastien Pouliot <[email protected]>
  164. * TestGraphics.cs: Fix the LoadIndexed test case as it's current
  165. implementation leads to false conclusions. MS GDI+ upgrades the
  166. indexed PNG images to 32bpp ARGB. BMP are kept indexed but it's not
  167. possible to create a Graphics from them.
  168. * TestImage.cs: Test cases Stream_Unlock and Stream_Lock both fails
  169. under MS 1.x with ArgumentNullException.
  170. 2007-01-16 Sebastien Pouliot <[email protected]>
  171. * TestBitmap.cs: Added test case to create multiple bitmaps from a
  172. single HBITMAP.
  173. * TestIcon.cs: Added test cases to create multiple icons from a
  174. single Handle or HICON. Enabled SaveAndCompare on roundtrip tests.
  175. 2007-01-15 Sebastien Pouliot <[email protected]>
  176. * TestIcon.cs: Add test cases for ToBitmap when multiple icon sizes
  177. coexists in the same icon file.
  178. 2007-01-15 Sebastien Pouliot <[email protected]>
  179. * TestIcon.cs: Add test cases for non-standard size icons, 10x16 and
  180. 11x22, to test for non perfect match icon selection.
  181. * TestImage.cs: Add test cases for locked/unlocked streams when using
  182. GDI+ (e.g. Mono running on Windows).
  183. 2007-01-15 Sebastien Pouliot <[email protected]>
  184. * TestIcon.cs: Add test cases for XP (32bpp) icons.
  185. 2007-01-12 Sebastien Pouliot <[email protected]>
  186. * TestBitmap.cs: Add test cases for FromHicon and roundtripping using
  187. GetHbitmap and FromHbitmap.
  188. * TestIcon.cs: Add test cases for all constructors. Add test cases for
  189. saving icons (all sizes). Add test cases for roundtripping icons using
  190. Handle and HICON.
  191. 2007-01-11 Sebastien Pouliot <[email protected]>
  192. * GDIPlusTest.cs: Add test case for loading an icon and playing with
  193. it's color palette.
  194. * TestIcon.cs: Add test cases for different sizes of icons.
  195. 2007-01-07 Sebastien Pouliot <[email protected]>
  196. * TestGraphics.cs: Mark MeasureString_StringFontInt_LongString and
  197. MeasureString_Wrapping_Dots as a possible, host specific, ignored test
  198. cases.
  199. * FontFamilyTest.cs: Mark FontFamily_String as a possible, host
  200. specific, ignored test case.
  201. 2006-12-29 Gert Driesen <[email protected]>
  202. * SystemFontsTest.cs: Split DefaultFont test into two parts, since
  203. on Linux MS Sans Sarif is mapped to other available font.
  204. 2006-12-29 Gert Driesen <[email protected]>
  205. * SystemFontsTest.cs: Added test for DefaultFont.
  206. 2006-12-22 Sebastien Pouliot <[email protected]>
  207. * TestBrushes.cs: Ensure that the unit tests are destructive on the
  208. brushes (since you can change their color and dispose them). Now only
  209. Brushes.YellowGreen is "destroyed" in the (new) Dispose test. This fix
  210. any other unit test that use Brushes.* executed after this one.
  211. 2006-12-19 Sebastien Pouliot <[email protected]>
  212. * TestIcon.cs: Add test cases for 2.0 ExtractAssociatedIcon method.
  213. 2006-12-03 Sebastien Pouliot <[email protected]>
  214. * SystemIconsTest.cs: New. Unit tests for SystemIcons. Note that the
  215. icons provided here behave differently than normal icons (can't be
  216. disposed).
  217. 2006-11-23 Sebastien Pouliot <[email protected]>
  218. * TestImageFormatConverter.cs: Add test cases for ConvertFrom (long
  219. names, currently not working), GetStandardValuesSupported and
  220. GetStandardValues methods.
  221. 2006-11-06 Sebastien Pouliot <[email protected]>
  222. * TestGraphics.cs: Add new MeasureString test cases.
  223. * TestRectangle.cs: Add unit tests for == and != operators. Update
  224. tests to NUnit 2.2 syntax.
  225. * TestRectangleF.cs: Add unit tests for == and != operators. Update
  226. tests to NUnit 2.2 syntax.
  227. 2006-10-18 Sebastien Pouliot <[email protected]>
  228. * TestGraphics.cs: Ignore new test cases when font is null (not
  229. available). Add pixel size compares to MeasureString_Bug76664.
  230. 2006-10-11 Sebastien Pouliot <[email protected]>
  231. * TestGraphics.cs: Added test case to measure strings, some aren't yet
  232. working. Modified some to get better checks (e.g. Int32.MaxValue for
  233. #79643).
  234. 2006-10-03 Boris Kirzner <[email protected]>
  235. * TestStringFormat.cs: mark tests not working in TARGET_JVM.
  236. 2006-09-29 Sebastien Pouliot <[email protected]>
  237. * TestGraphics.cs: Convert unit tests to 2.2 API so we can Ignore some
  238. tests dynamically (when fonts aren't installed).
  239. 2006-09-28 Sebastien Pouliot <[email protected]>
  240. * TestGraphics.cs: Added test cases for bug #77699 (with and without
  241. wrapping).
  242. 2006-09-26 Boris Kirzner <[email protected]>
  243. * TestStringFormat.cs: fix build for TARGET_JVM.
  244. 2006-09-22 Sebastien Pouliot <[email protected]>
  245. * TestGraphics.cs: Added more test cases for MeasureCharacterRanges,
  246. like handling bad ranges (start, length) and hotkey prefix handling.
  247. 2006-09-21 Sebastien Pouliot <[email protected]>
  248. * GDIPlusTest.cs: Added test cases for GdipGetStringFormatTabStops and
  249. GdipSetStringFormatTabStops functions.
  250. * TestStringFormat.cs: Added a more complex test case for Clone.
  251. 2006-09-19 Sebastien Pouliot <[email protected]>
  252. * GDIPlusTest.cs: Added test cases for GdipMeasureCharacterRanges and
  253. StringFormat functions.
  254. * TestGraphics.cs: Avoid test cases failure if the font object can't
  255. be created during fixture's setup.
  256. * TestStringFormat.cs: Increased coverage of the unit tests.
  257. 2006-09-18 Sebastien Pouliot <[email protected]>
  258. * TestGraphics.cs: Add test cases for MeasureString and
  259. MeasureCharacterRanges methods.
  260. 2006-09-18 Boris Kirzner <[email protected]>
  261. * ColorTranslator.cs,TestBitmap.cs,TestColor.cs,TestFont.cs,
  262. TestRegion.cs,TestSizeFConverter.cs : mark tests not working
  263. in TARGET_JVM.
  264. 2006-09-16 Sebastien Pouliot <[email protected]>
  265. * TestSizeF.cs: Remove the NET_2_0/NotWorking stuff from GetHashCode
  266. test. The test is bad because sometimes it uses Size instead of SizeF.
  267. 2006-09-14 Sebastien Pouliot <[email protected]>
  268. * GDIPlusTest.cs: Added test cases for GdipBitmapUnlockBits.
  269. 2006-09-11 Sebastien Pouliot <[email protected]>
  270. * TestBitmap.cs: Fix the bitmap loading code to work in more cases.
  271. * TestImageConverter.cs: Added a test case when value is null (should
  272. return "(none)"). Uncommented and splitted all exception test cases
  273. into individual tests. Still got one faulty test: ConvertTo_ByteArray.
  274. 2006-09-04 Jonathan Gilbert <[email protected]>
  275. * TestBitmap.cs: Reactivated the Rotate1bit4bit test, with code added
  276. to ignore the test if Microsoft's GDIPLUS.DLL is in use.
  277. 2006-09-01 Sebastien Pouliot <[email protected]>
  278. * TestBitmap.cs: Add more test cases for LockBits which, on Mono,
  279. seems to work only when the destination format is 32 bits.
  280. 2006-08-31 Sebastien Pouliot <[email protected]>
  281. * TextureBrushTest.cs: Remove NotWorking from rotation test case.
  282. 2006-08-30 Sebastien Pouliot <[email protected]>
  283. * TextureBrushTest.cs: More test cases when only a partial part of the
  284. image is being used and for cloning the brush.
  285. 2006-08-28 Sebastien Pouliot <[email protected]>
  286. * GDIPlusTest.cs: Added more parameters checks for TextureBrush calls.
  287. * TestBitmap.cs: Fix test case for big endian arch (Marshal.ReadInt32)
  288. 2006-08-27 Sebastien Pouliot <[email protected]>
  289. * ColorConverter.cs: Add a new test case for a color with a integer
  290. part that is too large to convert into an int.
  291. * ColorTranslator.cs: Add more test cases for FromHtml method.
  292. 2006-08-25 Sebastien Pouliot <[email protected]>
  293. * GDIPlusTest.cs: Fix ImageAttributes test case.
  294. * TestBitmap.cs: Add more details to pinpoint exact failure under OSX.
  295. 2006-08-24 Sebastien Pouliot <[email protected]>
  296. * GDIPlusTest.cs: Added more test cases for TextureBrush functions.
  297. Added new test cases for ImageAttributes. Removed some assertion for
  298. GpGraphicsPath (which returns different value on monobuild win32 bot
  299. than my own machine, uninit field ?).
  300. 2006-08-23 Sebastien Pouliot <[email protected]>
  301. * GDIPlusTest.cs: Added new test cases for TextureBrush functions.
  302. * TextureBrushTest.cs: New. Unit tests for TextureBrush class.
  303. 2006-08-19 Sebastien Pouliot <[email protected]>
  304. * GDIPlusTest.cs: Added new test cases for GraphicsPathIter functions.
  305. 2006-08-18 Sebastien Pouliot <[email protected]>
  306. * GDIPlusTest.cs: Added more test cases for Matrix functions.
  307. 2006-08-16 Sebastien Pouliot <[email protected]>
  308. * GDIPlusTest.cs: Ignore some test cases if we cannot get any font
  309. family from GDI+.
  310. 2006-08-15 Sebastien Pouliot <[email protected]>
  311. * FontFamilyTest.cs: Ignore test cases if we cannot get any font
  312. family from GDI+.
  313. * TestFont.cs: Ignore test cases if we cannot get any font family
  314. from GDI+.
  315. 2006-08-14 Sebastien Pouliot <[email protected]>
  316. * GDIPlusTest.cs: Re-add LOGONT definition as a class (instead of a
  317. struct like it's currently defined inside SD).
  318. 2006-08-12 Duncan Mak <[email protected]>
  319. * GDIPlusTest.cs: Removed all the local PInvoke methods.
  320. (DrawingOperations): New test for various draw and fill operations
  321. in Graphics.
  322. 2006-08-11 Sebastien Pouliot <[email protected]>
  323. * GDIPlusTest.cs: Added one more case for GdipGetLogFont.
  324. * TestBitmap.cs: Ignore test Rotate1bit4bit as it fails when Mono
  325. executes under Windows (GDI+);
  326. * TestFont.cs: Added more test cases for ToLogFont including one that
  327. shows that LOGFONT only works properly when it's a class (not a struct)
  328. 2006-08-10 Sebastien Pouliot <[email protected]>
  329. * GDIPlusTest.cs: Add more test cases for GraphicsPath and
  330. PathGradientBrush to fix unit tests under Windows.
  331. * RegionNonRectTest.cs: Ignore Region_Ctor_RegionData as it will
  332. fail when using MS GDI+ (e.g. Mono on Windows).
  333. 2006-08-10 Sebastien Pouliot <[email protected]>
  334. * GDIPlusTest.cs: Add more test cases for GraphicsPath (Reset and
  335. Widen) and some new tests for Matrix related GDI+ functions.
  336. 2006-08-08 Sebastien Pouliot <[email protected]>
  337. * TestRegion.cs: Add test case for excluding a rectangle from an
  338. infinite region.
  339. 2006-08-07 Sebastien Pouliot <[email protected]>
  340. * GDIPlusTest.cs: Avoid leaking during tests.
  341. 2006-08-05 Sebastien Pouliot <[email protected]>
  342. * GDIPlusTest.cs: Some test cases for Graphics and Font related GDI+
  343. functions.
  344. 2006-08-04 Sebastien Pouliot <[email protected]>
  345. * GDIPlusTest.cs: Some test cases for GraphicsPath, PathGradientBrush,
  346. Pen related GDI+ calls.
  347. 2006-08-03 Sebastien Pouliot <[email protected]>
  348. * GDIPlusTest.cs: More test cases for the GDI+ function calls (which
  349. fixes some unit test failures seen with Mono running on Windows).
  350. 2006-08-03 Sebastien Pouliot <[email protected]>
  351. * TestFont.cs: Remove asserts that are system dependant.
  352. 2006-07-20 Sebastien Pouliot <[email protected]>
  353. * TestGraphics.cs: Added ReleaseHDC test cases by Jonathan Pobst.
  354. 2006-07-06 Sebastien Pouliot <[email protected]>
  355. * GDIPlusTest.cs: New WIP. Unit tests for the GDI+ function calls.
  356. * TestImage.cs: Added checks to validate that the thumbnail's callback
  357. is never called.
  358. 2006-07-06 Sebastien Pouliot <[email protected]>
  359. * SolidBrushTest.cs: New test case using DrawLine.
  360. 2006-07-04 Sebastien Pouliot <[email protected]>
  361. * TestImage.cs: Add test cases for GetThumbnailImage.
  362. 2006-06-30 Sebastien Pouliot <[email protected]>
  363. * SolidBrushTest.cs: New. Unit tests for SolidBrush.
  364. 2006-06-28 Sebastien Pouliot <[email protected]>
  365. * TestFont.cs: Expanded a test case to check for bug #78721 where the
  366. LOGFONT structure must be initialized even if the ToLogFont call fails
  367. 2006-06-27 Sebastien Pouliot <[email protected]>
  368. * TestBitmap.cs: Reactivate a test case (LockBitmap) as NotWorking and
  369. add a comment on a commented one (MakeTransparent ;-)
  370. 2006-06-12 Gonzalo Paniagua Javier <[email protected]>
  371. * TestBitmap.cs: add test for stride with 1bpp indexed bitmap.
  372. 2006-06-02 Gonzalo Paniagua Javier <[email protected]>
  373. * TestColor.cs: added 2 more tests for serialization and enabled one
  374. that was not working.
  375. 2006-05-30 Sebastien Pouliot <[email protected]>
  376. * FontFamilyTest.cs: New. Unit tests for FontFamily.
  377. * TestFont.cs: Added more test cases to Font.
  378. 2006-05-29 Sebastien Pouliot <[email protected]>
  379. * TestImageFormatConverter.cs: Added test cases for all well known
  380. ImageFormat short and long names using ConvertFrom.
  381. 2006-05-26 Sebastien Pouliot <[email protected]>
  382. * TestColor.cs: Added test cases for serialization. Currently we can't
  383. deserialize Color coming from MS serialization.
  384. 2006-05-25 Sebastien Pouliot <[email protected]>
  385. * TestRegion.cs: Added a new fixture that executes with UnmanagedCode
  386. permission and test the [Get|From]Hrgn methods.
  387. 2006-05-24 Gonzalo Paniagua Javier <[email protected]>
  388. * TestBitmap.cs: new tests for the default format and the default file
  389. type.
  390. 2006-05-24 Sebastien Pouliot <[email protected]>
  391. * ColorConverter.cs: Split unworking test case from ConvertFrom into
  392. a separate test case (marked as NotWorking).
  393. * TestBitmap.cs: Mark test case Rotate1bit4bit as NotDotNet as it was
  394. probably never tested under Windows (and doesn't work there).
  395. * TestFontConverter.cs: Split test case for CreateInstance to check
  396. for ArgumentException (2.0) or NullReferenceException (1.x).
  397. * TestPointConverter.cs: Split test case for CreateInstance to check
  398. for ArgumentException (2.0) or NullReferenceException (1.x).
  399. * TestRectangleConverter.cs: Split test case for CreateInstance to
  400. check for ArgumentException (2.0) or NullReferenceException (1.x).
  401. * TestSizeConverter.cs: Split test case for CreateInstance to check
  402. for ArgumentException (2.0) or NullReferenceException (1.x).
  403. * TestSizeFConverter.cs: Add/split test cases for CreateInstance to
  404. check for InvalidCastException and NullReferenceException.
  405. * TestSizeF.cs: Mark GetHashCodeTest as NotWorking in 2.0 profile as
  406. Empty and SizeF(0,0) don't share the same hash code.
  407. 2006-05-24 Sebastien Pouliot <[email protected]>
  408. * TestImageConverter.cs: Adjust test cases as there is an additional
  409. properties under 2.0.
  410. * TestSizeF.cs: Under 2.0 SizeF.Empty != SizeF(0,0)
  411. 2006-05-24 Sebastien Pouliot <[email protected]>
  412. * PenTest.cs: Fix different exception being thrown in 1.x and 2.0.
  413. * TestFont.cs: Fix tests under Windows (CAS related);
  414. * TestGraphics.cs: Fix and add more test cases for FillRectangles.
  415. 2006-05-24 Sebastien Pouliot <[email protected]>
  416. * PenTest.cs: Added a test case where the brush supplied to the .ctor
  417. is disposed before the pen is used. Based on a sample from Paddy joy.
  418. 2006-05-17 Sebastien Pouliot <[email protected]>
  419. * PenTest.cs: New. Unit tests for Pen.
  420. 2006-05-15 Atsushi Enomoto <[email protected]>
  421. * TestGraphics.cs : added test for bug #78408 (FillRectangles).
  422. 2006-05-12 Sebastien Pouliot <[email protected]>
  423. * TestRegion.cs: Added a new test case for unioning a rectangle with
  424. infinity and a new test case for GetRegionScans.
  425. 2006-05-04 Sebastien Pouliot <[email protected]>
  426. * TestGraphics.cs: Re-introduce the removed check :)
  427. 2006-05-04 Sebastien Pouliot <[email protected]>
  428. * TestGraphics.cs: Temporarily remove the checks for the transform in
  429. containers. This allows libgdiplus to get better visual results until
  430. the matrix issue is fixed correctly (instead of returning the "right"
  431. matrix and displaying wrong data).
  432. 2006-05-02 Sebastien Pouliot <[email protected]>
  433. * TestGraphics.cs: Added new test cases for [Begin|End]Container and
  434. for Save and Restore methods.
  435. 2006-04-27 Sebastien Pouliot <[email protected]>
  436. * TestGraphics.cs: Added new test cases for DrawCurve methods.
  437. 2006-04-26 Gonzalo Paniagua Javier <[email protected]>
  438. * TestBitmap.cs: added tests for UnlockBits when the target is an
  439. indexed image and a non-indexed one.
  440. 2006-04-21 Sebastien Pouliot <[email protected]>
  441. * TestGraphics.cs: Added new test cases for clipping. Some of them do
  442. not work yet.
  443. 2006-04-11 Sebastien Pouliot <[email protected]>
  444. * TestGraphics.cs: Added new test cases for bug #77129 where we should
  445. not draw or fill rectangle(s) with negative width or height. Converted
  446. all test cases to UNIX line endings.
  447. 2006-03-30 Sebastien Pouliot <[email protected]>
  448. * TestGraphics.cs: Added new test cases translating matrix with
  449. different MatrixOrder and for multiplying a non-invertible matrix.
  450. 2006-03-28 Sebastien Pouliot <[email protected]>
  451. * TestGraphics.cs: Add new test cases for clipping.
  452. 2006-03-25 Sebastien Pouliot <[email protected]>
  453. * RegionDataTest.cs: Add test cases for GetRegionData when a region is
  454. path-based (using bitmaps in libgdiplus) and for regions that had a
  455. binary operations applied (i.e. using a path tree in libgdiplus).
  456. * RegionNonRectTest.cs: Add test cases for GetRegionScans and all
  457. binary operators (Union, Intersection, Complement, Exclude and Xor)
  458. on path based regions (using bitmaps in libgdiplus).
  459. 2006-02-29 Peter Dennis Bartok <[email protected]>
  460. * TestFont.cs: LOGFONT must be CharSet=Auto to make sure we have
  461. the appropriate size on each system
  462. 2006-01-27 Sebastien Pouliot <[email protected]>
  463. * RegionNonRectTest.cs: Updated comments on a test that fails on both
  464. 1.x and 2.0 MS runtime.
  465. * TestFont.cs: Converted tests to NUnit 2.2 and added descriptions to
  466. each asserts.
  467. 2006-01-26 Boris Kirzner <[email protected]>
  468. * ColorConverter.cs, TestBitmap.cs, TestIcon.cs, TestIconConverter.cs,
  469. TestImageConverter.cs, TestPointConverter.cs, TestRectangleConverter.cs,
  470. TestRegion.cs, TestSizeConverter.cs, TestStringFormat.cs:
  471. added #ifdef for TARGET_JVM.
  472. 2006-01-23 Boris Kirzner <[email protected]>
  473. * TestBitmap.cs, TestFont.cs: #ifdef fot TARGET_JVM.
  474. 2006-01-18 Sebastien Pouliot <[email protected]>
  475. * RegionDataTest.cs: New. Unit tests for RegionData.
  476. * RegionNonRectTest.cs: New. Unit tests for non-rectangular regions.
  477. * TestRegion.cs: Added new test cases for empty region and IsInfinite
  478. behaviour with multiple rectangles / path-rectangle regions.
  479. 2006-01-16 Sebastien Pouliot <[email protected]>
  480. * TestRegion.cs: Mark a test case as NotWorking as it caused a
  481. regression in SWF.
  482. 2006-01-11 Sebastien Pouliot <[email protected]>
  483. * RegionCas.cs: New. CAS unit tests for Region.
  484. * TestRegion.cs: Added test cases to check for expected exceptions.
  485. 2005-12-05 Peter Dennis Bartok <[email protected]>
  486. * TestFont.cs: Added test for LogFont conversion
  487. 2005-12-05 Jordi Mas i Hernandez <[email protected]>
  488. * TestPoint.cs: Test new methods for .Net 2.0
  489. * TestPointF.cs Test new methods for .Net 2.0
  490. * ColorConverter.cs: Fixes for .Net 2.0
  491. * TestSizeF.cs: Test new methods for .Net 2.0
  492. * TestSize.cs: Test new methods for .Net 2.0
  493. 2005-12-02 Jonathan Gilbert <[email protected]>
  494. * TestBitmap.cs (LockUnlockBitmap): Added test for the copying back
  495. of bitmap data in Bitmap.UnlockBits for non-readonly ImageLockMode
  496. values.
  497. 2005-11-17 Vladimir Krasnov <[email protected]>
  498. * ColorConverter.cs: added testcases for ConvertFrom and
  499. three digit notaion color.
  500. 2005-10-23 Jonathan Gilbert <[email protected]>
  501. * TestBitmap.cs (Rotate1bit4bit): Added test for rotation & flipping
  502. of indexed (1- and 4-bit) Bitmaps.
  503. * 1bit.png, 4bit.png: Added to 'bitmaps' subdirectory.
  504. 2005-09-19 Miguel de Icaza <[email protected]>
  505. * TestGraphics.cs (LoadIndexed): Add test for the indexed bug.
  506. 2005-09-16 Sebastien Pouliot <[email protected]>
  507. * BitmapCas.cs: New. CAS unit tests for Bitmap.
  508. * GraphicsCas.cs: New. CAS unit tests for Graphics.
  509. * ColorConverter.cs, ColorTranslator.cs, TestBrushes.cs, TestBitmap.cs
  510. TestColor.cs, TestFont.cs, TestIcon.cs, TestIconConverter.cs,
  511. TestImage.cs, TestImageConverter.cs, TestImageFormatConverter.cs,
  512. TestPens.cs, TestPoint.cs, TestPointF.cs, TestPointConverter.cs,
  513. TestRectangle.cs, TestRectangleF.cs, TestRectangleConverter.cs,
  514. TestRegion.cs, TestSizeConverter.cs, TestSize.cs, TestSizeF.cs,
  515. TestStringFormat.cs, TestSystemBrushes.cs, TestSystemPens.cs: Deny
  516. UnmanagedCode permission to all tests. This shows (when executed under
  517. MS runtime) that S.D API is safe and doesn't requires high privileges
  518. to run - even if we know that, deep down, this calls into GDI+.
  519. 2005-09-14 Jordi Mas i Hernandez <[email protected]>
  520. * TestGraphics.cs: Adds default properties, properties set/get and save
  521. and restore status test
  522. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  523. * TestGraphics.cs: resets graphics object status before every SetClip test
  524. 2005-09-12 Gert Driesen <[email protected]>
  525. * TestImageConverter.cs: Re-enabled GetProperties test.
  526. * TestPointConverter.cs: same.
  527. * TestRectangleConverter.cs: same.
  528. * TestSizeConverter.cs: same.
  529. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  530. * TestImagge.cs: File not found exception, related to fix r49744
  531. * TestBimap.cs: File not found exception, related to fix r49744
  532. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  533. * TestGraphics.cs: New test case, only clipping for now
  534. 2005-08-26 Gert Driesen <[email protected]>
  535. * TestPointConverter.cs: Use Assert class instead of deriving from
  536. deprecated Assertion class. Tests now pass on both Mono and MS.NET.
  537. * TestRectangleConverter.cs: same.
  538. * TestSizeConverter.cs: same.
  539. 2005-08-26 Gert Driesen <[email protected]>
  540. * ColorConverter.cs: Add hex string tests. Fixed tests to pass on
  541. MS.NET.
  542. 2005-08-23 Jordi Mas i Hernandez <[email protected]>
  543. * TestPens.cs: Add test for Equals method
  544. * TestBrushes.cs: Add test for Equals method
  545. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  546. * TestPointConverter.cs: Fixes and changes to make the test locale unsensitive
  547. * TestRectangleConverter.cs: Fixes and changes to make the test locale unsensitive
  548. * TestSizeConverter.cs: Fixes and changes to make the test locale unsensitive
  549. * ColorConverter.cs: Fixes and changes to make the test locale unsensitive
  550. 2005-08-17 Jordi Mas i Hernandez <[email protected]>
  551. * TestRegion.cs: Adds many new cases for the new region implementation
  552. 2005-08-16 Gert Driesen <[email protected]>
  553. * ColorConverter.cs: Mono now also throws ArgumentException when
  554. color value is not between 0 and 255.
  555. * TestColor.cs: Added tests for invalid color values.
  556. * TestRectangleConverter.cs: Fixed tests for conversion to/from
  557. string. Added tests that verify results using specific cultures.
  558. 2005-08-14 Gert Driesen <[email protected]>
  559. * ColorConverter.cs: Merged tests from TestColorConverter.cs. Fixed
  560. tests using current culture.
  561. * TestColorConverter.cs: Merged tests with ColorConverter.cs and
  562. removed.
  563. 2005-08-14 Gert Driesen <[email protected]>
  564. * TestColor.cs: Added test for ToString() on uninitialized color.
  565. * TestColorConverter.cs: Added tests for ColorConverter.
  566. 2005-08-10 Jordi Mas i Hernandez <[email protected]>
  567. * TestRegion.cs: new cases for Combine and Intersect
  568. 2005-08-10 Zoltan Varga <[email protected]>
  569. * TestRectangle.cs: Add new test.
  570. 2005-08-09 Andrew Skiba <[email protected]>
  571. * ColorConverter.cs, ColorTranslator.cs: added
  572. * TestPointConverter.cs, TestRectangleConverter.cs, TestSizeConverter.cs: new
  573. tests for convert to/from string
  574. 2005-08-07 Andrew Skiba <[email protected]>
  575. * Color.cs: many new testcases added
  576. 2005-08-07 Andrew Skiba <[email protected]>
  577. * Size.cs, SizeF.cs: GetHashCode and ToString tests
  578. 2005-08-07 Andrew Skiba <[email protected]>
  579. * TestRectangle.cs, TestRectangleF.cs: add new testcases
  580. 2005-08-07 Andrew Skiba <[email protected]>
  581. * TestPoint.cs: GetHashCode and ToString tests added
  582. * TestPointF.cs: GetHashCode and ToString tests added, Addition and Substraction
  583. tests improved
  584. 2005-08-07 Andrew Skiba <[email protected]>
  585. * TestPens.cs, TestSystemBrushes.cs, TestSystemPens.cs: don't rethrow exceptions, keep
  586. the original stack trace.
  587. 2005-07-27 Andrew Skiba <[email protected]>
  588. * TestColor.cs: added tests for equality operators, IsEmpty property and fixed GetHBS
  589. tests to use tolerance.
  590. 2005-05-10 Juraj Skripsky <[email protected]>
  591. * TestColor.cs: Added tests for GetHue, GetBrightness
  592. and GetSaturation.
  593. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  594. * TestRegion.cs: added new IsVisible cases
  595. 2004-06-22 Sanjay Gupta <[email protected]>
  596. * TestIconConverter.cs, TestImageConverter.cs: Commented out some tests.
  597. 2004-06-17 Ravindra <[email protected]>
  598. * graphicsUi.cs: Formatted and moved to
  599. Samples/System.Drawing directory.
  600. * image1.cs: Formatted and renamed to bmpsave.cs. Moved to
  601. Samples/System.Drawing directory.
  602. * hering.cs: Formatted and moved to Samples/General directory.
  603. * BmpPaint.cs: Ficed, formatted and moved to
  604. Samples/System.Drawing directory.
  605. * font1.cs: Formatted and renamed to font.cs. Moved to
  606. Samples/System.Drawing directory.
  607. 2004-06-10 Sanjay Gupta <[email protected]>
  608. * TestBitmap.cs: Corrected issues from my previous checkin.
  609. 2004-06-10 Sanjay Gupta <[email protected]>
  610. * TestImageFormatConverter.cs, TestStringFormat.cs: Removed
  611. dependency on obsolete class, Assertion from NUnit.
  612. 2004-06-09 Sanjay Gupta <[email protected]>
  613. * TestImageConverter.cs: Removed dependency on obsolete class,
  614. Assertion from NUnit.
  615. 2004-06-09 Sanjay Gupta <[email protected]>
  616. * TestBitmap.cs, TestIcon.cs, TestIconConverter.cs: Removed
  617. dependency on obsolete class, Assertion from NUnit.
  618. 2004-05-27 Ravindra <[email protected]>
  619. * TestRectangleConverter.cs: Ignored the test that is failing
  620. because of bug #58435.
  621. * TestPointConverter.cs: Same.
  622. * TestSizeConverter.cs: Same.
  623. * TestImageConverter.cs: Same.
  624. 2004-05-26 Sanjay Gupta <[email protected]>
  625. * TestImageFormatConverter.cs: Minor modification. Removed duplicate
  626. assertion numbers.
  627. 2004-05-26 Ravindra <[email protected]>
  628. * TestColor.cs: Added a test for testing ARGB values for all
  629. the static color properties.
  630. 2004-05-20 Sanjay Gupta <[email protected]>
  631. * TestIcon.cs: Added.
  632. * bitmaps/smiley.ico: Added.
  633. 2004-05-18 Sanjay Gupta <[email protected]>
  634. * TestImageFormatConverter.cs: Fixed issues with test case.
  635. 2004-05-18 Sanjay Gupta <[email protected]>
  636. * TestImageConverter.cs: Fixed issues with test case.
  637. 2004-05-18 Sanjay Gupta <[email protected]>
  638. * TestIconConverter.cs: Fixed issues with test case.
  639. 2004-05-18 Ravindra <[email protected]>
  640. * TestHatchBrush.cs: Removed. Now, we have a better test for HatchBrush
  641. this under Test/System.Drawing.Drawing2D directory.
  642. 2004-05-17 Sanjay Gupta <[email protected]>
  643. * TestIconConverter.cs: Added.
  644. * bitmaps/VisualPng.ico: Added
  645. * bitmaps/VisualPng1.ico: Added
  646. 2004-05-14 Sanjay Gupta <[email protected]>
  647. * TestBitmap.cs: Modified method signature to static to be used in other file.
  648. * TestImageConverter.cs: Added.
  649. * TestImageFormatConverter.cs: Added
  650. 2004-05-12 Jordi Mas <[email protected]>
  651. * TestBitmap.cs: added lockbitmap tests
  652. 2004-05-07 Jordi Mas <[email protected]>
  653. * TestBitmap.cs: added rotation tests
  654. 2004-04-23 Ravindra <[email protected]>
  655. * TestSystemPens.cs: Removed some unused exception variables.
  656. * TestRectangleConverter.cs: Removed culture dependent tests.
  657. * TestPointConverter.cs: Removed culture dependent tests.
  658. * TestSizeConverter.cs: Removed culture dependent tests.
  659. (These tests were not right because a constant culture specific string
  660. was being parsed by using current culture of the thread. It resulted in
  661. test failures when cultures do not match.)
  662. 2004-04-22 Ravindra <[email protected]>
  663. * TestPointConverter.cs: Added.
  664. * TestSizeConverter.cs: Added.
  665. 2004-04-22 Ravindra <[email protected]>
  666. * TestRectangleConverter.cs: Added.
  667. 2004-04-21 Ravindra <[email protected]>
  668. * TestPens.cs: Added.
  669. 2004-04-21 Ravindra <[email protected]>
  670. * TestBrushes.cs: Added.
  671. 2004-04-16 Ravindra <[email protected]>
  672. * TestSystemPens.cs: Added.
  673. 2004-03-13 Ravindra <[email protected]>
  674. * TestSystemBrushes.cs: Added test fail conditions.
  675. 2004-03-12 Ravindra <[email protected]>
  676. * TestSystemBrushes.cs: Added.
  677. 2004-03-17 Ravindra <[email protected]>
  678. * TestHatchBrush.cs: Added.
  679. 2004-01-26 Ravindra <[email protected]>
  680. * TestPointF.cs: Added.
  681. * TestSize.cs: Added.
  682. * TestSizeF: Added.
  683. 2004-01-16 Ravindra <[email protected]>
  684. * BmpPaint.cs did not run on .NET.
  685. Modified to make it run on .NET. Specs say
  686. "Do not save an image to the same stream
  687. that was used to construct the image."
  688. 2003-07-30 Alexandre Pigolkine <[email protected]>
  689. * BmpPaint.cs modified
  690. 2003-06-28 Alexandre Pigolkine <[email protected]>
  691. * hering.cs save as Jpeg also
  692. 2003-06-22 Alexandre Pigolkine <[email protected]>
  693. * font1.cs added
  694. 2003-06-17 Alexandre Pigolkine <[email protected]>
  695. * hering.cs added
  696. 2003-06-15 Alexandre Pigolkine <[email protected]>
  697. * BmpPaint.cs ImageFormat specified for Save()
  698. * image1.cs added
  699. 2003-06-06 Alexandre Pigolkine <[email protected]>
  700. * BmpPaint.cs added
  701. 2001-10-31 Mike Kestner <[email protected]>
  702. * TestPoint.cs : Tests I've had in my node forever.