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