Commit Graph

927 Commits

Author SHA1 Message Date
Kalle Sommer Nielsen
be7d6a6299 MFH: Change optional parameter for IMG_FILTER_PIXELATE to be a boolean
Added missing NEWS log entry for the new pixelation filter
2009-01-15 07:57:11 +00:00
Takeshi Abe
40d3b2f7f3 MFH: added pixelate filter. 2009-01-14 19:06:12 +00:00
Pierre Joye
9880d8dbe7 - [DOC] support for PNG gray levels+ alpha image, loaded as truecolor 2009-01-14 10:16:15 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Hannes Magnusson
f6cf54d2b1 Fixed bug#46847 (phpinfo() is missing some settings.) 2008-12-12 13:07:28 +00:00
Scott MacVicar
fdb9b62cef MFH Fix segfault and potential security issue in imagerotate(). 2008-12-10 13:32:02 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Pierre Joye
963f7c0234 - typo 2008-11-06 10:17:44 +00:00
Pierre Joye
789eb9cc9a - fix build on linux (static)
- add gd[Format]Version[Int|String] first methods to work around the png
  header issues
2008-11-06 10:14:37 +00:00
Pierre Joye
a4e959e4a1 - MFH: add png and jpeg version info 2008-11-04 20:25:45 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Ilia Alshanetsky
96d199d1b1 Removed deprecated usage of zend_get_parameters_ex() 2008-10-06 17:57:32 +00:00
Pierre Joye
6b35a5df0a - MFH: fix warning 2008-08-29 11:09:28 +00:00
Felipe Pena
3a9b4b92cc - Fix build (thanks Sebastian) 2008-08-04 23:48:09 +00:00
Felipe Pena
b7a6617709 - MFH: Added new parameter parsing API (part II) 2008-08-04 18:23:33 +00:00
Rasmus Lerdorf
a3383ac3d7 Fix for bug #45030 2008-07-31 09:23:18 +00:00
Antony Dovgal
e78f487d65 enable this test on all platforms, no reason to limit it windows only 2008-07-30 09:58:55 +00:00
Antony Dovgal
c44161d303 fix test 2008-07-30 09:55:20 +00:00
Kalle Sommer Nielsen
2d2f6a57f1 MFH: Add test for imagecolorclosesthwb() 2008-07-30 04:35:57 +00:00
Kalle Sommer Nielsen
4f6ad789c7 Add test case for #44849 2008-07-30 01:37:54 +00:00
Jani Taskinen
e593146673 MFH: cleanup 2008-07-25 09:10:11 +00:00
Kalle Sommer Nielsen
c9be725fd8 MFH + NEWS entry 2008-07-20 19:03:18 +00:00
Antony Dovgal
fbf68def7d fix segfault 2008-07-18 07:39:53 +00:00
Scott MacVicar
2558df59d9 Remove GD 1.0 support, still need to adjust the configure scripts to correctly check for a newer version 2008-07-18 01:51:49 +00:00
Scott MacVicar
62de800b36 Remove freetype1 support 2008-07-18 01:16:25 +00:00
Pierre Joye
9a60aed6d1 - MFB: fix crash when some crafted font are given 2008-07-17 23:13:09 +00:00
Rob Richards
58c300ddf6 dont forget the header 2008-07-11 15:05:05 +00:00
Rob Richards
848c7196f4 fix iconv linking 2008-07-11 14:41:06 +00:00
Rob Richards
e83274cd16 fix zlib detection and linking 2008-07-09 16:09:35 +00:00
Pierre Joye
0ca3ffeda3 MFH:
- use _a for static lib
 - fix logic for shared zlib
2008-07-08 19:09:11 +00:00
Antony Dovgal
9a5375a0e3 fix typo 2008-07-08 15:24:12 +00:00
Pierre Joye
ce7428d9d9 - test for ZLIB_SHARED (possible conflict) 2008-07-07 08:41:10 +00:00
Pierre Joye
a4354756eb - MFH:
- update lib/headers detection
  - nuke unused variables
