History log of /PHP-8.4/ext/phar/phar.c (Results 251 – 275 of 279)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3a8b14f8 22-Jun-2008 Greg Beaver

fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing


# b964ec6e 21-Jun-2008 Steph Fox

- ws


# eb0a9893 21-Jun-2008 Greg Beaver

PHP 5.2 fixes to direct include of compressed archives


# fc08a7cc 20-Jun-2008 Steph Fox

The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physic

The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physically apply zend_hash_graceful_reverse_destroy()?
- This works on my box, please test under *nix/OSX

show more ...


# 7cc6b9f3 20-Jun-2008 Greg Beaver

making progress - up to 42/phar vs. 48/disk with these optimizations


# 52335050 20-Jun-2008 Greg Beaver

revert really bad solution to the zend_init_rsrc_list/zend_destroy_rsrc_list problem, replace with real solution


# aa694b8b 18-Jun-2008 Steph Fox

- Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cac

- Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cached manifest test (now) passes here regardless, make of that what you will

show more ...


# cbe23b9f 18-Jun-2008 Greg Beaver

fix windows build and more performance jumps (these are minor)
implement real copy-on-write
use virtual_dirs for wrapper stat


# d8d31bc5 16-Jun-2008 Greg Beaver

remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (perfor

remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it

show more ...


# c353e927 15-Jun-2008 Greg Beaver

minor performance improvement


# 41047860 15-Jun-2008 Greg Beaver

another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly


# d8ed660a 15-Jun-2008 Greg Beaver

minor optimization


Revision tags: BEFORE_NEW_PARAMETER_PARSE
# 04e257a8 15-Jun-2008 Greg Beaver

HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and usi

HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table. on-disk phpMyAdmin = 28 req/sec

show more ...


# 5ff4deaa 13-Jun-2008 Greg Beaver

full refactor of signatures complete - now to implement them for tar as a starting point


# d61f32d0 13-Jun-2008 Felipe Pena

- Fix build (ZTS)


# 9c8d13fd 13-Jun-2008 Greg Beaver

partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation


# 98f2dc2a 12-Jun-2008 Greg Beaver

[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup. This caches the manifest, so that on first access to a phar archive, no file manife

[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup. This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.

This could use further tweaking. For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest. This would be another significant gain. With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec). This is benching phpMyAdmin

show more ...


# eb77b80b 09-Jun-2008 Greg Beaver

fix compile warnings if openssl is enabled statically. fix dangerous use of wrong length var in openssl signature verification


# 5fbeb235 01-Jun-2008 Greg Beaver

add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.p

add openssl signing support. This adds an extra parameter
for the contents of the exported private key to Phar->setSignatureAlgorithm, and expects the public key to be in
a file named blah.phar.pubkey in the same directory as the phar blah.phar. This works with openssl static or
shared and fails gracefully if openssl is not present without adding a dependency. config.w32 needs updating to match config.m4 [DOC]

show more ...


# 83e491b2 30-May-2008 Greg Beaver

fix corrupted zips, fix postprocess for compressed zip file


# 8b600a72 30-May-2008 Greg Beaver

refactor function names for clarity. No functionality change


# 4cc79b39 29-May-2008 Greg Beaver

fix PECL bug #13981: Third-party zips fail entry interrogation


# 370aafc6 28-May-2008 Stanislav Malyshev

Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that

Fix code path in phar_open_compiled_file() that tries
to open not-yet-loaded phar and fails on compressed files
# By Gregory's request
# Sorry, can't find how to write test case for that - it reproduces
# for me only under bytecode-caching. Suggestions welcome.

show more ...


# 4b035dae 22-May-2008 Greg Beaver

major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
* fixed serious flaws in the setting/resetting of is_da

major fixes
* found felipe's segfault in util.c and fixed the segfault (3 tests fail due to odd behavior of . and .. on this machine)
* fixed serious flaws in the setting/resetting of is_data - now it works properly. Assume
all new PharData are tar-based, and allow passing Phar::ZIP to PharData constructor to override this
* fix broken earlier commit, introduced segfault that broke 20 tests here

show more ...


# 1f661c81 21-May-2008 Greg Beaver

fix offset detection in tar files


1...<<1112