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

57 Commits

Author SHA1 Message Date
Stefan Siegl
c1d3bda4dc provide get_gc obj handler 2022-05-28 22:38:48 +02:00
waqasbelushi
6a7753a43a
Update v8js_v8object_class.cc 2021-04-05 17:37:28 +02:00
waqasbelushi
e648f431ac
all test passed v8 8.9 2021-04-05 17:36:59 +02:00
Stefan Siegl
e153ff1651
make it compile on PHP 7.3 and 7.4 2020-04-03 10:00:27 +02:00
Stefan Siegl
34a18fde06
Merge branch 'php7' of github.com:phpv8/v8js into php-7.4-support 2020-04-03 08:21:07 +02:00
Timothy Pace
3955409f56 Remove deprecated Context versions of ToBoolean and BooleanValue 2020-02-13 16:42:40 -08:00
Stefan Siegl
885ac6d249
prove get_property_ptr_ptr handler for v8object 2019-06-23 10:16:31 +02:00
Stefan Siegl
c2873fd8d3
change retval of write_property handlers, refs #409 2019-06-22 20:25:54 +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
Jan-E
c7019e3c1a Remove GC_G(gc_active) check 2018-07-05 11:22:17 +02:00
Stefan Siegl
4af1cca248 Merge pull request #318 from stesie/issue-316
don't clean properties hash if it is iterated
2017-06-10 12:36:05 +02:00
Stefan Siegl
1b7c593bbe
don't clean properties hash while it is iterated, fixes #316 2017-06-08 23:18:52 +02:00
Stefan Siegl
13e0b77015
Fix left-over deprecated API calls. 2017-04-24 20:43:52 +02:00
Stefan Siegl
24bb1761bf remove TSRMLS_DC, TSRMLS_CC 2017-03-11 13:35:21 +01:00
Stefan Siegl
d97832d9fb v8::Handle -> v8::Local 2017-03-11 13:31:40 +01:00
Stefan Siegl
288fe4d2a0 PHP Version 5 -> 7 2017-03-11 12:33:49 +01:00
Stefan Siegl
4a8c49bfed v8js_v8object_class: add size check + precission down cast 2017-03-11 00:09:51 +01:00
Stefan Siegl
880b17a45c Merge pull request #243 from stesie/code-cleanup
fix compiler warnings
2016-08-12 15:41:27 +02:00
Stefan Siegl
5ae48bbda7 Fix refcounting, use zval_ptr_dtor, closes #250 2016-08-12 01:02:56 +02:00
Stefan Siegl
157f34521e fix compiler warnings 2016-07-03 22:32:03 +02:00
Stefan Siegl
c459acd1ef Merge remote-tracking branch 'origin/master' into php7 2016-07-02 22:59:33 +02:00
Stefan Siegl
3278be8bee Add 'indent-tabs-mode: t' to file variables 2016-07-02 22:48:45 +02:00
Stefan Siegl
2e5a565237 Remove (meanwhile) unreferenced local variables 2016-05-26 21:53:17 +02:00
Stefan Siegl
8287a19c8d Remove conditional compilation of generator support
All supported V8 versions (>= 4.6.76) have support for JS generators,
therefore it's no longer needed.
2016-05-22 23:47:36 +02:00
Stefan Siegl
e9e90bac65 Merge remote-tracking branch 'origin/master' into php7
Conflicts:
      config.w32
      package.xml
      php_v8js_macros.h
      v8js.cc
      v8js_array_access.cc
      v8js_class.cc
      v8js_convert.cc
      v8js_exceptions.cc
      v8js_object_export.cc
      v8js_timer.cc
      v8js_v8.cc
      v8js_v8object_class.cc
2016-05-22 22:30:19 +02:00
Stefan Siegl
c804b16e4c fix compiler warnings 2016-03-26 12:11:11 +01:00
Stefan Siegl
5595c3bbd7 Fix compilation with PHP 5.5 2016-03-25 22:55:11 +01:00
Stefan Siegl
93b1118fe8 Retain object identity on JS-side 'return this' 2016-03-25 22:15:05 +01:00
Stefan Siegl
38b9c053a1 Enable V8Generator support on V8 >= 3.30.0 2016-01-08 00:12:06 +01:00
Stefan Siegl
479d14b5b0 Handle exceptions thrown in JS generators well 2016-01-07 23:12:43 +01:00
Stefan Siegl
da64b9f055 Handle rewind on primed V8Generator 2016-01-07 22:48:01 +01:00
Stefan Siegl
e686603b89 Implement direct iteration on JS generators 2016-01-07 22:41:13 +01:00
Stefan Siegl
2c7a7ab87d Implement PHP-side iteration of JS generator objects 2016-01-07 21:35:44 +01:00
Stefan Siegl
ef779d8250 minimalist V8 -> PHP generator passing 2016-01-07 20:41:40 +01:00
Stefan Siegl
98205461be Reorder includes for Visual Studio 2015, closes #194
C++ headers need to go first, since PHP headers redefine
"inline" which causes trouble with the C++ header files.
2016-01-06 09:01:35 +00:00
Stefan Siegl
a83c49266e defer bailout until std::function dtor
std::function allocates some heap memory, at least with some
implementations and expects the dtor to run.  Hence defer the
bailout until the dtor ran.
2016-01-01 19:10:04 +01:00
Stefan Siegl
2d34adb91f Merge remote-tracking branch 'origin/master'
This primarily ports features introduced with V8Js 0.4.0
to the PHP7 branch.
2015-12-31 20:25:24 +01:00
Stefan Siegl
3c5508b956 Provide correct "this" on V8Object method invocation, closes #185 2015-12-26 12:16:17 +01:00
Stefan Siegl
227ad57163 prefer V8JS_ZSTR over V8JS_STRL(Z_STRVAL), refs #180 2015-12-04 20:14:47 +01:00
Stefan Siegl
059e0500fb Merge remote-tracking branch 'origin/master' into php7 2015-11-29 12:21:40 +01:00
Matt Kynaston
a58f944804 Experiment to see if #172 is easy to fix 2015-11-03 17:35:30 +00:00
Stefan Siegl
5cba44ccd0 Merge remote-tracking branch 'origin/master' into php7
Conflicts:
	README.md
	v8js.cc
	v8js_class.cc
	v8js_exceptions.cc
	v8js_object_export.cc
	v8js_v8.cc
	v8js_v8object_class.cc
2015-10-11 02:09:59 +02:00
Stefan Siegl
cfb1756fd7 PHP7 adapt: fix double free 2015-08-30 02:19:48 +02:00
Stefan Siegl
31bafd052d c->properties is NULL anyways (due to ecalloc) 2015-08-29 20:20:09 +02:00
Stefan Siegl
a0f3c2302c PHP7 adapt: initialize c->std.handlers as needed 2015-08-29 18:52:30 +02:00
Stefan Siegl
5477d780a3 PHP7 adapt v8js_v8object_class.cc 2015-08-29 16:47:37 +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
45f7e18624 Remove conditional compilation for PHP_VERSION_ID < 7.0.0 2015-08-23 21:10:47 +02:00
Stefan Siegl
3726d233b8 return SUCCESS from PHP_MINIT_FUNCTION 2015-03-12 12:22:01 +01:00