Edgar R. Sandi
ebdbebee29
pull-request/2456:
...
increase test coverage in calendar extension
consistent warnings in calendar extension
2017-04-08 11:37:10 +01:00
Anatol Belski
8bc2155bf9
bring the year back
2017-01-04 13:01:55 +01:00
Anatol Belski
0439ffa2ea
revert change in the broken file
2017-01-04 13:01:23 +01:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Joe Watkins
2d865dfd35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for calendar overflow fix
Fix integer overflow in calender.
2016-11-12 17:35:24 +00:00
Joshua Rogers
1b8cfaf23d
Fix integer overflow in calender.
...
Fix int overflows in conversation functions for calendar.
Add tests for the overflows.
2016-11-12 17:33:51 +00:00
Christoph M. Becker
09b5a453c1
Merge branch 'PHP-7.0' into PHP-7.1
2016-07-29 01:27:51 +02:00
Christoph M. Becker
293dd3d701
Merge branch 'PHP-5.6' into PHP-7.0
...
# Resolved conflicts:
# ext/calendar/calendar.c
2016-07-29 01:26:15 +02:00
Christoph M. Becker
f67ccd4a7b
Fix #71894 : AddressSanitizer: global-buffer-overflow in zif_cal_from_jd
...
Julian days < 347998 denote invalid Jewish calendar dates, so
cal_from_jd($jd, CAL_JEWISH) and jdmonthname($jd, CAL_MONTH_JEWISH) should
actually fail. For BC we don't yet let them though, but we fix the OOB read
that happens in this case, and we also adjust cal_from_jd()'s return value
to have empty strings for "abbrevdayname" and "dayname" instead of "Sun"/
"Sunday" and NULL for "dow" instead of 0, which doesn't make any sense.
2016-07-29 01:04:21 +02:00
Christoph M. Becker
28ade0e102
Merge branch 'PHP-7.0' into PHP-7.1
2016-07-28 19:25:22 +02:00
Christoph M. Becker
7c412688f4
Merge branch 'PHP-5.6' into PHP-7.0
2016-07-28 19:22:40 +02:00
Christoph M. Becker
7ab39e2fae
Fix #67976 : cal_days_month() fails for final month of the French calendar
...
The French calendar ends on 0014-13-05, so trying to calculate the Julian
day of 0015-01-01 fails. We cater to that by returning the hard-coded value.
2016-07-28 19:13:58 +02:00
Anatol Belski
a35adb8b22
fix missing header and conflicting symbol
2016-07-26 14:00:24 +02:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Anatol Belski
ec89c85054
cleaning up the version macros
2015-03-23 20:13:59 +01:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Ferenc Kovacs
c3b44b1175
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fixes #67960 - Long/short day names reversed in jddayofweek()
Conflicts:
ext/calendar/calendar.c
2015-01-02 10:16:37 +01:00
Greg Roach
244fc1e053
Fixes #67960 - Long/short day names reversed in jddayofweek()
2015-01-02 10:14:12 +01:00
Anatol Belski
7b6ed8db2f
almost all the replacements of TSRMLS_* are done
...
Some places have to be yet touched as they use different/custom
macros namings for the same. Also some places in the code became
redundant now, this is the next task. To name some: ext/mysqlnd,
sapi/embed, ext/curl and some smaller places here and there.
2014-12-14 14:22:42 +01:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
70de6180d5
fixes to %pd format usage
2014-08-24 02:35:34 +02:00
Anatol Belski
fd279836cf
ported ext/calendar
2014-08-19 10:42:01 +02:00
Anatol Belski
63d3f0b844
basic macro replacements, all at once
2014-08-19 08:07:31 +02:00
krakjoe
08c4b4736e
update for phpng
2014-05-10 10:02:33 +01:00
Dmitry Stogov
050d7e38ad
Cleanup (1-st round)
2014-04-15 15:40:40 +04:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Xinchen Hui
a666285bc2
Happy New Year
2013-01-01 16:37:09 +08:00
Stanislav Malyshev
0826d39370
some fixes for bug#54254
2012-08-07 01:48:31 -07:00
Stanislav Malyshev
ad545949d0
fix for display of Jewish month names
2012-08-07 01:48:31 -07:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +00:00
Adam Harvey
c2f2f68692
Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). Original
...
patch by gpap at internet dot gr.
2010-09-09 06:41:23 +00:00
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +00:00
Sebastian Bergmann
08659c2dcd
MFH: Bump copyright year, 3 of 3.
2008-12-31 11:15:49 +00:00
Felipe Pena
fc2fb50d09
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-11-17 11:28:01 +00:00
Felipe Pena
7a37fa2d6b
- Revert ZEND_BEGIN_ARG_INFO change
2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563
- MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro
2008-10-24 14:35:40 +00:00
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Dmitry Stogov
6c810b0d4c
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
2007-09-27 18:00:48 +00:00
Stanislav Malyshev
1fd2039fdd
fix snprintf size
...
#-1 is not needed
2007-02-16 18:32:38 +00:00
Stanislav Malyshev
f1728950fe
increase hebdate buffer, use snprintf
2007-02-16 18:24:16 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Hannes Magnusson
3104233019
MFH: arginfo, protos, vim folding
2006-06-11 01:42:17 +00:00