Commit Graph

308 Commits

Author SHA1 Message Date
Marcus Boerger
5dfeed6e14 - Simplify 2007-02-13 17:56:37 +00:00
Marcus Boerger
ac73e981c4 - Inherit interface ArrayAccess correctly 2007-02-13 17:39:46 +00:00
Marcus Boerger
e8e7815e89 - Fix offset writing 2007-02-13 01:19:58 +00:00
Marcus Boerger
20ffb00422 - Include spl_iterators.h 2007-02-08 22:50:15 +00:00
Marcus Boerger
cfd4e53858 - Let's go with RC2 2007-02-07 08:37:29 +00:00
Marcus Boerger
41464c299c - Add new test 2007-02-07 08:36:50 +00:00
Johannes Schlüter
30dad44aa3 - Add possibility to check for a specific compression method 2007-02-06 23:56:39 +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
Antony Dovgal
bc779b98ec fix test, this error message may vary 2007-02-06 20:48:37 +00:00
Marcus Boerger
3f3c8fcd10 - Drop another superflous stream close 2007-02-06 20:30:33 +00:00
Marcus Boerger
d771917d08 - Prepare RC2 2007-02-06 20:17:04 +00:00
Marcus Boerger
2a37a1284d - Drop superflous stream close 2007-02-06 20:15:12 +00:00
Marcus Boerger
3a64f890cb - Fix test 2007-02-06 20:14:26 +00:00
Greg Beaver
4bfd3eac84 correct release notes 2007-02-06 17:54:32 +00:00
Greg Beaver
2052cf5534 correct version number/stability 2007-02-06 17:33:14 +00:00
Greg Beaver
5b776340e4 add test cases, prepare for release, indent fixes in package.xml deps 2007-02-06 17:30:19 +00:00
Greg Beaver
bc17dcfcd1 fix several potential segfaults, add tests for chmod(), fix chmod() 2007-02-06 17:09:37 +00:00
Greg Beaver
70dc64e95a add PharFileInfo->chmod() to set permissions (no other way to do it) 2007-02-06 05:41:18 +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
5928d89d50 - Detect \0 in paths where possible 2007-02-05 19:16:07 +00:00
Marcus Boerger
08cf9ff731 - Check for illegal chars (control + potential UTF-8 (need to take care of in PHP 6)) 2007-02-05 07:58:29 +00:00
Greg Beaver
c0e2739103 improve error message empty entry => empty directory. Add check for phar://blah.phar/. and phar://blah.phar/.. 2007-02-05 07:19:35 +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
29cde76818 - Disallow stars in paths 2007-02-04 16:25:25 +00:00
Marcus Boerger
ab03af5eb5 - Add Makefile.frag 2007-02-04 16:24:48 +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
725148cc94 - Allow building with 5.1 (not all works thenperfectly though) 2007-02-03 16:31:36 +00:00
Marcus Boerger
d47db8526b - Fix protos 2007-02-03 13:42:10 +00:00
Marcus Boerger
1b5b78ce18 - Provide both version strings, api and ext 2007-02-03 13:20:12 +00:00
Marcus Boerger
91d7b4f048 - Update package file 2007-02-03 13:19:38 +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
Greg Beaver
996b8e6108 fix test 2007-02-03 02:39:34 +00:00
Greg Beaver
340e9b24fc s/isFlushing/isFlushingToPhar much clearer purpose in method name 2007-02-03 00:45:24 +00:00
Marcus Boerger
5f8256cfc1 - Update TODO
- Add Phar::isFlushing()
- Improve test
2007-01-30 20:58:14 +00:00
Marcus Boerger
c9a8668847 - Add new test 2007-01-30 07:29:45 +00:00
Marcus Boerger
df99fd3d61 - CS & Fix expectations 2007-01-29 22:21:48 +00:00
Marcus Boerger
7ae8840c50 - Fix mem access 2007-01-29 07:59:19 +00:00
Greg Beaver
41b5470358 update TODO for needed things 2007-01-29 06:10:18 +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
185a961812 make Phar metadata todo more explicit 2007-01-28 22:45:19 +00:00
Greg Beaver
744ec410ec add rename support 2007-01-28 22:43:38 +00:00