Nikita Popov
6b1e449ef4
Merge branch 'PHP-7.4'
2020-06-18 17:14:03 +02:00
Remi Collet
f3e6b123dc
check for broken libzip versions
...
Closes GH-5738.
2020-06-18 17:13:01 +02:00
Remi Collet
2dc8d39bae
- add ZipArchive::EM_UNKNOWN constant - add ZipArchive::EM_TRAD_PKWARE constant - cleanup hack for libzip 1.3.1 (have only exist for a few days) - add ZipArchive::isCompressionMethodSupported() method (libzip 1.7.0) - add ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0) - bump version to 1.19.0-dev
2020-04-02 14:52:05 +02:00
Remi Collet
3af1cee884
add ZipArchive::registerProgressCallback and ZipArchive::registerCancelCallback methods
2020-01-31 09:06:42 +01:00
Remi Collet
d91abf76e0
zip: fix lib check
2020-01-28 11:32:42 +01:00
Remi Collet
ac9a265f01
- bump zip extension version to 1.16.0 - add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods
2020-01-28 10:53:49 +01:00
Peter Kokot
15782b27b8
Remove HAVE_LIBZIP
...
The libzip library is now always used from the system.
Closes GH-4450
2019-07-21 11:32:13 +02:00
Hugh McMaster
c9830f1c2c
ext/zip: Replace $LIBZIP_LIBDIR with $LIBZIP_LIBS
...
Closes GH-4220.
2019-06-04 15:31:35 +02:00
Hugh McMaster
f349d790b4
ext/zip: Remove un-needed symbol check for zip_open
...
Closes GH-4189.
2019-06-03 09:20:31 +02:00
Hugh McMaster
310f96fd13
ext/zip: Add PHP_EVAL_LIBLINE to replace PHP_ADD_LIBRARY_WITH_PATH
2019-06-03 09:20:12 +02:00
Nikita Popov
adec208bdb
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-27 17:44:11 +02:00
Nikita Popov
0cb43ec51c
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-27 17:43:13 +02:00
Michael Maroszek
a0c9d0849a
Fixed bug #76345
2019-05-27 17:42:20 +02:00
Peter Kokot
75fb74860d
Normalize comments in *nix build system m4 files
...
Normalization include:
- Use dnl for everything that can be ommitted when configure is built in
favor of the shell comment character # which is visible in the output.
- Line length normalized to 80 columns
- Dots for most of the one line sentences
- Macro definitions include similar pattern header comments now
2019-05-12 18:43:03 +02:00
Hugh McMaster
a7b5b341b3
Use PKG_CHECK_MODULES to detect the zip library
2019-04-29 14:16:16 +02:00
Hugh McMaster
c9ee822bb6
Always use pkg-config from the host architecture
2019-04-29 14:16:16 +02:00
hassan
173e126a77
Add meaningful error message for ext/zip
2019-03-11 00:15:29 +01:00
Peter Kokot
9df6a1e4dd
Add AS_HELP_STRING to *nix build configure options
...
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
2019-03-07 20:36:59 +01:00
Remi Collet
c099be4b5a
drop support for bundled libzip (linux)
2018-09-18 12:13:43 +02:00
Peter Kokot
0eabd5231b
Remove unused Git ident attributes from zip extension
...
$Id attributes were used with SVN. With Git most of the Git ident
attributes in source code files are not used anymore.
2018-07-27 15:49:34 +02: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
Remi Collet
8857161bf2
Use system libzip by default
...
Use --without-libzip in travis, as libzip version available there
is too old (0.10, while 0.11 is required, 1.3.0 is best)
The real plan is to really drop bundled libzip... delayed.
Notice: only system library have full features:
* encryption
* bzip support
2017-09-11 09:23:01 +02:00
Remi Collet
9ecafd9788
Revert "drop support for bundled libzip (linux)"
...
This reverts commit 7104203328
.
2017-09-07 15:17:28 +02:00
Remi Collet
7104203328
drop support for bundled libzip (linux)
2017-09-07 14:28:05 +02:00
Remi Collet
5bbd459609
improve warn (bzip2 requires libzip >= 1.3.0)
2017-09-04 14:47:03 +02:00
Remi Collet
75cda24b82
cleanup
...
ssite_t is used in lot of places, without need for this.
If really needed, should be in global location, not in an extension
2017-06-09 09:22:05 +02:00
Remi Collet
b54e0dc321
clean
2017-05-31 09:57:34 +02:00
Remi Collet
77cca632da
Use of bundled libzip is deprecated
2017-05-31 09:56:01 +02:00
Remi Collet
402eeb8598
Zip: add support for encrypted archive
2017-03-02 13:36:40 +01:00
Christoph M. Becker
356b586ec1
Merge branch 'PHP-5.6' into PHP-7.0
2016-08-17 12:47:06 +02:00
Christoph M. Becker
48198e4c25
Fix #68302 : impossible to compile php with zip support
...
We should not let configure succeed, if SIZEOF_OFF_T == 0, just to let the
compilation fail later. Instead we bail out early, giving a hint regarding
the potential issue, namely misconfigured libraries.
2016-08-17 12:43:29 +02:00
Remi Collet
0d57c06b2c
update bundled libzip to 1.1.2
2016-02-22 18:18:30 +01:00
Remi Collet
9e0cc7a1d9
update libzip to version 1.0.1
2015-05-06 15:16:43 +02: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
Christopher Jones
794df91c35
Align 'configure --help' columns
2013-12-20 10:02:46 -08: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
Christopher Jones
c6d977dd39
Fix long-standing visual pain point: the misalignment of './configure help' text.
...
Whitespace changes and a couple of grammar fixes.
2013-08-06 11:06:09 -07:00
Anatoliy Belsky
335a11b14b
initial libzip upgrade patch to 0.10.1
2012-06-07 21:01:31 +02:00
Pierre Joye
70596f7474
- add missing files for 0.9
2008-08-08 09:47:15 +00:00
Jani Taskinen
d23342397c
No dots
2008-07-14 09:03:48 +00:00
Jani Taskinen
1e2b2bbeae
- Some config*.m4 file cleanups: NO tabs in these!
2008-07-14 09:02:26 +00:00
Pierre Joye
9ffc103c5a
- not exported
2008-05-30 19:46:56 +00:00
Pierre Joye
b734bf4b97
- sync with PECL HEAD
2008-05-21 09:27:41 +00:00
Greg Beaver
5f8d225834
MFPECL: install headers
2008-01-18 00:30:10 +00:00
foobar
7ed3c4536d
MFH: Fix some configure --help texts
2007-07-03 17:25:43 +00:00
Pierre Joye
5a6f0e3059
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
...
iscariote at gmail dot com)
2006-12-26 09:52:05 +00:00
Pierre Joye
8ad0c6d543
- MFH:
...
- fix possible leak in statName and statIndex
- add addEmptyDir() method
- add zip_stat_init,zip_clear_error and zip_file_clear_error
- add tests
- Fix protos (Hannes)
- setComment return value on success (Hannes)
2006-11-03 16:46:19 +00:00
SVN Migration
664d102aa6
This commit was manufactured by cvs2svn to create branch 'PHP_5_2'.
2006-07-24 16:58:59 +00:00
Sterling Hughes
2d64d3aff5
pecl
2003-05-17 14:37:28 +00:00