0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 17:31:53 +00:00
Commit Graph

1119 Commits

Author SHA1 Message Date
Christiano Becker
cfa5e722fb * Propagate exception when zend_read_property reads __get and throws an exception 2023-02-20 14:51:40 -03:00
Stefan Siegl
293a201d64
Merge pull request #508 from chrisbckr/php82-AllowDynamicProperties
PHP 8.2 compatibility
2023-02-20 12:15:37 +01:00
Christiano Becker
fab7a68717 PHP 8.2 compatibility
* tests/array_access_002.phpt - added #[AllowDynamicProperties] to the class MyArray
* tests/js-construct-protected-ctor.phpt - some change on how pph8.2 Exepctions references the line that caused the exception, when some call have multiple lines (eg: the executeString in this test), now references the line where the command started (first line) instead of the last line.
* V8Js Object Export: added to not enumerate magic methods __serialize and __unserialize - this two methods was added to DateTime objects and was causing tests/var_dump.phpt failing.
2023-02-20 08:09:13 -03:00
Stefan Siegl
7515dde3b1
Merge pull request #507 from chrisbckr/php8-test_timezone_lc
* tests/timezones.phpt - added LC_ALL=C to prevent test failing when …
2023-02-20 11:26:24 +01:00
Christiano Becker
f24a8af0f5 * tests/timezones.phpt - added LC_ALL=C to prevent test failing when another locale is set as default 2023-02-20 07:13:41 -03:00
Stefan Siegl
eb61c4ddcf
Merge pull request #506 from redbullmarky/php8
Segfault fix when using empty()
2023-02-19 18:58:14 +01:00
Stefan Siegl
eb66c66cff
Merge pull request #505 from chrisbckr/php82-AllowDynamicProperties
* Added AllowDynamicPropertis on V8Js, V8Object and V8Function
2023-02-19 18:54:17 +01:00
Mark Grainger
79a46804dc empty() test 2023-02-18 15:12:29 +00:00
Mark Grainger
1e25cc8788 segfault fix when checking with empty 2023-02-18 14:58:43 +00:00
Christiano Becker
83431fbd52 * Added AllowDynamicPropertis on V8Js, V8Object and V8Function
* Added #[AllowDynamicProperties] on test classes that uses Dynamic Properties
2023-02-18 10:18:36 -03:00
Stefan Siegl
7c40690ec0
Merge pull request #503 from marekskopal/php8_0-build-fix
Fixed build on PHP 8.0.x
2023-02-08 20:42:37 +01:00
Marek Skopal
e06b382bd0
Fixed build on PHP 8.0.x 2023-02-08 14:04:03 +01:00
Stefan Siegl
37cdb6f9cf fix build with php <8.2, refs #493 2023-02-03 19:38:20 +01:00
Stefan Siegl
1175617492 Merge branch 'rbro-patch-1' of https://github.com/rbro/v8js into php8 2023-02-03 19:33:43 +01:00
Stefan Siegl
8aa6bc2357 Merge branch 'php8-exit_segfault' of https://github.com/chrisbckr/v8js into php8
Conflicts:
	v8js_object_export.cc
