Tyson Andre
1ec2a57e44
Make valgrind run on travis tests of v8js
...
Valgrind checks for invalid memory accesses and memory leaks.
"-m" makes php unit tests use valgrind (and malloc instead of emalloc, etc.)
(Takes around 20 minutes)
Also support testing v8js with NTS (The default used by Travis is ZTS)
One of the builds will download and install PHP. This will be cached.
- This reproduces #247 on travis
- For details on travis build caching, see
https://docs.travis-ci.com/user/caching/#Pull-request-builds-and-caches
Skip memory and time limit tests - Those are flaky with valgrind.
The tests fail but don't have memory leaks.
(When https://github.com/phpv8/v8js/pull/248 was tested)
Use 5.7 (earliest ppa >= 5.6) for running valgrind checks.
Fix ppa checks - The installation folder changed to /opt/libv8-5.7
- run tests both with and without valgrind in libv8 5.7
Otherwise, time limits and memory limits wouldn't be tested at all in 5.7
Always pass strings for splitting environment variables by spaces.
2017-03-05 20:17:56 -08:00
Stefan Siegl
2356a898aa
Bump version to 1.3.4
2017-03-05 20:21:04 +01:00
Stefan Siegl
8750898e0b
add v8-5.8 box
2017-03-05 20:03:59 +01:00
Stefan Siegl
dce5e01de5
Merge pull request #291 from Jan-E/php7-w32-v8-5.5plus
...
Windows support for V8 5.5+
2017-03-05 19:51:06 +01:00
Jan-E
8d1038415c
V8 v5.5+ has three v8*.dll's
2017-03-05 13:29:41 +01:00
Jan-E
4063d03f59
Swith to gn was at 5.2
2017-03-05 13:20:50 +01:00
Jan-E
f1db48a526
Add the note about the PATH once again
2017-03-05 13:18:05 +01:00
Jan-E
cffaed1ead
Build instructions for V8, version 5.8
2017-03-05 13:14:56 +01:00
Jan-E
11d331f535
Windows support for V8 5.5 and 5.6
2017-02-02 01:28:51 +01:00
Stefan Siegl
3970fdebc7
Adapt test output to V8 5.7
2017-01-22 14:18:26 +01:00
Stefan Siegl
6971b84c0a
add v8-5.2 box
2017-01-22 14:18:02 +01:00
Stefan Siegl
cce742a614
add Vagrantfile
2017-01-22 12:19:44 +01:00
Stefan Siegl
c0b069ace3
Merge pull request #284 from stesie/issue-282
...
Reset fatal_error_abort on RSHUTDOWN, refs #282
2017-01-20 15:45:06 +01:00
Stefan Siegl
0d6d9bf16a
Reset fatal_error_abort on RSHUTDOWN, refs #282
2017-01-19 09:14:23 +01:00
Stefan Siegl
6a53d03d19
Merge pull request #280 from ockham/patch-1
...
README.Linux.md: Add is_component_build flag to v8gen.py command
2017-01-03 12:51:04 +01:00
Bernie Reiter
2ab2549d02
README.Linux.md: Add is_component_build flag to v8gen.py command
...
Previously, it was appended using `echo >>`. However, that wasn't picked up by `ninja` since it would've required an intermediary `gn gen out.gn/x64.release` step. By passing the additional build flag directly to `v8gen.py`, we ensure that `ninja` picks it up.
2016-12-30 23:10:10 +01:00
Stefan Siegl
d65750b5bd
Add build transcript by @Jan-E, closes #272
2016-12-07 14:32:40 +01:00
Stefan Siegl
12ac47d695
README.Linux: add build instructions for V8 5.6, closes #269
2016-12-05 17:47:09 +01:00
Stefan Siegl
77e7338018
Don't try to guess if blob.bin files are needed
...
Search for them, if they exist, provide them to V8. Otherwise
try to go without them.
2016-12-05 16:29:03 +00:00
Stefan Siegl
09f98e7cb1
Use linker to detect libv8_libplatform & libv8_libbase
2016-12-05 16:18:16 +00:00
Stefan Siegl
58671ebb8e
Merge pull request #276 from TysonAndre/add-php-7.1-to-travis.yml
...
Add php 7.1 to travis.yml
2016-12-04 11:27:24 +01:00
Tyson Andre
189fbf3c76
Add php 7.1 to travis.yml
2016-12-03 16:11:02 -08:00
Stefan Siegl
bb83b14169
Merge pull request #273 from Jan-E/config-w32-for-v8-version-5
...
Config w32 for v8 version 5
2016-11-17 17:16:23 +01:00
Jan-E
afe9bdb480
Remove ref to 5.6.0 for now, cause it dosn;t compile anyway
2016-11-17 11:20:10 +01:00
Jan-E
ac5ba6d68e
Put additional libs after the main libs
2016-11-17 11:18:01 +01:00
Jan-E
ebb9a0bc70
Make check for 5.6 working
2016-11-16 12:34:09 +01:00
Jan-E
94519caa65
Fix config.w32 for V8 version 5.2, 5.3, 5.4
2016-11-16 12:23:54 +01:00
Stefan Siegl
fa613c5cb2
Update links to old Github repo
2016-11-01 21:16:01 +01:00
Stefan Siegl
54fd987b0c
mention what -j8 means, refs #271
2016-11-01 21:12:52 +01:00
Stefan Siegl
657d11fcf1
Add link to Win 64-bit binaries by Jan-E, closes #263
2016-11-01 17:56:02 +01:00
Stefan Siegl
d59b386881
Merge tag '1.3.3' into php7
2016-11-01 17:50:52 +01:00
Stefan Siegl
90c6fbb280
Merge pull request #266 from remicollet/issue-libdir
...
honours --with-libdir option, instead of hardcoding lib or lib64
2016-11-01 17:40:07 +01:00
Remi Collet
2b9d37672c
honours --with-libdir option, instead of harcoding lib or lib64
2016-09-29 16:05:46 +02:00
Stefan Siegl
1c017c0dba
Bump version to 1.3.3
2016-09-22 20:13:32 +02:00
Stefan Siegl
90ca5cb142
Fix libv8_libbase.a detection, closes #264
2016-09-22 20:03:44 +02:00
Stefan Siegl
5d26d3c428
Fix URL to license file, closes #260
2016-09-04 22:48:30 +02:00
Stefan Siegl
a112d79196
Fix version number in php_v8js_macros.h
2016-09-04 16:55:52 +02:00
Stefan Siegl
be9b2ae6d3
Bump version to 1.3.2
2016-09-04 16:45:11 +02:00
Stefan Siegl
956a21743d
Optionally link in libv8_libbase.a on Linux as well
2016-09-04 14:58:40 +02:00
Stefan Siegl
7a40e09581
Revert "Make valgrind run on travis tests of v8js"
...
This reverts commit 3e862b1aa1
.
Valgrind reports memory leaks with all test on PHP with ZTS,
which it doesn't do locally. More investigation needed ...
2016-08-13 12:53:47 +02:00
Stefan Siegl
8625f70e2e
Merge pull request #255 from TysonAndre/use-non-zend_string-v2
...
Use an non-interned zend_string for registerExtension on ZTS
2016-08-13 11:46:45 +02:00
Tyson Andre
efad52d739
Use an non-interned zend_string for registerExtension on ZTS
...
(There are no interned strings in ZTS, see the definition of
zend_new_interned_string_int)
On NTS, strings must be non-interned in order to last until module shutdown.
interned strings are cleaned up before module shutdown.
2016-08-12 15:38:47 -07:00
Stefan Siegl
98e4399f81
Don't suggest use_system_icu=1, closes #238
2016-08-12 23:31:22 +02:00
Stefan Siegl
de71f83b7f
Merge pull request #252 from stesie/issue-246
...
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-12 15:42:40 +02:00
Stefan Siegl
dbd97acf20
Merge pull request #242 from stesie/fix-php7.1alpha2
...
Fix build against PHP 7.1.0alpha2
2016-08-12 15:41:58 +02: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
12d22b569e
Merge pull request #253 from stesie/issue-250
...
Fix refcounting, use zval_ptr_dtor, closes #250
2016-08-12 15:40:47 +02:00
Stefan Siegl
9d3ff2868c
Remove hard-coded pathname from test
2016-08-12 01:11:51 +02:00
Stefan Siegl
5ae48bbda7
Fix refcounting, use zval_ptr_dtor, closes #250
2016-08-12 01:02:56 +02:00
Stefan Siegl
8126fc4928
Handle Z_TYPE == IS_REFERENCE well, fixes #246
2016-08-11 18:54:38 +02:00