ChangeLog 70 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228
  1. 2005-10-19 Vladimir Krasnov <[email protected]>
  2. * Bitmap.jvm.cs: fixed InternalSave, ToBufferedImageFormat, Clone
  3. * PlainImage.jvm.cs: fixed Clone
  4. * Graphics.jvm.cs: fixed FillShape, Clear, FillScaledShape
  5. 2005-10-19 Vladimir Krasnov <[email protected]>
  6. * Brush.jvm.cs: added InternalClone() method
  7. changed transformation methods access level
  8. * TextureBrush.jvm.cs: refactoring, fixed clone()
  9. 2005-10-19 Vladimir Krasnov <[email protected]>
  10. * AdvancedStroke.jvm.cs: fixed createStrokedShape, check for transform
  11. matrix singularity added
  12. * Font.jvm.cs: implemetated ISerializable
  13. * Pen.jvm.cs: fixed DashPattern property,
  14. fixed GetNativeObject() dash pattern calculation
  15. 2005-10-14 Jordi Mas i Hernandez <[email protected]>
  16. * SystemColors.cs: Fixes the Win32 light and lightlight colours
  17. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18. * SystemColors.cs: Fixes the Win32 system colors including the color
  19. name and the knownColor properties.
  20. 2005-10-07 Peter Dennis Bartok <[email protected]>
  21. * FontFamily.cs: Use Marshal.PtrToStringUni to do the string
  22. conversion, it's less overhead than StringBuilder. (Part of the
  23. bugfix for #74871 and #75534)
  24. * gdipFunctions: Changed signature for GdipGetFamilyName to just
  25. have an IntPtr for the buffer
  26. 2005-10-04 Peter Dennis Bartok <[email protected]>
  27. * Graphics.cs, FontFamily.cs: Calling GC.SuppressFinalize from Dispose,
  28. fixes bug #76329
  29. 2005-09-29 Peter Dennis Bartok <[email protected]>
  30. * SystemColor.cs: Added code used to generate properties, updated with
  31. Windows XP colors
  32. 2005-09-29 Peter Dennis Bartok <[email protected]>
  33. * SystemColor.cs: Make internal names predictable to allow scripted
  34. generation of color table
  35. 2005-09-28 Peter Dennis Bartok <[email protected]>
  36. * Color.cs(UpdateKnownColor): Ensure knownColors exists before trying
  37. to update it.
  38. 2005-09-27 Peter Dennis Bartok <[email protected]>
  39. * SystemColor.cs:
  40. - Changed properties to return colors from fields. This allows
  41. updating the colors via reflection, for example from MWF themes.
  42. - Added code to retrieve system colors via Win32 GetSysColors if
  43. running on Win32, this makes us compatible with Microsoft instead
  44. of returning static colors on Win32. Unix platforms still will
  45. use the static colors
  46. * Color.cs: Added UpdateKnownColor() method to allow updating of
  47. the KnownColors array
  48. 2005-09-26 Kornél Pál <[email protected]>
  49. * Graphics.cs: DrawImage: imageAttr can be null. Fixed to pass IntPtr.Zero
  50. when imageAttr is null.
  51. 2005-09-26 Vladimir Krasnov <[email protected]>
  52. * Brush.jvm.cs: fixed transform methods, createContext
  53. * TextureBrush.jvm.cs: implemetated transform, WrapMode, ctors
  54. 2005-09-21 Vladimir Krasnov <[email protected]>
  55. * Bitmap.jvm.cs: fixed Clone, InternalSave, Initialize, ctor refactoring, remarks refactoring
  56. * Image.jvm.cs: fixed GetFrameCount, GetThumbnailImage, SelectActiveFrame, remarks refactoring
  57. * PlainImage.jvm.cs: added metadata props, fixed ctor
  58. * PlainImageCollection.jvm.cs: fixed class access
  59. 2005-09-21 Jordi Mas i Hernandez <[email protected]>
  60. * Graphics.cs: Fixes exception type at FromImage method
  61. 2005-09-20 Vladimir Krasnov <[email protected]>
  62. * Graphics.jvm.cs: bitmap resolution fix in DrawImage
  63. 2005-09-20 Vladimir Krasnov <[email protected]>
  64. * Graphics.jvm.cs: fixed DrawImage
  65. 2005-09-19 Miguel de Icaza <[email protected]>
  66. * Graphics.cs: Removed restriction on the images that can be
  67. loaded. Indexed images *can* be loaded
  68. 2005-09-18 Miguel de Icaza <[email protected]>
  69. * Image.cs: introduce a workaround that catches errors on systems
  70. that lack GDI+ as this is being triggered too easily when we
  71. enumerate attributes on loaded classes.
  72. The real bug to fix is #76062.
  73. 2005-09-17 Kornél Pál <[email protected]>
  74. * Image.cs: Implemented FromHbitmap.
  75. 2005-09-16 Sebastien Pouliot <[email protected]>
  76. * gdipFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes so
  77. the JIT won't add demands for UnmanagedCode.
  78. * carbonFunctions.cs: Add [SuppressUnmanagedCodeSecurity] attributes
  79. so the JIT won't add demands for UnmanagedCode on Mac OSX.
  80. * Bitmap.cs: Added LinkDemand for UnmanagedCode on GetHbitmap
  81. (+ overloads) and GetHicon methods.
  82. * Graphics.cs: Added LinkDemand for UnmanagedCode on FromHdcInternal,
  83. FromHwndInternal and ReleaseHdcInternal methods (which are all public
  84. despite their names).
  85. 2005-09-15 Konstantin Triger <[email protected]>
  86. * Graphics.jvm.cs: text transform, headless session
  87. 2005-09-14 Vladimir Krasnov <[email protected]>
  88. * Bitmap.jvm.cs: native object refactoring
  89. * Image.jvm.cs: native object refactoring
  90. * Graphics.jvm.cs: fixed access to image native object
  91. * TextureBrush.jvm.cs: fixed access to image native object
  92. * Added PlainImage.jvm.cs, PlainImageCollection.jvm.cs
  93. 2005-09-14 Geoff Norton <[email protected]>
  94. * carbonFunctions.cs: Add GetCGContextForNSView for Cocoa# integration
  95. * Graphics.cs: Check GDIPlus.UseCocoaDrawable for Cocoa# integration
  96. * gdipFunctions.cs: Set UseCocoaDrawable depending on the environment variable MONO_GDIP_USE_COCOA_BACKEND
  97. 2005-09-14 Konstantin Triger <[email protected]>
  98. * Graphics.jvm.cs: transform, container, thin pen
  99. 2005-09-12 Konstantin Triger <[email protected]>
  100. * AdvancedStroke.jvm.cs: constants for pen fitting calculations
  101. * Pen.jvm.cs: fixing transform, pen fitting
  102. 2005-09-12 Konstantin Triger <[email protected]>
  103. * Region.jvm.cs: IsVisible is about intersection
  104. 2005-09-12 Gert Driesen <[email protected]>
  105. * ImageConverter.cs: Use default TypeDescriptor implementation of
  106. GetProperties.
  107. 2005-09-11 Konstantin Triger <[email protected]>
  108. * Graphics.jvm.cs: fixing clipping with rotate transform
  109. 2005-09-11 Konstantin Triger <[email protected]>
  110. * Region.jvm.cs: default region is infinite
  111. 2005-09-10 Konstantin Triger <[email protected]>
  112. * Graphics.jvm.cs: fixing clipping stuff
  113. 2005-09-07 Vladimir Krasnov <[email protected]>
  114. * Bitmap.jvm.cs: fixed bitamp accessors
  115. * Image.jvm.cs: fixed image accessors
  116. 2005-09-07 Konstantin Triger <[email protected]>
  117. * AdvancedStroke.jvm.cs: fix matrix translate
  118. * Graphics.jvm.cs: fix matrix concatenation order
  119. 2005-09-07 Vladimir Krasnov <[email protected]>
  120. * Brush.jvm.cs: added transform methods
  121. 2005-09-06 Konstantin Triger <[email protected]>
  122. * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs:
  123. implementing fitting, output transform
  124. * Graphics.jvm.cs: fixing DrawXXX, Fill, Clipping, Containers
  125. 2005-09-06 Konstantin Triger <[email protected]>
  126. * ColorTranslator.cs: perform case insensitive check
  127. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  128. * gdipFunctions.cs: define new functions
  129. * Bitmap.cs: fixes image loading and exceptions
  130. * Image.cs: fixes image loading and exceptions
  131. Thanks Kornél Pál for its help
  132. 2005-08-30 Vladimir Krasnov <[email protected]>
  133. * Brush.jvm.cs: added brush transform field
  134. 2005-08-28 Vladimir Krasnov <[email protected]>
  135. * Graphics.jvm.cs: fixed .ctor (InterpolationMode)
  136. 2005-08-28 Konstantin Triger <[email protected]>
  137. * StrokeFactory.jvm.cs, AdvancedStroke.jvm.cs, Pen.jvm.cs
  138. Graphics.jvm.cs: adjust stroke before widening
  139. 2005-08-28 Vladimir Krasnov <[email protected]>
  140. * Graphics.jvm.cs: Implemented BeginContainer, EndContainer,
  141. Save, Restore
  142. 2005-08-26 Gert Driesen <[email protected]>
  143. * PointConverter.cs: Use Int32Converter instead of Int32.Parse. First
  144. convert string to int before checking number of components.
  145. * RectangleConverter.cs: same.
  146. * SizeConverter.cs: same.
  147. 2005-08-26 Gert Driesen <[email protected]>
  148. * ColorConverter.cs: Use Int32Converter instead of Int32.Parse to
  149. convert individual components. Special case string containing hex
  150. prefix. Convert components before checking count.
  151. 2005-08-25 Marek Safar <[email protected]>
  152. * gdipFunctions.cs: GetIconInfo new user32 method.
  153. GdipGetDC uses IntPtr.
  154. * gdipStructs.cs: Defined IconInfo struct.
  155. * Graphics.cs: FromImage throws exception when image has an indexed format.
  156. GetHdc fixed.
  157. * Icon.cs: Implemented FromHandle, Dispose.
  158. 2005-05-24 Michael Hutchinson <[email protected]>
  159. * ToolboxBitmapAttribute.cs: Implemented retrieving the image
  160. 2005-08-23 Vladimir Krasnov <[email protected]>
  161. * Graphics.jvm.cs: Fixed ResetTransform, TransfromPoints
  162. Fixed SmoothingMode property
  163. 2005-08-23 Jordi Mas i Hernandez <[email protected]>
  164. * Brushes: Do not create the objects every time that they are requested
  165. as in Pens we create and cache them only once when need it. This also
  166. fixes the Equals method between two objects requested to Brushes
  167. 2005-08-22 Jordi Mas i Hernandez <[email protected]>
  168. * SolidBrush.cs: Fixes Dispose to avoid non-disposing some objects
  169. * Brush.cs Fixes Dispose to avoid non-disposing some objects
  170. * Pen.cs: Fixes Dispose to avoid non-disposing some objects
  171. * Region.cs: Dipose always frees if the resource was allocated
  172. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  173. * gdipFunctions.cs: Before calling GdiplusShutdown we make that all of handles
  174. from gdiplus have been released
  175. 2005-08-18 Vladimir Krasnov <[email protected]>
  176. * Pen.jvm.cs: Fixed DashSpacing in createStrokedShape
  177. * Color.cs: Fixed java NativeObject property
  178. * Image.jvm.cs: Fixed Save method
  179. 2005-08-16 Andrew Skiba <[email protected]>
  180. * Icon.jvm.cs: match Bitmap internal constructor change
  181. * Image.jvm.cs: use ImageCodecInfo.Clsid as primary format id, not ImageFormat
  182. * Bitmap.jvm.cs: started changes for supporting ImageCodecInfo
  183. 2005-08-16 Gert Driesen <[email protected]>
  184. * Color.cs: To match MS.NET, throw ArgumentException instead of
  185. ArgumentOutOfRangeException when color is not between 0 and 255.
  186. * RectangleConverter.cs: Take culture into account when converting
  187. to/from string. Use culture's ListSeparator as separator character.
  188. 2005-08-16 Gert Driesen <[email protected]>
  189. * Color.cs: Fixed line endings. Set eol-style to native.
  190. * ColorConverter.cs: Fixed line endings. Set eol-style to native.
  191. * Size.cs: Set eol-style to native.
  192. * SizeF.cs: Use current culture in ToString(), set eol-style to native.
  193. * SizeConverter.cs: Take culture into account when converting to/from
  194. string. Set eol-style to native.
  195. * Point.cs: Fixed line endings. Set eol-style to native.
  196. * PointF.cs: Use current culture in ToString(), set eol-style to native.
  197. * PointConverter.cs: Take culture into account when converting to/from
  198. string. Set eol-style to native.
  199. * ImageFormatConverter.cs: Fixed line endings. Set eol-style to
  200. native.
  201. * RectangleConverter.cs: Fixed line endings. Set eol-style to native.
  202. 2005-08-16 Vladimir Krasnov <[email protected]>
  203. * Graphics.jvm.cs: Fixed InterpolationMode property
  204. 2005-08-15 Vladimir Krasnov <[email protected]>
  205. * Graphics.jvm.cs: Fixed DrawImage
  206. 2005-08-14 Gert Driesen <[email protected]>
  207. * ColorConverter.cs: Use TextInfo.ListSeparator as separator, as this
  208. appears to be what MS.NET uses.
  209. 2005-08-14 Gert Driesen <[email protected]>
  210. * Point.cs: Use invariant culture for converting numbers to string.
  211. * PointF.cs: same
  212. * SizeF.cs: same
  213. 2005-08-14 Gert Driesen <[email protected]>
  214. * Color.cs: Fixed ToString for uninitialized color.
  215. * ColorConverter.cs: Support conversion from whitespace-only string to
  216. Color.Empty. Fixed conversion from Color.Empty and known colors to
  217. string.
  218. 2005-08-14 Konstantin Triger <[email protected]>
  219. * Graphics.jvm.cs: Initial properties implementation
  220. 2005-08-14 Vladimir Krasnov <[email protected]>
  221. * Graphics.jvm.cs: DrawImage refactoring
  222. 2005-08-14 Vladimir Krasnov <[email protected]>
  223. * Graphics.jvm.cs: Implemented PageUnit, PageScale.
  224. Added UpdateInternalTransform
  225. Fixed DrawImage, Transform, ConcatenateTransform
  226. 2005-08-14 Vladimir Krasnov <[email protected]>
  227. * Icon.jvm.cs: Internal constructor from bitmap
  228. * Added SystemIcons.jvm.cs with implementation of SystemIcons
  229. 2005-08-14 Vladimir Krasnov <[email protected]>
  230. * Region.jvm.cs: Fixed GetBounds, IsVisible, IsEmpty, IsInfinite, Equals
  231. (all methods that use Graphics object)
  232. 2005-08-11 Konstantin Triger <[email protected]>
  233. * Graphics.jvm.cs: Refactoring
  234. 2005-08-11 Konstantin Triger <[email protected]>
  235. * Graphics.jvm.cs: Fixed Clear, Refactoring
  236. 2005-08-11 Konstantin Triger <[email protected]>
  237. * Graphics.jvm.cs: Fixed FillClosedCurve
  238. 2005-08-10 Zoltan Varga <[email protected]>
  239. * Rectangle.cs (Intersect): Return a non-empty rectangle if the two
  240. rectangles touch each other.
  241. 2005-08-09 Konstantin Triger <[email protected]>
  242. * Graphics.jvm.cs: Fixed DrawCurve.
  243. 2005-08-09 Konstantin Triger <[email protected]>
  244. * StrokeFactory.jvm.cs: use correct stroke
  245. 2005-08-09 Konstantin Triger <[email protected]>
  246. * Added AdvancedStoke.jvm.cs and StrokeFactory.jvm.cs
  247. * Pen refactoring.
  248. 2005-08-09 Andrew Skiba <[email protected]>
  249. * FontConverter.cs: exclude not implemented destructor from TARGET_JVM
  250. 2005-08-09 Andrew Skiba <[email protected]>
  251. * ColorConverter.cs, ColorTranslator.cs: fixes to pass tests
  252. committed in r48150
  253. 2005-08-08 Konstantin Triger <[email protected]>
  254. * Graphics.jvm.cs: Refactoring
  255. 2005-08-08 Vladimir Krasnov <[email protected]>
  256. * Graphics.jvm.cs: Fixed DrawPolygon
  257. 2005-08-08 Konstantin Triger <[email protected]>
  258. * Graphics.jvm.cs: Refactoring
  259. * Pen.jvm.cs: setting awt.Stroke as a base
  260. 2005-08-07 Konstantin Triger <[email protected]>
  261. * Graphics.jvm.cs: Refactoring
  262. 2005-08-07 Vladimir Krasnov <[email protected]>
  263. * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon to use GraphicsPath
  264. 2005-08-07 Andrew Skiba <[email protected]>
  265. * Rectangle.cs: Intersect fixed
  266. * RectandleF.cs: Intersect and Inflate fixed
  267. 2005-08-07 Andrew Skiba <[email protected]>
  268. * Point.cs: Produce same ToString result as dotnet
  269. 2005-08-07 Andrew Skiba <[email protected]>
  270. * Color.cs: GetHashCode is affected by Name, too
  271. 2005-08-07 Vladimir Krasnov <[email protected]>
  272. * Pen.jvm.cs: Fixed ctor, LineCap, SetLineCap
  273. 2005-08-07 Vladimir Krasnov <[email protected]>
  274. * Graphics.jvm.cs: Fixed DrawLines, DrawPolygon
  275. 2005-08-03 Andrew Skiba <[email protected]>
  276. * SolidBrush.jvm.cs: fix a typo
  277. 2005-08-03 Andrew Skiba <[email protected]>
  278. * Image.jvm.cs, StringFormat.jvm.cs, FontFamily.jvm.cs, Bitmap.jvm.cs,
  279. Pen.jvm.cs, Region.jvm.cs, Brush.jvm.cs, Graphics.jvm.cs, TextureBrush.jvm.cs,
  280. Font.jvm.cs: Added TARGET_JVM implementation
  281. 2005-08-03 Andrew Skiba <[email protected]>
  282. * Rectangle.cs, RectangleF.cs: TARGET_JVM - Add NativeObect property
  283. 2005-08-03 Andrew Skiba <[email protected]>
  284. * BasicShape.jvm.cs: Added TARGET_JVM specific class
  285. 2005-08-03 Andrew Skiba <[email protected]>
  286. * Icon.jvm.cs, SystemColors.jvm.cs: Added TARGET_JVM implementations
  287. 2005-08-03 Andrew Skiba <[email protected]>
  288. * ColorTranslator.cs: (GH merge) recognise HTML system colors
  289. 2005-08-02 Andrew Skiba <[email protected]>
  290. * SolidBrush.jvm.cs: added TARGET_JVM implementation of this class
  291. 2005-08-02 Andrew Skiba <[email protected]>
  292. * Color.cs: TARGET_JVM - NativeObject property
  293. 2005-07-27 Andrew Skiba <[email protected]>
  294. * Color.cs: Fixes equality operators, change isXXXcolor booleans into flags enum.
  295. 2005-07-27 Jordi Mas i Hernandez <[email protected]>
  296. * RectangleF.cs: Fixes IsEmpty logic
  297. 2005-06-23 Jordi Mas i Hernandez <[email protected]>
  298. * Graphics.cs: implements FromHwndInternal
  299. 2005-06-13 Peter Bartok <[email protected]>
  300. * Icon.cs(ToBitmap): If the icon is not 32bits, create the bitmap
  301. through an intermediary step, which turns it into a 32bit version.
  302. Fixes #75254
  303. 2005-06-13 Kornél Pál <[email protected]>
  304. * ComIStreamMarshaler.cs: Dispose releases managed objects as well,
  305. removed some unnecessary code
  306. * ComIStreamWrapper.cs: Reworked Seek method to proper support of
  307. positions beyond the size of stream
  308. 2005-06-11 Gonzalo Paniagua Javier <[email protected]>
  309. * Font.cs: fix platform checks.
  310. 2005-06-08 Jordi Mas i Hernandez <[email protected]>
  311. * Rectangle.cs:
  312. - Fixes is empty method IsEmpty logic
  313. - Fixes Contains method logic
  314. - Fixes IntersectsWith logic
  315. * RectangleF.cs:
  316. - Fixes is empty method IsEmpty logic
  317. - Fixes Contains method logic
  318. - Fixes IntersectsWith logic
  319. 2005-05-28 Kornél Pál <[email protected]>
  320. * ComIStreamMarshaler.cs: GC.SuppressFinalize(this) is not called in
  321. destructors. Some methods renamed. Removed unnecessary variables.
  322. 2005-05-25 Jonathan Gilbert <[email protected]>
  323. * Image.cs: Added retrieveGDIPalette () and storeGDIPalette ()
  324. and modified the Palette property to call them. This non-
  325. persistent behaviour was discovered by trial and error with
  326. Microsoft's implementation. In fact, the Palette property
  327. does not behave like a property at all! It is the only way an
  328. instance of System.Drawing.Imaging.ColorPalette can be created,
  329. and it reflects a backing store that is only updated when the
  330. property 'set' method is called. Also updated Clone () since
  331. the palette is no longer cached at image load time.
  332. * Image.cs: Added IsIndexedPixelFormat () in the same vein as
  333. Image::IsAlphaPixelFormat and Image::IsCanonicalPixelFormat.
  334. As such a function is not listed in MSDN nor given in
  335. Microsoft's implementation, I have made it a private function
  336. within the class that uses it.
  337. 2005-05-24 Kornél Pál <[email protected]>
  338. * Graphics.cs: Revised DrawString methods
  339. 2005-03-22 Peter Bartok <[email protected]>
  340. * Graphics.cs: Fixed bug #74762, DrawString was crashing on s.Length
  341. if s was null.
  342. 2005-05-20 Kornél Pál <[email protected]>
  343. * Image.cs: Uses MemoryStream wrapping on all platforms if needed
  344. * gdipFunctions.cs: Modified conditional compilation syntax
  345. * ComIStreamWrapper.cs: Modified conditional compilation syntax
  346. * ComIStreamMarshaler.cs: Modified conditional compilation syntax
  347. 2005-05-18 Marek Safar <[email protected]>
  348. * Bitmap.cs: Add null check into ctor.
  349. 2005-05-16 Jordi Mas i Hernandez <[email protected]> <[email protected]>
  350. * gdipFunctions.cs: Kornél Pál's IStream bug fixing
  351. * ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
  352. * ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing
  353. 2005-05-14 Jordi Mas i Hernandez <[email protected]> <[email protected]>
  354. * Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes
  355. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  356. * gdipFunctions.cs: add GdipLoadImageFromStream and GdipSaveImageToStream
  357. * ComIStreamWrapper.cs: Kornel Pal COM Stream for Win32
  358. * ComIStreamMarshaler.cs: Kornel Pal COM Stream for Win32
  359. * Image.cs: uses new Win32 Stream functions when need it
  360. 2005-05-10 Juraj Skripsky <[email protected]>
  361. * Color.cs: Fix GetSaturation() again and remove
  362. obsolete constants.
  363. 2005-05-10 Juraj Skripsky <[email protected]>
  364. * Color.cs: New, correct implementations for GetHue(),
  365. GetBrightness() and GetSaturation().
  366. 2005-05-09 Sebastien Pouliot <[email protected]>
  367. * gdipFunctions.cs: Use PlatformID.Unix under NET_2_0.
  368. * Graphics.cs: Use PlatformID.Unix under NET_2_0.
  369. * Image.cs: Use PlatformID.Unix under NET_2_0.
  370. 2005-05-05 Miguel de Icaza <[email protected]>
  371. * Bitmap.cs, Icon.cs (constructor): Use
  372. GetManifestResourceStream(Type,string) in the constructor that
  373. takes a type.
  374. 2005-04-27 Lluis Sanchez Gual <[email protected]>
  375. * PointF.cs: Make serialization compatible with MS.
  376. 2005-04-10 Geoff Norton <[email protected]>
  377. * Graphics.cs:
  378. carbonFunctions.cs:
  379. Use CGContextSynchronize instead of CGContextFlush. This saves
  380. on average 20000 ticks per drawing operation.
  381. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  382. * Color.cs: take into account the name color in == and != operators
  383. * Font.cs: Use Equals instead of == to compare the family name
  384. * FontFamily.cs:
  385. - Removes generic fontfamilies cache (done at libgdiplus level)
  386. - Fixes Equals method
  387. 2005-03-30 Jordi Mas i Hernandez <[email protected]>
  388. * Pen.cs: remove locks. They are done at gdiplus level
  389. * Brush.cs: remove locks. They are done at gdiplus level
  390. * Image.cs: remove locks. They are done at gdiplus level
  391. 2005-03-30 Rogério Pereira Araújo <[email protected]>
  392. * Icon.cs: Finished Icon(Type, String) ctor
  393. 2005-03-23 Jordi Mas i Hernandez <[email protected]>
  394. * gdipFunctions.cs: fixes GdipGetImagePalette signature
  395. * Image.cs: Implements Palette property using gdiplus
  396. 2005-03-17 Peter Bartok <[email protected]>
  397. * gdipFunctions.cs:
  398. - Changed P/Invoke signature for GdipLoadImageFromDelegate_linux()
  399. method, now includes a get header delegate
  400. - Added StreamGetHeaderImpl method, to allow libgdiplus to determine
  401. the image type even on non-seekable streams
  402. - Fixed StreamGetBytesImpl to consider the bytes already retrieved
  403. via StreamGetHeaderImpl
  404. * Image.cs: Fixed call to GdipLoadImageFromDelegate_linux() to include
  405. the new StreamGetHeader delegate
  406. 2005-03-15 Jordi Mas i Hernandez <[email protected]>
  407. * Pen.cs: Fixes dispose method to allow to be called multiple times
  408. * Graphics.cs: matrix are saved and restored at gdiplus level
  409. 2005-02-24 Geoff Norton <[email protected]>
  410. * gdipFunctions.cs: Cache the delegates in the GdiPlusStreamHelper
  411. so they dont get garbage collected before use.
  412. 2005-02-11 Peter Bartok <[email protected]>
  413. * gdipFunctions.cs: Fixed prototype to match previous checkin
  414. 2005-02-11 Peter Bartok <[email protected]>
  415. * Graphics.cs (FromImage): Fixed type of graphics to be IntPtr (since
  416. it really is a pointer)
  417. 2005-02-10 Geoff Norton <[email protected]>
  418. * Icon.cs: Implement GetObjectData ()
  419. * Image.cs: Implement GetObjectData ()
  420. 2005-02-09 Geoff Norton <[email protected]>
  421. * Icon.cs: Implement deserializer
  422. * Bitmap.cs: Implement deserializer
  423. 2005-02-06 Ben Maurer <[email protected]>
  424. * Brushes.cs: Kill the static ctor here, it has tons of code bloat.
  425. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  426. * Region.cs: revert Jackson's patch and fix this at libgdiplus level
  427. 2005-02-02 Jackson Harper <[email protected]>
  428. * Region.cs: The default region constructor creates and infinite
  429. region, not an empty one.
  430. 2005-01-27 Peter Bartok <[email protected]>
  431. * Color.cs (GetBrightness, GetSaturation, GetHue): Fixed calculations
  432. of HSV numbers. Previous implementation returned wrong numbers and NaN
  433. on achromatic colors
  434. 2005-01-27 Lluis Sanchez Gual <[email protected]>
  435. * PointConverter.cs, ImageFormatConverter.cs, RectangleConverter.cs,
  436. SizeConverter.cs, ColorConverter.cs, FontConverter.cs
  437. : Implemented support for InstanceDescriptor.
  438. 2005-01-26 Peter Bartok <[email protected]>
  439. * Icon.cs (ToBitmap): Now sets transparency in according to
  440. icon AND mask
  441. 2004-01-22 Jordi Mas i Hernandez <[email protected]>
  442. * gdipFunctions.cs: Fixes GdipGet* function signatures
  443. * FontFamily.cs: Fixes GdipGet* function calls
  444. * Font.cs: Fixes ToString method
  445. 2004-01-17 Jordi Mas i Hernandez <[email protected]>
  446. * Graphics.cs: calls XCloseDisplay on X11 when need it
  447. * gdipFunctions.cs: calls XCloseDisplay on X11 when need it
  448. 2004-12-27 Zoltan Varga <[email protected]>
  449. * gdipFunctions.cs Image.cs: Fix marshalling of arrays on amd64.
  450. 2004-12-16 Peter Bartok <[email protected]>
  451. * Graphics.cs (GetHdc): Removed Wine assumptions, the handle is now
  452. equivalent to the gdi+ native object
  453. * Font.cs (GetHfont): Removed Wine assumptions, the handle is now
  454. equivalent to the gdi+ native object
  455. 2004-12-09 Geoff Norton <[email protected]>
  456. * carbonFunctions.cs: New carbon functions/structures
  457. * Graphics.cs: Update FromHwnd to work without being in the carbon eventing loop
  458. 2004-12-08 Geoff Norton <[email protected]>
  459. * Graphics.cs: Drop FromHwndWithSize; we can't change the public API
  460. Add Quartz support to FromHwnd marshalling a struct back with the ptr/width/height.
  461. 2004-12-07 Geoff Norton <[email protected]>
  462. * Graphics.cs: Add FromHwndWithSize for the MWF/Quartz backend
  463. * gdipFunctions.cs: Add the quartz dllimport into libgdiplus
  464. 2004-12-06 Miguel de Icaza <[email protected]>
  465. * FontFamily.cs: This one is static.
  466. 2004-11-25 Ravindra <[email protected]>
  467. * gdipFunctions.cs (GdipCreateFontFromLogfontA): Changed return
  468. type from int to Status type.
  469. 2004-11-25 Marek Safar <[email protected]>
  470. * Image.cs: Add CheckStatus to SaveAdd.
  471. 2004-11-22 Ravindra <[email protected]>
  472. * Graphics.cs: Fixed null values handling in all overloads of
  473. MeasureString method.
  474. 2004-11-18 Ravindra <[email protected]>
  475. * gdipFunctions.cs: Removed the .so extension from a DllImport
  476. that hooks to X11.
  477. 2004-10-27 Jordi Mas i Hernandez <[email protected]>
  478. * gdipFunctions.cs: calls GdiplusShutdown to propery signal GDI+
  479. termination
  480. 2004-11-03 Miguel de Icaza <[email protected]>
  481. * TextureBrush.cs (Clone): While cloning, it is not enough to let
  482. GDIPlus clone the underlying data, we must alos clone the managed
  483. information.
  484. * Pen.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
  485. errors in the future, set the lock on the object before doing any
  486. other tests, not after.
  487. (Clone): While cloning, it is not enough to let
  488. GDIPlus clone the underlying data, we must alos clone the managed
  489. information.
  490. * Brush.cs (Dispose): Set the nativeObject to IntPtr.Zero to catch
  491. errors in the future.
  492. Set the lock in the object before checkign disposed.
  493. * SolidBrush.cs (Clone): While cloning, it is not enough to let
  494. GDIPlus clone the underlying data, we must alos clone the managed
  495. information.
  496. (Dispose): Set the nativeObject to IntPtr.Zero to catch
  497. errors in the future.
  498. 2004-10-28 Ravindra <[email protected]>
  499. * gdipFunctions.cs: Added checks for null stream in the
  500. StreamHelper internal class.
  501. * Icon.cs: Removed an ugly hack that used temp files in
  502. ToBitmap () method. We use MemoryStream instead.
  503. 2004-10-27 Jordi Mas i Hernandez <[email protected]>
  504. * Font.cs: fixes bug 66533
  505. 2004-10-22 Jordi Mas i Hernandez <[email protected]>
  506. * Bitmap.cs, Font.cs FontFamily.cs Graphics.cs Region.cs
  507. SolidBrush.cs StringFormat.cs TextureBrush.cs: removes the
  508. lock operations after conversation with Miguel. Do not really
  509. need it.
  510. 2004-10-22 Jordi Mas i Hernandez <[email protected]>
  511. * Bitmap.cs: Fixes MakeTransparent problem with 24bbps
  512. 2004-10-19 Jordi Mas i Hernandez <[email protected]>
  513. * Bitmap.cs: Fixes MakeTransparent method
  514. 2004-10-13 Ravindra <[email protected]>
  515. * Graphics.cs: Moved the initialization of 'use_x_drawable'
  516. member out of private constructor to class initialization.
  517. So that, we get it right even if Graphics is not instantiated.
  518. This fixes the problem we face (otherwise) when we make first
  519. call to Graphics.FromHwnd () method.
  520. 2004-10-08 Ravindra <[email protected]>
  521. * Image.cs: Suppress finalization in Dispose () method.
  522. 2004-10-04 Ravindra <[email protected]>
  523. * gdipFunctioncs.cs: Fix from Alois for bug #67383.
  524. 2004-09-29 Jackson Harper <[email protected]>
  525. * Graphics.cs: Use FromHdcInternal to set the X display
  526. handle. Add a flag to check if we are on unix so we aren't calling
  527. Environment.OSVersion.Platform all the time. Mad props to Peter
  528. Bartok for this.
  529. 2004-09-17 Marek Safar <[email protected]>
  530. * Font.cs (FromHfont, ToHfont): Fixed windows implementation.
  531. ToLogFont: Implemented.
  532. * gdipFunctions.cs: GdipCreateFromHDC changed int to IntPtr to
  533. avoid casts.
  534. GdipCreateFontFromLogfontA: A new extern call.
  535. 2004-09-13 Ravindra <[email protected]>
  536. * Graphics.cs: MSDN says that using image width and height gives
  537. better performance, hence we are using image width and height to
  538. avoid autoscaling in DrawImageUnscaled.
  539. 2004-09-10 Ravindra <[email protected]>
  540. * Graphics.cs: Implemented DrawIcon methods and fixed
  541. DrawImageUnscaled method implementation.
  542. 2004-08-21 Jackson Harper <[email protected]>
  543. * ImageAnimator.cs: Run animator as a background thread so we do
  544. not hang on exit.
  545. 2004-08-21 Ravindra <[email protected]>
  546. * gdipFunctions.cs: Modified exception message to include the case
  547. of missing required libraries for different formats.
  548. 2004-08-10 Jackson Harper <[email protected]>
  549. * SystemColors.cs: Make Highlight colour match colour from windows
  550. classic color scheme.
  551. 2004-07-30 Ravindra <[email protected]>
  552. * Font.cs: Fixed Height property implementation and implemented
  553. GetHeight method and its overloads.
  554. 2004-07-29 Sanjay Gupta <[email protected]>
  555. * gdipFunctions.cs: Corrected signature of GdipGetPropertyItem
  556. P/Invoke function for Image.
  557. * Image.cs: Implemented GetPropertyItem() and SetPropertyItem() method.
  558. 2004-07-29 Sanjay Gupta <[email protected]>
  559. * gdipFunctions.cs: Corrected signatures of GdipGetPropertySize and
  560. GdipGetAllPropertyItems P/Invoke function for Image.
  561. * gdipStructs.cs: Corrected MarshalTo() method of GdipPropertyItem.
  562. * Image.cs: Corrected implementation of PropertyItems property.
  563. 2004-07-29 Sanjay Gupta <[email protected]>
  564. * gdipFunctions.cs: Corrected signature of GdipGetPropertyIdList
  565. P/Invoke function for Image.
  566. * Image.cs: Changed implementation of PropertyIdList property.
  567. 2004-07-28 Sanjay Gupta <[email protected]>
  568. * gdipStructs.cs: Implementing PropertyItem property in Image.cs.
  569. * Image.cs: Implemented PropertyItems and PropertyIdList properties.
  570. 2004-07-21 Ravindra <[email protected]>
  571. * gdipFunctions.cs: Corrected signatures of GdipPathIterCopyData and
  572. GdipPathIterEnumerate P/Invoke functions for GraphicsPathIterator.
  573. 2004-07-21 Jordi Mas i Hernandez <[email protected]>
  574. * Graphics.cs: fixes MeasureCharacterRanges function. It was completely wrong.
  575. * StringFormat.cs: MeasurableCharacterRanges should be passed to GDI+
  576. * gdipFunctions.cs: new GDI function calls
  577. 2004-07-16 Ravindra <[email protected]>
  578. * gdipFunctions.cs: Added P/Invokes for GraphicsPathIterator.
  579. 2004-07-15 Ravindra <[email protected]>
  580. * gdipFunctions.cs: Removed GdipGetPathData P/Invoke. It is redundant.
  581. 2004-07-13 Ravindra <[email protected]>
  582. * gdipFunctions.cs: Removed GdipGetPathGradientRectI P/Invoke.
  583. This was redundant. It was kept in previous checkin to avoid
  584. build breakage.
  585. 2004-07-13 Ravindra <[email protected]>
  586. * gdipFunctions.cs: Added some P/Invokes for PathGradientBrush.
  587. 2004-07-09 Peter Bartok <[email protected]>
  588. * Graphics.cs: Added support required for new managed SWF library
  589. * gdipFunctions.cs: Added XOpenDisplay definition/import
  590. 2004-07-02 Jordi Mas i Hernandez <[email protected]>
  591. * gdipFunctions.cs: fixes bug 61050
  592. 2004-06-24 Sanjay Gupta <[email protected]>
  593. * ImageAnimator.cs: Rewrote complete implementation.
  594. 2004-06-24 Sanjay Gupta <[email protected]>
  595. * gdipFunctions.cs: Corrected issue in GdiPlusStreamHelper class.
  596. If read function was called after seek function call, the
  597. implementation was returning data from bytes already peeked and
  598. not from the new position in stream, which we have seeked.
  599. 2004-06-22 Jordi Mas i Hernandez <[email protected]>
  600. * Graphics.cs: added MeasureString wrappers
  601. 2004-06-22 Jordi Mas i Hernandez <[email protected]>
  602. * Graphics.cs, gdipFunctions.cs: define and use GdipSetVisibleClip_linux
  603. 2004-06-20 Jordi Mas i Hernandez <[email protected]>
  604. * Graphics.cs, gdipFunctions.cs: added missing clip function wrappers
  605. 2004-06-18 Ravindra <[email protected]>
  606. * FontConverter.cs: Implemented the missing functions.
  607. * Font.cs: Added some notes.
  608. 2004-06-16 Sanjay Gupta <[email protected]>
  609. * gdipFunctions.cs: Modified Function signature for
  610. GdipSaveImageToDelegate_linux() method for saving tiff images
  611. to streams.
  612. * image.cs: Modified function call GdipSaveImageToDelegate_linux()
  613. with new signature.
  614. 2004-06-15 Sanjay Gupta <[email protected]>
  615. * gdipFunctions.cs: Added delegate and StreamHelper functions, Close
  616. and Size, required by TIFFCodec. Modifed Function signature for
  617. GdipLoadImageFromDelegate_linux() method.
  618. * image.cs: Modified function call GdipLoadImageFromDelegate_linux()
  619. with new signature.
  620. 2004-06-11 Ravindra <[email protected]>
  621. * gdipFunctions.cs: (GdipCreateSolidFill): Changed one argument
  622. from out int to out IntPtr.
  623. * SolidBrush.cs: Same.
  624. 2004-06-10 Gert Driesen <[email protected]>
  625. * Image.cs: API signature fixes, meaning DisposeResources is now
  626. private and marked InitFromStream internal
  627. 2004-05-12 Jordi Mas i Hernandez <[email protected]>
  628. * FontFamily.cs: simplifies object destruction and fixes
  629. 2004-05-12 Jordi Mas i Hernandez <[email protected]>
  630. * FontFamily.cs: added destructor
  631. * Graphics.cs: added destructor to stop leaking, remove debugging code
  632. 2004-05-12 Jordi Mas i Hernandez <[email protected]>
  633. * gdipFunctions.cs: added GdipSaveAddImage
  634. * Image.cs: added SaveAdd methods
  635. 2004-06-02 Peter Bartok <[email protected]>
  636. * gdipFunctions.cs: Fixed reference to wrong DLLs for GetDC/ReleaseDC
  637. (This fixes bug #59479)
  638. 2004-06-01 Gert Driesen <[email protected]>
  639. * Font.cs: Added missing Browsable attribute on SizeInPoints.
  640. * Region.cs: Removed extra ComVisible attribute from Clone().
  641. 2004-06-01 Ravindra <[email protected]>
  642. * Pen.cs: Added a note on Dispose method.
  643. * Brush.cs: Fixed Dispose method.
  644. * SolidBrush.cs: Fixed Dispose method.
  645. 2004-05-28 Ravindra <[email protected]>
  646. * gdipFunctions.cs: Added some P/Invoke calls for Draw/Fill
  647. rectangles.
  648. * Graphics.cs: Implemented Dispose method and changed Draw/Fill
  649. rectangles implementation (This is basically done to avoid lots
  650. of brush and pen setup happening in libgdiplus.)
  651. 2004-05-27 Ravindra <[email protected]>
  652. * Color.cs: Changed Color.Green to what MS.NET has. Conforming to MS.
  653. 2004-05-26 Sanjay Gupta <[email protected]>
  654. * ImageFormatConverter.cs: Fixed issues discovered from nunit
  655. test cases.
  656. 2004-05-26 Ravindra <[email protected]>
  657. * Color.cs: Corrected Color.Green property.
  658. 2004-05-24 Jordi Mas i Hernandez <[email protected]>
  659. * gdipStructs.cs: remove unnecessary code, since bug 57706 is fixed
  660. 2004-05-20 Sanjay Gupta <[email protected]>
  661. * Icon.cs: Fixed issue with size property.
  662. 2004-05-18 Ravindra <[email protected]>
  663. * Pen.cs: Added value checks in DashPattern and CompoundArray
  664. properties.
  665. 2004-05-16 Gert Driesen <[email protected]>
  666. * Graphics.cs: fixed warning
  667. * ImageAnimator.cs: fixed warning
  668. * FontConverter.cs: fixed public API
  669. 2004-05-14 Vladimir Vukicevic <[email protected]>
  670. * gdipFunctions.cs: Fixed prototype for
  671. GdipGetEncoderParameterList
  672. * Image.cs: Reworked Save functions to handle EncoderParameters.
  673. Implemented GetEncoderParameterList
  674. Also removed unused setGDIPalette internal method.
  675. 2004-05-14 Peter Bartok <[email protected]>
  676. * StringFormat.cs: Added CharacterRange handling
  677. * Graphics.cs: Implemented MeasureCharacterRanges method
  678. 2004-05-14 Peter Bartok <[email protected]>
  679. * Graphics.cs: Added error check
  680. 2004-05-14 Duncan Mak <[email protected]>
  681. * gdipFunctions.cs (GdipCreatePath2I, GdipAddPathPieI):
  682. (GdipFlattenPath, GdipWarpPath, GdipWidenPath):
  683. (GdipGetPathWorldBounds, GdipGetPathWorldBoundsI): Imported.
  684. 2004-05-14 Sanjay Gupta <[email protected]>
  685. * ImageFormatConverter.cs: Modified implementation of ConvertFrom() method.
  686. 2004-05-13 Sanjay Gupta <[email protected]>
  687. * ImageFormatConverter.cs: Implemented GetStandardValuesSupported () method.
  688. 2004-05-13 Peter Bartok <[email protected]>
  689. * Bitmap.cs: Fixed bug #52868, Bitmap(Image, Size) did not
  690. resize the image.
  691. 2004-05-12 Peter Bartok <[email protected]>
  692. * Image.cs: Implemented GetThumbnailImage
  693. 2004-05-13 Sanjay Gupta <[email protected]>
  694. * Graphics.cs: Made method DrawRectangle (Pen , RectangleF) and
  695. FromXDrawable(IntPtr, IntPtr) internal.
  696. 2004-05-12 Jordi Mas i Hernandez <[email protected]>
  697. * Color.cs: work for API compatibilty: private date, todos
  698. * Font.cs: work for API compatibilty: private date, todos
  699. * FontFamily.cs: work for API compatibilty: private date, todos
  700. * Graphics.cs: work for API compatibilty: private date, todos
  701. * Icon.cs: work for API compatibilty: private date, todos
  702. * Image.cs: work for API compatibilty: private date, todos
  703. * ImageAnimator.cs: work for API compatibilty: private date, todos
  704. * Point.cs: work for API compatibilty: private date, todos
  705. * PointF.cs: work for API compatibilty: private date, todos
  706. * Rectangle.cs: work for API compatibilty: private date, todos
  707. * RectangleF.cs: work for API compatibilty: private date, todos
  708. * Region.cs: work for API compatibilty: private date, todos
  709. * Size.cs: work for API compatibilty: private date, todos
  710. * SizeF.cs: work for API compatibilty: private date, todos
  711. * SolidBrush.cs: work for API compatibilty: private date, todos
  712. * StringFormat.cs: work for API compatibilty: private date, todos
  713. * SystemPens.cs: work for API compatibilty: private date, todos
  714. * TextureBrush.cs: work for API compatibilty: private date, todos
  715. * gdipStructs.cs: work for API compatibilty: private date, todos
  716. 2004-05-12 Ravindra <[email protected]>
  717. * Bitmap.cs, Font.cs, FontConverter.cs, Graphics.cs, Icon.cs, Image.cs
  718. ImageAnimator.cs, Point.cs, PointF.cs, Rectangle.cs, RectangleF.cs
  719. Region.cs, Size.cs, SizeF.cs, ToolboxBitmapAttribute.cs, gdipFunctions.cs:
  720. Added missing attributes and some coding style fixes.
  721. * Pen.cs: Implementing CustomStartCap and CustomEndCap properties and
  722. some fixes.
  723. 2004-05-11 Sanjay Gupta <[email protected]>
  724. * ImageAnimator.cs: Implemented first version.
  725. 2004-05-11 Ravindra <[email protected]>
  726. * gdipFunctions.cs: Implementing AdjustableArrowCap. Added P/Invokes
  727. for the same.
  728. 2004-05-10 Ravindra <[email protected]>
  729. * gdipFunctions.cs: Implementing CustomLineCap. Added P/Invokes
  730. for the same. Added few related P/Invokes for Pen also.
  731. 2004-05-06 Sanjay Gupta <[email protected]>
  732. * ImageAnimator.cs: Corrected implementation of CanAnimate() method.
  733. 2004-05-06 Ravindra <[email protected]>
  734. * RectangleConverter.cs: Implemented GetProperties () method.
  735. * SizeConverter.cs: Implemented GetProperties () method.
  736. * PointConverter.cs: Implemented GetProperties () method.
  737. * FontConverter.cs: Implemented some of the methods.
  738. 2004-05-06 Ravindra <[email protected]>
  739. * Color.cs: Fixed Name property.
  740. * ColorTranslator.cs: Fixed the existing methods and implemented
  741. the missing methods.
  742. * ColorConverter.cs: Fixed the existing methods and implemented
  743. the missing methods. Also, fixed coding style.
  744. 2004-05-05 Jordi Mas i Hernandez <[email protected]>
  745. * Bitmap.cs: Let GDI+ calculate the strides, as it does in Win32.
  746. 2004-05-05 Jordi Mas i Hernandez <[email protected]>
  747. * Image.cs: raw_format should be handled by GDI+
  748. * Bitmap.cs: raw_format should be handled by GDI+
  749. 2004-05-04 Ravindra <[email protected]>
  750. * Pen.cs: Modified exception message. Fixed Transform, DashPattern,
  751. and DashCap properties. Implementing CoumpoundArray, StartCap, EndCap
  752. properties and SetLineCap method. In constructors use IntPtr instead
  753. of int.
  754. * SolidBrush.cs: Modified exception message.
  755. * TextureBrush.cs: Fixed Transform property.
  756. * gdipFunctions.cs: Fixed P/Invokes for Pen.cs, TextureBrush.cs and
  757. LinearGradientBrush.cs.
  758. 2004-04-30 Sanjay Gupta <[email protected]>
  759. * Image.cs: Implemented FrameDimensionsList property.
  760. 2004-04-30 Ravindra <[email protected]>
  761. * gdipFunctions.cs: Added few more P/Invoke calls for
  762. lineargradient brush and added one case statement in
  763. CheckStatus method.
  764. 2004-04-30 Jordi Mas i Hernandez <[email protected]>
  765. * Image.cs: takes into account MemoryBmp format when saving
  766. 2004-04-30 Ravindra <[email protected]>
  767. * StringFormat.cs: Added checks for status.
  768. 2004-04-30 Sanjay Gupta <[email protected]>
  769. * Image.cs: Removed calls which passes byte[] for Guid parameter.
  770. * gdipFunctions.cs: Removed unwanted unix specific function calls.
  771. 2004-04-30 Ravindra <[email protected]>
  772. * Graphics.cs: Added checks for status.
  773. * Image.cs: Added a check for status.
  774. * FontFamily.cs: Added checks for status.
  775. 2004-04-29 Peter Bartok <[email protected]>
  776. * Brushes.cs: Fixed bug #52695. No longer creates a new
  777. brush for every request and behaves Microsoft compatible
  778. 2004-04-29 Jordi Mas i Hernandez <[email protected]>
  779. * Image.cs: fixes Save method. It now retrieves the proper encoder and uses
  780. its ClsID instead of the formatID (as GDI+ expects)
  781. 2004-04-29 Ravindra <[email protected]>
  782. * Font.cs: Added checks for status.
  783. * Bitmap.cs: Added checks for status.
  784. * Pen.cs: Added checks for status.
  785. 2004-04-28 Sanjay Gupta <[email protected]>
  786. * ColorTranslator.cs, StringFormat.cs, SystemIcons.cs, ToolBoxBitmapAttributes.cs:
  787. Converted to unix format from dos format.
  788. 2004-04-28 Sanjay Gupta <[email protected]>
  789. * ImageConverter.cs: Implemented GetProperties() and GetPropertiesSupported () methods.
  790. 2004-04-28 Jordi Mas i Hernandez <[email protected]>
  791. * gdipStructs.cs: added GdipImageCodecInfo struct
  792. 2004-04-28 Sanjay Gupta <[email protected]>
  793. * ImageFormatConverter.cs: Corrected ConvertFrom method.
  794. 2004-04-27 Sanjay Gupta <[email protected]>
  795. * ImageConverter.cs: Added exception message.
  796. * IconConverter.cs: Added exception message.
  797. * ImageFormatConverter.cs: Implemented first version.
  798. 2004-04-27 Sanjay Gupta <[email protected]>
  799. * ImageConverter.cs: Implemented first version.
  800. 2004-04-27 Sanjay Gupta <[email protected]>
  801. * IconConverter.cs: Implemented first version.
  802. 2004-04-26 Sanjay Gupta <[email protected]>
  803. * Image.cs: Corrected implementation of Property RawFormat.
  804. * gdipFunctions.cs: Corrected declaration of GdipGetImageRawFormat.
  805. 2004-04-25 Sanjay Gupta <[email protected]>
  806. * Bitmap.cs: Resolved a compile time error.
  807. * Image.cs: Changed the implementation of few methods to progress
  808. with ImageAnimator class.
  809. * gdipFunctions.cs: Added few linux only function calls.
  810. * Icon.cs: Removed unused variable from code.
  811. 2004-04-25 Vladimir Vukicevic <[email protected]>
  812. * Graphics.cs, gdipFunctions.cs: Added CreateFromXDrawable_linux.
  813. 2004-04-23 Vladimir Vukicevic <[email protected]>
  814. * Commited patch from [email protected] (Bnehamin Jemlich) for
  815. serialization for Bitmaps. (Bugzilla #52568)
  816. 2004-04-23 Ravindra <[email protected]>
  817. * RectangleConverter.cs: Fixed ConvertTo () method.
  818. * SizeConverter.cs: Fixed ConvertTo () method.
  819. * PointConverter.cs: Fixed ConvertTo () method.
  820. 2004-04-23 Sanjay Gupta <[email protected]>
  821. * ImageAnimator.cs: Implemented CanAnimate() method.
  822. 2004-04-22 Jordi Mas i Hernandez <[email protected]>
  823. * Image.cs: added RotateFlip and RemovePropertyItem calls
  824. 2004-04-22 Ravindra <[email protected]>
  825. * RectangleConverter.cs: Implemented. Also changed file format
  826. dos2unix.
  827. * Rectangle.cs: Fixed ToString method.
  828. * RectangleF.cs: Fixed ToString method.
  829. 2004-04-22 Ravindra <[email protected]>
  830. * SizeConverter.cs: Implemented some of the functions.
  831. * PointConveter.cs: Implemented.
  832. * gdipFunctions.cs: Corrected one typo.
  833. * Brushes.cs: Added a comment.
  834. 2004-04-22 Vladimir Vukicevic <[email protected]>
  835. * gdipFunctions.cs: Fix StreamGetBytesImpl to handle
  836. returning portions of the peek buffer back. Fixes #57379.
  837. 2004-04-21 Peter Bartok <[email protected]>
  838. * Font.cs: Implemented Font.FromHfont method
  839. * gdipStructs.cs: fixed sign for LOGFONTA lfHeight member
  840. * gdipFunctions.cs: Added imports for functions required to support
  841. Font.FromHfont method
  842. 2004-04-21 Jordi Mas i Hernandez <[email protected]>
  843. * RectangleConverter.cs: stubbed out
  844. * Font.cs : added missing members
  845. 2004-04-19 Sanjay Gupta <[email protected]>
  846. * Icon.cs: Fixed problem in extracting bitmap from Icon.
  847. 2004-04-16 Ravindra <[email protected]>
  848. * Pen.cs: GC should be allowed to collect any pen including
  849. system pens.
  850. * SolidBrush.cs: GC should be allowed to collect any SolidBrush
  851. including system brushes.
  852. * Brushes.cs: Coding style.
  853. * Pens.cs: Objects created by Pens are not modifiable on
  854. MS.NET, so we are now. Also, coding style fixes.
  855. * SystemPens.cs: Removed static constructor and changed file
  856. format dos2unix.
  857. * SystemBrushes.cs: Some cosmetic changes.
  858. 2004-04-15 Sanjay Gupta <[email protected]>
  859. * Icon.cs: Implemented more missing bits and fixed the problem
  860. of icon not getting saved in proper format
  861. 2004-04-14 Sanjay Gupta <[email protected]>
  862. * Icon.cs: Implemented more missing bits
  863. 2004-04-13 Sanjay Gupta <[email protected]>
  864. * Icon.cs: Implemented few more missing bits
  865. 2004-04-12 Sanjay Gupta <[email protected]>
  866. * Icon.cs: Implemented first version
  867. 2004-04-11 Peter Bartok <[email protected]>
  868. * Font.cs: Implemented Font.ToHfont method; used Jordi's suggestion of splitting
  869. the code and using our own private gdiplus function when on Unix and using Win32
  870. functions when running on Windows
  871. * gdipStructs.cs: Added LOGFONTA structure
  872. * gdipFunctions.cs: Added various DllImports required for Font.ToHfont
  873. 2004-04-10 Vladimir Vukicevic <[email protected]>
  874. * Image.cs: Save should use encoder.FormatID, not Clsid
  875. 2004-04-06 Jordi Mas i Hernandez <[email protected]>
  876. * Region.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
  877. * gdipFunctions.cs: fixes GdipCombineRegionRect and GdipCombineRegionRectI signature
  878. 2004-04-06 Duncan Mak <[email protected]>
  879. * gdipFunctions.cs (GdipCreatePath2): Fixed signature.
  880. 2004-04-06 Jordi Mas i Hernandez <[email protected]>
  881. * Region.cs: fixes GetRegionScans
  882. * gdipFunctions.cs: fixes GetRegionScans
  883. 2004-04-06 Vladimir Vukicevic <[email protected]>
  884. * gdipFunctions.cs: Added stream delegate helpers for
  885. stream loading/saving on linux
  886. * Image.cs, Bitmap.cs: Converted to call into GDIPlus for
  887. loading/saving image data.
  888. 2004-04-05 Jordi Mas i Hernandez <[email protected]>
  889. * Region.cs: implemented new methods
  890. * Graphics.cs: implemented new methods
  891. 2004-04-02 Jordi Mas i Hernandez <[email protected]>
  892. * Region.cs: implemented
  893. 2004-04-01 Duncan Mak <[email protected]>
  894. * Graphics.cs (DrawCurve): Call the correct GDI+ wrappers.
  895. * gdipFunctions.cs (GdipAddPathCurveI):
  896. (GdipAddPathCurve2, GdipAddPathCurve2I):
  897. (GdipAddPathCurve3, GdipAddPathCurve3I):
  898. (GdipAddPathClosedCurve, GdipAddPathClosedCurveI):
  899. (GdipAddPathClosedCurve2, GdipAddPathClosedCurve2I): Added new
  900. wrappers from GDI+.
  901. 2004-03-30 Jordi Mas i Hernandez <[email protected]>
  902. * Image.cs: implemented a few GDI+ wrapper calls
  903. 2004-03-30 Jordi Mas i Hernandez <[email protected]>
  904. * Bitmap.cs: remove redundant data already present at Image.cs
  905. * Image.cs: use GDI+ functions to get image details
  906. * StringFormat.cs: missing constructor and property
  907. 2004-03-24 Jordi Mas i Hernandez <[email protected]>
  908. * FontFamily.cs: added missing members and style clean
  909. * Graphics.cs: fixed signature of DrawArc and DrawPie
  910. * Image.cs: added missing members, fixes
  911. * StringFormat.cs: missing constructor and property
  912. 2004-03-24 Jordi Mas i Hernandez <[email protected]>
  913. * Graphics.cs: Added missing DrawImage GDI+ calls
  914. * gdipFunctions.cs: Added missing DrawImage GDI+ calls
  915. 2004-03-23 Ravindra <[email protected]>
  916. * gdipFunctions.cs: Added few more P/Invoke calls for
  917. LinearGradientBrush.
  918. 2004-03-22 Ravindra <[email protected]>
  919. * gdipFunctions.cs: Added P/Invoke calls for LinearGradientBrush
  920. and did few coding style fixes.
  921. 2004-03-18 Ravindra <[email protected]>
  922. * Brush.cs: Fixed Dispose method.
  923. * SolidBrush.cs: Fixed clone method.
  924. * TextureBrush.cs: Fixed clone method.
  925. * gdipFunctions.cs: Fixed P/Invokes for PathGradientBrush.
  926. 2004-03-13 Gonzalo Paniagua Javier <[email protected]>
  927. * SizeConverter.cs: fixd typo in ConvertFrom that made height be wrong.
  928. 2004-03-10 Ravindra <[email protected]>
  929. * Pen.cs: Implemented PenType property.
  930. * Brush.cs: Coding style.
  931. 2004-03-06 Ravindra <[email protected]>
  932. * gdipFunctions.cs: Added few more GDI+ P/Invoke calls
  933. for PathGradientBrush.
  934. 2004-03-06 Ravindra <[email protected]>
  935. * gdipFunctions.cs: Added GDI+ P/Invoke calls for
  936. PathGradientBrush.
  937. 2004-03-04 Duncan Mak <[email protected]>
  938. * Region.cs: Indentation.
  939. * RectangleF.cs: Changed the internal structure from a PointF,
  940. SizeF to floats in order to match the layout from the C API.
  941. 2004-03-04 Jordi Mas i Hernandez <[email protected]>
  942. * StringFormat.cs: DigitSubstitution and TabStob methods, coding-style
  943. 2004-03-03 Sanjay Gupta <[email protected]>
  944. * gdipFunctions.cs: Added functions for ImageAttributes
  945. 2004-03-03 Sanjay Gupta <[email protected]>
  946. * Icon.cs: Missing function stubs added
  947. * Icon.cs: Missing function stubs added
  948. * IconConverter.cs: Missing function stubs added
  949. * ImageAnimator.cs: Missing function stubs added
  950. * ImageConverter.cs: Missing function stubs added
  951. * ImageFormatConverter.cs: Missing function stubs added
  952. 2004-03-02 Jordi Mas i Hernandez <[email protected]>
  953. * Font.cs: Allow multiple styles
  954. 2004-02-25 Jordi Mas i Hernandez <[email protected]>
  955. * StringFormat.cs: Clone method
  956. 2004-02-24 Jordi Mas i Hernandez <[email protected]>
  957. * font.cs: fixes, Clone, and ToString
  958. 2004-02-21 Jordi Mas i Hernandez <[email protected]>
  959. * gdipFunctions.cs: MeasureString
  960. * Graphics.cs : MeasureString
  961. 2004-02-17 Jordi Mas i Hernandez <[email protected]>
  962. * Font.cs: destructor and unit conversion
  963. * Graphics.cs : system dpi support
  964. 2004-02-13 Ravindra <[email protected]>
  965. * Pen.cs: Fixed some bugs.
  966. * TextureBrush.cs: Fixed some bugs.
  967. 2004-02-13 Sanjay Gupta <[email protected]>
  968. * gdipFunctions.cs: Added ImageCodecInfo functions
  969. * Image.cs: Added few methods
  970. 2004-02-13 Jordi Mas i Hernandez <[email protected]>
  971. * FontFamily.cs: remove hardcoded font names, a few bug fixes
  972. 2004-02-12 Sanjay Gupta <[email protected]>
  973. * gdipFunctions.cs: Added Image class functions
  974. * Image.cs: Added few methods
  975. 2004-02-10 Jordi Mas i Hernandez <[email protected]>
  976. * graphics.cs: fixes parameters for DrawStrings functions
  977. 2004-02-07 Andreas Nahr <[email protected]>
  978. * SRDescriptionAttribute.cs: Added and implemented
  979. * ToolboxBitmapAttribute.cs: Implemented a few members
  980. * SystemIcons.cs: Stubbed
  981. * StringFormat.cs: Implemented method
  982. * Region.cs: Added Todo, fixed attribute
  983. * Size.cs: Added attribute
  984. * SizeF.cs: Added attribute
  985. * RectangleF.cs: Added attributes
  986. * Rectangle.cs: Added attributes
  987. * PointF.cs: Added attribute
  988. * Point.cs: Added attribute
  989. 2004-02-06 Ravindra <[email protected]>
  990. * Brush.cs: Renamed GetException method to CheckStatus
  991. and moved it to gdipFunctions.cs.
  992. * gdipFunctions.cs: Added CheckStatus method.
  993. * SolidBrush.cs: Using CheckStatus method.
  994. * TextureBrush.cs: Using CheckStatus method.
  995. * gdipEnums.cs: Added a missing value.
  996. 2004-02-05 Ravindra <[email protected]>
  997. * Brush.cs: Added a missing namespace.
  998. 2004-02-05 Ravindra <[email protected]>
  999. * gdipFunctions.cs: Added methods for HatchBrush and
  1000. SolidBrush.
  1001. * SolidBrush.cs: Added checks for status.
  1002. * Brush.cs: Added support for HatchBrush and TextureBrush
  1003. types in internal CreateBrush() method.
  1004. 2004-02-03 Jordi Mas <[email protected]>
  1005. * Font.cs: Setup font properties
  1006. 2004-02-03 Ravindra <[email protected]>
  1007. * TextureBrush.cs and Brush.cs: Moved GetException (Status)
  1008. method from TextureBrush.cs to Brush.cs.
  1009. * Brush.cs: Made GetException (Status) method internal.
  1010. 2004-02-03 Sanjay Gupta <[email protected]>
  1011. * gdipFunctions.cs: Added methods for Image class.
  1012. 2004-01-30 Ravindra <[email protected]>
  1013. * TextureBrush.cs: Added more methods to complete it.
  1014. * gdipFunctions.cs: Added methods for TextureBrush class.
  1015. 2004-01-30 Ravindra <[email protected]>
  1016. * gdipFunctions.cs: Added methods for TextureBrush class.
  1017. 2004-01-30 Ravindra <[email protected]>
  1018. * Pen.cs: Modified to handle TextureBrush also.
  1019. * Bitmap.cs: Added one internal constructor.
  1020. * TextureBrush.cs: Implemented.
  1021. 2004-01-29 Duncan Mak <[email protected]>
  1022. * gdipFunctions.cs
  1023. * Graphics.cs: Indentation fixes, removed long dangling lines and
  1024. extra spaces.
  1025. * Graphics.cs (IsVisible): Renamed variable to not use hungarian
  1026. notation.
  1027. 2004-01-29 Sanjay Gupta <[email protected]>
  1028. * FontFamily.cs: Implemented few methods and a constructor
  1029. 2004-01-28 Sanjay Gupta <[email protected]>
  1030. * gdipFunctions.cs: Added FontFamily and FontCollection functions.
  1031. * FontFamily.cs: Implemented missing functionalities.
  1032. 2004-01-24 Duncan Mak <[email protected]>
  1033. * Graphics.cs (DrawPath): Implemented.
  1034. 2004-01-23 Ravindra <[email protected]>
  1035. * Point.cs: ToString modified.
  1036. * PointF.cs: ToString modified.
  1037. * Size.cs: ToString modified.
  1038. * SizeF.cs: ToString modified. ToPoint and ToSize methods
  1039. are added.
  1040. 2004-01-21 Jordi Mas i Hernàndez
  1041. * Bitmap.cs: Several new methods added.
  1042. 2004-01-21 Duncan Mak <[email protected]>
  1043. * gdipFunctions.cs (GdipGetPathTypes, GdipGetPathPoints): Add
  1044. OutAttribute to the array argument. This fixes the PathPoints
  1045. property in System.Drawing.Drawing2D.GraphicsPath.
  1046. 2004-01-20 Ravindra <[email protected]>
  1047. * Pen.cs: Fixed bug #52811 in Pen.Transform property. Setting
  1048. this property was hanging and getting was throwing a NullRef
  1049. Exception. Earlier we were passing Matrix object to and fro
  1050. which was causing the problem. Now, we are using IntPtr.
  1051. Thanks to Duncan for helping me.
  1052. Also, .NET behavior is to maintain Pen.Color and Pen.Brush
  1053. together. If color is set, a SolidBrush automatically gets
  1054. set with the same color, Pen loses the old brush object.
  1055. If a SolidBrush is set, Pen.Color gets the value same as that
  1056. of brush color losing the old value. Pen shows this behavior
  1057. now.
  1058. * gdipFunctions.cs: Changed the signature of GdipGetPenTransform
  1059. and GdipSetPenTransform methods to use IntPtr instead of Matrix.
  1060. 2004-01-19 Duncan Mak <[email protected]>
  1061. * gdipFunctions.cs: Import functions for GraphicsPath.
  1062. 2004-01-14 Ravindra <[email protected]>
  1063. * SolidBrush.cs: Made SolidBrush to initialize its color
  1064. from IntPtr.
  1065. * gdipFunctions.cs: Added call to GdipGetSolidFillColor GDI+ API.
  1066. 2004-01-11 Duncan Mak <[email protected]>
  1067. * Bitmap.cs (LockBits):
  1068. * Graphics.cs (DrawString): Removed reference to GpRectF.
  1069. 2004-01-09 Duncan Mak <[email protected]>
  1070. * gdipStructs.cs (GpRectF, GpRect, GpPointF, GpPoint):
  1071. Removed. Didn't know that structs are laid out sequentially by
  1072. default. We don't need these anymore.
  1073. 2004-01-12 Ben Maurer <[email protected]>
  1074. * Color.cs: Keep KnownColors in an array so that we avoid ht lookup.
  1075. 2004-01-11 Daniel Morgan <[email protected]>
  1076. * Graphics.cs: fix compile error on Windows builds for out
  1077. parameter state in call to GdipSaveGraphics
  1078. 2004-01-10 Ravindra <[email protected]>
  1079. * All Enums: Made serializable.
  1080. * Image.cs: Corrected signature of Dispose(bool) method.
  1081. * Pen.cs, SolidBrush.cs, SystemPens.cs, SystemBrushes.cs:
  1082. Corrected coding style mistakes of my previous commit.
  1083. * PointConverter.cs, RectangleConverter.cs: Inherit TypeConverter.
  1084. * PointF.cs, RectangleF.cs, SizeF.cs: Made serializable.
  1085. * StringFormat.cs: Inherits MarshalByRefObject.
  1086. * ToolboxBitmapAttribute.cs: Added missing attribute [AttributeUsage].
  1087. 2004-01-08 Ravindra <[email protected]>
  1088. * Pen.cs: Added isModifiable (bool) variable. It is required to
  1089. make Pens created by SystemPens.cs unmodifiable. All property
  1090. setters are modified for this.
  1091. * SolidBrush.cs: Added isModifiable variable (bool). It is
  1092. required to make Brushes created by SystemBrushes.cs unmodifiable.
  1093. All property setters are modified for this.
  1094. * SystemBrushes.cs: Modified all the properties as per the .NET
  1095. specs, so that Brushes are not created every time. Also, missing
  1096. properties are added.
  1097. * SystemPens.cs: Modified all the properties as per the .NET
  1098. specs, so that Brushes are not created every time. Also, missing
  1099. properties are added.
  1100. 2003-12-12 Miguel de Icaza <[email protected]>
  1101. * Rectangle.cs: Patch from Bryan Bulten, fixes Inflate and makes
  1102. it serializable
  1103. 2004-01-06 Duncan Mak <[email protected]>
  1104. * gdipFunctions.cs: Import GraphicsPath functions from GDI+.
  1105. 2003-12-21 Duncan Mak <[email protected]>
  1106. * Graphics.cs (DrawArc): Fixed the method signature and hooked it
  1107. up to the GDI+ implementation.
  1108. (RotateTransform): Uncommented.
  1109. * gdipFunctions.cs (DrawArc, DrawArcI): Import from
  1110. libgdiplus.so.dll.
  1111. 2003-12-13 Todd Berman <[email protected]>
  1112. * Font.cs: Implementing a couple things for porting purposes
  1113. * SystemBrushes.cs: ^
  1114. * StringFormat.cs: ^^
  1115. 2003-11-28 Duncan Mak <[email protected]>
  1116. * Pen.cs (CompoundArray): Hide this for now.
  1117. 2003-11-28 Duncan Mak <[email protected]>
  1118. * Brush.cs (CreateBrush): new internal factory method for creating
  1119. specific brushes based on the internal (GDI+ C API) BrushType
  1120. enum.
  1121. (Brush (IntPtr)): new internal constructor.
  1122. * Pen.cs: Removed all the C# fields. We are using GDI+ completely
  1123. now.
  1124. (Pen (IntPtr)): new internal constructor.
  1125. (Pen (Brush, float)): Use GdipCreateBrush2.
  1126. (Clone): Implemented using GdipClonePen.
  1127. (Alignment, Brush, Color, Width): Use GDI+ implementations
  1128. instead.
  1129. (CompoundArray, DashCap, DashOffset, DashPattern, DashStyle):
  1130. Implemented these properties.
  1131. (CustomStartCap, CustomEndCap, StartCap, EndCap, SetLineCap): Stubbed.
  1132. (MultiplyTransform, ResetTransform, RotateTransform):
  1133. (ScaleTransform, TranslateTransform): Implemented these methods.
  1134. * SolidBrush.cs (SolidBrush (IntPtr)): new internal constructor.
  1135. * gdipEnums.cs (BrushType): Added new GDI+ enum.
  1136. * gdipFunctions.cs: Imported new Brush and Pen functions.
  1137. 2003-11-22 Duncan Mak <[email protected]>
  1138. * gdipFunctions.cs
  1139. (GdipResetWorldTransform, GdipSetWorldTransform):
  1140. (GdipGetWorldTransform, GdipScaleWorldTransform): Imported.
  1141. * Graphics.cs: Remove unnecessary TODO, and reformatted the code.
  1142. (transform): Removed this field. Always use the
  1143. matrix associated in the GpGraphics ptr.
  1144. (DrawBeziers): Implemented.
  1145. (DrawLine): Don't need to manually invoke the transform now.
  1146. (MultiplyTransform, ResetTransform):
  1147. (ScaleTransform, TranslateTransform): Use GDI+ implementation.
  1148. (Transform): Instead of storing a Matrix in managed code, use
  1149. equivalent GDI+ functions.
  1150. 2003-11-21 Gonzalo Paniagua Javier <[email protected]>
  1151. * SizeConverter.cs: fixed class signature and implemented some methods.
  1152. 2003-11-17 Duncan Mak <[email protected]>
  1153. * gdipFunctions.cs (GdipGetMatrixElements): Fix signature.
  1154. * Graphics.cs (MultiplyTransform): Commented out until my Matrix commit.
  1155. 2003-11-17 Duncan Mak <[email protected]>
  1156. * Bitmap.cs (LockBits):
  1157. * Graphics.cs (DrawString): Use GpRectF.
  1158. * gdipFunctions.cs: Updated method signatures.
  1159. * Graphics.cs (MultiplyTransform): Implemented using
  1160. GdipMultiplyWorldTransform from GDI+.
  1161. * gdipStructs.cs (GdipRectF, GdipRect): Renamed to GpRectF and
  1162. GpRect, to be more consistent with the C naming.
  1163. 2003-11-16 Miguel de Icaza <[email protected]>
  1164. * Graphics.cs: Implement the other DrawString overloads .
  1165. 2003-11-16 Miguel de Icaza <[email protected]>
  1166. * gdipStructs.cs (GdipRectF): Added utility constructor
  1167. 2003-11-15 Duncan Mak <[email protected]>
  1168. * gdipFunctions.cs: Imported matrix functions.
  1169. 2003-11-13 Andreas Nahr <[email protected]>
  1170. * Bitmap.cs: Added Attributes
  1171. * ColorTranslator.cs: Added private constructor
  1172. * Font.cs: Added Attributes
  1173. * FontFamily.cs: sealed
  1174. * Icon.cs: Added Attributes
  1175. * IconConverter.cs: Fixed signature
  1176. * Image.cs: Added attributes
  1177. * ImageAnimator.cs:
  1178. * ImageConverter.cs:
  1179. * ImageFormatConverter.cs:
  1180. * SolidBrush.cs:
  1181. * StringFormat.cs:
  1182. * SystemBrushes.cs:
  1183. * SystemColors.cs:
  1184. * SystemIcons.cs:
  1185. * SystemPens.cs:
  1186. * TextureBrush.cs: Fixed signature
  1187. * Color.cs: Added attributes
  1188. * Point.cs:
  1189. * PointF.cs:
  1190. * Rectangle.cs:
  1191. * Size.cs:
  1192. * SizeF.cs: Added attributes
  1193. * ContentAlignment.cs: Added attribute
  1194. 2003-11-13 Duncan Mak <[email protected]>
  1195. * Pen.cs (LineCap, LineJoin, MiterLimit, Transform): implemented.
  1196. * gdipFunctions.cs
  1197. (GdipSetPenMiterLimit, GdipGetPenMiterLimit):
  1198. (GdipSetPenLineJoin, GdipGetPenLineJoin):
  1199. (GdipSetPenLineJoin, GdipGetPenTransform): imported.
  1200. 2003-11-12 Alexandre Pigolkine <[email protected]>
  1201. * Bitmap.cs
  1202. * gdipFunctions.cs copy image in Bitmap constructor
  1203. 2003-11-06 Duncan Mak <[email protected]>
  1204. * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
  1205. angle parameters for the integer case.
  1206. (DrawBezier): Hook it up with GdipDrawBezier.
  1207. (DrawEllipse): Fix Width, Height ordering.
  1208. 2003-11-05 Duncan Mak <[email protected]>
  1209. * Graphics.cs (DrawPie):
  1210. * gdipFunctions.cs (GdipDrawPie): Add hooks to the implementation
  1211. in graphics.c.
  1212. 2003-10-28 Duncan Mak <[email protected]>
  1213. * Graphics.cs (DrawEllipse, DrawLine, DrawPolygon):
  1214. (FillEllipse, FillPolygon): implemented.
  1215. (RenderingOrigin): implemented.
  1216. * gdipFunctions.cs: Added new GDI+ equivalents.
  1217. 2003-10-25 Alexandre Pigolkine <[email protected]>
  1218. * Bitmap.cs
  1219. * Image.cs small fixes
  1220. 2003-10-25 Atsushi Enomoto <[email protected]>
  1221. * Image.cs : renamed 'pallete' to 'colorPallete' for CLS compliance.
  1222. 2003-10-24 Miguel de Icaza <[email protected]>
  1223. * SystemBrushes.cs: Some more brushe3s.
  1224. * SystemPens.cs: More pens.
  1225. * Pen.cs: Implement IDisposable, ICloneable.
  1226. * Region.cs: Add some more stubs here.
  1227. * StringFormat.cs: Add some more code here.
  1228. 2003-10-23 Miguel de Icaza <[email protected]>
  1229. * Image.cs: Kill the InternalImageInfo, everything is now done in
  1230. terms of Image and BitmapData.
  1231. * Rectangle.cs: Make this one also sequential, change from using
  1232. Point + Size to use x, y, width, height; So we can use GdiPlus.
  1233. * gdipFunctions.cs (GdipBitmapLockBits): Remove the ref from the
  1234. BitmapData class argument, and instead use the [In,Out]
  1235. attributes, which will do struct marshalling on the fields. Now
  1236. we can use C#'s BitmapData directly to talk to Gdiplus.
  1237. * gdipStructs.cs: Every internal structure that has to talk to
  1238. Gdi+ is properly prefixed, to minimize the confussion.
  1239. * Bitmap.cs Bitmap (int width, int height, PixelFormat format):
  1240. Compute the stride here where we have the BPP information,
  1241. allocate a buffer of the proper size, and pass this to
  1242. GdipCreateBitmapFromScan0
  1243. * Image.cs: Implement Dispose pattern.
  1244. 2003-10-14 Alexandre Pigolkine <[email protected]>
  1245. * Graphics.cs
  1246. * gdipFunctioncs.cs
  1247. * gdipStructs.cs DrawString function added
  1248. 2003-10-12 Alexandre Pigolkine <[email protected]>
  1249. * gdipEnums.cs
  1250. * gdipFunctions.cs
  1251. * gdipStructs.cs added
  1252. 2003-10-12 Alexandre Pigolkine <[email protected]>
  1253. * Bitmap.cs
  1254. * Brush.cs
  1255. * Font.cs
  1256. * FontFamily.cs
  1257. * Graphics.cs
  1258. * Image.cs
  1259. * Pen.cs
  1260. * SolidBrush.cs
  1261. implementation changed to gdi+
  1262. 2003-09-08 Duncan Mak <[email protected]>
  1263. * Factories.cs (DefaultImplementationNamespace): Change it from
  1264. "XrImpl" to "Cairo".
  1265. 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
  1266. * Color.cs: fixed FromArgb to handle alpha value correctly. Closes
  1267. bug #47727.
  1268. 2003-08-08 Duncan Mak <[email protected]>
  1269. * Graphics.cs (DrawBezier): Fixed.
  1270. 2003-08-03 Alexandre Pigolkine <[email protected]>
  1271. * Graphics.cs delegate Dispose to implementation
  1272. 2003-08-01 Gonzalo Paniagua Javier <[email protected]>
  1273. * FontConverter.cs: stub it out so that system.web compiles.
  1274. 2003-07-30 Alexandre Pigolkine <[email protected]>
  1275. * Image.cs InternalImageInfo class improved
  1276. 2003-07-23 Miguel de Icaza <[email protected]>
  1277. * Factories.cs: If the AppDomain key `Mono.Running.Windows.Forms'
  1278. is set, default to Win32Impl
  1279. 2003-07-22 Alexandre Pigolkine <[email protected]>
  1280. * Image.cs implementation added
  1281. 2003-07-21 Andreas Nahr <[email protected]>
  1282. * Icon.cs: Stubed out (fix for System.Drawing.Design)
  1283. 2003-07-17 Andreas Nahr <[email protected]>
  1284. * StringFormat.cs: Changes to become CLS-compliant
  1285. 2003-07-14 Miguel de Icaza <[email protected]>
  1286. * Factories.cs: Remove debugging message.
  1287. 2003-07-01 Alexandre Pigolkine <[email protected]>
  1288. * Color.cs code generation program modified
  1289. 2003-06-29 Alexandre Pigolkine
  1290. * Graphics.cs image drawing
  1291. 2003-06-28 Alexandre Pigolkine <[email protected]>
  1292. * Color.cs
  1293. * SystemColors.cs
  1294. supply KnowColor enum value to save Enum.Parse at runtime
  1295. 2003-06-26 Alexandre Pigolkine <[email protected]>
  1296. * Graphics.cs coordinate transformations
  1297. * Image.cs small fix
  1298. 2003-06-22 Alexandre Pigolkine <[email protected]>
  1299. * Factories.cs
  1300. * FontFamily.cs more implementation
  1301. 2003-06-20 Alexandre Pigolkine <[email protected]>
  1302. * Font.cs
  1303. * FontFamily.cs more implementation
  1304. 2003-06-18 Alexandre Pigolkine <[email protected]>
  1305. * Graphics.cs few more calls to implementation
  1306. 2003-06-15 Alexandre Pigolkine <[email protected]>
  1307. * Bitmap.cs BITMAP declaration removed
  1308. * Graphics.cs few more calls to implementation
  1309. * Image.cs InternalImageInfo structure, image read/write functions
  1310. 2003-05-26 Alexandre Pigolkine <[email protected]>
  1311. * Factories.cs analyse environment variable and machine.config to select implementation
  1312. * Image.cs PixelFormat property added
  1313. 2003-04-30 Nick Drochak <[email protected]>
  1314. * Factories.cs: Change weird characters that broke build on windows.
  1315. 2003-04-26 Gonzalo Paniagua Javier <[email protected]>
  1316. * ColorConverter.cs:
  1317. (ConvertFrom): return a system or named color if there's one that fits
  1318. teh values parsed with Color.FromArgb.
  1319. 2003-04-26 Alexandre Pigolkine <[email protected]>
  1320. * Bitmap.cs
  1321. * Brush.cs
  1322. * Font.cs
  1323. * Graphics.cs
  1324. * Image.cs
  1325. * Pen.cs
  1326. * SolidBrush.cs
  1327. * SystemBrushes.cs
  1328. * Factories.cs
  1329. delegate function calls to implementation
  1330. 2003-04-26 Alexandre Pigolkine <[email protected]>
  1331. * Bitmap.cs
  1332. * ChangeLog
  1333. * Image.cs
  1334. * SystemBrushes.cs switch to Linux style line terminators
  1335. 2003-03-29 Alan Tam <[email protected]>
  1336. * ToolboxBitmapAttribute
  1337. stubbed more constructors and fixed base class
  1338. 2003-03-01 Alexandre Pigolkine <[email protected]>
  1339. * SystemBrushes.cs
  1340. added stubs to compile SWF
  1341. 2003-02-21 Alexandre Pigolkine <[email protected]>
  1342. * Font.cs
  1343. * Graphics.cs
  1344. * Image.cs
  1345. * SystemBrushes.cs
  1346. small changes to be able to run SWF apps
  1347. 2003-02-08 Gonzalo Paniagua Javier <[email protected]>
  1348. * Graphics.cs: stubbed out all the methods.
  1349. 2003-02-08 Piers Haken <[email protected]>
  1350. * fixed case of pens.cs and font.cs
  1351. 2003-02-07 Alexandre Pigolkine <[email protected]>
  1352. * Font.cs Added
  1353. * Graphics.cs
  1354. * StringFormat.cs
  1355. * SystemBrushes.cs
  1356. stubs added
  1357. 2002-11-21 Dennis Hayes ([email protected])
  1358. * checkin for Matt Stump ([email protected])
  1359. * Pens.cs
  1360. * Added file
  1361. 2002-10-19 Rachel Hestilow <[email protected]>
  1362. * ColorTranslator.cs (FromHtml): Implement.
  1363. 2002-10-14 Dennis Hayes ([email protected])
  1364. * Region.cs
  1365. * changed using namespace from Drawing2d to Drawing2D
  1366. 2002-9-15 Asier Llano <[email protected]>
  1367. * Fixes the enum values in the following enums
  1368. * ContentAlignment.cs:
  1369. * FontStyle.cs:
  1370. * GraphicsUnit.cs:
  1371. * KnownColor.cs:
  1372. * RotateFlipType.cs:
  1373. * StringAligment.cs:
  1374. * StringDigitSubstitute.cs:
  1375. * StringFormatFlags.cs:
  1376. * StringTrimming.cs:
  1377. * StringUnit.cs:
  1378. * SolidBrush.cs: Easy implementation
  1379. * Brushes.cs: Implementation based on SolidBrush and Color class.
  1380. * Brush.cs: Fixes based on the status web).
  1381. * CharacterRange.cs: Implemented the missing Lenth property.
  1382. 2002-9-14 Dennis Hayes ([email protected])
  1383. * sample.cs
  1384. * removed personal template that should not have been checked in
  1385. 2002-09-13 Gonzalo Paniagua Javier <[email protected]>
  1386. * ColorConverter.cs: readded MonoTODOs and implemented a couple of
  1387. methods.
  1388. 2002-9-14 DennisHayes <[email protected]>
  1389. * FontConverter.cs
  1390. * FontFamily.cs
  1391. * Icon.cs
  1392. * IconConverter.cs
  1393. * ImageAnimator.cs
  1394. * ImageConverter.cs
  1395. * ImageFormatConverter.cs
  1396. * PointConverter.cs
  1397. * RectangleConverter.cs
  1398. * Sample.cs
  1399. * SizeConverter.cs
  1400. * SolidBrush.cs
  1401. * StringFormat.cs
  1402. * SystemBrushes.cs
  1403. * SystemIcons.cs
  1404. * SystemPens.cs
  1405. * TextureBrush.cs
  1406. * ToolboxBitmapAttribute.cs
  1407. * Added null classes for most/all classes, Many stubs, and some implmentation
  1408. 2002-9-2 DennisHayes <[email protected]>
  1409. * Bitmap.cs
  1410. * Color.cs
  1411. * ColorConverter.cs
  1412. * Image.cs
  1413. * Pen.cs
  1414. * Added stubs, implmentation
  1415. 2002-9-2 DennisHayes <[email protected]>
  1416. * Brushes.cs : stubbed, added colors. Not sure how to implement,
  1417. but this should at least save someone some typing.
  1418. * CharacterRange.cs :Implmented
  1419. * Region.cs : stub needed for system.windows.forms
  1420. 2002-07-28 Gonzalo Paniagua Javier <[email protected]>
  1421. * ColorTranslator.cs: use Color.Name.
  1422. 2002-07-18 Gonzalo Paniagua Javier <[email protected]>
  1423. * Color.cs: implemented SystemColors and NamedColors properties that
  1424. are used by ColorConverter, removed public constructor, use
  1425. SystemColors, and misc. fixes to make it behave as MS (ToString,
  1426. parsing names, FromKnownColor,...).
  1427. * ColorConverter.cs: use NamedColors and SystemColors from Color when
  1428. trying to get the color from its name.
  1429. * SystemColors.cs: new file.
  1430. 2002-07-16 Gonzalo Paniagua Javier <[email protected]>
  1431. * Color.cs: changed static properties to use FromArgbNamed. Also
  1432. modified the program included in comments that get the values for
  1433. static properties.
  1434. (FromArgbNamed): build named colors.
  1435. (FromKnownColor): fixed.
  1436. (FromName): use a hash to look up colors by name.
  1437. (FillColorNames): create the hash of colors.
  1438. (Equals): compare values and name.
  1439. (ToString): improved.
  1440. * ColorTranslator.cs: implemented ToHtml.
  1441. 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
  1442. * Color.cs: added TypeConverter attribute.
  1443. * ColorConverter.cs: added constructor.
  1444. 2002-06-15 Gonzalo Paniagua Javier <[email protected]>
  1445. * ColorConverter.cs: implemented minimal set of features needed by xsp.
  1446. 2002-05-03 Mike Kestner <[email protected]>
  1447. * Bitmap.cs : using System.IO
  1448. * ColorTranslator.cs : Stubbed off build breakers.
  1449. * Image.cs : Stub off IDisposable and ICloneable.
  1450. 2002-04-27 Christian Meyer <[email protected]>
  1451. * Bitmap.cs: Ximian is the new copyright holder now.
  1452. * Image.cs: ditto
  1453. 2002-04-05 Christian Meyer <[email protected]>
  1454. * Uppercased several files.
  1455. 2002-04-05 Christian Meyer <[email protected]>
  1456. * color.cs: Fixed a typo in GetSaturation ().
  1457. 2002-02-26 Christian Meyer <[email protected]>
  1458. * Bitmap.cs: Added method headers.
  1459. 2002-02-25 Christian Meyer <[email protected]>
  1460. * Bitmap.cs: Added, no implementation's done, yet.
  1461. 2001-12-15 Mike Kestner <[email protected]>
  1462. * Rectangle.cs : Add a doc comment.
  1463. * RectangleF.cs : New struct implementation.
  1464. 2001-12-15 Mike Kestner <[email protected]>
  1465. * Rectangle.cs : New struct implementation.
  1466. 2001-08-17 Mike Kestner <[email protected]>
  1467. * PointF.cs, Size.cs, SizeF.cs : New struct implementations.
  1468. 2001-08-16 Mike Kestner <[email protected]>
  1469. * Point.cs : New. Implementation of System.Drawing.Point struct.