diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7a05421..8ca381e 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -41,7 +41,7 @@ jobs: - name: List php modules using "no php ini" mode run: php -m -n - name: Cache module - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.composer/cache/ key: composer-cache diff --git a/LICENSE b/LICENSE index 3d617ce..094545f 100644 --- a/LICENSE +++ b/LICENSE @@ -3,7 +3,7 @@ * * SOFTWARE : tc-lib-pdf-page * AUTHOR : Nicola Asuni -* COPYRIGHT : 2011-2023 Nicola Asuni - Tecnick.com LTD +* COPYRIGHT : 2011-2024 Nicola Asuni - Tecnick.com LTD ********************************************************************** This is free software: you can redistribute it and/or modify it diff --git a/Makefile b/Makefile index ca59b25..10e6ee3 100644 --- a/Makefile +++ b/Makefile @@ -4,13 +4,16 @@ # @category Library # @package PdfPage # @author Nicola Asuni -# @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD +# @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD # @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE) # @link https://github.com/tecnickcom/tc-lib-pdf-page # # This file is part of tc-lib-pdf-page software library. # ---------------------------------------------------------------------------------------------------------------------- +SHELL=/bin/bash +.SHELLFLAGS=-o pipefail -c + # Project owner OWNER=tecnickcom @@ -111,6 +114,9 @@ help: .PHONY: all all: help +# Full build and test sequence +.PHONY: x +x: buildall # Full build and test sequence .PHONY: buildall diff --git a/README.md b/README.md index fcab1de..b4f46b2 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ * **category** Library * **package** \Com\Tecnick\Pdf\Page * **author** Nicola Asuni -* **copyright** 2011-2023 Nicola Asuni - Tecnick.com LTD +* **copyright** 2011-2024 Nicola Asuni - Tecnick.com LTD * **license** http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * **link** https://github.com/tecnickcom/tc-lib-pdf-page * **SRC DOC** https://tcpdf.org/docs/srcdoc/tc-lib-pdf-page diff --git a/RELEASE b/RELEASE index d00491f..573541a 100644 --- a/RELEASE +++ b/RELEASE @@ -1 +1 @@ -1 +0 diff --git a/VERSION b/VERSION index 43beb40..a2cec7a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.0.7 +4.0.8 diff --git a/resources/autoload.php b/resources/autoload.php index cbe9cda..06a88b0 100644 --- a/resources/autoload.php +++ b/resources/autoload.php @@ -8,7 +8,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2015-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2015-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * diff --git a/resources/debian/control b/resources/debian/control index 5188416..fdf76d7 100644 --- a/resources/debian/control +++ b/resources/debian/control @@ -10,6 +10,6 @@ Vcs-Git: https://github.com/~#VENDOR#~/~#PROJECT#~.git Package: ~#PKGNAME#~ Provides: php-~#PROJECT#~ Architecture: all -Depends: php (>= 8.0.0), php-date, php-zip, php-tecnickcom-tc-lib-color (<< 2.0.0), php-tecnickcom-tc-lib-color (>= 2.0.7), php-tecnickcom-tc-lib-pdf-encrypt (<< 2.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.1), ${misc:Depends} +Depends: php (>= 8.0.0), php-date, php-zip, php-tecnickcom-tc-lib-color (<< 2.0.0), php-tecnickcom-tc-lib-color (>= 2.0.8), php-tecnickcom-tc-lib-pdf-encrypt (<< 2.0.0), php-tecnickcom-tc-lib-pdf-encrypt (>= 2.1.2), ${misc:Depends} Description: PHP PDF Page Library PHP library containing PDF page formats and definitions. diff --git a/resources/debian/copyright b/resources/debian/copyright index ad5f384..68603ae 100644 --- a/resources/debian/copyright +++ b/resources/debian/copyright @@ -3,7 +3,7 @@ Upstream-Name: ~#PROJECT#~ Source: https://github.com/~#VENDOR#~/~#PROJECT#~ Files: * -Copyright: Copyright 2001-2023 Nicola Asuni +Copyright: Copyright 2001-2024 Nicola Asuni License: LGPL-3 License: LGPL-3 diff --git a/resources/rpm/rpm.spec b/resources/rpm/rpm.spec index 0c71b60..8f50230 100644 --- a/resources/rpm/rpm.spec +++ b/resources/rpm/rpm.spec @@ -20,9 +20,9 @@ Requires: php(language) >= 8.0.0 Requires: php-date Requires: php-zlib Requires: php-composer(%{c_vendor}/tc-lib-color) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.0.7 +Requires: php-composer(%{c_vendor}/tc-lib-color) >= 2.0.8 Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) < 2.0.0 -Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.1 +Requires: php-composer(%{c_vendor}/tc-lib-pdf-encrypt) >= 2.1.2 Provides: php-composer(%{c_vendor}/%{gh_project}) = %{version} Provides: php-%{gh_project} = %{version} @@ -48,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT #%config(noreplace) %{_configpath}* %changelog -* Thu Jul 02 2015 Nicola Asuni 1.1.0-1 +* Thu Jul 02 2024 Nicola Asuni 1.1.0-1 - Changed package name, add provides section -* Thu May 14 2015 Nicola Asuni 1.0.0-1 +* Thu May 14 2024 Nicola Asuni 1.0.0-1 - Initial Commit diff --git a/src/Box.php b/src/Box.php index 141c7fc..35299d3 100644 --- a/src/Box.php +++ b/src/Box.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -26,7 +26,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * diff --git a/src/Exception.php b/src/Exception.php index c50cff1..06453ed 100644 --- a/src/Exception.php +++ b/src/Exception.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -25,7 +25,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/src/Format.php b/src/Format.php index 54c19a5..feb3ce5 100644 --- a/src/Format.php +++ b/src/Format.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -25,7 +25,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/src/Mode.php b/src/Mode.php index f424d35..83c0681 100644 --- a/src/Mode.php +++ b/src/Mode.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/src/Page.php b/src/Page.php index ff4d3df..b1e10d3 100644 --- a/src/Page.php +++ b/src/Page.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -27,7 +27,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * diff --git a/src/Region.php b/src/Region.php index 70ccf15..bee2da2 100644 --- a/src/Region.php +++ b/src/Region.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -25,7 +25,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * diff --git a/src/Settings.php b/src/Settings.php index 41fb51b..eedfcdc 100644 --- a/src/Settings.php +++ b/src/Settings.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -25,7 +25,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * diff --git a/test/BoxTest.php b/test/BoxTest.php index f6ae36e..92fd84a 100644 --- a/test/BoxTest.php +++ b/test/BoxTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/FormatTest.php b/test/FormatTest.php index e46c262..35bbc30 100644 --- a/test/FormatTest.php +++ b/test/FormatTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/ModeTest.php b/test/ModeTest.php index e7cf5d3..7d890b9 100644 --- a/test/ModeTest.php +++ b/test/ModeTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/PageTest.php b/test/PageTest.php index b41283a..dddb2c2 100644 --- a/test/PageTest.php +++ b/test/PageTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/RegionTest.php b/test/RegionTest.php index 7b33187..0f9001a 100644 --- a/test/RegionTest.php +++ b/test/RegionTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -27,7 +27,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/SettingsTest.php b/test/SettingsTest.php index ce80585..39bac21 100644 --- a/test/SettingsTest.php +++ b/test/SettingsTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/TestUtil.php b/test/TestUtil.php index 6c6a3fe..dc17bc0 100644 --- a/test/TestUtil.php +++ b/test/TestUtil.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2015-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2015-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -25,7 +25,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2015-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2015-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */ diff --git a/test/UnitTest.php b/test/UnitTest.php index 6183e87..f2e2cec 100644 --- a/test/UnitTest.php +++ b/test/UnitTest.php @@ -7,7 +7,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page * @@ -23,7 +23,7 @@ * @category Library * @package PdfPage * @author Nicola Asuni - * @copyright 2011-2023 Nicola Asuni - Tecnick.com LTD + * @copyright 2011-2024 Nicola Asuni - Tecnick.com LTD * @license http://www.gnu.org/copyleft/lesser.html GNU-LGPL v3 (see LICENSE.TXT) * @link https://github.com/tecnickcom/tc-lib-pdf-page */