Commit Graph

41702 Commits

Author SHA1 Message Date
Dmitry Stogov
1e2676070d Added API to use namesapces in internal extensions 2008-05-12 07:13:47 +00:00
Matt Wilmas
49800ec22c Fixed test after fixing bug #44830 2008-05-12 05:06:53 +00:00
0f1c3cf1bd ChangeLog update 2008-05-12 01:31:47 +00:00
Greg Beaver
ae789a055e increase code coverage 2008-05-12 00:45:05 +00:00
Greg Beaver
51a1d6a3b7 increase code coverage in util.c 2008-05-12 00:43:11 +00:00
Greg Beaver
e6558c56a3 increase code coverage to test mounting of phar URLs to internal file, and fix odd semi-race condition
where stream resources were not properly freed at script end
2008-05-12 00:16:59 +00:00
Greg Beaver
b3bab5022a increase code coverage 2008-05-11 23:07:12 +00:00
Greg Beaver
24efbb759b simplify phar_get_link_location and increase its coverage to 100% 2008-05-11 23:03:56 +00:00
Greg Beaver
70d0a4c045 increase code coverage and fix tiny bug in handling of absolute links 2008-05-11 22:59:16 +00:00
Greg Beaver
ad1be25d8c don't copy contents of linked/mounted files when converting an archive, and be sure to dupe mounted value 2008-05-11 22:45:03 +00:00
Greg Beaver
92f0dc842f fix test 2008-05-11 22:44:33 +00:00
Felipe Pena
d6a777349b - New tests 2008-05-11 22:44:10 +00:00
Greg Beaver
4ccf0b846e slightly increase efficiency of function interception, and ensure that nothing fails even if the archive is unlinked mid-process 2008-05-11 21:30:05 +00:00
Greg Beaver
7149523766 add safety check to prevent unlinkArchive() from being called by a file within the archive 2008-05-11 21:15:47 +00:00
Greg Beaver
5d168ad544 fix memleak 2008-05-11 20:53:38 +00:00
Greg Beaver
376deb39d6 split test into two versions for differences in parameter parsing in PHP 5.3+ 2008-05-11 19:41:45 +00:00
Greg Beaver
a0969ed78f make test version-agnostic 2008-05-11 19:37:43 +00:00
Greg Beaver
38d5943ee6 increase code coverage of funcinterceptors to 90%+, fix many bugs, fix errant wrong test condition in fgc_edgecases 2008-05-11 19:17:51 +00:00
Matt Wilmas
5ddb49caec Fixed error message typo; also removed end . to be consistent with the others 2008-05-11 11:45:31 +00:00
Sebastian Bergmann
360409b776 Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:56:12 +00:00
Sebastian Bergmann
4e27a73284 dos2unix *.phpt 2008-05-11 04:52:42 +00:00
Felipe Pena
3d7013045b - New tests 2008-05-11 03:15:13 +00:00
c28ebf6a92 ChangeLog update 2008-05-11 01:31:50 +00:00
Matt Wilmas
ff34ca0b93 Restore end check for "escape" strings (not needed for single-quoted strings as they can't have an unescaped backslash at the end) 2008-05-10 09:15:17 +00:00
6f9fecae56 ChangeLog update 2008-05-10 01:31:58 +00:00
Matt Wilmas
2ff54e368f Fix Windows newlines (missed that detail when adding :-/) 2008-05-09 14:40:31 +00:00
Felipe Pena
55978d86c1 - New tests 2008-05-09 14:11:51 +00:00
Scott MacVicar
a2ef7d48d0 Fix compile error if _GNU_SOURCE is defined 2008-05-09 12:58:50 +00:00
Matt Wilmas
77a0bed0d8 Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 11:05:34 +00:00
Matt Wilmas
6ed07458e1 Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc) 2008-05-09 10:25:42 +00:00
Matt Wilmas
f76e17331e Fixed bug #44681 (Resources used as array keys get converted to 0) 2008-05-09 09:22:21 +00:00
Ant Phillips
b6c0148fc0 Collect all the open_basedir security tests into one place 2008-05-09 08:44:44 +00:00
6aa7022b8f ChangeLog update 2008-05-09 01:31:51 +00:00
Felipe Pena
27c72fd2e1 - Fix data size 2008-05-08 17:22:07 +00:00
Felipe Pena
496099274b - Fixed detection of invalid class name 2008-05-08 16:58:43 +00:00
Felipe Pena
cb9f7f675f - Fix valgrind report (Conditional jump or move depends on uninitialised value) 2008-05-08 15:39:35 +00:00
Etienne Kneuss
abd85a3ec1 Sync spl tests with 5.3 2008-05-08 12:03:18 +00:00
Felipe Pena
77a38f1a6a - Fixed double free 2008-05-08 12:00:36 +00:00
Dmitry Stogov
7a42f42d13 Fixed test 2008-05-08 09:15:20 +00:00
Antony Dovgal
47040f4eb0 fix test 2008-05-08 07:09:03 +00:00
Matt Wilmas
c108f3a797 Remove old references to flex.skl 2008-05-08 04:52:30 +00:00
Greg Beaver
25a6be6cde fix windows build 2008-05-08 03:10:18 +00:00
Greg Beaver
53e02373d0 fix handling of mounted entries when flushing in all phars, and of deleted entries with open references in tar-based phars, do not extract mounted entries, add to test 2008-05-08 02:58:45 +00:00
250f914c42 ChangeLog update 2008-05-08 01:31:44 +00:00
Greg Beaver
a919e2f858 fix serious logic error and potential security issue with phar_compiled_file and
phar_find_in_include_path.  We were allowing data-based phars to be executed, and actually marking phar-based phar archives
without '.phar' in the name as data-based phars, which would allow modifying them even if phar.readonly=0.  Add test for this sinister case
2008-05-08 00:49:37 +00:00
Ilia Alshanetsky
5576983a3e MFB: kill unused vars 2008-05-07 23:46:11 +00:00
Greg Beaver
0773c7f6a2 fix tar extension detection in open code 2008-05-07 17:35:20 +00:00
Greg Beaver
f134a909c3 optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files 2008-05-07 17:24:22 +00:00
Antony Dovgal
ae26f18c73 no need to add this entry - it's in 5_2 already 2008-05-07 15:51:34 +00:00
David Coallier
1f292e73a5 - Added news item to the NEWS (Fixed bug 44811) 2008-05-07 15:47:04 +00:00