Commit Graph

22908 Commits

Author SHA1 Message Date
Rob Richards
97256c625f fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 2008-05-04 15:13:39 +00:00
Derick Rethans
92975a6319 - Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
2008-05-04 09:59:42 +00:00
Antony Dovgal
77403f0c94 fix folding 2008-05-04 09:33:56 +00:00
Steph Fox
c322c1a94a - Kill Windows warning when int meets short
- All tests still pass
2008-05-03 21:09:56 +00:00
Zoe Slattery
50902f0ec6 Committing corrected test from Eric Stewart 2008-05-03 20:39:07 +00:00
Etienne Kneuss
6e7d66eebd MFB: Fix #44838 (static class reference restricting overwriting) 2008-05-03 16:01:00 +00:00
Etienne Kneuss
d0577693da Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:24 +00:00
Derick Rethans
a49676e4f3 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
2008-05-03 10:59:14 +00:00
Derick Rethans
4d6933d254 - Fixed weekdays algorithm. 2008-05-03 10:03:21 +00:00
Greg Beaver
a180fcc9bc add Phar::unlinkArchive() to allow complete removal of a parsed phar archive from memory and disk 2008-05-03 02:04:24 +00:00
Antony Dovgal
9c8b9b8d1f fix build 2008-05-02 23:04:50 +00:00
Derick Rethans
7599f7384b - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:32:13 +00:00
Elizabeth Marie Smith
7a01c2c738 MFB 2008-05-02 14:10:05 +00:00
Lars Strojny
8ea8cd611a Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:12:02 +00:00
Lars Strojny
b190fdca65 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:06:27 +00:00
Derick Rethans
2352d10de2 - Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- Fixed an issue where special relative bits were not applied.
#- @DOC
2008-05-02 12:48:19 +00:00
Greg Beaver
bfbe53eeb2 refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
2008-05-02 05:05:56 +00:00
Greg Beaver
e0bc2b2be1 update TODO, re-order methods to be alphabetical, tweak extractTo to set permissions and handle NULL for files
# this also matches the docs I just committed :)
2008-05-02 04:44:39 +00:00
Derick Rethans
6205943023 - Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:14:29 +00:00
Derick Rethans
042867ecb8 - Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:00 +00:00
Ant Phillips
07dc6d94b6 open_basedir tests for directory functions 2008-05-01 12:36:44 +00:00
Ant Phillips
6946c49719 open_basedir tests for directory functions 2008-05-01 11:46:17 +00:00
Derick Rethans
b1960e2af3 - Added the DatePeriod class/iterator that iterates over a date time object
for a specific number of iterators and applies a DateInterval each time.
2008-05-01 00:10:25 +00:00
Greg Beaver
93fd16ef4d fix possible read past end of buffer by ridiculously stupid convoluted logic (I wrote it, I can call it that) reported by valgrind 2008-04-30 23:49:09 +00:00
Greg Beaver
0a3fc4faba fix unix-only valgrind issue by initializing arch 2008-04-30 23:44:30 +00:00
Greg Beaver
2b8a56779b fix cwd test in php 5.2, now all tests pass in 5.2 on unix 2008-04-30 23:06:57 +00:00
Greg Beaver
c3816a2aa0 fix test to be truly path-agnostic 2008-04-30 23:06:04 +00:00
Greg Beaver
d16f86f528 fix Bug #13786 on unix (Steph can you verify?) 2008-04-30 22:16:25 +00:00
Greg Beaver
791bb5db46 fix test (passes in PHP_5_3 on my 64-bit machine, have not yet tested in 5_2) 2008-04-30 22:12:21 +00:00
Greg Beaver
4b1409fef7 add helper file I use for debugging the front controller tests 2008-04-30 22:10:56 +00:00
Greg Beaver
73830f751f add missing file for test 2008-04-30 22:09:18 +00:00
Greg Beaver
5f4c42d301 fix double free 2008-04-30 20:17:27 +00:00
Greg Beaver
aeefda4a50 stupid cut/paste error 2008-04-30 20:14:54 +00:00
Greg Beaver
9d27fab9c4 increase code coverage to test cwd stuffs 2008-04-30 20:14:15 +00:00
Ant Phillips
b3e6072a04 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 15:20:17 +00:00
Ant Phillips
08b3473a81 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:50 +00:00
Ant Phillips
3edf8bd266 Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
2008-04-30 09:28:00 +00:00
Greg Beaver
483018e170 remove unneeded exception handling (webPhar is always within an outer zend_execute block which handles exceptions for us, this is unnecessary) 2008-04-30 02:20:48 +00:00
Steph Fox
8a970147ad - Allow setStub() to continue working
- Fix tests broken by earlier commit
2008-04-29 12:26:58 +00:00
Steph Fox
8559a2dbde - Prevent phars with empty manifests flushing to disk
- This would've fixed that test... removing clean section

@Greg: I commented out the call that breaks the Windows build, pending a decision about its future.
2008-04-29 12:06:54 +00:00
Steph Fox
7d3e9ef952 - Fix paths in test 2008-04-29 11:37:33 +00:00
Steph Fox
7762c5d204 - Add test for bug #13786 2008-04-29 10:45:23 +00:00
Ant Phillips
6b00f44934 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:18 +00:00
Dmitry Stogov
20abb52b1e Added missing lazy initialization 2008-04-29 09:18:54 +00:00
Ant Phillips
049e27a949 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:10 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Antony Dovgal
eef38c8ab3 cosmetic enhancements 2008-04-29 08:04:11 +00:00
Antony Dovgal
9c2f3fc42c fix test 2008-04-29 07:26:39 +00:00
Greg Beaver
984ea1f437 fix segfault (now all tests pass here) 2008-04-28 23:00:46 +00:00
Greg Beaver
a78fd15fae fix double free and broken stat.phpt 2008-04-28 22:57:21 +00:00