| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |/ / |
|
| | |
| | |
| | |
| | | |
ZipArchive::registerCancelCallback methods
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
zip: more constants
|
| | | |
|
| | |
| | |
| | |
| | | |
ZipArchive::setMtimeIndex methods
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
- bump zip extension version to 1.15.6 - add ZipArchive::LIBZIP_VERSION - skip bug53885.phpt with libzip 1.6.0 (empty file is no more valid archive)
|
| | |
| | |
| | |
| | |
| | | |
- add ZipArchive::LIBZIP_VERSION
- skip bug53885.phpt with libzip 1.6.0 (empty file is no more valid archive)
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Add ZipArchive::CM_LZMA2 constant (since libzip 1.6.0)
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Remove unnecessary strncpy in zip
|
| | |
| | |
| | |
| | |
| | |
| | | |
This causes a warning on GCC 9 and is unnecessary to boot: We
only use "cwd" for the open_basedir check, so we can just as well
pass in the original string.
|
| | | |
|
| | |
| | |
| | |
| | | |
Except for some bigger ones: reflection, sodium, spl
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.4:
Fix #78641: addGlob can modify given remove_path value
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.3:
Fix #78641: addGlob can modify given remove_path value
|
| | |\
| | | |
| | | |
| | | |
| | | | |
* PHP-7.2:
Fix #78641: addGlob can modify given remove_path value
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`remove_path` points to the given string, so we must not modify it.
Instead we use a duplicate, if we need the modification.
We may want to switch to `zend_string`s in master.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Fix build for libzip < 0.11.2
|
| |\ \ \
| | |/ /
| | | |
| | | |
| | | | |
* PHP-7.3:
Fix build for libzip < 0.11.2
|
| | |\ \
| | | |/
| | | |
| | | |
| | | | |
* PHP-7.2:
Fix build for libzip < 0.11.2
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We must not define method entries, if the actual method definitions or
the arginfo structures are not defined.
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-4732.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
* PHP-7.4:
zip edxtension is now 1.15.5
fix type consistency after 8f897f1040f00210f4a5cdd82a88a1fe3e558955
|
| | | |
| | | |
| | | |
| | | | |
8f897f1040f00210f4a5cdd82a88a1fe3e558955
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Replace deprecated libzip functions
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We replace all deprecated libzip functions with their recommended
substitutes, and add proper comment length checks including a test
case.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Remove dead code
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Closes GH-4255.
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For two reasons: First, it's generally cheaper to match a regex than
perform a stat (especially on Windows). Second, it will not fail on
concurrent modification of a directory in parts that are not matched
by the pattern, such as the spurious failure in ext/zip/tests/bug72660.phpt.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
|
| | | |
| | | |
| | | |
| | | | |
by reference
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
by reference
|
| |/ / /
| | | |
| | | |
| | | | |
functions.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Remove HAVE_* for always available extensions
|
| | | | |
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* PHP-7.4:
Remove unused variables
|
| | | | |
|
|/ / /
| | |
| | |
| | | |
insted of zval(s).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|