Pierre Joye
f47405315d
- malloc may fail
2011-01-19 15:23:07 +00:00
Pierre Joye
2171932624
- useless commented code
2011-01-03 20:38:21 +00:00
Pierre Joye
95dbc9d3f0
- slightly cleaner
2011-01-03 15:36:39 +00:00
Pierre Joye
0ebbe5e450
- fix crash when argc > 1 and to_zval is NULL (thx tony for the headup)
2011-01-03 15:35:01 +00:00
Pierre Joye
0df43f2803
- kill c++ comment
2011-01-03 09:33:27 +00:00
Pierre Joye
63aae8a69b
- stream output support for image outputs functions
2011-01-03 09:22:58 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Pierre Joye
19ba599166
- WS
2010-12-28 17:20:10 +00:00
Pierre Joye
05be26d13a
- WS
2010-12-28 17:20:10 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Pierre Joye
a7ffa09e18
- add PHP_INSTALL_HEADERS to all parts (core&exts) exposing headers, generate the install-headers cmd
2010-12-11 22:18:10 +00:00
Martin Jansen
f6cedd2ad5
Merge from trunk:
...
* Fixed parameter check introduced with the recent fix for bug #53492 .
* Improved the error message along the way.
2010-12-11 20:10:39 +00:00
Martin Jansen
02ff4766c9
* Fixed parameter check introduced with the recent fix for bug #53492 .
...
* Improved the error message along the way.
2010-12-11 20:09:39 +00:00
Pierre Joye
088a6ad7b5
- Fix #53492 , fix crash if aa steps are invalid
2010-12-08 08:45:56 +00:00
Pierre Joye
a0eb5848b5
- Fix #53492 , fix crash if aa steps are invalid
2010-12-08 08:45:56 +00:00
Pierre Joye
ce96fd6b07
- fix #39863 , do not accept paths with NULL in them. See http://news.php.net/php.internals/50191 , trunk will have the patch later (adding a macro and/or changing (some) APIs. Patch by Rasmus
2010-11-18 15:22:22 +00:00
Pierre Joye
76d273d455
- don't build if no libvpx available
2010-10-06 09:02:08 +00:00
Ilia Alshanetsky
7b2a2eb326
Removed debug code
2010-10-05 12:27:00 +00:00
Felipe Pena
f1d905a417
- Fix build
2010-10-04 23:05:32 +00:00
Pierre Joye
12f855b3be
- missing file for webp
2010-10-04 22:34:02 +00:00
Pierre Joye
dfb96b3b95
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
2010-10-04 22:33:07 +00:00
Pierre Joye
cccc349aa5
- initial webp support, rely on libpx, final version will be either w/o dep or using libwebp (to be released by g)
2010-10-04 22:30:35 +00:00
Pierre Joye
aa297b60a3
- zend_list_insert TSRMLS fix (thx tony for the headup)
2010-09-16 13:34:51 +00:00
Pierre Joye
1fe5265c3e
- WS
2010-06-30 22:06:49 +00:00
Pierre Joye
425c528783
- WS
2010-06-30 22:06:49 +00:00
Pierre Joye
9c60bd8df7
- typo for iconv DLL .lib
2010-06-28 23:26:48 +00:00
Pierre Joye
f62f88cb76
- typo for iconv DLL .lib
2010-06-28 23:26:48 +00:00
Pierre Joye
c145a3754b
- #52043,GD doesn't recognize latest libJPEG version
2010-06-14 08:12:10 +00:00
Pierre Joye
d652e02235
- #52043,GD doesn't recognize latest libJPEG version
2010-06-14 08:12:10 +00:00
Rasmus Lerdorf
5583cd237f
Check for -1 as well here
2010-05-24 23:52:11 +00:00
Rasmus Lerdorf
a906125fec
Check for -1 as well here
2010-05-24 23:52:11 +00:00
Rasmus Lerdorf
159369c68c
Let's have a sane error message here instead of some cryptic zlib error
2010-05-24 23:27:39 +00:00
Rasmus Lerdorf
13a09194a9
Let's have a sane error message here instead of some cryptic zlib error
2010-05-24 23:27:39 +00:00
Pierre Joye
fa78b4497e
- #51793 , Add alpha argument to imagecolorset
2010-05-18 12:38:57 +00:00
Rob Richards
0a34d10783
revert change #298288 : Remove old dsp/dsw/makefile files
2010-04-28 14:41:51 +00:00
Pierre Joye
0688e6ef01
- - Fixed #51128 , imagefill() doesn't work with large images
2010-04-28 14:35:42 +00:00
Pierre Joye
ef76df031b
- - Fixed #51128 , imagefill() doesn't work with large images
2010-04-28 14:35:42 +00:00
Pierre Joye
07446082c8
- Fix #51671 , imagefill does not work correctly for small images
2010-04-28 08:23:44 +00:00
Pierre Joye
c09a8cb043
- Fix #51671 , imagefill does not work correctly for small images
2010-04-28 08:23:44 +00:00
Pierre Joye
eaab2fbc4b
- WS
2010-04-28 08:04:52 +00:00
Pierre Joye
27d922c49f
- WS
2010-04-28 08:04:52 +00:00
Kalle Sommer Nielsen
dd8e59da8f
Removed safe_mode
...
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Kalle Sommer Nielsen
518a17e7bf
Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions
2010-04-21 23:36:49 +00:00
Takeshi Abe
42c14bf473
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)
2010-03-24 04:12:19 +00:00
Takeshi Abe
a46e108b83
Fixed bug #51263 (imagettftext and rotated text uses wrong baseline)
2010-03-24 04:12:19 +00:00
Raphael Geissert
2c3b1fd920
Properly skip tests that require the bundled gd lib when the external is used
2010-03-11 05:49:50 +00:00
Takeshi Abe
bea0320749
fix libgd FS100 (spurious horizontal line drawn by gdImageFilledPolygon)
2010-01-20 09:39:06 +00:00
Takeshi Abe
e3e76d7baf
fix wrong type and useless assignments
2010-01-15 17:09:14 +00:00
Takeshi Abe
f7a3b3f5aa
imagepolygon() and imagefilledpolygon() does not allow negative number of points causing invalid allocation
2010-01-14 11:11:56 +00:00
Takeshi Abe
dd17af94c5
removed an unused variable
2010-01-13 06:55:03 +00:00
Pierre Joye
7aacc1ccbc
- use png_sig_cmp to support libpng 1.4, old is deprecated already in older version
2010-01-10 02:13:45 +00:00
Takeshi Abe
c18d4364ed
Bug #49600 (imageTTFText text shifted right)
...
- fix difference of horizontal position between imagettftext() and imagettfbbox()
2010-01-08 12:18:52 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Pierrick Charron
c2fccc1606
- Fixed bug #50469 (Fixed typo in imagepsencodefont error string).
2009-12-14 04:09:18 +00:00
Takeshi Abe
94cb01177a
Fixed a possible memory leak in case that FT_Glyph_To_Bitmap() fails
2009-11-01 05:04:35 +00:00
Pierre Joye
ed3e96197d
- check max colors while loading gd2 palette image (patch by Tomas Hoger)
2009-10-12 10:01:37 +00:00
Felipe Pena
5132913dd3
- Fixed tests
2009-09-26 16:54:08 +00:00
andy wharmby
e509cc4283
Fix SKIPIF sections
2009-09-15 21:44:08 +00:00
Pierre Joye
8f8220917e
- Fix sanity check for the color index in imagecolortransparent
2009-09-03 09:45:56 +00:00
Zoe Slattery
0e4ce3bcca
More tests from 2009 testfest
2009-08-28 14:31:19 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Rafael Machado Dohms
609a573b23
Adding tests for imagecolorallocatealpha
2009-08-24 02:50:19 +00:00
Ilia Alshanetsky
3189707681
Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration)
2009-08-09 13:15:45 +00:00
Kalle Sommer Nielsen
fa09704cea
Test case for bug #42434
2009-07-30 03:54:27 +00:00
Kalle Sommer Nielsen
b5b8303194
Fixed bug #42434 (ImageLine w/ antialias = 1px shorter)
...
- patch by wojjie at gmail dot com
2009-07-28 20:35:06 +00:00
Jani Taskinen
48a514673a
- Skip some tests in 32bit systems, add cleanups where missing
2009-07-28 19:16:02 +00:00
Takeshi Abe
59ff212783
added test for #43073
2009-07-27 22:11:43 +00:00
Takeshi Abe
366c261cce
MFH: fixed #48732 (TTF Bounding box wrong for letters below baseline) and #48801 (Problem with imagettfbbox)
2009-07-27 15:06:28 +00:00
Rafael Machado Dohms
f7873d0aee
Adding tests for imagesetthickness, basic and errors for both params, and complementing imagetruecolortopalette with out of bound params
2009-07-24 03:06:05 +00:00
Rafael Machado Dohms
12ef53b204
Removing deprecated test replaced by individual tests for imageistruecolor and imagetruecolortopalette
2009-07-20 03:48:55 +00:00
Rafael Machado Dohms
23a423aea0
Separating and complementing imageistruecolor and imagetruecolortopalette tests
2009-07-20 03:47:29 +00:00
Rafael Machado Dohms
d7276e46e1
Commiting imagecreatetruecolor tests for PHP_5_3 branch
2009-07-19 01:42:08 +00:00
Pierre Joye
c79f7e3f6b
- WS
2009-07-07 10:54:44 +00:00
Pierre Joye
b38fde4694
- #45905 , imagefilledrectangle() clipping error
2009-07-07 10:49:38 +00:00
Gwynne Raskind
b26cd6839a
Fixed a stray 'in the test
2009-07-02 10:02:38 +00:00
Felipe Pena
d9061f95fa
- Fix test
2009-07-01 12:15:00 +00:00
Felipe Pena
3d7b3c8bb2
- Fixed tests
2009-07-01 02:32:55 +00:00
Felipe Pena
db6f5e67a8
- MFH: New tests (SaoPaulo UG testfest)
2009-07-01 00:56:01 +00:00
Pierre Joye
1f10584566
- add license info
2009-06-24 11:44:46 +00:00
Takeshi Abe
c84e4181b4
MFH: fixed bug #48555 (ImageFTBBox() differs from previous versions for texts with new lines)
2009-06-21 06:09:46 +00:00
Kalle Sommer Nielsen
17459bac7d
MFH: Fix memleak
2009-06-19 22:15:28 +00:00
Pierre Joye
45832feb40
- fix build
2009-05-27 15:16:18 +00:00
Pierre Joye
7f6fa6ce1c
- fix build on unix with bundled gd
2009-05-27 13:48:13 +00:00
Pierre Joye
f726afbfeb
- [DOC] always enable imagecolormatch
2009-05-27 08:18:24 +00:00
Pierre Joye
59ec80c572
- MFH: [DOC] always enable imagerotate (bundled or system gd)
2009-05-27 07:18:05 +00:00
Pierre Joye
a008f130cd
- MFH: [DOC] - add image(filled)ellipse to the compat layer (work around a bug in debian too, function is declared but not present in the lib...)
2009-05-26 20:14:31 +00:00
Pierre Joye
4988470303
- ws
2009-05-26 13:57:07 +00:00
Pierre Joye
704d7587b0
- enable filter constants
2009-05-26 13:35:59 +00:00
Pierre Joye
6b3e2b1910
- expose gdImageGetTrueColorPixel in bundled lib
...
- fix bundled lib build
2009-05-26 13:08:59 +00:00
Pierre Joye
b682f42915
- [DOC] always enable imagefilter and imageconvolution, even when built against system's gd
2009-05-26 12:50:40 +00:00
Pierre Joye
c559d4fb30
- always add libgd/
2009-05-26 08:53:13 +00:00
Kalle Sommer Nielsen
437e9e6c7c
This shouldn't have been in for now
2009-04-25 06:25:55 +00:00
Kalle Sommer Nielsen
9a718dd97c
MFH: Use correct data types here, and gdImageSaveAlpha for the alpha flag
2009-04-25 06:22:14 +00:00
Takeshi Abe
47b6dc50a4
MFHcheck non-null before any use.
2009-04-23 16:26:17 +00:00
Ilia Alshanetsky
c593790b62
Fixed bug #47946 (ImageConvolution overwrites background)
...
# original patch by jcolby at acsol dot net
2009-04-12 14:43:21 +00:00
Pierre Joye
24225b88bd
- silent warning or possible linker error on win
2009-04-07 13:01:27 +00:00
Pierre Joye
8cd0428d09
- ws
2009-04-07 12:45:26 +00:00
Pierre Joye
039a154633
- #47812 , undefined symbol: gdJpegGetVersionInt
...
- #46015 , Build fails with system gd
- enable gd_compat when built using system's gd
2009-04-07 09:26:22 +00:00
Pierre Joye
2350110e55
- initial import, support for external gd library while keeping bug fixes or features (more will be activated later)
2009-04-07 09:24:34 +00:00
Pierre Joye
63169ea0b2
- naming & cleanup
2009-04-06 09:39:02 +00:00
Takeshi Abe
335ba19297
MFH:
...
replaced static gdPngJmpbufStruct, which is afraid of being shared with
several threads, by a couple of auto variables.
2009-04-01 16:06:56 +00:00
Pierre Joye
03243d7e17
- silent warning
2009-03-31 18:05:36 +00:00
Pierre Joye
1fcabf75fe
- check in the libpng dir as well
2009-03-29 14:01:56 +00:00
Felipe Pena
6f7cc9a390
- Missing changes related to #47757 for this branch
2009-03-26 00:43:45 +00:00
Takeshi Abe
3b5d1e7396
MFH: fix test to follow #47757
2009-03-25 15:25:59 +00:00
Pierre Joye
bc272fdc68
- GEPJ.. (thx to Derick for the head!)
2009-03-24 12:48:52 +00:00
Pierre Joye
868d7d8144
- #47757 rename JPG to JPEG in phpinfo
2009-03-24 09:41:42 +00:00
Takeshi Abe
3e3721be58
MFH: Fixed libgd #186 (Tiling true colour with palette image does not work)
2009-03-18 15:30:37 +00:00
Pierre Joye
d5f2191170
- #43073 , TrueType bounding box is wrong for angle<>0
2009-03-18 00:29:42 +00:00
Scott MacVicar
bb2283bf4e
MFH Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused.
2009-03-17 03:25:57 +00:00
Takeshi Abe
d2709b764c
MFH: Fixed bug #45799 (imagepng() crashes on empty image)
2009-03-14 16:08:00 +00:00
Takeshi Abe
a2bc965760
MFH: fixed typos
2009-02-13 16:03:02 +00:00
Takeshi Abe
3ac3b44048
MFH:
...
- fixed memory leaks in gdImageCreateFromXpm()
- dropped unused codes
2009-02-11 17:56:44 +00:00
Takeshi Abe
b48f46b092
MFH: optimization via the row-major order.
2009-02-11 16:31:27 +00:00
Kalle Sommer Nielsen
8dab524e82
MFH: Fix arginfo for imagefilter()
2009-01-31 15:27:52 +00:00
andy wharmby
be84cfa327
New image tests. Tested on Windows, LInux and Linux 64 bit
2009-01-22 13:27:32 +00:00
Takeshi Abe
78ca92f77b
MFH: bump up and use IMAGE_FILTER_MAX_ARGS instead of a magic number.
2009-01-19 16:35:58 +00:00
Takeshi Abe
c422d15d0e
MFH: fixed the bug of libgd #191 (A circle becomes square)
2009-01-19 15:43:48 +00:00
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
Pierre Joye
cb11ba761e
- MFH: CVE-2007-1001, integer overflow with invalid wbmp images
2007-03-10 12:18:36 +00:00
Pierre Joye
547e4760e0
- #40764 , line thickness not respected for horizontal and vertical lines
...
- add test
- NEWS entry
2007-03-10 01:13:19 +00:00
Pierre Joye
1286d9e266
- #40764 , line thickness not respected for horizontal and vertical lines
2007-03-09 01:18:40 +00:00
Nuno Lopes
5116b67016
fix thread unsafety in the gif reader code (merge from libgd cvs)
2007-03-08 20:24:53 +00:00
Nuno Lopes
7b37c41384
fix access to non initialized memory (check valgrind reports on http://gcov.php.net )
2007-03-02 18:41:25 +00:00
Nuno Lopes
e5c4b50127
merge from gd sources: unlock mutex before shuting it down
2007-03-01 18:39:49 +00:00
Pierre Joye
dfeff9efe6
- sync with libgd.org, patch from Kees Cook
2007-02-25 02:45:06 +00:00
Ilia Alshanetsky
9783f5f1f3
strncpy() -> strlcpy()
2007-02-24 18:00:56 +00:00
Marcus Boerger
50ea26760d
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
2007-02-24 02:17:47 +00:00
Pierre Joye
b5e6c78eda
- #40578 , fix the 2nd race condition on shutdown when the cache is freed
2007-02-23 00:58:49 +00:00
Antony Dovgal
94bab7b206
MFH: fix #40578 (imagettftext() multithreading issue)
2007-02-21 15:00:26 +00:00
Antony Dovgal
9208d250c2
MFH
2007-02-16 11:08:22 +00:00
Pierre Joye
18e4a7aacb
- Fixed bug #40428 , imagepstext() doesn't accept optional parameter
...
(Pierre)
2007-02-11 11:11:48 +00:00
Pierre Joye
4dafc7a2fa
- save/restore the alpha blending mode correctly in imagefill and
...
imagefilltoborder
2007-01-19 15:03:56 +00:00
Nuno Lopes
8815fdf5e0
OMG, this line was really bogus (and allocating huge amounts of memory unecessarly)
2007-01-13 11:21:21 +00:00
Nuno Lopes
e22c9cd775
fix valgrind error in test bug24594.phpt
...
while at it, remove some dead code and change the pts vector to char to save (much) memory
# Pierre: one more to merge ;)
2007-01-13 11:16:15 +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
f458ff3dac
- MFH: add better zlib detection
2006-12-26 10:42:50 +00:00
Pierre Joye
7ddd4ed1d7
- #39286 , misleading error message when nvalid dimensions are given
2006-12-10 02:55:30 +00:00
Pierre Joye
7faf8325e7
- #39508 , add test (imagefill crashes with small image)
2006-12-10 01:58:50 +00:00
Pierre Joye
9e533e39b6
- MFH:#39780, PNG image with CRC/data error raises fatal error
2006-12-10 01:38:02 +00:00
Pierre Joye
df56d24304
- #39508 , do not use the 4 neighbors implementation for small images (w<4)
...
test will follow
2006-11-14 13:45:24 +00:00
Pierre Joye
5784602544
- Merge from gd-cvs, initialize the signature not the infile ctx
...
NB: good that we don't use getC :)
2006-11-05 15:04:50 +00:00
Pierre Joye
4e257c03a1
- WS
2006-11-04 14:34:33 +00:00
Pierre Joye
29242cfab9
- MFH: optimize horizontal and vertical lines
2006-11-04 14:27:07 +00:00
Pierre Joye
d05ef39c74
- MFH #39366 , imagerotate does not use alpha with angles>45
2006-11-04 03:15:31 +00:00
Pierre Joye
541f9940ac
- #39273 , imagecopyresized and alpha channel
2006-11-04 02:21:06 +00:00
Hannes Magnusson
4deb09e72e
Generated file
2006-11-03 15:41:09 +00:00
Hannes Magnusson
5006fb2ceb
MFH: Fix double "wrong param count" messages
2006-11-03 15:13:17 +00:00
Hannes Magnusson
ace3f94d20
MFH: Fix test
2006-11-03 14:51:02 +00:00
Hannes Magnusson
b99ba323d5
MFH: fix arginfo
2006-10-18 16:04:37 +00:00
Pierre Joye
ea2d32381d
- don't check signature if the file is empty (valgrind reports with test
...
001), thx Tony for the head up
2006-10-11 00:19:12 +00:00
Antony Dovgal
5866ef42e6
add new test
2006-10-10 22:37:43 +00:00
Pierre Joye
895aa7d7f7
- #39082 , image* segfaults when used with only one argument
...
(introduced in 5.2+, no news entry)
2006-10-08 17:36:10 +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
cee0a7df24
- imagefill(), infinite loop with wrong color index
2006-09-28 08:48:02 +00:00
Nuno Lopes
d43c9c11f4
fix compiler warnings introduced in my previous commit
2006-09-16 19:07:46 +00:00
Nuno Lopes
e299095ca1
fix a valgrind warning. this also provides a 5x speedup in the imagefttext.phpt test, because without this patch it never got cache hits
2006-09-15 16:11:39 +00:00
Nuno Lopes
fe9d3b16c5
mark some huge arrays as read-only
2006-09-15 15:11:54 +00:00
Pierre Joye
75e9e12093
- MFH: add support for entities in hexadecimal format, like © can
...
be passed as © or © (sync with gd)
2006-08-23 20:22:31 +00:00
Pierre Joye
aecbddef42
- MFH: please don't use base64 to test image files, it does not work
...
fix tests on 64bit platfrom
2006-08-23 12:00:54 +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
Pierre Joye
bc11170217
- #38214 , gif interlace never works
2006-07-26 10:03:09 +00:00
Pierre Joye
40c059b8fc
- MFH: mv 38179.phpt to bug38179.phpt
2006-07-26 08:59:55 +00:00
Pierre Joye
206ec1a06b
- MFH #38212 , Segfault on invalid imagecreatefromgd2part() parameters
2006-07-26 08:53:30 +00:00
Pierre Joye
261beb0326
- #38179 , imagecopy, palette to truecolor must use alpha channel too
2006-07-23 21:41:12 +00:00
Nuno Lopes
5e7efb5ec9
dont create images in the php source root. output them instead
2006-07-22 15:15:53 +00:00
Pierre Joye
2a06ce8518
- #38112 , add test and use MAX_LWZ_BITS instead of the value
2006-07-17 14:30:21 +00:00
Pierre Joye
cb41a19f28
- sync tests with HEAD
2006-07-17 12:54:09 +00:00
Pierre Joye
17f6ae66ce
- #38112 , corrupt GIF segfaults, test will follow
2006-07-16 11:07:31 +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
3bad805e35
- more CS
2006-05-08 12:06:59 +00:00
Pierre Joye
4428076eae
- MFH: #37360 , bad gif size
2006-05-08 11:50:47 +00:00
Pierre Joye
570511c9b2
- CS (spaces > tabs)
2006-05-08 11:12:49 +00:00
Pierre Joye
52619b8427
- #37346 , invalid colormap format
2006-05-07 16:37:40 +00:00
Pierre Joye
01479757e3
- #36697 , Transparency is lost when using imagecreatetruecolor
2006-03-13 21:56:38 +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
foobar
73ab144544
MFH: fix test
2005-12-26 18:30:33 +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
Ilia Alshanetsky
8370e1aca4
Fixed uninitialized variable in a test.
2005-12-17 19:57:37 +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
7a6ac7ce16
- MFH: no need to test if jpeg support exists
2005-12-09 18:17:02 +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