History log of /php-src/ext/phar/phar_internal.h (Results 201 – 225 of 249)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# e861913e 24-Dec-2007 Greg Beaver

fix windows build

# there HAS to be a better way to do this...

# 02c7ff13 23-Dec-2007 Greg Beaver

complete re-factoring of front controller. Now it is done with
Phar->webPhar():
<?php
Phar::webPhar();
__HALT_COMPILER();

With the above stub, the default front controller w

complete re-factoring of front controller. Now it is done with
Phar->webPhar():
<?php
Phar::webPhar();
__HALT_COMPILER();

With the above stub, the default front controller will kick in. An array of mime type overrides, and another
array mapping phar file entry -> redirected entry can be used to further customize
[DOC]

show more ...

# 8e4cc4b3 22-Dec-2007 Greg Beaver

first attempt at major new feature: default front controller for web
Currently, an entire phar entry is leaked for no obvious reason, otherwise it works. Sample code:
The phar has to be crea

first attempt at major new feature: default front controller for web
Currently, an entire phar entry is leaked for no obvious reason, otherwise it works. Sample code:
The phar has to be created using Phar->useFrontController(); and the stub performs actual resolution of which file to load:
<?php
Phar::mapPhar();
include 'phar://' . __FILE__ . '/' . substr($_SERVER['REQUEST_URI'], strlen(basename(__FILE__)));
__HALT_COMPILER();
?>

Phar automatically determines mime type from the file extension and either parses or displays the file. Modification of REQUEST_URI
and other variables should happen in the stub
[DOC]

show more ...

# 185a4a83 21-Dec-2007 Greg Beaver

on second thought, hooking into getcwd() is a bad idea, who uses this for code loading, anyways?

# 0d830a27 20-Dec-2007 Greg Beaver

implement cleaning of crap paths - major functionality boost

Revision tags: php-4.4.8RC1
# d4eccb44 19-Dec-2007 Greg Beaver

holy cow - include/fopen/cwd magic fully working on unix now for windows testing

# 0c51d581 18-Dec-2007 Greg Beaver

[unfinished] magically handle getcwd() and fopen() with include_path inside phar
this work is incomplete, but compiles and existing tests pass

# 8a614e30 11-Dec-2007 Greg Beaver

use thread-safe global var to store zend_compile_file, and restore the current zend_compile_file, not the one we
found in MINIT

# 4bcb68a4 25-Nov-2007 Greg Beaver

fix errors found in delMetaData(), add get/delMetaData() to MetaData read test

# e34be4f8 24-Nov-2007 Greg Beaver

preliminary work on using gnupg to verify/create signatures - no implementation, just phpinfo() output and build rules

Revision tags: RELEASE_1_2_3, php-5.2.5, php-5.2.5RC2, php-5.2.5RC1, BEFORE_IMPORT_OF_MYSQLND_IN_5_3, RELEASE_1_2_2
# eb67969b 04-Oct-2007 Greg Beaver

fix Bug #12124: Phar object cannot be iterated over
remove unused variables
fix jit file open sprintf calls

Revision tags: RELEASE_1_2_4, RELEASE_1_2_1
# 33347b19 30-Aug-2007 Greg Beaver

when opening an internal file read-only, recycle the phar archive's fp. This makes phar twice as fast (2.21x according to callgrind)

Revision tags: php-5.2.4
# 543ad01e 25-Aug-2007 Greg Beaver

move to 1.3.0 development
add Phar::delete()

Revision tags: RELEASE_1_5, php-5.2.4RC3
# 5d891993 17-Aug-2007 Greg Beaver

fix issue with large number of open file handles killing php with large phars on creation
- close file handles that have no references for entries
- add just-in-time re-processing of file han

fix issue with large number of open file handles killing php with large phars on creation
- close file handles that have no references for entries
- add just-in-time re-processing of file handles
- make sure file size is set in renaming
- add old_flags to phar_entry_info so we can decompress when flushing a modified entry whose fp is closed

show more ...

Revision tags: php-5.2.4RC2, php-5.2.4RC1, BEFORE_REAL_IMPORT_OF_MYSQLND, BEFORE_IMPORT_OF_MYSQLND, php-5.2.3, RELEASE_1_4, php-5.2.3RC1
# 27ca5af5 18-May-2007 Marcus Boerger

- Increment extension version

Revision tags: RELEASE_1_2_0
# 5e3af23d 16-May-2007 Marcus Boerger

- Reduce overhead of Phar's RINIT

# 4dfa232b 15-May-2007 Marcus Boerger

- Add forward declaration

# 44069189 14-May-2007 Marcus Boerger

- Optimize flushing, don't generate metadata twice

# c7d70d0f 09-May-2007 Marcus Boerger

- This is version 1.2.0 now due to fix of Phar::canWrite()

Revision tags: php-4.4.7, php-5.2.2, php-5.2.2RC2, RELEASE_1_1_0
# 3ec87dc3 12-Apr-2007 Marcus Boerger

- Prepare release 1.1.0

Revision tags: php-4.4.7RC1, php-5.2.2RC1, RELEASE_1_0_1
# ab15beeb 27-Mar-2007 Marcus Boerger

- Compatibility with suhosin

# e97b1aef 26-Mar-2007 Greg Beaver

fix memleak in external dirs
update package.xml
move API to 1.1.0
update package version to 1.1.0RC1
update API test

# a92eeb61 26-Mar-2007 Greg Beaver

[DOC]
implement setSignatureAlgorithm() and add class constants Phar::MD5, Phar::SHA1, Phar::SHA256, Phar::SHA512, Phar::PGP

# c42a870b 25-Mar-2007 Marcus Boerger

- Add general SHA-2 support by optional pecl/hash dependency
# We actually need support to select the signature type somehow

# b983973a 25-Mar-2007 Marcus Boerger

- Add ini: phar.extract_list
- Add Phar::getExtractList
- Both allow to set a mapping <phar-file> to <extract-dir>
[[DOC]]

12345678910