2008-07-06 17:07:26 +00:00
Dmitry Stogov
56bbba3a79 Fixed tests 2008-06-24 06:25:51 +00:00
Felipe Pena
592cecf7d4 - Removed unused variables 2008-06-22 11:36:46 +00:00
Sebastian Bergmann
1a23fec1b0 Fix build. 2008-06-22 08:06:48 +00:00
Felipe Pena
1c7f474e81 - New parameter parsing API 2008-06-21 22:07:53 +00:00
Zoe Slattery
df3347debd Test committed for felixdv 2008-06-16 19:21:59 +00:00
Zoe Slattery
af55856d6e Commited for Sanjay, reviewed by Pierre. Testfest task 5. 2008-06-13 15:57:42 +00:00
Zoe Slattery
bd2fbb9c79 Commited for Sanjay, reviewed by Pierre. Testfest task 79. 2008-06-13 13:49:40 +00:00
Zoe Slattery
562cb168f1 Written by Sanjay Mantoor and reviewed by Pierre. 2008-06-10 18:29:48 +00:00
Etienne Kneuss
94697acff9 MFH: Fix protos 2008-05-04 21:17:33 +00:00
Felipe Pena
14b2f7606b MFB: Fixed bug #44591 (imagegif's filename parameter). 2008-04-04 17:42:18 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Robert Nicholson
a7de596df2 - a few more gd tests (committed on behalf of andy wharmby) 2008-02-01 16:33:17 +00:00
Dmitry Stogov
240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Pierre Joye
3a6acb42b2 - MFB: #43790, fix crash when no family name has been found 2008-01-09 01:51:17 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Mattias Bengtsson
547ba90c09 -MFB, Right filename 2007-11-05 01:14:31 +00:00
Mattias Bengtsson
81a874710e -MFB, Fixed Bug #43121 (gdImageFill with IMG_COLOR_TILED crashes httpd) 2007-11-04 23:56:41 +00:00
Ilia Alshanetsky
c5102f0733 Fixed a typo 2007-10-26 03:19:33 +00:00
Mattias Bengtsson
b6e317e25c -MFB, Be paranoid and dont allow multiplication with zero 2007-10-23 01:58:30 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Ilia Alshanetsky
79325e3c55 MFH: Fixed function definition 2007-09-11 23:34:25 +00:00
Pierre Joye
fd15282c77 - [DOC] add alpha support for imagefilter's IMG_FILTER_COLORIZE 2007-09-11 21:03:48 +00:00
Pierre Joye
7ea43ee23a - re-add fix for libgd #106, imagerectangle draws 1x1 rectangles
as 1x3 rectangles
2007-09-09 13:05:51 +00:00
Pierre Joye
a83c2153f9 - gd bug #102, alternative fix when an old library is used 2007-08-29 06:26:30 +00:00
Pierre Joye
73fcf22627 - revert fix for #106
- add news entry for pslib fix
  NB: Please next time, inform us before a complete freeze is done for
      a given branch. And a week for a RC is defitively too short.
