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

916 Commits

Author SHA1 Message Date
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
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
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
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
Stefan Siegl
f87cf9f539 Merge pull request #311 from stesie/fix-deprecated
Fix deprecated V8 API calls
2017-04-24 21:57:07 +02:00
Stefan Siegl
13e0b77015
Fix left-over deprecated API calls. 2017-04-24 20:43:52 +02:00
Stefan Siegl
6479923c57
Use FromJust over ToChecked 2017-04-24 07:26:54 +02:00
Stefan Siegl
096454fdf4
Fix deprecated API calls 2017-04-23 22:50:00 +02:00
Stefan Siegl
338fa52aa9
Enable deprecation warnings 2017-04-23 22:49:15 +02:00
Stefan Siegl
c747933d0e
(Vagrantfile) use Ubuntu xenial (for newer gcc) 2017-04-23 22:48:52 +02:00
Stefan Siegl
98c2a6baec
Bump version to 1.4.0 2017-04-23 21:51:03 +02:00
Stefan Siegl
6b7ab04b43
Mention v8js.icudtl_dat_path in README files 2017-04-23 21:44:51 +02:00
Stefan Siegl
4d2118ffb2
(Vagrantfile) add v8-6.0 box 2017-04-23 21:34:46 +02:00
Stefan Siegl
7f1ee6a18c Merge pull request #310 from stesie/appveyor-php7.1
(appveyor) Build with PHP 7.1.4 also
2017-04-22 23:25:01 +02:00
Stefan Siegl
c3689f2138
(appveyor) Build with PHP 7.1.4 also 2017-04-22 12:04:14 +02:00
Stefan Siegl
fe2e18851b Merge pull request #307 from stesie/issue-306
Initialize ICU as (meanwhile) needed
2017-04-22 11:52:34 +02:00
Stefan Siegl
ba3f74f45c
Fix PHP_V8_EXEC_PATH for Windows build also 2017-04-22 11:37:34 +02:00
Stefan Siegl
989f0ae82c
Add php.ini setting v8js.icudtl_dat_path 2017-04-21 18:21:25 +02:00
Stefan Siegl
73e1f3c9a2
appveyor gah ... 2017-04-14 23:19:44 +02:00
Stefan Siegl
12c6b53b8a
(Vagrantfile) add macos-sierra box 2017-04-14 22:50:24 +02:00
Stefan Siegl
09f69caf64
Relax test to work on V8 without i18n support 2017-04-14 22:48:39 +02:00
Stefan Siegl
6723ff2d34
fix check for libv8.dylib (on macOS) 2017-04-14 21:00:31 +02:00
Stefan Siegl
5f08db8a49
Don't initialize ICU on V8 < 5.3.178 2017-04-14 21:00:31 +02:00
Stefan Siegl
c957be8b2a
Initialize ICU as (meanwhile) needed 2017-04-14 21:00:31 +02:00
Stefan Siegl
5cf93a2970 Merge pull request #308 from stesie/fix-appveyor
appveyor.yml: single quotes -> double quotes (curl fails otherwise)
2017-04-14 20:59:53 +02:00
Stefan Siegl
4b5a98c0bf
appveyor.yml: single quotes -> double quotes (curl fails otherwise) 2017-04-14 19:43:23 +02:00
Stefan Siegl
272e9ac462
Bump version to 1.3.6 2017-03-16 21:21:50 +01:00
Stefan Siegl
0e0c502089
(Vagrantfile) fix shell provision on freebsd 2017-03-16 21:15:59 +01:00
Stefan Siegl
bbe06c458f Merge pull request #305 from stesie/issue-304
Alias std::isfinite to isfinite
2017-03-16 21:14:05 +01:00