Commit Graph

84 Commits

Author SHA1 Message Date
Pierre Joye
268386674a - gd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 20:33:22 +00:00
Mattias Bengtsson
94bf93f531 -MFB: libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:22:38 +00:00
Mattias Bengtsson
3b8fc04079 -MFB: libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:09:30 +00:00
Pierre Joye
8e664dd105 - enable tests even when an external GD is used. Latest releases
(2.0.34 or 2.0.35) work.
  NB: if you use Debian, you'll realize how bad their package is and start
  to either use the source or push all patches I posted to their bugs
  tracker
2007-05-28 17:57:20 +00:00
Pierre Joye
5d6f374641 - fix test, requires binary string 2007-05-28 17:49:43 +00:00
Antony Dovgal
873218f07a fix tests 2007-05-22 09:45:12 +00:00
Antony Dovgal
93b3bc490d fix #41442 (imagegd2() under output control) 2007-05-22 09:44:55 +00:00
Pierre Joye
bdee172749 - fix title 2007-05-16 22:54:33 +00:00
Pierre Joye
69dca143c9 - libgd #86: Fixed possible infinite loop in libgd/gd_png.c
(Reported by Xavier Roche)
2007-05-16 22:16:22 +00:00
Antony Dovgal
08536784db improve test 2007-05-03 12:10:02 +00:00
Antony Dovgal
ff4ee42767 avoid 10 000 warnings 2007-04-20 21:00:07 +00:00
Pierre Joye
a110d07c96 - fix previous commit (missing #ifdef in shutdown declaration)
- MFB:
 - Sync with gd 2.0.35 (bug #52, #60 and #66)
  - Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre)
  - a frame size must be confined to the screen defition (Pierre)
  - be sure to always read the dimensions in the frame and does not use
    the screen size (see #66 for a side effect) (Pierre)
  - Update #37360 test. The frame does not fit the logical screen (specs
    tell that it must fit) (Pierre)
2007-04-04 01:54:34 +00:00
Pierre Joye
37ad5f77df - CVE-2007-1001, integer overflow with invalid wbmp images 2007-03-10 12:16:19 +00:00
Pierre Joye
01c8b39ab8 - MFB: #40764, line thickness not respected for horizontal and vertical
lines
2007-03-10 01:23:42 +00:00
Antony Dovgal
71340e43f9 fix test name 2007-02-16 11:08:11 +00:00
Pierre Joye
80ecfc354e - MFB: #39286, misleading error message when invalid dimensions are given 2006-12-10 03:03:48 +00:00
Pierre Joye
df5d4a52f9 - MFB: #39508, imagefill crashes with small image 2006-12-10 02:08:07 +00:00
Pierre Joye
ad5d1383de - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:28:01 +00:00
Pierre Joye
3475bd62e0 - #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:12:36 +00:00
Pierre Joye
799e6c0e98 - MFB: #39273, imagecopyresized and alpha channel 2006-11-04 02:23:45 +00:00
Antony Dovgal
81c149153e add new test 2006-10-10 22:38:00 +00:00
Pierre Joye
7ecbbfc206 - MFB: #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:42:55 +00:00
Hannes Magnusson
cf59f0063f fix test 2006-10-08 13:43:20 +00:00
Pierre Joye
f242191738 - update tests 2006-10-07 19:57:15 +00:00
Pierre Joye
66cd47d5e9 - MFB: imagefill(), infinite loop with wrong color index 2006-09-28 08:52:23 +00:00
Pierre Joye
8019b9d264 - please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:05 +00:00
Pierre Joye
58cb2cd8b4 - mv 38179.phpt to bug38179.phpt 2006-07-26 08:58:31 +00:00
Pierre Joye
8c0dc5a856 - #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:51:53 +00:00
Pierre Joye
5b02056c23 - MFB: #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 21:48:18 +00:00
Nuno Lopes
8aafe02cc9 MFB 2006-07-22 15:16:40 +00:00
Pierre Joye
004ed49028 - MFB: #38112, corrupt GIF Image segfault 2006-07-17 15:08:46 +00:00
Pierre Joye
154507f6bc - #37360, bad gif size 2006-05-08 11:49:33 +00:00
Pierre Joye
fc91929f94 - MFB: #37346, invalid colormap format 2006-05-07 17:21:11 +00:00
Pierre Joye
ff2822a82b - MFB: #36697, truecolor image lost im->transparent 2006-03-14 03:46:59 +00:00
Pierre Joye
53973f97d0 - check for jpeg support 2005-12-26 21:41:37 +00:00
Pierre Joye
f728cb07e6 - basic gif i/o test 2005-12-26 19:11:51 +00:00
foobar
4cbffe865e fix test 2005-12-26 18:30:12 +00:00
Pierre Joye
7074d0c2bf - imagetypes test
- copyresized title
2005-12-26 17:15:51 +00:00
Pierre Joye
ab24e85893 - copyresized basic test
more once imagediff is available
2005-12-26 12:05:36 +00:00
Pierre Joye
5f018ca382 - add colorclosestalpha tests 2005-12-25 22:02:53 +00:00
Pierre Joye
1b6d773657 - add colorresolvealpha to colorresolve tests
- update colormatch
2005-12-25 21:45:04 +00:00
Pierre Joye
65df8e80ea - fix leak/segfaults in imagecolormatch
- add tests for imagecolorexact and imagecolormatch
  The later is only about the segv
2005-12-25 19:21:58 +00:00
Pierre Joye
49f0d6b8c2 - add truecolortopallete and istruecolor test
- titles for colorclosest/resolve...
2005-12-24 14:05:20 +00:00
Pierre Joye
439eaf24d6 - fix titles
- function check
2005-12-24 14:01:54 +00:00
Pierre Joye
c13515dd1f - add tests for:
- imagecolorclosest
 - imagecolorresolve
 - imagecopy
 - imageline
 -imagesetstyle and dashed line
- remove HAVE_GDIMAGECOLORRESOLVE, always present
2005-12-22 23:22:26 +00:00
Ilia Alshanetsky
1014cb28c2 MFB51: Fixed uninitialized variable in a test. 2005-12-17 19:58:02 +00:00
Pierre Joye
cc938b5df0 - fix leaks and wrong error when invalid/empty string are given to
imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-16 19:02:07 +00:00
Pierre Joye
366f2ee161 - adieu HAVE_LIBGD13
- add imagecolorat tests (truecolor and palette)
2005-12-16 17:02:30 +00:00
Pierre Joye
ca7270ffa2 - add wbmp read/write tests
- remove HAVE_GD_WBMP, always available
2005-12-14 22:33:34 +00:00
Pierre Joye
aa3fe56fb9 - correct title 2005-12-14 19:50:42 +00:00