0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-20 01:55:18 +00:00
Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Siegl
619231913c Adapt to new v8::Persistent API, support V8 >= 3.21.12 2013-10-03 16:27:04 +02:00
Stefan Siegl
662e491e1f Pass back v8 functions, don't re-wrap 2013-10-03 00:34:50 +02:00
Stefan Siegl
bc82d13658 Add isolate to key of template cache. 2013-10-02 23:38:26 +02:00
Patrick Reilly
dc1475a3ad updated package for beta release and switch license to MIT 2013-09-28 10:17:33 -07:00
Stefan Siegl
286b0d8ac0 Handle non-construct call 2013-07-12 20:23:12 +02:00
Stefan Siegl
5987d5d3da Throw exception if __construct is not public 2013-07-12 20:23:12 +02:00
Stefan Siegl
49be9aafa1 Call __construct function, if available. 2013-07-12 20:23:12 +02:00
Stefan Siegl
765666ae65 Add constructor call callback and create PHP objects as needed. 2013-07-12 20:23:12 +02:00
Patrick Reilly
347442c471 Merge pull request #17 from stesie/fix-object-creation-leak-master
v8js leaks memory if objects are returned to javascript (fix)
2013-07-11 14:22:20 -07:00
Stefan Siegl
ffa42cdfaf Replaced deprecated v8 api calls with newer equivalents 2013-07-08 00:58:19 +02:00
Stefan Siegl
ee659bdf41 Correctly attach hidden values to objects from cached templates. 2013-06-12 17:29:00 +02:00
Stefan Siegl
bc1cf7c5bb Use weak persistent handles and DELREF zval. 2013-06-12 17:26:36 +02:00
Stefan Siegl
90ed152f40 Cache and re-use v8::FunctionTemplate on object wrapping 2013-06-12 17:07:48 +02:00
Patrick Reilly
6f44220328 fix merge conflict 2013-05-09 15:55:30 -07:00
Patrick Reilly
ec8444cfda Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8 2013-05-09 15:43:27 -07:00
Patrick Reilly
de2d78a144 Always increase the zval reference count before storing it in a V8 internal field 2013-05-09 15:38:37 -07:00
Patrick Reilly
edb8609cfe Fix for https://github.com/preillyme/v8js/issues/6. This is probably …
… horrible hack but it works for now until we have a better solution.
2013-05-09 15:34:25 -07:00
Simon Best
8d8c671aa0 V8 isolates need to be passed into all variable accessor and conversion functions. 2013-04-14 00:36:05 +01:00
Simon Best
79444ce76a Use the Z_ADDREF_P macro to increasing the refcount of PHP values assigned to V8. 2013-03-24 16:30:57 +00:00
Simon Best
a23ecda69f Always increase the zval reference count before storing it in a V8 internal field. 2013-03-22 14:46:52 +00:00
Simon Best
06527cf1d9 Fix for https://github.com/preillyme/v8js/issues/6. This is probably a horrible hack but it works for now until we have a better solution. 2013-03-20 17:09:23 +00:00
Chris Johnson
b89f085888 Replaced deprecated v8 functions with newer equivalents 2013-03-17 20:46:03 -07:00
Patrick Reilly
dfbd5f0c0c Fixed build in 5.4+ 2012-07-06 17:12:53 -07:00
Dylan Arnold
157fe13c0e Fixes to build in PHP 5.4.3 2012-05-10 22:47:39 +12:00
Patrick Reilly
7593cbcc59 Update copyright information 2012-04-27 16:41:32 +00:00
preilly
30e1d22863 Initial import 2012-04-27 16:26:15 +00:00