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
Derick Rethans
d84a4ed4ab
- Fixed bug #45696 (Not all DateTime methods allow method chaining).
2008-08-03 16:44:31 +00:00
Derick Rethans
0ae51b159e
- Fixed a bug with the YYYY-MM format not resetting the day correctly.
...
- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
relative time strings.
- Fixed return values of all the modifying methods, they now properly return
the object itself.
2008-07-30 17:48:21 +00:00
Jani Taskinen
357c16c598
ws
2008-07-30 08:13:02 +00:00
Dmitry Stogov
fbb84e37d8
Fixed memory leak
2008-07-29 12:56:18 +00:00
Derick Rethans
d4210b7a4a
- Fixed DateTime::setTimestamp() and added a test for it.
2008-07-27 19:09:37 +00:00
Derick Rethans
e8803bb0ff
- Fixed bug #45562 (Creating instance of DatePeriod crashes).
2008-07-20 20:58:35 +00:00
Derick Rethans
18a53456d3
- Country codes are ISO 3166.
2008-07-19 17:38:15 +00:00
Derick Rethans
998bd9d485
- Added support for selectively listing timezone identifiers by country code
...
through timezone_identifiers_list() / DateTimezone::listIdentifiers().
- Added timezone_location_get() / DateTimezone::getLocation() for retrieving
location information from timezones.
2008-07-18 14:33:27 +00:00
Derick Rethans
5871211091
- MF53: Fixed segfault.
2008-07-16 12:35:45 +00:00
Derick Rethans
d681181892
- Fixed reversed logic.
2008-07-14 17:38:19 +00:00
Derick Rethans
e1787110f1
- Added a warning to the error struct in case a parsed-date was found to be
...
invalid.
2008-07-14 17:30:09 +00:00
Felipe Pena
83a2c2f87c
- MFB: Added arginfo
2008-07-09 12:51:26 +00:00
Derick Rethans
d5bc2d0682
- Fixed a memleak (Original patch by Hannes Magnusson).
2008-07-08 19:29:06 +00:00