Ilia Alshanetsky
c330fdc1a1
Removed un-needed zlib check.
2002-11-25 14:25:52 +00:00
Ilia Alshanetsky
9251486567
Synchronized bundled gd library with the latest stable GD, 2.0.6
...
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Ilia Alshanetsky
ef1d4e1dcf
Fix compile warning, MIN/MAX macros may already be defined by param.h
2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
67e25fcbd8
Added gdPEstrdup macro.
2002-11-24 01:20:13 +00:00
Ilia Alshanetsky
ef26e2d1f8
Fixed 3 memory leaks.
...
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Moriyoshi Koizumi
57e4b81d13
Fixed segfaults
2002-11-23 21:33:31 +00:00
Ilia Alshanetsky
11e7f6278d
Addressed the issue of persistant allocation.
...
Fixed bug #20470 .
Fixed a memory leak in gdttf.c that would happen when an error during
processing occures.
2002-11-19 19:55:54 +00:00
Ilia Alshanetsky
d9ecd30cc4
Changed memory allocation wrappers to macros, so that it is possible to see
...
where the memory leak is happening.
2002-11-18 12:31:39 +00:00
Derick Rethans
8c86784cae
- MFB
2002-11-17 19:45:10 +00:00
Derick Rethans
1a5037de1a
- Fix compile problems for mips pro
2002-11-17 14:25:50 +00:00
Derick Rethans
c3fe54dfab
- MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard)
2002-11-17 13:11:46 +00:00
Marcus Boerger
a391c4b12b
Fix warnings (Marcus & Pierre-Alain Joye)
2002-11-14 15:08:39 +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
f6885ab970
use *e*malloc functions
2002-11-12 16:02:03 +00:00
Marcus Boerger
b06085dd46
fix warnings
2002-11-12 13:12:58 +00:00
Ilia Alshanetsky
02fcdec6b7
Fix win32 build.
2002-11-03 21:21:13 +00:00
Marcus Boerger
536c34ebc9
fix warnings
2002-10-30 17:54:36 +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
8c6316ef7b
Corrected un-initialized variable usage.
2002-10-29 20:19:38 +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
Rasmus Lerdorf
ebfd9aaa47
Fix for bug #19941
2002-10-16 22:34:44 +00:00
Rasmus Lerdorf
76ee49e5b4
Fix for bug 19781
2002-10-06 17:47:50 +00:00
Rasmus Lerdorf
b832af75f0
WS fix - although the entire libgd directory is horrendously formatted.
...
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f
Oops
2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f
Ok, perhaps it's too late at night, but I see absolutely no reason for
...
this chunk of code here. Why is it writing a palette.map file to disk
in the middle of this function? Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704 .
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93
Fix for bug #19700 - code by Wez
2002-10-06 06:47:53 +00:00
Rasmus Lerdorf
72d90fc41c
As discussed a while ago, decoding GIF images is not considered a Unisys
...
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2. The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
Tim Toohey
6a952f0856
fix gdImageCopyResampled() for non-constant alpha layer
2002-09-30 07:23:34 +00:00
Ilia Alshanetsky
fba852e16b
Fixed bug #19366
2002-09-29 14:45:57 +00:00
Marcus Boerger
902c17e05a
fiw warnings
2002-08-22 16:21:32 +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
ac9991a245
-wrong fabsf define for MSVC.6
...
-MIN and MAX only if undefined
#should be last commit to fix all warnings (-:
2002-08-12 19:09:26 +00:00
Marcus Boerger
bdaae34cb9
ups wrong include committed
...
#if anybody objects we would need config stuuf in ligd otherwise but
#this way we can use other php functions...for example we could use
#php_error_docref....
2002-08-12 15:29:05 +00:00
Marcus Boerger
2df2e24a54
check for fabsf and floorf in config.m4
...
msvc.6 needs a define, msvc.net needs special treatment
2002-08-12 13:59:01 +00:00
Marcus Boerger
9d03c0bdf0
more conversion fixes
2002-08-12 09:58:51 +00:00
Marcus Boerger
0dcbf7e375
-quick hack to allow compilation under windows again
...
-correct solution to follow tomorrow
2002-08-11 23:56:11 +00:00
Marcus Boerger
251882de7d
missed to commit this fix: correct since this is only a flag
2002-08-11 19:19:35 +00:00
Marcus Boerger
b9c0c918cc
try even more to fix those warnings.....
...
#repeat: this code must come from hell
2002-08-11 19:13:07 +00:00
Marcus Boerger
f9b6bac2a8
try to get this work ...
2002-08-11 14:05:30 +00:00
Marcus Boerger
1723861618
try to fix those warnings.....
...
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
James Cox
073d7a483f
thunder seems to have stopped
2002-08-08 21:26:49 +00:00
James Cox
66e78004c1
Reverting patch. after more investigation this doesn't help in all that many cases, and with Wez's better patch, sometimes degrade's quality.
2002-08-08 15:02:14 +00:00
James Cox
a234c521b9
adding patch from http://www.coupin.net/gd-freetype/ which makes images anti aliased (and therefore more readable).
...
#this does actually work.
2002-07-11 04:36:22 +00:00
Edin Kadribasic
7e44ab0308
Use some more sane paths for win32 version.
2002-06-14 14:48:33 +00:00
Markus Fischer
565f3797dc
- Revert Ws thingy.
...
# Lazy bastard :-)
2002-06-06 12:58:25 +00:00
foobar
9f238de87b
ws and indent fixes
2002-06-05 23:58:51 +00:00
foobar
12f6175f26
- Fixes a segfault reported in #17584
2002-06-05 23:24:23 +00:00
Rasmus Lerdorf
01835e0469
fix copyresampled bug in bundled gd lib
2002-05-13 20:20:16 +00:00
Wez Furlong
6d1dc8141c
Apply that patch I wrote ages ago that fixes some problems with true-color
...
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Rasmus Lerdorf
7a8cade379
Initial commit of the built-in libgd based on GD-2.0.1
...
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs. It also will not build currently because
of this. The PHP gd checks need to be incorporated along with a bit of
other config magic. It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00