Nikita Popov
70b27b5ad8
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-05 18:10:04 +01:00
Christian Schmidt
9ea0949f43
Fix detection of isnan and isinf
...
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
2017-02-05 18:09:04 +01:00
Andrea Faulds
d8f27b2be8
Merge branch 'DedupNANINF'
2016-10-26 16:46:36 +01:00
Dmitry Stogov
384224276d
Enable Zend signals by default
2016-06-20 17:15:04 +03:00
Dmitry Stogov
bee4d7fd7b
Reverted chunk committed by mistake.
2016-06-20 17:11:35 +03:00
Dmitry Stogov
c622cc4446
Fixed phpdbg build without --enable-zend-signals
2016-06-20 16:32:24 +03:00
Andrea Faulds
1c1e20d771
Deduplicate NAN/INF portability, move to Zend
2016-03-20 01:32:44 +00:00
Dmitry Stogov
97f159d702
Support for XLC compiler
2015-08-10 19:12:11 +03:00
Dmitry Stogov
58c484a0bb
Fixed typo in ZEND_GCC_GLOBAL_REGS configure test (Albert)
2015-05-21 16:34:59 +03:00
Leigh
5f1b83e9bb
Improve CSPRNG implementation
2015-05-09 21:57:59 +02:00
Xinchen Hui
61e31b6e29
Fixed global register checking
2015-03-19 16:54:13 +08:00
Dmitry Stogov
a01b5f2953
Enabled global register variables for PPC
2015-03-18 16:15:00 +03:00
Dmitry Stogov
d6bb5c2cd4
GCC prior 4.8.0 may generates wrong code
2015-03-18 02:15:49 +03:00
Dmitry Stogov
fb4b706984
Enable GCC global register variables if available
2015-03-17 13:51:02 +03:00
Xinchen Hui
f54f806f4e
Remove --with-zend-vm (it doesn't work anyway)
2015-03-16 16:59:31 +08:00
Xinchen Hui
1ec6172940
Revert "Enable zend signals handler by default"
...
This reverts commit dbe7ff6df5
.
2015-03-14 01:10:17 +08:00
Xinchen Hui
dbe7ff6df5
Enable zend signals handler by default
2015-03-14 00:40:54 +08:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
8ee2a4a9b5
first shot on merging the core fro the int64 branch
2014-08-16 11:16:11 +02:00
Stanislav Malyshev
dab17da38a
make ZEND_SIGNALS configurable, off by default
...
also make ZEND_SIGNALS enabled and disabled binary-compatible
2012-02-16 01:51:45 +00:00
Ilia Alshanetsky
939875133a
Zend Signal Handling (see RFC: https://wiki.php.net/rfc/zendsignals )
...
This needs to go into 5.4 as well, but will wait for Pierre to review win32 situation
# Patch by Lucas Nealan, Arnaud Le Blanc, Brian Shire & Ilia Alshanetsky
2011-06-02 21:16:50 +00:00
Dmitry Stogov
ab93d8c621
Added multibyte suppport by default. Previosly php had to be compiled with --enable-zend-multibyte. Now it can be enabled or disabled throug zend.multibyte directive in php.ini
2010-11-24 05:41:23 +00:00
Rasmus Lerdorf
9692a3619c
Set session.entropy_file to /dev/urandom or /dev/arandom by
...
default if present at compile-time. Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Scott MacVicar
c54f6df978
Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code.
2009-08-06 01:33:54 +00:00
Matt Wilmas
b907aa4331
MFH:
...
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
* Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
* See bug #42868 (presumably-rare platform with different results in 5.2)
* On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
otherwise it's the same as 5.2
* Use this conversion method everywhere instead of some plain (long) casts
Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
* Essentially what 5.3's new conversion was doing in most cases
* Functions with "limit" or "length" type params could be updated to use this,
and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
- See bug #47854 , for example; or even #42868 again
# Test updates coming
2009-06-04 18:20:45 +00:00
Christian Seiler
04c528609a
- MFH: Changed floating point behaviour to consistently use double precision
...
on all platforms and with all compilers.
2008-12-02 16:19:10 +00:00
Rui Hirokawa
c3286f32ef
implemented again zend-multibyte for PHP 5.3
2008-06-29 08:21:35 +00:00
Rasmus Lerdorf
10afe5d96b
Make the sigsetjmp change more robust. On systems that don't have
...
sigsetjmp use setjmp. Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in
2008-03-18 21:14:28 +00:00
Marcus Boerger
af316021e8
- Rewrite scanner to be based on re2c instead of flex
...
The full patch is available as:
http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
This is against php-re2c repository version 98
An older patch against version 97 is available under:
http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Felipe Pena
af8b8480d5
Improve the Darwin 9 hack considerably and switch to using dl*() instead of NS*() on Darwin 8+. (Patch by Gwynne)
2008-03-10 15:06:04 +00:00
Dmitry Stogov
53b088e60c
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make any significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it still set to 16M.
2006-12-20 10:49:33 +00:00
Dmitry Stogov
1763dc162d
Fixed random generation of cookies and canaries
2006-12-18 11:39:19 +00:00
Dmitry Stogov
2604f21fa6
Removed unused macro USE_ZEND_ALLOC
2006-09-14 09:58:27 +00:00
Dmitry Stogov
29ed52ffa4
New memory manager
2006-07-18 09:06:33 +00:00
foobar
1c9a470cbc
reordered + added msg to configure output for PHP_ZEND_VM
2005-06-14 12:23:26 +00:00
foobar
021389c4dc
typofix
2005-06-14 11:47:57 +00:00
foobar
fb95a19824
fix standalone build
2005-06-14 11:41:48 +00:00
foobar
eaa3d6c5ec
-Moved --disable-zend-memory-manager where it belongs
2005-06-07 17:22:40 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Hartmut Holzgraefe
af14bbe455
avoid code duplication in bison version test
2005-05-29 18:04:35 +00:00
foobar
0ec872a153
- Cache the version check results
...
# ..and prepare for --enable-developer-mode
2005-02-27 12:42:28 +00:00
foobar
775cfd708e
Hack the planet
2005-02-23 07:50:28 +00:00
foobar
f180478aad
Fix cross-compile
2005-02-22 13:52:51 +00:00
foobar
640bc001e5
- Compile fix for systems without int32_t typedef
2005-02-17 04:44:52 +00:00
foobar
af1f60e601
- Compile fix for systems without uint32_t typedef
2005-01-22 20:28:17 +00:00
foobar
69eec3f3b9
MFB_4_3: Quote macro names in AC_DEFUN()
2004-12-30 07:08:39 +00:00
Moriyoshi Koizumi
dbf2c8abd5
- Don't show grep outputs
2004-11-03 23:25:33 +00:00
Moriyoshi Koizumi
ae78d7d4bf
- Checks for Darwin'ish systems that uses Mach-O, which apparently doesn't
...
support weak symbol aliasing at this time.
2004-11-03 23:05:18 +00:00
Andi Gutmans
db507dd153
- Commit the variable fetch optimization.
...
- Extensions which delete global variables need to use new special function
- delete_global_variable() (I'm about to rename it) to remove them.
- Will post to internals@ or via commit messages if there's anything else.
2004-10-04 19:54:35 +00:00
Rasmus Lerdorf
9a88c2d62c
MFB bison configure test fix
2003-10-07 22:39:54 +00:00
foobar
db50cd251e
Aligned configure help texts.
2003-10-03 05:24:33 +00:00
Stanislav Malyshev
22c6bc13c7
check for mach-o/dyld.h - needed for non-PHP ZE build
2003-09-07 13:49:15 +00:00
Masaki Fujimoto
ab9dcec292
- added script encoding support to Zend Engine 2.
...
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
'--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Stanislav Malyshev
70fff75187
Add stdlib.h too - it is needed fot strto{ld}
2003-03-20 17:41:40 +00:00
foobar
e9b5e34005
- Fixed bug #14245 ('make install' fails on AIX when using --with-apxs).
2003-02-25 06:35:43 +00:00
Zeev Suraski
4c8473d619
relabel
2003-01-19 21:37:40 +00:00
Andi Gutmans
5c12ee2474
- MFZE1
2002-11-15 14:30:40 +00:00
Andi Gutmans
f976590420
- Add \n to configure fprintf
2002-08-23 22:11:10 +00:00
foobar
c4789feffa
Fixed 3 major failures in this test:
...
1. Tests work better when they are actually run..
2. When file is opened, it should be closed sometime too.
3. AC_TRY_RUN cleans after itself (rm -f conftest.*), so it's
good idea to read the values while the file still exists.
#
# James, TEST BEFORE YOU COMMIT!!!!!!!
#
# Andi, I get these results (in Linux/i386):
#
# ZEND_MM_ALIGNMENT 4
# ZEND_MM_ALIGNMENT_LOG2 2
#
# Weren't these supposed to be 8 and 3 ?
#
2002-07-25 23:55:06 +00:00
James Cox
5626fc5a39
move testing for the alignment values into configure.
2002-07-24 17:04:11 +00:00
James Cox
79ef1c1661
ws fixes.
2002-07-24 00:50:04 +00:00
Sebastian Bergmann
1ae6ee5458
IMHO, ZTS should no longer be labeled experimental.
2002-06-24 16:10:33 +00:00
Sebastian Bergmann
79d71a17a5
MFZE1: Change default value of inline-opt to yes (Sascha).
2002-04-22 11:06:22 +00:00
Sebastian Bergmann
4345f8a0b5
MFZE1 (AIX fixes)
2001-12-11 09:17:38 +00:00
Andi Gutmans
7f66d5e99a
- Fix typo
2001-11-30 11:42:30 +00:00
Stanislav Malyshev
2a0a07b883
Add dlsym underscore detection, by Jani Taskinen
2001-08-26 15:25:55 +00:00
Zeev Suraski
609d58a4d6
Merge from branch - move to standard C scanners in thread safe mode
2001-08-06 13:48:51 +00:00
Zeev Suraski
6cf6835a4d
Add missing check
2001-05-30 08:23:15 +00:00
Zeev Suraski
260b4d0dbf
Merge memory usage into memory limit
2001-05-16 15:02:30 +00:00
Thies C. Arntzen
8ca106bffc
added --enable-memory-usage-info
2001-05-11 18:16:41 +00:00
Andi Gutmans
dde50d6afd
- Fix for Solaris.
2001-03-11 19:35:26 +00:00
Sascha Schumann
aed7d01138
We actually only need AC_PROG_LEX here.
2001-03-06 16:59:28 +00:00
Sascha Schumann
5c1724177d
-Os is a valid GCC optimization level.
2001-03-03 18:07:52 +00:00
Zeev Suraski
9e2a591ac6
Require bison 1.28
2000-10-31 14:54:16 +00:00
Sascha Schumann
99771d91ce
Remove --enable-c9x-inline option. We now use a syntax which is compatible
...
with all compilers by providing the function with static linkage in every
compilation unit.
2000-09-26 11:10:11 +00:00
Sascha Schumann
5669b2dd26
Unless overwritten, default to no optimization in debug mode.
2000-09-06 18:37:39 +00:00
Sascha Schumann
15925864b2
fp_except check for FreeBSD 1.0-2.2.5
2000-06-18 16:51:42 +00:00
Sascha Schumann
0404a02430
Welcome zend_finite(n).
...
This chooses the best combination of what is available:
finite, isfinite, isinf, isnan
2000-06-18 16:33:15 +00:00
Sascha Schumann
17fe680117
Only replaced C0X and C0x, but not c0x..
2000-06-14 07:08:08 +00:00
Sascha Schumann
35f43ad274
Rename C0x-inline to C9x-inline, and frame preprocessor directives in
...
zend_gcc_inline.c with #ifndef C9X_INLINE_SEMANTICS..#endif.
2000-06-14 07:06:33 +00:00
Sascha Schumann
df74f1dfab
Add optional support for C0x inline semantics.
...
These are enabled by specifying `--enable-c0x-inline' on the command
line. We might add an autoconf check for this particular feature
later.
2000-06-13 17:58:33 +00:00
Sascha Schumann
b4e48b952e
Clean up acconfig.h
2000-06-08 06:12:26 +00:00
Andi Gutmans
0ebb7335c9
- This should have been done for 4.0.0.
...
- Default build is without debug now. Use --enable-debug if you want a
- debug build which includes leak/memory overwrite etc. detection
2000-05-28 17:39:30 +00:00
Sascha Schumann
788feca4ae
Linking directly against libc might result in unexpected behaviour.
...
We check for dlopen in libdl first, and check then whether dlopen exists.
2000-05-05 12:17:41 +00:00
Thies C. Arntzen
8367275477
HPUX11 only has isfinite()
2000-04-17 10:39:13 +00:00
Sascha Schumann
800ffda01c
Some cleanup
2000-01-01 20:49:34 +00:00
Sascha Schumann
d93da3c1c3
Solaris' sed does not like this expression. Since -O0 is the default,
...
we can also omit it.
1999-12-30 01:13:42 +00:00
Sascha Schumann
44ffdc182f
Rename option to match description string
1999-12-23 17:48:56 +00:00
Sascha Schumann
9156d86009
Compile zend_execute.c with special CFLAGS. For GCC, INLINE_CFLAGS
...
contains -O0 to disable optimizations. This can be disabled by using
the appropiate parameter.
1999-12-23 13:29:26 +00:00
Sascha Schumann
304f1ebcb2
Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
1999-12-22 21:04:34 +00:00
Sascha Schumann
efeadf086b
Explicitly check for C++ preprocessor, otherwise autoconf forces it onto
...
us at the wrong place (subsequent autoconf checks failed).
1999-12-21 00:02:20 +00:00
Zeev Suraski
4d2b0715d1
libzend -> Zend
1999-12-19 21:02:54 +00:00