1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Commit Graph

254 Commits

Author SHA1 Message Date
Derick Rethans
3cface60c8 - Fixed bug #49059 (DateTime::diff() repeats previous sub() operation). 2010-03-07 17:25:16 +00:00
Derick Rethans
2c9de65193 - Fixed bug #40778 (DateInterval::format("%a") is always zero when an interval
is created from an ISO string).
2010-03-07 15:26:39 +00:00
Derick Rethans
ffeb100e5e - Fixed bug #50555 (DateTime::sub() allows 'relative' time modifications). 2010-03-07 13:54:46 +00:00
Pierre Joye
eaaf19bf6f - fix php_date_llabs declaration 2010-02-11 22:37:50 +00:00
Derick Rethans
50c807face - Added a test case for bug #45866
- Fixed tests: oo_002, bug46268
- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
  versions).
- Make sure faulty strings passed to DateTime::modify() notify the user.
- Revert fix for bug #50392 as it was fixed wrongly without a proper test case.
- Fixed a bug with the 'r' formatting function as the default buffer size that
  was allocated only fit 4 digit years.
2010-02-10 16:23:30 +00:00
Sebastian Bergmann
22f4ef45fe sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Jani Taskinen
d651c6e0c0 - Fixed bug #50266 (conflicting types for llabs) 2009-11-28 00:38:05 +00:00
Derick Rethans
c101789e27 - Fixed the setting of cookies. 2009-11-18 13:24:41 +00:00
Pierre Joye
c5f6749741 - #48752, crash during date parsing with invalid date 2009-10-27 10:41:45 +00:00
Dmitry Stogov
ffed322607 Fixed bug #49627 (error_log to specified file does not log time according to date.timezone) 2009-10-05 13:56:49 +00:00
Rasmus Lerdorf
5f9009963f Refix bug #49558 as per bug #49676 2009-09-26 00:53:59 +00:00
Rasmus Lerdorf
5e0e9419e2 Fix for bug #49558 for 5.2 and HEAD as well. 2009-09-15 20:34:54 +00:00
Kalle Sommer Nielsen
70e338e285 Fix compiler warnings in ext/date 2009-08-04 21:11:35 +00:00
Derick Rethans
7ef811e1df - Fixed bug #47351 (Memory leak in DateTime). 2009-06-30 16:15:43 +00:00
Ilia Alshanetsky
ac88f10ea0 Fixed bug #48678 (DateInterval segfaults when unserialising) 2009-06-25 12:41:41 +00:00
Ilia Alshanetsky
8a5511cfc8 MFB: Fixed bug #48636 (Error compiling of ext/date on netware). 2009-06-22 13:43:06 +00:00
Scott MacVicar
5345eec0b8 Fix bug #48276 - year is a long long so we need %lld so big endian systems print the correct value. 2009-06-21 22:18:53 +00:00
Hannes Magnusson
d19b44b95d MFB: Fix proto and arginfo 2009-06-21 20:41:51 +00:00
Stanislav Malyshev
30846e5d0e fix for #48247 2009-05-31 21:29:54 +00:00
Kalle Sommer Nielsen
1176635df7 Nuke newly introduced warning 2009-05-20 08:18:07 +00:00
Derick Rethans
40a477f839 - Getting rid of using the environment to guess timezone information from.
#- [DOC]
2009-05-19 19:43:44 +00:00
Hannes Magnusson
21d084a150 Partial fix for bug#48333 (DateInterval.format() expects a single,
undocumented parameter)
2009-05-19 19:23:12 +00:00
Jani Taskinen
268d8ae1da - Revert bad compile warning fix which causes compile failures with older glibc 2009-05-19 15:38:21 +00:00
Jani Taskinen
7f6657c243 - Fixed bug #48247 (PHP crashes on errors during startup)
#
# This was sum of many little things:
# 1. Wrong assumption made in order_by_dep.awk on the ordering
#    (that script was done prior to adding runtime deps..?)
# 2. request shutdown calls weren't done in reverse order like all other
#    shutdown funcs are called.
# 3. config0.m4 rename is necessary for keeping things simple.
#
2009-05-13 00:45:57 +00:00
Ilia Alshanetsky
20b2bca46a MFB: Fixed compiler warning due to llabs() function 2009-05-05 12:34:03 +00:00
Pierre Joye
5563390ed6 - cleaner fix 2009-05-04 17:11:39 +00:00
Pierre Joye
33a27b036b - fix build 2009-05-04 16:29:09 +00:00
Derick Rethans
1d7ce8919e - Added timezone_version_get() to retrieve the version of the used timezone
database.
2009-05-03 19:57:35 +00:00
Derick Rethans
9efb9daffe - Fixed bug #45682 (Unable to var_dump(DateInterval)). 2009-05-03 18:45:06 +00:00
Derick Rethans
e630833ba6 - Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:21:52 +00:00
Kalle Sommer Nielsen
3386794feb Fixed bug #48088 (Wrong ARG_INFO for OO-API of DateTime) 2009-04-27 14:21:57 +00:00
Felipe Pena
b002104e72 - Fixed bug #46108 (DateTime - Memory leak when unserializing) 2009-04-07 20:03:01 +00:00
Hannes Magnusson
fe23a6b147 Fix protos 2009-03-27 19:22:18 +00:00
Felipe Pena
b474e18f6c - Removed unused variables 2009-03-26 22:16:48 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Antony Dovgal
92f17edda7 set return_len to 0 when returning empty string and fix segfault 2009-03-20 08:38:42 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Derick Rethans
0e1277e317 - Elevate no-tz setting made from E_STRICT to E_WARNING.
#- [DOC]
2009-01-27 13:44:38 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Derick Rethans
ba76cf017e - Fixed bug #46268 (DateTime::modify() does not reset relative time
values).
2008-12-18 20:32:44 +00:00
Derick Rethans
ad6f6c9a52 - Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:54:51 +00:00
Derick Rethans
61f0a0ddd4 - Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:01:07 +00:00
Etienne Kneuss
8251921307 Fix #46241 (stacked error_handlers, error_handling in general) 2008-11-19 01:59:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Derick Rethans
35a632c14b - Export DateTime and DateTimeZone class entries so that external extensions
can make use of it as well.
2008-11-06 09:44:03 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Antony Dovgal
34b4cfd5e5 fix leak 2008-08-09 21:58:40 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00