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
Marcus Boerger
3a21fe9ab3
- Add make target for precommand
2007-05-28 21:20:06 +00:00
Marcus Boerger
7c9d3a5745
- Provide ascriptto build phar.php from phar directory
...
- Fix minor issues
- Make pack -p also add phar/phar.incto the generated package
2007-05-28 21:13:58 +00:00
Marcus Boerger
38bb8cb5af
- Fix invalid efree() call
2007-05-28 21:04:42 +00:00
Marcus Boerger
17feef6b6c
- Turn the loader into a stream wrapper if necessary
2007-05-28 19:04:08 +00:00
Marcus Boerger
511bd55758
- Make compatible with PEAR/PHP_Archive CVS
2007-05-28 18:07:49 +00:00
Marcus Boerger
c5bf6e8cc4
- Add 'Stub-size' to info command
2007-05-28 16:00:41 +00:00
Marcus Boerger
57c5921389
- Oops
2007-05-28 15:58:21 +00:00
Marcus Boerger
f1faa5d558
- It is more unlikely to be looking for files named '0' or '1' and those
...
are also quite intuitive if seeing them as return value of the search.
2007-05-28 15:52:36 +00:00
Marcus Boerger
287bb49cc8
- Actually allow pack -p optional for precommand
2007-05-28 15:38:29 +00:00
Marcus Boerger
90fa848671
- Notice about missing class file when using pack -p optional
2007-05-28 15:32:21 +00:00
Marcus Boerger
0dd84bb275
- Notice about missing class file when using pack -p optional
2007-05-28 15:26:26 +00:00
Marcus Boerger
a8f99022ef
- WS
2007-05-28 15:21:53 +00:00
Marcus Boerger
54c83b037c
- Implement auto/optional for pack -p
2007-05-28 15:20:31 +00:00
Marcus Boerger
79a4814f0e
- Add target pharcmd as shortcut for ...phar.phar
2007-05-28 10:09:44 +00:00
Marcus Boerger
72b487894f
- Update
2007-05-27 16:58:23 +00:00
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
1ffeecf6fa
- Update
2007-05-27 15:50:23 +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
4518f74102
- Fix stub file
2007-05-25 09:33:54 +00:00
Marcus Boerger
b2a18cc7db
- Type was meant to be named typ on purpose - change back
2007-05-24 22:07:45 +00:00
David Coallier
0a38b81885
- Fixed few bugs
...
- Made sure that the word type[s] is correctly written and not typ*
2007-05-24 08:42:23 +00:00
David Coallier
147390b2d2
-- Added the cli_cmd_inf_meta_del function back in.
2007-05-24 08:40:40 +00:00
David Coallier
ca5eae898b
- Added comments to each functions
...
- Fixed all the typ[s]*_ to type[s]*_
2007-05-24 08:36:13 +00:00
Marcus Boerger
e5527ea5d8
- Update
2007-05-21 16:46:19 +00:00
Marcus Boerger
4fdef4b510
- Provide error function in base class
...
- Add add and delete subcommands
- Add -l to pack and add subcommands
2007-05-21 16:45:56 +00:00
Marcus Boerger
0492e34462
- Fix Inheritance
2007-05-21 16:44:24 +00:00
Marcus Boerger
f2cec0600c
- Make Pahr::loadPhar() and Phar::mapPhar() respect extract list
2007-05-21 16:43:53 +00:00
Marcus Boerger
a1975735a9
- Update
2007-05-20 22:16:19 +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
20d2f3f42d
- This test needs to write
2007-05-20 18:34:17 +00:00
Marcus Boerger
05459db504
- Better handling of alias = NULL
2007-05-19 16:06:49 +00:00
Marcus Boerger
27ca5af569
- Increment extension version
2007-05-18 17:54:24 +00:00
Marcus Boerger
611aa32fee
- Update TODO
2007-05-18 17:53:32 +00:00
Marcus Boerger
d4988e2d1e
- Make phar class optional, allowing PHP_Archive instead
2007-05-18 17:53:07 +00:00
Marcus Boerger
8e561453ec
- Add Phar::getAlias()
2007-05-18 17:50:39 +00:00
Marcus Boerger
a56e04ea5f
- Make alias optioal and return it in info command
2007-05-18 17:49:16 +00:00
Marcus Boerger
c1c9d21ec4
- Add Phar::isValidPharfilename() really
2007-05-18 05:48:20 +00:00
Marcus Boerger
4750d997bf
- Update package to version 1.2.0
2007-05-18 04:38:09 +00:00
Marcus Boerger
6cbfd2271f
- Drop RINIT completely (as discussed @ php|tek)
2007-05-18 04:31:39 +00:00
Marcus Boerger
ba9ec2cc7f
- Update todo
...
- Drop EXPERIMENTAL
2007-05-18 04:28:48 +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
6365d3e06a
- Include 'class Phar extends PHP_Archive {}' when using -p
2007-05-16 23:00:18 +00:00
Marcus Boerger
d77c8b0fa7
- Add support to include PHP_Archive when using pack
2007-05-16 22:56:43 +00:00
Marcus Boerger
669fa0b796
- Update after conference discussions
2007-05-16 22:32:23 +00:00
Marcus Boerger
e40ed58b01
- Add ability to extract a single value from info command
2007-05-16 20:48:41 +00:00
Marcus Boerger
aaed58e0ab
- Add -k to meta-* commands
2007-05-16 20:42:20 +00:00
Marcus Boerger
387499952c
- Add -k to support direct metadata array-key extraction
2007-05-16 19:15:32 +00:00
David Coallier
a4bc40e970
- Fixed small bug (if (Phar::canWrite()) then die, which should really be:
...
if (!Phar::canWrite())
2007-05-16 04:05:41 +00:00
David Coallier
2d3dad05de
- Quickly reorganized some of the arguments array syntax.
2007-05-15 23:46:21 +00:00
Marcus Boerger
d12dfcade7
- Use Phar::isValidPharFilename
...
- Better output of compression ratio
- Add ability to work on global metadata
- Minor updates
2007-05-15 20:46:27 +00:00
Marcus Boerger
4dfa232bf9
- Add forward declaration
2007-05-15 20:43:24 +00:00
Marcus Boerger
b83a515920
- Add Phar::delMetadata()
...
- Add Phar::hasMetadata()
- Add Phar::isValidPharFilename()
2007-05-15 20:42:38 +00:00
Marcus Boerger
004932e11d
- Add Phar::delMetadata()
...
- Add Phar::hasMetadata()
- Add Phar::isValidPharFilename()
2007-05-15 20:21:19 +00:00
Marcus Boerger
a618c823f2
- Add compression ratio to info command
2007-05-15 16:39:19 +00:00
Marcus Boerger
80d27f2b5b
- Add help-list command
2007-05-15 16:39:01 +00:00
Marcus Boerger
6b349de774
- Fix compalg argument handling and merge it to preliminary phar command
...
- Improve command info
2007-05-15 16:28:15 +00:00
Marcus Boerger
580a5cf2ea
- Align output of info command
2007-05-15 15:41:03 +00:00
Marcus Boerger
85e02bbee8
- Better hint that you can get help to a specific command
2007-05-15 15:34:50 +00:00
Marcus Boerger
9deb0ca94f
- Add auto compression mode to phar command and use it in Makefile.frag
...
- Allow parameter types to be based on select type
- Allow to use compress command for selected entries
2007-05-15 15:33:24 +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
0ebd2cf5d0
- Fix methodname to getMetadata()
2007-05-14 18:58:35 +00:00
Marcus Boerger
47d51e188b
- Phar version 1.2.0+ requirement allows some simplifications
2007-05-14 18:40:20 +00:00
Marcus Boerger
3a20584b6a
- Require phar version 1.2.0+
2007-05-14 18:37:30 +00:00
Marcus Boerger
49f3a72ecb
- Update
2007-05-14 18:32:54 +00:00
Marcus Boerger
35299957c7
- Add Phar::getSupportedCompression()
2007-05-14 18:31:18 +00:00
Marcus Boerger
e22fcf8de9
- Only show available hash algorithms
2007-05-14 18:26:01 +00:00
Marcus Boerger
e289a06c83
- Flush on changes
2007-05-14 18:11:53 +00:00
Marcus Boerger
6e05f480f0
- Add new test
2007-05-14 17:40:40 +00:00
Marcus Boerger
85a9934c0c
- Update
2007-05-14 17:20:10 +00:00
Marcus Boerger
ca550a5174
- Add -h to command pack
...
- Rename commands
. setstub to stub-set
. getstub to stub-get
- Make -s to stub-get/set optional and use stdout/in as default
- Add a few commands
. compress
. info
. meta-set
. meta-get
. meta-del
. sign
2007-05-14 17:18:30 +00:00
Marcus Boerger
4f620b0c7b
- Add help <command>
...
- Allow commands to have '-' in their name
2007-05-14 17:14:15 +00:00
Marcus Boerger
6e3ac5dbcd
- Add PharFileInfo::hasMetadata() & delMetadata()
2007-05-14 17:13:07 +00:00
Marcus Boerger
ba2e2af1b9
- Add -h sha1 to target phar.phar
2007-05-14 17:12:10 +00:00
Marcus Boerger
7bdb1ed5cd
- Add ability to specify hashing
2007-05-14 17:10:01 +00:00
Marcus Boerger
6b5173f035
- Handle regex parameters in clicommand
2007-05-12 12:25:56 +00:00
Marcus Boerger
1ab5a5e9cf
- Add get/setstub commands to phar.phar
2007-05-12 11:55:26 +00:00
Marcus Boerger
4c66269573
- Impprove cli_wordwrap() make it respectstart of initial line correctly
2007-05-12 11:53:27 +00:00
Marcus Boerger
9813390829
- More wrappingfor indented stuff
2007-05-11 21:52:33 +00:00
Marcus Boerger
49d8ee873a
- Provide working wordwrap for command help
2007-05-11 21:31:29 +00:00
Marcus Boerger
68672e4003
- Provide working wordwrap for command help
2007-05-11 21:28:41 +00:00
Marcus Boerger
cc6b040866
- Update
2007-05-11 18:22:11 +00:00
Marcus Boerger
29ca5d1930
- Finish adding -i & -x to extract command
2007-05-11 18:21:12 +00:00
Marcus Boerger
8f1b4c6e7a
- Readd 1.1.0 to history
2007-05-11 18:07:52 +00:00
Marcus Boerger
a45852b27b
- Simplify argument handling
...
- Add -i & -x to commands list & tree
2007-05-11 18:07:22 +00:00
Marcus Boerger
4124c8901b
- Add rule for phar.phar to Makefile.frag
2007-05-11 18:06:28 +00:00
Marcus Boerger
daa47137a7
- Change -x to -i (include) so that -r can become recursive
2007-05-11 17:19:06 +00:00
Marcus Boerger
a64c54d02c
- Fix release history
2007-05-11 00:34:45 +00:00
Marcus Boerger
f22fd0a0b4
- Add new helper class
2007-05-11 00:22:57 +00:00
Marcus Boerger
40ce66bdc0
- Sort commands
2007-05-11 00:21:28 +00:00
Marcus Boerger
a923a7293f
- Allow to easily exclude file by regular expression
2007-05-11 00:01:55 +00:00
Marcus Boerger
c77faa0c96
- Fix message
2007-05-10 23:36:17 +00:00
Marcus Boerger
4466ec9cf9
- Make remainder arguments be typ-agnostic
...
- Remove debug message
2007-05-10 23:34:13 +00:00
Marcus Boerger
3b6a6e3f5f
- WS
2007-05-10 23:22:24 +00:00
Marcus Boerger
c613efb434
- CS
2007-05-10 23:21:17 +00:00
Marcus Boerger
b032d36ce5
- Add extract command
2007-05-10 23:14:00 +00:00
Marcus Boerger
0283cfad77
- Update phar command
2007-05-10 21:49:40 +00:00
Marcus Boerger
098897f03e
- Add phar.phar command input files
2007-05-10 20:55:28 +00:00
Marcus Boerger
9e83deccce
- Extend help command
2007-05-10 19:42:20 +00:00
Marcus Boerger
07eb9080f5
- Update make pack work (well more or less)
2007-05-09 23:19:33 +00:00
Marcus Boerger
c7d70d0f7c
- This is version 1.2.0 now due to fix of Phar::canWrite()
2007-05-09 19:34:00 +00:00
Marcus Boerger
7aa7448a32
- Fix Phar::canWrite(), had inverted logic
...
- Support PHP & builds
2007-05-09 18:09:41 +00:00
Marcus Boerger
3412b1af02
- Reorganize
...
. Move parsing arguments into new CLICommand
. Move analyzing the handler class into CLICommand
. Derive PharCommand from CLICommand
. Provide specific argument parsing in PharCommand
2007-05-09 00:15:21 +00:00
Marcus Boerger
c96d5a18a8
- Provide nice little phar command, inital version, not yet fully working
2007-05-08 23:04:06 +00:00
Marcus Boerger
0e81133d48
- Fix release states
2007-04-12 21:06:40 +00:00
Marcus Boerger
7881d33cc6
- Fix release date
2007-04-12 20:59:58 +00:00
Marcus Boerger
3ec87dc3e4
- Prepare release 1.1.0
2007-04-12 20:58:09 +00:00
Marcus Boerger
7946d3fdfd
- Update TODO, we most likely release current state as 1.1.0
2007-04-04 19:03:54 +00:00
Marcus Boerger
ab15beebbf
- Compatibility with suhosin
2007-03-27 21:28:22 +00:00
Marcus Boerger
a2642ff434
- Update package info
2007-03-27 20:03:56 +00:00
Marcus Boerger
51b116d7e8
- Split TODO
2007-03-26 20:36:10 +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
bb1c1f6690
fix extra extsrcrelease tags
2007-03-26 15:51:17 +00:00
Greg Beaver
2cfb7a7e8f
as Marcus said: "don't we need this for bz2?" :)
2007-03-26 15:50:26 +00:00
Greg Beaver
0deb79b705
fix tests, add missing break to setSignatureAlgorithm()
2007-03-26 00:29:22 +00:00
Greg Beaver
4af9e7192b
update note
2007-03-26 00:03:53 +00:00
Greg Beaver
a3b2c29445
update package.xml
2007-03-26 00:02:14 +00:00
Greg Beaver
0d67c19edb
add tests for signature algo
2007-03-26 00:01:34 +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
Greg Beaver
3ff9360058
add <providesextension> to the hash dep so it can be built statically as well
2007-03-25 23:19:26 +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
24a9934bda
- Fix roles
2007-03-25 20:36:19 +00:00
Marcus Boerger
340db2789f
- Use package.php for the first time
2007-03-25 20:14:35 +00:00
Greg Beaver
8e6dde9155
new package generator
2007-03-25 20:04:39 +00:00
Greg Beaver
2f2b361047
typo
2007-03-25 19:05:10 +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
5506943c53
update for 1.0.0 release
2007-03-22 17:12:10 +00:00
Greg Beaver
18cb2d59d4
rename begin/isFlushingToPhar/commit to startBuffering/isBuffering/stopBuffering
2007-03-22 16:31:46 +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
Greg Beaver
a906cadedc
update package.xml for potential release
2007-02-20 03:44:26 +00:00
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
Marcus Boerger
0bc1b90ec3
- Split commit into commit and setStub
2007-01-28 22:11:28 +00:00
Greg Beaver
f78dc091f3
make sure we are in the test directory
2007-01-28 21:48:36 +00:00
Greg Beaver
a51ded0160
new test for creation of phar in current directory
2007-01-28 21:47:29 +00:00
Greg Beaver
b53229dae0
note finishing of docs (whew)
2007-01-28 21:46:13 +00:00
Marcus Boerger
8cfaa44955
- Make new flushing work
2007-01-28 21:26:54 +00:00
Marcus Boerger
1259c3f17a
- Fix tests
2007-01-28 21:21:04 +00:00
Greg Beaver
aa47bbbd4d
add rename() to TODO for 1.0
2007-01-28 21:04:57 +00:00
Greg Beaver
4596ee7d8a
add todo about metadata, and 1.1 todo to search/match metadata [take 2]
2007-01-28 20:28:05 +00:00
Greg Beaver
20ad76141b
add todo about metadata, and 1.1 todo to search/match metadata
2007-01-28 20:27:05 +00:00
Marcus Boerger
d13719ace8
- In Commit reset donotflush
2007-01-28 19:56:09 +00:00
Greg Beaver
2273af3104
beginWrite()/commitWrite() => begin()/commit(), note optional rollback() for 1.1
2007-01-28 19:09:12 +00:00
Marcus Boerger
5d03db8f5a
- Move offsetGet()/SplFileClass entry to 1.1
2007-01-28 16:07:10 +00:00
Marcus Boerger
a908f3b449
- Add missing files
2007-01-28 16:06:25 +00:00
Marcus Boerger
ea9796cca4
- Drop phar_destroy_phar_data() from api
2007-01-28 12:18:07 +00:00
Marcus Boerger
834337f85a
- Fixx illeagal memory access
2007-01-28 10:43:18 +00:00
Marcus Boerger
510c6e0dd1
- Test naming
2007-01-28 10:34:58 +00:00
Marcus Boerger
e1db72467c
- Fix read/write mode handling
2007-01-28 10:32:45 +00:00
Marcus Boerger
1222f8c75a
- Hash is donein ext/standard
2007-01-28 10:02: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
2ee6816c43
new failing test for commitWrite()
2007-01-28 05:11:41 +00:00
Greg Beaver
22f8379ea6
up API version to 1.0.0 - the file format is solid, prepare for release sometime in the near future
2007-01-28 03:59:30 +00:00
Greg Beaver
2513903e40
stream context for specifying meta-data
2007-01-28 03:25:53 +00:00
Marcus Boerger
a2bcf381b7
- Fix test
2007-01-27 23:11:45 +00:00
Marcus Boerger
4b2eed1fc1
- Clean up on flush
2007-01-27 23:02:42 +00:00
Marcus Boerger
f86b7b96fc
- Refcounting
2007-01-27 22:23:52 +00:00
Marcus Boerger
426146b340
- More on 5.2.1 support
2007-01-27 22:18:18 +00:00
Marcus Boerger
d4fb3cb4d3
- Fix warning
2007-01-27 21:37:22 +00:00
Marcus Boerger
ec6c58ca94
- Add 5.2.1 support
2007-01-27 21:34:40 +00:00
Marcus Boerger
fc8754c892
- Dropped one line by accident
2007-01-27 21:24:28 +00:00
Marcus Boerger
d5bbd84d76
- Prevent memory corruption
2007-01-27 21:23:02 +00:00
Marcus Boerger
c26e5edbeb
- Update package file
2007-01-27 21:22:00 +00:00
Marcus Boerger
c7523db97f
- Cannot change stream here
2007-01-27 19:42:37 +00:00
Greg Beaver
a9901f31db
fix uncompressAllFiles() and compressAllFilesBZIP2(), add tests
2007-01-27 19:37:17 +00:00
Greg Beaver
035ddeb1cd
php_stream_truncate_set_size() is a noop with temp streams.
...
so, we're going to use a brand new tempfile for truncation.
ALL TESTS PASS NOW (finally)
2007-01-27 19:26:58 +00:00
Marcus Boerger
f096d18cd5
- Add missing INI setting
2007-01-27 19:17:56 +00:00
Greg Beaver
7b6b53b83d
php_stream_truncate_set_size() is a noop with temp streams.
...
so, we're going to use a brand new tempfile for truncation.
ALL TESTS PASS NOW (finally)
2007-01-27 18:57:12 +00:00
Greg Beaver
1d11c2c4a7
fix memleaks and all but 1 test
2007-01-27 18:45:48 +00:00
Greg Beaver
78f1b9401b
fix memleak in unlink()
2007-01-27 18:27:19 +00:00
Greg Beaver
74d7701b2b
fix incorrect refcount increment on unlink()
2007-01-27 18:03:40 +00:00
Marcus Boerger
fa60adaffa
- Add new tests
2007-01-27 17:32:21 +00:00
Marcus Boerger
13e860e66f
- Fix memory access
2007-01-27 17:27:48 +00:00
Marcus Boerger
e2a46679bd
- context not needed here
2007-01-27 17:27:09 +00:00
Marcus Boerger
ced8e1d9d1
- Make phar_flush() work without reloading
...
- Make refcounting fly
2007-01-27 15:31:24 +00:00
Marcus Boerger
9cd8d73677
- Simplify by providing delref function
2007-01-26 19:58:22 +00:00
Marcus Boerger
e52a5adc34
- Fix stream closing
2007-01-26 19:43:04 +00:00
Greg Beaver
616fa5839c
fix test (still fails, but the test is accurate now)
2007-01-26 14:56:56 +00:00
Greg Beaver
8de7bd61bf
implement phar refcounting
...
move setStub to commitWrite() and add beginWrite()
# many oo-based tests still fail, they need to be tweaked and fixed
2007-01-26 14:52:10 +00:00
Greg Beaver
ffcf9f5de4
remove unused constants, note addition of docs in TODO
2007-01-24 04:38:19 +00:00
Antony Dovgal
d6af95d1a4
fix folding and a couple of typos
2007-01-23 23:31:14 +00:00
Greg Beaver
d8c26fd461
fix tests, fix corruption issues with compression, simplify code. 3 tests still fail, memory leaks and mysterious crc error - the 16 tests are faulty
2007-01-22 03:41:41 +00:00
Marcus Boerger
47f82ace64
- Test names
2007-01-22 02:31:28 +00:00
Marcus Boerger
a3bce062fa
- Don't be to picky, as long as we get an error here, we're fine
2007-01-22 02:24:40 +00:00
Marcus Boerger
03dfef9f99
-Simplify
2007-01-22 02:07:45 +00:00
Marcus Boerger
261749d402
- Generate CRC32 in case not done in original file
2007-01-22 02:04:51 +00:00
Marcus Boerger
79985976a6
- CRC is done on uncompressed data
2007-01-22 02:00:18 +00:00
Marcus Boerger
2312d0772d
- Drop erroneously added numbers in error messages
2007-01-22 01:01:50 +00:00