Commit Graph

983 Commits

Author SHA1 Message Date
foobar
495ce1d791 - Prevent bugs like #41265 being submitted from now on. 2007-05-04 21:57:22 +00:00
Antony Dovgal
08536784db improve test 2007-05-03 12:10:02 +00:00
Scott MacVicar
fef929f044 Fixed bug #40130 (TTF usage doesn't work properly under Netware) 2007-04-23 15:06:13 +00:00
Antony Dovgal
ff4ee42767 avoid 10 000 warnings 2007-04-20 21:00: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
Pierre Joye
e24e904efb - libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 17:30:51 +00:00
Pierre Joye
4b25f38a07 - add HAVE_GD_FONTMUTEX and HAVE_GD_FONTCACHESHUTDOWN to win32 build 2007-04-11 11:45:19 +00:00
Scott MacVicar
9c49c0403e fix #41048 (PHP6 Segmentation fault issue) 2007-04-11 10:43:28 +00:00
Pierre Joye
41274c7f87 - MFB: Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and
HAVE_LIBFREETYPE to config.w32 (Thanks to Frank for the report)
2007-04-06 15:42:27 +00:00
Pierre Joye
8fc091b51a - depends on 2.0.34 2007-04-05 11:59:13 +00:00
Antony Dovgal
ad260f633f fix build without FreeType 2007-04-05 09:32:58 +00:00
Nuno Lopes
5e50336e7e MFB: fix race condition on font cache shutdown 2007-04-04 14:26:04 +00:00
Pierre Joye
19ac790b35 - MFH:
- do not try to use the global color map when none was found (Nuno, Pierre)
 - free im on error
