#
8cd58822 |
| 11-Feb-2008 |
Greg Beaver |
fix TSRM and 5.2 build |
#
de5238a3 |
| 11-Feb-2008 |
Greg Beaver |
minor refactoring to remove 1 call to zend_get_executed_filename() |
#
78e8eb39 |
| 11-Feb-2008 |
Greg Beaver |
major refactoring of internal handling of aliases. 1) rename is_explicit_alias to is_temporary_alias for clarity and flip the value 2) fix setAlias so that it sets a permanent to-be-saved ali
major refactoring of internal handling of aliases. 1) rename is_explicit_alias to is_temporary_alias for clarity and flip the value 2) fix setAlias so that it sets a permanent to-be-saved alias, and restores the old one on error 3) fix Phar constructor to work with sub-directories in RecursiveDirectoryIterator
show more ...
|
#
3874e12e |
| 11-Feb-2008 |
Greg Beaver |
fix 5.2 build |
#
6d9453aa |
| 08-Feb-2008 |
Antony Dovgal |
add ifdefs and fix folding |
#
271e0394 |
| 08-Feb-2008 |
Antony Dovgal |
fix 5_3 build |
#
c31f04b5 |
| 08-Feb-2008 |
Greg Beaver |
SEPARATE_ZVAL does not work for this situation. We always want to duplicate and copy, so do it manually and reset refcount to 1 |
#
a3c91073 |
| 08-Feb-2008 |
Greg Beaver |
fix flipped logic |
#
43f26386 |
| 08-Feb-2008 |
Greg Beaver |
better fix for invalid mem access |
#
7575b012 |
| 08-Feb-2008 |
Greg Beaver |
fix invalid read/write if strstr() returns NULL |
#
e67c5843 |
| 07-Feb-2008 |
Greg Beaver |
[DOC] refactor the $rewrites parameter in Phar::webPhar. Now it is a callback that accepts the path requested. This callback should return the actual filename requested as a string, or
[DOC] refactor the $rewrites parameter in Phar::webPhar. Now it is a callback that accepts the path requested. This callback should return the actual filename requested as a string, or false to deny access as HTTP 403. Also fix incorrect munging of SCRIPT_NAME variable in mungServer More importantly, Phar::webPhar now finds the filename hidden in: http://localhost/myphar.phar/internal/file.php/extra/stuff as 'internal/file.php' in phar 'myphar.phar' with REQUEST_URI '/internal/file.php/extra/stuff' this will allow pharring up apps that use REQUEST_URI for front controller stuff.
show more ...
|
#
1cac0aa8 |
| 07-Feb-2008 |
Greg Beaver |
fix webPhar() in CGI sapi, update tests to reflect reality of how these ENV vars are passed |
#
2b9a4279 |
| 02-Feb-2008 |
Greg Beaver |
fix logic of path redirection. always prepend index_php with "/" if it doesn't have it, and then if path_info ends with "/" just use entry + 1 |
#
47320359 |
| 01-Feb-2008 |
Greg Beaver |
remove unused variable, eliminate an invalid read reported by valgrind |
#
addf32d7 |
| 01-Feb-2008 |
Antony Dovgal |
we don't want to modify the pointer contents, we just want to change the pointer itself |
#
7d3758fa |
| 30-Jan-2008 |
Marcus Boerger |
- SPL has been changed |
#
33dc86c4 |
| 30-Jan-2008 |
Marcus Boerger |
- Fixed glob:// stream handling in (Recursive)DirectoryIterator. |
#
f4e4ad0c |
| 28-Jan-2008 |
Greg Beaver |
fix PharFileInfo->setAlias (was wildly broken) fix directory creation in zip archives update zip tests to use phar to create the zip, and then copy to a new file |
#
9fd5c0b4 |
| 28-Jan-2008 |
Steph Fox |
- Moved phar_unixify_path_separators() to a single central point - The last two VC 6 compiler warnings gone. Please test under *nix. |
#
6cdabede |
| 28-Jan-2008 |
Greg Beaver |
remove ext/zip dependency entirely, write better native zip support re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file refactor entry->fp, now thi
remove ext/zip dependency entirely, write better native zip support re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file refactor entry->fp, now this is abstracted with phar_get_efp() and phar_seek_efp(), fixes all weird dependency issues permanently solve the "millions of file pointers" issue for read access. All compressed files are read into a single temporary stream, and their constraints are controlled by the entry->fp abstraction Improvements in this zip implementation over ext/zip: * full read/write support for bzip2 compressed files * much more efficient access for accessing only a few files within large zip files, as crc/header validation is done just-in-time * full stream support for opendir/rename/rmdir/mkdir as well as all of the other stream funcs * full support for setting file perms via Phar::chmod(), stored as zip-standard extra field * no problem with large zips and many open file pointers # TODO: add big-endian system support for tar/zip file format headers, otherwise the implementation is complete # TODO: test on windows and fix any windows-specific issues # TODO: verify zips created work with unzip/winzip/windows explorer and so on
show more ...
|
#
69afbc10 |
| 25-Jan-2008 |
Steph Fox |
"What helly said" |
#
61c3a608 |
| 25-Jan-2008 |
Steph Fox |
Make all possible build combinations work under doze (external zip library) |
#
b2412c45 |
| 21-Jan-2008 |
Greg Beaver |
fix problems found while documenting. Throw consistent exceptions, chmod is not allowed on temporary directories, but is allowed on regular ones allow uncompressAllFiles() to decompress a gz
fix problems found while documenting. Throw consistent exceptions, chmod is not allowed on temporary directories, but is allowed on regular ones allow uncompressAllFiles() to decompress a gzip/bzipped tar archive fix some protos
show more ...
|
#
117f5e26 |
| 20-Jan-2008 |
Greg Beaver |
add web-based support for default stub, now phars written with webPhar() will work out of the box regardless of server configuration with phar file format split up stub.h strings into 2046 by
add web-based support for default stub, now phars written with webPhar() will work out of the box regardless of server configuration with phar file format split up stub.h strings into 2046 byte chunks because MS VC 6 is friggin stupid
show more ...
|
#
d583fae0 |
| 19-Jan-2008 |
Greg Beaver |
add Phar::createDefaultStub(), which can take as an argument the filename that should be loaded as a "bootstrap" for the phar archive |