Commit Graph

365 Commits

Author SHA1 Message Date
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +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
a83c2153f9 - gd bug #102, alternative fix when an old library is used 2007-08-29 06:26:30 +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
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
Antony Dovgal
083844f847 MFH: fix #41442 (imagegd2() under output control) 2007-05-22 10:22:49 +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
c8925ba493 - fix compile warning 2007-04-24 12:51:22 +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
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
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
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
18e4a7aacb - Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
2007-02-11 11:11:48 +00:00
Nuno Lopes
43369cef58 avoid calling MSHUTDOWN when built without libt1 2007-01-08 22:52:22 +00:00
Ilia Alshanetsky
7d901eacbe %f -> %F 2007-01-05 15:06:55 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Pierre Joye
7ddd4ed1d7 - #39286, misleading error message when nvalid dimensions are given 2006-12-10 02:55:30 +00:00
Pierre Joye
9e533e39b6 - MFH:#39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:38:02 +00:00
Hannes Magnusson
5006fb2ceb MFH: Fix double "wrong param count" messages 2006-11-03 15:13:17 +00:00
Hannes Magnusson
b99ba323d5 MFH: fix arginfo 2006-10-18 16:04:37 +00:00
Sara Golemon
34ed116e90 MFH(r-1.356) Don't assume the array elements are arrays too 2006-10-07 16:40:39 +00:00
Ilia Alshanetsky
66bdeaddb4 Fixed a large leak inside _php_image_create_from() 2006-09-28 23:17:31 +00:00
Pierre Joye
6dbb90af21 - fix compiler warnings 2006-08-08 11:56:36 +00:00
Antony Dovgal
e17320651c MFH: implement my own FR #36995
add missing ifdefs
2006-08-01 22:42:11 +00:00
Hannes Magnusson
7af33194e5 MFH: arginfo fixes 2006-07-02 00:11:06 +00:00
Hannes Magnusson
954acfe261 MFH: Revert array type hinting 2006-06-15 15:31:54 +00:00
Hannes Magnusson
21b0f60332 MFH: argument infos 2006-06-11 20:03:05 +00:00
Pierre Joye
0ebab9d495 - #36686, do not be quiet with the extern GD 2006-03-10 18:07:27 +00:00
Pierre Joye
6f632a77c3 - MFH: add a weak/tolerant mode to the jpeg loader 2006-02-05 15:53:58 +00:00
Michael Wallner
fe52312f59 - include png.h prior php.h 2006-01-27 20:46:02 +00:00
Pierre Joye
1b546b9f77 - MFH: add filter option to imagepng
- add constants
  PS: If someone can check why #include "png.h" fails, it will be cleaner
2006-01-27 13:36:30 +00:00
Antony Dovgal
56242031aa MFH: improve open_basedir checks in GD 2006-01-17 23:47:08 +00:00
Pierre Joye
5ea4c827c9 - remove old return_long 2006-01-17 19:04:06 +00:00
Pierre Joye
afa77062d1 - return false on error 2006-01-17 15:44:12 +00:00
Pierre Joye
328c294569 - Returns FALSE on error, it is how it must work 2006-01-17 15:23:29 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Ilia Alshanetsky
5c32e974aa Not a fatal error. 2005-12-29 21:59:39 +00:00
Pierre Joye
d07b094461 - MFH: raise warnings instead of errors in colormatch 2005-12-25 20:33:05 +00:00
Pierre Joye
f5a7694305 - MFH: fix segfault/leak in imagecolormatch
- MFH: test for imagecolormatch
2005-12-25 19:39:53 +00:00
Pierre Joye
1024844a41 - MFH:
- fix leaks and wrong error when invalid/empty string are given to
  imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-17 17:46:59 +00:00
Pierre Joye
ce90a27a48 - MFH, PNG compression support exposed 2005-12-09 18:07:57 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
4e874820e9 MFH: nuke php3 legacy 2005-12-06 01:21:28 +00:00
foobar
289402edc6 MFH: - Added missing safe-mode checks
# Added by replacing the existing open_basedir checks with a macro
# Also, the filename passed might be null, etc. so it's not very good
# idea to pass to php_error_docref() (catch by Ilia)
2005-11-01 17:05:09 +00:00