Marcus Boerger
42e3644d5b
- Add bzip2 decompression support
2006-01-12 21:16:29 +00:00
Marcus Boerger
566f8b136a
- Use consumed filter to check number of compressed bytes read
...
# This fixes all tests again
2006-01-12 02:33:28 +00:00
Marcus Boerger
8166072ea3
- Change to use streams filters which simplifies decompression a lot and
...
easily allows to use other compression algos too
2006-01-11 23:55:57 +00:00
Marcus Boerger
ae81cb9a1c
- Add new test
2006-01-11 23:54:30 +00:00
Marcus Boerger
cd24188fad
- Fix test
2006-01-11 21:34:48 +00:00
Marcus Boerger
b4e19230f9
- Split fname/phar-data mapping and alias/phar-data mapping
...
- Add test
2006-01-11 21:19:46 +00:00
Marcus Boerger
9222435376
- WS
2006-01-11 20:32:56 +00:00
Marcus Boerger
5b62ceebb2
- Fix more errors (by the way the phars are found)
...
- Cleanup code
2006-01-11 01:51:47 +00:00
Marcus Boerger
fa5831e7b5
- Fix a bunch of tests (not all done yet though)
2006-01-11 00:50:33 +00:00
Marcus Boerger
23d81c4630
- Fix a few error checks
2006-01-11 00:50:07 +00:00
Greg Beaver
2ca31fa63c
tests need updating, but this works with a valid 0.8.0 phar now. Additions include alias/apiversion/per-file flags in the manifest
2006-01-10 06:46:17 +00:00
Greg Beaver
106463c474
need PHP 5.1.2 because of bug in temp memory streams
2006-01-07 18:37:44 +00:00
Marcus Boerger
57c39d214d
- WS
2006-01-06 20:43:19 +00:00
Marcus Boerger
cc242b6afa
- Fix potential crash (const' type is not initialized in case of error)
2006-01-06 20:34:31 +00:00
Marcus Boerger
a4e0ddc67b
- I was missing here
2006-01-06 19:23:58 +00:00
Marcus Boerger
27dbc1d969
- Prevent overloading aliases
...
- Detect already loaded files and reuse them instead of reloading them
- Add a test for the above
2006-01-06 19:20:21 +00:00
Marcus Boerger
2de7a49fae
- No ini setting needed
2006-01-06 17:34:47 +00:00
Marcus Boerger
1431022aae
- Correct test name
2006-01-06 17:33:03 +00:00
Marcus Boerger
2490f087b4
- Fix typo and change to sizeof usage
2006-01-06 17:32:34 +00:00
Marcus Boerger
685fa28235
- Rewind stream when transferring ownership
...
- Add Phar::loadPhar + test
2006-01-06 17:23:42 +00:00
Marcus Boerger
e267d2c2d0
- And another test
2006-01-06 16:27:15 +00:00
Marcus Boerger
a4d469836d
- Add new tests
2006-01-06 16:11:54 +00:00
Marcus Boerger
fbdb432847
- Typo
2006-01-06 15:31:42 +00:00
Marcus Boerger
abd2aeb1cd
- Use temp streams internally instead of memory to reduce memory usage
...
# Internally we try to use only one temp stream if possible by stoing
# the temp stream in the manifest entry and transferring ownership upon
# usage/close. If a particular file gets opened twice in parallel we open
# a second temp stream nonetheless.
2006-01-05 22:24:41 +00:00
Marcus Boerger
f3275b2080
- Made HashTable manifest a direct member rather than a pointer
...
- Need to find a working detection for compressed phars
2006-01-05 11:32:05 +00:00
Marcus Boerger
f65ab3c1e0
- If no compression was specified and we detect compression than simply set
...
compression mode.
2006-01-05 00:55:55 +00:00
Marcus Boerger
9b3ea9bb59
- Allow simple .phar too (in that case we guess no compression)
2006-01-05 00:53:41 +00:00
Marcus Boerger
d4a400726d
- Cleanup/simplify/let configure determine whetehr we are big/little-endian
2006-01-05 00:39:31 +00:00
Greg Beaver
cd6161c9c9
add Marcus as lead
2006-01-04 17:19:04 +00:00
Marcus Boerger
8f27248fbf
- Update tests
2006-01-04 16:43:42 +00:00
Marcus Boerger
7ed3be8240
- Fix TSRM builds
2006-01-04 16:18:31 +00:00
Marcus Boerger
b72e1143d2
- More clean up (no need to export enything because one may either access
...
the stream handler tables through the streams api or use the streams
which is prefered anyway).
2006-01-04 15:50:45 +00:00
Marcus Boerger
5a45646d8b
- Clearify names
...
- Fix several memleaks
- Cache files
2006-01-04 15:27:18 +00:00
Marcus Boerger
2e6c551c5d
- Simple unlink is enough
2006-01-04 15:22:35 +00:00
Marcus Boerger
04fc3b48a2
- Fix test
2006-01-04 15:18:07 +00:00
Marcus Boerger
cb9f1be8aa
- Add myself as author
2006-01-04 13:18:31 +00:00
Sebastian Bergmann
42736d6d70
ZTS fixes.
2006-01-04 09:26:32 +00:00
Marcus Boerger
be1177259e
- Imlement normal stream handling, use .phar.php anf .phar.gz to detect
...
where the filename part ends and whether it is compressed or not
# This already allows: php ext/spl/examples/directorytree.php phar:///...
2006-01-04 02:26:15 +00:00
Marcus Boerger
971ef71874
- Add test (fails right now (why ever))
2006-01-04 02:21:22 +00:00
Marcus Boerger
32ab7543b1
- Add new test
2006-01-03 21:34:11 +00:00
Marcus Boerger
cc860105fe
- Fix two crashes in case of error
2006-01-03 16:22:23 +00:00
Marcus Boerger
e829ba3a9d
- Provide parameter info
...
- Add missing editor blocks
2006-01-03 15:59:07 +00:00
Marcus Boerger
d01c016cbd
- Change to new extension layout (drops unneccessary foward decls)
...
- Privide proto's
2006-01-03 15:50:46 +00:00
Marcus Boerger
6d079c9c82
- Class was renamed (change test names, too)
2006-01-01 23:05:42 +00:00
Marcus Boerger
1c9da67d89
- Class was renamed
2006-01-01 22:58:12 +00:00
Greg Beaver
33925b3627
PHP_Archive -> Phar to match coding standards and pecl traditions
2006-01-01 22:49:10 +00:00
Greg Beaver
98e7933f8b
fix 018/019.phpt - we need to compare the whole key, not just all but 1 char, otherwise 1-byte files/dirs are not compared
2006-01-01 22:20:26 +00:00
Marcus Boerger
f21708f0a4
- Small tweaks/cleanup/left-overs
2006-01-01 22:19:51 +00:00
Greg Beaver
4b70d45fc9
remove a host of small problems found by testing 016.phpt
2006-01-01 22:11:03 +00:00
Greg Beaver
1481746e13
test needed tweaking to pass now
2006-01-01 22:10:21 +00:00