Commit Graph

173 Commits

Author SHA1 Message Date
juha
9e251a5c0a LCL: Eliminate a nested loop in TLazIntfImage.CopyPixels.
git-svn-id: trunk@64413 -
2021-01-20 22:00:02 +00:00
juha
00e7a5c92b LCL: Optimize TLazIntfImage.CopyPixels and TCustomImageList.ScaleImage a little for common cases.
git-svn-id: trunk@64404 -
2021-01-19 09:20:31 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
michl
c323c396de LCL: Make IntfGraphics DisableLCLTIFF aware. Issue #35038. Patch from Alexey T.
git-svn-id: trunk@60364 -
2019-02-08 17:18:07 +00:00
michl
71e6fd3e59 LCL: TLazIntfImage: Create data with defined size and flags. Issue #35035. Patch from Ondrej Pokorny
git-svn-id: trunk@60360 -
2019-02-07 21:46:47 +00:00
juha
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
wp
68b3fe108b LCL: Fix out-of-range access to Colors array in LazIntfImages.CopyPixels (Issue #27144).
git-svn-id: trunk@57653 -
2018-04-13 12:36:50 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00
juha
39ac467fe2 LCL: Remove unused code in TLazIntfImage.Assign.
git-svn-id: trunk@53056 -
2016-09-29 08:35:07 +00:00
mattias
de6e0945f8 LCL: TLazIntfImage.Assign: copy DataDescription
git-svn-id: trunk@52005 -
2016-03-20 23:46:20 +00:00
juha
d126fb4491 LCL: Fix BMP handling issues in big endian systems. Issue #27719, patch from Mark Morgan Lloyd.
git-svn-id: trunk@48623 -
2015-04-04 18:23:18 +00:00
juha
384c407672 LCL: Simplify code related to CPU endianness. Issue #27719.
git-svn-id: trunk@48555 -
2015-03-31 17:10:38 +00:00
juha
09da3ea087 LCL: Fix a bug in bitmap reader related to CPU endianness. Issue #27719, patch from Mark Morgan Lloyd
git-svn-id: trunk@48529 -
2015-03-29 15:38:25 +00:00
juha
abe573b42d Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
juha
24997db694 LCL: Fix error shown in png testsuite "basn6a16". Was a regression by r41838 #8a1c1b7263. Issue #25055, patch from ocean.
git-svn-id: trunk@46241 -
2014-09-15 16:04:58 +00:00
maxim
f281e6830c LCL: fixed typos in comments ("extention" -> "extension"), patch by Reinier, bug #26154
git-svn-id: trunk@45029 -
2014-05-12 23:12:18 +00:00
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