James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +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
b9215a1538
Fixed bug #23527 (PostScript Type 1 font do not render properly)
2003-05-15 02:25:50 +00:00
Moriyoshi Koizumi
6be2406b63
Made phpinfo() / gd_info() indicate availability of JIS feature
2003-04-19 07:44:16 +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
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
Sebastian Bergmann
a9b479612f
Eliminate TSRMLS_FETCH() call in php_find_gd_font().
2003-03-26 06:30:45 +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
Stig Bakken
0e6fca4f22
* email address change
2003-03-18 12:06:09 +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
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
d31fa3da61
Better identification of bundled GD library.
2003-03-05 16:08:01 +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
Marcus Boerger
129bd74b45
Show if XPM support is available & Set availability bit only when available.
2003-02-01 23:23:59 +00:00
Sara Golemon
3ad9839f2f
Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net)
2003-01-26 01:15:02 +00:00
Ilia Alshanetsky
383171b11b
Fixed bug #21533 (a rare condition where error can remain undefined and
...
result in undefined behavior when it is used without being initialized).
2003-01-24 19:23:53 +00:00
Ilia Alshanetsky
95bfbfe1c1
Fixed compile warning.
2003-01-24 16:23:11 +00:00
Ilia Alshanetsky
d24148f3d0
Fixed a crash when invalid color is passed to imagepstext().
2003-01-22 19:53:29 +00:00
Ilia Alshanetsky
833473d1de
Removed pointless checks of array_init() return value.
2003-01-17 21:37:56 +00:00
Ilia Alshanetsky
169eb85e0a
Syncronize bundled GD library with latest GD (2.0.11).
2003-01-17 18:34:07 +00:00
Ilia Alshanetsky
17e51c5946
Fixed bug #21518 .
...
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
2003-01-08 18:11:40 +00:00
Pierre Joye
a9999190c6
Fix line drawed twice (L. Atkinson)
2003-01-07 22:34:00 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Ilia Alshanetsky
7a282ddcfd
Fixed bug #20974 (added missing sanity check).
2002-12-12 21:17:36 +00:00
Ilia Alshanetsky
67aca57c3b
Fixed build with non-bundled GD. Hidden the anti-alias functions when
...
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
4d522e3686
Add imageantialias(im, flag)
...
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Ilia Alshanetsky
2b063828e0
Fixed build with GD 1.8.4
2002-12-10 19:45:58 +00:00
Ilia Alshanetsky
99f2b9674f
Fixed build with GD 1.8.4
2002-12-10 17:57:41 +00:00
Pierre Joye
dda7acaad5
Add imageistruecolor
2002-12-06 02:16:06 +00:00
Rasmus Lerdorf
4c749f08c0
Fix build
2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
5779f9bb0f
Made imagecreatefromxpm() work once again.
2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
143e46ae28
WS fixes.
2002-12-04 16:29:48 +00:00
Pierre Joye
00881ea504
Fix imagegd stdoutput
...
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042
Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
...
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Moriyoshi Koizumi
9db2512418
Fixed the macro so this can be compiled with ft1
2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
4124672edf
Fixed leaks. Other leaks are originated in libgd.
2002-11-23 22:11:59 +00:00
foobar
5e429447b1
ws fix
2002-11-23 19:20:44 +00:00
Moriyoshi Koizumi
715ad2730c
Fixed tab positions.
2002-11-23 11:20:51 +00:00
Rasmus Lerdorf
761bcbd751
Applied imagedeallocate() fix
2002-11-22 23:25:14 +00:00
Marcus Boerger
f986cb84f3
Fix TSRM build
2002-11-14 15:09:53 +00:00
Ilia Alshanetsky
901980b3ab
Added imagefilter() function by Pierre-Alain Joye (paj@pearfr.org). This
...
function allows negate, grayscale, brightness, contrast, colorize, selective blur,
Gaussian blur, edge detect, smooth, sharpen and emboss filters to be applied
on an image.
2002-11-13 20:02:58 +00:00
Marcus Boerger
597acbc3d3
new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
...
# easy to look into phpinfo() to see which index names are possible.
2002-11-12 11:49:11 +00:00
Marcus Boerger
536c34ebc9
fix warnings
2002-10-30 17:54:36 +00:00
Ilia Alshanetsky
7150658615
This patch allows compilation of gd against non-bundled gd library older
...
then 2.0.4.
2002-10-30 01:05:16 +00:00
Rasmus Lerdorf
a24534a1ed
Update bundled gd library with relevant changes from gd-2.0.4
...
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Ilia Alshanetsky
e34ea3adb4
Added a patch by Pierre-Alain Joye <paj@pearfr.org>, which implements the
...
imagerotate() that allows rotation of images in gd.
2002-10-29 01:15:44 +00:00
Derick Rethans
5a6243a4b5
- Change constant name
2002-10-11 13:09:48 +00:00
Derick Rethans
7713b4097d
- Add indetified for bundled GD
2002-10-11 09:49:38 +00:00
Ilia Alshanetsky
f119fd6498
Fixed bug #19487
2002-09-20 01:25:55 +00:00
foobar
4a39f70a9a
Added missing convert_to_* funcs. (should fix some crashes)
2002-09-20 00:47:00 +00:00
foobar
fb9bd8d20a
ws fix
2002-09-12 21:42:33 +00:00
foobar
ba057e9bf3
Fix build with GD < 2.0.x
2002-09-05 00:22:40 +00:00
Marcus Boerger
1ab90386cf
Some requirements engineering: today necessary defines exists where
...
needed.
2002-08-27 20:10:46 +00:00
Marcus Boerger
d1b56bf810
php_error_docref
...
BUT didn't we decide to disable those functions when not supported
instead of displaying an error?
2002-08-27 19:40:55 +00:00
Rasmus Lerdorf
53e6c07907
stream closing bug here too
2002-08-23 17:53:03 +00:00
Wez Furlong
533c16e21e
Fix segfault reported by Rasmus.
2002-08-23 17:45:46 +00:00
Marcus Boerger
17743955d0
more php_error_docref
2002-08-22 19:14:27 +00:00
Marcus Boerger
727067f59c
php_error_docref...
2002-08-22 18:38:44 +00:00
Marcus Boerger
9b9052f27a
fix zts build
2002-08-22 14:02:08 +00:00
Tim Toohey
266193159b
(PHP imagecolormatch) makes a palette image match the colours in the
...
true-color version.
(PHP imagelayereffect) extended alpha-channel mixing effects for the
bundled GD library
@Added ImageColorMatch() and ImageLayerEffect() functions
@which work with the bundled GD library (ttoohey)
2002-08-22 07:28:26 +00:00
Marcus Boerger
0b6074a343
forgot to move imeageellipse out of #ifdef HAVE_LIBGD20
2002-07-28 10:00:37 +00:00
Marcus Boerger
b0b2226352
reapply patch for imageellipse beeing wrappet to imagearc if missing
...
# derick: the rest of the patch wasn't removed
2002-07-26 13:24:45 +00:00
Derick Rethans
06ad4767e3
- Fix GD build with GD 1.8.3
2002-06-29 15:54:02 +00:00
foobar
29a2967936
t1lib.h needs to be included here now.
2002-06-28 12:46:07 +00:00
foobar
e2eaa0261a
Moved all gd.h related stuff to gd.c
2002-06-28 12:35:30 +00:00
foobar
32e08c7e52
Fix bug: #14735
2002-06-28 09:53:25 +00:00
foobar
ab0d5fecd3
Fix bug: #17528 , do not crash with empty string.
2002-06-28 09:23:50 +00:00
Derick Rethans
b24c24969c
Unify error messages
2002-06-28 06:43:17 +00:00
foobar
1f2c1d8093
Consistency fix.
2002-06-27 23:05:11 +00:00
Derick Rethans
b5c0408594
- Fix build
...
#- Please test next time! This file is never installed with a default gd
# install
2002-06-26 18:32:27 +00:00
Marcus Boerger
67bfbbe881
map imageellipse to imagearc if missing
...
fix warnings
2002-06-25 22:23:41 +00:00
Marcus Boerger
33b5d72f6c
imageellipse is removed in 2.01
...
#maybe someone reintroduces this one in bundled lib?
2002-06-25 09:00:09 +00:00
Derick Rethans
2a6980a720
- Make functions not exist when they are not available. This means you can
...
now safely do function_exists() on all gd functions.
2002-06-24 19:31:44 +00:00
Markus Fischer
1aac85becd
- Be more verbose which index causes the warning.
2002-06-15 18:14:19 +00:00
Markus Fischer
9fea4c1f5f
- Don't forget to close the stream.
2002-06-15 17:46:44 +00:00
Sander Roobol
c5dc21f8c2
Made phpinfo() show if we're using the bundled version of GD
2002-06-09 12:44:33 +00:00
foobar
1528a3d1fb
Fixed bug: #17535
2002-06-04 02:33:10 +00:00
Harald Radi
6f22159aa2
fixed type
2002-04-11 20:32:03 +00:00
Markus Fischer
1d75089d8b
*** empty log message ***
2002-03-21 22:35:02 +00:00
Wez Furlong
d2d8762267
Streams now make more use of the memory manager, so tracking down
...
leaking streams should be easier.
# I hate these big commits
2002-03-17 22:50:59 +00:00
Wez Furlong
30647934a4
Tweak the API to be more consistent.
...
Update docs.
2002-03-16 13:48:57 +00:00
Wez Furlong
09213d7bf8
change * formatting
2002-03-16 01:28:57 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Derick Rethans
d5fee0cb0c
- Make GD functions only available if they really exist (Patch by
...
matslin@orakel.ntnu.no )
2002-03-02 12:32:31 +00:00
Rasmus Lerdorf
38b3e061a7
Change fatal errors to warnings - fix bug #15797
2002-02-28 23:08:48 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Derick Rethans
32e9ea6c64
- Fix for bug 14899 (patch by Sander Roobol <sander@php.net>)
2002-02-01 08:53:47 +00:00
jim winstead
8e6a16984a
jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking
2002-01-02 01:25:48 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Hartmut Holzgraefe
552ee2a247
proto fixes
2001-12-06 18:37:05 +00:00
Hartmut Holzgraefe
250aded265
proto fixes
2001-12-06 17:51:48 +00:00
Rasmus Lerdorf
e68a9c6bfa
Use the macro here and add an E_NOTICE
2001-11-16 11:59:04 +00:00
Rasmus Lerdorf
a9fe559f60
Be explicit here and cast it
2001-11-13 13:53:11 +00:00
Rasmus Lerdorf
e202deaec4
# More low-oxygen plane hacking
...
Fix ImageColorsForIndex() and ImageColorAt() to work for TrueColor images.
@- Fix ImageColorsForIndex() and ImageColorAt() to work for TrueColor
@ images. (Rasmus)
2001-11-10 15:06:09 +00:00
foobar
35ace375a9
Fixed logic bug introduced by me. Bug: #13796
2001-10-24 10:42:31 +00:00
foobar
eea391830a
ws fix.
2001-10-13 13:12:30 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Egon Schmid
116671a8fb
Fixed some protos.
2001-10-08 18:39:42 +00:00
Rasmus Lerdorf
94d789e5d7
I could have sworn I test compiled this when I committed it a couple of
...
days ago. Must have been hallucinating.
2001-09-30 04:42:08 +00:00
Rasmus Lerdorf
c8280238de
Fix segfault and check for truecolor image in ImageColorAt
...
@- Fix segfault and check for truecolor image in ImageColorAt (Rasmus)
2001-09-27 07:36:34 +00:00
Jeroen van Wolffelaar
6cfba2a3ea
2nd phase in back-substitution those macro's
...
I've got pretty much everything now...
2001-09-25 22:49:04 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Hartmut Holzgraefe
03f7406711
proto fixes "double" -> "float"
2001-09-21 21:59:27 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
foobar
3c64473b71
Fixed bug: #13172
2001-09-06 23:10:37 +00:00
Rasmus Lerdorf
70c581b820
Test your changes please Jani
2001-08-26 01:10:10 +00:00
foobar
f03a871d93
Fixed bug: #12948 , #12945
2001-08-24 20:05:58 +00:00
foobar
5296d29b59
Killed a compile warning.
2001-08-22 08:34:04 +00:00
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
...
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
8c497f05c4
We don't consistently check for args passed to functions that don't
...
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
foobar
e53100fc7a
php_sig_gd2 is only needed for GD extension.
2001-08-07 16:35:35 +00:00
foobar
27fcd0509a
@- Added support for GD2 image type for ImageCreateFromString() (Jani)
2001-08-07 16:15:45 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
foobar
75e835017a
Make this extension compile in ZTS mode. Also killed 2 compile warnings.
2001-07-30 20:27:11 +00:00
Zeev Suraski
bde4e0cedf
Fix GD build, and clean it tup
2001-07-30 17:29:57 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Daniel Beulshausen
aa032e2e4c
fix font handling in vdir mode
2001-07-20 11:25:13 +00:00
Wez Furlong
36e008ee66
Fix for bug #12065
...
# Was that it??
2001-07-14 12:59:46 +00:00
Wez Furlong
79ce305d1a
Made imagegammacorrect() work on true-color images.
...
Added support for new ImageStringFTEx function (due in GD 2.0.2).
2001-07-05 21:23:28 +00:00
foobar
610ebfe3de
Missing constant.
2001-07-02 12:49:21 +00:00
foobar
73bfcd8a8a
this should be here..styles must be array
2001-06-11 15:21:47 +00:00
foobar
8b15d97a31
fixed proto
2001-06-11 14:39:13 +00:00
foobar
ffd1c31b53
Partial fix bug: #11333
2001-06-11 13:57:47 +00:00
foobar
c2f4987ebd
Removed some ws and couple of useless comments.
2001-06-07 13:17:02 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
foobar
0c5d5a513b
Added missing GD/GD2 image handling functions.
2001-05-29 07:46:07 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
foobar
af5c5ecee1
fixed bug: #10593
2001-05-21 19:28:22 +00:00
James Moore
1dbab5bb33
Remove unused variable from imagesetstyle
2001-05-21 18:50:05 +00:00
Sterling Hughes
02d4567bb7
nuke last remnants of the old globals stuff
...
# oops
2001-05-19 17:45:36 +00:00
Sterling Hughes
3c8140d97b
@ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
...
@ specified that the drawn curve should be rounded. (Sterling)
2001-05-18 20:52:40 +00:00
Sterling Hughes
8f97b4d62f
remove more php3 ts stuff
2001-05-18 20:37:21 +00:00
Sterling Hughes
4812388278
Remove the remnants of old global macro's
2001-05-18 20:29:47 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00