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

1070 Commits

Author SHA1 Message Date
Stefan Siegl
26de750e8e auto-detect V8 sandbox and call InitializeSandbox if needed 2022-06-27 18:00:49 +02:00
Stefan Siegl
32d8dd8dec conditionally call DisposePlatform or ShutdownPlatform 2022-06-24 22:24:52 +02:00
Stefan Siegl
23cc21c5b8 call InitializeSandbox 2022-06-24 21:54:08 +02:00
Stefan Siegl
883c9000c3 accessor signature checks are no longer supported 2022-06-24 21:47:28 +02:00
Stefan Siegl
19111d6514 ShutdownPlatform is DisposePlatform() now 2022-06-24 21:35:58 +02:00
Stefan Siegl
225c8cde63 test compiler for c++17 support 2022-06-24 21:27:33 +02:00
Stefan Siegl
0754d73775
Merge pull request #486 from stesie/script-origin-with-isolate
Use Isolate-version of ScriptOrigin constructor
2022-06-01 08:10:04 +02:00
Stefan Siegl
7247e9fee0 change minimum v8 version to 9.0 2022-06-01 08:07:49 +02:00
Stefan Siegl
4c026f3fb2 use isolate version of v8::ScriptOrigin 2022-06-01 08:07:48 +02:00
Stefan Siegl
acd9431ec9 increase minimum V8 version to 7.5 2022-05-31 09:10:55 +02:00
Mark Grainger
51d34e0acd Fix for V8 timezone notification 2022-05-30 20:24:55 +00:00
Stefan Siegl
362868888f
Merge pull request #479 from stesie/issue-472
hold extra reference on v8 instance as long as we call into V8
2022-05-29 23:24:38 +02:00
Stefan Siegl
3257a86bef hold extra reference on v8 instance as long as we call into V8, closes #472 2022-05-29 21:48:47 +02:00
Stefan Siegl
5d2aa2ee65
Merge pull request #478 from stesie/issue-477
provide get_gc obj handler
2022-05-29 10:45:23 +02:00
Stefan Siegl
c1d3bda4dc provide get_gc obj handler 2022-05-28 22:38:48 +02:00
waqasbelushi
6a7753a43a
Update v8js_v8object_class.cc 2021-04-05 17:37:28 +02:00
waqasbelushi
e648f431ac
all test passed v8 8.9 2021-04-05 17:36:59 +02:00
Stefan Siegl
0eec3bd764
use C++ standard c++14 2020-10-02 09:04:35 +02:00
Stefan Siegl
6f08b4da1b
fix configure check to require at least V8 6.9 2020-10-02 08:00:01 +02:00
Stefan Siegl
ec583e343b
(Jenkinsfile) build more versions 2020-08-21 12:46:58 +02:00
Stefan Siegl
ebd2fd865b
bump version to 2.1.2 2020-08-21 12:45:46 +02:00
Stefan Siegl
f03dfee4b6
remove hints on ubuntu ppa and heroku extension pack, since both are not maintained currently 2020-08-21 10:13:03 +02:00
Stefan Siegl
b915cb1b16
remove outdated note, closes #428 2020-08-21 10:12:13 +02:00
Stefan Siegl
403435d0c0
relax expectations on V8 toString conversions (broken by V8 8.4), refs #444 2020-08-21 10:10:56 +02:00
Stefan Siegl
cb96e6e6cb
mention pointer compression in README, closes #439 2020-08-21 09:48:02 +02:00
Stefan Siegl
6f2eeb2fc0
(jenkins) enable pointer compression conditionally, refs #439 2020-08-21 09:26:40 +02:00
Stefan Siegl
a3eab09e96
Merge pull request #441 from Jan-E/php74win
make it compile with PHP 7.4 on Windows
2020-04-05 18:24:01 +02:00
Jan-E
672d6952fd make it compile with PHP 7.4 on Windows 2020-04-05 06:24:58 +02:00
Stefan Siegl
c03cb4b345
Merge pull request #440 from stesie/php-7.4-support
PHP 7.4 support
2020-04-03 15:33:33 +02:00
Stefan Siegl
7670ded38e
(jenkins) link against libdl (needed w/ php 7.3) 2020-04-03 15:20:18 +02:00
Stefan Siegl
579f9c993f
don't --with-libxml on Jenkins, since it's --enable-libxml on PHP < 7.3 2020-04-03 14:50:49 +02:00
Stefan Siegl
ac784c797a
run sanitize=address build on jenkins 2020-04-03 14:33:23 +02:00
Stefan Siegl
e153ff1651
make it compile on PHP 7.3 and 7.4 2020-04-03 10:00:27 +02:00
Stefan Siegl
83c215d4b1
don't define isnan/isfinite for PHP 7.4 2020-04-03 09:18:59 +02:00
Stefan Siegl
34a18fde06
Merge branch 'php7' of github.com:phpv8/v8js into php-7.4-support 2020-04-03 08:21:07 +02:00
Stefan Siegl
8fe3cbc292
correctly load V8 8.x snapshot blob 2020-03-06 10:30:47 +01:00
Stefan Siegl
801c744885
Merge pull request #435 from timothympace/api_updates
Remove deprecated Context versions of ToBoolean and BooleanValue
2020-03-06 10:27:05 +01:00
Stefan Siegl
15c1aa23a0
Merge pull request #431 from TysonAndre/patch-1
Pass pointer to (char*) instead of (zend_string*) to spprintf
2020-03-06 09:49:02 +01:00
Stefan Siegl
57a144ba06
Merge pull request #434 from bradlilley/fix-readme-docker-link
Fix Pre-built binaries Docker Hub link
2020-03-06 09:48:06 +01:00
Timothy Pace
3955409f56 Remove deprecated Context versions of ToBoolean and BooleanValue 2020-02-13 16:42:40 -08:00
Brad Lilley
cee867f91f Fix Pre-built binaries Docker Hub link 2020-01-23 12:30:27 -06:00
Tyson Andre
7fd31e8b5a
Fix sprintf call for "converting parameter .. failed"
```
union _zend_function {
	zend_uchar type;	/* MUST be the first element of this struct! */
	uint32_t   quick_arg_flags;

	struct {
		zend_uchar type;  /* never used */
		zend_uchar arg_flags[3]; /* bitset of arg_info.pass_by_reference */
		uint32_t fn_flags;
		zend_string *function_name;
```
2020-01-03 12:22:39 -05:00
Tyson Andre
63d65a59ae
Pass pointer to (char*) instead of (zend_string*) to spprintf
I don't believe these error messages have any unit tests covering them.
Some may be unreachable in practice.

This might not be comprehensive - I didn't test other files.

```
struct _zend_class_entry {
	char type;
	zend_string *name;
```
2020-01-03 12:17:04 -05:00
Stefan Siegl
1999c703b6
bump version to 2.1.1 2019-06-23 21:55:49 +02:00
Stefan Siegl
fcd78f830a
use EXPECTREGEX to handle different PHP version's output well 2019-06-23 19:09:12 +02:00
Stefan Siegl
885ac6d249
prove get_property_ptr_ptr handler for v8object 2019-06-23 10:16:31 +02:00
Stefan Siegl
c2873fd8d3
change retval of write_property handlers, refs #409 2019-06-22 20:25:54 +02:00
Stefan Siegl
714ae87ab6
(Vagrantfile) provide box w/ php 7.4 2019-06-22 20:25:13 +02:00
Stefan Siegl
039f68e1dc
Merge pull request #417 from stesie/build-on-php73
(travis) build on php7.3
2019-06-22 19:56:54 +02:00
Stefan Siegl
1128d7dac6
(travis) build on php7.3 2019-06-22 19:39:16 +02:00