0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-23 12:41:53 +00:00
Commit Graph

773 Commits

Author SHA1 Message Date
Stefan Siegl
06ffe20fcf Adapt build flags for VC12 + debug build 2014-11-13 00:24:39 +01:00
Stefan Siegl
ad09ee0993 Undefine COMPILER symbol 2014-11-12 23:17:02 +00:00
Stefan Siegl
8d8aed1e72 Reject V8Function passback to wrong isolate, closes #116 2014-10-31 23:35:28 +00:00
Stefan Siegl
3145ea0323 Set hidden data also on already know weak objects, closes #121 2014-10-30 22:02:13 +00:00
Stefan Siegl
a9d7dbda45 Syntax highlight API stuff 2014-10-23 22:57:26 +02:00
Stefan Siegl
30119a877a Link to Debian packages, fix Jenkins link 2014-10-23 22:55:12 +02:00
Stefan Siegl
aad9941045 Merge pull request #120 from k2s/v8build_fix
fix V8 build instructions
2014-10-23 22:51:48 +02:00
Martin Minka
170b31398a fix V8 build instructions 2014-10-23 09:42:59 +02:00
Stefan Siegl
fb4ada80a3 Merge branch 'testcov-php_v8js_v8_write_property' 2014-10-19 18:02:30 +00:00
Stefan Siegl
edc62b5d7d Merge branch 'testcov-php_v8js_v8_unset_property' 2014-10-19 18:02:23 +00:00
Stefan Siegl
77a43636a0 Merge branch 'testcov-php_v8js_v8_has_property' 2014-10-19 18:02:11 +00:00
Stefan Siegl
6f27688e9e ignore vim swapfiles 2014-10-19 15:18:09 +00:00
Stefan Siegl
a2604e2749 Add test on php_v8js_v8_unset_property. 2014-10-19 15:15:20 +00:00
Stefan Siegl
f8fc35d4c6 Add test on php_v8js_v8_write_property. 2014-10-19 15:03:29 +00:00
Stefan Siegl
492f87cd5b Test exception branch of php_v8js_v8_has_property. 2014-10-19 14:48:11 +00:00
Stefan Siegl
51930e7bca Merge branch 'issue-104', closes #104 2014-10-19 12:42:57 +00:00
Stefan Siegl
c339d51924 Drop old-age PHP_V8_API_VERSION #ifdef 2014-10-19 12:20:10 +00:00
Stefan Siegl
f6310f9994 Get rid of V8JS_NEW macro. 2014-10-19 11:58:21 +00:00
Stefan Siegl
16af153c3e Merge branch 'cscott/issue-64' (ctx_lifecycle test).
Test adapted to current behaviour of V8Js, that the situation is
properly handled, but not by keeping objects valid, but by
invalidating all of them.
2014-10-18 20:28:06 +00:00
Stefan Siegl
e3d859d9d7 Merge pull request #112 from sameoldmadness/install-depot_tools
v8 compliation requires gclient
2014-09-28 23:20:46 +02:00
Roman Paradeev
34a9e9849e v8 compliation requires gclient
http://dev.chromium.org/developers/how-tos/install-depot-tools
2014-09-29 02:59:36 +06:00
Stefan Siegl
79aa6a179c Merge pull request #111 from sasezaki/patch-1
add PHP 5.6 to .travis.yml
2014-09-27 18:05:36 +02:00
kazusuke sasezaki
67edd253f9 add PHP 5.6 to .travis.yml 2014-09-28 00:29:41 +09:00
Stefan Siegl
516770ad57 Merge pull request #110 from stesie/fix-tests-php-5.6.0
Fix tests for php 5.6.0
2014-09-21 23:41:43 +02:00
Stefan Siegl
5a78a76d41 Adapt unwind tests for PHP 5.6 style error messages
PHP 5.6 has more detailed error messages, i.e. it says
"on null" instead of "on a non-object".  Replaced this
particular part by a %s match to match both possibilities
so the test suite passes on PHP 5.6 as well as older
versions.
2014-09-21 20:34:10 +00:00
Stefan Siegl
edb4679223 Adapt var_dump test new php versions.
Newer versions of PHP in 5.4 and 5.5 line add micro seconds
precision to datetime representations.
This adds a regular expression to ignore the .000000 suffix.
2014-09-21 19:49:24 +00:00
Stefan Siegl
ab5b0ae7bf Merge pull request #109 from stesie/fix-double-addref
Don't Z_ADDREF_P twice on same exported object
2014-09-21 01:52:36 +02:00
Stefan Siegl
8b88b928c2 Don't Z_ADDREF_P twice on same exported object. 2014-09-21 01:48:07 +02:00
Stefan Siegl
7d13c75073 efree resource memory 2014-09-20 22:52:48 +02:00
Stefan Siegl
d8a6467903 TSRM/ZTS fixes 2014-09-20 22:52:47 +02:00
Stefan Siegl
47b433efe8 Restore clean unwind state after unwinding. 2014-09-20 18:42:09 +00:00
Stefan Siegl
cd8542745c Unwind stack step by step, fixes #95 2014-09-20 17:58:41 +02:00
Stefan Siegl
c91f96a439 Merge pull request #108 from stesie/fix-commonjs-module-reuse
Fix module caching, closes #107
2014-09-20 15:05:31 +02:00
Stefan Siegl
11f7311ab8 Use php_v8js_compile_script for checkString. 2014-09-20 12:22:56 +00:00
Stefan Siegl
9cb3711c66 Merge remote-tracking branch 'rosmo/compile-script-201409', closes #95 2014-09-20 12:22:31 +00:00
Stefan Siegl
eda74908cc Fix module caching, closes #107
Use v8::Persistent handle to keep module instances around.

