Nikita Popov
33adee5391
Merge branch 'PHP-7.1'
2017-02-08 01:00:52 +01:00
Nikita Popov
8417a3be38
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-08 01:00:46 +01:00
dreamsxin
7a0adb4cd2
Add #ifndef restrict
2017-02-08 01:00:35 +01:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Sammy Kaye Powers
1e3624290a
Resolve conflict
2017-01-03 08:01:05 -06:00
Joe Watkins
0788f3ed3c
Merge branch 'pull-request/2163'
...
* pull-request/2163:
import explicit_bzero + strlc* functions update since 1999 algorithms have changed and register k/w not necessary anymore.
2017-01-03 06:48:40 +00:00
Sammy Kaye Powers
9e29f841ce
Update copyright headers to 2017
2017-01-02 09:30:12 -06:00
Dmitry Stogov
6689704403
Increased number of reserved resources (from 4 to 6)
2016-12-12 11:51:12 +03:00
Anatol Belski
b204b3abd1
further normalizations, uint vs uint32_t
...
fix merge mistake
yet one more replacement run
2016-11-26 17:29:01 +01:00
Bob Weinand
e3feeba3ae
Merge branch 'PHP-7.1'
2016-11-20 19:20:48 +01:00
Bob Weinand
110a6cc6c0
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 19:20:09 +01:00
Bob Weinand
bc30206b8a
Revert "Revert "Remove a few unused write warning""
...
This reverts commit ff5a65d26b
.
(With zend_ prefix now)
2016-11-20 19:18:50 +01:00
Nikita Popov
d512f21930
Merge branch 'PHP-7.1'
2016-11-20 19:10:29 +01:00
Nikita Popov
c58378619b
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 19:10:03 +01:00
Nikita Popov
ff5a65d26b
Revert "Remove a few unused write warning (backport from master, oops)s"
...
This reverts commit c65d24eaa3
.
2016-11-20 19:09:05 +01:00
Bob Weinand
b7fee22e73
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-20 14:18:54 +01:00
Bob Weinand
c65d24eaa3
Remove a few unused write warning (backport from master, oops)s
2016-11-20 14:17:14 +01:00
Bob Weinand
d37482679a
Remove a few unused write warnings
2016-11-20 14:15:02 +01:00
Kalle Sommer Nielsen
2104bea5d7
Remove Netware support
...
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
2016-11-12 11:20:01 +01:00
David Carlier
2464dbd5f3
import explicit_bzero + strlc* functions update
...
since 1999 algorithms have changed and register k/w
not necessary anymore.
2016-10-15 14:53:38 +01:00
Andrea Faulds
1c1e20d771
Deduplicate NAN/INF portability, move to Zend
2016-03-20 01:32:44 +00:00
Anatol Belski
9ceb53b071
add proper noinline specifier for VC
2016-01-18 18:32:12 +01:00
Xinchen Hui
97a9470d97
bump year which is missed in rev 49493a2
2016-01-02 17:56:11 +08:00
Anatol Belski
c867b510df
include range checks with the portability header
2015-08-26 16:39:45 +02:00
Dmitry Stogov
c97427ea8e
Fixed typo in proper place
2015-08-19 15:45:39 +03:00
Dmitry Stogov
3350faf7e4
Fixed typo
2015-08-19 15:15:17 +03:00
Dmitry Stogov
71af54e5f6
Mark error and exception functions as "cold" (Matt's idea)
2015-08-19 14:40:56 +03:00
Dmitry Stogov
162bf9e802
Reimplemented ability to get debug info (C source file and line number) in phpdbg without hacks and ABI breaks.
2015-08-11 16:33:47 +03:00
Anatol Belski
5c98b9972f
improve ZEND_TLS declaration even more and move it to the better place
2015-07-28 16:59:53 +02:00
Anatol Belski
e6cbca77f5
use better name
2015-07-28 16:59:52 +02:00
Anatol Belski
0c08ba8be4
add ZEND_THREAD specifier
2015-07-28 16:59:50 +02:00
Bob Weinand
13525328ed
Cleanup shutdown, enable proper memory leak displaying
...
phpdbg should not memory leak...
2015-07-24 17:17:26 +02:00
Anatol Belski
3de0ae5477
fix two clang errors on Windows
2015-07-19 20:06:31 +02:00
Nikita Popov
c568ffe517
Ignore getcwd return in zend_compile
...
To do this move the php_ignore_value macro to ZEND_IGNORE_VALUE.
2015-07-16 22:48:56 +02:00
Dmitry Stogov
2a2f42c25d
Optimize out usless conditions used by specializer
2015-06-25 18:56:14 +03:00
Dmitry Stogov
f5fd58f737
Better check for __builtin_constant_p() availability
2015-06-25 12:02:28 +03:00
Bob Weinand
70e86b8766
Also try __has_builtin() where builtins are used
2015-06-22 13:24:39 +02:00
Xinchen Hui
86de98caba
Use weak function for fcgi_log
2015-05-23 19:19:48 +08:00
Kalle Sommer Nielsen
313d01f30a
Drop old VC support in Zend Engine, this also kills the remaining MessageBox fix for Windows 9x that Anatol changed a while back
2015-03-29 07:10:39 +02:00
Dmitry Stogov
e1ab2cfe1c
Introduce ZEND_ASSUME() macro to help optimizing code.
...
Reuse ZEND_ASSERT() conditions for optimization.
2015-03-24 12:21:06 +03:00
Levi Morrison
017f89e871
Move check for __builtin_expect to configure
...
This allows __builtin_expect to be used more accurately
2015-03-22 10:31:14 -06:00
Dmitry Stogov
57496c3836
This should fix compilation on OSX (bug #68987 Failed to compile zend.c with gcc-4.9.2)
2015-02-06 13:42:22 +03:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
b7eee5bfaf
added comment
2014-11-14 17:39:39 +01:00
Anatol Belski
88ba5a625c
do portable socket checks
...
also introduced a portable macro for that
2014-11-10 23:30:12 +01:00
Anatol Belski
b9f1daa976
basic clang compatibility on windows
2014-11-07 10:17:59 +01:00
Anatol Belski
3b6cd5fe4c
improved the ZEND_FASTCALL convention for vc12+
2014-11-04 10:07:44 +01:00
Anatol Belski
c45f4f5461
generalized the case with secure memory zeroing
2014-09-19 01:46:14 +02:00
Dmitry Stogov
025bc7e80a
Clang attributes support
2014-09-18 11:50:00 +04:00
Dmitry Stogov
61d37e059f
Moved some definitions from zend.h into more suitable header files
2014-09-18 04:58:04 +04:00