0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-09 01:28:41 +00:00
Commit Graph

1111 Commits

Author SHA1 Message Date
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
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
Tieme van Veen
5fa653da23 Added libicu-dev dependency 2016-05-22 12:51:51 +02:00
Alex Masterov
1d46741ced Force to use the system-wide binutils during compilation v8 2016-05-22 12:42:47 +02:00
Stefan Siegl
663c675fe8 Update build path of libv8_libplatform.a, refs #230 2016-05-22 12:40:23 +02:00
Stefan Siegl
99c23fa36e Merge pull request #229 from stesie/isnan-macro-workaround
provide isnan macro, if missing, closes #227
2016-05-22 12:17:57 +02:00