0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-14 03:48:41 +00:00
Commit Graph

249 Commits

Author SHA1 Message Date
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
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
10cd73a03d eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
Stefan Siegl
3257a86bef hold extra reference on v8 instance as long as we call into V8, closes #472 2022-05-29 21:48:47 +02:00
Albert
cb7b3dcc29 Optimize and fix test reference from @redbullmarky 2022-05-27 10:47:44 +08:00
Albert
1db8f8de5e Support PHP8.1+ 2022-05-23 15:41:57 +08:00
Albert
3d64f08536 optimize redundancy code and fix some unit test 2021-08-20 20:08:45 +08:00
Stefan Siegl
403435d0c0
relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02:00
Stefan Siegl
fcd78f830a
use EXPECTREGEX to handle different PHP version's output well 2019-06-23 19:09:12 +02:00
Stefan Siegl
5f7bf9900b
add test, refs #410 2019-06-22 18:59:41 +02:00
Stefan Siegl
a67253477b
disable timezones.phpt test, currently known broken, refs #378 2018-11-06 12:02:25 +01: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
Jan-E
61f98e2a4a extensions_error.phpt runs fine on Windows 2018-07-07 05:18:31 +02:00
Jan-E
c87ddb8ebf Fix tests for added method DateTime::createFromImmutable() 2018-07-05 11:45:03 +02:00
Stefan Siegl
48a763d6db
pass module_base directly via FunctionTemplate, closes #349 2018-02-01 19:39:26 +01:00
Stefan Siegl
7663fb6888
support native modules 2018-01-05 21:44:40 +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
Stefan Siegl
e4ab07de03
Add Node.js-style "global" to global scope 2017-11-12 15:26:34 +01:00
Stefan Siegl
4e687c3950 Merge pull request #332 from stesie/unicode-test
Unicode test
2017-09-25 17:35:57 +02:00
Stefan Siegl
3afd98ba3a Merge pull request #331 from stesie/mark-pending-exceptions-deprecated
Mark pending exceptions deprecated
2017-09-25 15:08:33 +02:00
Stefan Siegl
289e382e63
re-add module focused unicode test 2017-09-25 15:08:23 +02:00
Stefan Siegl
d6561fe7dc
fix test filename 2017-09-25 15:03:46 +02:00
Stefan Siegl
ec49c03c0f
fix test-file syntax 2017-09-25 15:03:34 +02:00
Stefan Siegl
ef90ad7065
Revert "Create unicode.php"
This reverts commit 3559f1797e.
2017-09-25 15:01:37 +02:00
Stefan Siegl
33b3ff5e1f
Revert "Renamed to unicode.phpt"
This reverts commit 202f0beefa.
2017-09-25 15:01:21 +02:00
Stefan Siegl
eba01e1088
Merge branch 'patch-2' of https://github.com/HoffmannP/v8js into php7 2017-09-25 14:50:42 +02:00
Stefan Siegl
82930c9ea9
Create deprecated warning if setting $report_uncaught_exceptions != true 2017-09-25 14:35:46 +02:00
Stefan Siegl
56e83a9fbb
mark clearPendingException & getPendingException functions deprecated 2017-09-25 14:28:16 +02:00
Stefan Siegl
22bcf85348
Write deprecation warning on non-empty $extensions array passed to V8Js::__construct 2017-09-25 14:06:33 +02:00
Stefan Siegl
9734466105
mark registerExtension & getExtensions deprecated + adapt test output 2017-09-25 13:45:19 +02:00
Peter Hoffmann
202f0beefa Renamed to unicode.phpt
added test for commonJS modules
2017-06-12 11:20:11 +02:00
Peter Hoffmann
3559f1797e Create unicode.php
Create compatibility with versions compiled without snapshot support
2017-06-12 10:37:54 +02:00
Peter Hoffmann
2c60547ece Update unicode.php
removed flagg that was misplaced and would've been useless
2017-06-12 10:11:02 +02:00
Peter Hoffmann
2fbd780771 Create test for unicode symbols
This test is created b/c the same test with extensions would fail (see #317)
2017-06-09 14:45:45 +02:00
Stefan Siegl
36f52e84d1
Add test for #316 2017-06-08 23:15:06 +02:00
Stefan Siegl
09f69caf64
Relax test to work on V8 without i18n support 2017-04-14 22:48:39 +02:00
Stefan Siegl
c957be8b2a
Initialize ICU as (meanwhile) needed 2017-04-14 21:00:31 +02:00