summaryrefslogtreecommitdiff
path: root/ext/imap
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | Trim trailing whitespace in *.phptPeter Kokot2018-10-1469-204/+204
| | | | | |
| | * | | | Sync leading and final newlines in source code filesPeter Kokot2018-10-143-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| | * | | | Trim trailing whitespace in source code filesPeter Kokot2018-10-136-45/+44
| | | | | |
| * | | | | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-203-0/+42
| | | | | |
| * | | | | Future-proof email addressesZeev Suraski2018-11-012-2/+2
| | | | | |
| * | | | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1518-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | | | | Trim trailing whitespace in *.phptPeter Kokot2018-10-1469-204/+204
| | | | | |
| * | | | | Sync leading and final newlines in source code filesPeter Kokot2018-10-142-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | | | | Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
| | | | | |
* | | | | | Disable rsh/ssh functionality in imap by default (bug #77153)Stanislav Malyshev2018-11-203-0/+42
| | | | | |
* | | | | | Fixed testsDmitry Stogov2018-11-132-2/+2
| | | | | |
* | | | | | Future-proof email addresses...Zeev Suraski2018-11-012-2/+2
| | | | | |
* | | | | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-1518-18/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | | | | Trim trailing whitespace in *.phptPeter Kokot2018-10-1456-82/+82
| | | | | |
* | | | | | Trim trailing whitespace in testsGabriel Caruso2018-10-1450-124/+124
| | | | | |
* | | | | | Sync leading and final newlines in source code filesPeter Kokot2018-10-142-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | | | | Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
| | | | | |
* | | | | | Fix some misspellingsGabriel Caruso2018-08-122-2/+2
|/ / / / /
* | | | | Replace obsolete AC_TRY_FOO with AC_FOO_IFELSEPeter Kokot2018-07-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Autoconf 2.50 released in 2001 made several macros obsolete including the AC_TRY_RUN, AC_TRY_COMPILE and AC_TRY_LINK: http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2 These macros should be replaced with the current AC_FOO_IFELSE instead: - AC_TRY_RUN with AC_RUN_IFELSE and AC_LANG_SOURCE - AC_TRY_LINK with AC_LINK_IFELSE and AC_LANG_PROGRAM - AC_TRY_COMPILE with AC_COMPILE_IFELSE and AC_LANG_PROGRAM PHP 5.4 to 7.1 require Autoconf 2.59+ version, PHP 7.2 and above require 2.64+ version, and the PHP 7.2 phpize script requires 2.59+ version which are all greater than above mentioned 2.50 version therefore systems should be well supported by now. This patch was created with the help of autoupdate script: autoupdate <file> Reference docs: - https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html - https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
* | | | | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | | | | Remove unused Git attributes identPeter Kokot2018-07-254-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | | | Fixed testsDmitry Stogov2018-07-121-18/+18
| | | | |
* | | | | Use zval_ptr_dtor() instead of zval_dtor() in internal functions that ↵Dmitry Stogov2018-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | destroy new created object (This is safer and produces less code)
* | | | | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | | | | Merge branch 'PHP-7.2'Nikita Popov2018-04-141-0/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-04-141-0/+1
| |\ \ \ \ | | |/ / /
| | * | | reset imap_errorstack after outputting itAron Rotteveel2018-04-141-0/+1
| | | | | | | | | | | | | | | | | | | | This happens in `imap_errors` as well, but seems to be omitted in the `shutdown` routine.
* | | | | remove support for string|unicode in testsGabriel Caruso2018-02-224-15/+15
| | | | |
* | | | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | | | Remove trailing whitespace in inc filesGabriel Caruso2018-02-103-31/+31
| | | | |
* | | | | Use bool instead of boolean while throwing a type errorGabriel Caruso2018-02-0410-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int.
* | | | | Use int instead of integer in type errorsGabriel Caruso2018-02-048-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | | | | Merge branch 'PHP-7.2'Anatol Belski2018-01-122-6/+29
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * PHP-7.2: Fixed bug #75774 imap_append HeapCorruction
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-01-122-6/+29
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * PHP-7.1: Fixed bug #75774 imap_append HeapCorruction
| | * | | Fixed bug #75774 imap_append HeapCorructionAnatol Belski2018-01-122-6/+29
| | | | |
| | * | | year++Xinchen Hui2018-01-022-2/+2
| | | | |
| * | | | year++Xinchen Hui2018-01-022-2/+2
| | | | |
* | | | | year++Xinchen Hui2018-01-022-2/+2
| | | | |
* | | | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | | | |
* | | | | Merge branch 'PHP-7.2'Nikita Popov2017-12-091-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2017-12-091-1/+1
| |\ \ \ \ | | |/ / /
| | * | | ext/imap/config.m4: fix ac_cv_u8t_decompose checkMichael Heimpold2017-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once upon the time, commit c58f63a38ae19caaab339c61486fc3bd7e5894f9 changed the check from U8T_CANONICAL to U8T_DECOMPOSE. However, the autoconf cache id was not renamed. Sometimes it is desirable to preseed the autoconf variables, e.g. when cross-compiling to avoid the tests running on the host system. In this case it's confusing when the cache id does not match the variable to set, so let's adjust it. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
| | * | | Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
| | | | |
* | | | | Cleanup type conversionDmitry Stogov2017-12-071-16/+8
| | | | |
* | | | | Remove tutorial for building IMAP on windowsPeter Kokot2017-12-051-32/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | Procedure for building PHP on Windows systems has changed during the PHP evolution and is for the time being available on wiki pages outside of this code repository.
* | | | Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)Kalle Sommer Nielsen2017-07-071-5/+2
| | | |
* | | | Fix redefine warningsKalle Sommer Nielsen2017-07-071-0/+15
| | | |
* | | | Remove superfluous semicolonsTom Van Looy2017-06-261-1/+1
| | | |
* | | | Update copyright headers to 2017Sammy Kaye Powers2017-01-022-2/+2
| | | |
* | | | Remove more PHP 6 leftovers from testsNikita Popov2016-11-2419-79/+79
| | | |