2007-08-27 08:27:45 +00:00
Pierre Joye
0d98b9a1d9 - MFB: gd #106, imagerectangle draws 1x1 rectangles as 1x3 rectangles 2007-08-26 20:35:11 +00:00
Mattias Bengtsson
3126445073 - libgd #101, imagecreatefromgd can crash if gdImageCreate fails 2007-08-09 14:21:38 +00:00
Mattias Bengtsson
436a7a9767 - libgd #94, imagecreatefromxbm can crash if gdImageCreate fails 2007-08-09 12:08:29 +00:00
Pierre Joye
6ed7c8f3aa - fix gd bug #102, < 0 means that no load are loaded, return false
- add error code in the warning
2007-07-30 21:42:36 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Nuno Lopes
74474a1ef8 malloc+memset == calloc (sync with libgd) 2007-06-17 19:03:58 +00:00
Pierre Joye
fcd0a1e790 - Drop useless tests (Daniel Diaz) 2007-06-17 16:51:50 +00:00
Pierre Joye
bf348c8c46 - MFH: #41717, imagepolygon does not respect thickness
(sync with libgd)
2007-06-17 10:56:51 +00:00
Nuno Lopes
93cf41436b sync with libgd: improve _gdImageFillTiled() 2007-06-15 19:47:10 +00:00
Pierre Joye
f5f04f2214 - Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 19:17:31 +00:00
Pierre Joye
c4b5196d0b - #41630, fix segfault when an invalid color index is present in the image
data
2007-06-07 21:07:33 +00:00
Antony Dovgal
8853804482 MFH: fix several integer overflows in GD 2007-06-06 09:45:43 +00:00
Pierre Joye
256de924c7 - MFH: @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION
GD_EXTRA_VERSION and GD_VERSION_STRING
2007-06-03 17:46:18 +00:00
Pierre Joye
f4926a042e - sx/sy must be > 0 and < INT_MAX 2007-06-02 15:38:09 +00:00
Pierre Joye
70650810ad - enable tests even when an external GD is used. Latest releases
(2.0.34 or 2.0.35) work.
2007-06-02 15:35:34 +00:00
foobar
c5e8992942 MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265) 2007-06-01 21:34:17 +00:00
Antony Dovgal
083844f847 MFH: fix #41442 (imagegd2() under output control) 2007-05-22 10:22:49 +00:00
Antony Dovgal
4bd12c4673 fix test 2007-05-17 11:43:47 +00:00
Pierre Joye
85f738261f - fix title 2007-05-16 22:55:27 +00:00
Pierre Joye
7807477a87 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c, fix test
(Reported by Xavier Roche)
2007-05-16 22:21:41 +00:00
Pierre Joye
587de83684 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c
(Reported by Xavier Roche)
2007-05-16 22:19:08 +00:00
Pierre Joye
4a8e75b990 - MFH: fix build when use with a museum freetype version (1.x) 2007-05-07 14:54:36 +00:00
foobar
3f6cb452ee MFH:- Prevent bugs like #41265 being submitted from now on. 2007-05-04 21:57:47 +00:00
Antony Dovgal
0a92fdba8a improve test 2007-05-03 12:10:11 +00:00
foobar
c8925ba493 - fix compile warning 2007-04-24 12:51:22 +00:00
Scott MacVicar
65408b1520 MFH: Fixed bug #40130 (TTF usage doesn't work properly under Netware). 2007-04-23 15:17:47 +00:00
Hannes Magnusson
8edb601981 Fix proto 2007-04-17 15:44:23 +00:00
Pierre Joye
8eb8ae051b - INFO_EX not INFO 2007-04-17 15:39:19 +00:00
Pierre Joye
569e8596af - MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC]
capture a window using its handle or a full screen
2007-04-17 15:31:45 +00:00
Pierre Joye
ffaaaa4df0 - MFH: libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 17:33:15 +00:00
Pierre Joye
737a66e83c - add HAVE_GD_FONTCACHESHUTDOWN to w32 build script (always here) 2007-04-11 11:44:20 +00:00
Pierre Joye
17eaaea1f7 - Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE
to config.w32 (Thanks to Frank for the report)
2007-04-06 15:38:35 +00:00
Pierre Joye
12b66657d7 - reflect the "real" version to avoid confusions. Users should really use
only the bundled version
2007-04-05 11:57:57 +00:00
Antony Dovgal
70cd86420b MFH: fix build 2007-04-05 09:33:10 +00:00
Nuno Lopes
5833fc40dc fix race condition on font cache shutdown 2007-04-04 14:24:03 +00:00
Pierre Joye
539be2cc81 - do not try to use the global color map when none was found (Nuno, Pierre)
- free im on error
2007-04-04 11:40:11 +00:00
Pierre Joye
89ad25f1af - MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used 2007-04-04 01:58:24 +00:00
Pierre Joye
e4749c609c - 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:34:50 +00:00
Pierre Joye
6ef9642b16 - MFH:
- remove double lock (tween colors cache is created in each thread, the
   cache mutex is already locked earlier)
 - #40858, other TS improvements for gd freetype cache management
   cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:47:55 +00:00
Pierre Joye
a9ca51ff1a . colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:30:18 +00:00