Changelog.txt 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. PngComponents 1.1:
  2. - Common: "adopted" the project from Martijn Saly
  3. - Common: added D2009 support (mostly changed PngObject to PngImage)
  4. - Common: removed compatibility with versions below Delphi 7
  5. - Common: removed references to Thany.Inc (use RTLVersion instead)
  6. - Common: cleaned up the code (mostly to use my formatting style)
  7. - Editor: added "use file name" in PngImageListEditor (sets the name of the image to it's filename)
  8. PngComponents 1.0 RC3:
  9. - Editor: Fixed "invalid header" exception when adding a PNG to the list.
  10. - Editor: Everything should now look good on "large fonts" setting.
  11. - PngBitBtn: Positioning and drawing of the glyph was sometimes a bit odd.
  12. - PngBitBtn: Removed the need to draw an empty TBitmap glyph, prior to drawing the PNG glyph.
  13. - PngSpeedButton: The image is now shifted down-right by 1 pixel, when the button is down but not pressed, to match the behavior of a normal SpeedButton.
  14. - PngImageList: Fixed range check errors in PngToIcon32.
  15. - PngImageList: Fixed possible AccessViolation in PngToIcon32.
  16. - PngImageList: Fixed AccessViolation in AddImages.
  17. - PngImageList: Fixed memory leak in CopyPngs.
  18. - PngImageList: Added BeginUpdate and EndUpdate methods, to temporarily prevent the internal imagelist from being updated.
  19. - PngImageList: The patched methods are more efficient, because they now manipulate the internal imagelist directly, rather than relying on CopyPngs.
  20. - PngImageList: Added calls to Change in the patched methods.
  21. PngComponents 1.0 RC2:
  22. - Editor: Fixed endless loop when repetitively removing the last image in a list of at least 3 (thanks to Aleksander Oven).
  23. - Editor: Fixed possible out-of-bounds error when moving an image down using the Down button (thanks to Spiril).
  24. - Editor: Now using Graphics.GetColorValues to retrieve available color identifiers (thanks to LJ and Ryan Mills).
  25. - Editor: Rewritten ParseBackgroundColor and SelectBackgroundColor to use IdentToColor, StringToColor and ColorToIdent from Gaphics unit (thanks to LJ and Ryan Mills).
  26. - Editor: It is now possible to set the background color to more than 1 selected image.
  27. - Editor: Minor GUI fixes
  28. - PngBitBtn: When Margin <> -1 and the button is focused, the image must be shifted 1 pixel, to match the behavior of a normal BitBtn.
  29. - PngBitBtn: Fixed EPngHeaderNotPresent when assigning a nil to the PngImage property.
  30. - PngBitBtn: PngImage property now behaves correctly when assigning an action. Note that the image will not be stored in the DFM if it came from a TActionList.ImageList (thanks to robvdl)
  31. - PngSpeedButton: The same fixes that apply to PngBitBtn, applied to PngSpeedButton.
  32. - PngImageList: Adding a default action to an imagelist no longer results in out of bounds errors (thanks to robvdl).
  33. - PngImageList: 14 methods that couldn't be overridden are now patched (thanks to Vladimir Bochkarev). However, adding a default action to an imagelist still doesn't call the "new" Add method, but supposedly the legacy ImageList_Add() function, which cannot be patched.
  34. - PngImageList: Fixed memory leak in CopyPngs (thanks to M. Youssfi).
  35. - Common: Added Amount parameter to MakeImageBlended and MakeImageGrayscale.
  36. - Common: Added function ConvertToPNG, which converts a TGraphic to a PNG object, if not already.
  37. - Common: Added functions CreatePNG and CreatePNGMasked, which create a new PNG object based on a bitmap and a (color or bitmap) mask.
  38. - Common: Added function CopyImageFromImageList, which effectively copies an image from a normal imagelist or a PngImageList into a PNG.
  39. - Common: Added function SlicePNG for future use. This slices a large PNG object into smaller, equally-sized ones.
  40. - Common: Added zlib version 1.2.2 to the PNG package (thanks to Vladimir Bochkarev).
  41. PngComponents 1.0 RC1:
  42. - Initial public release