1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Commit Graph

156 Commits

Author SHA1 Message Date
Jani Taskinen 71b329c703 MFH: Fixed module loading order and made request shutdown functions also to
be loaded in reverse like all other shutdowns are.
2009-05-14 18:34:27 +00:00
Pierre Joye 95b9e430f4 - MFH: fix build 2009-05-05 10:58:24 +00:00
Pierre Joye a07b780bc6 - fix build 2009-05-04 17:08:43 +00:00
Derick Rethans 6d32ad3c1f - MFH: Fixed bug #48058 (Year formatter goes wrong with out-of-int range).
- MFH: Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
2009-05-03 18:22:59 +00:00
Sebastian Bergmann ef49b9a8de MFH: Bump copyright year, 3 of 3. 2008-12-31 11:17:49 +00:00
Derick Rethans e3388ff043 - MFH: Fixed bug #46889: Memory leak in strtotime(). 2008-12-18 14:57:04 +00:00
Derick Rethans 24a764e086 - MFH: Fixed bug #46732 (mktime.year description is wrong). 2008-12-02 18:01:58 +00:00
Derick Rethans 21490362dd - MFH: Fixed weekdays adding/subtracting algorithm.
- MFH: Fixed some ambiguities in the date parser.
- MFH: Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone()
  behave different).
- MFH: Fixed bug #43452 (strings containing a weekday, or a number plus weekday
  behaved incorrect of the current day-of-week was the same as the one in the
  phrase).
- MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed a segfault - simply a forgotten return;
2008-10-26 11:27:32 +00:00
Derick Rethans 72c5f9c02d - MFH: Memory issues
- MFH: // style comments
2008-07-08 18:02:32 +00:00
Derick Rethans 0685a79356 - Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
2008-05-02 21:36:00 +00:00
Derick Rethans 8649483a69 - Fixed bug #44703 (htmlspecialchars() does not detect bad character set
argument).
2008-04-16 17:21:46 +00:00
Derick Rethans b0b7f4eed1 - MFH: Fixed a bug in formatting timestamps when DST is active in the default
timezone.
2008-03-31 09:12:15 +00:00
Derick Rethans 3bcef3b39d - Fixed invalid read errors as found by GCOV. 2008-02-03 14:22:55 +00:00
Derick Rethans d7ae91bea7 - MFH: Make timezone_open() work again. 2008-02-02 17:26:23 +00:00
Derick Rethans da11bc2b32 - MFH Bugfixes:
- Fixed bug #43808 (date_create never fails (even when it should)).
	- Fixed bug #43527 (DateTime created from a timestamp reports environment
	  timezone).
	- Fixed bug #43003 (Invalid timezone reported for DateTime objects
	  constructed using a timestamp).
	- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator
	  invalidates DateTimeZone).
	- Fixed bug #41599 (setTime() fails after modify() is used).
2008-01-26 16:26:47 +00:00
Sebastian Bergmann d9f3a1305f MFH: Bump copyright year, 2 of 2. 2007-12-31 07:20:42 +00:00
Ilia Alshanetsky 3acbcf448f MFB: Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone) 2007-11-23 00:16:48 +00:00
Derick Rethans 7588023b65 - MFH: Missing file in previous commit. 2007-07-12 18:59:05 +00:00
Ilia Alshanetsky a6340d27ae Final shot at the date issue 2007-06-07 23:16:04 +00:00
Antony Dovgal c9805e7b92 MFH: check return value of *time_r() functions for NULL 2007-06-07 08:44:41 +00:00
Ilia Alshanetsky 594fe5c398 Fixed typo 2007-06-07 02:21:26 +00:00
Ilia Alshanetsky d02356922a Adjust previous patch to work on all compilers 2007-06-06 23:16:34 +00:00
Ilia Alshanetsky a20bba04d5 Optimize out a loop 2007-06-06 22:58:42 +00:00
Derick Rethans 35d5a196bd - Fixed bug #39416 (Milliseconds in date()). 2007-04-13 14:09:20 +00:00
Derick Rethans 2e18eb3858 - Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). 2007-04-13 08:33:48 +00:00
Michael Wallner 3db2db7159 - fix ws as requested by derick 2007-03-05 14:10:18 +00:00
Michael Wallner 87b02796d8 - fix bug #40691: add comparison object handler 2007-03-05 14:05:55 +00:00
Ilia Alshanetsky cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +00:00
Marcus Boerger 50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Derick Rethans e254f976fb - MFH: Clarify the source of the timezone data. 2007-02-14 19:35:09 +00:00
Derick Rethans 3dcf540547 - Fixed bug #40012 (php_date.c doesnt compile on Netware). 2007-01-03 14:46:23 +00:00
Sebastian Bergmann 4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky 7772e33ace Small optimization of the date() function 2006-12-22 15:21:34 +00:00
Ilia Alshanetsky 2f291233e6 Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
yields incorrect results).
2006-12-11 21:04:40 +00:00
Hannes Magnusson c263929002 MFH: throw exception on invalid parameters 2006-11-06 16:11:26 +00:00
Hannes Magnusson 91c604d584 MFH: Add "wrong param" warning to strtotime() 2006-11-03 15:06:51 +00:00
Hannes Magnusson 11c47dc510 MFH: oneliners.. 2006-11-03 14:38:45 +00:00
Hannes Magnusson 07a16d19e0 MFH: use PHP_ME_MAPPING rather than ZEND_NAMED_FE/ZEND_FN 2006-11-03 14:36:11 +00:00
Hannes Magnusson 0ce31d14f5 MFH: proots 2006-09-10 17:01:51 +00:00
Hannes Magnusson b6a5941b97 MFH: date_timezone_set() needs both arguments
MFH: throw exception in DateTimeZone::__construct() when no arguments are passed
2006-09-10 16:34:08 +00:00
Nuno Lopes 4cff5db8f4 int->zend_bool where possible 2006-09-05 12:39:20 +00:00
Michael Wallner eca5331a81 - attempt to fix #38696 2006-09-03 09:09:56 +00:00
Ilia Alshanetsky d4ff427c55 Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown
order to ensure it is shutdown before the extensions it may depend on).
2006-08-22 16:47:23 +00:00
Michael Wallner f5ea2dfac4 MFH:
- fix leak when cloning DateTimeZone, detected by Antony
 - don't fetch objects multiple times when cloning
2006-08-15 06:53:21 +00:00
Michael Wallner 8657927354 MFH: add cloning support to DateTime classes 2006-08-14 20:03:11 +00:00
Michael Wallner efa04c8a22 MFH: use library error message on time string parse failure 2006-08-01 16:45:40 +00:00
Michael Wallner 68613beb3e MFH:
- fix leaks on multiple calls to DateTime::__construct()
 - throw exception on unparseable time strings in DateTime::__construct()
2006-08-01 15:55:03 +00:00
Michael Wallner 5f7750c6e6 MFH:
- OO fixes:
  . no is_ref for objects in PHP5+
  . initialize objects when created with the `new` operator
  . check for proper initialization in child classes
 - fix typo: transistion -> transition
 - add test
2006-08-01 13:28:28 +00:00
Hannes Magnusson 3ca96c8043 Fix DateTime::RSS
Update tests
2006-07-28 16:32:31 +00:00
Derick Rethans 150d058008 - MFH: Rename date classes to DateTime and DateTimeZone 2006-07-20 15:49:02 +00:00