Steph Fox
ad0a7679ac
Kill an unnecessary bit of internal docu and add 'compression' to the TODO
2008-02-28 02:09:49 +00:00
Steph Fox
413df68971
Forgot to return... not that I understand this stuff...
2008-02-28 01:16:43 +00:00
Steph Fox
9e61358eda
Allow alias for phar.tar/phar.zip
2008-02-28 01:08:34 +00:00
Steph Fox
dd5196cf01
Update TODO
2008-02-27 21:41:59 +00:00
Steph Fox
001ffec19f
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.
2008-02-27 21:34:26 +00:00
Steph Fox
6a63b3921e
Update protos.
2008-02-25 16:27:23 +00:00
Steph Fox
eaef0319d2
Make it possible to read the TODO file on a laptop :)
2008-02-25 16:15:57 +00:00
Steph Fox
4b849dcac6
Lunchbreak III
2008-02-25 15:44:21 +00:00
Steph Fox
d712008ba7
Lunchbreak II
2008-02-25 15:43:14 +00:00
Steph Fox
303b72fed3
Lunchbreak.
2008-02-25 15:41:47 +00:00
Steph Fox
f5ab70a3b9
Update reflection info
2008-02-25 12:21:19 +00:00
Steph Fox
1a3bf3619f
Leftover from experimenting with zend_hash_del...
2008-02-25 11:37:08 +00:00
Greg Beaver
2d36a89d83
update TODO
2008-02-25 04:49:19 +00:00
Greg Beaver
0503140256
add little fix to phar_mount_entry to ensure path separators are unix-based on windows
2008-02-25 04:30:55 +00:00
Greg Beaver
ec7f89fe79
implement Phar::mount() for directories, add test
...
# opendir not yet implemented for mounted directories
2008-02-25 04:23:36 +00:00
Greg Beaver
b5c765f942
fix tests
2008-02-24 23:48:19 +00:00
Greg Beaver
d108a03553
fix --CLEAN--
2008-02-24 23:47:13 +00:00
Greg Beaver
1ea58d0c04
fix test
2008-02-24 23:44:12 +00:00
Greg Beaver
a5a246e876
add missing declaration of phar_rename_archive
2008-02-24 23:40:14 +00:00
Steph Fox
8513db73bb
A bunch of stuff to do with filename conversion. Hopefully it won't sink the ship.
2008-02-24 22:29:06 +00:00
Steph Fox
89842172e3
Updating tests. 100% pass rate here now - not sure about the rest of the world just yet (sorry Marcus).
2008-02-24 19:34:05 +00:00
Greg Beaver
a8d0c64662
fix faulty & in check for creation of phar manifest
2008-02-23 21:33:46 +00:00
Greg Beaver
588f0660e9
free mounted_dirs on error to avoid memleak
2008-02-23 21:29:57 +00:00
Greg Beaver
f6862d4a33
fix unfreed value found in tempmanifest1.phpt
2008-02-23 19:44:51 +00:00
Greg Beaver
b3a266fca8
fix double error (this fixes frontcontroller22.phpt)
2008-02-23 19:26:18 +00:00
Greg Beaver
dc43219add
down to 1 failing zip test with this commit
2008-02-23 18:28:36 +00:00
Greg Beaver
94f39ee501
fix unfreed value
2008-02-23 18:26:20 +00:00
Greg Beaver
a0e5e40663
port same fix from tar.c to zip.c
2008-02-23 18:24:41 +00:00
Greg Beaver
2eb4db8d79
best fix for the bad logic in tar.c, now all tests pass that should
2008-02-23 18:17:48 +00:00
Greg Beaver
18444e3b5a
revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should
2008-02-23 18:14:44 +00:00
Greg Beaver
a561228843
revert previous changes to tar.c, fix incorrect user_stub == dummy check, now things work that should
2008-02-23 18:09:31 +00:00
Greg Beaver
0c647b5c1c
fix test, missing phar.readonly=0 --INI-- section
2008-02-23 18:08:54 +00:00
Greg Beaver
9d9bd2715a
that !zend_hash_exists should be zend_hash_exists
2008-02-23 15:07:02 +00:00
Greg Beaver
a1828999c5
fix unfreed stuff when adding default stub
2008-02-23 15:05:05 +00:00
Greg Beaver
0e6457b2cf
free spprintf'ed stub after using it
2008-02-23 14:59:52 +00:00
Greg Beaver
0996c1ffb5
fix test - needed phar.readonly=0 INI section
2008-02-23 14:57:59 +00:00
Marcus Boerger
2f29db8333
- Fix logic
2008-02-23 13:04:59 +00:00
Steph Fox
b2dbfbc321
As the line below says - there shouldn't be an exception here.
2008-02-21 18:51:54 +00:00
Steph Fox
20836262c8
Updated wrong expectation (different stub).
2008-02-21 18:44:06 +00:00
Steph Fox
9a1e7ee88b
Update tests to accommodate those two extra bytes
2008-02-21 15:20:46 +00:00
Steph Fox
cf9bbcc2e6
Satisfy the pedants :)
2008-02-21 14:48:41 +00:00
Steph Fox
e8e85afbcc
Updating conversion tests to check for more conversion parameters than one. Note that these will all fail against current CVS.
...
@Greg: We need to clarify conversion policy across the board.
2008-02-21 14:45:44 +00:00
Steph Fox
eb7565451d
s/zip/tar
2008-02-21 14:27:19 +00:00
Steph Fox
6cc2426ff1
A much better solution for setDefaultStub(). The convertTo*() fixes should be trivial now.
2008-02-21 00:24:38 +00:00
Steph Fox
15158bf49d
Fix filenames
2008-02-20 19:26:40 +00:00
Steph Fox
d8bebd7259
Implement $phar->setDefaultStub()
...
Note that Phar::createDefaultStub() still exists at this point
2008-02-20 19:22:12 +00:00
Steph Fox
9752739cf2
Let's have reflection reflect reality...
2008-02-20 17:58:56 +00:00
Steph Fox
3285ceba7e
Take some of the pain out of stub rewrites. (Full default stub is tested elsewhere.)
2008-02-20 14:28:49 +00:00
Steph Fox
8febc7fd54
Fix 'clean' sections
2008-02-20 13:33:00 +00:00
Steph Fox
6306029051
Move supporting files to their own directory (toplevel tests)
2008-02-20 13:11:40 +00:00