0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-04-18 05:24:35 +00:00

Commit Graph

  • dde1c5a87b fix indentation. php8 Stefan Siegl 2025-01-09 22:27:19 +01:00
  • b4dc16083e enable ci-build w/ php 8.4 Stefan Siegl 2025-01-09 22:24:47 +01:00
  • 34badc6382 (tests/var_dump_php83.phpt) improve readability, change from EXPECTREGEX back to EXPECTF Stefan Siegl 2025-01-09 20:53:41 +01:00
  • 5f813c583d work-around failing test w/ alpine linux, calling setter callback twice Stefan Siegl 2025-01-09 20:21:42 +01:00
  • 00234b9dd8 (time_limit.phpt) increase loop length so time limit hits more likely on fast machines Stefan Siegl 2025-01-09 20:20:39 +01:00
  • 38c0d6b58b Fix tests/var_dump.phpt to not require certain build path, refs Stefan Siegl 2025-01-09 20:19:56 +01:00
  • c2614b5992
    update var_dump test to handle php84 and previous versions Romain Gautier 2025-01-09 10:11:25 +01:00
  • 6386e9d1cb
    adapt code to handle php 8.4 too (based on @JoshuaBehrens & @rbro work) and fix some tests Romain Gautier 2025-01-09 09:36:33 +01:00
  • 5234490839
    Merge pull request from stesie/feature/ci-test-on-alpine Stefan Siegl 2024-09-29 19:51:36 +02:00
  • eaf4b73248 skip array_access_002 test, broken on V8 11.3.244.8 Stefan Siegl 2024-09-29 19:47:13 +02:00
  • 21d6286ae0 add ci test on alpine Stefan Siegl 2024-09-29 18:20:09 +02:00
  • bf319f7620 run github action on pull/request push to php8 branch only Stefan Siegl 2024-09-29 18:11:48 +02:00
  • b763f390d3 remove stray echo statement Stefan Siegl 2024-09-29 17:59:42 +02:00
  • 56eb76bd9a Check for libnode (additional/instead of libv8) Stefan Siegl 2024-09-29 10:05:47 +02:00
  • 9f854c5343 remove remains of old travis/jenkins/vagrant testenv stuff Stefan Siegl 2024-09-28 23:59:01 +02:00
  • 01b5948a94
    Merge pull request from JoshuaBehrens/feature/ci-tests Stefan Siegl 2024-09-28 21:41:13 +02:00
  • 4605c5b21e
    Merge pull request from stesie/support-v8-12.x Stefan Siegl 2024-09-28 21:40:47 +02:00
  • 4d4eccb3ad support both V8 10.x and 12.x Stefan Siegl 2024-09-28 18:09:43 +02:00
  • fee0f81ba2
    Add test build info to readme Joshua Behrens 2024-09-28 10:58:58 +02:00
  • 29e788aa1f
    Add build cache for compiling v8 Joshua Behrens 2024-09-28 04:22:51 +02:00
  • 128495208a
    Install google depot tools with an action Joshua Behrens 2024-09-28 02:42:08 +02:00
  • aef80cd1c1
    Add github workflow to test building and testing the extension Joshua Behrens 2024-09-28 02:23:23 +02:00
  • d0c4a3614d adapt V8 12.8 interceptor signatures Stefan Siegl 2024-09-28 00:20:44 +02:00
  • 888684b483 use v8::Global instead of v8::Persistent Stefan Siegl 2024-09-27 23:27:59 +02:00
  • 73e684f4a8 fix zend_string access issues & user after free in error handling code Stefan Siegl 2024-09-27 23:02:48 +02:00
  • cba24df614 adapt v8 api change, closes Stefan Siegl 2024-09-27 22:54:17 +02:00
  • aac40cd72e
    Merge pull request from stesie/bugfix/pr-532-more-robust-scanning Stefan Siegl 2024-09-24 20:56:27 +02:00
  • d1af93e544 update build instructions Stefan Siegl 2024-09-21 00:15:10 +02:00
  • ff1b080d2c also check for c++20 standard (and drop c++1y which is too old anyways) Stefan Siegl 2024-09-20 23:27:35 +02:00
  • 303ab95a90 More robust scanning, override SEARCH_PATH by explicitly given dir Stefan Siegl 2024-09-20 23:23:04 +02:00
  • 8edc8b65d8 Add missing include Stefan Siegl 2024-09-20 21:32:27 +02:00
  • b4471849c8
    Merge pull request from JoshuaBehrens/feature/hassle-free-installation Stefan Siegl 2024-09-20 21:25:35 +02:00
  • 32aa91305d
    Allow manual path assignments still match a {lib,include} pattern Joshua Behrens 2024-09-08 01:11:00 +02:00
  • 66d155679b
    Restructure code so an always false condition is moved to skimming loop Joshua Behrens 2024-09-07 23:43:20 +02:00
  • be6e1a809a
    Add opinionated checks for installations on debian 12 and different architectures Joshua Behrens 2024-09-07 16:08:04 +02:00
  • c01f24f5e4
    Split include and lib directory variables Joshua Behrens 2024-09-07 16:05:07 +02:00
  • ccf94d83b4
    Merge pull request from jkrzefski/patch-1 Stefan Siegl 2024-08-29 08:04:18 +02:00
  • 7aa2ffb979 Update link to V8 version overview in README Julian Krzefski 2024-08-23 17:21:43 +02:00
  • 1b521b3d58
    Merge pull request from redbullmarky/php8 Stefan Siegl 2024-02-18 21:10:43 +01:00
  • 7dcff4f3c9 Fixed compile issue against V8 12 Mark Grainger 2024-02-15 08:50:27 +00:00
  • 133bf61e05
    Merge pull request from chrisbckr/php8-v8js_to_zval_check_arraybuffer Stefan Siegl 2023-02-27 12:09:49 +01:00
  • 752cbdb8ac Since ArrayBuffer has InternalFieldCount set to 2 by default, added !isArrayBuffer() and !isArrayBufferView() to ensure that is PHP object Christiano Becker 2023-02-27 08:03:22 -03:00
  • 21ed0f8ba9
    Merge pull request from chrisbckr/php8-tojson Stefan Siegl 2023-02-22 20:26:04 +01:00
  • f696867dc2 Fixed tab-based indentation Christiano Becker 2023-02-22 16:16:22 -03:00
  • 34d944a9f5 toJSON: use zend_hash_find_ptr_lc instead of ZEND_HASH_FOREACH_STR_KEY_PTR Christiano Becker 2023-02-22 16:13:13 -03:00
  • 9cb0400f90 Added tests/tojson_001.phpt Christiano Becker 2023-02-21 09:00:32 -03:00
  • c59982f129 Added toJSON Symbol that calls jsonSerialize if the php class exported implements JsonSerializable interface Christiano Becker 2023-02-21 08:55:15 -03:00
  • 752cfa1d50
    Merge pull request from chrisbckr/php8-propagate_exception_magic_methods Stefan Siegl 2023-02-20 20:20:26 +01:00
  • 35b5bff977 * Added test tests/php_exceptions_007.phpt Christiano Becker 2023-02-20 14:59:41 -03:00
  • cfa5e722fb * Propagate exception when zend_read_property reads __get and throws an exception Christiano Becker 2023-02-20 12:47:20 -03:00
  • 293a201d64
    Merge pull request from chrisbckr/php82-AllowDynamicProperties Stefan Siegl 2023-02-20 12:15:37 +01:00
  • fab7a68717 PHP 8.2 compatibility Christiano Becker 2023-02-20 08:09:13 -03:00
  • 7515dde3b1
    Merge pull request from chrisbckr/php8-test_timezone_lc Stefan Siegl 2023-02-20 11:26:24 +01:00
  • f24a8af0f5 * tests/timezones.phpt - added LC_ALL=C to prevent test failing when another locale is set as default Christiano Becker 2023-02-20 07:13:41 -03:00
  • eb61c4ddcf
    Merge pull request from redbullmarky/php8 Stefan Siegl 2023-02-19 18:58:14 +01:00
  • eb66c66cff
    Merge pull request from chrisbckr/php82-AllowDynamicProperties Stefan Siegl 2023-02-19 18:54:17 +01:00
  • 79a46804dc empty() test Mark Grainger 2023-02-18 15:12:29 +00:00
  • 1e25cc8788 segfault fix when checking with empty Mark Grainger 2023-02-18 14:58:43 +00:00
  • 83431fbd52 * Added AllowDynamicPropertis on V8Js, V8Object and V8Function * Added #[AllowDynamicProperties] on test classes that uses Dynamic Properties Christiano Becker 2023-02-18 10:18:36 -03:00
  • 7c40690ec0
    Merge pull request from marekskopal/php8_0-build-fix Stefan Siegl 2023-02-08 20:42:37 +01:00
  • e06b382bd0
    Fixed build on PHP 8.0.x Marek Skopal 2023-02-08 14:04:03 +01:00
  • 37cdb6f9cf fix build with php <8.2, refs Stefan Siegl 2023-02-03 19:38:20 +01:00
  • 1175617492 Merge branch 'rbro-patch-1' of https://github.com/rbro/v8js into php8 Stefan Siegl 2023-02-03 19:33:43 +01:00
  • 8aa6bc2357 Merge branch 'php8-exit_segfault' of https://github.com/chrisbckr/v8js into php8 Stefan Siegl 2023-02-03 19:31:07 +01:00
  • 7887ec6475 Merge branch 'php7' into php8 Stefan Siegl 2023-02-03 19:25:54 +01:00
  • fa264c9ec5 define V8_ENABLE_SANDBOX if needed php7 Stefan Siegl 2023-02-03 19:04:56 +01:00
  • 5a10dec698 When FLAG_PROPAGATE_PHP_EXCEPTIONS is set, check for unwind or graceful exit before propagate Christiano Becker 2023-01-16 17:35:07 -03:00
  • 15ed4943ad
    php 8.2 compatibility rbro 2022-12-17 17:03:01 -05:00
  • 9afd1a941e
    Merge pull request from stesie/issue-489 Stefan Siegl 2022-06-30 15:21:03 +02:00
  • 461230be27
    Merge pull request from stesie/remove-deprecated-stuff Stefan Siegl 2022-06-27 18:04:34 +02:00
  • dd536bc5ce
    Merge pull request from stesie/exception-proxy-class Stefan Siegl 2022-06-27 18:04:14 +02:00
  • 26de750e8e auto-detect V8 sandbox and call InitializeSandbox if needed Stefan Siegl 2022-06-27 18:00:49 +02:00
  • 32d8dd8dec conditionally call DisposePlatform or ShutdownPlatform Stefan Siegl 2022-06-24 22:24:52 +02:00
  • 23cc21c5b8 call InitializeSandbox Stefan Siegl 2022-06-24 21:54:08 +02:00
  • 883c9000c3 accessor signature checks are no longer supported Stefan Siegl 2022-06-24 21:47:28 +02:00
  • 19111d6514 ShutdownPlatform is DisposePlatform() now Stefan Siegl 2022-06-24 21:35:58 +02:00
  • 225c8cde63 test compiler for c++17 support Stefan Siegl 2022-06-24 21:27:33 +02:00
  • dcb583267a document how to uninstall a filter Stefan Siegl 2022-06-24 13:17:10 +02:00
  • bf51bf52a9 document (re-)throwing behaviour from exception filter Stefan Siegl 2022-06-24 13:15:40 +02:00
  • b635a16789 add test on uninstallation of exception filter Stefan Siegl 2022-06-24 12:55:08 +02:00
  • 4bfe2ef3ce rename to setExceptionFilter Stefan Siegl 2022-06-24 12:04:11 +02:00
  • 712f54113b Merge branch 'php7' of github.com:phpv8/v8js into php8 Stefan Siegl 2022-06-01 08:10:27 +02:00
  • 0754d73775
    Merge pull request from stesie/script-origin-with-isolate Stefan Siegl 2022-06-01 08:10:04 +02:00
  • 7247e9fee0 change minimum v8 version to 9.0 Stefan Siegl 2022-05-31 12:28:24 +02:00
  • 4c026f3fb2 use isolate version of v8::ScriptOrigin Stefan Siegl 2022-05-31 12:27:37 +02:00
  • abb8b6df14 Mention setExceptionProxyFactory in README Stefan Siegl 2022-05-31 16:16:30 +02:00
  • ca38f724c8 handle exceptions thrown in proxy factory Stefan Siegl 2022-05-31 16:07:57 +02:00
  • 7422ef2383 run exceptions thrown in require() through proxy factory as well Stefan Siegl 2022-05-31 15:58:47 +02:00
  • 456814703c add Throwable to string conversion testcase Stefan Siegl 2022-05-31 15:11:44 +02:00
  • ac2b1cb238 introduce setExceptionProxyFactory Stefan Siegl 2022-05-31 14:21:32 +02:00
  • 4327b4a3f9 Update MacOS instructions Stefan Siegl 2022-05-31 10:56:47 +02:00
  • bfd2bfc2df remove deprected V8Js::checkString function Stefan Siegl 2022-05-31 09:57:52 +02:00
  • f6a93c3cd6 Remove support for uncaught exceptions. Use try/catch. Stefan Siegl 2022-05-31 09:53:09 +02:00
  • fa4babb307 Remove support for V8 extensions Stefan Siegl 2022-05-31 09:35:09 +02:00
  • 2b3e904dab Merge branch 'php7' into php8 Stefan Siegl 2022-05-31 09:12:49 +02:00
  • acd9431ec9 increase minimum V8 version to 7.5 Stefan Siegl 2022-05-31 09:10:55 +02:00
  • 51d34e0acd Fix for V8 timezone notification Mark Grainger 2022-05-30 20:24:55 +00:00
  • 748310c894 Merge branch 'php7' of https://github.com/phpv8/v8js into php8 Stefan Siegl 2022-05-30 14:29:37 +02:00
  • d44530f717 remove V8_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX polyfill Stefan Siegl 2022-05-30 14:27:01 +02:00
  • 9b3d1d1c8f remove SINCE74(...) and SINCE80(...) macro fluff Stefan Siegl 2022-05-30 14:25:37 +02:00