2007-04-04 11:42:54 +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
02f5db029d - MFB: colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:41:08 +00:00
Pierre Joye
37ad5f77df - CVE-2007-1001, integer overflow with invalid wbmp images 2007-03-10 12:16:19 +00:00
Pierre Joye
01c8b39ab8 - MFB: #40764, line thickness not respected for horizontal and vertical
lines
2007-03-10 01:23:42 +00:00
Nuno Lopes
78f33b160a MFB: fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 20:26:48 +00:00
Nuno Lopes
9777b3a933 MFB
#Pierre: libgd isn't affected. this problem was caused by the recent conversion to strlcpy()
2007-03-02 18:46:16 +00:00
Nuno Lopes
ea624e97e5 MFB 2007-03-01 18:41:45 +00:00
Pierre Joye
519e18a2c3 - MFB: sync with libgd.org, patch from Kees Cook 2007-02-25 02:56:03 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Pierre Joye
7d437feb83 - MFB: #40578, fix the 2nd race condition on shutdown when the cache is
freed
2007-02-23 01:02:57 +00:00
Antony Dovgal
c3b7cb1901 fix #40578 (imagettftext() multithreading issue) 2007-02-21 14:59:36 +00:00
Antony Dovgal
71340e43f9 fix test name 2007-02-16 11:08:11 +00:00
Pierre Joye
a0a19d79b9 - MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
2007-02-11 11:13:40 +00:00
Pierre Joye
198fdf319d - MFB: save/restore the alpha blending mode correctly in imagefill and
imagefilltoborder
2007-01-19 15:16:46 +00:00
Nuno Lopes
b1f02b95ce MFB 2007-01-13 11:22:44 +00:00
Nuno Lopes
8cf3db93ad MFB 2007-01-13 11:16:53 +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
5f83f04cbb - Add better zlib detection 2006-12-26 10:42:25 +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
df5d4a52f9 - MFB: #39508, imagefill crashes with small image 2006-12-10 02:08:07 +00:00
Pierre Joye
ad5d1383de - #39780, PNG image with CRC/data error raises fatal error 2006-12-10 01:28:01 +00:00
Pierre Joye
4f2e67121d - MFH: Merge from gd-cvs, initialize the signature not the infile ctx 2006-11-05 15:06:50 +00:00
Pierre Joye
20f1d35048 - Fixed filter argument for imagepng in gdImagePngEx 2006-11-04 14:34:04 +00:00
Pierre Joye
75f4f96203 - MFB: vim folding 2006-11-04 14:32:23 +00:00
Pierre Joye
c25d7f249a - MFB: silent compiler warnings 2006-11-04 14:29:00 +00:00
Pierre Joye
5334153117 - ws 2006-11-04 14:22:23 +00:00
Pierre Joye
3475bd62e0 - #39366, imagerotate does not use alpha with angles>45 2006-11-04 03:12:36 +00:00
Pierre Joye
799e6c0e98 - MFB: #39273, imagecopyresized and alpha channel 2006-11-04 02:23:45 +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
Pierre Joye
2e1b7b03f8 - don't check signature if the file is empty (valgrind reports with test
001), thx Tony for the head up
2006-10-11 00:21:33 +00:00
Antony Dovgal
81c149153e add new test 2006-10-10 22:38:00 +00:00
Pierre Joye
7ecbbfc206 - MFB: #39082, image* segfaults when used with only one argument
(introduced in 5.2+, no news entry)
2006-10-08 17:42:55 +00:00
Hannes Magnusson
527af42bd4 Fix "wrong param count" error message 2006-10-08 15:27:28 +00:00
Hannes Magnusson
cf59f0063f fix test 2006-10-08 13:43:20 +00:00
Pierre Joye
f242191738 - update tests 2006-10-07 19:57:15 +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
Pierre Joye
66cd47d5e9 - MFB: imagefill(), infinite loop with wrong color index 2006-09-28 08:52:23 +00:00
Nuno Lopes
f2da2decd4 MFB: fix compiler warnings introduced in my previous commit 2006-09-16 19:08:21 +00:00
Nuno Lopes
678b162fef MFB 2006-09-15 16:14:57 +00:00
Nuno Lopes
22088632e2 MFB 2006-09-15 15:14:04 +00:00
Pierre Joye
96aedc6efd - add support for entities in hexadecimal format, like © can
be passed as &#169 or ©
2006-08-23 20:21:34 +00:00
Pierre Joye
8019b9d264 - please don't use base64 to test image files, it does not work
fix tests on 64bit platfrom
2006-08-23 12:00:05 +00:00
Antony Dovgal
eeede0fa1e implement my own FR #36995
nuke unused variable
2006-08-01 22:41:33 +00:00
Pierre Joye
dfb431b7c5 - MFB #38214, gif interlace never worked 2006-07-26 10:03:41 +00:00
Pierre Joye
58cb2cd8b4 - mv 38179.phpt to bug38179.phpt 2006-07-26 08:58:31 +00:00
Pierre Joye
8c0dc5a856 - #38212, Segfault on invalid imagecreatefromgd2part() parameters 2006-07-26 08:51:53 +00:00
Pierre Joye
5b02056c23 - MFB: #38179, imagecopy, palette to truecolor must use alpha channel too 2006-07-23 21:48:18 +00:00
Nuno Lopes
8aafe02cc9 MFB 2006-07-22 15:16:40 +00:00
Pierre Joye
004ed49028 - MFB: #38112, corrupt GIF Image segfault 2006-07-17 15:08:46 +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
154507f6bc - #37360, bad gif size 2006-05-08 11:49:33 +00:00
Pierre Joye
9d07689c67 - CS (spaces > tabs) 2006-05-08 11:46:13 +00:00
Pierre Joye
fc91929f94 - MFB: #37346, invalid colormap format 2006-05-07 17:21:11 +00:00
foobar
b8cdb46cce - More safe_mode left-overs. 2006-04-11 11:32:06 +00:00
Pierre Joye
ff2822a82b - MFB: #36697, truecolor image lost im->transparent 2006-03-14 03:46:59 +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
c28cff57d1 - Couple of compile fixes. 2006-02-19 05:05:42 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Pierre Joye
d78e8d749c - test for jpeg support 2006-02-05 15:53:02 +00:00
Pierre Joye
ccaa5eaab2 - remove libjpeg direct output and wrap them in php warnings 2006-02-04 14:56:58 +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
Pierre Joye
64d07968de - add filter mode support for imagepng
imagepng("file", $comp_mode, $filter_mode);
  The filters are defined in the libpng docs for png_set_filter
  allow to divide the size of png images by more than 2. Constants
  will be added later

  BC kept, by default no filter are set

