Marcus Boerger
096e123f2d
- Verify stub
...
- Automatically cut off stub after __HALT_COMPILER();
- Always write longest stub ending, so there is no issue with length field
- Add test for setStub from file
- Fix tests
2007-05-27 16:54:37 +00:00
Marcus Boerger
ac05df4759
- For errors "internal corruption of phar ... (truncated manifest)" be more
...
precise about reason of failure, seperating all error strings
- Fix issue with writing compressed entries
- Fix issue with uncompressing entries
2007-05-27 15:47:52 +00:00
Marcus Boerger
7e1ba8bffb
- Fix the fix
2007-05-20 22:14:07 +00:00
Marcus Boerger
73ddcc1fd2
- Fix shutdown
2007-05-20 21:46:54 +00:00
Marcus Boerger
6cbfd2271f
- Drop RINIT completely (as discussed @ php|tek)
2007-05-18 04:31:39 +00:00
Marcus Boerger
4313bce995
- Get rid of RINIT completely
2007-05-16 23:20:31 +00:00
Marcus Boerger
5e3af23d20
- Reduce overhead of Phar's RINIT
2007-05-16 23:16:51 +00:00
Marcus Boerger
004932e11d
- Add Phar::delMetadata()
...
- Add Phar::hasMetadata()
- Add Phar::isValidPharFilename()
2007-05-15 20:21:19 +00:00
Marcus Boerger
1ab96f2d04
- Drop commented line
2007-05-14 19:36:44 +00:00
Marcus Boerger
16e27c5aad
- Fix main metadata handling, prefix main metadata with main
2007-05-14 19:36:09 +00:00
Marcus Boerger
440691899c
- Optimize flushing, don't generate metadata twice
2007-05-14 19:14:00 +00:00
Marcus Boerger
c9c5dbbd8d
- Unoptimized fix for metadata writing
2007-05-14 18:59:04 +00:00
Marcus Boerger
7aa7448a32
- Fix Phar::canWrite(), had inverted logic
...
- Support PHP & builds
2007-05-09 18:09:41 +00:00
Marcus Boerger
ab15beebbf
- Compatibility with suhosin
2007-03-27 21:28:22 +00:00
Marcus Boerger
c84b870472
- Prevent rename on extracted archieves
2007-03-26 19:51:22 +00:00
Marcus Boerger
f1684e4735
- Fix return value of unlink/rename handlers
...
- Add extract_list support to all wrapper handlers but rename
2007-03-26 19:20:00 +00:00
Greg Beaver
e97b1aefbf
fix memleak in external dirs
...
update package.xml
move API to 1.1.0
update package version to 1.1.0RC1
update API test
2007-03-26 16:42:47 +00:00
Greg Beaver
a92eeb61c4
[DOC]
...
implement setSignatureAlgorithm() and add class constants Phar::MD5, Phar::SHA1, Phar::SHA256, Phar::SHA512, Phar::PGP
2007-03-26 00:00:56 +00:00
Greg Beaver
c3b317f44c
default must be SHA1 or we get a BC break
2007-03-25 23:42:49 +00:00
Marcus Boerger
c42a870b7e
- Add general SHA-2 support by optional pecl/hash dependency
...
# We actually need support to select the signature type somehow
2007-03-25 21:43:49 +00:00
Marcus Boerger
b983973a1d
- Add ini: phar.extract_list
...
- Add Phar::getExtractList
- Both allow to set a mapping <phar-file> to <extract-dir>
[[DOC]]
2007-03-25 19:03:38 +00:00
Greg Beaver
e53980587f
minor typo s/whetehr/whether/
2007-03-21 17:14:46 +00:00
Marcus Boerger
94c3896f73
- Provide dedicated hex function for digests
2007-02-24 02:08:08 +00:00
Marcus Boerger
0bd3f367de
- Fix issues found with solaris
2007-02-06 23:19:10 +00:00
Marcus Boerger
8f11f4875d
- Avoid direct tsrm manipulating in ini setting
2007-02-06 22:41:39 +00:00
Marcus Boerger
bed7c1167d
- Fix potential read issues
2007-02-06 22:12:21 +00:00
Antony Dovgal
ea40c23358
fix macros for bigendian platforms
2007-02-06 21:43:46 +00:00
Antony Dovgal
65b47ce346
add missing closing marker
2007-02-06 21:04:22 +00:00
Marcus Boerger
3f3c8fcd10
- Drop another superflous stream close
2007-02-06 20:30:33 +00:00
Marcus Boerger
2a37a1284d
- Drop superflous stream close
2007-02-06 20:15:12 +00:00
Greg Beaver
bc17dcfcd1
fix several potential segfaults, add tests for chmod(), fix chmod()
2007-02-06 17:09:37 +00:00
Marcus Boerger
45d63c3973
- Check temp file creation
2007-02-05 22:11:27 +00:00
Greg Beaver
40b66a8035
copyright year updates
2007-02-05 21:38:50 +00:00
Marcus Boerger
357b931e56
- Add additional check & test
2007-02-05 20:47:20 +00:00
Marcus Boerger
250119fa38
- Fix signed/unsigned warnings
...
- Use safe_emalloc where usefull
2007-02-05 20:34:23 +00:00
Marcus Boerger
c2d5db56ca
- Need to drop //
2007-02-04 20:35:59 +00:00
Marcus Boerger
f210205e70
- PHP_VERSION_ID exists only in newer PHPs (5.1+)
...
- Improve error checking
2007-02-04 20:10:03 +00:00
Marcus Boerger
1c690cb9d4
- Add path sanitizer for new paths
...
- Add test for a few things we check with the sanitizer
# We might want to use the sanitizer for opening as well
2007-02-04 13:21:40 +00:00
Marcus Boerger
1b5b78ce18
- Provide both version strings, api and ext
2007-02-03 13:20:12 +00:00
Greg Beaver
93b387d327
fix mem leak on error, fix cwd issue. go back to BadMethodCallException for Phar->set*CompressedAllFiles(). ALL TESTS PASS, RELEASE IS IMMINENT
2007-02-03 04:04:18 +00:00
Marcus Boerger
7ae8840c50
- Fix mem access
2007-01-29 07:59:19 +00:00
Greg Beaver
c7a5d062f5
throw exceptions from Phar object, and errors from stream wrapper
...
# we need to account for uncaught exceptions in shutdown, 2 tests leak because of this
2007-01-29 06:02:19 +00:00
Greg Beaver
c6dc9be489
implement Phar->getMetadata() Phar->setMetadata(), add tests, implement meta-data in the header
2007-01-29 03:59:55 +00:00
Greg Beaver
744ec410ec
add rename support
2007-01-28 22:43:38 +00:00
Marcus Boerger
8cfaa44955
- Make new flushing work
2007-01-28 21:26:54 +00:00
Marcus Boerger
d13719ace8
- In Commit reset donotflush
2007-01-28 19:56:09 +00:00
Marcus Boerger
ea9796cca4
- Drop phar_destroy_phar_data() from api
2007-01-28 12:18:07 +00:00
Marcus Boerger
e1db72467c
- Fix read/write mode handling
2007-01-28 10:32:45 +00:00
Greg Beaver
e8cabb46f6
fix commitWrite test, enable creation of Phars with phar object
2007-01-28 05:40:18 +00:00
Greg Beaver
2513903e40
stream context for specifying meta-data
2007-01-28 03:25:53 +00:00