Stefan Siegl
1c7e355937
allow modules to return arbitrary values
2017-11-12 16:26:18 +01:00
Stefan Siegl
384ec9b1b6
use "this = module.exports" for modules
2017-11-12 16:20:24 +01:00
Stefan Siegl
f3a46ff833
re-use global context for modules + provide module.exports
2017-11-12 16:14:32 +01:00
Stefan Siegl
c20c19c126
add test so that 'this === global'
2017-11-12 15:28:44 +01:00
Stefan Siegl
e4ab07de03
Add Node.js-style "global" to global scope
2017-11-12 15:26:34 +01:00
Stefan Siegl
bd730068a2
use ObjectTemplate as base for global object
2017-11-12 15:24:30 +01:00
Stefan Siegl
7a947fe9d1
rename v8js_tmpl_t -> v8js_function_tmpl_t
2017-11-12 15:22:39 +01:00
Stefan Siegl
b8776318de
Grammar fixes
2017-11-12 14:52:04 +01:00
Stefan Siegl
fbfce17a8b
Remove compilation instructions for old versions of V8
2017-11-12 14:50:57 +01:00
Stefan Siegl
b767fa4a4e
recommend to install curl, closes #337
2017-11-12 14:50:16 +01:00
Stefan Siegl
4e687c3950
Merge pull request #332 from stesie/unicode-test
...
Unicode test
2017-09-25 17:35:57 +02:00
Stefan Siegl
3afd98ba3a
Merge pull request #331 from stesie/mark-pending-exceptions-deprecated
...
Mark pending exceptions deprecated
2017-09-25 15:08:33 +02:00
Stefan Siegl
289e382e63
re-add module focused unicode test
2017-09-25 15:08:23 +02:00
Stefan Siegl
d6561fe7dc
fix test filename
2017-09-25 15:03:46 +02:00
Stefan Siegl
ec49c03c0f
fix test-file syntax
2017-09-25 15:03:34 +02:00
Stefan Siegl
ef90ad7065
Revert "Create unicode.php"
...
This reverts commit 3559f1797e
.
2017-09-25 15:01:37 +02:00
Stefan Siegl
33b3ff5e1f
Revert "Renamed to unicode.phpt"
...
This reverts commit 202f0beefa
.
2017-09-25 15:01:21 +02:00
Stefan Siegl
eba01e1088
Merge branch 'patch-2' of https://github.com/HoffmannP/v8js into php7
2017-09-25 14:50:42 +02:00
Stefan Siegl
07d3df9bb4
Merge pull request #330 from stesie/mark-extensions-deprecated
...
Mark extensions deprecated
2017-09-25 14:37:07 +02:00
Stefan Siegl
82930c9ea9
Create deprecated warning if setting $report_uncaught_exceptions != true
2017-09-25 14:35:46 +02:00
Stefan Siegl
56e83a9fbb
mark clearPendingException & getPendingException functions deprecated
2017-09-25 14:28:16 +02:00
Stefan Siegl
22bcf85348
Write deprecation warning on non-empty $extensions array passed to V8Js::__construct
2017-09-25 14:06:33 +02:00
Stefan Siegl
9734466105
mark registerExtension & getExtensions deprecated + adapt test output
2017-09-25 13:45:19 +02:00
Stefan Siegl
b9bde377ba
Merge pull request #328 from stesie/v8-6.3-fixes
...
V8 6.3 fixes
2017-09-24 18:57:06 +02:00
Stefan Siegl
aad3fb0c4b
Merge pull request #329 from stesie/fix-appveyor
...
fix appveyor build, us1.php.net is (currently?) unreachable
2017-09-24 18:56:29 +02:00
Stefan Siegl
663e621cb6
fix appveyor build, us1.php.net is (currently?) unreachable
2017-09-24 17:39:17 +02:00
Stefan Siegl
6b275c5b6e
(Vagrantfile) add V8 6.3
2017-09-24 13:59:56 +02:00
Stefan Siegl
8e8306ae3e
allow enumeration of methods
...
-> actually our properties said this shouldn't be possible
-> however v8js_named_property_enumerator enumerated the methods
-> older V8 versions listed the methods anyways
-> V8 6.3 started to not list the method now
refs #326
2017-09-24 13:59:34 +02:00
Stefan Siegl
539c71a3d3
Merge pull request #327 from Jan-E/php7_fix_inline
...
Fix namespace inline VC15.3
2017-09-11 09:37:30 +02:00
Jan-E
a5fef18360
CFLAGS_BD_EXT_V8JS /DZEND_WIN32_KEEP_INLINE /UZEND_WIN32_FORCE_INLINE after EXTENSION
2017-09-11 03:34:13 +02:00
Stefan Siegl
d905f5f271
add warning on php methods vs. snapshots
2017-09-01 23:10:30 +02:00
Stefan Siegl
b7b8a7c476
more documentation regarding custom snapshots
...
closes #323
2017-09-01 23:03:19 +02:00
Stefan Siegl
4c71da8cae
Bump version to 1.4.1
2017-08-01 22:39:01 +02:00
Stefan Siegl
fb0b0c1f07
Merge pull request #322 from Jan-E/remove_ZEND_ACC_CLONE
...
remove ZEND_ACC_CLONE
2017-06-16 19:47:34 +02:00
Jan-E
53533cd4dd
remove ZEND_ACC_CLONE
2017-06-13 18:14:12 +02:00
Peter Hoffmann
202f0beefa
Renamed to unicode.phpt
...
added test for commonJS modules
2017-06-12 11:20:11 +02:00
Peter Hoffmann
3559f1797e
Create unicode.php
...
Create compatibility with versions compiled without snapshot support
2017-06-12 10:37:54 +02:00
Peter Hoffmann
2c60547ece
Update unicode.php
...
removed flagg that was misplaced and would've been useless
2017-06-12 10:11:02 +02:00
Stefan Siegl
4af1cca248
Merge pull request #318 from stesie/issue-316
...
don't clean properties hash if it is iterated
2017-06-10 12:36:05 +02:00
Stefan Siegl
e927a7252b
Merge pull request #319 from HoffmannP/patch-1
...
Update README.md
2017-06-10 12:16:10 +02:00
Peter Hoffmann
a626cbc8b2
Create README.md
...
Missing quotes
2017-06-09 15:36:50 +02:00
Peter Hoffmann
2fbd780771
Create test for unicode symbols
...
This test is created b/c the same test with extensions would fail (see #317 )
2017-06-09 14:45:45 +02:00
Peter Hoffmann
0ba22efb38
Create README.md
2017-06-09 14:26:59 +02:00
Stefan Siegl
1b7c593bbe
don't clean properties hash while it is iterated, fixes #316
2017-06-08 23:18:52 +02:00
Stefan Siegl
36f52e84d1
Add test for #316
2017-06-08 23:15:06 +02:00
Stefan Siegl
ba256d4bc5
Merge pull request #314 from stesie/issue-313
...
Fix build against recent V8 6.0 versions
2017-05-29 23:00:34 +02:00
Stefan Siegl
4baf9e93b2
Use v8::ArrayBuffer::Allocator::NewDefaultAllocator if available
...
It isn't provided by older (still supported) versions of V8, keep using the shim in that case.
2017-05-29 21:44:49 +02:00
Stefan Siegl
3929456a25
(Vagrantfile) install icudtl.dat file
2017-05-29 21:44:49 +02:00
Stefan Siegl
262707a97b
fix check for CreateDefaultPlatform, fixes #313
...
Include libplatform.h, as meanwhile all supported V8 versions have that file.
2017-05-29 21:44:49 +02:00
Stefan Siegl
8fc207a9a6
(Vagrantfile) add box with V8 6.0.318, refs #313
2017-05-29 20:40:57 +02:00