Commit Graph

40531 Commits

Author SHA1 Message Date
Felipe Pena
025d27e2ab Fix test (missing result) 2008-02-11 15:57:34 +00:00
Hannes Magnusson
276a9f0cae MFB: Fix segfaults when calling ctors statically 2008-02-11 15:54:46 +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
d768076206 ChangeLog update 2008-02-11 01:31:26 +00:00
Greg Beaver
3ade59e537 update test phars 2008-02-11 01:07:53 +00:00
Johannes Schlüter
8f27b872a8 - Fix typo (see #44095) 2008-02-11 00:00:48 +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
d5a6647d4b ChangeLog update 2008-02-10 01:31:36 +00:00
Johannes Schlüter
7aad715a56 Fix build on Solaris 2008-02-09 21:58:39 +00:00
Marcus Boerger
43b623f2a2 - Windows build fix 2008-02-09 21:22:22 +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
6b5f7f915c ChangeLog update 2008-02-09 01:31:27 +00:00
Nuno Lopes
8413735505 fix ===DONE=== with windows EOLs 2008-02-08 16:47:20 +00:00
Nuno Lopes
1b7f72e555 MFB: add new test 2008-02-08 13:49:53 +00:00
Andrey Hristov
533618d2a0 Remove dead code 2008-02-08 09:57:01 +00:00
Marcus Boerger
9b5216b00a - Type 2008-02-08 09:28:15 +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
a846273359 ChangeLog update 2008-02-08 01:31:29 +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
Greg Beaver
43f2638634 better fix for invalid mem access 2008-02-08 00:58:39 +00:00
Greg Beaver
7575b012f2 fix invalid read/write if strstr() returns NULL 2008-02-08 00:55:38 +00:00
Greg Beaver
e67c584348 [DOC]
refactor the $rewrites parameter in Phar::webPhar.  Now it is a callback
that accepts the path requested.  This callback should return the actual filename
requested as a string, or false to deny access as HTTP 403.
Also fix incorrect munging of SCRIPT_NAME variable in mungServer
More importantly, Phar::webPhar now finds the filename hidden in:
http://localhost/myphar.phar/internal/file.php/extra/stuff
as 'internal/file.php' in phar 'myphar.phar' with REQUEST_URI '/internal/file.php/extra/stuff'
this will allow pharring up apps that use REQUEST_URI for front controller stuff.
2008-02-07 23:42:03 +00:00
Marcus Boerger
7329e71eb5 - Simplify 2008-02-07 18:40:44 +00:00
Marcus Boerger
602dd615e9 - Add %Z to *printf 2008-02-07 18:40:29 +00:00
Marcus Boerger
b00b0c2dca - WS 2008-02-07 18:33:20 +00:00