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

1119 Commits

Author SHA1 Message Date
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
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
9fd201eb16 forward exceptions thrown in module normaliser 2016-07-03 22:57:11 +02:00
Stefan Siegl
7dcebdd927 forward exceptions thrown in module loader 2016-07-03 22:52:50 +02: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