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

485 Commits

Author SHA1 Message Date
Stefan Siegl
6ee72b6f0a Use concurrency::wait on Windows to sleep.
The chrono + sleep_for implementation seems not to work,
due to bugs in chrono header file.  And after all sleep_for
calculates a time_point for sleep_until, which calculates
the delta again and finally passes the number of
milliseconds to concurrency::wait ...
2014-11-14 00:08:30 +01:00
Stefan Siegl
449d66ca01 Don't force garbage collection on shutdown.
Doing so causes crashes on Windows and isn't needed anymore
anyways, since we have started tracking weak references
meanwhile.
2014-11-14 00:05:58 +01:00
Stefan Siegl
4e0b500de0 Use directory seperator pattern %e 2014-11-13 21:26:47 +01:00
Stefan Siegl
249aa39418 object_dom test requires DomDocument class 2014-11-13 21:24:22 +01:00
Stefan Siegl
293ca476f0 commonjs_modules test requires json_encode. 2014-11-13 21:14:05 +01:00
Stefan Siegl
926d160367 ignore run-tests.php helper files 2014-11-13 21:13:24 +01:00
Stefan Siegl
fc89b6ba8c eliminate left-over variable-size arrays 2014-11-13 01:36:01 +01:00
Stefan Siegl
d03641254d Use alloca for variable-size array on stack 2014-11-13 01:21:15 +01:00
Stefan Siegl
5b736a6e92 Undefine min/max macros 2014-11-13 00:58:32 +01:00
Stefan Siegl
0fed780320 Fall back to arbitrary PATH_MAX upper bound 2014-11-13 00:36:52 +01:00
Stefan Siegl
83a17b5e6a libplatform stuff not needed on Windows 2014-11-13 00:31:26 +01:00
Stefan Siegl
877ecfc720 Update file list. 2014-11-13 00:25:20 +01:00
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