Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 5e7af29

Browse files
authored
Merge pull request #81 from pinepain/upgrade-v8-version
Upgrade to libv8 6.5.116
2 parents 53a562e + b1538e6 commit 5e7af29

File tree

211 files changed

+293
-249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+293
-249
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ services:
66

77
env:
88
global:
9-
- V8=6.4
9+
- V8=6.5
1010
matrix:
11-
- TAG=xenial-v8-64-php-71
12-
- TAG=xenial-v8-64-php-71 TEST_PHP_ARGS=-m
13-
- TAG=xenial-v8-64-php-72
14-
- TAG=xenial-v8-64-php-72 TEST_PHP_ARGS=-m
11+
- TAG=xenial-v8-65-php-71
12+
- TAG=xenial-v8-65-php-71 TEST_PHP_ARGS=-m
13+
- TAG=xenial-v8-65-php-72
14+
- TAG=xenial-v8-65-php-72 TEST_PHP_ARGS=-m
1515

1616
before_install:
1717
# docker on travis doesn't allow anything before FROM, let's fix that

.valgrind-v8.supp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,33 @@
44
fun:_ZN2v88internal20MarkCompactCollector20EmptyMarkingWorklistEv
55
...
66
}
7+
{
8+
<suppress_false_positive_warning_see_v8_issue_6566_workarond_for_603286>
9+
Memcheck:Cond
10+
obj:/opt/libv8-6.5/lib/libv8.so
11+
obj:/opt/libv8-6.5/lib/libv8.so
12+
obj:/opt/libv8-6.5/lib/libv8.so
13+
obj:/opt/libv8-6.5/lib/libv8.so
14+
obj:/opt/libv8-6.5/lib/libv8.so
15+
obj:/opt/libv8-6.5/lib/libv8.so
16+
obj:/opt/libv8-6.5/lib/libv8.so
17+
obj:/opt/libv8-6.5/lib/libv8.so
18+
fun:_ZL33zim_Isolate_lowMemoryNotificationP18_zend_execute_dataP12_zval_struct
19+
...
20+
}
21+
{
22+
<suppress_false_positive_warning_see_v8_issue_6566_workarond_for_603286_extra>
23+
Memcheck:Cond
24+
obj:/opt/libv8-6.5/lib/libv8.so
25+
obj:/opt/libv8-6.5/lib/libv8.so
26+
obj:/opt/libv8-6.5/lib/libv8.so
27+
obj:/opt/libv8-6.5/lib/libv8.so
28+
obj:/opt/libv8-6.5/lib/libv8.so
29+
obj:/opt/libv8-6.5/lib/libv8.so
30+
obj:/opt/libv8-6.5/lib/libv8.so
31+
obj:/opt/libv8-6.5/lib/libv8.so
32+
obj:/opt/libv8-6.5/lib/libv8.so
33+
obj:/opt/libv8-6.5/lib/libv8.so
34+
obj:/opt/libv8-6.5/lib/libv8.so
35+
fun:_ZL33zim_Isolate_lowMemoryNotificationP18_zend_execute_dataP12_zval_struct
36+
}

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ project(php-v8)
33

44
# NOTE: This CMake file is just for syntax highlighting in CLion
55

6-
include_directories(/usr/local/opt/v8@6.4/include)
7-
include_directories(/usr/local/opt/v8@6.4/include/libplatform)
6+
include_directories(/usr/local/opt/v8@6.5/include)
7+
include_directories(/usr/local/opt/v8@6.5/include/libplatform)
88

99
include_directories(/usr/local/include/php)
1010
include_directories(/usr/local/include/php/TSRM)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG TAG=xenial-v8-64-php-72
1+
ARG TAG=xenial-v8-65-php-72
22

33
FROM pinepain/php-v8-docker:${TAG}
44

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License
22

3-
Copyright (c) 2015-2017 Bogdan Padalko <[email protected]>
3+
Copyright (c) 2015-2018 Bogdan Padalko <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ on top of php-v8 extension and makes embedding JavaScript in PHP easier.
100100
### Requirements
101101

102102
#### V8
103-
You will need a recent v8 Google JavaScript engine version installed. At this time v8 >= 6.4.6 required.
103+
You will need a recent v8 Google JavaScript engine version installed. At this time v8 >= 6.5.116 required.
104104

105105
#### PHP
106106
This extension is PHP7-only. It works and tested with both PHP 7.0 and PHP 7.1.
@@ -123,7 +123,7 @@ $ php --ri v8
123123

124124
While [pinepain/php](https://launchpad.net/~pinepain/+archive/ubuntu/php) PPA targets to contain all necessary
125125
extensions with dependencies, you may find
126-
[pinepain/libv8-6.4](https://launchpad.net/~pinepain/+archive/ubuntu/libv8-6.4),
126+
[pinepain/libv8-6.5](https://launchpad.net/~pinepain/+archive/ubuntu/libv8-6.5),
127127
[pinepain/libv8-experimental](https://launchpad.net/~pinepain/+archive/ubuntu/libv8-experimental) and
128128
[pinepain/php-v8](https://launchpad.net/~pinepain/+archive/ubuntu/php-v8) standalone PPAs useful.
129129

@@ -191,7 +191,7 @@ My thanks to the following people and projects, without whom this extension woul
191191

192192
## License
193193

194-
Copyright (c) 2015-2017 Bogdan Padalko &lt;[email protected]&gt;
194+
Copyright (c) 2015-2018 Bogdan Padalko &lt;[email protected]&gt;
195195

196196
[php-v8](https://github.com/pinepain/php-v8) PHP extension is licensed under the [MIT license](http://opensource.org/licenses/MIT).
197197

config.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if test "$PHP_V8" != "no"; then
1919
SEARCH_PATH="/usr/local /usr"
2020
SEARCH_FOR="include/v8.h"
2121

22-
V8_MIN_API_VERSION_STR=6.4.6
22+
V8_MIN_API_VERSION_STR=6.5.116
2323

2424
DESIRED_V8_VERSION=`echo "${V8_MIN_API_VERSION_STR}" | $AWK 'BEGIN { FS = "."; } { printf "%s.%s", [$]1, [$]2;}'`
2525

docs/development/release-libv8.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ To track v8 changes you can use these links:
2929
been rebuild on push as we don't need them anymore and replace them with a new one (we still need to keep old tags
3030
for CI purpose and just in case things won't go smooth and we have to rollback).
3131
5. Rebuild/publish docker images to include new `libv8` version.
32-
6. Make sure you have proper `php-v8` version set in `packaging/Dockerfile` under `V8` constant.
32+
6. You may want to set proper default image `TAG` in `php-v8` `Dockerfile` by updating it first line `ARG TAG=xenial-v8-64-php-72`.
33+
7. Make sure you have proper `php-v8` version set in `packaging/Dockerfile` under `V8` constant.
3334

3435
## After docker images rebuilt/published
3536

package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
~ This file is part of the pinepain/php-v8 PHP extension.
44
~
5-
~ Copyright (c) 2015-2017 Bogdan Padalko <[email protected]>
5+
~ Copyright (c) 2015-2018 Bogdan Padalko <[email protected]>
66
~
77
~ Licensed under the MIT license: http://opensource.org/licenses/MIT
88
~

perf/src/CreatePrimitiveValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* This file is part of the pinepain/php-v8 PHP extension.
55
*
6-
* Copyright (c) 2015-2017 Bogdan Padalko <[email protected]>
6+
* Copyright (c) 2015-2018 Bogdan Padalko <[email protected]>
77
*
88
* Licensed under the MIT license: http://opensource.org/licenses/MIT
99
*

0 commit comments

Comments
 (0)