php-src/ext/phar
Greg Beaver 6cdabede4c remove ext/zip dependency entirely, write better native zip support
re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file
refactor entry->fp, now this is abstracted with phar_get_efp() and phar_seek_efp(), fixes all weird dependency issues
permanently solve the "millions of file pointers" issue for read access.  All compressed files are read into a single
temporary stream, and their constraints are controlled by the entry->fp abstraction

Improvements in this zip implementation over ext/zip:
 * full read/write support for bzip2 compressed files
 * much more efficient access for accessing only a few files within large zip files, as crc/header validation is
   done just-in-time
 * full stream support for opendir/rename/rmdir/mkdir as well as all of the other stream funcs
 * full support for setting file perms via Phar::chmod(), stored as zip-standard extra field
 * no problem with large zips and many open file pointers

# TODO: add big-endian system support for tar/zip file format headers, otherwise the implementation is complete
# TODO: test on windows and fix any windows-specific issues
# TODO: verify zips created work with unzip/winzip/windows explorer and so on
2008-01-28 08:52:08 +00:00
..
phar - Improve make pharcmd 2007-11-23 16:44:04 +00:00
tests remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
build_precommand.php - Need to readd this but do it as a echo 2007-05-30 17:13:17 +00:00
config.m4 remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
config.w32 remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
CREDITS - I was missing here 2006-01-06 19:23:58 +00:00
dirstream.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
dirstream.h add interception of is_dir(), file_exists() and file_get_contents() - will make these optional shortly 2008-01-10 15:13:00 +00:00
func_interceptors.c - cleanup and make build with HEAD 2008-01-14 18:06:05 +00:00
func_interceptors.h add Phar::interceptFileFuncs() 2008-01-11 07:30:03 +00:00
gdbhelp fix tsrm build, fix various problems with initialization and zlib/bz2-compressed phars 2008-01-10 21:21:38 +00:00
LICENSE split out zip functions 2008-01-08 19:40:23 +00:00
Makefile.frag fix empty directories in phar, add test 2008-01-09 00:58:37 +00:00
makestub.php - Rewrite stub to take up slightly less space 2008-01-25 17:26:18 +00:00
package.php update package.xml 2008-01-19 18:39:49 +00:00
package.xml bump 1.3.0 to 2.0.0, this is a big feature addition release 2008-01-19 19:51:14 +00:00
phar_internal.h remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
phar_object.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
phar_path_check.c fix gcov build 2008-01-18 20:12:45 +00:00
phar_path_check.re fix empty directories in phar, add test 2008-01-09 00:58:37 +00:00
phar.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
phar.phar fix build on windows, fix segfault in tsrm by uninitialized pointer 2007-12-14 04:08:34 +00:00
pharzip.h remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
php_phar.h - Drop useless comment 2007-01-13 17:10:18 +00:00
php_stream_unlink.h split stream file handlers into stream.c and directory handlers into dirstream.c 2008-01-08 20:31:54 +00:00
shortarc.php - Added is_writable() check on temp directory 2008-01-26 00:12:00 +00:00
stream.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
stream.h remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
stub.h - Added is_writable() check on temp directory 2008-01-26 00:12:00 +00:00
tar.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
tar.h fix tar-based phars creation and loading 2008-01-03 18:13:27 +00:00
TODO s/1.3.0/2.0.0/ 2008-01-19 20:13:31 +00:00
util.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00
zip.c remove ext/zip dependency entirely, write better native zip support 2008-01-28 08:52:08 +00:00