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

621 Commits

Author SHA1 Message Date
Stefan Siegl
aa0b5fd598 Bump version to 0.2.4 2015-09-01 17:18:12 +02:00
Stefan Siegl
fa352e216f Merge pull request #163 from stesie/cache-array-tmpl
Cache pseudo-Array FunctionTemplate as well
2015-09-01 16:14:48 +02:00
Stefan Siegl
71f4b7ba05 Cache pseudo-Array FunctionTemplate as well 2015-09-01 15:53:21 +02:00
Stefan Siegl
486eb697f8 PHP7 adapt: fix getExtensions return array keys 2015-08-30 15:33:51 +02:00
Stefan Siegl
cfb1756fd7 PHP7 adapt: fix double free 2015-08-30 02:19:48 +02:00
Stefan Siegl
794da39882 PHP7 adapt: handle ZEND_WRONG_PROPERTY_INFO special ptr 2015-08-30 02:08:38 +02:00
Stefan Siegl
1e8ce5a609 PHP7 adapt fix: use zend_hash_find_ptr on ce->function_table 2015-08-30 00:53:56 +02:00
Stefan Siegl
592d6528ca PHP7 adapt: fix zend_string memory leaks 2015-08-30 00:26:55 +02:00
Stefan Siegl
19a67118b5 PHP7 adapt: fix zend_register_resource/compileString 2015-08-29 21:56:29 +02:00
Stefan Siegl
a91d2bc413 PHP7 adapt: fix registerExtension 2015-08-29 21:45:59 +02:00
Stefan Siegl
11155a6a51 PHP7 adapt: changed fatal error messages 2015-08-29 21:21:43 +02:00
Stefan Siegl
eca7656b7d PHP7 adapt: fix setModuleLoader 2015-08-29 21:00:13 +02:00
Stefan Siegl
31bafd052d c->properties is NULL anyways (due to ecalloc) 2015-08-29 20:20:09 +02:00
Stefan Siegl
b21acf770a PHP7 adapt: no fallback property_info any longer 2015-08-29 20:19:44 +02:00
Stefan Siegl
49acfc6f22 Adapt ctx_lifetime test to PHP7: changed exception handling 2015-08-29 20:19:22 +02:00
Stefan Siegl
fe7e097d10 PHP7 adapt: use zend_string 2015-08-29 20:19:04 +02:00
Stefan Siegl
a0f3c2302c PHP7 adapt: initialize c->std.handlers as needed 2015-08-29 18:52:30 +02:00
Stefan Siegl
fd6eeddc52 Adapt to PHP7 2015-08-29 17:48:26 +02:00
Stefan Siegl
5477d780a3 PHP7 adapt v8js_v8object_class.cc 2015-08-29 16:47:37 +02:00
Stefan Siegl
916e068c4a PHP7 adapt v8js_object_export.cc 2015-08-29 11:57:53 +02:00
Stefan Siegl
909e3f004d Adapt to PHP7: v8js_convert.cc, v8js_exception.cc, v8js_methods.cc 2015-08-28 21:05:16 +02:00
Stefan Siegl
31d1feb7da Bump PHP_V8JS_VERSION #define as well. 2015-08-27 16:25:59 +02:00
Stefan Siegl
3c25bb2989 Bump version to 0.2.3 2015-08-27 16:21:39 +02:00
Stefan Siegl
415b64c7e5 Merge pull request #161 from stesie/method-tmpl-cache
Cache v8::FunctionTemplates created by v8js_named_property_callback
2015-08-27 15:29:19 +02:00
Stefan Siegl
78dd0a9ff0 Cache v8::FunctionTemplates created by v8js_named_property_callback 2015-08-27 14:46:27 +02:00
Stefan Siegl
53995ac616 Make FLAG_FORCE_ARRAY not affect V8Function objects, #closes 160 2015-08-26 18:41:38 +02:00
Stefan Siegl
de0931a90b Bump version to 0.2.2 2015-08-26 11:19:26 +02:00
Stefan Siegl
264bd7024d Merge pull request #159 from stesie/issue-158
Re-use v8js_ctx context for V8Function calls, closes #158
2015-08-26 11:08:55 +02:00
Stefan Siegl
ae33f6a9ab Re-use v8js_ctx context for V8Function calls, closes #158 2015-08-26 09:38:30 +02:00
Stefan Siegl
b8c9badddb Adapt v8js_class.cc to PHP7 API 2015-08-25 23:38:09 +02:00
Stefan Siegl
e6d2de2c4f Merge pull request #157 from uniconstructor/patch-1
Readme: fixed link to Google v8 repository
2015-08-25 22:04:22 +02:00
Smirnov Ilia
96a1b3848a fixed link to Google v8 repository
fixed link to Google v8 repository (https://github.com/v8/v8 is deprecated)
2015-08-25 20:58:51 +03:00
Stefan Siegl
3fa38e7b87 v8js_class.cc pt.2 for PHP7, zend_object_store_get_object stuff & script resource 2015-08-25 00:24:04 +02:00
Stefan Siegl
a10e601af3 adapt v8js_ctx custom object creation to PHP7 API 2015-08-24 22:19:15 +02:00
Stefan Siegl
f6105ff3cf v8js_class pt.1: pending_exception, module_loader, weak_objects, jsext 2015-08-24 22:05:27 +02:00
Stefan Siegl
8e84f99830 Adapt v8js.cc to PHP7 API 2015-08-24 21:35:29 +02:00
Stefan Siegl
2d0aa9b2cc adapt PHPJS_OBJECT_KEY from zval* to zend_object* 2015-08-24 21:13:35 +02:00
Stefan Siegl
5acc64610d Adapt v8js_array_access.cc to PHP7 API 2015-08-24 20:43:24 +02:00
Stefan Siegl
8389e126b5 adapt to changed ZVAL_STRING/ZVAL_STRINGL/RETVAL_STRINGL macros 2015-08-23 21:14:49 +02:00
Stefan Siegl
45f7e18624 Remove conditional compilation for PHP_VERSION_ID < 7.0.0 2015-08-23 21:10:47 +02:00
Stefan Siegl
cef7b0beba Remove #include of no-more-existing file 2015-08-23 20:22:46 +02:00
Stefan Siegl
790735f04a Fix tests/php_exceptions_005.phpt 2015-08-23 19:30:47 +02:00
Stefan Siegl
c033000aea Fix tests/exception_propagation_2.phpt
The test relied on weird behaviour that PHP exceptions shouldn't stop
JavaScript code execution.  Since JavaScript execution is now stopped,
the JavaScript catch handler is not executed anymore.
2015-08-23 18:05:46 +02:00
Stefan Siegl
829a98e064 Mention (new) exception behaviour in README 2015-08-23 17:56:26 +02:00
Stefan Siegl
b7dde1b1db Handle thrown PHP objects, that are no exceptions 2015-08-23 17:40:27 +02:00
Stefan Siegl
f7c33539c2 Improve PHP->JS->PHP exception back propagation 2015-08-23 15:09:21 +02:00
Stefan Siegl
462eb623b3 Allow PHP exception to JS propagation 2015-08-22 15:16:02 +02:00
Stefan Siegl
f7a592052f Store flags in v8js_ctx class instead of v8 hidden value 2015-08-21 16:12:12 +02:00
Stefan Siegl
187b97060f Stop JS execution on PHP exceptions, refs #144 2015-08-21 15:55:52 +02:00
Stefan Siegl
e07ea80805 Update README.Linux.md common pitfalls
* recent V8 versions need to be compiled with snnapshot=off to be usable
* use more meaningful destination path
2015-08-19 10:46:48 +02:00