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
Stefan Siegl
97ade17ef9
fix: initialize variables
2016-03-26 12:10:32 +01:00
Stefan Siegl
3d5f163899
skip time/memory limit tests on SKIP_SLOW_TESTS
2016-03-26 11:47:58 +01:00
Stefan Siegl
b2eb89e49e
send LowMemoryNotification before imposing memory limit, fixes #217
2016-03-26 00:53:52 +01:00
Stefan Siegl
4faab8842c
Re-check memory limit, refs #217
2016-03-26 00:37:53 +01:00
Stefan Siegl
2b4d41abb1
Remove old-age test.php & samples files
...
These date back to the initial checkin and mostly haven't been
updated ever since. Besides the provided code samples aren't
really suitable as a getting started guide.
2016-03-25 23:50:36 +01:00
Stefan Siegl
da89fa257b
Bump version to 0.6.2
2016-03-25 23:25:23 +01:00
Stefan Siegl
b0f761ae3b
Merge pull request #221 from stesie/fluent-setters-js
...
Retain object identity on JS-side 'return this'
2016-03-25 23:20:16 +01:00
Stefan Siegl
07c81e5a86
Merge pull request #220 from stesie/fluent-setters
...
Retain object identity on 'return $this'
2016-03-25 23:20:09 +01:00
Stefan Siegl
5595c3bbd7
Fix compilation with PHP 5.5
2016-03-25 22:55:11 +01:00
Stefan Siegl
93b1118fe8
Retain object identity on JS-side 'return this'
2016-03-25 22:15:05 +01:00
Stefan Siegl
d44592910d
Retain object indentity on 'return $this'
2016-03-25 19:15:25 +01:00
Stefan Siegl
21c8bd2288
Merge pull request #219 from stesie/fix-v8object-passback
...
Pass back V8Object instances, don't re-wrap
2016-03-25 18:18:38 +01:00
Stefan Siegl
d6394301b2
Pass back V8Object instances, don't re-wrap
2016-03-25 17:40:43 +01:00
Stefan Siegl
90b2b2b0b1
Bump version to 0.6.1
2016-03-24 12:28:00 +01:00
Stefan Siegl
28a5832f23
Fix configuration on MacOS platform
2016-03-23 10:25:32 +01:00
Stefan Siegl
2a80b0b866
Merge pull request #214 from tiemevanveen/patch-2
...
Linux guide - Move adding extension to php.ini to bottom
2016-03-12 14:19:16 +01:00
Tieme van Veen
2f5db5d9ef
Linux guide - Move adding extension to php.ini to bottom
2016-03-10 10:58:53 +01:00
Stefan Siegl
dd2ad91452
config.w32: fix v8api version generation, refs #210
2016-03-09 11:43:01 +01:00
Stefan Siegl
dc3e4c4260
Merge pull request #213 from Jan-E/php7
...
#210 Windows: Autodetect V8 API & V8 Engine Compiled Version
2016-03-09 08:34:29 +01:00
Stefan Siegl
5d2163ffef
Merge pull request #212 from Jan-E/master
...
Windows: Autodetect V8 API & V8 Engine Compiled Version
2016-03-09 08:32:54 +01:00
Jan Ehrhardt
44abbc5668
#210 Windows: Autodetect V8 API & V8 Engine Compiled Version - v8js_zeroPad
2016-03-08 22:48:09 +01:00
Jan Ehrhardt
8575dc0e55
#210 Windows: Autodetect V8 API & V8 Engine Compiled Version - v8js_zeroPad
2016-03-08 22:46:32 +01:00
Jan Ehrhardt
ebdc5e4942
#210 Windows: Autodetect V8 API & V8 Engine Compiled Version
2016-03-08 22:14:52 +01:00
Jan Ehrhardt
468d9e1090
Windows: Autodetect V8 API & V8 Engine Compiled Version
2016-03-08 22:12:51 +01:00
Stefan Siegl
4c548e60f2
Bump version to 0.6.0
2016-03-08 18:11:29 +01:00
Stefan Siegl
7ab602f982
Merge pull request #211 from stesie/setaverageobjectsize
...
add V8Js::setAverageObjectSize method
2016-03-08 10:53:32 +01:00