Fine to MFH? With the constants?
2006-01-27 01:59:26 +00:00
foobar
644ca88100 - Fixed bug #Â36110 (missing sanity checks for external build) 2006-01-20 21:58:17 +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
Pierre Joye
e45ec1e460 - ensure that x1<x2 or y1<y2 2005-12-30 09:53:05 +00:00
Pierre Joye
3afdc2e490 - add some basic optimisations, usefull when you draw many horizontal or
vertical lines like in charts
2005-12-30 01:19:32 +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
Pierre Joye
53973f97d0 - check for jpeg support 2005-12-26 21:41:37 +00:00
Pierre Joye
422d9180d1 - remove HAVE_LIBGD204, always set 2005-12-26 20:44:19 +00:00
Pierre Joye
efcdf4ea4d - remove USE_GD_IOCTX, both bundled and extern lib use IOCTX 2005-12-26 20:34:42 +00:00
Pierre Joye
f728cb07e6 - basic gif i/o test 2005-12-26 19:11:51 +00:00
foobar
4cbffe865e fix test 2005-12-26 18:30:12 +00:00
Pierre Joye
7074d0c2bf - imagetypes test
- copyresized title
2005-12-26 17:15:51 +00:00
Pierre Joye
ab24e85893 - copyresized basic test
more once imagediff is available
2005-12-26 12:05:36 +00:00
Pierre Joye
5f018ca382 - add colorclosestalpha tests 2005-12-25 22:02:53 +00:00
Pierre Joye
1b6d773657 - add colorresolvealpha to colorresolve tests
- update colormatch
2005-12-25 21:45:04 +00:00
Pierre Joye
76f28deeeb - raise warning instread of errors in colormatch 2005-12-25 20:32:25 +00:00
Pierre Joye
65df8e80ea - fix leak/segfaults in imagecolormatch
- add tests for imagecolorexact and imagecolormatch
  The later is only about the segv
2005-12-25 19:21:58 +00:00
Pierre Joye
49f0d6b8c2 - add truecolortopallete and istruecolor test
- titles for colorclosest/resolve...
2005-12-24 14:05:20 +00:00
Pierre Joye
439eaf24d6 - fix titles
- function check
2005-12-24 14:01:54 +00:00
Pierre Joye
2ca0c5abb7 - remove HAVE_GDIMAGECOLORRESOLVE here too (w32) 2005-12-22 23:25:06 +00:00
Pierre Joye
c13515dd1f - add tests for:
- imagecolorclosest
 - imagecolorresolve
 - imagecopy
 - imageline
 -imagesetstyle and dashed line
- remove HAVE_GDIMAGECOLORRESOLVE, always present
2005-12-22 23:22:26 +00:00
Ilia Alshanetsky
1014cb28c2 MFB51: Fixed uninitialized variable in a test. 2005-12-17 19:58:02 +00:00
Pierre Joye
4abc190946 - remove HAVE_LIBGD15, always set 2005-12-16 19:21:55 +00:00
Pierre Joye
cc938b5df0 - fix leaks and wrong error when invalid/empty string are given to
imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-16 19:02:07 +00:00
Pierre Joye
366f2ee161 - adieu HAVE_LIBGD13
- add imagecolorat tests (truecolor and palette)
2005-12-16 17:02:30 +00:00
Pierre Joye
ca7270ffa2 - add wbmp read/write tests
- remove HAVE_GD_WBMP, always available
2005-12-14 22:33:34 +00:00
Pierre Joye
aa3fe56fb9 - correct title 2005-12-14 19:50:42 +00:00
Pierre Joye
0ab721ab1d - remove HAVE_GD_GD2 on windows as well 2005-12-14 19:12:57 +00:00
Pierre Joye
5436f9f38d - remove HAVE_GD_GD2, always valid now (2.0.33 or bundled) 2005-12-14 19:10:52 +00:00
Pierre Joye
e2091ad9ea - tests for imagecreatefromgd2 and gd2part 2005-12-14 19:00:28 +00:00
Pierre Joye
183a717c70 - no need to test if jpeg support exists 2005-12-09 18:16:21 +00:00
Pierre Joye
8b81d9279f - MFB: test for compression mode in imagepng 2005-12-09 18:14:12 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
acf2ab661a nuke php3 legacy 2005-12-06 01:26:39 +00:00
foobar
6f8644ce1e php3 is dead 2005-12-04 23:27:23 +00:00
foobar
cfaa455272 - More cleanups.
# Pierre: Check the convenient list of unnecessary defines in config.m4
# (search for FIXME :)
2005-12-01 00:36:26 +00:00
Pierre Joye
6160b285f7 - minor version is 0 2005-11-30 17:33:27 +00:00
Pierre Joye
ead45ca2f6 - use gdlib-config
- bump to 2.0.33 for now, most stable release and closer from the phpgd
  this is only about config.m4, sources cleanup will follow the additions
  of various tests.
