Commit Graph

983 Commits

Author SHA1 Message Date
Pierre Joye
aee2145f93 - not necessary 2009-04-07 10:04:52 +00:00
Pierre Joye
f20371a7a5 - only gd2+ is supported, no need of this check. (sidenote: PHP_CHECK_LIBRARY seems to use some weird flags (like -lidn in this case)) 2009-04-07 09:53:01 +00:00
Pierre Joye
3bbe4107e2 - MFB:
- #47812, undefined symbol: gdJpegGetVersionInt
 - #46015, Build fails with system gd
 - enable gd_compat when built using system's gd
2009-04-07 09:44:21 +00:00
Pierre Joye
086765ff17 - MFB: initial import, support for external gd library while keeping bug fixes or features (more will be activated later) 2009-04-07 09:43:53 +00:00
Pierre Joye
d357aaf591 - nuke unused var 2009-04-06 11:37:51 +00:00
Takeshi Abe
a6ef4675fb replaced static gdPngJmpbufStruct, which is afraid of being shared with
several threads, by a couple of auto variables.
2009-04-01 16:05:17 +00:00
Pierre Joye
3e983c6b94 - MFB: silent warning 2009-03-31 18:08:12 +00:00
Pierre Joye
05f342c805 - check in the libpng dir as well 2009-03-29 14:01:15 +00:00
Takeshi Abe
cd31aa574b MFB: #43073, TrueType bounding box is wrong for angle<>0 2009-03-25 16:15:18 +00:00
Takeshi Abe
7d91684a11 fix test to follow #47757 2009-03-25 15:25:05 +00:00
Pierre Joye
3f3b86fac2 - MFB: #47757 rename JPG to JPEG in phpinfo 2009-03-24 09:42:49 +00:00
Takeshi Abe
27cf6d587f Fixed libgd #186 (Tiling true colour with palette image does not work) 2009-03-18 15:29:56 +00:00
Scott MacVicar
43842949b7 Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:44 +00:00
Takeshi Abe
c1b257fc45 Fixed bug #45799 (imagepng() crashes on empty image) 2009-03-14 16:06:57 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Takeshi Abe
95651ba360 fixed typos 2009-02-13 16:02:46 +00:00
Takeshi Abe
4c0cbee415 - fixed memory leaks in gdImageCreateFromXpm()
- dropped unused codes
2009-02-11 17:56:17 +00:00
Takeshi Abe
9874bacbc9 optimization via the row-major order. 2009-02-11 16:30:48 +00:00
Kalle Sommer Nielsen
4b2e3d58e9 Fix arginfo for imagefilter() 2009-01-31 15:27:11 +00:00
andy wharmby
9539c83095 New image tests. Tested on Windows, LInux and Linux 64 bit 2009-01-22 13:27:33 +00:00
Takeshi Abe
f436bb3087 bump up and use IMAGE_FILTER_MAX_ARGS instead of a magic number. 2009-01-19 16:35:40 +00:00
Takeshi Abe
a98959be35 fixed the bug of libgd #191 (A circle becomes square) 2009-01-19 15:41:15 +00:00
Kalle Sommer Nielsen
02dffc868b Change optional parameter for IMG_FILTER_PIXELATE to be a boolean 2009-01-15 07:55:18 +00:00
Takeshi Abe
1b9910b645 added pixelate filter. 2009-01-14 18:57:51 +00:00
Pierre Joye
431596f203 - [DOC] support for PNG gray levels+ alpha image, loaded as truecolor 2009-01-14 10:16:42 +00:00
Antony Dovgal
8eee656594 fix test 2009-01-10 22:46:57 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Hannes Magnusson
c0dcb08ba8 Fixed bug#46847 (phpinfo() is missing some settings.) 2008-12-12 13:05:58 +00:00
Scott MacVicar
29ab16ee67 Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:30:12 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e79849c905 - Fix build 2008-11-13 11:32:04 +00:00
Pierre Joye
a5368aeb73 - MFH:
- Fix linux build (static)
 - add gd[Format]Version[Int|String] first methods to work around the png
   header issues
