Peter Kokot
92ac598aab
Remove local variables
...
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.
2019-02-03 21:03:00 +01:00
Zeev Suraski
0cf7de1c70
Remove yearly range from copyright notice
2019-01-30 11:03:12 +02:00
Remi Collet
726a77cfdd
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
bump zip extension version
2018-10-03 12:59:31 +02:00
Remi Collet
da05b7e81e
bump zip extension version
2018-10-03 12:59:01 +02:00
Remi Collet
25188727b1
Merge branch 'PHP-7.2'
...
* PHP-7.2:
NEWS
Add OPSYS_CPM constant as documented and to match libzip naming
2018-06-12 09:36:14 +02:00
Remi Collet
075e685439
Add OPSYS_CPM constant as documented and to match libzip naming
2018-06-12 09:31:41 +02:00
Xinchen Hui
a6519d0514
year++
2018-01-02 12:57:58 +08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Remi Collet
50e8ee128f
Merge branch 'PHP-7.2'
...
* PHP-7.2:
NEWS
display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
2017-12-19 14:48:21 +01:00
Remi Collet
c21ec44b21
display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
2017-12-19 14:46:32 +01:00
Dmitry Stogov
0f06df310c
Turn "php_stream_wrapper"s into constants
...
Keep non-constant "php_stream_wrapper"s in API functions and callbacks for compatibility.
2017-12-14 22:46:22 +03:00
Remi Collet
2458dce3e5
Fix segfault in php_stream_context_get_option call
2017-07-11 11:41:47 +02:00
Remi Collet
569d164c4a
ZipArchive implements countable, added ZipArchive::count() method
2017-07-10 11:31:55 +02:00
Remi Collet
67136fe77b
zip ext is 1.14.0
2017-04-05 07:39:39 +02:00
Remi Collet
402eeb8598
Zip: add support for encrypted archive
2017-03-02 13:36:40 +01:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Remi Collet
20b1029e4c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
bump ext/zip version
2016-10-14 17:31:26 +02:00
Remi Collet
f1cf340e19
bump ext/zip version
2016-10-14 17:31:07 +02:00
Remi Collet
a2a122804e
bump zip extension version
2016-07-21 08:44:26 +02:00
Remi Collet
7ac330d63a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
bump zip extension version
2016-07-21 08:43:49 +02:00
Remi Collet
61ce933d38
bump zip extension version
2016-07-21 08:42:53 +02:00
Remi Collet
8726de48c8
Merge branch 'PHP-7.0'
...
* PHP-7.0:
bump zip version
2016-06-21 11:17:08 +02:00
Remi Collet
69fd1133d0
bump zip version
2016-06-21 11:16:21 +02:00
Remi Collet
29cc010829
Merge branch 'PHP-7.0'
...
* PHP-7.0:
update bundled libzip to 1.1.2
2016-02-22 18:18:43 +01:00
Remi Collet
0d57c06b2c
update bundled libzip to 1.1.2
2016-02-22 18:18:30 +01:00
Remi Collet
54380cd56a
Merge branch 'PHP-7.0'
...
* PHP-7.0:
cleanup $Id
2016-02-22 09:26:48 +01:00
Remi Collet
e8385a60b3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
cleanup $Id
2016-02-22 09:26:14 +01:00
Remi Collet
d20f1d8f1f
cleanup $Id
2016-02-22 09:26:00 +01:00
Nikita Popov
93dc91b386
Remove version checks
...
PHP_VERSION_ID
PHP_API_VERSION
ZEND_MODULE_API_NO
PHP_MAJOR_VERSION, PHP_MINOR_VERSION
ZEND_ENGINE_2
I've left litespeed alone, as it seems to genuinely maintain support
for many PHP versions.
2016-01-30 15:35:28 +01:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Remi Collet
db99b877f0
ext/zip version is now 1.13.0
2015-09-07 14:04:20 +02:00
Remi Collet
f122cc257c
set ext/zip version to 1.13 (as we have new methods... semver...)
2015-05-07 10:41:48 +02:00
Remi Collet
3a55ea02aa
add ZipArchive::setCompressionName and ZipArchive::setCompressionIndex methods
2015-05-06 15:16:43 +02:00
Remi Collet
c48bf6e55c
Merge branch 'PHP-5.6'
...
* PHP-5.6:
bump zip release to match pecl version
2015-04-15 17:38:01 +02:00
Remi Collet
60b3526bfb
bump zip release to match pecl version
2015-04-15 17:37:12 +02:00
Dmitry Stogov
2fa8d67a5c
Use zend_string* instead of char* for opened_patch handling. Avoid reallocations and improve string reuse.
2015-03-04 02:05:28 +03:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
2c66a8c53e
better align reduce the struct size by 8 byte on 64 bit
2014-09-13 23:21:51 +02:00
Anatol Belski
6f9f0bf205
master renames phase 2
2014-08-25 19:28:33 +02:00
Xinchen Hui
bea30846bb
Refactor Zip (1 test failed)
2014-05-05 10:49:27 +08:00
Remi Collet
f06f4c9254
zip extension version 1.12.4
2014-01-29 14:00:50 +01:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Remi Collet
0a950a0500
Sync with pecl/zip 1.12.4dev
...
- update bunled libzip to 0.11.2
- expose zip_file_set_external_attributes + zip_file_get_external_attributes
with new methods:
ZipArchive::setExternalAttributesName
ZipArchive::setExternalAttributesIndex
ZipArchive::getExternalAttributesName
ZipArchive::getExternalAttributesIndex
2013-12-30 07:35:30 +01:00
Remi Collet
5dc37b3510
Sync ext/zip with pecl/zip version 1.3.2
...
- update libzip to version 1.11.1. We don't use any private symbol anymore
- new method ZipArchive::setPassword($password)
- add --with-libzip option to build with system libzip
2013-11-04 13:23:36 +01:00
Andrey Hristov
92d27ccb05
Constify streams API and a few other calls down the rabbit hole.
...
(`char *` to `const char *` for parameters and few return values)
In a few places int len moved to size_t len.
2013-07-30 12:49:36 +02:00