Commit Graph

40314 Commits

Author SHA1 Message Date
Steph Fox
618a29411d Get rid of zip requirement in the last few tests
@Greg: zip/tarmaker.inc needs a rewrite
2008-01-28 16:49:28 +00:00
Steph Fox
975a1b87af Get rid of zip requirement 2008-01-28 16:31:56 +00:00
Scott MacVicar
352c3a7f1b Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.) 2008-01-28 16:08:14 +00:00
Steph Fox
9fd5c0b438 - Moved phar_unixify_path_separators() to a single central point
- The last two VC 6 compiler warnings gone. Please test under *nix.
2008-01-28 14:39:17 +00:00
Hannes Magnusson
391c42ed65 Remove items already in 5.3 2008-01-28 11:34:23 +00:00
Nuno Lopes
2b7d0c4471 remove unused PHP_MYSQL_API macro 2008-01-28 11:16:37 +00:00
Greg Beaver
6cdabede4c remove ext/zip dependency entirely, write better native zip support
re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file
refactor entry->fp, now this is abstracted with phar_get_efp() and phar_seek_efp(), fixes all weird dependency issues
permanently solve the "millions of file pointers" issue for read access.  All compressed files are read into a single
temporary stream, and their constraints are controlled by the entry->fp abstraction

Improvements in this zip implementation over ext/zip:
 * full read/write support for bzip2 compressed files
 * much more efficient access for accessing only a few files within large zip files, as crc/header validation is
   done just-in-time
 * full stream support for opendir/rename/rmdir/mkdir as well as all of the other stream funcs
 * full support for setting file perms via Phar::chmod(), stored as zip-standard extra field
 * no problem with large zips and many open file pointers

# TODO: add big-endian system support for tar/zip file format headers, otherwise the implementation is complete
# TODO: test on windows and fix any windows-specific issues
# TODO: verify zips created work with unzip/winzip/windows explorer and so on
2008-01-28 08:52:08 +00:00
c13d905084 ChangeLog update 2008-01-28 01:31:33 +00:00
Derick Rethans
dc5f4e48ee - Fixed parsing of timestamps. 2008-01-27 22:15:59 +00:00
Hannes Magnusson
5bbb878db0 Fix test 2008-01-27 19:10:26 +00:00
Marcus Boerger
3eadc491a2 - Test went to 5.2... somehow.... very strange 2008-01-27 18:19:45 +00:00
Marcus Boerger
77d7cbaa66 - Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:54 +00:00
Derick Rethans
408a892458 - Update proto. 2008-01-27 17:44:16 +00:00
Derick Rethans
14665d9149 - Added support for selectively listing timezone identifiers through
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:28:58 +00:00
Nuno Lopes
b952c7f048 fix test 2008-01-27 17:02:01 +00:00
Nuno Lopes
875d3f15fd be more strict in the skipif 2008-01-27 16:54:02 +00:00
Nuno Lopes
85adde057e MFB: fix skipifs 2008-01-27 16:52:34 +00:00
Rob Richards
0466c8c54b add missing export 2008-01-27 16:32:37 +00:00
Marcus Boerger
f1d8a5ca60 - revert over constfying 2008-01-27 15:03:55 +00:00
Etienne Kneuss
3ee8346719 Typo 2008-01-27 14:07:54 +00:00
Etienne Kneuss
dee0ae6da5 -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:54:32 +00:00
1144a43a13 ChangeLog update 2008-01-27 01:31:29 +00:00
Etienne Kneuss
2b70f51668 Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 18:06:51 +00:00
b8ec82979e ChangeLog update 2008-01-26 01:31:34 +00:00
Steph Fox
6f95353e77 - Added is_writable() check on temp directory
- Regenerated stub and tests/nophar.phar
- Fixed tests
2008-01-26 00:12:00 +00:00
Nuno Lopes
64d4e4244a MFB: const keywording 2008-01-25 20:30:36 +00:00
Nuno Lopes
d2a2269f55 MFB: const keywording 2008-01-25 20:21:18 +00:00
Nuno Lopes
8cca6b219e MFB: const'ify 2008-01-25 20:04:44 +00:00
Nuno Lopes
7955d9a8c1 MFB: move data to const segment 2008-01-25 19:58:51 +00:00
Nuno Lopes
56173a3de8 spread some static keywords 2008-01-25 19:39:45 +00:00
Scott MacVicar
43c5d044d0 MFB: Fix html_entity_decode when converting numeric html entities, the numeric values for the extended character set don't correspond to that of windows-1251 and cp866. 2008-01-25 18:11:19 +00:00
Steph Fox
ddc051cebe - Rewrite stub to take up slightly less space
- Fix tests
- Test phars should probably be regenerated, although only one fails here currently (nophar.phar in web context)
2008-01-25 17:26:18 +00:00
Steph Fox
69afbc1099 "What helly said" 2008-01-25 16:05:26 +00:00
Rob Richards
3b37e3a80d fix win32 compile 2008-01-25 15:54:31 +00:00
Rob Richards
9f3efb0e5a fix zts build 2008-01-25 15:52:00 +00:00
Steph Fox
61c3a60815 Make all possible build combinations work under doze (external zip library) 2008-01-25 15:00:24 +00:00
Antony Dovgal
c98b4a5c68 endless loop (and stack overflow) protection in compact() 2008-01-25 13:42:24 +00:00
e92903fe9a ChangeLog update 2008-01-25 01:31:35 +00:00
Robert Nicholson
4726a6f2bc - Add a basic test for array_shuffle() 2008-01-25 00:33:00 +00:00
Robert Nicholson
38c322d3db - add some basic tests for array diff and intersection functions 2008-01-25 00:17:34 +00:00
Antony Dovgal
ea3875b62f use local header when building bundled regex engine 2008-01-24 23:01:47 +00:00
Dmitry Stogov
ca7ecde26d Fixed win32 build 2008-01-24 18:08:23 +00:00
Dmitry Stogov
306369985b Fixed compilation warnings 2008-01-24 18:08:06 +00:00
Robert Nicholson
0cf88073f0 - New tests for compact()
# compact_variation1.phpt will fail until bug #29044 is fixed
2008-01-24 14:50:18 +00:00
Rob Richards
7d17152cc2 fix zts build 2008-01-24 14:08:45 +00:00
Dmitry Stogov
5c6f61118d Increased Zend MM cache size 2008-01-24 12:21:48 +00:00
Dmitry Stogov
d328000c47 Fixed possible GC failure bacause of EG(object_store).object_buckets reallocation 2008-01-24 11:54:55 +00:00
Dmitry Stogov
dfd32b69fd Fixed GC bug 2008-01-24 10:49:44 +00:00
Derick Rethans
9613ab7a0a - Show GC statistics if GC benchmarking is enabled.
#- Discussed this with Dmitry.
2008-01-24 10:41:52 +00:00
Sara Golemon
1f035e7bb7 Fix potential crash when non-array is used optimisticly 2008-01-24 10:27:59 +00:00