History log of /PHP-7.4/ext/phar/phar_internal.h (Results 76 – 99 of 99)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.4.9
# 4e5280a7 01-Aug-2008 Steph Fox

- ws/cs, macros, code that only affects other branches
- some unsynced changes need valgrind testing before they can go into this branch, see PECL/HEAD


Revision tags: php-5.3.0alpha1, php-4.4.9RC1
# c48c63f5 22-Jul-2008 Dmitry Stogov

Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)


# 68537af5 20-Jul-2008 Dmitry Stogov

Fixed directory reanming/deletion


# 53bbf123 10-Jul-2008 Dmitry Stogov

Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are over

Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting.

show more ...


# 22fb73c7 21-Jun-2008 Steph Fox

- Fix macro definition syntax
- Remove pre-existing workaround


# 4b77c2ba 21-Jun-2008 Greg Beaver

define ALLOC_PERMANENT_ZVAL for PHP 5.2


# 7cc6b9f3 20-Jun-2008 Greg Beaver

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


# e5e9be2d 18-Jun-2008 Pierre Joye

- really fix the windows builds, don't cast many times when only the hash function requires void **
- copy/paste evilness with TSRM_CC/DC
(tests still pass but would be nice to speed them up.

- really fix the windows builds, don't cast many times when only the hash function requires void **
- copy/paste evilness with TSRM_CC/DC
(tests still pass but would be nice to speed them up...)

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


# 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 ...


# 4f9daeed 13-Jun-2008 Greg Beaver

[DOC] implement full signature support for tar-based archives. By default, data archives do
not have a signature, but can have one set via setSignatureAlgorithm()


# 5ff4deaa 13-Jun-2008 Greg Beaver

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


# 09e1f024 13-Jun-2008 Greg Beaver

PHP_5_2 compat - add pestrndup if undefined


# 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 ...


# 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 ...


# 8b600a72 30-May-2008 Greg Beaver

refactor function names for clarity. No functionality change


# 1f661c81 21-May-2008 Greg Beaver

fix offset detection in tar files


# 4aa4f1fa 17-May-2008 Greg Beaver

enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for exist

enable by default statically instead of shared
this is done by removing zlib/bz2 explicit dependencies because they are unnecessary
we only ever use the stream filter, and the check for existence has
been moved to runtime where it is after startup

show more ...


# de5aaaa7 15-May-2008 Greg Beaver

fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple renam

fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1. Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output

show more ...


# 6a0682d9 14-May-2008 Steph Fox

- MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.


Revision tags: RELEASE_1_2_5
# 16b4d8e0 12-May-2008 SVN Migration

This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.


1234