Commit graph

221 commits

Author SHA1 Message Date
George Peter Banyard
4a9963bc40 Fix section order issues in IMAP extension
Part of #658
2021-06-06 18:03:03 +01:00
Martin Samesch
312f9d4e18 fix parameter 2021-03-23 15:25:10 +01:00
Yoshinari Takaoka
195a63e400 Added PHP 8 into versions.xml for imap based on stubs.
Closes GH-364.
2021-01-20 01:21:46 +01:00
Yoshinari Takaoka
4881b14f09 deleted original UTF-7 description.
Halfway deleted in imap-utf7-decode.xml.
2021-01-01 07:17:37 +09:00
Máté Kocsis
e2f50c240b Generate imap methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-297.
2020-12-31 19:30:38 +01: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
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
ab003724ad imap_sort() returns false on failure
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350866 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 18:10:39 +00:00
Christoph Michael Becker
fc870e6f97 ext/imap is not thread-safe
Cf. <https://github.com/php/php-src/pull/6326#issuecomment-707763804>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350865 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 17:06:05 +00:00
Christoph Michael Becker
eb0c675cd5 Remove info about Windows 2000
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350864 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-13 16:38:14 +00:00
Christoph Michael Becker
873035efec Properly document $bodies parameter of imap_mail_compose()
We also generally improve this manual page a bit.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350852 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-12 13:06:28 +00:00
Christoph Michael Becker
c598ef8927 Fix info about imap_mail_compose() custom_headers
This integrates user note 18244.  We also mark up the key names.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350832 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-09 16:32:02 +00:00
Christoph Michael Becker
091d0f1d27 Fix #62813: imap_fetchstructure() manual claims to return "envelope" and "internal date"
While we're at it, we also integrate user note 116898 ("returns false on failure").


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350824 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 15:40:33 +00:00
Christoph Michael Becker
bab0d03aac Fix #73640: imap_search can't search HEADER
Well, libc-client is a wee bit old.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350823 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:53:47 +00:00
Christoph Michael Becker
67acb98dae Fix #63266: imap_utf8 may not convert to UTF-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350822 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-08 14:35:47 +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
George Peter Banyard
ac9f8fcf00 Typos found by anonymous users.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348340 c90b9560-bf6c-de11-be94-00142212c4b1
2019-11-24 05:12:59 +00:00
Christoph Michael Becker
0de6bb1cd9 Fix #78030: imap_open() expects parameter 6 to be array, null given
For all practical purposes, the default value is actually an empty array.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347436 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-18 06:58:33 +00:00
Christoph Michael Becker
f8ad6e41a1 Update IMAP resource type documentation
The “imap persistent” and “imap chain persistent” are removed
as of PHP 4.3.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346029 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 15:12:37 +00:00
Christoph Michael Becker
ca35bb0ee6 Document potentially insecure IMAP mailbox names
We add a warning to all parameters which may be affected,
and also document the new ini option which prevents RCE.
We intentionally keep the wording backwards (“unless … is
disabled”) to also cater to older PHP version which do not
implement the ini option.

Cf. <https://bugs.php.net/bug.php?id=77153>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346027 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-22 14:39:24 +00:00
Christoph Michael Becker
1cb9fe0974 Fix #67366: Docs do not list some LATT_* constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344964 c90b9560-bf6c-de11-be94-00142212c4b1
2018-05-05 17:00:57 +00:00
Christoph Michael Becker
a2165b1ec5 Fix typos
Patches provided by anonymous users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344377 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-27 13:46:38 +00:00
Jakub Vrana
13ab43e265 Standardize filenames
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344354 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-24 17:11:35 +00:00
Jakub Vrana
3e9734391f Add new functions to versions.xml
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344041 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 13:39:15 +00:00
Christoph Michael Becker
d78b4646c2 Partially fix #75094: Functions not documented
We document the IMAP functions which have been introduced 
in PHP 5.3.0.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342908 c90b9560-bf6c-de11-be94-00142212c4b1
2017-08-22 14:01:19 +00:00
Andrey Gromov
62db3b3942 fixes from anon and Alex Medvedev
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342651 c90b9560-bf6c-de11-be94-00142212c4b1
2017-07-09 08:18:52 +00:00
Andrey Gromov
42f0c6186a fixes from anons (changes for imap checked in C-sources)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342503 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-25 08:23:31 +00:00
Pieter Hordijk
1ab7003a7f Added return value on error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342243 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-05 09:54:45 +00:00
Maciek Sokolewicz
30e1776899 note that the function returns false on error
patch provided by an anonymous contributor

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341927 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 19:46:09 +00:00
Andrey Gromov
d790375863 Typo, copypaste errors and so.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341804 c90b9560-bf6c-de11-be94-00142212c4b1
2017-01-29 09:14:49 +00:00
Maciej Sobaczewski
3906c681cd Fix inconsistent changelogs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340948 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-11 12:55:45 +00:00
Christoph Michael Becker
3c02ea37b5 Fix #73028: udate Missing in Doc for imap_fetch_overview
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339993 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-06 10:52:55 +00:00
Christoph Michael Becker
bd034b66e9 typo fixes by anon users
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339242 c90b9560-bf6c-de11-be94-00142212c4b1
2016-05-30 14:13:34 +00:00
Peter Cowburn
6594fca1bd fix versions (doc bug #71671)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338665 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-26 13:20:38 +00:00
Maciej Sobaczewski
92bff06867 Update bunch of versions.xml for PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Christoph Michael Becker
d91919d037 improvements for imap_search() and imap_sort() docs (fixes #69410)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337670 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-29 11:14:31 +00:00
Christoph Michael Becker
867cdffb81 fixed primary body type documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337492 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:37:18 +00:00
Christoph Michael Becker
394972d6ce Add constants for types and encoding
-- 
Provided by anonymous 16911 (Krzysiek Łukasiak)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337491 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:32:54 +00:00
Christoph Michael Becker
0511c184bc improved constants doc of ext/imap
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337490 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 17:31:10 +00:00
Jean-Sebastien Hedde
41060e691d Anonymous contributions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335484 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-30 12:29:17 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Maciej Sobaczewski
f1177c82c0 Remove PHP 4 functions
It is mostly cleanup of versions.xml because most of PHP 4 functions were already removed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334644 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 08:41:15 +00:00
Maciej Sobaczewski
e41aab5eca Remove changelogs for PHP 4 - 3rd round
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334621 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 17:46:13 +00:00
Peter Cowburn
a75d02c1f4 Fix variables in example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333193 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:55:01 +00:00
Peter Cowburn
6c6df6aa38 typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333165 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-29 21:52:59 +00:00