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
Marcus Boerger
8d183b7ccc
Kill some warnings
...
# the remainig is not easy to solve: float_var = float_cast(extpression)
# This cannot be fixed by simply casting again to float because some
# compilers may ignore the double casting.
2003-02-09 14:17:05 +00:00
Marcus Boerger
547509d546
XBM for win
2003-02-09 14:05:23 +00:00
Frank M. Kromann
c62983b1ec
Syncronize with branch
2003-02-09 06:27:38 +00:00
Pierre Joye
a5f35ef94a
Add gdImageEllipse
...
Replace gdImageFilledEllipse by a new function (backported from
the new phpgd)
the new gdImageFilledEllipse fix bug bug #22103 (ellipse part)
2003-02-08 08:41:43 +00:00
Marcus Boerger
1d9477f386
- new xbm support
...
@Added XBM support for bundled gd library. (marcus)
# It was enabled by the last commit and fixed by this one.
2003-02-02 01:34:54 +00:00
Marcus Boerger
07246c2f99
Bundled version has XBM support as well as external.
...
# Now fix the shit behind it...
2003-02-01 23:25:14 +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
foobar
04eca7536c
MFB
2003-01-23 06:23:08 +00:00
Ilia Alshanetsky
d24148f3d0
Fixed a crash when invalid color is passed to imagepstext().
2003-01-22 19:53:29 +00:00
Pierre Joye
9ad850637e
Remove the (c), in the future, can we add PHP Licence terms for the new
...
functions ?
2003-01-21 02:10:19 +00:00
Pierre Joye
81c68ab8d5
Add credits to my functions (thx for the advice Wez&Ilia :)
2003-01-21 01:49:34 +00:00
foobar
f6cee90129
Add test for png.h
2003-01-20 10:39: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
dee2d7fed7
Fixed ImageRotate when rotation angle is 90 degrees, patch by
...
leon@leonatkinson.com .
2003-01-10 02:00:39 +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