summaryrefslogtreecommitdiff
path: root/ext/ftp
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-04-121-57/+59
|\ \ \ \ | |/ / /
| * | | Avoid uninit warning in ftpNikita Popov2019-04-121-57/+59
| | | |
* | | | Merge branch 'PHP-7.4'Nikita Popov2019-03-251-2/+10
|\ \ \ \ | |/ / /
| * | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-03-251-2/+10
| |\ \ \ | | |/ /
| | * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-03-251-2/+10
| | |\ \ | | | |/
| | | * Fix bug #77680: Correctly implement recursive mkdir on FTP streamVlad Temian2019-03-251-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the root directory was missing, an extra CWD without arguments was made. Also, the MKD contained an empty string. Now the CWD will use / and MKDs will be issued starting from the root directory.
* | | | Merge branch 'PHP-7.4'Peter Kokot2019-03-159-18/+18
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-7.4: Replace dirname(__FILE__) by __DIR__ in tests
| * | | Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-159-18/+18
| | | |
* | | | Adjust tests for zpp TypeError changeNikita Popov2019-03-114-186/+6
|/ / /
* | | Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
* | | Implement fine-grained conflict handlingNikita Popov2019-02-201-0/+1
| | | | | | | | | | | | | | | | | | Tests can specify conflict keys, either in --CONFLICTS-- or a per-directory CONFLICTS file. Non-conflicting tests may be run in parallel.
* | | Expand FTP delete basic test with "unknown file" coverageWard Cappelle2019-02-102-5/+21
| | | | | | | | | | | | | | | | | | | | | A port of the original https://github.com/phpcommunity/phptestfest-php-src/pull/148 pull request, created earlier during #PHPTestFest (User Group: PHP-WVL & PHPGent). Expands the existing FTP delete command test with coverage for deletion of non-existing files (which returns a 550 status code).
* | | Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-02-081-1/+1
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-02-081-1/+1
| |\ \ | | |/
| | * Fix FTPS passive mode of data channel event pollYanTao2019-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | Bugfix: when using passive mode of FTPS protocol, data channel events should be polled when creating data connection channel, instead of polling the event of ftp's self control channel, which may cause ftp transfer problem while using ftps and passive mode.
* | | Remove local variablesPeter Kokot2019-02-032-17/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-304-4/+4
| | |
* | | Implement typed propertiesNikita Popov2019-01-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
* | | Merge branch 'PHP-7.3'Remi Collet2018-11-201-6/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | * PHP-7.3: NEWS NEWS NEWS Fix #77151 ftp_close(): SSL_read on shutdown
| * | Merge branch 'PHP-7.2' into PHP-7.3Remi Collet2018-11-201-6/+8
| |\ \ | | |/ | | | | | | | | | | | | | | | * PHP-7.2: NEWS NEWS Fix #77151 ftp_close(): SSL_read on shutdown
| | * Merge branch 'PHP-7.1' into PHP-7.2Remi Collet2018-11-201-6/+8
| | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.1: NEWS Fix #77151 ftp_close(): SSL_read on shutdown
| | | * Fix #77151 ftp_close(): SSL_read on shutdownRemi Collet2018-11-201-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression introduced in fix for #76972 only display the error message when sslerror or if errno is set (for SSL_ERROR_SYSCALL case)
| | | * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-155-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-143-4/+4
| | | |
| | | * Trim trailing whitespace in source code filesPeter Kokot2018-10-131-7/+7
| | | |
| | * | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-156-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-143-4/+4
| | | |
| | * | Trim trailing whitespace in source code filesPeter Kokot2018-10-132-9/+9
| | | |
| * | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-158-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-142-2/+2
| | | |
* | | | Ignore getaddrinfo failed messageMizunashi Mana2018-11-081-1/+1
| | | |
* | | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-158-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-142-2/+2
|/ / /
* | | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2018-10-051-6/+65
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-10-051-6/+65
| |\ \ | | |/
| | * Fix #76972: FTP data truncation due to forceful ssl socket shutdownManuel Mausz2018-10-051-6/+65
| | | | | | | | | | | | Do a correct bidirectional shutdown instead
* | | Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2018-09-041-16/+28
|\ \ \ | |/ /
| * | Merge branch 'PHP-7.1' into PHP-7.2Nikita Popov2018-09-041-17/+29
| |\ \ | | |/
| | * Fixed bug #73457Ville Hukkamaki2018-09-041-16/+28
| | | | | | | | | | | | Correctly report errors when opening FTP data connection.
* | | Remove unused Git attributes identPeter Kokot2018-07-256-12/+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 incorrrecr zval_dtor() usage to replace value of argument passed by ↵Dmitry Stogov2018-07-051-1/+1
| | | | | | | | | | | | reference, that may lead to memory leaks.
* | | Merge branch 'PHP-7.2'Nikita Popov2018-03-231-1/+1
|\ \ \ | |/ /
| * | Add missing skip prefix for some SKIPIF messagesatvoicu2018-03-231-1/+1
| | |
* | | Merge branch 'PHP-7.2'Christoph M. Becker2018-02-231-1/+1
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix some arginfos
| * | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-02-231-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix some arginfos
| | * Fix some arginfosGabriel Caruso2018-02-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * all arguments for ftp_pasv are required * $varname for getenv function isn't required anymore * fsockopen and pfsockopen only require $hostname * strtok can work with only one parameter * strpbrk needs two parameters to work * required parameters and add some parameters in openssl_* functions
| | * year++Xinchen Hui2018-01-024-4/+4
| | |
| * | year++Xinchen Hui2018-01-024-4/+4
| | |
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-202-2/+2
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Test more functions of ftpGabriel Caruso2018-02-1910-1/+205
| | |