History log of /php-src/ext/phar/phar_internal.h (Results 126 – 150 of 249)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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 ...

# ca6d36ef 30-May-2008 Greg Beaver

MFB: refactor function names for clarity. No functionality change

# 8b600a72 30-May-2008 Greg Beaver

refactor function names for clarity. No functionality change

# bdca5a12 24-May-2008 Steph Fox

- MFB fix offset detection in tar files

# 1f661c81 21-May-2008 Greg Beaver

fix offset detection in tar files

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

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

# 144e4729 15-May-2008 Greg Beaver

MFB: plug security hole of unfettered creation access to .phar magic directory

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

# c1ae13b9 14-May-2008 Steph Fox

- Make internal code back-compatible. This included a binary cast in the default stub, hence many test updates.
- Just over a third of tests pass. Test manifests are broken currently.

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

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

Revision tags: RELEASE_2_0_0b1
# f134a909 07-May-2008 Greg Beaver

optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files

# 549bf83b 07-May-2008 Greg Beaver

[DOC]
remove phar.extract_list
remove Phar::getExtractList()

# 5ba8ca70 06-May-2008 Greg Beaver

fix alias overloading handling for archives that are not in use

Revision tags: php-5.2.6
# ab1d8adb 23-Apr-2008 Greg Beaver

fix default format conversion, increase code coverage

# 3d858f4a 21-Apr-2008 Greg Beaver

implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid confl

implement symbolic link support within a tar-based phar archive
this also resulted in a major fix for mounted directories, which were recycling the 'link' field which
could cause stupid conflicts with actual links, so move that to new 'tmp' field.

show more ...

# 027180d6 20-Apr-2008 Greg Beaver

new test for bad checksum, fix tar.c to catch tar archives with a corrupted first entry, fix memleak on bad checksum

# c4f502fa 18-Apr-2008 Greg Beaver

COMPLETELY rework filename extension detection. Now the only requirements are:
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and

COMPLETELY rework filename extension detection. Now the only requirements are:
1 - executable phars must contain '.phar' in the filename
2 - non-executable phars must not contain '.phar' and must have an extension of at least 1 character

In addition, phar filenames must exist if opened for read, and the directory containing the phar must exist if opened for creation
if opened for creation, the file must not already exist
[DOC]

show more ...

Revision tags: RELEASE_1_0_2
# dc837b5f 16-Apr-2008 Greg Beaver

rename is_zip parameter of phar_parse_metadata to more accurately reflect what it is

# 859bd13d 15-Apr-2008 Greg Beaver

add interception for readfile [DOC]

# b8865a63 14-Apr-2008 Greg Beaver

another attempt at fixing mac OS X compile, remove unused obsolete code

12345678910