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