0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-14 17:38:42 +00:00
Commit Graph

70 Commits

Author SHA1 Message Date
Stefan Siegl
eb61c4ddcf
Merge pull request #506 from redbullmarky/php8
Segfault fix when using empty()
2023-02-19 18:58:14 +01:00
Mark Grainger
1e25cc8788 segfault fix when checking with empty 2023-02-18 14:58:43 +00:00
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
37cdb6f9cf fix build with php <8.2, refs #493 2023-02-03 19:38:20 +01:00
rbro
15ed4943ad
php 8.2 compatibility 2022-12-17 17:03:01 -05: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
d44530f717 remove V8_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX polyfill 2022-05-30 14:27:01 +02:00
Stefan Siegl
9b3d1d1c8f remove SINCE74(...) and SINCE80(...) macro fluff 2022-05-30 14:25:37 +02:00
Stefan Siegl
10cd73a03d eliminate PHP_VERSION_ID checks for < 80000 etc 2022-05-30 14:11:28 +02:00
Stefan Siegl
c1d3bda4dc provide get_gc obj handler 2022-05-28 22:38:48 +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
Albert
97cc819ade support php8 2021-06-03 09:33:51 +08: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