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
Ilia Alshanetsky
8f6d5dc775
Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
...
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +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
8d4b717518
Added GD image conversion tests.
2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f
Made imagecreatefromxpm() work once again.
2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99
Fixed a memory leak inside gdImageTrueColorToPalette().
2002-12-04 17:16:19 +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
Ilia Alshanetsky
b08f247f32
Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
...
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Marcus Boerger
fa38a6af6f
No more (f)printf for errors and warnings instead use php_error_docref.
2002-12-01 11:43:54 +00:00
Marcus Boerger
65eb0d8125
Conversion fixes
2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Martin Kraemer
966f75d4fb
Portability: avoid <malloc.h> warnings on FreeBSD
2002-11-28 09:19:16 +00:00
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
Moriyoshi Koizumi
c7c7132a66
Renamed the file because this is actually a test for gdImageStringFt().
2002-11-24 01:32:15 +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
9db2512418
Fixed the macro so this can be compiled with ft1
2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
fe23fcab12
Sorry, wrong commit.
2002-11-23 23:35:57 +00:00
Moriyoshi Koizumi
0f8916e37c
Dismissed the second part of the test
2002-11-23 23:34:38 +00:00
Moriyoshi Koizumi
4124672edf
Fixed leaks. Other leaks are originated in libgd.
2002-11-23 22:11:59 +00:00
Moriyoshi Koizumi
57e4b81d13
Fixed segfaults
2002-11-23 21:33:31 +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
Ilia Alshanetsky
489b0f2115
Added missing header (fixed bug #20555 ).
2002-11-22 02:38:03 +00:00
Moriyoshi Koizumi
9762403c26
Added a test case for imagettftext()
2002-11-21 17:26:18 +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
foobar
a3e9ae20d9
Fix the test. (and indented it for easier bug spotting :)
2002-11-18 00:41:27 +00:00
Ilia Alshanetsky
8d00d54f2f
Fixed gd 2.0.4 check
2002-11-17 21:57:43 +00:00
Ilia Alshanetsky
a10e0b6d8e
A better gd >=2.0.4 version check for non-bundled gd library.
2002-11-17 20:18:44 +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
Ilia Alshanetsky
2306c0e9d7
Removed the md5 checks since the files may be slightly different due to
...
float -> int conversion inconsistencies on various architectures.
2002-11-15 18:53:07 +00:00
Marcus Boerger
5841e290ac
Simplify and show skip reason
2002-11-15 15:22:07 +00:00
Marcus Boerger
f986cb84f3
Fix TSRM build
2002-11-14 15:09:53 +00:00
Marcus Boerger
a391c4b12b
Fix warnings (Marcus & Pierre-Alain Joye)
2002-11-14 15:08:39 +00:00
Ilia Alshanetsky
4522738188
Added tests for imagefilter() function.
2002-11-13 20:03:59 +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
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
Ilia Alshanetsky
02fcdec6b7
Fix win32 build.
2002-11-03 21:21:13 +00:00
Ilia Alshanetsky
0ce0939a91
Fixed win32 build (hopefuly).
2002-11-01 01:20:05 +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
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
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
foobar
7d3dc68a79
Nuke tabs.
2002-10-21 23:41:55 +00:00
foobar
3fd56c2995
Changed --with-gd to behave same way as --with-mysql does.
2002-10-21 19:19:08 +00:00
foobar
3be17e3f26
- Prevent resetting the PHP_*_DIR variables if already set.
2002-10-21 02:46:13 +00:00
foobar
0d98fc6777
--with-zlib-dir has to be defined here to enable phpize build
2002-10-19 13:27:53 +00:00
Rasmus Lerdorf
ebfd9aaa47
Fix for bug #19941
2002-10-16 22:34:44 +00:00
foobar
e7b49d64a6
Renamed and fixed constant
2002-10-11 15:50:37 +00:00
Derick Rethans
5a6243a4b5
- Change constant name
2002-10-11 13:09:48 +00:00
Derick Rethans
bbf6b5fee4
- Skip if an external lib gd is used (which always has this crash-bug)
2002-10-11 10:08:42 +00:00
Derick Rethans
7713b4097d
- Add indetified for bundled GD
2002-10-11 09:49:38 +00:00
Derick Rethans
6b3820a510
- Skip when GD is not available
2002-10-09 13:54:21 +00:00
Derick Rethans
f6f58fc300
- Added test case for bug #19266
2002-10-09 13:48:28 +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
Edin Kadribasic
0a0c6a49f5
@- Fixed bug #19595 (Missing functions for GD2 format handling).
...
(Edin)
Fixed bug #19595 (Missing functions for GD2 format handling).
2002-09-27 13:31:43 +00:00
Derick Rethans
9e9e7c677a
- update project file (no precompiled headers)
2002-09-22 18:09:27 +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
eb3b486f21
For now, check only when not using bundled GD lib.
2002-09-11 16:40:35 +00:00
foobar
e54bc671dd
Added build test. Bug: #19345
2002-09-11 15:34:44 +00:00
foobar
cb8493b2fb
This was not a good idea.
2002-09-07 19:09:09 +00:00
Sander Roobol
86e68f34f5
Fix build with bundled gd when builddir!=srcdir
2002-09-07 12:53:05 +00:00
foobar
d1009fe707
Using --with-zlib-dir should work now with phpized builds too.
2002-09-05 20:13:20 +00:00
foobar
c40262ef99
This _should_ fix those builds where gd.h might be in many places in
...
the system. Not guaranteed, but now the path for the found gd.h is always
first in the includes.
2002-09-05 00:24:33 +00:00
foobar
ba057e9bf3
Fix build with GD < 2.0.x
2002-09-05 00:22:40 +00:00
foobar
3bf7519210
@- Added --disable-all configure option. (Jani)
2002-09-04 18:47:28 +00:00
foobar
55b22b16a2
xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11)
2002-08-30 02:44:45 +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
902c17e05a
fiw warnings
2002-08-22 16:21:32 +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
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
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
foobar
3177f1ca2a
Fix bug: #18479 . Better error message what was not found.
2002-07-23 01:11:16 +00:00
foobar
a85f813b6c
Remove evil quotes
2002-07-17 17:28:57 +00:00
foobar
71b0e91bad
Really fix it this time..
2002-07-13 05:01:55 +00:00
foobar
1e48f66729
Fixed the undefined reference to 'gdttf' errors when using bundled GD lib.
...
# I removed that in the first place..don't remember why. :(
2002-07-13 04:06:26 +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
Derick Rethans
06ad4767e3
- Fix GD build with GD 1.8.3
2002-06-29 15:54:02 +00:00
James Cox
cd5fe093b3
make this build too.
2002-06-29 02:03:36 +00:00
James Cox
2ba3ae05bd
removed these files from build.
2002-06-29 02:01:32 +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
569da8b3bf
Remove unnecessary #include's
2002-06-28 12:25:57 +00:00
foobar
78adadafc4
Remove unused files.
2002-06-28 12:23:20 +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
foobar
feb450bae7
- Fix bug: #17671
2002-06-28 07:47:19 +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
foobar
5060a9b379
Fix bug: #17130
2002-06-19 01:11:20 +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
Sebastian Bergmann
01316104b3
Add gd_bundled to php_modules.dsw.
2002-06-14 16:37:24 +00:00
Edin Kadribasic
7e44ab0308
Use some more sane paths for win32 version.
2002-06-14 14:48:33 +00:00
Markus Fischer
cf8166ee90
- Remove freetype.lib and HAVE_LIBTTF; we're always linking against freetype2
...
anyway.
2002-06-14 14:48:13 +00:00
Markus Fischer
fd3b919abf
- Initial MSVC makefile to create a php_gd2.dll based on the bundled libgd,
...
works out of the box here with the right image libs and headers.
# Edin, I think it's your turn now. Feel free to tweak it for your needs.
# Could only compile Release_TS so far (no debug .lib files)
2002-06-13 23:08:40 +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
Sander Roobol
a2849b868b
Fixed detection of JPEG support in bundled version of GD.
2002-06-09 11:27:04 +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
foobar
9a47e545f6
- Fixed the include paths for the needed libraries for bundled libgd.
...
- Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION.
2002-06-04 18:44:54 +00:00
foobar
1528a3d1fb
Fixed bug: #17535
2002-06-04 02:33:10 +00:00
foobar
1a06a2fa15
- Made the bundled libgd actually work. Fixed bug: #17244
2002-06-04 01:13:01 +00:00
Rasmus Lerdorf
01835e0469
fix copyresampled bug in bundled gd lib
2002-05-13 20:20:16 +00:00
foobar
4586a989ef
Wrong variable used here..
2002-04-23 23:17:41 +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
jim winstead
36751953d4
include the checks for various support libraries to --with-gd=php section. the
...
libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
2002-04-20 18:02:14 +00:00
jim winstead
95e9eb35d8
s/.o/.c/
2002-04-20 17:24:37 +00:00
Sascha Schumann
83719f5cd8
s/==/=/
2002-04-13 09:26:29 +00:00
Rasmus Lerdorf
be2078bb73
oops
2002-04-13 05:43:14 +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
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
foobar
956a7762b8
- This is not needed here
2002-03-20 02:07:32 +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
Sander Roobol
9ca0100889
Fixed compile error about gdImageColorResolve ( #14426 , #15000 ).
2002-03-17 17:01:18 +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
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Rui Hirokawa
5634d3a8f7
reverted my patch to fix freetype2 related problem.
2002-03-07 15:07:12 +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
Rui Hirokawa
8cfa80d082
fixed configure error with freetype1.
2002-02-23 01:36:55 +00:00
Derick Rethans
32e9ea6c64
- Fix for bug 14899 (patch by Sander Roobol <sander@php.net>)
2002-02-01 08:53:47 +00:00
Rui Hirokawa
26a12ba990
fixed some link error of gd's configure.
2002-01-13 06:25:18 +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
foobar
f1397d5339
Unified the configure messages.
2001-11-30 19:00:13 +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
13ed1f43c1
Fixed bug: #13955.Checks now for png_write_image().
2001-11-10 09:51:47 +00:00
foobar
35ace375a9
Fixed logic bug introduced by me. Bug: #13796
2001-10-24 10:42:31 +00:00
foobar
19cfee427f
Support also --with-gd (without path). Please test this!
2001-10-23 09:19:11 +00:00
foobar
cf65fad63a
This patch should reduce the amount of 'bogus' bug reports when people
...
have two or more different versions of GD library installed.
2001-10-23 08:52:14 +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
Daniel Beulshausen
a58e996039
fix gd2 preprocessor definitions
2001-10-04 20:21:19 +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
e4df7dc7bf
if test -f /usr/local/lib/libexample.s?; then <-- no workie
...
if test -f /usr/local/lib/libexample.so; then <-- workie
#
# You can all point at me and laugh now.. :(
#
2001-09-07 00:24:06 +00:00
foobar
3c64473b71
Fixed bug: #13172
2001-09-06 23:10:37 +00:00
foobar
acb7d69ff7
Always quote the messages.
2001-09-06 20:55:24 +00:00
foobar
95ff1ab10f
Hope this reduces the amount of bogus bug reports when people use wrong paths..
2001-09-06 18:13:49 +00:00
foobar
032b263129
Fixes commit / link problems with certain compilers.
...
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +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
ab1ad77e0f
oops. Copy-paste-magic. :)
2001-08-07 16:27:29 +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
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +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
7adb7db038
This works better.
2001-07-03 21:09:16 +00:00
foobar
610ebfe3de
Missing constant.
2001-07-02 12:49:21 +00:00
foobar
c493c298d4
Now all these options should behave the same.
2001-06-30 00:38:06 +00:00
foobar
242b8af6aa
fixed bug: #11641
2001-06-24 15:56:05 +00:00
foobar
315cfb2b4e
This is better looking. Other options use the same.
2001-06-24 12:53:17 +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
08ef1eac4a
Always use -n...
2001-06-04 01:36:14 +00:00
foobar
75720b018e
Fixed little buggie with T1lib support.
2001-06-03 21:32:53 +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
foobar
4e545c1d73
A few modifications to make the ZLIB checks work better.
2001-05-20 23:00:44 +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
fd3eb2544a
should be using the function here.
2001-05-18 20:32:47 +00:00
Sterling Hughes
4812388278
Remove the remnants of old global macro's
2001-05-18 20:29:47 +00:00
James Moore
da22505333
- Sync prototype and definition of phpi_get_le_gd
2001-05-16 23:11:33 +00:00
Sascha Schumann
28a441fe02
Fix for #10900 .
...
Submitted by: cech@debian.org
2001-05-16 12:01:25 +00:00
Sascha Schumann
afdaee9e47
Nuke more quotes
2001-05-12 11:09:05 +00:00
foobar
be3b514637
Fixed bug: #10823
2001-05-12 00:15:08 +00:00
foobar
5bc7cf90cd
default to /usr/local
2001-05-10 23:55:56 +00:00
foobar
14e883c3a0
Cleaned up this a bit..
2001-05-10 00:55:48 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Daniel Beulshausen
96330d36bc
make dsp supporting gd2
2001-04-30 12:14:36 +00:00
Wez Furlong
d52f75aa1c
Patch from Adam Dickmeiss to make configure detect libtff again.
2001-04-19 14:16:09 +00:00
Wez Furlong
fe88b5fd6e
Fixed lame attempt to prevent ttf linkage when using freetype2
2001-04-17 01:02:37 +00:00
Wez Furlong
e030eb8238
When using freetype2, turn off libttf and turn on native gd ttf.
2001-04-14 00:15:26 +00:00
Wez Furlong
e9731903d1
Added GD 2.0.1 support.
2001-04-13 12:00:12 +00:00
foobar
84e5576f97
Killed some compile warnings.
2001-04-06 18:01:52 +00:00
foobar
78390894e9
According to GD documentation the macros should be used instead..
2001-04-01 06:20:45 +00:00
foobar
f663f1edab
Fixed bug #8137 and killed some compile warnings.
2001-04-01 05:42:07 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Alexander Feldman
1791658112
A small fix to make the function imageloadfont portable.
2001-03-12 13:57:53 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Daniel Beulshausen
721d59948e
make gd work again under win32
2001-02-20 18:00:44 +00:00
Thies C. Arntzen
8499b430cf
@- Fixed some modules to allow using output-buffering. (Thies)
...
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.
NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Hartmut Holzgraefe
766bdbc919
make _php_image_convert configuration-aware
2001-02-09 21:14:30 +00:00
Hartmut Holzgraefe
d8a83a3722
libjpeg-not-installed protection
2001-02-09 21:04:45 +00:00
Stanislav Malyshev
bb6d3e60e8
Allow usage of GD contexts and not tempfiles in output functions
2001-02-01 15:40:35 +00:00
Egon Schmid
5b57490772
File formats in uppercase characters.
2001-01-27 14:20:06 +00:00
Hartmut Holzgraefe
7ca330741b
gd didn't work if no WBMP was available after rev 1.107 -> fixed
2001-01-25 20:52:52 +00:00
Stanislav Malyshev
773b582b1a
Fix crash in stdout image output
...
# Basically, this code sucks. It should use GD contexts, not temp files
2001-01-25 14:35:36 +00:00
Egon Schmid
5ad27928ac
Protos fixed.
2001-01-24 09:42:17 +00:00
Derick Rethans
c5b67e119c
- Commited a patch that adds support for converting Images to WBMP format.
...
(Thanx to Denis Gasparin <denis@editnet.it>)
@- Added support for converting images from JPG/PNG on the fly with the GD
@ extension, which is usefull for creating dynamic WAP-sites (Derick)
2001-01-24 09:24:26 +00:00
foobar
625978cd9c
Fixed bug #8733
2001-01-16 22:34:19 +00:00
foobar
9f68043524
Fixed bug: 8478
2001-01-07 09:22:53 +00:00
Rui Hirokawa
337edb9cf4
fixed option name mismatch.
2001-01-06 08:38:07 +00:00
foobar
18cfac40a5
Kills one compile warning.
2000-12-10 00:37:43 +00:00
Sascha Schumann
7e28784de3
Fix indentation of configure output
2000-12-06 17:34:58 +00:00
Stanislav Malyshev
bbb46b6c0c
Fix T1 static build
2000-12-06 15:08:18 +00:00
Stanislav Malyshev
f0744d73de
GD shared build fixes - should fix problem with gd.so not being linked
...
with right libraries
2000-12-04 15:10:58 +00:00
Daniel Beulshausen
93b2587876
made gd working correct under win32
...
# fixes the issues when running php threadsafe
2000-11-29 15:25:42 +00:00
foobar
5c16c9fa1a
AC_CHECK_LIB prints out yes/no itself.
2000-11-28 08:06:30 +00:00
foobar
a216a9ad7e
Fixed Bug #7939 + some cleaning.
2000-11-23 14:56:09 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
James Moore
2116cfedf3
Stopping Compile Warnings when using old GD
2000-11-18 18:09:42 +00:00
foobar
40462d1d02
Fix for #7758 . Plus some cleaning.
2000-11-11 19:27:46 +00:00
foobar
ffc95d6125
Beutifying the output of configure a bit.
...
# I promise, this is the last commit for today. =)
2000-11-09 02:59:17 +00:00
foobar
781816998c
Remove duplicate check for xpm support.
2000-11-09 02:31:56 +00:00
foobar
368054d223
Fix to get jpeg/xpm support everytime.
2000-11-09 02:29:15 +00:00
foobar
443d289380
Fixed bug: #5460
2000-11-09 00:16:28 +00:00
Mathieu Kooiman
3e2fa2781a
E_WARNING into E_ERROR, Last commit (today)! I PROMISE! :-)
2000-11-08 18:41:22 +00:00
Mathieu Kooiman
63cdbbd56e
Alert user if they're trying to use
...
ImageCreateFromString() with GD < 1.5..
Sorry, should've added this last commit.
2000-11-08 16:08:42 +00:00
Mathieu Kooiman
5e7041615a
- Made gd extension build when using gd version < 1.5
2000-11-08 14:56:09 +00:00
foobar
95eceee413
Cleaned up a bit.
2000-11-08 01:53:51 +00:00
foobar
3f85e944ab
config.m4
2000-11-08 00:18:49 +00:00
David Hedbor
44ecf58519
(ImageCreateFromString) Added forgotten GDLS_FETCH() needed for ZTS.
2000-11-06 22:00:07 +00:00
Mathieu Kooiman
d6e7b4fefa
- ImageCreateFromString(): Fixed segfault that occured if an image was tried to be
...
generate while there was no support for such an image type.
2000-11-04 20:43:53 +00:00
Derick Rethans
848d353880
- Fixed gd by adding a define
2000-11-03 20:44:04 +00:00
Derick Rethans
0d04945bfa
- Fixing Mathieu's indentation problems
...
# It does not build, undefined references to getmbi and skipheader
2000-11-03 20:31:36 +00:00
Mathieu Kooiman
f391eb7423
- Introduced ImageCreateFromString() function,
...
works for GIF/JPEG/PNG and WBMP ..
(Note: This built with the latest snapshot I grabbed
tonight; Derick seemed to have trouble though..)
@-Introduced ImageCreateFromString(), creates an image
@ stream out of eg a MySQL blob. (Mathieu)
2000-11-03 19:53:42 +00:00
foobar
d6d3f5e9b6
Add line of possible XBM support to the phpinfo()
2000-11-01 04:38:28 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
foobar
1026416153
gdImageWBMP has some bug in it. Using the php-internal one works.
2000-10-25 17:35:29 +00:00
Andrei Zmievski
fa8452bbb2
Fix bug #7397
2000-10-23 02:01:19 +00:00
Rasmus Lerdorf
d12c4de6ba
Fix annoying $withval interaction in GD configure stuff
2000-10-21 12:03:52 +00:00
Sascha Schumann
8fe7cf26fc
Add explicit format string
2000-10-20 23:39:16 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Daniel Beulshausen
8f5e25598a
include php.h to have VIRTUAL_DIR defined this
...
should fix bugs where the ttf functions won't
find the font in the actual working dir
# like under windows :)
2000-10-16 13:55:47 +00:00
Rui Hirokawa
4de105ae4a
added a option to use the truetype string handling function in gd.\n it is useful for japanese because the truetype string function in gd supports some japanese encodings.
2000-10-16 13:50:30 +00:00
Marko Karppinen
cd7dae0676
We don't support FreeType 2 - let's stop pretending we do
2000-10-14 23:04:26 +00:00
foobar
e6d03e7a3e
config.m4
2000-10-14 22:48:38 +00:00
Daniel Beulshausen
ef1dea5e1e
uses php.h define
2000-09-30 16:32:11 +00:00
Daniel Beulshausen
1c4207a1f8
made win32 compile
2000-09-30 13:32:25 +00:00
Daniel Beulshausen
7fdb466d14
a little cleanup
2000-09-28 20:29:39 +00:00
Stefan Roehrich
045ee57f04
Line seems to be missing and causing configure test failures for other extensions.
2000-09-28 09:37:30 +00:00
Stanislav Malyshev
9ff7f19e32
Add URL support for GD
2000-09-26 09:08:02 +00:00
Daniel Beulshausen
0d8812b15c
added LIBGD define
...
# what's with the 'PHPAPI' on line 274 in gd.c, should it get exported?
# it currently breaks the windows build
2000-09-06 09:53:05 +00:00
Daniel Beulshausen
04855ca11c
added the gd extension - see the comment!
...
# configuring the gd extesion is currently a mess.
# currently its configured with jpg, wbmp, png and ttf
# maybe we should think about moving that stuff to the
# config.w32.h or to a seperate gdwin32 header
2000-08-24 18:14:42 +00:00
Sascha Schumann
3cb026db73
Fix library order for -lpng -lz.
...
PR: #3978
2000-08-23 12:28:48 +00:00
Andi Gutmans
d0e48e92b6
- Cleanup imagetransparent in the GD library
2000-08-22 04:11:57 +00:00
Stanislav Malyshev
4bed072f11
Fix crash in one-argument imagecolortransparent
2000-08-21 14:11:19 +00:00
David Croft
83513d9580
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
...
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
2000-07-24 01:40:02 +00:00
Rasmus Lerdorf
3c10e038e2
Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
...
imagetypes() function
@ Add IMG_GIF, IMG_JPG, IMG_JPEG, IMG_PNG and IMG_WBMP constants for
@ imagetypes() function (Rasmus)
2000-07-14 22:07:57 +00:00
Rasmus Lerdorf
2f960d70b9
Add ImageTypes() function which returns a bitfield with the supported
...
image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp
@ Add ImageTypes() function which returns a bitfield with the supported
@ image formats. 1=gif, 2=jpeg, 4=png and 8=wbmp (Rasmus)
2000-07-14 21:51:31 +00:00
Jouni Ahto
1df6557b49
- Restore testing for Unicode charmap to what it was, it was working(?), this
...
shouldn't have any effect on other charmaps.
- Remove bogus message about not finding any Unicode mapping table.
2000-07-07 14:00:50 +00:00
Stig Bakken
6fd156b481
Applied multiple character set support diff by Rob Goodwin
...
@Multiple character set support in gdttf.c (Rob Goodwin)
2000-07-06 08:13:33 +00:00
Sascha Schumann
16017f6d78
Change header protection macros to conform to standard.
...
Draft 3 of IEEE 1003.1 200x, "2.2 The Compilation Environment"
All identifiers that begin with an underscore and either an uppercase
letter or another underscore are always reserved for any use by the
implementation.
2000-07-02 23:46:51 +00:00
Jouni Ahto
92b963bb2e
- Fixed another missing test for existing functions in libgd.
...
# This too should go in 4.0.1 if just possible.
2000-06-26 15:23:52 +00:00
Jouni Ahto
29e5cf81bf
- Test gdImagePaletteCopy and define HAVE_LIBGD15 if found.
...
- s/HAVE_LIBGD13/HAVE_LIBGD15/ in ImagePaletteCopy, ImageCopyMerge.
# This really should go into 4.0.1 or we'll get a lot of complaints from
# people using older versions of gd (because it still supports gif).
2000-06-26 12:23:02 +00:00
Egon Schmid
2deed22e5c
Now its a todo.
2000-06-25 17:55:13 +00:00
Egon Schmid
9f0eba9f10
It was Jouni: Prevent Hartmut finding this until it is actually implemented...
2000-06-25 17:21:04 +00:00
Egon Schmid
b0d0aff6a8
A droto is not a proto.
2000-06-25 10:59:42 +00:00
Sterling Hughes
5a241ca1af
Add version checking.
2000-06-25 03:26:49 +00:00
Jouni Ahto
3d5fd994e7
# Missing ;
2000-06-25 03:12:38 +00:00
Sterling Hughes
3d75fcae68
Proto.
2000-06-25 03:06:38 +00:00
Sterling Hughes
ff1b4be80c
@- Added the ImageCopyMerge, ImagePaletteCopy and ImageColorClosestHWB functions. (Sterling)
...
-Added the ImageCopyMerge, ImagePaletteCopy and ImageColorClosestHWB functions
2000-06-25 02:55:31 +00:00
Jouni Ahto
4dfdac7fba
- Added imagecreatefromwbmp().
...
- Fixed missing parenthesis when calling function get_active_function_name.
@- Added function imagecreatefromwbmp(). (Jouni)
2000-06-25 01:44:15 +00:00
Sascha Schumann
0c03253635
Stop including dl/phpdl.h.
2000-06-24 15:36:04 +00:00
Egon Schmid
6e815b76ea
Some protos fixed.
2000-06-18 16:31:52 +00:00
Jouni Ahto
f5888acfba
- Forgot to test check for errors in two places.
2000-06-16 10:09:12 +00:00
Andi Gutmans
2987d5216e
- More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions
2000-06-15 23:45:05 +00:00
Jouni Ahto
3ca7eb7485
# Prevent Hartmut finding this until it is actually implemented...
2000-06-14 05:11:16 +00:00
Andrei Zmievski
318a59d302
Document change.
2000-06-12 19:41:33 +00:00
Andrei Zmievski
5d51452545
Make gdttf.c work with virtual dir support.
2000-06-12 19:13:21 +00:00
Andi Gutmans
a9d4cf9023
- Nuke COMPILE_DL. Modules that need to be compiled as dll's in Windows
...
- need to define both COMPILE_DL_MODULE and HAVE_MODULE=1
2000-06-10 08:48:01 +00:00
Jouni Ahto
66eedaa03d
- Fixed typo in _php_image_output (s/fp/tmp/) causing segfault.
...
- Fixed bug when calling imagejpeg() with 3 arguments, the second one empty,
introduced yesterday.
- Nuked even more code.
2000-06-07 23:04:39 +00:00
Jouni Ahto
0ebcdb28af
- Added functions imagewbmp(), imagecreatefromxbm().
...
- Nuked a lot of duplicate code.
@- Added function imagecreatefromxbm(). (Jouni)
@- Added function imagewbmp(). (Jouni, based on patch from Rune Nordbøe Skillingstad)
# Note: calling imagejpeg() with 3 arguments, the second one empty,
# is currently broken. Fill fix tomorrow evening unless someone beats me.
# Must have some sleep now, brains stopped working...
2000-06-07 00:37:49 +00:00
Jouni Ahto
4f0f3c3ba0
- Preparing to add new image types to gd module.
...
# Sascha, if you see this, why are there two checks for jpeg dirs
# (PHP_GD_JPEG)? I just literally applied the same method to check for
# Xpm libs, don't know how to fix it. Could you please have a look at this?
2000-06-06 19:06:46 +00:00
Hartmut Holzgraefe
6dd322874e
added T1LIB information to info function
2000-06-06 17:12:05 +00:00
Andi Gutmans
3701bc4207
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
2000-06-05 19:47:54 +00:00
Hartmut Holzgraefe
3bbc7466fc
added comments to the System/Distribution specific default
...
path tests for gd.h
? can someone imagine a clever way to have that done for
_all_ packages in a simple and general way ?
2000-05-27 21:30:30 +00:00
Hartmut Holzgraefe
636b8927c6
should make SuSE 6.x users happy (and anybody else with gh.d in
...
/usr/include/gd ... )
2000-05-27 21:09:00 +00:00
Rasmus Lerdorf
93feb306f8
@ Fix a couple of warnings in the gd and ldap modules
...
num_links is a long there
2000-05-24 08:58:40 +00:00
Hartmut Holzgraefe
94cca68983
added a missing proto
2000-05-23 22:28:07 +00:00
Sascha Schumann
99133bf4bb
--with-foo causes $withval to be set to "yes," not ""
2000-05-23 10:21:40 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Sterling Hughes
69ddfd0acb
@-Port imagegammacorrect from PHP3 to PHP4. (Sterling)
...
#Also two little stylistic changes in gd.c
2000-05-14 15:25:13 +00:00
Hartmut Holzgraefe
19ea1a0bc9
calling a function that is not supported in the current build due to a
...
missing library or unsupported feature (especially GIF-Output)
will now give a slightly more usefull error message than eg.
" Call to undefined function: imagegif()"
(this seemed to confuse a lot of users ....)
2000-05-02 14:10:51 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Rasmus Lerdorf
0628b33278
Never mind on the error check
2000-05-01 22:14:54 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a493cdc92c
Large test commit II
2000-05-01 21:57:01 +00:00
Rasmus Lerdorf
83f567abf3
Dynamically allocate points for ImagePolygon (Marc Pohl)
...
@Dynamically allocate points for ImagePolygon (Marc Pohl)
2000-05-01 18:56:58 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Rasmus Lerdorf
4789127d27
createfrom* fixes
2000-04-21 02:23:16 +00:00
Sascha Schumann
e223693d0c
Do not enable GD, if --without-gd was used
2000-04-20 14:59:59 +00:00
Andi Gutmans
1665cba750
- Change PHP_ to V_ (directory & file functions)
2000-04-15 14:20:01 +00:00
Colin Viebrock
34ba0394cb
recommended changes
2000-04-07 18:50:08 +00:00
Colin Viebrock
f133141bfb
typo
2000-04-05 22:31:40 +00:00
Colin Viebrock
731404c0ba
phpinfo() prettying
...
I will get to the rest of the functions later tonight or tomorrow
(i.e. from hyperwave to snmp)
2000-04-05 22:30:19 +00:00
Andi Gutmans
9c3d6304dd
- Hopefully got most of them. We also need a chdir_file function like
...
for Apache.
2000-03-30 22:56:34 +00:00
Sascha Schumann
c97314257c
Fix libpng and libz order and stuff the libjpeg into its own macro.
2000-03-30 14:59:23 +00:00
Sander Steffann
ec52ce44a9
A small fix when checking for libjpeg
2000-03-18 23:23:39 +00:00
Egon Schmid
69c2faf510
Fixed some protos.
2000-03-13 20:36:59 +00:00
Rasmus Lerdorf
9c192f526e
# Oops - functions with multiple optional args suck
2000-03-13 10:09:02 +00:00
Rasmus Lerdorf
da4f3edac4
gd-jpeg support
...
@Add GD-JPEG Support (Rasmus)
2000-03-13 05:58:50 +00:00
Sascha Schumann
00c14f7413
Also search for freetype headers in $prefix/include/freetype
...
PR: #3775
2000-03-12 15:52:14 +00:00
Sascha Schumann
84bafc1002
Remove outdated PHP 3.1 stuff
2000-03-04 14:21:22 +00:00
Jouni Ahto
b053e6422f
(imagearc) - Fix #3706 .
2000-03-03 14:15:05 +00:00
Jouni Ahto
aeb6f86fe6
(image(createfrom?)png) Fix a typo & remove unused variable.
2000-02-29 18:45:47 +00:00
Jouni Ahto
bafbbea051
- Use *_ex-API and *_RESOURCE-macros (partial).
...
# Yell if this breaks all the hell loose. Otherwise I'll continue with the
# wonderful experience of learning PHP4/Zend-APIS.
2000-02-28 16:52:03 +00:00
Zeev Suraski
bf5cb890b0
- Convert 'PHP3' to 'PHP'
...
- Avoid declaring crypt() related salt types twice
2000-02-26 03:20:55 +00:00
Jouni Ahto
ab7bbbb160
Ported T1lib support from PHP3.
...
@- Ported T1lib support from PHP3. (Jouni)
# That's almost a lie... needs still some work.
2000-02-25 06:43:51 +00:00
Egon Schmid
e06c2021c9
More protos.
2000-02-22 15:48:43 +00:00
Zeev Suraski
9b621d1c8f
Get the license right... (this won't make it to RC1 of B4)
2000-02-19 23:21:46 +00:00
Zeev Suraski
2460569ccb
Change string->str where possible; string is basic a C++ class, so gdb can't look
...
inside variables named 'string'.
2000-02-08 22:21:43 +00:00
Egon Schmid
99ff6e3b76
Proper indentation here also.
2000-01-24 20:25:57 +00:00
Rasmus Lerdorf
ed3c962b39
@ Don't assume libz and libpng are installed for the GD checks (Rasmus)
2000-01-04 02:42:27 +00:00
Sascha Schumann
43ae2bffbb
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
...
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
cf5a5fb1dd
Whoops, defining them to empty values generates many parse errors.
...
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442
Get rid of config.h.stub. Note that you should embed a comment about
...
what the respective define does into the AC_DEFINE macro. I.e.
AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa
Integration of -ng changes. Changes:
...
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
(libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Sascha Schumann
a2276107ab
Some cleanup
1999-12-21 22:58:04 +00:00
Andrei Zmievski
1ad5180f28
getParameters -> zend_get_parameters
1999-12-20 17:34:55 +00:00
Andrei Zmievski
2603f1c419
Zend fixups.
1999-12-20 15:23:38 +00:00
Zeev Suraski
bb3ca12629
More cleanup...
1999-12-17 21:50:07 +00:00
Zeev Suraski
fb1c77bd4f
- Made PHP_VERSION and PHP_OS work again
...
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332
More php3_ annihilation
1999-12-17 19:51:39 +00:00
Zeev Suraski
02d3b39420
More php3_ annihilation
1999-12-17 19:16:50 +00:00
Sascha Schumann
db27dadf27
Call SLS_FETCH() only, if it is needed
1999-12-12 10:53:45 +00:00
Sascha Schumann
5b983c944f
Clean up php3.*\.h files. The files itself are renamed, and references in all
...
.*\.[ch] files were changed. There is a slight chance that my script missed
a few changes, please correct them manually.
1999-12-04 19:19:57 +00:00
Stig Bakken
8f91051dda
Fix shared mode for gd/xml/mysql extensions.
1999-12-04 14:45:38 +00:00
Stig Bakken
7e9a1bc5e7
Back out PIC/COMPILE_DL hack from gd/mysql.
1999-12-01 23:14:54 +00:00
Stig Bakken
2467dd6d05
@Fix some warnings when compiling in maintainer-mode (Stig)
...
@Made mysql and gd work as shared extensions again (Stig)
- Fixed some warnings in maintainer-mode.
- Made mysql and gd work as shared extensions again by defining
COMPILE_DL if PIC is defined.
# We need a better solution for building .so extensions than this
# PIC/COMPILE_DL hack!
1999-12-01 22:59:45 +00:00
Andi Gutmans
2337d110f9
- Added opened_path to php_fopen_wrapper() and the URL fopen wrapper (it's not
...
always properly set, it's a TODO for all of us). This enables us to implement
true 'use' support.
@- Added support for the 'use' keyword - behaves like 'require', but will not
@ use the same file more than once (Andi & Zeev, Zend library)
1999-11-30 20:18:11 +00:00
Sander Steffann
fc56fc8ae0
Show some extra info for GD with phpinfo()
1999-11-29 23:21:52 +00:00
Sander Steffann
f0eebb3e58
Oops, forgot to check for GIF support. Fixed.
1999-11-29 21:26:52 +00:00
Egon Schmid
4b8b9705e4
I'm dreaming that someone else can format this when he/she is looking at it.
1999-11-24 22:04:49 +00:00
Sander Steffann
0f7444c4a8
Some patched versions of GD support both GIF and PNG. The GD module now
...
checks for both instead of assuming that PNG support means that there is no
GIF support anymore.
1999-11-24 21:43:54 +00:00
Sander Steffann
9ed5ad0c58
Removed an empty -L from LDFLAGS which caused errors in configure when
...
running it with --with-gd (without path). Because of this configure detected
every GD as GD-1.2.
1999-11-24 18:50:10 +00:00
Rasmus Lerdorf
1831279f0c
# Fix ColorResolve bogosity
...
Fix gd problems
1999-11-21 04:07:56 +00:00
Sascha Schumann
3dc7757a99
Remove the extra INCLUDES line from most automake Mafiles. This is not
...
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).
Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Rasmus Lerdorf
7a4e1a9b0f
# Improve the GD lib detection when GD is on the ld_path and it is
...
# configure using just --with-gd
1999-11-10 19:22:35 +00:00
Rasmus Lerdorf
2de9baf655
This arg is optional
1999-11-10 18:57:19 +00:00
Sascha Schumann
51b1d2af6a
Add PNG support. Tested with gd 1.7.3.
1999-10-17 14:57:49 +00:00
Sascha Schumann
00bcd72637
Remove -DPIC preprocessor macros. This is defined by libtool
...
automatically, if a shared library is built. This would lead
to multiple definitions of get_module(). If you want to build
modules, add -DCOMPILE_DL to your CFLAGS.
1999-10-10 12:41:56 +00:00
Jouni Ahto
cfd2a241da
Added the files for t1lib support. No porting from PHP3 done yet.
1999-10-08 07:56:43 +00:00
Sascha Schumann
232afa4816
* archive-based convenience libraries completely replaced
...
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Sascha Schumann
7ed678f819
Fix typo--GD_* is for shared build mode.
1999-09-30 20:04:52 +00:00
Stig Bakken
db4820447f
The $shared variable should normally never be used outside of a call to
...
AC_ARG_(ENABLE|WITH). If it is necessary anyway, make sure it is set to
"no" before starting.
1999-09-29 15:13:25 +00:00
Sascha Schumann
182ac10749
Expand relative paths properly, otherwise build process will fail.
1999-09-26 15:00:12 +00:00
Sascha Schumann
e20af627c2
improve short help messages
1999-09-16 15:35:49 +00:00
Zeev Suraski
d7357c0649
*** empty log message ***
1999-09-10 16:27:13 +00:00
Gergely Madarász
8ee14c990b
Enabled shared build of gd module
1999-09-06 16:50:11 +00:00
Rasmus Lerdorf
314f107498
TTF support tested and working now
1999-08-19 06:32:07 +00:00
Rasmus Lerdorf
7f97086631
This should fix TTF support - untested
1999-08-19 05:23:02 +00:00
Sascha Schumann
1f4d09c09f
HAVE_FREETYPE_H isn't defined anywhere. HAVE_LIBTTF should be sufficient
1999-08-17 18:06:39 +00:00
Uwe Steinmann
d172a6b581
Huge patch to update the hyperwave and pdflib module.
...
Only pdflib >2.0 is supported.
None is tested yet. Hyperwave seems to be broken now.
1999-08-05 16:25:10 +00:00
Zeev Suraski
3cb1eb0471
Removed '3' from key functions in PHP (maintained compatibility through
...
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
07d691174b
Symbol work.
1999-07-27 19:44:46 +00:00
Stig Bakken
bc781c94ed
"gd", not "-lgd"
1999-07-25 15:06:49 +00:00
Stig Bakken
c901d4c528
use AC_ADD_ macros
1999-07-25 14:46:33 +00:00
Zeev Suraski
76bef75836
Fix bug #1807 (requires libzend update)
1999-07-23 16:03:18 +00:00
Sascha Schumann
33f30aee64
gdttf update
1999-07-23 15:56:47 +00:00
Zeev Suraski
00238ad1ba
Added check for freetype.h
1999-07-23 15:18:37 +00:00
Zeev Suraski
c5724cbd14
License update
1999-07-16 13:13:16 +00:00
Sascha Schumann
b57dc27595
- run ext sources through conv_proto
...
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Zeev Suraski
0b77132507
* Get Apache to work. POST doesn't work yet.
...
* There are now -I directives for the absolute path of php4, php4/libzend and the builddir for
the Apache module, so we can #include any php/Zend header.
* Rename config.h to php_config.h
1999-05-11 00:01:47 +00:00
Zeev Suraski
60fcac8f2a
A few other minor fixes
1999-05-09 13:57:09 +00:00
Zeev Suraski
bc415d5a88
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
...
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
1999-05-09 08:48:05 +00:00
Stig Bakken
9a66ffbaee
* added --enable-thread-safety switch
...
* now generating internal_functions.c
1999-05-03 11:11:23 +00:00
Zeev Suraski
3cd0af11ee
* Get the Apache module to compile again
...
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
1999-04-26 17:26:37 +00:00
Rasmus Lerdorf
5c09d8e616
Make GD config fail if it doesn't find the gd files
1999-04-25 23:29:52 +00:00
Zeev Suraski
6f7c0edee3
Remove tls.[ch]
1999-04-23 20:06:01 +00:00
Stig Bakken
ff37732997
moved fdf, hyperwave, informix and some smaller files
1999-04-22 00:25:57 +00:00
Stig Bakken
5d75ccdcff
gd compile fix
1999-04-21 21:27:18 +00:00