Skip to content

Commit 8c51c26

Browse files
committed
update for php 7.1
* chase down REF zvals * more robust type checks
1 parent d7b51b3 commit 8c51c26

File tree

8 files changed

+150
-75
lines changed

8 files changed

+150
-75
lines changed

API-0.1.1 renamed to API-0.1.2

File renamed without changes.

ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
vips extension changelog
22

3+
Version 0.1.2 (2016-10-24)
4+
--------------------------
5+
* Always dereference REFERENCE zvalues
6+
* More robust value type checking
7+
38
Version 0.1.1 (2016-10-20)
49
--------------------------
510
* Support draw operations

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ libvips website, or build your own.
6565
### Installing
6666

6767
```
68-
$ pear install vips-0.1.1.tgz
68+
$ pear install vips-0.1.2.tgz
6969
```
7070

7171
to install.
@@ -110,7 +110,7 @@ See `examples/`.
110110
$ pear package
111111
```
112112

113-
to make `vips-0.1.1.tgz`.
113+
to make `vips-0.1.2.tgz`.
114114

115115
To install by hand:
116116

File renamed without changes.

package.xml

+17-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ http://pear.php.net/dtd/package-2.0.xsd">
1717
</lead>
1818
<date>2016-10-20</date>
1919
<version>
20-
<release>0.1.1</release>
21-
<api>0.1.1</api>
20+
<release>0.1.2</release>
21+
<api>0.1.2</api>
2222
</version>
2323
<stability>
2424
<release>alpha</release>
@@ -30,12 +30,12 @@ http://pear.php.net/dtd/package-2.0.xsd">
3030
</notes>
3131
<contents>
3232
<dir name="/">
33-
<file role='doc' name='API-0.1.1'/>
33+
<file role='doc' name='API-0.1.2'/>
3434
<file role='doc' name='CREDITS'/>
3535
<file role='doc' name='EXPERIMENTAL'/>
3636
<file role='doc' name='LICENSE.txt'/>
3737
<file role='doc' name='README.md'/>
38-
<file role='doc' name='RELEASE-0.1.1'/>
38+
<file role='doc' name='RELEASE-0.1.2'/>
3939
<file role='doc' name='ChangeLog'/>
4040

4141
<file role='src' name='config.m4'/>
@@ -63,6 +63,9 @@ http://pear.php.net/dtd/package-2.0.xsd">
6363
<file role='test' name='017.phpt'/>
6464
<file role='test' name='026.phpt'/>
6565
<file role='test' name='027.phpt'/>
66+
<file role='test' name='028.phpt'/>
67+
<file role='test' name='029.phpt'/>
68+
<file role='test' name='030.phpt'/>
6669

6770
<dir name="images">
6871
<file role='test' name='img_0076.jpg'/>
@@ -86,6 +89,16 @@ http://pear.php.net/dtd/package-2.0.xsd">
8689
</extsrcrelease>
8790
<changelog>
8891

92+
<release>
93+
<stability><release>alpha</release><api>alpha</api></stability>
94+
<version><release>0.1.2</release><api>0.1.2</api></version>
95+
<date>2016-10-24</date>
96+
<notes>
97+
* Always dereference REFERENCE zvalues
98+
* More robust value type checking
99+
</notes>
100+
</release>
101+
89102
<release>
90103
<stability><release>alpha</release><api>alpha</api></stability>
91104
<version><release>0.1.1</release><api>0.1.1</api></version>

php_vips.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
extern zend_module_entry vips_module_entry;
66
#define phpext_vips_ptr &vips_module_entry
77

8-
#define PHP_VIPS_VERSION "0.1.1" /* Replace with version number for your extension */
8+
#define PHP_VIPS_VERSION "0.1.2" /* Replace with version number for your extension */
99

1010
#ifdef PHP_WIN32
1111
# define PHP_VIPS_API __declspec(dllexport)

tests/006.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ vips_call supports optional input and output args
77
$point = vips_call("black", NULL, 1, 1)["out"];
88
$image = vips_call("embed", $point, 10, 20, 100, 100,
99
["extend" => "white"])["out"];
10-
1110
$result = vips_call("min", $image, ["x" => true, "y" => true]);
1211

1312
if ($result["out"] == 0 &&

0 commit comments

Comments
 (0)