#
c0d82e96 |
| 11-Apr-2008 |
Greg Beaver |
refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData into 2 methods: convertToExecutable/convertToData. Both methods accept 3 optional parameters 1
refactor compress/convertToTar/convertToPhar/convertToZip/convertToExecutable/convertToData into 2 methods: convertToExecutable/convertToData. Both methods accept 3 optional parameters 1 archive type, Phar::PHAR, Phar::TAR, or Phar::ZIP 2 compression Phar::NONE, Phar::GZ, or Phar::BZ2 3 file extension. Default is <format>.<compression> where .phar.tar is executable .tar convertToExecutable always returns a Phar object convertToData always returns a PharData object also added Phar::PHAR, Phar::TAR, and Phar::ZIP class constants [DOC]
show more ...
|
Revision tags: php-5.2.6RC5, php-5.2.6RC4, php-5.2.6RC3, RELEASE_2_0_0a2, RELEASE_2_0_0a1 |
|
#
b4b890cb |
| 24-Mar-2008 |
Greg Beaver |
check for invalid aliases, add tests for this and direct setting of stub/alias |
#
95eeee91 |
| 23-Mar-2008 |
Greg Beaver |
not all tests have been converted over to the new API, but it works conversion is now split into 3 separate methods 1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusivel
not all tests have been converted over to the new API, but it works conversion is now split into 3 separate methods 1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format 2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE 3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it all methods return either Phar or PharData objects, allowing fluent interface. only 1 test has been converted to the new format, but the API works
show more ...
|
#
6cef8da2 |
| 22-Mar-2008 |
Greg Beaver |
move all blah++ to ++blah where possible for those with crapass compilers |
#
1feb9b58 |
| 22-Mar-2008 |
Steph Fox |
Satisfy Greg's inertia |
#
c0619c65 |
| 22-Mar-2008 |
Steph Fox |
Make versioning more standard |
#
e08556eb |
| 22-Mar-2008 |
Marcus Boerger |
- Constify |
#
d02dff13 |
| 20-Mar-2008 |
Greg Beaver |
save work - sandbox is completely f**ed up, have to rm -rf and start again This *SHOULD* fix issues, but I can't get run-tests to work reliably to be absolutely sure |
#
0262e844 |
| 12-Mar-2008 |
Greg Beaver |
implement full support and usage of phar stream in include_path, for both 5.2 and 5.3. 5.3 code expects the proposed patch for stream wrapper in include_path to be committed 5.2 code only sup
implement full support and usage of phar stream in include_path, for both 5.2 and 5.3. 5.3 code expects the proposed patch for stream wrapper in include_path to be committed 5.2 code only supports phar stream wrapper in include_path. this is a 2-step process. After this, more magic, particularly in funcinterceptors.c will be converted to use phar_resolve_path, which is far safer than the current implementation. this needs windows and 5.2 testing unix/windows
show more ...
|
#
3ee08069 |
| 09-Mar-2008 |
Steph Fox |
Rename archive during compressAllFiles*() Note: this only works for tar archives at present pending a fix for bug #13352 |
Revision tags: php-5.2.6RC2 |
|
#
8343d7c1 |
| 03-Mar-2008 |
Steph Fox |
- A bit more work on PharData creation/conversion. - If readonly=0, why not $phardata->convertToPhar()? - Known issue with directories creating 'as-file' copies within the archive (all format
- A bit more work on PharData creation/conversion. - If readonly=0, why not $phardata->convertToPhar()? - Known issue with directories creating 'as-file' copies within the archive (all formats) @Greg/Marcus/Tony: This passes all tests on my box, 5.2/5.3/release_ts/debug_ts, and I can't find any more memleaks. Obviously this is too good to be true, so if conversion is still messy elsewhere please feel free to fix, or bug and assign to me.
show more ...
|
#
1cdade80 |
| 02-Mar-2008 |
Steph Fox |
Going back to square one ("it works on Scott's box" - OSX 10.5, gcc version 4.0.1 (Apple Inc. build 5465)). Thanks ScottMac, David C and Philip for testing... Possibly a gcc version issue? |
#
5c2be955 |
| 01-Mar-2008 |
Steph Fox |
Should work on all platforms now. (Testing.) |
#
d4cf7e47 |
| 01-Mar-2008 |
Steph Fox |
Right problem, wrong solution. Also missed an '= 1' , thanks Marcus |
#
f96cd8fb |
| 01-Mar-2008 |
Steph Fox |
Tested this time. All's fine here, MacOSX still complaining @ present. |
Revision tags: php-5.2.6RC1 |
|
#
001ffec1 |
| 27-Feb-2008 |
Steph Fox |
Initial support for PharData object. Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions... New t
Initial support for PharData object. Note: two tests currently fail. IMHO we should be throwing E_ERROR on encountering a corrupted archive, not trying to throw a trail of exceptions... New tests still to be written, not all functionality is in place yet.
show more ...
|
#
a5a246e8 |
| 24-Feb-2008 |
Greg Beaver |
add missing declaration of phar_rename_archive |
#
8513db73 |
| 24-Feb-2008 |
Steph Fox |
A bunch of stuff to do with filename conversion. Hopefully it won't sink the ship. |
Revision tags: RELEASE_1_3_1 |
|
#
ba9fcf62 |
| 18-Feb-2008 |
Greg Beaver |
add initial support for hashing mounted directories. Actual matching of mounted directories is not yet supported. |
#
87626d56 |
| 18-Feb-2008 |
Steph Fox |
Fix ZTS build *nicely* |
#
6798dc44 |
| 18-Feb-2008 |
Greg Beaver |
add Phar::mount() to manually mount a file or directory # TODO: implement directory mounting. Involves scanning paths that are not exact matches for a partial match. # this also means m
add Phar::mount() to manually mount a file or directory # TODO: implement directory mounting. Involves scanning paths that are not exact matches for a partial match. # this also means maintaining a per-phar hash of mounted directories for quick matching
show more ...
|
#
54ff8c3a |
| 15-Feb-2008 |
Greg Beaver |
begin work on ability to mount files from external locations as if they were inside of a phar archive |
#
f72ce59e |
| 13-Feb-2008 |
Greg Beaver |
remove refcount hack to workaround zlib memleak fixed in zlib intercepted file functions now fall through if the file is not found in the phar, this allows access to external libraries actual
remove refcount hack to workaround zlib memleak fixed in zlib intercepted file functions now fall through if the file is not found in the phar, this allows access to external libraries actually use include_path for locating files for inclusion and in file_get_contents/fopen when include_path is requested. This allows applications like Zend Framework MVC implementation to function properly
show more ...
|
#
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 ...
|
#
9af8b12b |
| 01-Feb-2008 |
Greg Beaver |
move to in between BEGIN_EXTERN_C() block, to avoid breakage with C++ (i.e. windows) # david, can you check on mac to be sure this doesn't break? |