Plugin Directory

Changeset 3265371


Ignore:
Timestamp:
04/02/2025 01:54:50 AM (12 months ago)
Author:
ishitaka
Message:

Update to version 2.14.7 from GitHub

Location:
full-text-search
Files:
12 added
44 edited
1 copied

Legend:

Unmodified
Added
Removed
  • full-text-search/tags/2.14.7/full-text-search.php

    r3138583 r3265371  
    1111 * Plugin URI:        https://xakuro.com/wordpress/
    1212 * Description:       Replaces site search with full-text search.
    13  * Version:           2.14.6
     13 * Version:           2.14.7
    1414 * Requires at least: 5.5
    1515 * Requires PHP:      7.2
     
    2525}
    2626
    27 define( 'FULL_TEXT_SEARCH_VERSION', '2.14.6' );
     27define( 'FULL_TEXT_SEARCH_VERSION', '2.14.7' );
    2828
    2929require_once __DIR__ . '/main.php';
  • full-text-search/tags/2.14.7/readme.txt

    r3138583 r3265371  
    33Tags: full-text search,full-text,search,fulltext,mroonga
    44Requires at least: 5.5
    5 Tested up to: 6.6
     5Tested up to: 6.7
    66Requires PHP: 7.2
    7 Stable tag: 2.14.6
     7Stable tag: 2.14.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5252
    5353== Changelog ==
     54
     55= 2.14.7 =
     56
     57* Supported WordPress version 6.7.
     58* Updated PDF Parser library to 2.12.0.
    5459
    5560= 2.14.6 =
  • full-text-search/tags/2.14.7/vendor/composer/InstalledVersions.php

    r2903276 r3265371  
    3232     */
    3333    private static $installed;
     34
     35    /**
     36     * @var bool
     37     */
     38    private static $installedIsLocalDir;
    3439
    3540    /**
     
    310315        self::$installed = $data;
    311316        self::$installedByVendor = array();
     317
     318        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     319        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     320        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     321        // all installed packages for example
     322        self::$installedIsLocalDir = false;
    312323    }
    313324
     
    323334
    324335        $installed = array();
     336        $copiedLocalDir = false;
    325337
    326338        if (self::$canGetVendors) {
     339            $selfDir = strtr(__DIR__, '\\', '/');
    327340            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     341                $vendorDir = strtr($vendorDir, '\\', '/');
    328342                if (isset(self::$installedByVendor[$vendorDir])) {
    329343                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331345                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    332346                    $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    334                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335                         self::$installed = $installed[count($installed) - 1];
     347                    self::$installedByVendor[$vendorDir] = $required;
     348                    $installed[] = $required;
     349                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
     350                        self::$installed = $required;
     351                        self::$installedIsLocalDir = true;
    336352                    }
     353                }
     354                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     355                    $copiedLocalDir = true;
    337356                }
    338357            }
     
    351370        }
    352371
    353         if (self::$installed !== array()) {
     372        if (self::$installed !== array() && !$copiedLocalDir) {
    354373            $installed[] = self::$installed;
    355374        }
  • full-text-search/tags/2.14.7/vendor/composer/installed.json

    r3138583 r3265371  
    2626            "type": "composer-plugin",
    2727            "extra": {
     28                "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin",
    2829                "autotagger": true,
    29                 "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin",
    3030                "mirror-repo": "Automattic/jetpack-autoloader",
     31                "branch-alias": {
     32                    "dev-trunk": "2.12.x-dev"
     33                },
    3134                "changelogger": {
    3235                    "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}"
     
    3437                "version-constants": {
    3538                    "::VERSION": "src/AutoloadGenerator.php"
    36                 },
    37                 "branch-alias": {
    38                     "dev-trunk": "2.12.x-dev"
    3939                }
    4040            },
     
    6868        {
    6969            "name": "smalot/pdfparser",
    70             "version": "v2.11.0",
    71             "version_normalized": "2.11.0.0",
     70            "version": "v2.12.0",
     71            "version_normalized": "2.12.0.0",
    7272            "source": {
    7373                "type": "git",
    7474                "url": "https://github.com/smalot/pdfparser.git",
    75                 "reference": "ac8e6678b0940e4b2ccd5caadd3fb18e68093be6"
     75                "reference": "8440edbf58c8596074e78ada38dcb0bd041a5948"
    7676            },
    7777            "dist": {
    7878                "type": "zip",
    79                 "url": "https://api.github.com/repos/smalot/pdfparser/zipball/ac8e6678b0940e4b2ccd5caadd3fb18e68093be6",
    80                 "reference": "ac8e6678b0940e4b2ccd5caadd3fb18e68093be6",
     79                "url": "https://api.github.com/repos/smalot/pdfparser/zipball/8440edbf58c8596074e78ada38dcb0bd041a5948",
     80                "reference": "8440edbf58c8596074e78ada38dcb0bd041a5948",
    8181                "shasum": ""
    8282            },
     
    8787                "symfony/polyfill-mbstring": "^1.18"
    8888            },
    89             "time": "2024-08-16T06:48:03+00:00",
     89            "time": "2025-03-31T13:16:09+00:00",
    9090            "type": "library",
    9191            "installation-source": "dist",
     
    116116            "support": {
    117117                "issues": "https://github.com/smalot/pdfparser/issues",
    118                 "source": "https://github.com/smalot/pdfparser/tree/v2.11.0"
     118                "source": "https://github.com/smalot/pdfparser/tree/v2.12.0"
    119119            },
    120120            "install-path": "../smalot/pdfparser"
     
    122122        {
    123123            "name": "symfony/polyfill-mbstring",
    124             "version": "v1.30.0",
    125             "version_normalized": "1.30.0.0",
     124            "version": "v1.31.0",
     125            "version_normalized": "1.31.0.0",
    126126            "source": {
    127127                "type": "git",
    128128                "url": "https://github.com/symfony/polyfill-mbstring.git",
    129                 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
     129                "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
    130130            },
    131131            "dist": {
    132132                "type": "zip",
    133                 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c",
    134                 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c",
     133                "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
     134                "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
    135135                "shasum": ""
    136136            },
    137137            "require": {
    138                 "php": ">=7.1"
     138                "php": ">=7.2"
    139139            },
    140140            "provide": {
     
    144144                "ext-mbstring": "For best performance"
    145145            },
    146             "time": "2024-06-19T12:30:46+00:00",
     146            "time": "2024-09-09T11:45:10+00:00",
    147147            "type": "library",
    148148            "extra": {
    149149                "thanks": {
    150                     "name": "symfony/polyfill",
    151                     "url": "https://github.com/symfony/polyfill"
     150                    "url": "https://github.com/symfony/polyfill",
     151                    "name": "symfony/polyfill"
    152152                }
    153153            },
     
    185185            ],
    186186            "support": {
    187                 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0"
     187                "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
    188188            },
    189189            "funding": [
  • full-text-search/tags/2.14.7/vendor/composer/installed.php

    r3138583 r3265371  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => 'v2.14.6',
    5         'version' => '2.14.6.0',
    6         'reference' => 'dd1bbe276c4c0cfd4455bfe3321fb7dcf40539fc',
     4        'pretty_version' => 'v2.14.7',
     5        'version' => '2.14.7.0',
     6        'reference' => '30407d34ff04ea8e5b61094bb55465671dca208b',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => 'v2.14.6',
    15             'version' => '2.14.6.0',
    16             'reference' => 'dd1bbe276c4c0cfd4455bfe3321fb7dcf40539fc',
     14            'pretty_version' => 'v2.14.7',
     15            'version' => '2.14.7.0',
     16            'reference' => '30407d34ff04ea8e5b61094bb55465671dca208b',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'smalot/pdfparser' => array(
    32             'pretty_version' => 'v2.11.0',
    33             'version' => '2.11.0.0',
    34             'reference' => 'ac8e6678b0940e4b2ccd5caadd3fb18e68093be6',
     32            'pretty_version' => 'v2.12.0',
     33            'version' => '2.12.0.0',
     34            'reference' => '8440edbf58c8596074e78ada38dcb0bd041a5948',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../smalot/pdfparser',
     
    3939        ),
    4040        'symfony/polyfill-mbstring' => array(
    41             'pretty_version' => 'v1.30.0',
    42             'version' => '1.30.0.0',
    43             'reference' => 'fd22ab50000ef01661e2a31d850ebaa297f8e03c',
     41            'pretty_version' => 'v1.31.0',
     42            'version' => '1.31.0.0',
     43            'reference' => '85181ba99b2345b0ef10ce42ecac37612d9fd341',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',
  • full-text-search/tags/2.14.7/vendor/composer/jetpack_autoload_classmap.php

    r3138583 r3265371  
    1212    ),
    1313    'Smalot\\PdfParser\\Config' => array(
    14         'version' => '2.11.0.0',
     14        'version' => '2.12.0.0',
    1515        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Config.php'
    1616    ),
    1717    'Smalot\\PdfParser\\Document' => array(
    18         'version' => '2.11.0.0',
     18        'version' => '2.12.0.0',
    1919        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Document.php'
    2020    ),
    2121    'Smalot\\PdfParser\\Element' => array(
    22         'version' => '2.11.0.0',
     22        'version' => '2.12.0.0',
    2323        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element.php'
    2424    ),
    2525    'Smalot\\PdfParser\\Element\\ElementArray' => array(
    26         'version' => '2.11.0.0',
     26        'version' => '2.12.0.0',
    2727        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementArray.php'
    2828    ),
    2929    'Smalot\\PdfParser\\Element\\ElementBoolean' => array(
    30         'version' => '2.11.0.0',
     30        'version' => '2.12.0.0',
    3131        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementBoolean.php'
    3232    ),
    3333    'Smalot\\PdfParser\\Element\\ElementDate' => array(
    34         'version' => '2.11.0.0',
     34        'version' => '2.12.0.0',
    3535        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementDate.php'
    3636    ),
    3737    'Smalot\\PdfParser\\Element\\ElementHexa' => array(
    38         'version' => '2.11.0.0',
     38        'version' => '2.12.0.0',
    3939        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementHexa.php'
    4040    ),
    4141    'Smalot\\PdfParser\\Element\\ElementMissing' => array(
    42         'version' => '2.11.0.0',
     42        'version' => '2.12.0.0',
    4343        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementMissing.php'
    4444    ),
    4545    'Smalot\\PdfParser\\Element\\ElementName' => array(
    46         'version' => '2.11.0.0',
     46        'version' => '2.12.0.0',
    4747        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementName.php'
    4848    ),
    4949    'Smalot\\PdfParser\\Element\\ElementNull' => array(
    50         'version' => '2.11.0.0',
     50        'version' => '2.12.0.0',
    5151        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementNull.php'
    5252    ),
    5353    'Smalot\\PdfParser\\Element\\ElementNumeric' => array(
    54         'version' => '2.11.0.0',
     54        'version' => '2.12.0.0',
    5555        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementNumeric.php'
    5656    ),
    5757    'Smalot\\PdfParser\\Element\\ElementString' => array(
    58         'version' => '2.11.0.0',
     58        'version' => '2.12.0.0',
    5959        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementString.php'
    6060    ),
    6161    'Smalot\\PdfParser\\Element\\ElementStruct' => array(
    62         'version' => '2.11.0.0',
     62        'version' => '2.12.0.0',
    6363        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementStruct.php'
    6464    ),
    6565    'Smalot\\PdfParser\\Element\\ElementXRef' => array(
    66         'version' => '2.11.0.0',
     66        'version' => '2.12.0.0',
    6767        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementXRef.php'
    6868    ),
    6969    'Smalot\\PdfParser\\Encoding' => array(
    70         'version' => '2.11.0.0',
     70        'version' => '2.12.0.0',
    7171        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding.php'
    7272    ),
    7373    'Smalot\\PdfParser\\Encoding\\AbstractEncoding' => array(
    74         'version' => '2.11.0.0',
     74        'version' => '2.12.0.0',
    7575        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/AbstractEncoding.php'
    7676    ),
    7777    'Smalot\\PdfParser\\Encoding\\EncodingLocator' => array(
    78         'version' => '2.11.0.0',
     78        'version' => '2.12.0.0',
    7979        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/EncodingLocator.php'
    8080    ),
    8181    'Smalot\\PdfParser\\Encoding\\ISOLatin1Encoding' => array(
    82         'version' => '2.11.0.0',
     82        'version' => '2.12.0.0',
    8383        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/ISOLatin1Encoding.php'
    8484    ),
    8585    'Smalot\\PdfParser\\Encoding\\ISOLatin9Encoding' => array(
    86         'version' => '2.11.0.0',
     86        'version' => '2.12.0.0',
    8787        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/ISOLatin9Encoding.php'
    8888    ),
    8989    'Smalot\\PdfParser\\Encoding\\MacRomanEncoding' => array(
    90         'version' => '2.11.0.0',
     90        'version' => '2.12.0.0',
    9191        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/MacRomanEncoding.php'
    9292    ),
    9393    'Smalot\\PdfParser\\Encoding\\PDFDocEncoding' => array(
    94         'version' => '2.11.0.0',
     94        'version' => '2.12.0.0',
    9595        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/PDFDocEncoding.php'
    9696    ),
    9797    'Smalot\\PdfParser\\Encoding\\PostScriptGlyphs' => array(
    98         'version' => '2.11.0.0',
     98        'version' => '2.12.0.0',
    9999        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/PostScriptGlyphs.php'
    100100    ),
    101101    'Smalot\\PdfParser\\Encoding\\StandardEncoding' => array(
    102         'version' => '2.11.0.0',
     102        'version' => '2.12.0.0',
    103103        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/StandardEncoding.php'
    104104    ),
    105105    'Smalot\\PdfParser\\Encoding\\WinAnsiEncoding' => array(
    106         'version' => '2.11.0.0',
     106        'version' => '2.12.0.0',
    107107        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/WinAnsiEncoding.php'
    108108    ),
     109    'Smalot\\PdfParser\\Exception\\EmptyPdfException' => array(
     110        'version' => '2.12.0.0',
     111        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/EmptyPdfException.php'
     112    ),
    109113    'Smalot\\PdfParser\\Exception\\EncodingNotFoundException' => array(
    110         'version' => '2.11.0.0',
     114        'version' => '2.12.0.0',
    111115        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/EncodingNotFoundException.php'
    112116    ),
     117    'Smalot\\PdfParser\\Exception\\InvalidDictionaryObjectException' => array(
     118        'version' => '2.12.0.0',
     119        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/InvalidDictionaryObjectException.php'
     120    ),
     121    'Smalot\\PdfParser\\Exception\\MissingCatalogException' => array(
     122        'version' => '2.12.0.0',
     123        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/MissingCatalogException.php'
     124    ),
     125    'Smalot\\PdfParser\\Exception\\MissingPdfHeaderException' => array(
     126        'version' => '2.12.0.0',
     127        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/MissingPdfHeaderException.php'
     128    ),
     129    'Smalot\\PdfParser\\Exception\\NotImplementedException' => array(
     130        'version' => '2.12.0.0',
     131        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/NotImplementedException.php'
     132    ),
    113133    'Smalot\\PdfParser\\Font' => array(
    114         'version' => '2.11.0.0',
     134        'version' => '2.12.0.0',
    115135        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font.php'
    116136    ),
    117137    'Smalot\\PdfParser\\Font\\FontCIDFontType0' => array(
    118         'version' => '2.11.0.0',
     138        'version' => '2.12.0.0',
    119139        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontCIDFontType0.php'
    120140    ),
    121141    'Smalot\\PdfParser\\Font\\FontCIDFontType2' => array(
    122         'version' => '2.11.0.0',
     142        'version' => '2.12.0.0',
    123143        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontCIDFontType2.php'
    124144    ),
    125145    'Smalot\\PdfParser\\Font\\FontTrueType' => array(
    126         'version' => '2.11.0.0',
     146        'version' => '2.12.0.0',
    127147        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontTrueType.php'
    128148    ),
    129149    'Smalot\\PdfParser\\Font\\FontType0' => array(
    130         'version' => '2.11.0.0',
     150        'version' => '2.12.0.0',
    131151        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType0.php'
    132152    ),
    133153    'Smalot\\PdfParser\\Font\\FontType1' => array(
    134         'version' => '2.11.0.0',
     154        'version' => '2.12.0.0',
    135155        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType1.php'
    136156    ),
    137157    'Smalot\\PdfParser\\Font\\FontType3' => array(
    138         'version' => '2.11.0.0',
     158        'version' => '2.12.0.0',
    139159        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType3.php'
    140160    ),
    141161    'Smalot\\PdfParser\\Header' => array(
    142         'version' => '2.11.0.0',
     162        'version' => '2.12.0.0',
    143163        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Header.php'
    144164    ),
    145165    'Smalot\\PdfParser\\PDFObject' => array(
    146         'version' => '2.11.0.0',
     166        'version' => '2.12.0.0',
    147167        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/PDFObject.php'
    148168    ),
    149169    'Smalot\\PdfParser\\Page' => array(
    150         'version' => '2.11.0.0',
     170        'version' => '2.12.0.0',
    151171        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Page.php'
    152172    ),
    153173    'Smalot\\PdfParser\\Pages' => array(
    154         'version' => '2.11.0.0',
     174        'version' => '2.12.0.0',
    155175        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Pages.php'
    156176    ),
    157177    'Smalot\\PdfParser\\Parser' => array(
    158         'version' => '2.11.0.0',
     178        'version' => '2.12.0.0',
    159179        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Parser.php'
    160180    ),
    161181    'Smalot\\PdfParser\\RawData\\FilterHelper' => array(
    162         'version' => '2.11.0.0',
     182        'version' => '2.12.0.0',
    163183        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/RawData/FilterHelper.php'
    164184    ),
    165185    'Smalot\\PdfParser\\RawData\\RawDataParser' => array(
    166         'version' => '2.11.0.0',
     186        'version' => '2.12.0.0',
    167187        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/RawData/RawDataParser.php'
    168188    ),
    169189    'Smalot\\PdfParser\\XObject\\Form' => array(
    170         'version' => '2.11.0.0',
     190        'version' => '2.12.0.0',
    171191        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/XObject/Form.php'
    172192    ),
    173193    'Smalot\\PdfParser\\XObject\\Image' => array(
    174         'version' => '2.11.0.0',
     194        'version' => '2.12.0.0',
    175195        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/XObject/Image.php'
    176196    ),
  • full-text-search/tags/2.14.7/vendor/composer/jetpack_autoload_filemap.php

    r3138583 r3265371  
    88return array(
    99    '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => array(
    10         'version' => '1.30.0.0',
     10        'version' => '1.31.0.0',
    1111        'path'    => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php'
    1212    ),
  • full-text-search/tags/2.14.7/vendor/composer/jetpack_autoload_psr4.php

    r3138583 r3265371  
    88return array(
    99    'Symfony\\Polyfill\\Mbstring\\' => array(
    10         'version' => '1.30.0.0',
     10        'version' => '1.31.0.0',
    1111        'path'    => array( $vendorDir . '/symfony/polyfill-mbstring' )
    1212    ),
  • full-text-search/tags/2.14.7/vendor/composer/platform_check.php

    r2773119 r3265371  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70100)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 70200)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/.github/ISSUE_TEMPLATE/incorrect-parsing.md

    r2773119 r3265371  
    99
    1010<!-- DO NOT THROW THIS AWAY -->
    11 <!-- Fill out the FULL versions with patch versions -->
     11<!-- Fill out the FULL versions with patch versions (e.g. 2.10.0) -->
    1212
    13  - PHP Version: 
    14  - PDFParser Version: 
     13 - PHP Version:
     14 - PDFParser Version:
    1515
    1616### Description:
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/.github/pull_request_template.md

    r3021053 r3265371  
    1212# Checklist for code / configuration changes
    1313
    14 *In case you changed the code/configuration, please read each of the following checkboxes as they contain valuable information:*
    15 
    16 * [ ] Please add at least **one test case** (unit test, system test, ...) to demonstrate that the change is working. If existing code was changed, your tests cover these code parts as well.
    17      By the way, you don't have to provide a full fledged PDF file to demonstrate a fix. Instead a unit test may be sufficient sometimes,
    18      please have a look at [FontTest](https://github.com/smalot/pdfparser/blob/master/tests/PHPUnit/Unit/FontTest.php#L40) for example code.
    19      Code changes without any tests are likely to be rejected. If you dont know how to write tests, no problem, tell us upfront and we may add them ourselves or discuss other ways.
    20 * [ ] Please run **PHP-CS-Fixer** before committing, to confirm with our coding styles. See https://github.com/smalot/pdfparser/blob/master/.php-cs-fixer.php for more information about our coding styles.
    21 * [ ] In case you **fix an existing issue**, please do one of the following:
    22   * [ ] Write in this text something like `fixes #1234` to outline that you are providing a fix for the issue `#1234`.
    23   * [ ] After the pull request was created, you will find on the right side a section called **Development**. There issues can be selected which will be closed after the your pull request got merged.
    24 * [ ] In case you changed internal behavior or functionality, please check our documentation to make sure these changes are **documented properly**: https://github.com/smalot/pdfparser/tree/master/doc
    25 * [ ] In case you want to discuss new ideas/changes and you are not sure, just create a pull request and mark it as **a draft**
    26       (see [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests) for more information).
    27       This will tell us, that it is not ready for merge, but you want to discuss certain issues.
    28 
    29 <!--
    30 Pull requests will be declined/rejected if one part of the continous integration pipeline fails.
    31 We use the pipeline to make sure no regressions are introduced and existing code still runs as expected.
    32 -->
     14See [CONTRIBUTING.md](./../CONTRIBUTING.md) for all essential information about contributing.
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/.github/workflows/continuous-integration.yml

    r3138583 r3265371  
    2121          - "8.2"
    2222          - "8.3"
     23          - "8.4"
    2324
    2425    steps:
     
    152153          - "8.2"
    153154          - "8.3"
     155          - "8.4"
    154156
    155157    steps:
     
    206208      fail-fast: true
    207209      matrix:
    208         php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
     210        php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
    209211
    210212    steps:
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/.php-cs-fixer.php

    r2951448 r3265371  
    1515$config
    1616    ->setFinder($finder)
    17     ->setRiskyAllowed(true)
    1817    ->setRules([
    19         '@Symfony' => true,
    20         '@Symfony:risky' => true,
     18        '@PSR12' => true,
    2119        'array_syntax' => ['syntax' => 'short'],
    2220        'no_empty_phpdoc' => true,
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/phpunit-windows.xml

    r2884008 r3265371  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
    3 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor\autoload.php" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
     3<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor\autoload.php" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false" displayDetailsOnTestsThatTriggerWarnings="true">
    44  <coverage>
    55    <include>
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/src/Smalot/PdfParser/Document.php

    r3138583 r3265371  
    3434
    3535use Smalot\PdfParser\Encoding\PDFDocEncoding;
     36use Smalot\PdfParser\Exception\MissingCatalogException;
    3637
    3738/**
     
    256257                                $metadata[] = $val['value'];
    257258
    258                             // Else assign a value to this property
     259                                // Else assign a value to this property
    259260                            } else {
    260261                                $metadata[$val['tag']] = $val['value'];
     
    380381     * @return Page[]
    381382     *
    382      * @throws \Exception
     383     * @throws MissingCatalogException
    383384     */
    384385    public function getPages()
     
    416417        }
    417418
    418         throw new \Exception('Missing catalog.');
     419        throw new MissingCatalogException('Missing catalog.');
    419420    }
    420421
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/src/Smalot/PdfParser/Font.php

    r3138583 r3265371  
    217217            if (preg_match_all('/beginbfrange(?P<sections>.*?)endbfrange/s', $content, $matches)) {
    218218                foreach ($matches['sections'] as $section) {
    219                     // Support for : <srcCode1> <srcCode2> <dstString>
    220                     $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *<(?P<offset>[0-9A-F]+)>[ \r\n]+/is';
     219                    /**
     220                     * Regexp to capture <from>, <to>, and either <offset> or [...] items.
     221                     * - (?P<from>...) Source range's start
     222                     * - (?P<to>...)   Source range's end
     223                     * - (?P<dest>...) Destination range's offset or each char code
     224                     *                 Some PDF file has 2-byte Unicode values on new lines > added \r\n
     225                     */
     226                    $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *(?P<dest><[0-9A-F]+>|\[[\r\n<>0-9A-F ]+\])[ \r\n]+/is';
    221227
    222228                    preg_match_all($regexp, $section, $matches);
     
    225231                        $char_from = hexdec($from);
    226232                        $char_to = hexdec($matches['to'][$key]);
    227                         $offset = hexdec($matches['offset'][$key]);
    228 
    229                         for ($char = $char_from; $char <= $char_to; ++$char) {
    230                             $this->table[$char] = self::uchr($char - $char_from + $offset);
    231                         }
    232                     }
    233 
    234                     // Support for : <srcCode1> <srcCodeN> [<dstString1> <dstString2> ... <dstStringN>]
    235                     // Some PDF file has 2-byte Unicode values on new lines > added \r\n
    236                     $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *\[(?P<strings>[\r\n<>0-9A-F ]+)\][ \r\n]+/is';
    237 
    238                     preg_match_all($regexp, $section, $matches);
    239 
    240                     foreach ($matches['from'] as $key => $from) {
    241                         $char_from = hexdec($from);
    242                         $strings = [];
    243 
    244                         preg_match_all('/<(?P<string>[0-9A-F]+)> */is', $matches['strings'][$key], $strings);
    245 
    246                         foreach ($strings['string'] as $position => $string) {
    247                             $parts = preg_split(
    248                                 '/([0-9A-F]{4})/i',
    249                                 $string,
    250                                 0,
    251                                 \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE
    252                             );
    253                             $text = '';
    254                             foreach ($parts as $part) {
    255                                 $text .= self::uchr(hexdec($part));
     233                        $dest = $matches['dest'][$key];
     234
     235                        if (1 === preg_match('/^<(?P<offset>[0-9A-F]+)>$/i', $dest, $offset_matches)) {
     236                            // Support for : <srcCode1> <srcCode2> <dstString>
     237                            $offset = hexdec($offset_matches['offset']);
     238
     239                            for ($char = $char_from; $char <= $char_to; ++$char) {
     240                                $this->table[$char] = self::uchr($char - $char_from + $offset);
    256241                            }
    257                             $this->table[$char_from + $position] = $text;
     242                        } else {
     243                            // Support for : <srcCode1> <srcCodeN> [<dstString1> <dstString2> ... <dstStringN>]
     244                            $strings = [];
     245                            $matched = preg_match_all('/<(?P<string>[0-9A-F]+)> */is', $dest, $strings);
     246                            if (false === $matched || 0 === $matched) {
     247                                continue;
     248                            }
     249
     250                            foreach ($strings['string'] as $position => $string) {
     251                                $parts = preg_split(
     252                                    '/([0-9A-F]{4})/i',
     253                                    $string,
     254                                    0,
     255                                    \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE
     256                                );
     257                                if (false === $parts) {
     258                                    continue;
     259                                }
     260                                $text = '';
     261                                foreach ($parts as $part) {
     262                                    $text .= self::uchr(hexdec($part));
     263                                }
     264                                $this->table[$char_from + $position] = $text;
     265                            }
    258266                        }
    259267                    }
     
    288296        $widths = $details['Widths'] ?? [];
    289297
    290         // Widths array is zero indexed but table is not. We must map them based on FirstChar and LastChar
    291         $width_map = array_flip(range($details['FirstChar'], $details['LastChar']));
     298        /*
     299         * Widths array is zero indexed but table is not. We must map them based on FirstChar and LastChar
     300         *
     301         * Note: Without the change you would see warnings in PHP 8.4 because the values of FirstChar or LastChar
     302         *       can be null sometimes.
     303         */
     304        $width_map = array_flip(range((int) $details['FirstChar'], (int) $details['LastChar']));
    292305
    293306        $width = null;
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/src/Smalot/PdfParser/PDFObject.php

    r3138583 r3265371  
    3333namespace Smalot\PdfParser;
    3434
     35use Smalot\PdfParser\Exception\InvalidDictionaryObjectException;
    3536use Smalot\PdfParser\XObject\Form;
    3637use Smalot\PdfParser\XObject\Image;
     
    452453                $sections[] = $line;
    453454
    454             // If an 'ET' is encountered, unset the $inTextBlock flag
     455                // If an 'ET' is encountered, unset the $inTextBlock flag
    455456            } elseif ('ET' == $line) {
    456457                $inTextBlock = false;
     
    560561     * @internal
    561562     *
    562      * @throws \Exception
     563     * @throws InvalidDictionaryObjectException
    563564     */
    564565    public function parseDictionary(string $dictionary): array
     
    568569
    569570        if ('<<' != substr($dictionary, 0, 2)) {
    570             throw new \Exception('Not a valid dictionary object.');
     571            throw new InvalidDictionaryObjectException('Not a valid dictionary object.');
    571572        }
    572573
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/src/Smalot/PdfParser/RawData/FilterHelper.php

    r3138583 r3265371  
    4343namespace Smalot\PdfParser\RawData;
    4444
     45use Smalot\PdfParser\Exception\NotImplementedException;
     46
    4547class FilterHelper
    4648{
     
    5557     * @return string Decoded data string
    5658     *
    57      * @throws \Exception if a certain decode function is not implemented yet
     59     * @throws \Exception
     60     * @throws \Smalot\PdfParser\Exception\NotImplementedException if a certain decode function is not implemented yet
    5861     */
    5962    public function decodeFilter(string $filter, string $data, int $decodeMemoryLimit = 0): string
     
    7679
    7780            case 'CCITTFaxDecode':
    78                 throw new \Exception('Decode CCITTFaxDecode not implemented yet.');
     81                throw new NotImplementedException('Decode CCITTFaxDecode not implemented yet.');
    7982            case 'JBIG2Decode':
    80                 throw new \Exception('Decode JBIG2Decode not implemented yet.');
     83                throw new NotImplementedException('Decode JBIG2Decode not implemented yet.');
    8184            case 'DCTDecode':
    82                 throw new \Exception('Decode DCTDecode not implemented yet.');
     85                throw new NotImplementedException('Decode DCTDecode not implemented yet.');
    8386            case 'JPXDecode':
    84                 throw new \Exception('Decode JPXDecode not implemented yet.');
     87                throw new NotImplementedException('Decode JPXDecode not implemented yet.');
    8588            case 'Crypt':
    86                 throw new \Exception('Decode Crypt not implemented yet.');
     89                throw new NotImplementedException('Decode Crypt not implemented yet.');
    8790            default:
    8891                return $data;
  • full-text-search/tags/2.14.7/vendor/smalot/pdfparser/src/Smalot/PdfParser/RawData/RawDataParser.php

    r3138583 r3265371  
    4444
    4545use Smalot\PdfParser\Config;
     46use Smalot\PdfParser\Exception\EmptyPdfException;
     47use Smalot\PdfParser\Exception\MissingPdfHeaderException;
    4648
    4749class RawDataParser
     
    268270                ('/' == $v[0])
    269271                && ('Type' == $v[1])
    270                 && (isset($sarr[$k + 1])
     272                && (
     273                    isset($sarr[$k + 1])
    271274                    && '/' == $sarr[$k + 1][0]
    272275                    && 'XRef' == $sarr[$k + 1][1]
     
    294297                        '/' == $vdc[0]
    295298                        && 'Columns' == $vdc[1]
    296                         && (isset($decpar[$kdc + 1])
     299                        && (
     300                            isset($decpar[$kdc + 1])
    297301                            && 'numeric' == $decpar[$kdc + 1][0]
    298302                        )
     
    302306                        '/' == $vdc[0]
    303307                        && 'Predictor' == $vdc[1]
    304                         && (isset($decpar[$kdc + 1])
     308                        && (
     309                            isset($decpar[$kdc + 1])
    305310                            && 'numeric' == $decpar[$kdc + 1][0]
    306311                        )
     
    408413                    $prev_row = $ddata[$k];
    409414                } // end for each row
    410             // complete decoding
     415                // complete decoding
    411416            } else {
    412417                // number of bytes in a row
     
    936941     * @return array array of parsed PDF document objects
    937942     *
    938      * @throws \Exception if empty PDF data given
    939      * @throws \Exception if PDF data missing %PDF header
     943     * @throws EmptyPdfException if empty PDF data given
     944     * @throws MissingPdfHeaderException if PDF data missing `%PDF-` header
    940945     */
    941946    public function parseData(string $data): array
    942947    {
    943948        if (empty($data)) {
    944             throw new \Exception('Empty PDF data given.');
     949            throw new EmptyPdfException('Empty PDF data given.');
    945950        }
    946951        // find the pdf header starting position
    947952        if (false === ($trimpos = strpos($data, '%PDF-'))) {
    948             throw new \Exception('Invalid PDF data: missing %PDF header.');
     953            throw new MissingPdfHeaderException('Invalid PDF data: Missing `%PDF-` header.');
    949954        }
    950955
  • full-text-search/tags/2.14.7/vendor/symfony/polyfill-mbstring/Mbstring.php

    r3138583 r3265371  
    5151 * - mb_ucfirst              - Make a string's first character uppercase
    5252 * - mb_lcfirst              - Make a string's first character lowercase
     53 * - mb_trim                 - Strip whitespace (or other characters) from the beginning and end of a string
     54 * - mb_ltrim                - Strip whitespace (or other characters) from the beginning of a string
     55 * - mb_rtrim                - Strip whitespace (or other characters) from the end of a string
    5356 *
    5457 * Not implemented:
     
    8487    {
    8588        if (\is_array($s)) {
    86             if (PHP_VERSION_ID < 70200) {
    87                 trigger_error('mb_convert_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING);
    88 
    89                 return null;
    90             }
    91 
    9289            $r = [];
    9390            foreach ($s as $str) {
     
    428425    public static function mb_check_encoding($var = null, $encoding = null)
    429426    {
    430         if (\PHP_VERSION_ID < 70200 && \is_array($var)) {
    431             trigger_error('mb_check_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING);
    432 
    433             return null;
    434         }
    435 
    436427        if (null === $encoding) {
    437428            if (null === $var) {
     
    981972    }
    982973
     974    public static function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string
     975    {
     976        return self::mb_internal_trim('{^[%s]+|[%1$s]+$}Du', $string, $characters, $encoding, __FUNCTION__);
     977    }
     978
     979    public static function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string
     980    {
     981        return self::mb_internal_trim('{^[%s]+}Du', $string, $characters, $encoding, __FUNCTION__);
     982    }
     983
     984    public static function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string
     985    {
     986        return self::mb_internal_trim('{[%s]+$}D', $string, $characters, $encoding, __FUNCTION__);
     987    }
     988
     989    private static function mb_internal_trim(string $regex, string $string, ?string $characters, ?string $encoding, string $function): string
     990    {
     991        if (null === $encoding) {
     992            $encoding = self::mb_internal_encoding();
     993        } else {
     994            self::assertEncoding($encoding, $function.'(): Argument #3 ($encoding) must be a valid encoding, "%s" given');
     995        }
     996
     997        if ('' === $characters) {
     998            return null === $encoding ? $string : self::mb_convert_encoding($string, $encoding);
     999        }
     1000
     1001        if ('UTF-8' === $encoding) {
     1002            $encoding = null;
     1003            if (!preg_match('//u', $string)) {
     1004                $string = @iconv('UTF-8', 'UTF-8//IGNORE', $string);
     1005            }
     1006            if (null !== $characters && !preg_match('//u', $characters)) {
     1007                $characters = @iconv('UTF-8', 'UTF-8//IGNORE', $characters);
     1008            }
     1009        } else {
     1010            $string = iconv($encoding, 'UTF-8//IGNORE', $string);
     1011
     1012            if (null !== $characters) {
     1013                $characters = iconv($encoding, 'UTF-8//IGNORE', $characters);
     1014            }
     1015        }
     1016
     1017        if (null === $characters) {
     1018            $characters = "\\0 \f\n\r\t\v\u{00A0}\u{1680}\u{2000}\u{2001}\u{2002}\u{2003}\u{2004}\u{2005}\u{2006}\u{2007}\u{2008}\u{2009}\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{0085}\u{180E}";
     1019        } else {
     1020            $characters = preg_quote($characters);
     1021        }
     1022
     1023        $string = preg_replace(sprintf($regex, $characters), '', $string);
     1024
     1025        if (null === $encoding) {
     1026            return $string;
     1027        }
     1028
     1029        return iconv('UTF-8', $encoding.'//IGNORE', $string);
     1030    }
     1031
    9831032    private static function assertEncoding(string $encoding, string $errorFormat): void
    9841033    {
     
    9861035            $validEncoding = @self::mb_check_encoding('', $encoding);
    9871036        } catch (\ValueError $e) {
    988             throw new \ValueError(\sprintf($errorFormat, $encoding));
     1037            throw new \ValueError(sprintf($errorFormat, $encoding));
    9891038        }
    9901039
    9911040        // BC for PHP 7.3 and lower
    9921041        if (!$validEncoding) {
    993             throw new \ValueError(\sprintf($errorFormat, $encoding));
     1042            throw new \ValueError(sprintf($errorFormat, $encoding));
    9941043        }
    9951044    }
  • full-text-search/tags/2.14.7/vendor/symfony/polyfill-mbstring/bootstrap.php

    r3138583 r3265371  
    145145}
    146146
     147if (!function_exists('mb_trim')) {
     148    function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
     149}
     150
     151if (!function_exists('mb_ltrim')) {
     152    function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
     153}
     154
     155if (!function_exists('mb_rtrim')) {
     156    function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
     157}
     158
     159
    147160if (extension_loaded('mbstring')) {
    148161    return;
  • full-text-search/tags/2.14.7/vendor/symfony/polyfill-mbstring/bootstrap80.php

    r3138583 r3265371  
    9494}
    9595if (!function_exists('mb_get_info')) {
    96     function mb_get_info(?string $type = 'all'): array|string|int|false { return p\Mbstring::mb_get_info((string) $type); }
     96    function mb_get_info(?string $type = 'all'): array|string|int|false|null { return p\Mbstring::mb_get_info((string) $type); }
    9797}
    9898if (!function_exists('mb_http_output')) {
     
    141141}
    142142
     143if (!function_exists('mb_trim')) {
     144    function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
     145}
     146
     147if (!function_exists('mb_ltrim')) {
     148    function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
     149}
     150
     151if (!function_exists('mb_rtrim')) {
     152    function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
     153}
     154
    143155if (extension_loaded('mbstring')) {
    144156    return;
  • full-text-search/trunk/full-text-search.php

    r3138583 r3265371  
    1111 * Plugin URI:        https://xakuro.com/wordpress/
    1212 * Description:       Replaces site search with full-text search.
    13  * Version:           2.14.6
     13 * Version:           2.14.7
    1414 * Requires at least: 5.5
    1515 * Requires PHP:      7.2
     
    2525}
    2626
    27 define( 'FULL_TEXT_SEARCH_VERSION', '2.14.6' );
     27define( 'FULL_TEXT_SEARCH_VERSION', '2.14.7' );
    2828
    2929require_once __DIR__ . '/main.php';
  • full-text-search/trunk/readme.txt

    r3138583 r3265371  
    33Tags: full-text search,full-text,search,fulltext,mroonga
    44Requires at least: 5.5
    5 Tested up to: 6.6
     5Tested up to: 6.7
    66Requires PHP: 7.2
    7 Stable tag: 2.14.6
     7Stable tag: 2.14.7
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5252
    5353== Changelog ==
     54
     55= 2.14.7 =
     56
     57* Supported WordPress version 6.7.
     58* Updated PDF Parser library to 2.12.0.
    5459
    5560= 2.14.6 =
  • full-text-search/trunk/vendor/composer/InstalledVersions.php

    r2903276 r3265371  
    3232     */
    3333    private static $installed;
     34
     35    /**
     36     * @var bool
     37     */
     38    private static $installedIsLocalDir;
    3439
    3540    /**
     
    310315        self::$installed = $data;
    311316        self::$installedByVendor = array();
     317
     318        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     319        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     320        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     321        // all installed packages for example
     322        self::$installedIsLocalDir = false;
    312323    }
    313324
     
    323334
    324335        $installed = array();
     336        $copiedLocalDir = false;
    325337
    326338        if (self::$canGetVendors) {
     339            $selfDir = strtr(__DIR__, '\\', '/');
    327340            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     341                $vendorDir = strtr($vendorDir, '\\', '/');
    328342                if (isset(self::$installedByVendor[$vendorDir])) {
    329343                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331345                    /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */
    332346                    $required = require $vendorDir.'/composer/installed.php';
    333                     $installed[] = self::$installedByVendor[$vendorDir] = $required;
    334                     if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
    335                         self::$installed = $installed[count($installed) - 1];
     347                    self::$installedByVendor[$vendorDir] = $required;
     348                    $installed[] = $required;
     349                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
     350                        self::$installed = $required;
     351                        self::$installedIsLocalDir = true;
    336352                    }
     353                }
     354                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     355                    $copiedLocalDir = true;
    337356                }
    338357            }
     
    351370        }
    352371
    353         if (self::$installed !== array()) {
     372        if (self::$installed !== array() && !$copiedLocalDir) {
    354373            $installed[] = self::$installed;
    355374        }
  • full-text-search/trunk/vendor/composer/installed.json

    r3138583 r3265371  
    2626            "type": "composer-plugin",
    2727            "extra": {
     28                "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin",
    2829                "autotagger": true,
    29                 "class": "Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin",
    3030                "mirror-repo": "Automattic/jetpack-autoloader",
     31                "branch-alias": {
     32                    "dev-trunk": "2.12.x-dev"
     33                },
    3134                "changelogger": {
    3235                    "link-template": "https://github.com/Automattic/jetpack-autoloader/compare/v${old}...v${new}"
     
    3437                "version-constants": {
    3538                    "::VERSION": "src/AutoloadGenerator.php"
    36                 },
    37                 "branch-alias": {
    38                     "dev-trunk": "2.12.x-dev"
    3939                }
    4040            },
     
    6868        {
    6969            "name": "smalot/pdfparser",
    70             "version": "v2.11.0",
    71             "version_normalized": "2.11.0.0",
     70            "version": "v2.12.0",
     71            "version_normalized": "2.12.0.0",
    7272            "source": {
    7373                "type": "git",
    7474                "url": "https://github.com/smalot/pdfparser.git",
    75                 "reference": "ac8e6678b0940e4b2ccd5caadd3fb18e68093be6"
     75                "reference": "8440edbf58c8596074e78ada38dcb0bd041a5948"
    7676            },
    7777            "dist": {
    7878                "type": "zip",
    79                 "url": "https://api.github.com/repos/smalot/pdfparser/zipball/ac8e6678b0940e4b2ccd5caadd3fb18e68093be6",
    80                 "reference": "ac8e6678b0940e4b2ccd5caadd3fb18e68093be6",
     79                "url": "https://api.github.com/repos/smalot/pdfparser/zipball/8440edbf58c8596074e78ada38dcb0bd041a5948",
     80                "reference": "8440edbf58c8596074e78ada38dcb0bd041a5948",
    8181                "shasum": ""
    8282            },
     
    8787                "symfony/polyfill-mbstring": "^1.18"
    8888            },
    89             "time": "2024-08-16T06:48:03+00:00",
     89            "time": "2025-03-31T13:16:09+00:00",
    9090            "type": "library",
    9191            "installation-source": "dist",
     
    116116            "support": {
    117117                "issues": "https://github.com/smalot/pdfparser/issues",
    118                 "source": "https://github.com/smalot/pdfparser/tree/v2.11.0"
     118                "source": "https://github.com/smalot/pdfparser/tree/v2.12.0"
    119119            },
    120120            "install-path": "../smalot/pdfparser"
     
    122122        {
    123123            "name": "symfony/polyfill-mbstring",
    124             "version": "v1.30.0",
    125             "version_normalized": "1.30.0.0",
     124            "version": "v1.31.0",
     125            "version_normalized": "1.31.0.0",
    126126            "source": {
    127127                "type": "git",
    128128                "url": "https://github.com/symfony/polyfill-mbstring.git",
    129                 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c"
     129                "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341"
    130130            },
    131131            "dist": {
    132132                "type": "zip",
    133                 "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/fd22ab50000ef01661e2a31d850ebaa297f8e03c",
    134                 "reference": "fd22ab50000ef01661e2a31d850ebaa297f8e03c",
     133                "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341",
     134                "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341",
    135135                "shasum": ""
    136136            },
    137137            "require": {
    138                 "php": ">=7.1"
     138                "php": ">=7.2"
    139139            },
    140140            "provide": {
     
    144144                "ext-mbstring": "For best performance"
    145145            },
    146             "time": "2024-06-19T12:30:46+00:00",
     146            "time": "2024-09-09T11:45:10+00:00",
    147147            "type": "library",
    148148            "extra": {
    149149                "thanks": {
    150                     "name": "symfony/polyfill",
    151                     "url": "https://github.com/symfony/polyfill"
     150                    "url": "https://github.com/symfony/polyfill",
     151                    "name": "symfony/polyfill"
    152152                }
    153153            },
     
    185185            ],
    186186            "support": {
    187                 "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.30.0"
     187                "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0"
    188188            },
    189189            "funding": [
  • full-text-search/trunk/vendor/composer/installed.php

    r3138583 r3265371  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => 'v2.14.6',
    5         'version' => '2.14.6.0',
    6         'reference' => 'dd1bbe276c4c0cfd4455bfe3321fb7dcf40539fc',
     4        'pretty_version' => 'v2.14.7',
     5        'version' => '2.14.7.0',
     6        'reference' => '30407d34ff04ea8e5b61094bb55465671dca208b',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => 'v2.14.6',
    15             'version' => '2.14.6.0',
    16             'reference' => 'dd1bbe276c4c0cfd4455bfe3321fb7dcf40539fc',
     14            'pretty_version' => 'v2.14.7',
     15            'version' => '2.14.7.0',
     16            'reference' => '30407d34ff04ea8e5b61094bb55465671dca208b',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
     
    3030        ),
    3131        'smalot/pdfparser' => array(
    32             'pretty_version' => 'v2.11.0',
    33             'version' => '2.11.0.0',
    34             'reference' => 'ac8e6678b0940e4b2ccd5caadd3fb18e68093be6',
     32            'pretty_version' => 'v2.12.0',
     33            'version' => '2.12.0.0',
     34            'reference' => '8440edbf58c8596074e78ada38dcb0bd041a5948',
    3535            'type' => 'library',
    3636            'install_path' => __DIR__ . '/../smalot/pdfparser',
     
    3939        ),
    4040        'symfony/polyfill-mbstring' => array(
    41             'pretty_version' => 'v1.30.0',
    42             'version' => '1.30.0.0',
    43             'reference' => 'fd22ab50000ef01661e2a31d850ebaa297f8e03c',
     41            'pretty_version' => 'v1.31.0',
     42            'version' => '1.31.0.0',
     43            'reference' => '85181ba99b2345b0ef10ce42ecac37612d9fd341',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../symfony/polyfill-mbstring',
  • full-text-search/trunk/vendor/composer/jetpack_autoload_classmap.php

    r3138583 r3265371  
    1212    ),
    1313    'Smalot\\PdfParser\\Config' => array(
    14         'version' => '2.11.0.0',
     14        'version' => '2.12.0.0',
    1515        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Config.php'
    1616    ),
    1717    'Smalot\\PdfParser\\Document' => array(
    18         'version' => '2.11.0.0',
     18        'version' => '2.12.0.0',
    1919        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Document.php'
    2020    ),
    2121    'Smalot\\PdfParser\\Element' => array(
    22         'version' => '2.11.0.0',
     22        'version' => '2.12.0.0',
    2323        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element.php'
    2424    ),
    2525    'Smalot\\PdfParser\\Element\\ElementArray' => array(
    26         'version' => '2.11.0.0',
     26        'version' => '2.12.0.0',
    2727        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementArray.php'
    2828    ),
    2929    'Smalot\\PdfParser\\Element\\ElementBoolean' => array(
    30         'version' => '2.11.0.0',
     30        'version' => '2.12.0.0',
    3131        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementBoolean.php'
    3232    ),
    3333    'Smalot\\PdfParser\\Element\\ElementDate' => array(
    34         'version' => '2.11.0.0',
     34        'version' => '2.12.0.0',
    3535        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementDate.php'
    3636    ),
    3737    'Smalot\\PdfParser\\Element\\ElementHexa' => array(
    38         'version' => '2.11.0.0',
     38        'version' => '2.12.0.0',
    3939        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementHexa.php'
    4040    ),
    4141    'Smalot\\PdfParser\\Element\\ElementMissing' => array(
    42         'version' => '2.11.0.0',
     42        'version' => '2.12.0.0',
    4343        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementMissing.php'
    4444    ),
    4545    'Smalot\\PdfParser\\Element\\ElementName' => array(
    46         'version' => '2.11.0.0',
     46        'version' => '2.12.0.0',
    4747        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementName.php'
    4848    ),
    4949    'Smalot\\PdfParser\\Element\\ElementNull' => array(
    50         'version' => '2.11.0.0',
     50        'version' => '2.12.0.0',
    5151        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementNull.php'
    5252    ),
    5353    'Smalot\\PdfParser\\Element\\ElementNumeric' => array(
    54         'version' => '2.11.0.0',
     54        'version' => '2.12.0.0',
    5555        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementNumeric.php'
    5656    ),
    5757    'Smalot\\PdfParser\\Element\\ElementString' => array(
    58         'version' => '2.11.0.0',
     58        'version' => '2.12.0.0',
    5959        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementString.php'
    6060    ),
    6161    'Smalot\\PdfParser\\Element\\ElementStruct' => array(
    62         'version' => '2.11.0.0',
     62        'version' => '2.12.0.0',
    6363        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementStruct.php'
    6464    ),
    6565    'Smalot\\PdfParser\\Element\\ElementXRef' => array(
    66         'version' => '2.11.0.0',
     66        'version' => '2.12.0.0',
    6767        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Element/ElementXRef.php'
    6868    ),
    6969    'Smalot\\PdfParser\\Encoding' => array(
    70         'version' => '2.11.0.0',
     70        'version' => '2.12.0.0',
    7171        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding.php'
    7272    ),
    7373    'Smalot\\PdfParser\\Encoding\\AbstractEncoding' => array(
    74         'version' => '2.11.0.0',
     74        'version' => '2.12.0.0',
    7575        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/AbstractEncoding.php'
    7676    ),
    7777    'Smalot\\PdfParser\\Encoding\\EncodingLocator' => array(
    78         'version' => '2.11.0.0',
     78        'version' => '2.12.0.0',
    7979        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/EncodingLocator.php'
    8080    ),
    8181    'Smalot\\PdfParser\\Encoding\\ISOLatin1Encoding' => array(
    82         'version' => '2.11.0.0',
     82        'version' => '2.12.0.0',
    8383        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/ISOLatin1Encoding.php'
    8484    ),
    8585    'Smalot\\PdfParser\\Encoding\\ISOLatin9Encoding' => array(
    86         'version' => '2.11.0.0',
     86        'version' => '2.12.0.0',
    8787        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/ISOLatin9Encoding.php'
    8888    ),
    8989    'Smalot\\PdfParser\\Encoding\\MacRomanEncoding' => array(
    90         'version' => '2.11.0.0',
     90        'version' => '2.12.0.0',
    9191        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/MacRomanEncoding.php'
    9292    ),
    9393    'Smalot\\PdfParser\\Encoding\\PDFDocEncoding' => array(
    94         'version' => '2.11.0.0',
     94        'version' => '2.12.0.0',
    9595        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/PDFDocEncoding.php'
    9696    ),
    9797    'Smalot\\PdfParser\\Encoding\\PostScriptGlyphs' => array(
    98         'version' => '2.11.0.0',
     98        'version' => '2.12.0.0',
    9999        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/PostScriptGlyphs.php'
    100100    ),
    101101    'Smalot\\PdfParser\\Encoding\\StandardEncoding' => array(
    102         'version' => '2.11.0.0',
     102        'version' => '2.12.0.0',
    103103        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/StandardEncoding.php'
    104104    ),
    105105    'Smalot\\PdfParser\\Encoding\\WinAnsiEncoding' => array(
    106         'version' => '2.11.0.0',
     106        'version' => '2.12.0.0',
    107107        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Encoding/WinAnsiEncoding.php'
    108108    ),
     109    'Smalot\\PdfParser\\Exception\\EmptyPdfException' => array(
     110        'version' => '2.12.0.0',
     111        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/EmptyPdfException.php'
     112    ),
    109113    'Smalot\\PdfParser\\Exception\\EncodingNotFoundException' => array(
    110         'version' => '2.11.0.0',
     114        'version' => '2.12.0.0',
    111115        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/EncodingNotFoundException.php'
    112116    ),
     117    'Smalot\\PdfParser\\Exception\\InvalidDictionaryObjectException' => array(
     118        'version' => '2.12.0.0',
     119        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/InvalidDictionaryObjectException.php'
     120    ),
     121    'Smalot\\PdfParser\\Exception\\MissingCatalogException' => array(
     122        'version' => '2.12.0.0',
     123        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/MissingCatalogException.php'
     124    ),
     125    'Smalot\\PdfParser\\Exception\\MissingPdfHeaderException' => array(
     126        'version' => '2.12.0.0',
     127        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/MissingPdfHeaderException.php'
     128    ),
     129    'Smalot\\PdfParser\\Exception\\NotImplementedException' => array(
     130        'version' => '2.12.0.0',
     131        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Exception/NotImplementedException.php'
     132    ),
    113133    'Smalot\\PdfParser\\Font' => array(
    114         'version' => '2.11.0.0',
     134        'version' => '2.12.0.0',
    115135        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font.php'
    116136    ),
    117137    'Smalot\\PdfParser\\Font\\FontCIDFontType0' => array(
    118         'version' => '2.11.0.0',
     138        'version' => '2.12.0.0',
    119139        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontCIDFontType0.php'
    120140    ),
    121141    'Smalot\\PdfParser\\Font\\FontCIDFontType2' => array(
    122         'version' => '2.11.0.0',
     142        'version' => '2.12.0.0',
    123143        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontCIDFontType2.php'
    124144    ),
    125145    'Smalot\\PdfParser\\Font\\FontTrueType' => array(
    126         'version' => '2.11.0.0',
     146        'version' => '2.12.0.0',
    127147        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontTrueType.php'
    128148    ),
    129149    'Smalot\\PdfParser\\Font\\FontType0' => array(
    130         'version' => '2.11.0.0',
     150        'version' => '2.12.0.0',
    131151        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType0.php'
    132152    ),
    133153    'Smalot\\PdfParser\\Font\\FontType1' => array(
    134         'version' => '2.11.0.0',
     154        'version' => '2.12.0.0',
    135155        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType1.php'
    136156    ),
    137157    'Smalot\\PdfParser\\Font\\FontType3' => array(
    138         'version' => '2.11.0.0',
     158        'version' => '2.12.0.0',
    139159        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Font/FontType3.php'
    140160    ),
    141161    'Smalot\\PdfParser\\Header' => array(
    142         'version' => '2.11.0.0',
     162        'version' => '2.12.0.0',
    143163        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Header.php'
    144164    ),
    145165    'Smalot\\PdfParser\\PDFObject' => array(
    146         'version' => '2.11.0.0',
     166        'version' => '2.12.0.0',
    147167        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/PDFObject.php'
    148168    ),
    149169    'Smalot\\PdfParser\\Page' => array(
    150         'version' => '2.11.0.0',
     170        'version' => '2.12.0.0',
    151171        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Page.php'
    152172    ),
    153173    'Smalot\\PdfParser\\Pages' => array(
    154         'version' => '2.11.0.0',
     174        'version' => '2.12.0.0',
    155175        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Pages.php'
    156176    ),
    157177    'Smalot\\PdfParser\\Parser' => array(
    158         'version' => '2.11.0.0',
     178        'version' => '2.12.0.0',
    159179        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/Parser.php'
    160180    ),
    161181    'Smalot\\PdfParser\\RawData\\FilterHelper' => array(
    162         'version' => '2.11.0.0',
     182        'version' => '2.12.0.0',
    163183        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/RawData/FilterHelper.php'
    164184    ),
    165185    'Smalot\\PdfParser\\RawData\\RawDataParser' => array(
    166         'version' => '2.11.0.0',
     186        'version' => '2.12.0.0',
    167187        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/RawData/RawDataParser.php'
    168188    ),
    169189    'Smalot\\PdfParser\\XObject\\Form' => array(
    170         'version' => '2.11.0.0',
     190        'version' => '2.12.0.0',
    171191        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/XObject/Form.php'
    172192    ),
    173193    'Smalot\\PdfParser\\XObject\\Image' => array(
    174         'version' => '2.11.0.0',
     194        'version' => '2.12.0.0',
    175195        'path'    => $vendorDir . '/smalot/pdfparser/src/Smalot/PdfParser/XObject/Image.php'
    176196    ),
  • full-text-search/trunk/vendor/composer/jetpack_autoload_filemap.php

    r3138583 r3265371  
    88return array(
    99    '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => array(
    10         'version' => '1.30.0.0',
     10        'version' => '1.31.0.0',
    1111        'path'    => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php'
    1212    ),
  • full-text-search/trunk/vendor/composer/jetpack_autoload_psr4.php

    r3138583 r3265371  
    88return array(
    99    'Symfony\\Polyfill\\Mbstring\\' => array(
    10         'version' => '1.30.0.0',
     10        'version' => '1.31.0.0',
    1111        'path'    => array( $vendorDir . '/symfony/polyfill-mbstring' )
    1212    ),
  • full-text-search/trunk/vendor/composer/platform_check.php

    r2773119 r3265371  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70100)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.1.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 70200)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • full-text-search/trunk/vendor/smalot/pdfparser/.github/ISSUE_TEMPLATE/incorrect-parsing.md

    r2773119 r3265371  
    99
    1010<!-- DO NOT THROW THIS AWAY -->
    11 <!-- Fill out the FULL versions with patch versions -->
     11<!-- Fill out the FULL versions with patch versions (e.g. 2.10.0) -->
    1212
    13  - PHP Version: 
    14  - PDFParser Version: 
     13 - PHP Version:
     14 - PDFParser Version:
    1515
    1616### Description:
  • full-text-search/trunk/vendor/smalot/pdfparser/.github/pull_request_template.md

    r3021053 r3265371  
    1212# Checklist for code / configuration changes
    1313
    14 *In case you changed the code/configuration, please read each of the following checkboxes as they contain valuable information:*
    15 
    16 * [ ] Please add at least **one test case** (unit test, system test, ...) to demonstrate that the change is working. If existing code was changed, your tests cover these code parts as well.
    17      By the way, you don't have to provide a full fledged PDF file to demonstrate a fix. Instead a unit test may be sufficient sometimes,
    18      please have a look at [FontTest](https://github.com/smalot/pdfparser/blob/master/tests/PHPUnit/Unit/FontTest.php#L40) for example code.
    19      Code changes without any tests are likely to be rejected. If you dont know how to write tests, no problem, tell us upfront and we may add them ourselves or discuss other ways.
    20 * [ ] Please run **PHP-CS-Fixer** before committing, to confirm with our coding styles. See https://github.com/smalot/pdfparser/blob/master/.php-cs-fixer.php for more information about our coding styles.
    21 * [ ] In case you **fix an existing issue**, please do one of the following:
    22   * [ ] Write in this text something like `fixes #1234` to outline that you are providing a fix for the issue `#1234`.
    23   * [ ] After the pull request was created, you will find on the right side a section called **Development**. There issues can be selected which will be closed after the your pull request got merged.
    24 * [ ] In case you changed internal behavior or functionality, please check our documentation to make sure these changes are **documented properly**: https://github.com/smalot/pdfparser/tree/master/doc
    25 * [ ] In case you want to discuss new ideas/changes and you are not sure, just create a pull request and mark it as **a draft**
    26       (see [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#draft-pull-requests) for more information).
    27       This will tell us, that it is not ready for merge, but you want to discuss certain issues.
    28 
    29 <!--
    30 Pull requests will be declined/rejected if one part of the continous integration pipeline fails.
    31 We use the pipeline to make sure no regressions are introduced and existing code still runs as expected.
    32 -->
     14See [CONTRIBUTING.md](./../CONTRIBUTING.md) for all essential information about contributing.
  • full-text-search/trunk/vendor/smalot/pdfparser/.github/workflows/continuous-integration.yml

    r3138583 r3265371  
    2121          - "8.2"
    2222          - "8.3"
     23          - "8.4"
    2324
    2425    steps:
     
    152153          - "8.2"
    153154          - "8.3"
     155          - "8.4"
    154156
    155157    steps:
     
    206208      fail-fast: true
    207209      matrix:
    208         php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3']
     210        php-versions: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
    209211
    210212    steps:
  • full-text-search/trunk/vendor/smalot/pdfparser/.php-cs-fixer.php

    r2951448 r3265371  
    1515$config
    1616    ->setFinder($finder)
    17     ->setRiskyAllowed(true)
    1817    ->setRules([
    19         '@Symfony' => true,
    20         '@Symfony:risky' => true,
     18        '@PSR12' => true,
    2119        'array_syntax' => ['syntax' => 'short'],
    2220        'no_empty_phpdoc' => true,
  • full-text-search/trunk/vendor/smalot/pdfparser/phpunit-windows.xml

    r2884008 r3265371  
    11<?xml version="1.0" encoding="UTF-8"?>
    22<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
    3 <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor\autoload.php" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
     3<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" backupGlobals="false" bootstrap="vendor\autoload.php" colors="true" processIsolation="false" stopOnFailure="false" cacheDirectory=".phpunit.cache" backupStaticProperties="false" displayDetailsOnTestsThatTriggerWarnings="true">
    44  <coverage>
    55    <include>
  • full-text-search/trunk/vendor/smalot/pdfparser/src/Smalot/PdfParser/Document.php

    r3138583 r3265371  
    3434
    3535use Smalot\PdfParser\Encoding\PDFDocEncoding;
     36use Smalot\PdfParser\Exception\MissingCatalogException;
    3637
    3738/**
     
    256257                                $metadata[] = $val['value'];
    257258
    258                             // Else assign a value to this property
     259                                // Else assign a value to this property
    259260                            } else {
    260261                                $metadata[$val['tag']] = $val['value'];
     
    380381     * @return Page[]
    381382     *
    382      * @throws \Exception
     383     * @throws MissingCatalogException
    383384     */
    384385    public function getPages()
     
    416417        }
    417418
    418         throw new \Exception('Missing catalog.');
     419        throw new MissingCatalogException('Missing catalog.');
    419420    }
    420421
  • full-text-search/trunk/vendor/smalot/pdfparser/src/Smalot/PdfParser/Font.php

    r3138583 r3265371  
    217217            if (preg_match_all('/beginbfrange(?P<sections>.*?)endbfrange/s', $content, $matches)) {
    218218                foreach ($matches['sections'] as $section) {
    219                     // Support for : <srcCode1> <srcCode2> <dstString>
    220                     $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *<(?P<offset>[0-9A-F]+)>[ \r\n]+/is';
     219                    /**
     220                     * Regexp to capture <from>, <to>, and either <offset> or [...] items.
     221                     * - (?P<from>...) Source range's start
     222                     * - (?P<to>...)   Source range's end
     223                     * - (?P<dest>...) Destination range's offset or each char code
     224                     *                 Some PDF file has 2-byte Unicode values on new lines > added \r\n
     225                     */
     226                    $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *(?P<dest><[0-9A-F]+>|\[[\r\n<>0-9A-F ]+\])[ \r\n]+/is';
    221227
    222228                    preg_match_all($regexp, $section, $matches);
     
    225231                        $char_from = hexdec($from);
    226232                        $char_to = hexdec($matches['to'][$key]);
    227                         $offset = hexdec($matches['offset'][$key]);
    228 
    229                         for ($char = $char_from; $char <= $char_to; ++$char) {
    230                             $this->table[$char] = self::uchr($char - $char_from + $offset);
    231                         }
    232                     }
    233 
    234                     // Support for : <srcCode1> <srcCodeN> [<dstString1> <dstString2> ... <dstStringN>]
    235                     // Some PDF file has 2-byte Unicode values on new lines > added \r\n
    236                     $regexp = '/<(?P<from>[0-9A-F]+)> *<(?P<to>[0-9A-F]+)> *\[(?P<strings>[\r\n<>0-9A-F ]+)\][ \r\n]+/is';
    237 
    238                     preg_match_all($regexp, $section, $matches);
    239 
    240                     foreach ($matches['from'] as $key => $from) {
    241                         $char_from = hexdec($from);
    242                         $strings = [];
    243 
    244                         preg_match_all('/<(?P<string>[0-9A-F]+)> */is', $matches['strings'][$key], $strings);
    245 
    246                         foreach ($strings['string'] as $position => $string) {
    247                             $parts = preg_split(
    248                                 '/([0-9A-F]{4})/i',
    249                                 $string,
    250                                 0,
    251                                 \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE
    252                             );
    253                             $text = '';
    254                             foreach ($parts as $part) {
    255                                 $text .= self::uchr(hexdec($part));
     233                        $dest = $matches['dest'][$key];
     234
     235                        if (1 === preg_match('/^<(?P<offset>[0-9A-F]+)>$/i', $dest, $offset_matches)) {
     236                            // Support for : <srcCode1> <srcCode2> <dstString>
     237                            $offset = hexdec($offset_matches['offset']);
     238
     239                            for ($char = $char_from; $char <= $char_to; ++$char) {
     240                                $this->table[$char] = self::uchr($char - $char_from + $offset);
    256241                            }
    257                             $this->table[$char_from + $position] = $text;
     242                        } else {
     243                            // Support for : <srcCode1> <srcCodeN> [<dstString1> <dstString2> ... <dstStringN>]
     244                            $strings = [];
     245                            $matched = preg_match_all('/<(?P<string>[0-9A-F]+)> */is', $dest, $strings);
     246                            if (false === $matched || 0 === $matched) {
     247                                continue;
     248                            }
     249
     250                            foreach ($strings['string'] as $position => $string) {
     251                                $parts = preg_split(
     252                                    '/([0-9A-F]{4})/i',
     253                                    $string,
     254                                    0,
     255                                    \PREG_SPLIT_NO_EMPTY | \PREG_SPLIT_DELIM_CAPTURE
     256                                );
     257                                if (false === $parts) {
     258                                    continue;
     259                                }
     260                                $text = '';
     261                                foreach ($parts as $part) {
     262                                    $text .= self::uchr(hexdec($part));
     263                                }
     264                                $this->table[$char_from + $position] = $text;
     265                            }
    258266                        }
    259267                    }
     
    288296        $widths = $details['Widths'] ?? [];
    289297
    290         // Widths array is zero indexed but table is not. We must map them based on FirstChar and LastChar
    291         $width_map = array_flip(range($details['FirstChar'], $details['LastChar']));
     298        /*
     299         * Widths array is zero indexed but table is not. We must map them based on FirstChar and LastChar
     300         *
     301         * Note: Without the change you would see warnings in PHP 8.4 because the values of FirstChar or LastChar
     302         *       can be null sometimes.
     303         */
     304        $width_map = array_flip(range((int) $details['FirstChar'], (int) $details['LastChar']));
    292305
    293306        $width = null;
  • full-text-search/trunk/vendor/smalot/pdfparser/src/Smalot/PdfParser/PDFObject.php

    r3138583 r3265371  
    3333namespace Smalot\PdfParser;
    3434
     35use Smalot\PdfParser\Exception\InvalidDictionaryObjectException;
    3536use Smalot\PdfParser\XObject\Form;
    3637use Smalot\PdfParser\XObject\Image;
     
    452453                $sections[] = $line;
    453454
    454             // If an 'ET' is encountered, unset the $inTextBlock flag
     455                // If an 'ET' is encountered, unset the $inTextBlock flag
    455456            } elseif ('ET' == $line) {
    456457                $inTextBlock = false;
     
    560561     * @internal
    561562     *
    562      * @throws \Exception
     563     * @throws InvalidDictionaryObjectException
    563564     */
    564565    public function parseDictionary(string $dictionary): array
     
    568569
    569570        if ('<<' != substr($dictionary, 0, 2)) {
    570             throw new \Exception('Not a valid dictionary object.');
     571            throw new InvalidDictionaryObjectException('Not a valid dictionary object.');
    571572        }
    572573
  • full-text-search/trunk/vendor/smalot/pdfparser/src/Smalot/PdfParser/RawData/FilterHelper.php

    r3138583 r3265371  
    4343namespace Smalot\PdfParser\RawData;
    4444
     45use Smalot\PdfParser\Exception\NotImplementedException;
     46
    4547class FilterHelper
    4648{
     
    5557     * @return string Decoded data string
    5658     *
    57      * @throws \Exception if a certain decode function is not implemented yet
     59     * @throws \Exception
     60     * @throws \Smalot\PdfParser\Exception\NotImplementedException if a certain decode function is not implemented yet
    5861     */
    5962    public function decodeFilter(string $filter, string $data, int $decodeMemoryLimit = 0): string
     
    7679
    7780            case 'CCITTFaxDecode':
    78                 throw new \Exception('Decode CCITTFaxDecode not implemented yet.');
     81                throw new NotImplementedException('Decode CCITTFaxDecode not implemented yet.');
    7982            case 'JBIG2Decode':
    80                 throw new \Exception('Decode JBIG2Decode not implemented yet.');
     83                throw new NotImplementedException('Decode JBIG2Decode not implemented yet.');
    8184            case 'DCTDecode':
    82                 throw new \Exception('Decode DCTDecode not implemented yet.');
     85                throw new NotImplementedException('Decode DCTDecode not implemented yet.');
    8386            case 'JPXDecode':
    84                 throw new \Exception('Decode JPXDecode not implemented yet.');
     87                throw new NotImplementedException('Decode JPXDecode not implemented yet.');
    8588            case 'Crypt':
    86                 throw new \Exception('Decode Crypt not implemented yet.');
     89                throw new NotImplementedException('Decode Crypt not implemented yet.');
    8790            default:
    8891                return $data;
  • full-text-search/trunk/vendor/smalot/pdfparser/src/Smalot/PdfParser/RawData/RawDataParser.php

    r3138583 r3265371  
    4444
    4545use Smalot\PdfParser\Config;
     46use Smalot\PdfParser\Exception\EmptyPdfException;
     47use Smalot\PdfParser\Exception\MissingPdfHeaderException;
    4648
    4749class RawDataParser
     
    268270                ('/' == $v[0])
    269271                && ('Type' == $v[1])
    270                 && (isset($sarr[$k + 1])
     272                && (
     273                    isset($sarr[$k + 1])
    271274                    && '/' == $sarr[$k + 1][0]
    272275                    && 'XRef' == $sarr[$k + 1][1]
     
    294297                        '/' == $vdc[0]
    295298                        && 'Columns' == $vdc[1]
    296                         && (isset($decpar[$kdc + 1])
     299                        && (
     300                            isset($decpar[$kdc + 1])
    297301                            && 'numeric' == $decpar[$kdc + 1][0]
    298302                        )
     
    302306                        '/' == $vdc[0]
    303307                        && 'Predictor' == $vdc[1]
    304                         && (isset($decpar[$kdc + 1])
     308                        && (
     309                            isset($decpar[$kdc + 1])
    305310                            && 'numeric' == $decpar[$kdc + 1][0]
    306311                        )
     
    408413                    $prev_row = $ddata[$k];
    409414                } // end for each row
    410             // complete decoding
     415                // complete decoding
    411416            } else {
    412417                // number of bytes in a row
     
    936941     * @return array array of parsed PDF document objects
    937942     *
    938      * @throws \Exception if empty PDF data given
    939      * @throws \Exception if PDF data missing %PDF header
     943     * @throws EmptyPdfException if empty PDF data given
     944     * @throws MissingPdfHeaderException if PDF data missing `%PDF-` header
    940945     */
    941946    public function parseData(string $data): array
    942947    {
    943948        if (empty($data)) {
    944             throw new \Exception('Empty PDF data given.');
     949            throw new EmptyPdfException('Empty PDF data given.');
    945950        }
    946951        // find the pdf header starting position
    947952        if (false === ($trimpos = strpos($data, '%PDF-'))) {
    948             throw new \Exception('Invalid PDF data: missing %PDF header.');
     953            throw new MissingPdfHeaderException('Invalid PDF data: Missing `%PDF-` header.');
    949954        }
    950955
  • full-text-search/trunk/vendor/symfony/polyfill-mbstring/Mbstring.php

    r3138583 r3265371  
    5151 * - mb_ucfirst              - Make a string's first character uppercase
    5252 * - mb_lcfirst              - Make a string's first character lowercase
     53 * - mb_trim                 - Strip whitespace (or other characters) from the beginning and end of a string
     54 * - mb_ltrim                - Strip whitespace (or other characters) from the beginning of a string
     55 * - mb_rtrim                - Strip whitespace (or other characters) from the end of a string
    5356 *
    5457 * Not implemented:
     
    8487    {
    8588        if (\is_array($s)) {
    86             if (PHP_VERSION_ID < 70200) {
    87                 trigger_error('mb_convert_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING);
    88 
    89                 return null;
    90             }
    91 
    9289            $r = [];
    9390            foreach ($s as $str) {
     
    428425    public static function mb_check_encoding($var = null, $encoding = null)
    429426    {
    430         if (\PHP_VERSION_ID < 70200 && \is_array($var)) {
    431             trigger_error('mb_check_encoding() expects parameter 1 to be string, array given', \E_USER_WARNING);
    432 
    433             return null;
    434         }
    435 
    436427        if (null === $encoding) {
    437428            if (null === $var) {
     
    981972    }
    982973
     974    public static function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string
     975    {
     976        return self::mb_internal_trim('{^[%s]+|[%1$s]+$}Du', $string, $characters, $encoding, __FUNCTION__);
     977    }
     978
     979    public static function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string
     980    {
     981        return self::mb_internal_trim('{^[%s]+}Du', $string, $characters, $encoding, __FUNCTION__);
     982    }
     983
     984    public static function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string
     985    {
     986        return self::mb_internal_trim('{[%s]+$}D', $string, $characters, $encoding, __FUNCTION__);
     987    }
     988
     989    private static function mb_internal_trim(string $regex, string $string, ?string $characters, ?string $encoding, string $function): string
     990    {
     991        if (null === $encoding) {
     992            $encoding = self::mb_internal_encoding();
     993        } else {
     994            self::assertEncoding($encoding, $function.'(): Argument #3 ($encoding) must be a valid encoding, "%s" given');
     995        }
     996
     997        if ('' === $characters) {
     998            return null === $encoding ? $string : self::mb_convert_encoding($string, $encoding);
     999        }
     1000
     1001        if ('UTF-8' === $encoding) {
     1002            $encoding = null;
     1003            if (!preg_match('//u', $string)) {
     1004                $string = @iconv('UTF-8', 'UTF-8//IGNORE', $string);
     1005            }
     1006            if (null !== $characters && !preg_match('//u', $characters)) {
     1007                $characters = @iconv('UTF-8', 'UTF-8//IGNORE', $characters);
     1008            }
     1009        } else {
     1010            $string = iconv($encoding, 'UTF-8//IGNORE', $string);
     1011
     1012            if (null !== $characters) {
     1013                $characters = iconv($encoding, 'UTF-8//IGNORE', $characters);
     1014            }
     1015        }
     1016
     1017        if (null === $characters) {
     1018            $characters = "\\0 \f\n\r\t\v\u{00A0}\u{1680}\u{2000}\u{2001}\u{2002}\u{2003}\u{2004}\u{2005}\u{2006}\u{2007}\u{2008}\u{2009}\u{200A}\u{2028}\u{2029}\u{202F}\u{205F}\u{3000}\u{0085}\u{180E}";
     1019        } else {
     1020            $characters = preg_quote($characters);
     1021        }
     1022
     1023        $string = preg_replace(sprintf($regex, $characters), '', $string);
     1024
     1025        if (null === $encoding) {
     1026            return $string;
     1027        }
     1028
     1029        return iconv('UTF-8', $encoding.'//IGNORE', $string);
     1030    }
     1031
    9831032    private static function assertEncoding(string $encoding, string $errorFormat): void
    9841033    {
     
    9861035            $validEncoding = @self::mb_check_encoding('', $encoding);
    9871036        } catch (\ValueError $e) {
    988             throw new \ValueError(\sprintf($errorFormat, $encoding));
     1037            throw new \ValueError(sprintf($errorFormat, $encoding));
    9891038        }
    9901039
    9911040        // BC for PHP 7.3 and lower
    9921041        if (!$validEncoding) {
    993             throw new \ValueError(\sprintf($errorFormat, $encoding));
     1042            throw new \ValueError(sprintf($errorFormat, $encoding));
    9941043        }
    9951044    }
  • full-text-search/trunk/vendor/symfony/polyfill-mbstring/bootstrap.php

    r3138583 r3265371  
    145145}
    146146
     147if (!function_exists('mb_trim')) {
     148    function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
     149}
     150
     151if (!function_exists('mb_ltrim')) {
     152    function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
     153}
     154
     155if (!function_exists('mb_rtrim')) {
     156    function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
     157}
     158
     159
    147160if (extension_loaded('mbstring')) {
    148161    return;
  • full-text-search/trunk/vendor/symfony/polyfill-mbstring/bootstrap80.php

    r3138583 r3265371  
    9494}
    9595if (!function_exists('mb_get_info')) {
    96     function mb_get_info(?string $type = 'all'): array|string|int|false { return p\Mbstring::mb_get_info((string) $type); }
     96    function mb_get_info(?string $type = 'all'): array|string|int|false|null { return p\Mbstring::mb_get_info((string) $type); }
    9797}
    9898if (!function_exists('mb_http_output')) {
     
    141141}
    142142
     143if (!function_exists('mb_trim')) {
     144    function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_trim($string, $characters, $encoding); }
     145}
     146
     147if (!function_exists('mb_ltrim')) {
     148    function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_ltrim($string, $characters, $encoding); }
     149}
     150
     151if (!function_exists('mb_rtrim')) {
     152    function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string { return p\Mbstring::mb_rtrim($string, $characters, $encoding); }
     153}
     154
    143155if (extension_loaded('mbstring')) {
    144156    return;
Note: See TracChangeset for help on using the changeset viewer.