#
ab4c2caf |
| 10-Jan-2008 |
Greg Beaver |
add interception of is_dir(), file_exists() and file_get_contents() - will make these optional shortly |
#
f6b16061 |
| 09-Jan-2008 |
Greg Beaver |
implement whole-file compression of phars for phar/tar-based phars still not 100% working, add failing test add Phar::isCompressed(), which returns either 0, Phar::GZ, or Phar::BZ2 [DOC] |
#
abde85c4 |
| 09-Jan-2008 |
Greg Beaver |
add rmdir() support, add rmdir to dir test fix *extremely* ancient problem where phar_wrapper_stat always returned success indicating the file existed rename phar_destroy_manifest to phar_des
add rmdir() support, add rmdir to dir test fix *extremely* ancient problem where phar_wrapper_stat always returned success indicating the file existed rename phar_destroy_manifest to phar_destroy_manifest_entry
show more ...
|
#
9f5b3a22 |
| 09-Jan-2008 |
Greg Beaver |
fix empty directories in phar, add test |
#
1a362449 |
| 08-Jan-2008 |
Greg Beaver |
implement mkdir (compiles, not yet tested), support for empty directories in phar (not yet tested) revert last commit of efree(), it's necessary. |
#
4bce4841 |
| 08-Jan-2008 |
Greg Beaver |
split stream file handlers into stream.c and directory handlers into dirstream.c |
#
63adb98f |
| 08-Jan-2008 |
Greg Beaver |
split out zip functions |
#
e8a5b205 |
| 04-Jan-2008 |
Greg Beaver |
replace crappy $_SERVER munging with explicit munging via Phar::mungServer(). This static method takes an array with one of these 4 indices (case-sensitive): 'PHP_SELF', 'SCRIPT_NAME', 'SCRI
replace crappy $_SERVER munging with explicit munging via Phar::mungServer(). This static method takes an array with one of these 4 indices (case-sensitive): 'PHP_SELF', 'SCRIPT_NAME', 'SCRIPT_FILENAME', 'REQUEST_URI' and removes any reference to the actual path on the server. This allows older apps to function unmodified inside a phar. the variables are re-registered as PHAR_PHP_SELF and company to allow access from clever script files [DOC]
show more ...
|
Revision tags: php-4.4.8 |
|
#
8ee4266b |
| 03-Jan-2008 |
Greg Beaver |
initial tar support - a few kinks to work on in phar creation, but read works |
#
652d39c3 |
| 31-Dec-2007 |
Greg Beaver |
add zip-based phar support. not quite working is webPhar(), not sure why yet |
#
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 |