Tyson Andre
189fbf3c76
Add php 7.1 to travis.yml
2016-12-03 16:11:02 -08: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
Tyson Andre
3e862b1aa1
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.)
2016-08-01 14:28:14 -07:00
Stefan Siegl
157f34521e
fix compiler warnings
2016-07-03 22:32:03 +02:00
Stefan Siegl
93119f1bc2
Fix build against PHP 7.1.0alpha2
2016-07-03 00:25:42 +02:00
Stefan Siegl
4161008417
Bump version to 1.3.1
2016-07-02 23:04:50 +02:00
Stefan Siegl
8668d28df3
Remove V8JS_CONST preprocessor define
2016-07-02 23:02:17 +02:00
Stefan Siegl
c459acd1ef
Merge remote-tracking branch 'origin/master' into php7
2016-07-02 22:59:33 +02:00
Stefan Siegl
677c0f3e2e
Bump version to 0.6.4
2016-07-02 22:49:02 +02:00
Stefan Siegl
3278be8bee
Add 'indent-tabs-mode: t' to file variables
2016-07-02 22:48:45 +02:00
Stefan Siegl
f887da06c6
Merge pull request #241 from stesie/issue-240
...
fix wrapped php object detection
2016-07-02 22:45:04 +02:00
Stefan Siegl
c4c5a19165
fix wrapped php object detection, closes #240
...
V8 since 5.3.337 returns InternalFieldCount() == -1 for
special objects like "arguments", which fulfilled the old
check.
2016-07-02 22:35:58 +02:00
Stefan Siegl
7b6f133a06
Merge pull request #237 from alexmarchant/patch-1
...
Update README.Linux.md
2016-06-22 16:33:48 +02:00
Alex Marchant
4add8883e6
Update README.Linux.md
...
I did not have build-essential installed and ran into some errors on the make step. Might be good just to remind people that they need the basic build tools installed.
2016-06-21 02:05:51 -04:00
Stefan Siegl
0aa1a6e73e
Replace build status badge by Travis one
2016-05-27 21:31:31 +02:00
Stefan Siegl
4cd9151b5f
Fix travis build
2016-05-27 21:22:48 +02:00
Stefan Siegl
6e09930325
Update travis config
2016-05-27 21:22:48 +02:00
Stefan Siegl
22cefc1b1d
Replace build status badge by Travis one
2016-05-26 23:28:29 +02:00
Stefan Siegl
28ac5a30ae
Fix travis build
2016-05-26 23:23:25 +02:00
Stefan Siegl
1de0d18e02
Update links to pre-compiled V8 & V8Js versions
2016-05-26 22:54:12 +02:00
Stefan Siegl
9dc1caa5de
Update travis config
2016-05-26 22:46:38 +02:00
Stefan Siegl
2e5a565237
Remove (meanwhile) unreferenced local variables
2016-05-26 21:53:17 +02:00
Stefan Siegl
8e0b150a90
appveyor: pull base v8 (4.9.385.29) from s3
2016-05-26 21:40:49 +02:00
Stefan Siegl
c80f20ee38
appveyor: use PHP 7.0.7 for build
2016-05-26 21:40:18 +02:00
Stefan Siegl
d75ec1deeb
add parens around binary and expression
2016-05-26 21:37:12 +02:00
Stefan Siegl
a3161f6d9d
fix arginfo_v8js_wakeup assignment
2016-05-26 21:36:54 +02:00
Stefan Siegl
7a10bb551e
Update manifest
2016-05-22 23:51:40 +02:00
Stefan Siegl
8287a19c8d
Remove conditional compilation of generator support
...
All supported V8 versions (>= 4.6.76) have support for JS generators,
therefore it's no longer needed.
2016-05-22 23:47:36 +02:00
Stefan Siegl
fba023bd9a
Bump version to 1.3.0
2016-05-22 23:41:24 +02:00
Stefan Siegl
802cdd350a
Drop tests/magic_func.phpt which got flaky
...
Most recent PHP7.0 versions implicitly call __isset before __get, which
older ones don't.
The test needs some major refactoring, after all the file is huge
and better split into smaller pieces.
2016-05-22 23:28:02 +02:00
Stefan Siegl
e9e90bac65
Merge remote-tracking branch 'origin/master' into php7
...
Conflicts:
config.w32
package.xml
php_v8js_macros.h
v8js.cc
v8js_array_access.cc
v8js_class.cc
v8js_convert.cc
v8js_exceptions.cc
v8js_object_export.cc
v8js_timer.cc
v8js_v8.cc
v8js_v8object_class.cc
2016-05-22 22:30:19 +02:00
Stefan Siegl
c34fc46ce2
Bump version to 0.6.3
2016-05-22 21:07:35 +02:00
Stefan Siegl
450a7a1092
Merge pull request #234 from stesie/fix-build-v8-5.2
...
Fix build against V8 5.2
2016-05-22 20:20:12 +02:00
Stefan Siegl
ec6c6d3eb3
Use WeakCallbackInfo
...
WeakCallbackData was deprecated and finally removed in V8 5.2
2016-05-22 20:08:28 +02:00
Stefan Siegl
05b96a96b8
Use internal fields instead of GetHiddenValue/SetHiddenValue
...
The latter were deprecated and removed in V8 5.2
2016-05-22 15:20:52 +02:00
Stefan Siegl
48cb242e6c
Merge branch 'remove-api-ifdef'
2016-05-22 15:20:38 +02:00
Stefan Siegl
d4d8ccc4f6
Fix #ifdef change, don't call SetArrayBufferAllocator
2016-05-22 15:20:05 +02:00
Stefan Siegl
ed8e88e11d
Search libv8_libplatform.a in V8_DIR only
...
Otherwise config.m4 will find another libv8_libplatform.a (e.g. in
/usr/lib) as well ... and then use the wrong one.
2016-05-22 15:17:24 +02:00
Stefan Siegl
4fbdb7d46e
Merge pull request #233 from stesie/issue-230
...
Don't call ObjectTemplate.Set with Object instances, fixes #230
2016-05-22 13:40:22 +02:00
Stefan Siegl
b21ba328d0
Don't call ObjectTemplate.Set with Object instances, fixes #230
...
This works fine with V8 < 5.2.50 somehow, but is now (properly) detected
and causing V8 to bail out. Fixed by always setting templates on
other templates and finally use Global-Proxy on context to get the
actually created object instances.
2016-05-22 13:27:48 +02:00