2023-02-03 19:31:07 +01:00
Stefan Siegl
7887ec6475 Merge branch 'php7' into php8 2023-02-03 19:25:54 +01:00
Stefan Siegl
fa264c9ec5 define V8_ENABLE_SANDBOX if needed 2023-02-03 19:04:56 +01:00
Christiano Becker
5a10dec698 When FLAG_PROPAGATE_PHP_EXCEPTIONS is set, check for unwind or graceful exit before propagate 2023-01-16 17:35:07 -03:00
rbro
15ed4943ad
php 8.2 compatibility 2022-12-17 17:03:01 -05:00
Stefan Siegl
9afd1a941e
Merge pull request #490 from stesie/issue-489
Support V8 10.5
2022-06-30 15:21:03 +02:00
Stefan Siegl
461230be27
Merge pull request #484 from stesie/remove-deprecated-stuff
Remove supprt for V8 extensions, uncaught exceptions & V8Js::checkString method
2022-06-27 18:04:34 +02:00
Stefan Siegl
dd536bc5ce
Merge pull request #487 from stesie/exception-proxy-class
introduce V8Js::setExceptionProxyFactory
2022-06-27 18:04:14 +02:00
Stefan Siegl
26de750e8e auto-detect V8 sandbox and call InitializeSandbox if needed 2022-06-27 18:00:49 +02:00
Stefan Siegl
32d8dd8dec conditionally call DisposePlatform or ShutdownPlatform 2022-06-24 22:24:52 +02:00
Stefan Siegl
23cc21c5b8 call InitializeSandbox 2022-06-24 21:54:08 +02:00
Stefan Siegl
883c9000c3 accessor signature checks are no longer supported 2022-06-24 21:47:28 +02:00
Stefan Siegl
19111d6514 ShutdownPlatform is DisposePlatform() now 2022-06-24 21:35:58 +02:00
Stefan Siegl
225c8cde63 test compiler for c++17 support 2022-06-24 21:27:33 +02:00
Stefan Siegl
dcb583267a document how to uninstall a filter 2022-06-24 13:17:10 +02:00
Stefan Siegl
bf51bf52a9 document (re-)throwing behaviour from exception filter 2022-06-24 13:15:40 +02:00
Stefan Siegl
b635a16789 add test on uninstallation of exception filter 2022-06-24 12:55:08 +02:00
Stefan Siegl
4bfe2ef3ce rename to setExceptionFilter 2022-06-24 12:04:11 +02:00
Stefan Siegl
712f54113b Merge branch 'php7' of github.com:phpv8/v8js into php8 2022-06-01 08:10:27 +02:00
Stefan Siegl
0754d73775
Merge pull request #486 from stesie/script-origin-with-isolate
Use Isolate-version of ScriptOrigin constructor
2022-06-01 08:10:04 +02:00
Stefan Siegl
7247e9fee0 change minimum v8 version to 9.0 2022-06-01 08:07:49 +02:00
Stefan Siegl
4c026f3fb2 use isolate version of v8::ScriptOrigin 2022-06-01 08:07:48 +02:00
Stefan Siegl
abb8b6df14 Mention setExceptionProxyFactory in README 2022-06-01 08:04:41 +02:00
Stefan Siegl
ca38f724c8 handle exceptions thrown in proxy factory 2022-06-01 08:04:41 +02:00
Stefan Siegl
7422ef2383 run exceptions thrown in require() through proxy factory as well 2022-06-01 08:04:41 +02:00
Stefan Siegl
456814703c add Throwable to string conversion testcase 2022-06-01 08:04:41 +02:00
Stefan Siegl
ac2b1cb238 introduce setExceptionProxyFactory 2022-06-01 08:04:41 +02:00
Stefan Siegl
4327b4a3f9 Update MacOS instructions 2022-05-31 10:56:47 +02:00
Stefan Siegl
bfd2bfc2df remove deprected V8Js::checkString function 2022-05-31 09:57:52 +02:00
Stefan Siegl
f6a93c3cd6 Remove support for uncaught exceptions. Use try/catch. 2022-05-31 09:53:09 +02:00
Stefan Siegl
fa4babb307 Remove support for V8 extensions 2022-05-31 09:35:09 +02:00
Stefan Siegl
2b3e904dab Merge branch 'php7' into php8 2022-05-31 09:12:49 +02:00
Stefan Siegl
acd9431ec9 increase minimum V8 version to 7.5 2022-05-31 09:10:55 +02:00
Mark Grainger
51d34e0acd Fix for V8 timezone notification 2022-05-30 20:24:55 +00:00
Stefan Siegl
748310c894 Merge branch 'php7' of https://github.com/phpv8/v8js into php8 2022-05-30 14:29:37 +02:00
Stefan Siegl
d44530f717 remove V8_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX polyfill 2022-05-30 14:27:01 +02:00