Commit Graph

810 Commits

Author SHA1 Message Date
Pierre Joye
bf348c8c46 - MFH: #41717, imagepolygon does not respect thickness
(sync with libgd)
2007-06-17 10:56:51 +00:00
Nuno Lopes
93cf41436b sync with libgd: improve _gdImageFillTiled() 2007-06-15 19:47:10 +00:00
Pierre Joye
f5f04f2214 - Fixed regression introduced by the fix for the libgd bug #74 2007-06-14 19:17:31 +00:00
Pierre Joye
c4b5196d0b - #41630, fix segfault when an invalid color index is present in the image
data
2007-06-07 21:07:33 +00:00
Antony Dovgal
8853804482 MFH: fix several integer overflows in GD 2007-06-06 09:45:43 +00:00
Pierre Joye
256de924c7 - MFH: @DOC add constants GD_MAJOR_VERSION, GD_MINOR_VERSION, GD_RELEASE_VERSION
GD_EXTRA_VERSION and GD_VERSION_STRING
2007-06-03 17:46:18 +00:00
Pierre Joye
f4926a042e - sx/sy must be > 0 and < INT_MAX 2007-06-02 15:38:09 +00:00
Pierre Joye
70650810ad - enable tests even when an external GD is used. Latest releases
(2.0.34 or 2.0.35) work.
2007-06-02 15:35:34 +00:00
foobar
c5e8992942 MFH: - Fixed bug #41555 (configure failure: regression caused by fix for #41265) 2007-06-01 21:34:17 +00:00
Antony Dovgal
083844f847 MFH: fix #41442 (imagegd2() under output control) 2007-05-22 10:22:49 +00:00
Antony Dovgal
4bd12c4673 fix test 2007-05-17 11:43:47 +00:00
Pierre Joye
85f738261f - fix title 2007-05-16 22:55:27 +00:00
Pierre Joye
7807477a87 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c, fix test
(Reported by Xavier Roche)
2007-05-16 22:21:41 +00:00
Pierre Joye
587de83684 - MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c
(Reported by Xavier Roche)
2007-05-16 22:19:08 +00:00
Pierre Joye
4a8e75b990 - MFH: fix build when use with a museum freetype version (1.x) 2007-05-07 14:54:36 +00:00
foobar
3f6cb452ee MFH:- Prevent bugs like #41265 being submitted from now on. 2007-05-04 21:57:47 +00:00
Antony Dovgal
0a92fdba8a improve test 2007-05-03 12:10:11 +00:00
foobar
c8925ba493 - fix compile warning 2007-04-24 12:51:22 +00:00
Scott MacVicar
65408b1520 MFH: Fixed bug #40130 (TTF usage doesn't work properly under Netware). 2007-04-23 15:17:47 +00:00
Hannes Magnusson
8edb601981 Fix proto 2007-04-17 15:44:23 +00:00
Pierre Joye
8eb8ae051b - INFO_EX not INFO 2007-04-17 15:39:19 +00:00
Pierre Joye
569e8596af - MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC]
capture a window using its handle or a full screen
2007-04-17 15:31:45 +00:00
Pierre Joye
ffaaaa4df0 - MFH: libgd #74, gdImageFilledArc, huge CPU usage with large angles 2007-04-14 17:33:15 +00:00
Pierre Joye
737a66e83c - add HAVE_GD_FONTCACHESHUTDOWN to w32 build script (always here) 2007-04-11 11:44:20 +00:00
Pierre Joye
17eaaea1f7 - Fix windows mutex intialization, add HAVE_GD_FONTMUTEX and HAVE_LIBFREETYPE
to config.w32 (Thanks to Frank for the report)
2007-04-06 15:38:35 +00:00
Pierre Joye
12b66657d7 - reflect the "real" version to avoid confusions. Users should really use
only the bundled version
2007-04-05 11:57:57 +00:00
Antony Dovgal
70cd86420b MFH: fix build 2007-04-05 09:33:10 +00:00
Nuno Lopes
5833fc40dc fix race condition on font cache shutdown 2007-04-04 14:24:03 +00:00
Pierre Joye
539be2cc81 - do not try to use the global color map when none was found (Nuno, Pierre)
- free im on error
2007-04-04 11:40:11 +00:00
Pierre Joye
89ad25f1af - MFH: don't declare MSHUTDOWN if both cachesetup and t1lib are not used 2007-04-04 01:58:24 +00:00
Pierre Joye
e4749c609c - Sync with gd 2.0.35 (bug #52, #60 and #66)
- Improve TS of gif loading code (Roman Nemecek, Nuno, Pierre)
 - a frame size must be confined to the screen defition (Pierre)
 - be sure to always read the dimensions in the frame and does not use
   the screen size (see #66 for a side effect) (Pierre)
- Update #37360 test. The frame does not fit the logical screen (specs
  tell that it must fit) (Pierre)
2007-04-04 01:34:50 +00:00
Pierre Joye
6ef9642b16 - MFH:
- remove double lock (tween colors cache is created in each thread, the
   cache mutex is already locked earlier)
 - #40858, other TS improvements for gd freetype cache management
   cache initialization and shutdown is now done in MINIT and MSHUTDOWN.
2007-04-04 00:47:55 +00:00
Pierre Joye
a9ca51ff1a . colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
2007-04-04 00:30:18 +00:00
Pierre Joye
cb11ba761e - MFH: CVE-2007-1001, integer overflow with invalid wbmp images 2007-03-10 12:18:36 +00:00
Pierre Joye
547e4760e0 - #40764, line thickness not respected for horizontal and vertical lines
- add test
 - NEWS entry
2007-03-10 01:13:19 +00:00
Pierre Joye
1286d9e266 - #40764, line thickness not respected for horizontal and vertical lines 2007-03-09 01:18:40 +00:00
Nuno Lopes
5116b67016 fix thread unsafety in the gif reader code (merge from libgd cvs) 2007-03-08 20:24:53 +00:00
Nuno Lopes
7b37c41384 fix access to non initialized memory (check valgrind reports on http://gcov.php.net) 2007-03-02 18:41:25 +00:00
Nuno Lopes
e5c4b50127 merge from gd sources: unlock mutex before shuting it down 2007-03-01 18:39:49 +00:00
Pierre Joye
dfeff9efe6 - sync with libgd.org, patch from Kees Cook 2007-02-25 02:45:06 +00:00
Ilia Alshanetsky
9783f5f1f3 strncpy() -> strlcpy() 2007-02-24 18:00:56 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Pierre Joye
b5e6c78eda - #40578, fix the 2nd race condition on shutdown when the cache is freed 2007-02-23 00:58:49 +00:00
Antony Dovgal
94bab7b206 MFH: fix #40578 (imagettftext() multithreading issue) 2007-02-21 15:00:26 +00:00
Antony Dovgal
9208d250c2 MFH 2007-02-16 11:08:22 +00:00
Pierre Joye
18e4a7aacb - Fixed bug #40428, imagepstext() doesn't accept optional parameter
(Pierre)
2007-02-11 11:11:48 +00:00
Pierre Joye
4dafc7a2fa - save/restore the alpha blending mode correctly in imagefill and
imagefilltoborder
2007-01-19 15:03:56 +00:00
Nuno Lopes
8815fdf5e0 OMG, this line was really bogus (and allocating huge amounts of memory unecessarly) 2007-01-13 11:21:21 +00:00
Nuno Lopes
e22c9cd775 fix valgrind error in test bug24594.phpt
while at it, remove some dead code and change the pts vector to char to save (much) memory
# Pierre: one more to merge ;)
2007-01-13 11:16:15 +00:00
Nuno Lopes
43369cef58 avoid calling MSHUTDOWN when built without libt1 2007-01-08 22:52:22 +00:00