60 Commits

Author SHA1 Message Date
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi
5671f3fe71 Add missing SODIUM constants (#3474)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:53:02 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
Máté Kocsis
d76a7fe17d Document SensitiveParameter attributes - part 2 (#3403) 2024-05-21 12:11:42 +01:00
Niels Dossche
b97a90233a Fix GH-3160: sodium_crypto_pwhash misleading $salt length requirement (#3273)
Code requires the length to be exactly, not at least, this amount of
bytes.
2024-03-17 18:08:53 +00:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Michael Mawhinney
660cdbffc2 Fix minor spelling errors in the documenation for sodium_crypto_secretbox and sodium_crypto_secretbox_open (#2646) 2023-08-05 09:21:38 +02:00
Máté Kocsis
f781803449 Narrow bool return types to true when possible (#2458) 2023-05-07 22:32:58 +02:00
Máté Kocsis
3fc56d76de List inherited constructors on the class synopsis pages (#2090) 2022-12-28 15:51:40 +01:00
Christoph M. Becker
071a588364 Fix xpointer expressions
When removing the `not()` operator, some closing parentheses have been
overlooked, which resulted in broken xpointer expressions.
2022-12-13 12:13:33 +01:00
Máté Kocsis
09c49da6f0 Update Error, Exception, and Throwable role attributes (#2069) 2022-12-11 23:32:45 +01:00
Yoshinari Takaoka
de7aa7cdba fixed invalid function name, and return value description. 2022-09-24 10:52:24 +09:00
Sergey Panteleev
cba458acae Add sodium_crypto_stream_xchacha20_xor_ic description (#1817) 2022-09-20 11:39:58 +01:00
Sergey Panteleev
6154d9c466 [PHP 8.1] Add new global Sodium constants (#1546) 2022-04-26 15:47:45 +03:00
Sergey Panteleev
133b912de1 [PHP 8.1] Add sodium ristretto255 functions (#1051) 2022-04-16 13:56:04 +03:00
Sergey Panteleev
42d9fd4535 Add sodium xchacha20 functions (#1045) 2022-04-16 13:55:13 +03:00
carnage
012af70e47 Should use constant time sodium_bin2hex in examples
Closes GH-1399.
2022-02-14 12:22:30 +01:00
Christoph M. Becker
8f28fbb43a Revert "Revert "Generate ext/sodium class synopses from stubs""
This reverts commit 6700a28f74, because
the change is wanted, but this time we don't apply the `skip-revcheck`
tag.

Sorry for the noise, translators!
2021-11-17 00:36:22 +01:00
Christoph M. Becker
6700a28f74 [skip-revcheck] Revert "Generate ext/sodium class synopses from stubs"
This reverts commit 1b3769ae7d, because
we must not tag `skip-revcheck` here.

Cf. <1b3769ae7d (r60384241)>.
2021-11-17 00:32:41 +01:00
Máté Kocsis
1b3769ae7d [skip-revcheck] Generate ext/sodium class synopses from stubs
Closes GH-1072.
2021-11-16 18:41:00 +01:00
Maurício Meneghini Fauth
80dd9db3b7 Document the sodium_crypto_secretbox_keygen function 2021-10-16 13:52:27 -03:00
Maurício Meneghini Fauth
47d1a1b4f1 Improve sodium_crypto_secretbox[_open] doc pages
Adds returnvalues, errors, examples and seealso sections to the
sodium_crypto_secretbox and sodium_crypto_secretbox_open documentation
pages.
2021-10-15 01:09:47 -03:00
Yoshinari Takaoka
d4eaf603fe fixed parameter markup 2021-07-23 17:11:49 +09:00
Yoshinari Takaoka
2b57c8cd4c fixed wrong example function name, part II. 2021-07-23 05:46:44 +09:00
Yoshinari Takaoka
5bbdca0c80 fixed wrong example function name. 2021-07-23 05:42:02 +09:00
Yoshinari Takaoka
26940f5332 fixed wrong referenced function name. 2021-07-23 05:35:45 +09:00
Yoshinari Takaoka
f578bab6a8 fixed typo 2021-07-23 04:29:46 +09:00
Yoshinari Takaoka
506da7e0e6 fixed parameter markup 2021-07-22 17:50:10 +09:00
Yoshinari Takaoka
e7853a8a24 Improved ext/sodium [Introduction|Resource Types] documentation. (#655) 2021-06-27 21:15:32 +09:00
Sergey Panteleev
d2621c5028 Remove undocumented tag 2021-06-17 19:01:30 +03:00
Sergey Panteleev
7e0812ffc3 Improvement sodium functions description (#695) 2021-06-16 13:55:39 +03:00
Sergey Panteleev
4287d6eadb Fix sodium_bin2hex description (#690) 2021-06-15 15:08:31 +03:00
Sergey Panteleev
4aa11f94a6 Fix sodium missed description 2021-06-11 13:26:59 +03:00
George Peter Banyard
cbac1ecf71 Fix lone section order issues in various extensions
Part of #658
2021-06-06 18:03:03 +01:00
Paragon Initiative Enterprises
14e3e35ca0 Provide documentation for many ext/sodium functions
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-592.
2021-06-04 13:10:30 +02:00
Máté Kocsis
5770355a66 Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Yoshinari Takaoka
4624ac0d88 Added PHP 8 into versions.xml for sodium based on stubs.
Closes GH-367.
2021-01-28 19:03:52 +01:00
Christoph M. Becker
8469c26f01 SodiumException has no members 2021-01-28 18:56:47 +01:00
Christoph M. Becker
eef39a4510 Add SodiumException to the manual
The document was already there, but no included for whatever reason.
2021-01-28 18:52:08 +01:00
Christoph Michael Becker
fd71d9c2d9 Generate sodium methodsynopses based on stubs
Closes GH-288.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352185 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 12:53:42 +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
Nikita Popov
f1e951b988 Remove duplicated words
Patch by carusogabriel.

Closes php/doc-en#7.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347749 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-14 13:46:42 +00:00
Christoph Michael Becker
58fd955032 Fix misleading parameter name
Patch provided by jhdxr@.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346920 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:58:21 +00:00
Christoph Michael Becker
be1067961d Clarify parameter
Patch provided by Craig Francis.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346919 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:46:37 +00:00
Christoph Michael Becker
2eaf835fd2 Fix misleading parameter name
Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346918 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-28 13:39:06 +00:00
Derick Rethans
880fafc676 Adding some libsodium patches by Marcus Bointon.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346870 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-21 22:00:31 +00:00
Pasindu De Silva
63f25fc352 Added SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13 constant
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345702 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-28 02:22:51 +00:00
Christoph Michael Becker
7edfdafc14 Fix #76655: libsodium seems not present, "no installation needed" not true
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345378 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-23 10:41:04 +00:00