0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 08:11:52 +00:00
Commit Graph

1020 Commits

Author SHA1 Message Date
Stefan Siegl
22a6d35459
declare windows as officially unsupported (since currently broken anyways) 2019-06-22 19:34:55 +02:00
Stefan Siegl
af2279626e
Merge pull request #416 from stesie/issue-410
Fixes #410
2019-06-22 19:27:45 +02:00
Stefan Siegl
35398cc4e3
add zend_class_entry* to method_tmpls key, fixes #410 2019-06-22 19:15:05 +02:00
Stefan Siegl
5f7bf9900b
add test, refs #410 2019-06-22 18:59:41 +02:00
Stefan Siegl
754d29d5e1
(Vagrantfile) update to V8 7.5 2019-06-22 18:55:58 +02:00
Stefan Siegl
6ab1106201
Merge pull request #415 from stesie/fix-ftbfs-v8-extension
Fix double-free related to std::unique_ptr use
2019-06-22 01:36:43 +02:00
Stefan Siegl
bac8a966ab
(travis) use v8 7.5 2019-06-22 01:29:30 +02:00
Stefan Siegl
93a46f668f
don't manage/free v8::Extension* (v8 does that now) 2019-06-22 01:12:27 +02:00
jalr
c8be0532f4 Add use_custom_libcxx flag 2019-05-10 16:32:06 +02:00
jalr
30e2ac6fa8
Call v8::RegisterExtension using unique_ptr 2019-05-10 08:24:08 +02:00
Stefan Siegl
148bc50445
Merge pull request #385 from chrisbckr/require_return_array
Update v8js_methods.cc
2019-02-12 07:52:05 +01:00
Stefan Siegl
92a5b064ba
Merge pull request #395 from timothympace/api_updates
Handle API removal of CreateDefaultPlatform
2019-02-12 07:47:59 +01:00
Timothy Pace
68d2274297 Handle API removal of CreateDefaultPlatform 2019-02-11 12:16:35 -08:00
Christiano Becker
d36aa6c9d5 Update v8js_methods.cc
* require() method: check when Module Loader returns an array (ex: require on a .json file) and map to array to JavaScript
2018-12-03 11:30:22 -02:00
Stefan Siegl
85097c1d68
Merge open PRs into php7 2018-11-06 13:51:10 +01:00
Stefan Siegl
ee2cf34fd9
Merge branch 'patch-gitignore' of https://github.com/petk/v8js into issue-374 2018-11-06 13:34:43 +01:00
Stefan Siegl
1c4a2b9a8c
Merge branch 'patch-autoconf-ac-lang' of https://github.com/petk/v8js into issue-374 2018-11-06 13:34:22 +01:00
Stefan Siegl
e2986ea16c
Merge branch 'patch-autoconf-ac-try' of https://github.com/petk/v8js into issue-374 2018-11-06 13:33:47 +01:00
Stefan Siegl
2bf4766a6b
Merge pull request #357 from chenos/patch-1
Update README.MacOS.md
2018-11-06 13:33:02 +01:00
Stefan Siegl
dea7395e57
set v8 version accordingly 2018-11-06 13:20:30 +01:00
Stefan Siegl
4033f28543
Merge branch 'issue-374' of https://github.com/Jan-E/v8js into issue-374 2018-11-06 13:19:04 +01:00
Stefan Siegl
d2a873f99d
define box based on ppa:stesie/libv8 2018-11-06 13:17:49 +01:00
Stefan Siegl
e3e3cd53d6
Update PPA ref 2018-11-06 12:12:36 +01:00
Stefan Siegl
147d087e8a
use ppa:stesie/libv8, build against V8 7.1 2018-11-06 12:04:55 +01:00
Stefan Siegl
a67253477b
disable timezones.phpt test, currently known broken, refs #378 2018-11-06 12:02:25 +01:00
Jan-E
6fcc383c3c reintroduce iconv xml dom json-static 2018-09-14 14:58:20 +02:00
Stefan Siegl
8a1803f9b0
V8 >= 6.9 required 2018-09-14 14:03:42 +02:00
Jan-E
7d560878c9 Update to V8-7.0.276.11-vc15 2018-09-14 11:23:19 +02:00
Stefan Siegl
9c45508183
omit use of deprecated apis 2018-09-13 14:01:15 +02:00
Stefan Siegl
ab6e2267af
adapt mandatory api changes for V8 7.0.276.3, refs #374 2018-09-12 15:43:48 +02:00
Peter Kokot
06234e56c3 Replace AC_LANG_SAVE, AC_LANG_CPLUSPLUS and AC_LANG_RESTORE
Autoconf 2.50 in 2001 made several macros obsolete. These include also
macros for temporary changing the language. Instead of these the
AC_LANG_PUSH and AC_LANG_POP macros should be used with later Autoconf
versions.

Since PHP 5.4 to 7.1 require to have Autoconf 2.59+ and PHP 7.2 and
later require Autoconf 2.64+ the upgrade is fairly safe and most
systems should already be supported.

Refs:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Language-Choice.html
2018-07-21 04:48:23 +02:00
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