2008-11-06 10:23:52 +00:00
Pierre Joye
d2b7db73b4 - add png and jpeg version info 2008-11-04 20:24:46 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Rob Richards
4c52444e6d sz is long not zval** 2008-09-22 15:30:59 +00:00
Pierre Joye
3708b50fe6 - fix warning 2008-08-29 11:09:05 +00:00
Felipe Pena
3ae6c7a978 - MFB: New parameter parsing API
- CS (wddx)
2008-08-24 04:02:20 +00:00
Felipe Pena
ebb28b484a - Fixed test 2008-08-04 18:26:15 +00:00
Felipe Pena
0e645a745c - Added new parameter parsing API (part II) 2008-08-04 18:22:02 +00:00
Rasmus Lerdorf
f5dc937a0d Fix for bug #45030 2008-07-31 09:23:59 +00:00
Antony Dovgal
2560c18bf6 fix tests 2008-07-30 09:57:55 +00:00
Kalle Sommer Nielsen
a00f7db067 Add test for imagecolorclosesthwb() 2008-07-30 04:35:21 +00:00
Kalle Sommer Nielsen
73558cf334 MFB: Add test case for #44849 2008-07-30 01:38:37 +00:00
Jani Taskinen
a1981bf2d8 - Cleanup after test 2008-07-25 09:10:02 +00:00
Kalle Sommer Nielsen
db03ac036a Fixed #44849 (imagecolorclosesthwb() is not available on Windows) 2008-07-20 19:00:35 +00:00
Pierre Joye
a883ec0aca - MFB: fix crash when some crafted font are given 2008-07-17 23:28:11 +00:00
Rob Richards
0b17233704 MFB: dont forget the header 2008-07-11 15:06:06 +00:00
Rob Richards
75cc69e2b9 MFB: fix iconv linking 2008-07-11 14:42:00 +00:00
Rob Richards
3b58e7e8c6 MFB: fix zlib detection and linking
- synch zip config.w32
2008-07-09 16:13:53 +00:00
Pierre Joye
739450edb7 - use _a for static lib
- fix logic for shared zlib
2008-07-08 19:07:53 +00:00
Pierre Joye
c9d7050fa1 - add support for old named zlib (no _a or dynamic)
- nuke the right unused vars
2008-07-07 08:40:04 +00:00
Pierre Joye
579a044be3 - restore wrongly removed vars
- test if zlib is shared or not (possible conflict)
2008-07-07 08:36:04 +00:00
Pierre Joye
ed1e8ca285 - update lib/headers detection
- nuke unused variables
2008-07-06 17:06:43 +00:00
Antony Dovgal
0830b0026d cleanup on test failure 2008-07-01 11:20:15 +00:00
Zoe Slattery
3b99caaa7d Test committed for felixdv 2008-06-16 19:23:43 +00:00
Zoe Slattery
de67854ff7 Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:59:31 +00:00
Zoe Slattery
d88bbe3434 Commited for Sanjay, reviewed by Pierre. Testfest task 79. 2008-06-13 13:51:22 +00:00
Felipe Pena
7504d57043 - Fixed tests (unicode results, UEXPECT, line endings) 2008-06-13 00:18:57 +00:00
Zoe Slattery
bc84bcc19c Written by Sanjay Mantoor and reviewed by Pierre. 2008-06-10 18:31:37 +00:00
Steph Fox
4be7f4aecd - killed off UEXPECT
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete
2008-05-27 18:16:04 +00:00
Etienne Kneuss
5f4e5fa60a Fix protos 2008-05-04 21:16:22 +00:00
Felipe Pena
c82d6062ac Fixed return value changed previously 2008-02-28 17:43:32 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Robert Nicholson
6da9b239aa - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:32:37 +00:00
Dmitry Stogov
42a683d688 Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:56:22 +00:00
Pierre Joye
fa3f2f7ead - MFB: #43790, fix crash when no family name has been found 2008-01-09 01:52:03 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Mattias Bengtsson
a074d094a2 -MFB, Right filename 2007-11-05 01:14:44 +00:00
Mattias Bengtsson
7e0ca9e1d7 -MFB, Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:57:07 +00:00
Mattias Bengtsson
f2b8a75004 -MFB, Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:41 +00:00
Jani Taskinen
9026a201a3 - Fix compiler warning 2007-09-28 12:52:12 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Pierre Joye
32a5a95752 - MFB 2007-09-11 21:31:14 +00:00
Pierre Joye
f196ad4d98 - MFB: alpha support for colorize filter 2007-09-11 21:10:51 +00:00
Pierre Joye
9dfdaac244 - MFB:
- gdImageTileApply does not respect transparent color
 - gdImageArc regression
 - Alpha channel support for gdImageColor (IMG_FILTER_COLORIZE)
2007-09-11 21:07:04 +00:00
Nuno Lopes
0006462a5b MFB: malloc+memset == calloc
# this was sitting here for quite a looong time..
2007-09-03 14:34:42 +00:00
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
322a68f726 - MFB:
- fix gd bug #102, < 0 means that no load are loaded, return false
 - add error code in the warning
2007-07-30 21:44:53 +00:00
foobar
f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Pierre Joye
bf11cccf75 - Re commit "sync with libgd: improve _gdImageFillTiled()", I reverted
it in my previous commit
2007-06-17 17:14:02 +00:00
Pierre Joye
fd8baff90a - MFB: Drop useless tests (Daniel Diaz) 2007-06-17 17:12:46 +00:00
Pierre Joye
a05b93e5fc - #41717, imagepolygon does not respect thickness
(sync with libgd)
2007-06-17 10:53:33 +00:00
Nuno Lopes
5da2f6e7de MFB: sync with libgd: improve _gdImageFillTiled() 2007-06-15 19:50:05 +00:00
Pierre Joye
f1ef64401e - MFB: Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 19:18:00 +00:00
Pierre Joye
7114e613d8 - MFB: #41630, fix segfault when an invalid color index is present in the
image data
2007-06-08 05:25:52 +00:00
Antony Dovgal
144b05cdd0 fix several integer overflows in GD 2007-06-06 09:43:39 +00:00
Pierre Joye
d6eb2e1c46 - @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION
GD_EXTRA_VERSION and GD_VERSION_STRING
- fix #ifdef else clause
2007-06-03 17:43:13 +00:00
Pierre Joye
893225c0aa - MFB: sx/sy must be > 0 and < INT_MAX 2007-06-02 15:41:02 +00:00
foobar
520c4a0510 - Fixed bug #41555 (configure failure: regression caused by fix for #41265 2007-06-01 21:33: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
Pierre Joye
ca1a485d65 - fix build when use with a museum freetype version (1.x) 2007-05-07 14:50:07 +00:00