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
Antony Dovgal
1cbe552f4d
change "-o" to "||" (fixes potential problems on weird systems where test doesn't support -o)
2005-11-29 18:26:02 +00:00
foobar
edc87ef840
MFH: Fixed bad usage of php_checkuid()
2005-11-02 21:26:25 +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
Antony Dovgal
5b502880b6
MFH: fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero)
2005-10-26 21:38:20 +00:00
Pierre Joye
af888a4807
- fix #34980 , divisor and offset never passed correctly (s/float/double/)
2005-10-25 23:00:19 +00:00
Pierre Joye
5dd9ad8f53
-fix build as shared or separate from main build (bfrance)
2005-10-09 12:06:27 +00:00
Ilia Alshanetsky
71bd44ac02
MFH: Added missing safe_mode checks.
2005-10-06 20:47:41 +00:00
Pierre Joye
655743c4e7
- #33125 , imagecopymergegray produces mosaic rainbow effect
...
at some point the alpha emulation formula has been broken
restored.
2005-09-30 20:48:05 +00:00
Pierre Joye
c81c189198
- MFH #33220 , infinite loop while loading invalid GIF (nlopees)
2005-09-24 14:39:16 +00:00
foobar
75d362225c
MFH
2005-08-18 12:54:44 +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
Ilia Alshanetsky
9cccfa57b6
Fixed stream leak on error.
2004-05-20 23:37:59 +00:00
Ilia Alshanetsky
9a50bd2de1
Missing part of the upgrade patch.
2004-05-10 02:18:49 +00:00
Ilia Alshanetsky
f11d064b6a
Fixed bug #28304 (Missing bounds check inside imagefilter()).
2004-05-09 18:25:33 +00:00
Ilia Alshanetsky
9557b4013a
Fixed bug #28311 (Transparency detection code is off by 1).
2004-05-09 17:47:31 +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
Ilia Alshanetsky
c527cc8708
Fixed bug #28184 (C++ comments in GD library sources).
2004-04-27 14:59:07 +00:00
Derick Rethans
c452e275e7
- MFB: Fixed bug #28147 (Crash with drawing anti-alised lines)
2004-04-25 19:45:02 +00:00
Derick Rethans
2c259a7979
- Add fontpath for win98/XP (Patch by Friedhelm Betz)
2004-04-12 21:42:42 +00:00
foobar
bb276eb8d4
- Fix test file outputs.
2004-04-08 08:39:41 +00:00
Edin Kadribasic
31de856abb
Allow compilation with gdlib 1.8
2004-04-07 22:27:32 +00:00
Ilia Alshanetsky
3b27b0f18b
Fixed a bug that prevented building of gd extension against external GD
...
lib 1.X.
2004-04-04 17:59:08 +00:00
Ilia Alshanetsky
8b079070a3
Synchronized bundled GD library with GD 2.0.22.
2004-03-29 18:20:33 +00:00
Ilia Alshanetsky
fc419f10ef
Revert patch to imagefillborder.
2004-03-22 17:26:03 +00:00
Ilia Alshanetsky
ac7283a602
Fixed a possible crash inside libgd's gdImageFillToBorder() due to a stack
...
overflow.
2004-03-21 18:02:19 +00:00
Pierre Joye
9bd83f2d81
- Fix the test description and $Id$
2004-03-18 18:41:32 +00:00
Pierre Joye
f223262bcd
- Fix crash when an invalid color index is used with imagecolortransparent
2004-03-17 17:07:31 +00:00
Pierre Joye
f4f1fe553a
- add a 2nd test for #27582
2004-03-14 03:21:26 +00:00
Pierre Joye
9be8aeb690
- add tests for the bug #27582 (imagefilltoborder crashes)
2004-03-13 23:22:56 +00:00
Pierre Joye
197b48322e
- restore too the alphablending if we do not reach the end of the function
...
Notice: This function still crashes (stack overflow), to reproduce it
see bug27582_2.phpt
2004-03-13 23:21:25 +00:00
Pierre Joye
9fc9639c83
- fix #27582 ( http://bugs.php.net/bug.php?id=27582 )
...
The problem was that the colors were changed endlessly, blending over
and over. An endless loop and recursive calls filled the stack=>segfault
2004-03-13 18:28:19 +00:00
Ilia Alshanetsky
53e56151fe
Fixed bug #27437 (wrong freetype include inside GD library).
2004-03-06 18:24:41 +00:00
Derick Rethans
596efe5197
- Fixed bug in gdImageFilledRectangle in the bundled GD library, that required
...
x1 < x2 and y1 < y2 for coordinates.
2004-03-02 21:56:30 +00:00
Ilia Alshanetsky
52b962ca2f
wbmp conversion warning fix.
2004-02-22 18:03:09 +00:00
Ilia Alshanetsky
cc2dc6c85e
Set correct default threshold for image2wbmp().
2004-02-21 16:49:39 +00:00
Ilia Alshanetsky
cb5c9156c2
Fixed bug #27293 (two crashes inside image2wbmp()).
2004-02-17 21:30:00 +00:00
Martin Kraemer
01c6257c5c
Bug fix: Images would be broken on big-endian machines because the putc
...
function wrote the first (instead of "the low order") byte. That resulted
in unexpected zero bytes.
2004-01-28 16:25:12 +00:00
Ilia Alshanetsky
472a3a2446
Fixed bug #27056 (ints used instead of longs inside some GD functions).
2004-01-28 01:36:53 +00:00
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
2004-01-17 13:00:38 +00:00
Tim Toohey
b851f37123
(gdImageSetPixel) Tidied 'normal' blending effect
...
# libgd-2.0.12 fixed the problem with alpha-blending on semi-transparent backgrounds so
# gdFullAlphaBlend() and friends are no longer needed
2004-01-17 09:19:14 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Wez Furlong
772875537f
win32 build:
...
gd should build shared by default
don't use php.ini when running mkdist.php
2004-01-07 23:36:36 +00:00
Frank M. Kromann
0b91485ed5
Make sure zlib.lib is found
2003-12-31 19:28:31 +00:00
Ilia Alshanetsky
f4a07dd9a5
Replace regular malloc with safe_emalloc in several places.
2003-12-31 01:01:44 +00:00
Ilia Alshanetsky
8ec2fd0c54
Last bit of CS fixes.
2003-12-28 21:08:46 +00:00
Ilia Alshanetsky
36db28c8db
CS fixes.
2003-12-28 20:11:08 +00:00
Ilia Alshanetsky
8d6cfb797b
Synchronized bundled GD library with GD 2.0.17
...
. GD is now thread-safe thanks to wrappers around freetype library
. Significant optimization to png writing code.
. Miscellaneous fixes.
Fixed memory leak inside php_imagettftext_common()
Make ext/gd compile with GD 2.0.17+ (gdFreeFontCache() is not avaliable)
2003-12-25 22:12:12 +00:00
Wez Furlong
fc292fc259
For GD, build the extension as php_gd2.dll instead of php_gd.dll.
...
Thanks again Frank :-)
2003-12-22 22:33:43 +00:00
Wez Furlong
085ceca8e1
be slightly nicer when defining R_OK
2003-12-19 12:41:24 +00:00
Rasmus Lerdorf
749cf47ef7
Fix remaining gd build issue
2003-12-18 08:17:45 +00:00
Rasmus Lerdorf
0f6cafa7e6
MFB compile fix
2003-12-17 22:47:02 +00:00
Ilia Alshanetsky
45cd627569
ZTS fix.
2003-12-16 17:23:15 +00:00
Sebastian Bergmann
aaeb8f4394
Fix ZTS build.
2003-12-16 06:29:01 +00:00
Ilia Alshanetsky
e440d4fbea
Fixed bug #26635 (fixed look up for fonts in the current directory w/ZTS)
2003-12-15 20:34:48 +00:00
Marcus Boerger
d57004274b
Revert, not needed here
2003-12-07 15:26:09 +00:00
Wez Furlong
72f73b7785
tweak build so that it mirrors the source filesystem layout under the build dir. This allows GD extension to build.
2003-12-07 02:58:56 +00:00
Edin Kadribasic
96a745f2e2
First attemt at win32 build with the new build system.
...
#No workie yet, the build sys needs tweaking
2003-12-07 01:59:28 +00:00
Marcus Boerger
9c8678eb7b
Fix enabling shared builds.
2003-12-07 00:21:47 +00:00
Ilia Alshanetsky
44e180b286
Fixed bug #26309 (Fixed argument parsing for imageftbbox()).
2003-11-19 15:49:55 +00:00
Edin Kadribasic
45f12cc61f
Windows compile fix (patch by sfox@php.net).
2003-11-13 10:32:05 +00:00
Ilia Alshanetsky
b520c9d42c
Fixed bug #26097 (gdImageColorClosestAlpha() returns incorrect results).
2003-11-04 01:55:50 +00:00
Sebastian Bergmann
b2f860ce6d
Patch by Steph to sanitize ssize_t typedef on Windows.
2003-10-26 00:42:42 +00:00
foobar
dc080a5db6
- Always look into /usr/local before /usr
...
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2
Always prefer user specified paths over the default /usr /usr/local.
...
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
foobar
06616ccdce
Bundled GD has this function
2003-09-27 20:53:50 +00:00
Moriyoshi Koizumi
676755da54
FREETYPE_PATCH is not always defined.
...
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Moriyoshi Koizumi
36e89f6deb
Add an phpinfo entry showing which version of freetype is linked to gd.
2003-09-09 19:08:30 +00:00
foobar
8345cff1ff
Revert the JIS addition, it did not fix anything
2003-09-08 22:19:39 +00:00
Moriyoshi Koizumi
303fc609a6
Fix build in VC++7.
...
# The line didn't reflect the above comment, helly :)
2003-09-08 20:59:36 +00:00
foobar
8fe843b9ac
MFB: - Added JISX0208=1 and USE_GD_JISX0208 defines
2003-09-08 13:35:14 +00:00
Andrey Hristov
b2eb454171
format string fixes
2003-08-28 21:00:24 +00:00
Ilia Alshanetsky
93bcd55eaf
emalloc -> safe_emalloc
2003-08-12 00:58:52 +00:00
Marcus Boerger
a28b0fdbb4
Nuke unused vars
2003-08-10 20:13:38 +00:00
Ilia Alshanetsky
c7a45fc9da
Fixed bug #23792 (8 bit graphics don't rotate properly)
...
Patch by: pajoye@php.net
2003-07-30 17:34:11 +00:00
Pierre Joye
dc0606f041
- Fix leak when no fill is done (ilia)
2003-07-23 00:23:21 +00:00
Pierre Joye
28bc693d3a
- Remove imagepng, not used in test
2003-07-23 00:17:29 +00:00
Pierre Joye
768468257c
- imagefill tests
2003-07-23 00:11:33 +00:00
Pierre Joye
74c2027573
- Fix #bug24594
...
Rewrite the imagefill function (non recursive, uses of connected points
algorithm)
2003-07-23 00:08:57 +00:00
Sebastian Bergmann
d2e72bc134
Add /libpath directives for zlib.
2003-07-16 08:13:14 +00:00
Pierre Joye
bf7f45601d
- wrong patch applied for #23792 , fixed
2003-07-10 00:09:23 +00:00
Pierre Joye
6da86c7e93
- Fix a possible crash when invalid color index are given as background
...
in imagerotate, only when palette based image is used as src
2003-07-09 10:36:07 +00:00
Pierre Joye
e1f163b053
- "Fix" #23792 , imagerotate returns always truecolor images now
...
(the destination image is a truecolor, no more limited palette problems)
- Clean the cast in gdImageCopyMerge
2003-07-09 10:15:13 +00:00
Pierre Joye
119175c943
- tabs
2003-07-02 11:36:17 +00:00
Pierre Joye
19f3c5b5fa
- Fix #23808
2003-07-02 11:23:56 +00:00
Sebastian Bergmann
b851992902
Add zlib directory.
2003-06-29 06:15:06 +00:00
Ilia Alshanetsky
aeadf9bd4a
Fixed a crash inside php_imagettftext_common();
2003-06-19 15:47:46 +00:00
Ilia Alshanetsky
cadc8a15f9
Fixed bug #24223 (missing variable initialization in bundled gd)
2003-06-17 13:37:43 +00:00
Pierre Joye
445c710733
add Marcus, enough work done
2003-06-15 20:16:46 +00:00
Marcus Boerger
8fd5e11ff4
Add ImageXBM
2003-06-15 20:00:08 +00:00
Marcus Boerger
4593a04e3b
Better use '_' instead of '.'
2003-06-15 19:56:40 +00:00
Marcus Boerger
8913dcd267
Better configure output
2003-06-15 19:54:41 +00:00
Andrey Hristov
eb33adf139
proto fixes
2003-06-15 15:29:46 +00:00
Ilia Alshanetsky
490da4fbb7
Fixed bug #24155 (gdImageRotate270 incorrectly use x parameter for y axis)
2003-06-12 19:31:44 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Moriyoshi Koizumi
e7fd4c57b2
Fixed trivial typo
2003-06-09 08:11:53 +00:00
Ilia Alshanetsky
a8c7c3bc5e
No need to dupe macro
2003-06-04 14:58:20 +00:00
foobar
b2ee53106f
MFB: fix build
2003-06-04 05:32:03 +00:00
Ilia Alshanetsky
f2a9f31160
GD 2.0.15 sync
2003-06-04 00:20:19 +00:00
Ilia Alshanetsky
e1b8cad26f
Syncronize bunbled GD with gd 2.0.14
2003-06-03 23:54:56 +00:00
Ilia Alshanetsky
c13be6e6d5
Last set of integer overflow checks.
2003-06-03 23:42:31 +00:00
Ilia Alshanetsky
7a35766dec
Integer overflow checks.
2003-06-03 23:23:21 +00:00
Marcus Boerger
dc379b9d79
Fix test
2003-05-19 21:48:04 +00:00
Ilia Alshanetsky
b9215a1538
Fixed bug #23527 (PostScript Type 1 font do not render properly)
2003-05-15 02:25:50 +00:00
foobar
f60a086291
- Fixed bug #23427 (compile failure with GD 1.8.3)
2003-05-01 23:50:08 +00:00
Rasmus Lerdorf
63c966a33d
MFB
2003-04-30 16:26:22 +00:00
Ilia Alshanetsky
35f8be6bcc
Fixed compiler warning (found by Larry Rosenman <ler@lerctr.org>)
2003-04-30 00:37:31 +00:00
Moriyoshi Koizumi
f9e805d52b
The feature is less revelant to encoding conversion indeed
2003-04-21 19:07:21 +00:00
Moriyoshi Koizumi
6be2406b63
Made phpinfo() / gd_info() indicate availability of JIS feature
2003-04-19 07:44:16 +00:00
Moriyoshi Koizumi
54096d3f43
Fixed help text alignment
2003-04-19 07:15:38 +00:00
Moriyoshi Koizumi
1f229c0851
MFBed Rui's patch
2003-04-19 04:33:38 +00:00
Ilia Alshanetsky
7029ef01b3
Added missing bit from gd2.0.12 sync.
2003-04-09 01:55:48 +00:00
Sebastian Bergmann
11f53cd111
Fix Win32 build.
2003-04-08 07:36:58 +00:00
Marcus Boerger
448d361290
Collate version handling and bump up version (noticed by Peter Neuman)
2003-04-05 20:43:53 +00:00
Ilia Alshanetsky
61026e391c
Syncronized bunbled GD library with gd 2.0.12
...
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
foobar
9fbb5b5327
Check that t1lib has T1_StrError
2003-04-04 15:56:10 +00:00
Ilia Alshanetsky
5ec34bcd82
Might as well disallow 0x0 images.
...
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d
Fix segfault in imagecopyresized().
2003-04-04 00:16:47 +00:00
foobar
74868f3a45
- Better errors for T1lib.
...
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc
Use php_error_docref.
2003-04-03 23:10:08 +00:00
Sascha Schumann
c2e2423838
Fix segfaults in imagecreate/imagecreatetruecolor
2003-04-03 19:18:57 +00:00
foobar
1d3542a6bc
cleanup
2003-03-31 08:49:19 +00:00
Ilia Alshanetsky
feba44546c
Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()).
2003-03-30 20:48:05 +00:00
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7
MFB: php_gd.dll is no longer bult and the bundled library is always used.
2003-03-25 10:30:58 +00:00
foobar
c8791084db
CS fix
2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac
WS & CS fixes
2003-03-20 01:12:57 +00:00
Ilia Alshanetsky
d29d55e772
Cleanup.
2003-03-18 18:29:10 +00:00
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +00:00
foobar
980bac69f9
Fixed bug #22751 (Compile error in gdcache when external libgd is used)
2003-03-18 02:13:49 +00:00
Hartmut Holzgraefe
3343327ea1
fixing my proto fix :|
2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
212abb4996
proto fix
2003-03-17 13:00:13 +00:00
Ilia Alshanetsky
199ae10f01
Whitespace fixes.
2003-03-14 16:56:38 +00:00
Ilia Alshanetsky
d6a02110b0
Cleanup.
2003-03-13 02:22:31 +00:00
foobar
bf90cdeff9
Added the type constants for imagegd2()
2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2
Fix bug #22646
2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
88281627bc
Style fixes.
2003-03-12 00:51:03 +00:00
Ilia Alshanetsky
822b53b95a
Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
...
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
Derick Rethans
1b9ee1a8ea
- Fixed a bug in GD's truecolor TTF handling
2003-03-08 18:27:12 +00:00
Stefan Esser
af4aa97d1e
Fixing functionicalls with variable number of parameters...
2003-03-06 20:31:20 +00:00
Ilia Alshanetsky
4f4f0a9771
Added test case for bug #22544 .
2003-03-05 16:19:08 +00:00
Ilia Alshanetsky
d31fa3da61
Better identification of bundled GD library.
2003-03-05 16:08:01 +00:00
Ilia Alshanetsky
fd088722a7
Fixed bug #22544 (missing fix from official gd).
2003-03-05 15:57:28 +00:00
Pierre Joye
31509f124f
update credits (ilia,myself)
2003-03-01 01:28:10 +00:00
Pierre Joye
972c04e50b
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
...
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Pierre Joye
fbd867184c
add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
...
Pierre-Alain Joye)
2003-02-26 23:21:44 +00:00
Ilia Alshanetsky
348200b54d
Fixed a crash in gdImageCopyMergeGray().
2003-02-25 03:49:26 +00:00