Objects cannot be shared between isolates anyhow, hence moved
modules_loaded map from global V8JSG structure to php_v8js_ctx.

Besides fixes a use-after-free on normalised_module_id.
2014-09-19 22:36:27 +00:00
Stefan Siegl
129052a176 Add pointer to docker repo 2014-09-19 18:54:44 +02:00
Stefan Siegl
751b612d8d Suggest libplatform install via mri-script 2014-09-19 18:50:22 +02:00
Stefan Siegl
7228e31eee Remove note on v8 not being buildable with g++ 4.8
The issue on code.google.com is long closed.
Besides I've just tried and it just works.
2014-09-18 23:28:12 +02:00
Stefan Siegl
db8c1bc94d Revert "Add build-status badge again"
This reverts commit 702302d9f6.
2014-09-17 23:20:20 +02:00
Stefan Siegl
702302d9f6 Add build-status badge again
My Jenkins box has a SSL certificate now, hence it should
work without caching effects finally.
2014-09-17 23:16:19 +02:00
Stefan Siegl
3702e64611 Merge pull request #105 from stesie/fix-init-platform
Call V8::InitializePlatform as needed, fixes builds >= 3.29.36
2014-09-17 19:58:27 +02:00
Stefan Siegl
06371e4126 Include libplatform.h only for v8 >= 3.29.36 2014-09-17 16:47:33 +02:00
Stefan Siegl
3843fc1b5c Remove stray debug-echo 2014-09-17 16:33:03 +02:00
Stefan Siegl
14600d3be3 Initialize v8 platform as needed
See http://comments.gmane.org/gmane.comp.lang.javascript.v8.general/8029
for more information.
2014-09-17 00:45:24 +02:00
Taneli Leppa
200c16c30e Fixed script destructor and free resource struct when done. 2014-09-16 17:11:13 +03:00
Taneli Leppa
de8b0666a6 Some changes to how V8 contexts are managed. 2014-09-16 17:10:18 +03:00
Taneli Leppa
7310c93c1e Deprecate V8Js::checkString() in favour of compileString() and add tests. 2014-09-16 17:10:15 +03:00
Taneli Leppa
bd7d649d90 Added new functions V8Js::compileString() and V8Js::executeScript().
Conflicts:

	php_v8js_macros.h
2014-09-16 17:09:58 +03:00
Stefan Siegl
48765bcc97 Merge pull request #102 from stesie/dispose-isolate
Dispose isolate on V8Js object destruction
2014-09-16 16:02:35 +02:00