Commit graph

648 commits

Author SHA1 Message Date
Sergey Panteleev
a7e5e563d2
[PHP 8.1] Use GdFont (#994) 2021-10-05 15:30:01 +03:00
Sergey Panteleev
8a2141dcc0
Deprecated functions and constants
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-981.
2021-10-04 16:53:40 +02:00
Sergey Panteleev
4e04068f2d
[PHP 8.1] Add imageavif and imagecreatefromavif functions (#983)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-09-30 13:17:20 +03:00
Sergey Panteleev
7c2251296a
Add imagecreatefromtga description
Closes GH-950.
2021-09-16 13:02:06 +02:00
Kamil Tekiela
52dc204a77
Add note about NOP code
Closes GH-933.
2021-09-14 15:09:52 +02:00
Máté Kocsis
7f99d5e488
Remove some unnecessary methodsynopsis role attributes (#913) 2021-09-14 14:37:29 +02:00
Sergey Panteleev
9f7b578adf
Fix section issues (#666)
* Fix issues in Image directory
* Fix issues in Gmagick directory
* Fix issues in Snmp directory

Part of #658
2021-06-07 18:46:20 +03:00
George Peter Banyard
180ed02e4b
No need for two changelog entries 2021-06-02 01:34:05 +01:00
Sergey Panteleev
b90054e3eb
Fix function description (#635) 2021-05-28 11:38:26 +03:00
Sergey Panteleev
f1b1ac9c7d
Fix a typo 2021-05-28 09:43:39 +03:00
Máté Kocsis
593ea510e8
Generate ext/gd methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-623.
2021-05-24 13:14:32 +02:00
Kamil Tekiela
9ee27f088a
Fix some common typos (#533)
* accomodate -> accommodate
* agressive -> aggressive
* begining -> beginning
* enviroment -> environment
* existance -> existence
* fourty -> forty
* foward -> forward
* futher -> further
* immediatly -> immediately
* occured -> occurred
* occuring -> occurring
* occurance, occurence -> occurrence
* prefered -> preferred
* publically -> publicly
* seperate -> separate
* compliment -> complement
2021-04-19 11:57:59 +02:00
George Peter Banyard
2f00a6fcf4
Actually document bool return for imageinterlace() 2021-03-17 16:33:47 +00:00
Christoph M. Becker
34316e9ecf Fix signatures of some GD functions wrt. PHP 8.0
Regarding the return type of `imageinterlace()`, see
<c17434429d>.
2021-03-17 15:56:11 +01:00
Sara Golemon
c352a8f0a7
Clarify types and meaning of interlact param to imageinterlace() 2021-03-17 13:24:40 +00:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Yoshinari Takaoka
aff207e954 Added PHP 8 into versions.xml for image based on stubs.
Closes GH-420.
2021-01-26 18:16:03 +01:00
Yoshinari Takaoka
4e32d05f74 replaced deprecation warnings in image deleted functions as of PHP 8.0.0. 2021-01-26 23:00:36 +09:00
Christoph M. Becker
4b4883c70a Fix #78370: imagefilltoborder does not fill 2021-01-13 16:07:34 +01:00
Peter Cowburn
4034dfe043 typofix in imageaffinematrixget() example 2020-12-30 14:47:52 +00:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Christoph Michael Becker
de8b75ccb6 $num_points parameter of image*polygon() is now optional
Cf. <https://github.com/php/php-src/pull/4885>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352128 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-19 00:10:21 +00:00
Christoph Michael Becker
5f8047c12b Document new opaque classes which replace resources
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351932 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-06 22:11:40 +00:00
Christoph Michael Becker
f5f52806b4 Fix grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351758 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-30 00:43:37 +00:00
Christoph Michael Becker
ac84f2b81c imagecreatefromstring() supports WebP as of PHP 7.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351755 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-29 23:43:47 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
Christoph Michael Becker
0ebd26c45c Document imagegetinterpolation()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351555 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-24 00:33:46 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
6dc00c0480 Add imagecrop() to "see also" sections of imagecopy*()
Actually, the given examples of cropping and resizing, respectively, are
anachronistic; one would use imagecrop() and imagescale(), respectively,
nowadays.  As such they should be replaced with some still useful
examples.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350829 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 14:04:49 +00:00
Christoph Michael Becker
f85d380904 Normalize "see also" sections of image book according to skeletons
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350828 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:59:15 +00:00
Christoph Michael Becker
e12ed8b6aa Remove PHP 5 related info from image book
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350826 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 13:04:56 +00:00
Christoph Michael Becker
029ab30c40 Fix #80168: Warning on using second arg for imagexbm
We also add a changelog entry regarding the 4th parameter, which is unused,
and removed as of PHP 8.0.0.  We do not yet document the PHP 8.0.0 signature
due to yet missing union type support, though.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350742 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-01 15:20:06 +00:00
Christoph Michael Becker
3e15d2894f Remove more changelog entries, mostly from PHP 5.4 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350656 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:15:17 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
be5b0f33a1 Remove more changelog entries, mostly from PHP 5.1 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350653 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:45:57 +00:00
Christoph Michael Becker
428f19e346 Remove functions no longer present in PHP 7.0.0
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350648 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 12:43:20 +00:00
Christoph Michael Becker
8a534c555a There are no "image link resource"s
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350343 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-19 22:35:34 +00:00
Maurício Meneghini Fauth
087a636933 Document GD installation changes in PHP 7.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350282 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-04 16:00:11 +00:00
Christoph Michael Becker
2a521fdf94 The GD and GD2 formats are obsolete
Cf. <http://libgd.github.io/manuals/2.2.5/files/gd_gd-c.html>
and <http://libgd.github.io/manuals/2.2.5/files/gd_gd2-c.html>.

This integrates user note 124797.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349322 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 17:40:50 +00:00
Christoph Michael Becker
38f840329e Add example for conversion of typical alpha values
This integrates user note 103146, 106642 and 124527.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348664 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-22 14:59:32 +00:00
Christoph Michael Becker
b94027e267 Fix #55005: imagepolygon num_points requirement
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348252 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-02 13:05:52 +00:00
Christoph Michael Becker
a70a7036bc ext/gd supports WebP as of PHP 5.4.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347892 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-25 11:06:02 +00:00
Christoph Michael Becker
ade3f479d9 Fix configure option
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347766 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-19 11:34:19 +00:00
Christoph Michael Becker
d8d1504e85 Fix return value description
Based on a patch provided by an anonyous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347731 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-12 13:02:37 +00:00
George Peter Banyard
508e255fff Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

This should include all mentions of PHP 4 in "bundled" extensions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 13:21:49 +00:00