From ca07d5d5e097816c423ce7528a9b42ded74d023c Mon Sep 17 00:00:00 2001 From: Christian Stocker Date: Mon, 14 Nov 2022 05:49:16 +0100 Subject: [PATCH 1/4] =?UTF-8?q?Avoid=20=E2=80=9CDeprecate=20dynamic=20prop?= =?UTF-8?q?erties=E2=80=9D=20warning=20in=20PHP=208.2=20(#174)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/generate_phpdoc.py | 2 ++ src/ImageAutodoc.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/generate_phpdoc.py b/examples/generate_phpdoc.py index 7ad9eda6..858e7c5a 100755 --- a/examples/generate_phpdoc.py +++ b/examples/generate_phpdoc.py @@ -265,6 +265,8 @@ def add_nickname(gtype, a, b): f.write(' */\n') f.write('abstract class ImageAutodoc\n') f.write('{\n') + f.write(' abstract public function __set(string $name, $value);\n') + f.write(' abstract public function __get(string $name);\n') f.write('}\n') diff --git a/src/ImageAutodoc.php b/src/ImageAutodoc.php index e917baf1..0f8e4adb 100644 --- a/src/ImageAutodoc.php +++ b/src/ImageAutodoc.php @@ -699,4 +699,6 @@ */ abstract class ImageAutodoc { + abstract public function __set(string $name, $value); + abstract public function __get(string $name); } From 388b3e1aec17a72acf1793725ccdee6c36466244 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 4 Dec 2022 14:44:43 +0000 Subject: [PATCH 2/4] update changelog for 1.0.10 --- CHANGELOG.md | 5 +++++ RELEASE-1.0.8 => RELEASE-1.0.10 | 0 install-vips.sh | 25 ------------------------- 3 files changed, 5 insertions(+), 25 deletions(-) rename RELEASE-1.0.8 => RELEASE-1.0.10 (100%) delete mode 100755 install-vips.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index b798b574..a3494f4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Changelog All notable changes to `:vips` will be documented in this file. +### 1.0.10 - 2022-12-04 + +- allowed for psr/log 2.0 and 3.0 to be installed as well [boris-glumpler] +- avoid “Deprecate dynamic properties” warning in PHP 8.2 [chregu] + ### 1.0.9 - 2021-11-20 ### Added diff --git a/RELEASE-1.0.8 b/RELEASE-1.0.10 similarity index 100% rename from RELEASE-1.0.8 rename to RELEASE-1.0.10 diff --git a/install-vips.sh b/install-vips.sh deleted file mode 100755 index db7c4b66..00000000 --- a/install-vips.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -version=$VIPS_VERSION -vips_tarball=https://github.com/libvips/libvips/releases/download/v$version/vips-$version.tar.gz - -set -e - -# do we already have the correct vips built? early exit if yes -# we could check the configure params as well I guess -if [ -d "$HOME/vips/bin" ]; then - installed_version=$($HOME/vips/bin/vips --version | awk -F- '{print $2}') - echo "Need vips $version" - echo "Found vips $installed_version" - - if [ "$installed_version" == "$version" ]; then - echo "Using cached vips directory" - exit 0 - fi -fi - -rm -rf $HOME/vips -curl -Ls $vips_tarball | tar xz -cd vips-$version -CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./configure --prefix=$HOME/vips "$@" -make -j`nproc` && make install From 9de0c27b2776cb3fe41abc7573c9fcd0a9d60e22 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 4 Dec 2022 14:45:37 +0000 Subject: [PATCH 3/4] note removal of "install-vips.sh" --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3494f4a..d842151e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to `:vips` will be documented in this file. - allowed for psr/log 2.0 and 3.0 to be installed as well [boris-glumpler] - avoid “Deprecate dynamic properties” warning in PHP 8.2 [chregu] +- remove "install-vips.sh" script, no longer useful ### 1.0.9 - 2021-11-20 From cb8c9a9a43c974b4d128fe96cdc394eeaded28f4 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Sun, 4 Dec 2022 16:21:42 +0000 Subject: [PATCH 4/4] update docs for libvips 8.13 --- CHANGELOG.md | 1 + src/ImageAutodoc.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d842151e..88a58e5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to `:vips` will be documented in this file. - allowed for psr/log 2.0 and 3.0 to be installed as well [boris-glumpler] - avoid “Deprecate dynamic properties” warning in PHP 8.2 [chregu] - remove "install-vips.sh" script, no longer useful +- update docs for libvips 8.13 ### 1.0.9 - 2021-11-20 diff --git a/src/ImageAutodoc.php b/src/ImageAutodoc.php index 0f8e4adb..994de610 100644 --- a/src/ImageAutodoc.php +++ b/src/ImageAutodoc.php @@ -203,6 +203,8 @@ * @throws Exception * @method string dzsave_buffer(array $options = []) Save image to dz buffer. * @throws Exception + * @method void dzsave_target(string $target, array $options = []) Save image to deepzoom target. + * @throws Exception * @method Image embed(integer $x, integer $y, integer $width, integer $height, array $options = []) Embed an image in a larger image. * @throws Exception * @method Image extract_area(integer $left, integer $top, integer $width, integer $height, array $options = []) Extract an area from an image. @@ -643,6 +645,8 @@ * @throws Exception * @method string tiffsave_buffer(array $options = []) Save image to tiff buffer. * @throws Exception + * @method void tiffsave_target(string $target, array $options = []) Save image to tiff target. + * @throws Exception * @method Image tilecache(array $options = []) Cache an image as a set of tiles. * @throws Exception * @method static Image tonelut(array $options = []) Build a look-up table.