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

133 Commits

Author SHA1 Message Date
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
7887ec6475 Merge branch 'php7' into php8 2023-02-03 19:25:54 +01: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
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
4c026f3fb2 use isolate version of v8::ScriptOrigin 2022-06-01 08:07:48 +02:00
Stefan Siegl
ac2b1cb238 introduce setExceptionProxyFactory 2022-06-01 08:04:41 +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
9b3d1d1c8f remove SINCE74(...) and SINCE80(...) macro fluff 2022-05-30 14:25:37 +02:00
Albert
cb7b3dcc29 Optimize and fix test reference from @redbullmarky 2022-05-27 10:47:44 +08:00
Albert
3d64f08536 optimize redundancy code and fix some unit test 2021-08-20 20:08:45 +08:00
Stefan Siegl
8b10c81049
demo unification of PHP 8.0 code branch w/ old one 2021-08-05 11:46:17 +02:00
Albert
97cc819ade support php8 2021-06-03 09:33:51 +08:00
Stefan Siegl
e153ff1651
make it compile on PHP 7.3 and 7.4 2020-04-03 10:00:27 +02:00
Stefan Siegl
c2873fd8d3
change retval of write_property handlers, refs #409 2019-06-22 20:25:54 +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
93a46f668f
don't manage/free v8::Extension* (v8 does that now) 2019-06-22 01:12:27 +02:00
jalr
30e2ac6fa8
Call v8::RegisterExtension using unique_ptr 2019-05-10 08:24:08 +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
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
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
Stefan Siegl
313ad1e258
cleanup: remove no longer needed modules_base from ctx, refs #349 2018-02-01 19:43:36 +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
1c7e355937
allow modules to return arbitrary values 2017-11-12 16:26:18 +01:00
Stefan Siegl
e4ab07de03
Add Node.js-style "global" to global scope 2017-11-12 15:26:34 +01:00
Stefan Siegl
bd730068a2
use ObjectTemplate as base for global object 2017-11-12 15:24:30 +01:00
Stefan Siegl
7a947fe9d1
rename v8js_tmpl_t -> v8js_function_tmpl_t 2017-11-12 15:22:39 +01: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
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
Jan-E
53533cd4dd remove ZEND_ACC_CLONE 2017-06-13 18:14:12 +02:00
Stefan Siegl
ba256d4bc5 Merge pull request #314 from stesie/issue-313
Fix build against recent V8 6.0 versions
2017-05-29 23:00:34 +02:00
Stefan Siegl
4baf9e93b2
Use v8::ArrayBuffer::Allocator::NewDefaultAllocator if available
It isn't provided by older (still supported) versions of V8, keep using the shim in that case.
2017-05-29 21:44:49 +02:00
Stefan Siegl
096454fdf4
Fix deprecated API calls 2017-04-23 22:50:00 +02:00
Stefan Siegl
f02b44b3f8 make memory_limit a size_t internally 2017-03-11 17:57:33 +01:00
Stefan Siegl
d06ac983eb remove unused variable 2017-03-11 17:54:44 +01:00
Stefan Siegl
745126b5cb remove left-over TSRM stuff 2017-03-11 13:45:23 +01:00
Stefan Siegl
3e8ef5f684 remove V8JS_TSRMLS_FETCH 2017-03-11 13:43:30 +01:00
Stefan Siegl
24bb1761bf remove TSRMLS_DC, TSRMLS_CC 2017-03-11 13:35:21 +01:00
Stefan Siegl
288fe4d2a0 PHP Version 5 -> 7 2017-03-11 12:33:49 +01:00
Stefan Siegl
3761657335 update copyright years of changed files 2017-03-11 10:17:10 +01:00
Stefan Siegl
e5f57b7661 move #undef min/max to v8js_v8.h 2017-03-10 22:51:15 +01:00