Commit Graph

38511 Commits

Author SHA1 Message Date
Antony Dovgal
7633511047 fix compile warnings 2008-05-04 11:26:50 +00:00
Derick Rethans
c06ab8ca23 - MFH: Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
#- @doc
2008-05-04 10:00:01 +00:00
Antony Dovgal
b5b865e667 MFH: fix folding 2008-05-04 09:34:16 +00:00
Steph Fox
fe4a9a3fc4 - Introducing nmake clean-all
- This should probably be merged with nmake clean, but I've no way to test the impact on distro builds.
2008-05-03 21:12:55 +00:00
Zoe Slattery
09aa62229a Committing corrected test from Eric Stewart 2008-05-03 20:36:36 +00:00
Felipe Pena
5bab5da3f3 BFN: #44899 2008-05-03 16:11:56 +00:00
Etienne Kneuss
57b8e83945 MFH: Fix #44484 (define SimpleXMLElement::__toString()) 2008-05-03 15:09:37 +00:00
Derick Rethans
04929019d2 - Tabs to spaces. 2008-05-03 11:08:09 +00:00
Derick Rethans
c36edb6a20 - Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
#- @doc
2008-05-03 10:59:36 +00:00
Derick Rethans
76708f3c2e - MFH: Fixed weekdays adding/subtracting algorithm. 2008-05-03 10:04:37 +00:00
Felipe Pena
a578b0cbcc - MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss) 2008-05-03 00:38:55 +00:00
Antony Dovgal
a72b8f96ed fix build 2008-05-02 23:05:05 +00:00
Derick Rethans
eb64b777fa - MFH: Fixed an issue in date() where a : was printed for the O modifier after
a P modifier was used.
2008-05-02 21:33:05 +00:00
Derick Rethans
d725401987 - Fix for bug #44870: rename() on directory deletes same named file. (Patch by
Pierre)
2008-05-02 14:07:26 +00:00
Elizabeth Marie Smith
3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Lars Strojny
0bc6920f66 Hard enabling it for Windows, readding define for UNIX [DOC] 2008-05-02 13:11:45 +00:00
Lars Strojny
7309946677 Hard enabling ext/reflection on UNIX too [DOC] 2008-05-02 13:05:42 +00:00
Derick Rethans
149848846d - MFH: Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- MFH: Fixed an issue where special relative bits were not applied.
2008-05-02 12:49:16 +00:00
Derick Rethans
97b37f253c - MFH: Rearranged some structures to allow for more powerfull period/intervals. 2008-05-01 16:15:45 +00:00
Derick Rethans
1b435af326 - MFH: Include the starting date by default in the iterator output, but add an
option to disable this behavior.
2008-05-01 13:31:22 +00:00
Ant Phillips
495ed877fc open_basedir tests for directory functions 2008-05-01 12:36:46 +00:00
Ant Phillips
98e6f9f954 open_basedir tests for directory functions 2008-05-01 11:46:18 +00:00
Derick Rethans
8c5274f479 - MFH: Added the DatePeriod class/iterator that iterates over a date time
object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though
2008-05-01 00:12:24 +00:00
Ant Phillips
ad93b947a2 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:18 +00:00
Ant Phillips
90c2cd0c37 Break up complicated rename tests into some smaller more consumable chunks 2008-04-30 13:53:52 +00:00
Dmitry Stogov
3adf158d79 IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate unnecessary checks at specialization/compilation stage 2008-04-30 10:44:08 +00:00
Ant Phillips
c55db17098 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:02 +00:00
Antony Dovgal
cacce6bc65 fix spelling 2008-04-29 13:50:27 +00:00
Dmitry Stogov
28b7529012 Fixed GC slowdown 2008-04-29 13:43:31 +00:00
Ant Phillips
cdf5621b50 More session tests to improve code coverage for untested extension code 2008-04-29 09:24:19 +00:00
Dmitry Stogov
3a86a06619 Added missing lazy initialization 2008-04-29 09:18:26 +00:00
Ant Phillips
52af9124b5 More session tests to improve code coverage for untested extension code 2008-04-29 08:57:09 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Antony Dovgal
c75658c477 MFH 2008-04-29 08:08:21 +00:00
Antony Dovgal
4489851424 fix test 2008-04-29 07:26:46 +00:00
Greg Beaver
cac1fd72ea fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path 2008-04-28 22:39:54 +00:00
Greg Beaver
c46d651b3e Fixed potentially confusing error message on failure when no errors are logged 2008-04-28 22:37:31 +00:00
Scott MacVicar
f930028751 Fix windows build 2008-04-28 13:21:34 +00:00
Jani Taskinen
69e6d23ec5 - Fix test even if safe_mode is forced to be "On" in the binary 2008-04-28 12:30:24 +00:00
Derick Rethans
357292a098 - MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
by actually meaning the week.
#- MFH: For now the week starts on Monday, but I plan on making that
#  configurable.
2008-04-27 19:14:33 +00:00
Derick Rethans
2047fa858c - Added new date/time functionality:
. support for diffing date/times through date_diff() / DateTime::diff().
  . added DateInterval class to represent the difference between two date/times.
  . support for parsing ISO intervals for use with DateInterval.
  . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
    interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).
2008-04-25 12:35:58 +00:00
Ant Phillips
c173b0454c Extra open_basedir tests 2008-04-24 16:40:54 +00:00
Steph Fox
d19418e53c - re2c requirement update
(sorry, I thought I'd committed this ages ago)
2008-04-24 16:04:59 +00:00
Dmitry Stogov
8fac72574d Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes 2008-04-24 15:45:46 +00:00
Andrey Hristov
f4e659d2af Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
2008-04-24 14:22:19 +00:00
Ant Phillips
2667f76d7b Allow for chmod() to fail on symbolic links 2008-04-24 13:58:26 +00:00
Pierre Joye
9fecb8fa60 - MFH: improve test and remove files on exit 2008-04-24 08:45:35 +00:00
Dmitry Stogov
1303c45e02 Fixed bug #44805 (rename() function is not portable to Windows). (Pierre) 2008-04-24 07:45:01 +00:00
Johannes Schlüter
1a419cac12 - MFH: Fix Windows build 2008-04-23 16:56:51 +00:00
Ant Phillips
9ae3ae064f open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches) 2008-04-23 14:10:15 +00:00