Stefan Siegl
662e491e1f
Pass back v8 functions, don't re-wrap
2013-10-03 00:34:50 +02:00
Patrick Reilly
7f147478e1
Merge pull request #37 from stesie/fix-multi-object-inst
...
Use v8::Isolate as part of the key to the template cache
2013-10-02 14:57:14 -07:00
Stefan Siegl
bc82d13658
Add isolate to key of template cache.
2013-10-02 23:38:26 +02:00
Patrick Reilly
1f3fbae058
Merge pull request #36 from cscott/more-fixes
...
The json extension is not needed for PHP 5.4.
2013-10-02 14:17:33 -07:00
C. Scott Ananian
8e0e573d3f
The json extension is not needed for PHP 5.4.
2013-10-02 17:12:35 -04:00
Patrick Reilly
c4d155351d
Merge pull request #35 from cscott/fixes
...
Makefile fixes.
2013-10-01 15:13:00 -07:00
C. Scott Ananian
1f2eefdbea
Support compiling v8js with v8 in a custom path.
...
If you don't want to overwrite the system copy of v8 in /usr/lib/libv8.so,
you can use the --with-v8=<path> option to have php-v8js use its own
copy of libv8.
2013-10-01 18:05:36 -04:00
C. Scott Ananian
20d038fae5
Ensure that json extension is enabled when running tests.
...
The `commonjs_modules.phpt` test requires `json_encode` in order to
complete successfully.
2013-10-01 17:58:24 -04:00
Patrick Reilly
f73caf0a08
fix package
2013-09-29 20:51:41 -07:00
Patrick Reilly
622ea1e2f6
fix dirs
2013-09-29 20:41:14 -07:00
Patrick Reilly
585365a9e5
Merge branch 'master' of github.com:preillyme/v8js
2013-09-29 20:33:21 -07:00
Patrick Reilly
221b3dd70a
add more files to config
2013-09-29 20:33:04 -07:00
Patrick Reilly
d40fbb3ed1
Merge pull request #31 from stesie/test-multi-v8js-inst
...
V8Js fails if multiple instances are created using object-passing
2013-09-29 20:03:50 -07:00
Patrick Reilly
964c571b70
fix license issue
2013-09-29 20:01:33 -07:00
Stefan Siegl
e57e3eed1d
Add tests with multiple V8Js instances
2013-09-29 23:46:19 +02:00
Anatol Belski
35685ed96c
TSRM fixes
2013-09-28 21:49:58 +02:00
Anatol Belski
2520e86582
improvements to config.w32
2013-09-28 21:42:03 +02:00
Patrick Reilly
b89efab0cd
Merge branch 'master' of https://git.php.net/push/pecl/languages/v8js
2013-09-28 10:27:07 -07:00
Patrick Reilly
dc1475a3ad
updated package for beta release and switch license to MIT
2013-09-28 10:17:33 -07:00
Patrick Reilly
e58c17ad73
Merge pull request #30 from cscott/libv8-check
...
Ensure libv8 is >= 3.17.11
2013-09-28 00:53:35 -07:00
C. Scott Ananian
e508410a79
Ensure libv8 is >= 3.17.11 (fixes issue #12 ).
2013-09-28 02:48:59 -04:00
Anatol Belski
1fb0a1e049
reworked config.w32
...
the latest v8 versions won't compile with this ext, so used 3.17.15
2013-09-28 02:02:49 +02:00
Anatol Belski
9dcb92cef4
added basic config.w32
2013-09-26 17:23:32 +02:00
Anatol Belski
9cf20f01ae
removed weird chars in the file causing weird errors
2013-09-26 17:23:04 +02:00
Patrick Reilly
ebec3a64f5
Merge pull request #18 from stesie/fix-constructor-call-master
...
Allow PHP object construction from JavaScript context
2013-07-17 15:55:31 -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
Stefan Siegl
35e9fd849d
Add tests.
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
Patrick Reilly
8bf1b92683
Merge pull request #22 from stesie/add-test-regression-pr14
...
Add test for regression pointed out in pull request #14
2013-07-11 14:21:53 -07:00
Patrick Reilly
6d19d780f9
Merge pull request #23 from stesie/fix-deprecated-calls
...
Replace deprecated calls to V8 API by newer equivalents
2013-07-11 14:21:36 -07:00
Stefan Siegl
ffa42cdfaf
Replaced deprecated v8 api calls with newer equivalents
2013-07-08 00:58:19 +02:00
Patrick Reilly
1ba175673f
Merge pull request #20 from andrewtch/patch-1
...
Update README.md
2013-07-07 15:11:51 -07:00
Stefan Siegl
a3957f3844
Add test for regression pointed out in pull request #14
2013-07-07 23:04:19 +02:00
Stefan Siegl
6eeb6fe9d6
Use v8::Isolate version of v8::Context::New
2013-07-07 22:36:56 +02:00
andrewtch
f8203e1a73
Update README.md
...
Updated readme to fix #19
2013-07-07 23:29:05 +03: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
beest
a17b3c47a0
Merge pull request #16 from stesie/add-gitignore-file
...
.gitignore file.
2013-06-11 07:41:53 -07:00
Stefan Siegl
d0037b1886
Add .gitignore file.
2013-06-11 09:21:35 +02:00
Patrick Reilly
d7bded2a31
Merge pull request #14 from stesie/fix-temp-context-leak
...
Memory leak in php_v8js_v8_get_properties
2013-06-10 09:50:25 -07:00
Stefan Siegl
a951b82a40
Use persistent context + Dispose
2013-06-10 16:57:56 +02:00
Stefan Siegl
6106f46d4c
Remove leaked temp_context allocation
2013-06-08 01:44:13 +02:00
Patrick Reilly
4de01ce1cf
Merge pull request #11 from andrewtch/test-fix
...
fixed tests using absolute urls
2013-05-19 08:27:42 -07:00
Andrew Tch
de2479aca6
fixed tests using absolute urls
2013-05-19 17:56:54 +03:00
Patrick Reilly
98638c78db
fix for format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat]
2013-05-16 16:59:41 -07:00
Patrick Reilly
4a82311b4d
fix mutex issue and c++11 support on Ubuntu — remove stray EOL marker
2013-05-15 12:21:38 -07:00