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

751 Commits

Author SHA1 Message Date
Stefan Siegl
5ae48bbda7 Fix refcounting, use zval_ptr_dtor, closes #250 2016-08-12 01:02:56 +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
Stefan Siegl
e9c0a3ac62 Include <cmath> before isnan() macro work-around 2016-05-22 11:41:47 +02:00
Stefan Siegl
4fea8f4fb9 Require V8 4.6.76 or higher
... and hence remove all #ifdef hell.  Those versions didn't have
security support by Google anyhow, and it helps to drastically
shrink the test matrix.
2016-05-11 16:50:37 +02:00
Stefan Siegl
de8d9b30c0 provide isnan macro, if missing, closes #227 2016-04-26 13:27:28 +02:00
Stefan Siegl
fb42475cf1 Merge pull request #226 from AlexMasterov/php7
Force to use the system-wide binutils during compilation v8
2016-04-26 10:11:39 +02:00
Alex Masterov
10a4e8bdd3 Force to use the system-wide binutils during compilation v8 2016-04-20 09:47:32 +03:00
Stefan Siegl
5c4b27cca4 Merge pull request #225 from tiemevanveen/patch-2
Added libicu-dev dependency
2016-04-15 11:20:56 +02:00
Tieme van Veen
64d29f8169 Added libicu-dev dependency 2016-04-07 14:10:43 +02:00
Stefan Siegl
1f54fac62d Merge pull request #222 from stesie/issue-217
Send LowMemoryNotification before imposing memory limit
2016-03-27 00:57:39 +01:00
Stefan Siegl
3dca462e9d Use V8::LowMemoryNotification on V8 < 3.28.36 2016-03-26 14:11:20 +01:00
Stefan Siegl
c804b16e4c fix compiler warnings 2016-03-26 12:11:11 +01:00