Commit Graph

740 Commits

Author SHA1 Message Date
Ilia Alshanetsky
66bdeaddb4 Fixed a large leak inside _php_image_create_from() 2006-09-28 23:17:31 +00:00
Pierre Joye
cee0a7df24 - imagefill(), infinite loop with wrong color index 2006-09-28 08:48:02 +00:00
Nuno Lopes
d43c9c11f4 fix compiler warnings introduced in my previous commit 2006-09-16 19:07:46 +00:00
Nuno Lopes
e299095ca1 fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits 2006-09-15 16:11:39 +00:00
Nuno Lopes
fe9d3b16c5 mark some huge arrays as read-only 2006-09-15 15:11:54 +00:00
Pierre Joye
75e9e12093 - MFH: add support for entities in hexadecimal format, like © can
be passed as &#169 or © (sync with gd)
2006-08-23 20:22:31 +00:00
Pierre Joye
aecbddef42 - MFH: please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:54 +00:00
Pierre Joye
6dbb90af21 - fix compiler warnings 2006-08-08 11:56:36 +00:00
Antony Dovgal
e17320651c MFH: implement my own FR #36995
add missing ifdefs
2006-08-01 22:42:11 +00:00
Pierre Joye
bc11170217 - #38214, gif interlace never works 2006-07-26 10:03:09 +00:00
Pierre Joye
40c059b8fc - MFH: mv 38179.phpt to bug38179.phpt 2006-07-26 08:59:55 +00:00
Pierre Joye
206ec1a06b - MFH #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:53:30 +00:00
Pierre Joye
261beb0326 - #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 21:41:12 +00:00
Nuno Lopes
5e7efb5ec9 dont create images in the php source root. output them instead 2006-07-22 15:15:53 +00:00
Pierre Joye
2a06ce8518 - #38112, add test and use MAX_LWZ_BITS instead of the value 2006-07-17 14:30:21 +00:00
Pierre Joye
cb41a19f28 - sync tests with HEAD 2006-07-17 12:54:09 +00:00
Pierre Joye
17f6ae66ce - #38112, corrupt GIF segfaults, test will follow 2006-07-16 11:07:31 +00:00
Hannes Magnusson
7af33194e5 MFH: arginfo fixes 2006-07-02 00:11:06 +00:00
Hannes Magnusson
954acfe261 MFH: Revert array type hinting 2006-06-15 15:31:54 +00:00
Hannes Magnusson
21b0f60332 MFH: argument infos 2006-06-11 20:03:05 +00:00
Pierre Joye
3bad805e35 - more CS 2006-05-08 12:06:59 +00:00
Pierre Joye
4428076eae - MFH: #37360, bad gif size 2006-05-08 11:50:47 +00:00
Pierre Joye
570511c9b2 - CS (spaces > tabs) 2006-05-08 11:12:49 +00:00
Pierre Joye
52619b8427 - #37346, invalid colormap format 2006-05-07 16:37:40 +00:00
Pierre Joye
01479757e3 - #36697, Transparency is lost when using imagecreatetruecolor 2006-03-13 21:56:38 +00:00
Pierre Joye
0ebab9d495 - #36686, do not be quiet with the extern GD 2006-03-10 18:07:27 +00:00
Pierre Joye
6f632a77c3 - MFH: add a weak/tolerant mode to the jpeg loader 2006-02-05 15:53:58 +00:00
Michael Wallner
fe52312f59 - include png.h prior php.h 2006-01-27 20:46:02 +00:00
Pierre Joye
1b546b9f77 - MFH: add filter option to imagepng
- add constants
  PS: If someone can check why #include "png.h" fails, it will be cleaner
2006-01-27 13:36:30 +00:00
Antony Dovgal
56242031aa MFH: improve open_basedir checks in GD 2006-01-17 23:47:08 +00:00
Pierre Joye
5ea4c827c9 - remove old return_long 2006-01-17 19:04:06 +00:00
Pierre Joye
afa77062d1 - return false on error 2006-01-17 15:44:12 +00:00
Pierre Joye
328c294569 - Returns FALSE on error, it is how it must work 2006-01-17 15:23:29 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
5c32e974aa Not a fatal error. 2005-12-29 21:59:39 +00:00
foobar
73ab144544 MFH: fix test 2005-12-26 18:30:33 +00:00
Pierre Joye
d07b094461 - MFH: raise warnings instead of errors in colormatch 2005-12-25 20:33:05 +00:00
Pierre Joye
f5a7694305 - MFH: fix segfault/leak in imagecolormatch
- MFH: test for imagecolormatch
2005-12-25 19:39:53 +00:00
Ilia Alshanetsky
8370e1aca4 Fixed uninitialized variable in a test. 2005-12-17 19:57:37 +00:00
Pierre Joye
1024844a41 - MFH:
- fix leaks and wrong error when invalid/empty string are given to
  imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-17 17:46:59 +00:00
Pierre Joye
7a6ac7ce16 - MFH: no need to test if jpeg support exists 2005-12-09 18:17:02 +00:00
Pierre Joye
ce90a27a48 - MFH, PNG compression support exposed 2005-12-09 18:07:57 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
4e874820e9 MFH: nuke php3 legacy 2005-12-06 01:21:28 +00:00
Antony Dovgal
1cbe552f4d change "-o" to "||" (fixes potential problems on weird systems where test doesn't support -o) 2005-11-29 18:26:02 +00:00
foobar
edc87ef840 MFH: Fixed bad usage of php_checkuid() 2005-11-02 21:26:25 +00:00
foobar
289402edc6 MFH: - Added missing safe-mode checks
# Added by replacing the existing open_basedir checks with a macro
# Also, the filename passed might be null, etc. so it's not very good
# idea to pass to php_error_docref() (catch by Ilia)
2005-11-01 17:05:09 +00:00
Antony Dovgal
5b502880b6 MFH: fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero) 2005-10-26 21:38:20 +00:00
Pierre Joye
af888a4807 - fix #34980, divisor and offset never passed correctly (s/float/double/) 2005-10-25 23:00:19 +00:00
Pierre Joye
5dd9ad8f53 -fix build as shared or separate from main build (bfrance) 2005-10-09 12:06:27 +00:00