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
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
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
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
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
5436f9f38d
- remove HAVE_GD_GD2, always valid now (2.0.33 or bundled)
2005-12-14 19:10:52 +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
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
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
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +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
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
Andrey Hristov
d9f5f1ee08
fix memory corruption on 64bit in imagefttext(),
...
domdocument::load() and domdocument::loadxml()
2005-04-10 21:37:17 +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
a2177b2e8e
- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype)
2005-01-04 06:51:45 +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
Ilia Alshanetsky
8091bfb84c
MFB: Fixed bug #30658 (Ensure that temporary files created by GD are removed).
2004-11-02 16:41:41 +00:00
Ilia Alshanetsky
4d360ead0c
Fixed bug #29594 (Use PHP's own tmpfile() implementation).
2004-08-16 23:07:42 +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
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
9cccfa57b6
Fixed stream leak on error.
2004-05-20 23:37:59 +00:00
Ilia Alshanetsky
d3fda74acf
Fixed bug #28267 (php_image_filter_contrast calls gdImageBrightness).
2004-05-09 17:39:20 +00:00
Ilia Alshanetsky
6e9c4b3125
Upgrade bundled GD library to 2.0.23.
...
Fixed bug #28175 (build problem for people using FreeType 2.1.0-2.1.2).
2004-05-09 17:33:50 +00:00
Edin Kadribasic
31de856abb
Allow compilation with gdlib 1.8
2004-04-07 22:27:32 +00:00