Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sync leading and final newlines in source code files | Peter Kokot | 2018-10-14 | 16 | -16/+0 |
| | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2 | ||||
* | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2017-09-11 | 1 | -0/+3 |
|\ | | | | | | | | | * PHP-7.0: Fixed bug #46781 (BC math handles minus zero incorrectly) | ||||
| * | Fixed bug #46781 (BC math handles minus zero incorrectly) | Christoph M. Becker | 2017-09-11 | 1 | -0/+3 |
| | | | | | | | | | | | | | | Actually, there is no negative zero at all. We obey Postel's law, and still accept negative zeroes, but we store them as positive zeroes after the conversion from string, i.e. we normalize before further processing. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2017-09-09 | 1 | -7/+15 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) | ||||
| * | Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus) | Christoph M. Becker | 2017-09-09 | 1 | -7/+15 |
| | | | | | | | | | | | | | | | | | | | | Since `bcpowmod()` does not support non-integral operands, we have to truncate these in addition to emitting a respective warning. We also have to work with the truncated values in the following. We recognize that the division by one to enforce the truncation is actually overkill, but we stick with it for now, and shall tackle the issue for PHP 7.3. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2017-09-07 | 1 | -8/+15 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1) | ||||
| * | Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1) | Christoph M. Becker | 2017-09-07 | 1 | -8/+15 |
| | | | | | | | | | | `x mod 1` is always zero; we have to take the scale into account, though. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Christoph M. Becker | 2017-09-06 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed bug #44995 (bcpowmod() fails if scale != 0) | ||||
| * | Fixed bug #44995 (bcpowmod() fails if scale != 0) | Christoph M. Becker | 2017-09-06 | 1 | -1/+1 |
| | | | | | | | | | | `bc_divmod()` is supposed to do integer division, so we must not apply a scale factor here. | ||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Xinchen Hui | 2017-04-10 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: Fixed condition check | ||||
| * | Fixed condition check | Xinchen Hui | 2017-04-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'PHP-7.0' into PHP-7.1 | Remi Collet | 2016-10-14 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | * PHP-7.0: use zend_error instead of zend_error_noreturn | ||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Remi Collet | 2016-10-14 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-5.6: use zend_error instead of zend_error_noreturn | ||||
| | * | use zend_error instead of zend_error_noreturn | Remi Collet | 2016-10-14 | 1 | -1/+1 |
| | | | |||||
| | * | Fix bug #73190: memcpy negative parameter _bc_new_num_ex | Stanislav Malyshev | 2016-10-03 | 2 | -3/+5 |
| | | | |||||
| * | | Fix bug #73190: memcpy negative parameter _bc_new_num_ex | Stanislav Malyshev | 2016-10-12 | 2 | -3/+5 |
| | | | | | | | | | | | | (cherry picked from commit 40e7baab3c90001beee4c8f0ed0ef79ad18ee0d6) | ||||
* | | | Merge branch 'PHP-7.0' into PHP-7.1 | Anatol Belski | 2016-10-14 | 2 | -3/+5 |
| | | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix bug #73190: memcpy negative parameter _bc_new_num_ex (cherry picked from commit af1bf873fe4fc70be17fa9f270e8f30666f2d2db) | ||||
* | | | fix clang compat | Anatol Belski | 2016-08-27 | 1 | -1/+1 |
|/ / | |||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 1 | -2/+2 |
| | | | | | | | | semantick changes). | ||||
* | | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 25 | -30/+30 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 12 | -81/+81 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -2/+2 |
| | | |||||
* | | Refactor bcmath | Xinchen Hui | 2014-05-05 | 2 | -29/+31 |
|/ | |||||
* | Fix Bug #60633 build warning in bcmath | Remi Collet | 2013-10-03 | 1 | -3/+0 |
| | |||||
* | config.h is in this directory, not in ext/bcmath root, fixes re-compilation ↵ | Kalle Sommer Nielsen | 2009-06-03 | 1 | -1/+1 |
| | | | | for me | ||||
* | - Revert bad fix | Jani Taskinen | 2008-08-15 | 1 | -1/+1 |
| | |||||
* | - no config.h in ext/ | Pierre Joye | 2008-08-15 | 1 | -1/+1 |
| | |||||
* | revert config header change | Rob Richards | 2007-09-11 | 1 | -1/+1 |
| | |||||
* | point to valid config header | Rob Richards | 2007-09-08 | 1 | -1/+1 |
| | |||||
* | use safe_emalloc() | Antony Dovgal | 2007-07-10 | 3 | -7/+7 |
| | |||||
* | - avoid sprintf | Marcus Boerger | 2007-02-24 | 2 | -3/+3 |
| | |||||
* | Netware also uses autoconf based config now | foobar | 2005-06-30 | 1 | -2/+0 |
| | |||||
* | - Fix outside-source-tree builds. Always include generated header files | foobar | 2005-01-09 | 1 | -1/+1 |
| | | | | | with #include <some_header.h> to make sure the correct file is used. | ||||
* | fix leak | Antony Dovgal | 2004-12-07 | 1 | -0/+1 |
| | |||||
* | - Brought ext/bcmath to the new millennium | foobar | 2003-12-09 | 2 | -16/+21 |
| | | | | | # consistency.. | ||||
* | missing config.h include | foobar | 2003-12-01 | 1 | -0/+4 |
| | |||||
* | - Fixed bug #26462 (phpize + ext/bcmath -> compile error) | foobar | 2003-11-29 | 1 | -2/+1 |
| | |||||
* | - Let's be consistent with these.. | foobar | 2003-02-17 | 2 | -3/+3 |
| | |||||
* | Fix bcmath build under win32. | Wez Furlong | 2003-02-16 | 1 | -0/+1 |
| | | | | | | # These problems occur because winsock2.h MUST be included before # windows.h. | ||||
* | revert previous commit | Harald Radi | 2003-01-16 | 1 | -4/+4 |
| | |||||
* | unbreak the build | Harald Radi | 2003-01-16 | 1 | -4/+4 |
| | |||||
* | Remove all traces of _bc_Free_list - it's not used anymore | Sander Roobol | 2002-11-29 | 3 | -0/+8 |
| | |||||
* | Portability: The header contains the declaration; while the source ↵ | Martin Kraemer | 2002-11-28 | 1 | -1/+1 |
| | | | | | | | ext/bcmath/libbcmath/src/init.c has the definition (otherwise some compilers complain about 'duplicate symbols') | ||||
* | Made bcmath extension thread safe. | Sander Roobol | 2002-11-22 | 12 | -139/+106 |
| | | | | | @Made bcmath extension thread safe. (Sander) | ||||
* | - Revert previous patch | Andi Gutmans | 2002-11-20 | 9 | -33/+33 |
| | |||||
* | - Intermediate commit which works on making bcmath thread-safe. | Andi Gutmans | 2002-11-20 | 9 | -33/+33 |
| | |||||
* | To include the NetWare config file | Anantha Kesari H Y | 2002-09-04 | 1 | -0/+2 |
| | |||||
* | Please welcome the new build system. | Sascha Schumann | 2002-03-07 | 1 | -7/+0 |
| | | | | | | | | | | If you encounter any problems, please make sure to email sas@php.net directly. An introduction can be found on http://schumann.cx/buildv5.txt | ||||
* | Whitespace | Zeev Suraski | 2001-08-11 | 1 | -2/+2 |
| | |||||
* | Separate CPPFLAGS from CFLAGS. | Wilfredo Sanchez | 2001-04-03 | 1 | -1/+2 |
| |