1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Commit Graph

496 Commits

Author SHA1 Message Date
Greg Beaver 38fc1fbc35 new test for dir iteration (covers some code missing in gcov tests) 2007-11-25 05:15:50 +00:00
Greg Beaver 4bcb68a4e8 fix errors found in delMetaData(), add get/delMetaData() to MetaData read test 2007-11-25 05:04:40 +00:00
Greg Beaver 4f34a69ad0 new test for Phar::getModified() 2007-11-25 04:54:36 +00:00
Greg Beaver 6b3562c107 new test for no signature 2007-11-25 04:52:49 +00:00
Greg Beaver 634edbe97a fix test expected output 2007-11-25 04:49:53 +00:00
Greg Beaver 8fa1a31626 MFB fix to test 2007-11-25 04:48:14 +00:00
Greg Beaver 0a4d447b28 add new tests for Phar::getSupportedCompression 2007-11-25 04:43:01 +00:00
Greg Beaver e34be4f8bc preliminary work on using gnupg to verify/create signatures - no implementation, just phpinfo() output and build rules 2007-11-24 04:30:08 +00:00
Greg Beaver bdff161e87 WS (spaces instead of tabs) 2007-11-24 04:09:01 +00:00
Greg Beaver 0034b47c83 experimental support for optional bz2 extension - should make windows users a whole lot happier (forgot w32) 2007-11-24 04:07:07 +00:00
Greg Beaver a72251be6e experimental support for optional bz2 extension - should make windows users a whole lot happier 2007-11-24 04:06:44 +00:00
Marcus Boerger 4b18c23fd1 - Improve make pharcmd
- Add -b to pack and stub-set commands of phar.phar
2007-11-23 16:44:04 +00:00
Marcus Boerger d339ebc10f - WS 2007-11-23 13:50:20 +00:00
Greg Beaver 2d13f86703 MFB fixes to phar.phar 2007-11-23 05:51:59 +00:00
Greg Beaver b21f49c7c7 MFB fixes for tests 2007-11-22 05:47:28 +00:00
Marcus Boerger 5be76b1a85 - Add phar.phar to package 2007-11-20 15:55:37 +00:00
Greg Beaver 43c7e6fa3b fix faulty logic on verification of phar 2007-11-20 05:34:35 +00:00
Greg Beaver be023d6f62 much better fix for the problem of phar://c:\path\to\blah.phar
don't use php_parse_url() at all, and always unixify paths on copied strings.
our modification was modifying the zval original string, so a user would pass in
phar://c:\path\to\blah.phar

and their string would change to phar://c:/path/to/blah.phar - bad.

Now using

include 'phar://' . __FILE__ . '/index.php';

works on both unix and windows seamlessly, as well as $a = new Phar(__FILE__)

for use in the loader stub
2007-11-19 23:10:05 +00:00
Greg Beaver a9af692645 make phar use this build's PHP instead of global PHP [gopal] 2007-11-17 05:50:00 +00:00
Greg Beaver 9d7d44d60c typo 2007-11-16 04:17:37 +00:00
Greg Beaver 4a86b3d6ea Ensure that the same phar can be referenced in multiple logical ways:
1) full path, with \ or / path separator
2) relative path to getcwd()

This should fix the last remaining windows-related quirks as well as similar problems
on unix
2007-11-15 05:21:11 +00:00
Greg Beaver 999961f080 begin win32 fixes for Phar object - still have a problem I can't track down yet, but it's only a matter of time before it is killed too
when passing in a full path with drive letter to the Phar object, we were
then passing "phar://C:/path/to/blah.phar" to php_parse_url(), which
thinks it is getting a valid url scheme "phar", host "C" path "/path/to/blah.phar"

we now pass "phar:///C:/path/to/blah.phar" to make it fail, and then properly
parse the url inside phar
2007-11-13 05:57:14 +00:00
Marcus Boerger 0e83c5c37a - fix more variable stuff 2007-11-06 14:49:15 +00:00
Marcus Boerger 74fe7a1e20 - fix tests 2007-11-06 14:47:11 +00:00
Greg Beaver 6d98d843af fix TSRM, a couple of compile warnings on windows, and test 2007-10-18 19:47:24 +00:00
Greg Beaver eb67969b73 fix Bug #12124: Phar object cannot be iterated over
remove unused variables
fix jit file open sprintf calls
2007-10-04 03:33:21 +00:00
Greg Beaver 07c509935c fix phar to work with PHP 5.3 2007-10-04 02:24:49 +00:00
Greg Beaver 33347b19f2 when opening an internal file read-only, recycle the phar archive's fp. This makes phar twice as fast (2.21x according to callgrind) 2007-08-30 02:30:16 +00:00
Greg Beaver ccb840fb92 add missing /* }}} */ 2007-08-25 01:36:21 +00:00
Greg Beaver 543ad01efd move to 1.3.0 development
add Phar::delete()
2007-08-25 01:32:35 +00:00
Greg Beaver 0a13146bbe prepare release 2007-08-25 01:04:49 +00:00
Greg Beaver 5178a94545 add test for pre-existing alias failure, fix source to fail if alias already exists 2007-08-23 23:23:26 +00:00
Greg Beaver 0bd0d85673 implement Phar->setAlias() 2007-08-23 04:49:39 +00:00
Greg Beaver 5d8919938d 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
2007-08-17 04:47:50 +00:00
Greg Beaver a7d7b956f9 fix dump_entry 2007-08-17 04:46:04 +00:00
Greg Beaver c6fee51126 add dump_entry 2007-08-16 19:56:02 +00:00
Greg Beaver d43eaabd1e add docs 2007-08-15 23:37:13 +00:00
Greg Beaver 417b2cfb5e make pharglobals hidden func 2007-08-15 23:35:27 +00:00
Greg Beaver 2211e8e14f add fp and refcount display 2007-08-15 23:34:37 +00:00
Greg Beaver 46db4d3f65 add helper functions for gdb debugging phar reference counting (needs more work, but a good start) 2007-08-15 03:49:44 +00:00
Greg Beaver d3426be1c3 fix several mis-spelled 'temporary's add missing space in comment, and change 'script end' to 'stub end' in manifest read error messages 2007-06-01 03:48:17 +00:00
Marcus Boerger 7ecc0f7fad - Fix memory issue 2007-05-31 06:55:14 +00:00
Marcus Boerger 177af83fa9 - Add -p to stub-set command 2007-05-30 17:25:41 +00:00
Marcus Boerger afb43b7110 - Need to readd this but do it as a echo 2007-05-30 17:13:17 +00:00
Marcus Boerger 6dc9be0590 - Minor fix 2007-05-30 17:00:06 +00:00
Marcus Boerger 6b8f480c45 - This is not needed here 2007-05-30 16:50:22 +00:00
Marcus Boerger bd93265e8f - Skip precommand 'phar.php' and keep a pre-built phar.phar in cvs 2007-05-30 16:45:23 +00:00
Marcus Boerger 4098ac4c25 - Fix test 2007-05-29 09:13:57 +00:00
Marcus Boerger 490e076b22 - Improve header of pharcommand 2007-05-29 09:08:41 +00:00
Marcus Boerger 387c82fc87 - Precise dependencies 2007-05-29 08:50:17 +00:00