Commit Graph

973 Commits

Author SHA1 Message Date
Matt Ficken
381edb425e Fix bug #61480 test bug - ext/gd/tests/bug48555.phpt 2012-04-04 18:39:24 +02:00
Felipe Pena
e4ca0ed09f - Year++ 2012-01-01 13:15:04 +00:00
Florian Anderiasch
6972b94ae5 Fixed #60160 and added a test for it 2011-11-01 11:51:53 +00:00
Xinchen Hui
1159cd2002 move it to right place 2011-09-06 09:45:21 +00:00
Felipe Pena
23e438594d - Make usage of new PHP_FE_END macro 2011-07-25 11:42:53 +00:00
Rafael Machado Dohms
b903587268 Adding testcases to validate imageloadfont input parameter validation, tests were developed at #tek11 testfest 2011-05-31 21:24:10 +00:00
Rasmus Lerdorf
2954832b97 Check headers first and let the CHECK_LIBRARY macro
handle checking for the library. This makes it 
correctly handle non-standard system paths as long
as gcc knows about them. Should fix the build on
Ubuntu natty.
2011-05-12 08:19:37 +00:00
Pierre Joye
c278fb01d0 - malloc may fail 2011-01-19 15:23:07 +00:00
Felipe Pena
927bf09c29 - Year++ 2011-01-01 02:19:59 +00:00
Pierre Joye
19ba599166 - WS 2010-12-28 17:20:10 +00:00
Pierre Joye
aea6771d19 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
Martin Jansen
f6cedd2ad5 Merge from trunk:
* Fixed parameter check introduced with the recent fix for bug #53492.

* Improved the error message along the way.
2010-12-11 20:10:39 +00:00
Pierre Joye
a0eb5848b5 - Fix #53492, fix crash if aa steps are invalid 2010-12-08 08:45:56 +00:00
Pierre Joye
ce96fd6b07 - fix #39863, do not accept paths with NULL in them. See http://news.php.net/php.internals/50191, trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus 2010-11-18 15:22:22 +00:00
Pierre Joye
1fe5265c3e - WS 2010-06-30 22:06:49 +00:00
Pierre Joye
9c60bd8df7 - typo for iconv DLL .lib 2010-06-28 23:26:48 +00:00
Pierre Joye
d652e02235 - #52043,GD doesn't recognize latest libJPEG version 2010-06-14 08:12:10 +00:00
Rasmus Lerdorf
5583cd237f Check for -1 as well here 2010-05-24 23:52:11 +00:00
Rasmus Lerdorf
159369c68c Let's have a sane error message here instead of some cryptic zlib error 2010-05-24 23:27:39 +00:00
Pierre Joye
0688e6ef01 - - Fixed #51128, imagefill() doesn't work with large images 2010-04-28 14:35:42 +00:00
Pierre Joye
07446082c8 - Fix #51671, imagefill does not work correctly for small images 2010-04-28 08:23:44 +00:00
Pierre Joye
eaab2fbc4b - WS 2010-04-28 08:04:52 +00:00
Takeshi Abe
a46e108b83 Fixed bug #51263 (imagettftext and rotated text uses wrong baseline) 2010-03-24 04:12:19 +00:00
Raphael Geissert
2c3b1fd920 Properly skip tests that require the bundled gd lib when the external is used 2010-03-11 05:49:50 +00:00
Takeshi Abe
bea0320749 fix libgd FS100 (spurious horizontal line drawn by gdImageFilledPolygon) 2010-01-20 09:39:06 +00:00
Takeshi Abe
e3e76d7baf fix wrong type and useless assignments 2010-01-15 17:09:14 +00:00
Takeshi Abe
f7a3b3f5aa imagepolygon() and imagefilledpolygon() does not allow negative number of points causing invalid allocation 2010-01-14 11:11:56 +00:00
Takeshi Abe
dd17af94c5 removed an unused variable 2010-01-13 06:55:03 +00:00
Pierre Joye
7aacc1ccbc - use png_sig_cmp to support libpng 1.4, old is deprecated already in older version 2010-01-10 02:13:45 +00:00
Takeshi Abe
c18d4364ed Bug #49600 (imageTTFText text shifted right)
- fix difference of horizontal position between imagettftext() and imagettfbbox()
2010-01-08 12:18:52 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Pierrick Charron
c2fccc1606 - Fixed bug #50469 (Fixed typo in imagepsencodefont error string). 2009-12-14 04:09:18 +00:00
Takeshi Abe
94cb01177a Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails 2009-11-01 05:04:35 +00:00
Pierre Joye
ed3e96197d - check max colors while loading gd2 palette image (patch by Tomas Hoger) 2009-10-12 10:01:37 +00:00
Felipe Pena
5132913dd3 - Fixed tests 2009-09-26 16:54:08 +00:00
andy wharmby
e509cc4283 Fix SKIPIF sections 2009-09-15 21:44:08 +00:00
Pierre Joye
8f8220917e - Fix sanity check for the color index in imagecolortransparent 2009-09-03 09:45:56 +00:00
Zoe Slattery
0e4ce3bcca More tests from 2009 testfest 2009-08-28 14:31:19 +00:00
Zoe Slattery
1c98e49afd Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Rafael Machado Dohms
609a573b23 Adding tests for imagecolorallocatealpha 2009-08-24 02:50:19 +00:00
Ilia Alshanetsky
3189707681 Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration) 2009-08-09 13:15:45 +00:00
Kalle Sommer Nielsen
fa09704cea Test case for bug #42434 2009-07-30 03:54:27 +00:00
Kalle Sommer Nielsen
b5b8303194 Fixed bug #42434 (ImageLine w/ antialias = 1px shorter)
- patch by wojjie at gmail dot com
2009-07-28 20:35:06 +00:00
Jani Taskinen
48a514673a - Skip some tests in 32bit systems, add cleanups where missing 2009-07-28 19:16:02 +00:00
Takeshi Abe
59ff212783 added test for #43073 2009-07-27 22:11:43 +00:00
Takeshi Abe
366c261cce MFH: fixed #48732 (TTF Bounding box wrong for letters below baseline) and #48801 (Problem with imagettfbbox) 2009-07-27 15:06:28 +00:00
Rafael Machado Dohms
f7873d0aee Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params 2009-07-24 03:06:05 +00:00
Rafael Machado Dohms
12ef53b204 Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette 2009-07-20 03:48:55 +00:00
Rafael Machado Dohms
23a423aea0 Separating and complementing imageistruecolor and imagetruecolortopalette tests 2009-07-20 03:47:29 +00:00
Rafael Machado Dohms
d7276e46e1 Commiting imagecreatetruecolor tests for PHP_5_3 branch 2009-07-19 01:42:08 +00:00