Commit Graph

383 Commits

Author SHA1 Message Date
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +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
f196ad4d98 - MFB: alpha support for colorize filter 2007-09-11 21:10:51 +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
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
Antony Dovgal
93b3bc490d fix #41442 (imagegd2() under output control) 2007-05-22 09:44:55 +00:00
Pierre Joye
ca1a485d65 - fix build when use with a museum freetype version (1.x) 2007-05-07 14:50:07 +00:00
Hannes Magnusson
3e7223aeb5 Fix proto 2007-04-17 15:44:25 +00:00
Pierre Joye
1720985ee1 - +ZEND_BEGIN_ARG_INFO_EX not _INFO (thx bjori) 2007-04-17 15:37:26 +00:00
Pierre Joye
4b2861090f - fix arginfo 2007-04-17 15:24:05 +00:00
Pierre Joye
17f6220b8d - add imagegrabwindow and imagegrabscreen (win32 only)
capture a window using its handle or a full screen
  optional bbox and to/from clipboard  will follow shortly
2007-04-17 15:11:56 +00:00
Antony Dovgal
ad260f633f fix build without FreeType 2007-04-05 09:32:58 +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
1cd4938ef5 - 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:44:38 +00:00
Pierre Joye
a0a19d79b9 - MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
2007-02-11 11:13:40 +00:00
Nuno Lopes
6d3b054556 MFB 2007-01-08 22:56:26 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +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
ad5d1383de - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:28:01 +00:00
Nuno Lopes
de57a1f871 cleaning some warnings (char* -> zstr) 2006-10-31 22:13:09 +00:00
Hannes Magnusson
1b8cf37abd Fix arginfo for imagepng() and imagejpeg() 2006-10-18 16:04:25 +00:00
Hannes Magnusson
527af42bd4 Fix "wrong param count" error message 2006-10-08 15:27:28 +00:00
Ilia Alshanetsky
bf92fa9569 Fixed build 2006-10-07 18:12:04 +00:00
Sara Golemon
489565732d More PHP6 Updates 2006-10-07 17:41:14 +00:00
Sara Golemon
39a12a8824 Minor refactoring using zpp API
A few meaningful Unicode updates.
A handful of leak plugs,
and a crash fix in a pear tree.
2006-10-07 16:38:23 +00:00
Ilia Alshanetsky
9b46b3f7e6 MFB: Fixed a large leak inside _php_image_create_from() 2006-09-28 23:18:29 +00:00
Antony Dovgal
eeede0fa1e implement my own FR #36995
nuke unused variable
2006-08-01 22:41:33 +00:00
Hannes Magnusson
12fbcb6344 nuke types in arginfo 2006-07-02 00:10:36 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Hannes Magnusson
3b36c0e4d8 Added argument info
Fixed protos & vim folding
2006-06-11 19:59:53 +00:00
Pierre Joye
cb076717e2 - MFB: #36686, do not be quiet with the extern GD 2006-03-10 18:15:21 +00:00
Pierre Joye
f4ea8372a4 - revert Harmut commit, Histogram implementation not correct and no idea
where you got the ok to add that
2006-03-05 19:20:12 +00:00
Hartmut Holzgraefe
dd659ea648 - fixed size information for _php_sig_png array
- removed extra memcmp step in signature comparison,
  this seemed to have been inherited from ext/standard/image.c
  but is not needed here as the provided buffer is big enough
  from the start
2006-03-05 18:26:12 +00:00
Hartmut Holzgraefe
05fa58f84e added ImageColorHistogram function 2006-03-05 18:23:47 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Pierre Joye
d78e8d749c - test for jpeg support 2006-02-05 15:53:02 +00:00
Pierre Joye
bc436e2fd3 - add a weak/tolerant mode to the jpeg loader
* new INI option to enable it (off by default)
   gd.jpeg_ignore_warning (0|1)
 * The default mode is the current behavior
 * if the warning mode is enabled, the image may be loaded succesfully
   but the jpeg warnings will be raise as notices
2006-02-02 20:30:54 +00:00
Michael Wallner
64d4c588ad MF5_1: include png.h prior php.h 2006-01-27 20:48:42 +00:00
Pierre Joye
2901af230c - add PNG filter constants 2006-01-27 18:05:26 +00:00
Antony Dovgal
7bf63ad49b improve open_basedir checks in GD 2006-01-17 23:49:14 +00:00
Pierre Joye
2179e33f14 - MFB: imagecolorallocate* returns false on error 2006-01-17 16:34:58 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
1da0da0986 MFB51: Not a fatal error. 2005-12-29 22:00:09 +00:00
Pierre Joye
180aa52fea - remove HAVE_LIBGD20, we support only 2.0+ now
(some were removed by my previous commit)
2005-12-27 00:16:05 +00:00
Pierre Joye
7261a0317b - silent compile warning introduced by previous commit 2005-12-27 00:11:16 +00:00
Pierre Joye
954a2823a6 - HAVE_GD_DYNAMIC_CTX_EX, always defined 2005-12-26 21:46:56 +00:00