Commit Graph

951 Commits

Author SHA1 Message Date
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
Edin Kadribasic
3d9c3c6662 MFB:
Fixed bug #20503 (imagesetbrush() availability on windows).
2003-01-06 10:49:52 +00:00
Frank M. Kromann
6b0b7e3f42 Nuke warning, on Win32 build 2003-01-06 04:29:33 +00:00
Frank M. Kromann
01f5c5d6fe enable imageftbbox() and imagefttext() on WIn32 2003-01-06 04:28:49 +00:00
Edin Kadribasic
e0ed7e9057 Complete gif readonly support addition by adding missing gd_gif_in.c
file to the project.
2003-01-06 01:39:08 +00:00
Ilia Alshanetsky
b52eb8f14a Fixed bug #21445. 2003-01-06 00:47:40 +00:00
Sebastian Bergmann
c9d9e053f3 Define HAVE_GD_GIF_READ. 2003-01-05 16:32:01 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Pierre Joye
baea3414a3 Fix a crash while using an invalid color with imagesetstyle, see the sample
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Marcus Boerger
05436b1378 MFB: gd uses float instead of double 2002-12-15 18:16:11 +00:00
Pierre Joye
137beb12ca Do not allow AA if not trueColor (imageantialias does nothing) 2002-12-14 19:23:29 +00:00
foobar
c07f7c8df8 MFB: Fix bug #20995 2002-12-14 09:33:37 +00:00
Ilia Alshanetsky
7a282ddcfd Fixed bug #20974 (added missing sanity check). 2002-12-12 21:17:36 +00:00
Ilia Alshanetsky
20bc6a09e0 Added check for availability of jpeg support. 2002-12-11 22:37:05 +00:00
Ilia Alshanetsky
67aca57c3b Fixed build with non-bundled GD. Hidden the anti-alias functions when
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
5acfdf3ca1 Fix brightness filter (argument ingnored) 2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d White space fixes. 2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b Syncronize bundled gd sources with that of gd 2.0.9, affected functions
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
983d8e5efd Add antialias flag to image structure
Add AA support
2002-12-11 20:47:26 +00:00
Pierre Joye
7ec74f64f9 Add gdImageAAline (antialiased line)
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Pierre Joye
221413e5ef Remove double definition of imagesettile
Add imageantiallias
2002-12-11 20:45:47 +00:00
Pierre Joye
4d522e3686 Add imageantialias(im, flag)
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Marcus Boerger
d1c70a6417 directory values are optional 2002-12-10 20:11:41 +00:00
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