Commit Graph

22192 Commits

Author SHA1 Message Date
Greg Beaver
22d05677c1 fix test (all tests pass on unix now) 2008-02-12 05:30:59 +00:00
Greg Beaver
3234e78ca1 fix remaining broken tests broken by the addition of phar->fp closing 2008-02-12 05:28:06 +00:00
Greg Beaver
2f1ec934af fix some of the failing tests due to non-reopened phar fp 2008-02-12 05:16:53 +00:00
Felipe Pena
fd18a414a0 MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC) 2008-02-12 01:49:42 +00:00
Stanislav Malyshev
846cb3d56e fix build 2008-02-12 01:30:58 +00:00
Felipe Pena
1573f8c01c New test 2008-02-12 01:21:29 +00:00
Stanislav Malyshev
b24e9accb7 HNY 2008-02-12 01:04:15 +00:00
Stanislav Malyshev
1a368f6f8b MFB __DIR__ constant support 2008-02-12 01:04:08 +00:00
Steph Fox
b1ed2e8059 There's a difference between 'BORKED' and 'FAILED'... 2008-02-11 21:05:47 +00:00
Steph Fox
ef46f3e3a2 Funnily enough those frontcontroller tests still pass here! Investigating... 2008-02-11 20:55:44 +00:00
Steph Fox
914c94d497 kill a couple of msvc warnings 2008-02-11 20:53:05 +00:00
Greg Beaver
ba002c5b9c revert last commit to phar_object.c
fix open file pointers issue on windows
2008-02-11 17:13:18 +00:00
Greg Beaver
4c68617106 add destructor for Phar object to decrease refcount 2008-02-11 16:49:53 +00:00
Andrey Hristov
82ad02f0cd cvs sync 2008-02-11 16:45:15 +00:00
Etienne Kneuss
781180dcd4 Provide ctod/dtor with TSRM 2008-02-11 16:38:01 +00:00
Ilia Alshanetsky
95cd0deab0 MFB:Fixed test on 64bit machines 2008-02-11 16:23:25 +00:00
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Felipe Pena
8b4f61cf00 Fix test (UEXPECTF) 2008-02-11 15:46:51 +00:00
Andrey Hristov
925c22c65b new 6.0 flag 2008-02-11 14:48:39 +00:00
Antony Dovgal
1d540b4255 this is integer, not pointer 2008-02-11 13:34:26 +00:00
Greg Beaver
d659ce7a0c fix windows pathname issues 2008-02-11 07:33:20 +00:00
Greg Beaver
8cd58822c3 fix TSRM and 5.2 build 2008-02-11 06:58:56 +00:00
Greg Beaver
ca7ae5d190 update TODO 2008-02-11 06:54:46 +00:00
Greg Beaver
d388ec586f move creation of phar archive to the point at which it is committed to disk, instead of
at the moment it is attempted access. (making some real progress now, all tests pass on unix)
2008-02-11 06:53:56 +00:00
Greg Beaver
de5238a3bc minor refactoring to remove 1 call to zend_get_executed_filename() 2008-02-11 06:49:22 +00:00
Greg Beaver
1a6fb65c83 new test for special tar-based app and more iteration test 2008-02-11 06:47:26 +00:00
Greg Beaver
78e8eb3900 major refactoring of internal handling of aliases.
1) rename is_explicit_alias to is_temporary_alias for clarity and flip the value
2) fix setAlias so that it sets a permanent to-be-saved alias, and restores the old one on error
3) fix Phar constructor to work with sub-directories in RecursiveDirectoryIterator
2008-02-11 06:46:44 +00:00
Greg Beaver
3874e12ee5 fix 5.2 build 2008-02-11 04:48:58 +00:00
Greg Beaver
3ade59e537 update test phars 2008-02-11 01:07:53 +00:00
Johannes Schlüter
6595b0dc5e The exact message differs on different systems 2008-02-10 23:36:27 +00:00
Etienne Kneuss
e370d5bccc Cosmetics, move stuff around, ws 2008-02-10 14:07:40 +00:00
Felipe Pena
9d229c7f7c Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6) 2008-02-10 04:09:12 +00:00
Felipe Pena
6420454991 New test 2008-02-10 03:55:39 +00:00
Felipe Pena
c1bdb769a0 Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode) 2008-02-10 02:13:37 +00:00
Johannes Schlüter
7aad715a56 Fix build on Solaris 2008-02-09 21:58:39 +00:00
Felipe Pena
a4363b1f7f Fixed bugs:
- #42036	fgetc() sets end of the file flag when reading on write only file
- #42037	fgetc() retuns one char when fails to read on php6
2008-02-09 19:46:49 +00:00
Felipe Pena
9619ec2317 New test for strtok 2008-02-09 18:12:45 +00:00
Andrey Hristov
533618d2a0 Remove dead code 2008-02-08 09:57:01 +00:00
Antony Dovgal
6d9453aa91 add ifdefs and fix folding 2008-02-08 09:25:02 +00:00
Antony Dovgal
271e0394d7 fix 5_3 build 2008-02-08 09:21:24 +00:00
Dmitry Stogov
cce5140cf3 Improved md5() implementation (Solar Designer) 2008-02-08 09:11:28 +00:00
Greg Beaver
19df8a4d7f fix issues in opendir() with empty directories within a phar archive, port filterparams fix to tar.c 2008-02-08 05:57:40 +00:00
Greg Beaver
15410a4f66 make maximum manifest size 100MB for phar archives, simple apps are hitting the 1 MB limit quite easily. 2008-02-08 05:56:26 +00:00
Greg Beaver
5b5c86df9f better fix for double free - ensure that SEPARATE_ZVAL() inside
zlib_filter.c actually separates the zval, then we can zval_dtor() it
properly
2008-02-08 05:41:59 +00:00
Greg Beaver
4e42110f3e remove test accidentally added 2008-02-08 05:08:18 +00:00
Greg Beaver
fa7a1779a1 remove unnecessary INIT_ZVAL(filterparams) that causes unfreed value 2008-02-08 05:05:13 +00:00
Greg Beaver
e3c64bd53b fix memory leaks. There are some leaks in libz that I can't fix, but none triggered in the current tests 2008-02-08 04:26:41 +00:00
Greg Beaver
c31f04b5f3 SEPARATE_ZVAL does not work for this situation. We always want
to duplicate and copy, so do it manually and reset refcount to 1
2008-02-08 03:53:17 +00:00
Greg Beaver
a3c910739f fix flipped logic 2008-02-08 01:08:02 +00:00
Greg Beaver
67a9fd8783 fix mem leaks
strip trailing slash if present in a directory entry.  This code assumes that
tar_type is directory, as it must be to be a valid directory.
2008-02-08 01:06:12 +00:00