0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 16:35:19 +00:00
Commit Graph

1039 Commits

Author SHA1 Message Date
Peter Kokot
3327f2e359 Add configure.ac to .gitignore
If the phpize script is part of the PHP 7.0 or 7.1 installation there
will be generated configure.in file from the PHP source code as a
part of the old autotools files. If the phpize script is from
PHP 7.2 or above there will be a new configure.ac file generated.
This file is further used to generate the configure script.

Having these files gitignored is useful when developing the extension.
2018-07-21 03:19:07 +02:00
Peter Kokot
59c2aaad98 Replace obsolete AC_TRY_FOO with AC_FOO_IFELSE
Autoconf made several macros obsolete including the AC_TRY_RUN in 2000
and since Autoconf 2.50:
http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.2

These macros should be replaced with the current AC_FOO_IFELSE instead.

It is fairly safe to upgrade and take the recommendation advice of autoconf
upgrade manual since the upgrade should be compatible at least with PHP
versions 5.4 and up, on some systems even with PHP 5.3. PHP versions
from 5.4 to 7.1 require Autoconf 2.59+ and PHP 7.2+ require Autoconf
2.64+.

This patch was created with the help of the autoupdate script:
autoupdate config.m4

Reference docs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.59/autoconf.pdf
2018-07-21 03:03:40 +02:00
Stefan Siegl
18b79d9004
don't free interned strings, only persistent ones 2018-07-18 23:36:13 +02:00
Stefan Siegl
d4cb8f5783
Revert "don't free interned strings on PHP >= 7.3"
This reverts commit aa041b4597.
2018-07-18 23:28:42 +02:00
Stefan Siegl
e8fd9589dd
build without -Werror on travis
... so deprecation warnings won't break the build
2018-07-13 15:52:42 +02:00
Stefan Siegl
b3ddc25db1
build against V8 6.6 on travis, adapt repo path 2018-07-13 15:52:41 +02:00
Stefan Siegl
90b6b31f06
break recursion immediately on PHP <= 7.2 as well 2018-07-13 15:52:41 +02:00
Stefan Siegl
42e907c31e
Merge pull request #365 from Jan-E/appveyor_3_tests
Appveyor enable 3 extra tests
2018-07-13 14:30:17 +02:00
Stefan Siegl
4762dd1f0a
fix null-ptr deref 2018-07-13 14:21:45 +02:00
Stefan Siegl
aa041b4597
don't free interned strings on PHP >= 7.3 2018-07-13 14:19:02 +02:00
Jan-E
61f98e2a4a extensions_error.phpt runs fine on Windows 2018-07-07 05:18:31 +02:00
Jan-E
4166dd3b83 Build dom and json to enable 2 extra tests 2018-07-07 05:17:38 +02:00
Jan-E
2c9d683e86 Appveyor build 7.2 & 7.3 2018-07-05 11:46:50 +02:00
Jan-E
c87ddb8ebf Fix tests for added method DateTime::createFromImmutable() 2018-07-05 11:45:03 +02:00
Jan-E
0c2b55d802 Add GC_(UN)PROTECT_RECURSION, move (un)protecting outside loops 2018-07-05 11:41:32 +02:00
Jan-E
826aaa689c Change to GC_IS_RECURSIVE for PHP 7.3 2018-07-05 11:30:20 +02:00
Jan-E
c7019e3c1a Remove GC_G(gc_active) check 2018-07-05 11:22:17 +02:00
chenos
e13e7a7330
Update README.MacOS.md 2018-03-26 10:58:09 +08:00
Stefan Siegl
6fc0c216d8
Merge pull request #352 from stesie/issue-349
Issue 349
2018-02-01 20:31:20 +01:00
Stefan Siegl
313ad1e258
cleanup: remove no longer needed modules_base from ctx, refs #349 2018-02-01 19:43:36 +01:00
Stefan Siegl
e8fe553bde
do parallel build on "vagrant run ... build" 2018-02-01 19:43:05 +01:00
Stefan Siegl
48a763d6db
pass module_base directly via FunctionTemplate, closes #349 2018-02-01 19:39:26 +01:00
Stefan Siegl
cf5e638315
flag Patrick as active=no
... since he removed himself from Github Org.
2018-01-07 13:35:10 +01:00
Stefan Siegl
0966339539
Bump version to 2.1.0 2018-01-07 13:20:18 +01:00
Stefan Siegl
4e8251730f
emit warnings on V8 < 6.5.143 also 2018-01-07 12:43:20 +01:00
Stefan Siegl
748256681f
bump example version number to a safe one 2018-01-06 17:13:15 +01:00
Stefan Siegl
f6d004c367
mention to set-rpath, refs #335 2018-01-06 16:58:06 +01:00
Stefan Siegl
0e0720771c
Remove reference to my (outdated) binaries for Windows 2018-01-06 16:53:11 +01:00
Stefan Siegl
671099e93c
Mention "untrusted code mitigations" in README 2018-01-06 16:52:26 +01:00
Stefan Siegl
52b9aa4521
emit warning if using V8 version < 6.4.388 2018-01-06 16:52:08 +01:00
Stefan Siegl
723e71c35a
Merge pull request #348 from stesie/native-modules
support native modules
2018-01-06 14:51:05 +01:00
Stefan Siegl
7663fb6888
support native modules 2018-01-05 21:44:40 +01:00
Stefan Siegl
ea89904966
Merge pull request #347 from stesie/issue-345
Use recent V8 versions for testing
2018-01-05 20:13:25 +01:00
Stefan Siegl
c8d5e23d9b
explicitly link against stdc++ 2018-01-05 19:41:21 +01:00
Stefan Siegl
457dacf7ed
Use V8 6.4 to exec tests, as 6.3 fails on timezones.phpt
... and both 6.4 and 6.5 don't show that particular error
2018-01-05 19:41:06 +01:00
Stefan Siegl
ddfb9ec012
Use Docker w/ ubuntu:xenial base image on Travis 2018-01-05 19:05:00 +01:00
Stefan Siegl
9a1e76b592
update version numbers 2018-01-05 15:31:48 +01:00
Stefan Siegl
3af2f16e76
Run Travis tests against V8 6.3 & 6.5, refs #345 2018-01-05 15:14:48 +01:00
Stefan Siegl
cba4eb4cb8
Remove old-age V8 versions from Vagrantfile, refs #345 2018-01-05 15:12:41 +01:00
Stefan Siegl
773c119b2a
Bump version to 2.0.0 2017-11-26 15:17:53 +01:00
Stefan Siegl
a6d6ee359d
add LDFLAGS="-lstdc++" to ./configure, closes #338 #336 2017-11-26 12:37:19 +01:00
Stefan Siegl
f1e2c36a0a
Merge remote-tracking branch 'stesie/remove-compat-exceptions' into php7 2017-11-26 12:27:02 +01:00
Stefan Siegl
b12a2fb4e3
Merge remote-tracking branch 'stesie/require-exception-handling' into php7 2017-11-26 12:24:46 +01:00
Stefan Siegl
278b4fbedb
Merge remote-tracking branch 'remotes/stesie/global-object' into php7 2017-11-26 12:21:50 +01:00
Stefan Siegl
302bf1d0ff
remove v8js.compat_php_exceptions 2017-11-26 11:48:52 +01:00
Stefan Siegl
6a2f53a9f1
test "delete module.exports" 2017-11-12 16:27:50 +01:00
Stefan Siegl
1c7e355937
allow modules to return arbitrary values 2017-11-12 16:26:18 +01:00
Stefan Siegl
384ec9b1b6
use "this = module.exports" for modules 2017-11-12 16:20:24 +01:00
Stefan Siegl
f3a46ff833
re-use global context for modules + provide module.exports 2017-11-12 16:14:32 +01:00
Stefan Siegl
c20c19c126
add test so that 'this === global' 2017-11-12 15:28:44 +01:00