2005-11-30 15:59:07 +00:00
foobar
0c2f3ea24e - Fix bad usage of php_checkuid() 2005-11-02 21:26:08 +00:00
foobar
60084a7507 *** empty log message *** 2005-11-01 17:04:29 +00:00
Pierre Joye
0a160d3459 - MFB #34980, divisor and offset never passed correctly (s/float/double/) 2005-10-27 11:07:39 +00:00
Antony Dovgal
5f7baf7312 fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero) 2005-10-26 21:35:56 +00:00
Pierre Joye
d8b5fb88cd - add compression mode argument to imagepng
(MFH to 5.1?)
2005-10-08 19:29:04 +00:00
Ilia Alshanetsky
37a1bb6f52 Added missing safe_mode checks. 2005-10-06 20:37:25 +00:00
Pierre Joye
9688e4017b - remove gdttf 2005-10-02 18:31:37 +00:00
Pierre Joye
918b48839b - ft1 support remove, #2, gdttf.* 2005-10-02 18:06:13 +00:00
Pierre Joye
9c6a41fbdb - drop freetype1 support 2005-10-02 18:01:51 +00:00
Pierre Joye
00953d1a15 - MFB: #33125, alpha emulation broken 2005-09-30 20:58:41 +00:00
Pierre Joye
97bad74c0f - #33220, fix infinite loop while loading invalid gif, this patch fixes
at least many cases (nlopess)
2005-09-24 14:37:49 +00:00
foobar
b385e0ad39 Nuke EOLs from error messages 2005-08-18 12:54:32 +00:00
foobar
757a76df3f Missing entry 2005-08-07 21:00:28 +00:00
Edin Kadribasic
6e5ddd7b30 Only link zlib if we dont compile it in (#3406) 2005-08-06 22:20:06 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
88fcc4859f Allow building gd on windows systems without t1lib (M. Sisolak) #33620 2005-08-01 21:57:09 +00:00
Pierre Joye
9859780570 - fix #33794 imagerotate rotates only CCW
introduced by transparent color patch
2005-07-23 16:41:38 +00:00
Ilia Alshanetsky
353e07f57b Fixed memory corruption. 2005-06-16 22:50:32 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Antony Dovgal
5cd3bd2ea7 gdImageGifCtx() is always available in bundled lib 2005-05-17 12:22:51 +00:00
foobar
1ee0293680 - Install GD header files 2005-05-07 03:19:42 +00:00
Antony Dovgal
0a830b33fc fix off-by-one in _php_image_output()
and prevent such errors in php_do_open_temporary_file()
2005-05-06 16:48:30 +00:00
Pierre Joye
90ee88e090 - MFB: #32891, init old y positions to non possible values. -1 being used
if the center start a (x,0)
2005-05-01 06:01:56 +00:00
Pierre Joye
f150ee9ab5 - do not use md5, png signature can change between libpng version
some floating points issue can end to different colors (+/- 1/255)
   tests should work again now.
2005-04-25 11:36:24 +00:00
Edin Kadribasic
cbe6261882 Added T1LIB support on Windows (#32809) 2005-04-25 09:08:48 +00:00
Derick Rethans
bb8988109d - Fixed bug #32735 (Compile error in GD extension). 2005-04-17 10:17:03 +00:00
Pierre Joye
3963ba649d - export imageconvolution to userland, making people happy to do not
use the predefined ones :)
2005-04-16 12:12:24 +00:00
Rasmus Lerdorf
4162bd8b21 I think this is a cleaner emboss filter. Less fringing. 2005-04-16 09:20:59 +00:00
Rasmus Lerdorf
d0f4028194 The emboss and edge detection matrices are swapped 2005-04-16 00:04:52 +00:00
Andrey Hristov
d9f5f1ee08 fix memory corruption on 64bit in imagefttext(),
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +00:00
foobar
28ffae8ad0 - Make VC6 happy 2005-04-10 19:07:38 +00:00
foobar
c67da24e31 Fix another title 2005-04-03 11:17:54 +00:00
foobar
0ee465d2a0 fix description 2005-04-03 11:15:39 +00:00
Pierre Joye
d8824f2d5c - remove "debug" code 2005-03-28 08:17:17 +00:00
Pierre Joye
6d46acfc70 - MFB, imagerectangle draws 2x each corners (alpha channel uglyness) 2005-03-28 08:14:30 +00:00
Pierre Joye
c8ce18c155 - allow to keep or ignore the transparent color in imagerotate (thx
Ken Coar to report this "bug")
- be sure to restore alphablending in imagefill
- use zend_parse_parameter in imagerotate
2005-03-27 23:43:52 +00:00
foobar
e82eb93cf2 - Added some sanity checks by changing to the parameter parsing API 2005-01-17 17:07:28 +00:00
foobar
0e9866bfd6 ws fix 2005-01-15 04:34:30 +00:00
foobar
330746480e - Fixed bug #31060 (imageftbbox() does not use linespacing parameter) 2005-01-14 23:07:46 +00:00
foobar
68ca0ed6d8 - Fixed bug #30120 (imagettftext() and imagettfbbox() accept too many parameters) 2005-01-14 22:43:15 +00:00
foobar
a139dbf9cc - Fix outside-source-tree builds. Always include generated header files
with #include <some_header.h> to make sure the correct file is used.
2005-01-09 21:05:06 +00:00
foobar
a2177b2e8e - Fixed bug #31396 (compile fails with gd 2.0.33 without freetype) 2005-01-04 06:51:45 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
Ilia Alshanetsky
12c2113b3e Fixed compiler warnings. 2004-12-29 21:40:34 +00:00
Ilia Alshanetsky
3f79dfbb04 Don't forget to unload t1lib. 2004-12-29 21:07:59 +00:00
foobar
ce742b08b0 - Fix typo (avaliable -> available). (bug #28725) 2004-12-16 12:34:32 +00:00
Joe Orton
7263c220dd More PHP_LIBDIR fixes for lib64 platforms. 2004-12-13 10:30:21 +00:00
Dmitry Stogov
5ece0ecdfb Test was fixed. 2004-11-23 17:21:33 +00:00
Pierre Joye
f3b74fe9ac - Attempt to fix #28598, bug introduced in GD (around php 4.3.4)
The way they fix MS Symbol are wrong, multiple faces support hould added
  later, safer.

  Please test it with your weird fonts, if it works, MFH will be done.
2004-11-20 13:09:45 +00:00
Pierre Joye
32ff83e4da - Really fix imagefill, part of my previous (old) fix was not applied
(blame me), bak the alphablending and restore it on exit
2004-11-17 20:19:35 +00:00
Pierre Joye
d9f08cb7ce - MFB: fix #30739, imagefill did not set back alphablending mode 2004-11-17 17:21:22 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Ilia Alshanetsky
8091bfb84c MFB: Fixed bug #30658 (Ensure that temporary files created by GD are removed). 2004-11-02 16:41:41 +00:00
Joe Orton
0d3884fed1 Move global symbols defined by bundled copy of libgd into private
php_gd_* namespace, to avoid symbol conflicts with, for instance,
another Apache module which loads a different copy of libgd.
2004-08-31 16:41:29 +00:00
Ilia Alshanetsky
4d360ead0c Fixed bug #29594 (Use PHP's own tmpfile() implementation). 2004-08-16 23:07:42 +00:00
Ilia Alshanetsky
61d60153b2 Fixed memory leak. 2004-08-11 23:25:50 +00:00
Ilia Alshanetsky
47bf193c53 Added missing comma. Thanks Tony. 2004-07-27 12:44:25 +00:00
Ilia Alshanetsky
69a5253284 Fixed bug #29349 (imagecreatefromstring() crashes with external GD library)
Original Patch By: adconrad at debian dot org
2004-07-27 00:27:06 +00:00
Edin Kadribasic
67c42a4a9b Updated version number 2004-07-23 02:28:18 +00:00
Stefan Esser
da3d9f8e25 Fix .dsp 2004-07-22 22:42:35 +00:00
Stefan Esser
e58e6efd4d Merge changes from GD 2.0.28 2004-07-22 22:38:59 +00:00
Andi Gutmans
56f8195fe5 - Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
used to return "" and not bool(false). It's not worth keeping it because
  STR_FREE() and zval_dtor() always have to check for it and it slows down
  the general case. In addition, it seems that empty_string has been abused
  quite a lot, and was used not only for setting zval's but generally in
  PHP code instead of "", which wasn't the intention. Last but not least,
  nuking empty_string should improve stability as I doubt every place
  correctly checked if they are not mistakenly erealloc()'ing it or
  calling efree() on it.
  NOTE: Some code is probably broken. Each extension maintainer should
  check and see that my changes are OK. Also, I haven't had time to touch
  PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Ilia Alshanetsky
f0ffe7c85b Fixed bug #28175 (Allow bundled GD to compile against freetype 2.1.2). 2004-06-09 14:50:05 +00:00
Pierre Joye
07e4ab6946 - Remove this test, it still segfaults anyway (less noise in tests :) )
Already removed in PHP_4_3 branch
2004-05-26 18:12:43 +00:00
Pierre Joye
5b71225f1b - Fix #28506, negative angle returns "random arcs"
while (angle < 0) angle += 2*M_PI is used now
2004-05-24 19:52:28 +00:00