Commit Graph

155 Commits

Author SHA1 Message Date
juha
c30eb3edd3 Clean outdated DEFINEs from the code, like old compiler versions and FPC_HAS_CONSTREF.
git-svn-id: trunk@43628 -
2014-01-02 18:16:19 +00:00
marc
29108eb545 LCLgraphics:
* Fix possible buffer overflow

git-svn-id: trunk@43497 -
2013-11-29 08:36:53 +00:00
marc
820bd64580 LCLgraphics:
* Rewrite RLE4 code. Fixes #0025366
* Updated RLE8 to be consistent with RLE4 code

git-svn-id: trunk@43496 -
2013-11-28 23:51:37 +00:00
marc
53ec216c98 Fix pointer cast
git-svn-id: trunk@41852 -
2013-06-23 19:24:48 +00:00
marc
8a1c1b7263 Improved fix for issue #20361. Fixed 24bit read/writing of image data
git-svn-id: trunk@41838 -
2013-06-23 16:30:54 +00:00
juha
7b162087fd Improve license headers in sources, part 1. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
git-svn-id: trunk@41387 -
2013-05-24 18:30:06 +00:00
juha
de9cb3d016 LCL: Improve PNG image support in TImage. Issue #20361, patch from José Mejuto
git-svn-id: trunk@41020 -
2013-05-04 09:28:17 +00:00
mattias
1143e333ac lcl: tiff: fixed compilation of fpc 2.6.1
git-svn-id: trunk@38511 -
2012-09-03 21:14:08 +00:00
sekelsenmat
890ac2a4a6 First attempt at adding support for images with bpp 48 in TLazIntfImage
git-svn-id: trunk@38376 -
2012-08-25 19:49:28 +00:00
juha
9f6ca137a9 LCL: Fix TLazIntfImage.AlphaBlend. Issue #22629, problem found by Trevor Shaw
git-svn-id: trunk@38319 -
2012-08-21 21:26:45 +00:00
mattias
33509999e9 LCL: added TLazIntfImage.CreateCompatible constructor
git-svn-id: trunk@37516 -
2012-06-04 16:39:12 +00:00
mattias
014abf4fd3 LCL: fixed compilation fpc 2.6.1
git-svn-id: trunk@37509 -
2012-06-04 11:03:38 +00:00
mattias
e1d62693c3 LCL: updated tiff reader for fpc 2.7.1
git-svn-id: trunk@37505 -
2012-06-04 09:41:02 +00:00
mattias
5957631f25 LCL: fixed visibility of implemented interfaces
git-svn-id: trunk@37067 -
2012-04-28 18:16:59 +00:00
sekelsenmat
5d9dce28f6 Patch from circular to improve LazFreeType
git-svn-id: trunk@36242 -
2012-03-23 06:41:02 +00:00
sekelsenmat
b8c1e3c858 Corrects wrong commit of debugln
git-svn-id: trunk@36216 -
2012-03-22 11:20:20 +00:00
sekelsenmat
eda1bfe2a0 Fixes the misterious double free memory corruption in LCL-CustomDrawn =)
git-svn-id: trunk@36215 -
2012-03-22 11:19:14 +00:00
mattias
9a2fed38e9 avglvltree: changed TAvgLvlTree.COnsistencyCheck to procedure and exceptions
git-svn-id: trunk@36126 -
2012-03-17 17:12:27 +00:00
mattias
40d3ff8228 LCL: reduced warnings
git-svn-id: trunk@35528 -
2012-02-21 10:18:07 +00:00
mattias
86616ad9b9 LCL: fixed TLazReaderDIB.InternalRead
git-svn-id: trunk@34864 -
2012-01-22 13:19:16 +00:00
paul
91b8188bd0 lcl: add TLazIntfImage.Mask(color,keepmask), move a piece of code from rasterimage.mask to TLazIntfImage.Mask
git-svn-id: trunk@34012 -
2011-12-07 02:06:39 +00:00
sekelsenmat
6539fdc682 customdrawn: Advances the infrastructure for text drawing. Adds an alpha blending routine to TLazCanvas
git-svn-id: trunk@33924 -
2011-12-02 23:25:34 +00:00
mattias
597e60e8a7 LCL: broke unit dependency of graphics on controls
git-svn-id: trunk@31628 -
2011-07-09 23:10:27 +00:00
juha
fdc466d76d Fix spelling from Childs to Children around Lazarus source. Patch from Mazen NEIFER
git-svn-id: trunk@30657 -
2011-05-10 09:13:38 +00:00
sekelsenmat
6a2f27cac2 Patch from bug #17594. Solves compiling Lazarus with the fpc branch fpc-xpcom
git-svn-id: trunk@27667 -
2010-10-12 15:00:44 +00:00
mattias
369aa3055c fixed typo dont
git-svn-id: trunk@27304 -
2010-09-11 14:05:21 +00:00
marc
32dbf71e3a * add workaround for alpha channel on palette based PNG images for fpc2.4 (fixed in fpc r15926 #af088605bf). Fixes issue #0017267
git-svn-id: trunk@27242 -
2010-08-31 21:32:03 +00:00
sekelsenmat
fc9813f9cf Improves bitmapped button and adds an alpha blending routine to TLazIntfImage
git-svn-id: trunk@26760 -
2010-07-21 07:35:04 +00:00
mattias
3920c1a238 codetools: started init with new fpc cache
git-svn-id: trunk@26721 -
2010-07-18 00:50:13 +00:00
marc
996ccb8aac * Graphic: fixed rendering of gray-alpha images. Partially fixes #13266
git-svn-id: trunk@25258 -
2010-05-08 16:58:32 +00:00
marc
1ad1d06743 * Graphics: Added TTiffImage
git-svn-id: trunk@25134 -
2010-05-02 14:36:41 +00:00
paul
bf426e5704 lcl: ignore bitmap alpha channel if all alpha values = 0 (issue #0015644)
git-svn-id: trunk@23615 -
2010-02-03 10:05:54 +00:00
paul
c07babe2e7 lcl: cleanup old intfgraphics workarounds
git-svn-id: trunk@23391 -
2010-01-06 16:59:41 +00:00
mattias
f0afca08f5 LCL: reduced debugging under wince
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
marc
8f9838a385 * Initialize writers when writing a TPicture graphic in a different format. Fixes issue #0013451
git-svn-id: trunk@20562 -
2009-06-09 22:58:19 +00:00
marc
9601319387 * fixed compatebility with 32bpp bitmaps and alpha channel (issue #13917)
git-svn-id: trunk@20498 -
2009-06-07 16:38:54 +00:00
marc
216a9ab9a2 * Fixed bitmap and icon transparency (ussue #13883)
git-svn-id: trunk@20334 -
2009-06-01 17:58:36 +00:00
paul
10a39a669c lcl: fix compilation
git-svn-id: trunk@20330 -
2009-06-01 00:56:57 +00:00
marc
ca5bf5de6d * Added read support for OS2 v1 bitmaps
* Improved bitfield support when reading bitmaps
* Limited alpha bitmaps only to bitmaps with atleast a V4 header

git-svn-id: trunk@20326 -
2009-05-31 18:33:08 +00:00
paul
918eaf1a50 lcl: fix absolute usage for the new rules of fpc 2.3.1
git-svn-id: trunk@18989 -
2009-03-14 13:57:38 +00:00
marc
c8855d51da + Added flags to allow TLazIntfImage initialize description in creation
* replaced existing calls to create TLazIntfImage without description since it is set later (default works too, but might change).
* Enabled palette support for descriptions without palette

git-svn-id: trunk@17407 -
2008-11-16 15:27:37 +00:00
paul
f75f743776 lcl: prevent division by 0 when updating progress during graphic loading/saving (#0012070)
git-svn-id: trunk@16434 -
2008-09-05 13:03:41 +00:00
paul
68a2e1b6d1 lcl: improve Tomas change to CopyPixels, fixes #0012023
git-svn-id: trunk@16394 -
2008-09-03 22:23:30 +00:00
tombo
d84640530a LCL Carbon: finally fixed #0012033: Mac OS X : LoadCursorFromLazarusResource throws Division by Zero Exception! - mask data was not copied to alpha channel, only crSQLWait needs some repair
git-svn-id: trunk@16386 -
2008-09-03 11:17:26 +00:00
marc
98c9fb0791 * Don't copy mask when MaskBitsPerPixel = 0
git-svn-id: trunk@16371 -
2008-09-02 22:59:01 +00:00
paul
efbdaeaf0e lcl: add basic support for Progress during reading/writing of TCustomBitmap (tested with bpm,xpm). Based on patch of Laurent Jacques (#0008893)
git-svn-id: trunk@16334 -
2008-08-31 15:09:46 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
paul
849470df8f lcl: fix typo in the method name (#0011904)
git-svn-id: trunk@16097 -
2008-08-18 02:43:22 +00:00
mattias
c81aab571f fixed uninitialized function results
git-svn-id: trunk@16088 -
2008-08-16 20:51:45 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00