Changeset 2563851
- Timestamp:
- 07/13/2021 08:32:21 PM (5 years ago)
- Location:
- woocommerce-pdf-invoices/trunk/vendor
- Files:
-
- 10 edited
-
composer/ClassLoader.php (modified) (7 diffs)
-
composer/LICENSE (modified) (2 diffs)
-
composer/autoload_classmap.php (modified) (1 diff)
-
composer/autoload_namespaces.php (modified) (1 diff)
-
composer/autoload_real.php (modified) (1 diff)
-
composer/autoload_static.php (modified) (3 diffs)
-
composer/installed.json (modified) (1 diff)
-
mpdf/mpdf/classes/mpdfform.php (modified) (1 diff)
-
mpdf/mpdf/classes/otl.php (modified) (3 diffs)
-
mpdf/mpdf/mpdf.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-pdf-invoices/trunk/vendor/composer/ClassLoader.php
r2519919 r2563851 38 38 * @author Fabien Potencier <fabien@symfony.com> 39 39 * @author Jordi Boggiano <j.boggiano@seld.be> 40 * @see http ://www.php-fig.org/psr/psr-0/41 * @see http ://www.php-fig.org/psr/psr-4/40 * @see https://www.php-fig.org/psr/psr-0/ 41 * @see https://www.php-fig.org/psr/psr-4/ 42 42 */ 43 43 class ClassLoader 44 44 { 45 private $vendorDir; 46 45 47 // PSR-4 46 48 private $prefixLengthsPsr4 = array(); … … 58 60 private $apcuPrefix; 59 61 62 private static $registeredLoaders = array(); 63 64 public function __construct($vendorDir = null) 65 { 66 $this->vendorDir = $vendorDir; 67 } 68 60 69 public function getPrefixes() 61 70 { 62 71 if (!empty($this->prefixesPsr0)) { 63 return call_user_func_array('array_merge', $this->prefixesPsr0);72 return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); 64 73 } 65 74 … … 301 310 { 302 311 spl_autoload_register(array($this, 'loadClass'), true, $prepend); 312 313 if (null === $this->vendorDir) { 314 return; 315 } 316 317 if ($prepend) { 318 self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; 319 } else { 320 unset(self::$registeredLoaders[$this->vendorDir]); 321 self::$registeredLoaders[$this->vendorDir] = $this; 322 } 303 323 } 304 324 … … 309 329 { 310 330 spl_autoload_unregister(array($this, 'loadClass')); 331 332 if (null !== $this->vendorDir) { 333 unset(self::$registeredLoaders[$this->vendorDir]); 334 } 311 335 } 312 336 … … 315 339 * 316 340 * @param string $class The name of the class 317 * @return bool|null True if loaded, null otherwise341 * @return true|null True if loaded, null otherwise 318 342 */ 319 343 public function loadClass($class) … … 324 348 return true; 325 349 } 350 351 return null; 326 352 } 327 353 … … 366 392 367 393 return $file; 394 } 395 396 /** 397 * Returns the currently registered loaders indexed by their corresponding vendor directories. 398 * 399 * @return self[] 400 */ 401 public static function getRegisteredLoaders() 402 { 403 return self::$registeredLoaders; 368 404 } 369 405 -
woocommerce-pdf-invoices/trunk/vendor/composer/LICENSE
r2519919 r2563851 1 1 2 Copyright (c) Nils Adermann, Jordi Boggiano 2 3 … … 18 19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 20 THE SOFTWARE. 21 -
woocommerce-pdf-invoices/trunk/vendor/composer/autoload_classmap.php
r2070934 r2563851 32 32 'CGIFIMAGEHEADER' => $vendorDir . '/mpdf/mpdf/classes/gif.php', 33 33 'CGIFLZW' => $vendorDir . '/mpdf/mpdf/classes/gif.php', 34 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', 34 35 'FPDF_TPL' => $vendorDir . '/setasign/fpdi/fpdf_tpl.php', 35 36 'FPDI' => $vendorDir . '/setasign/fpdi/fpdi.php', -
woocommerce-pdf-invoices/trunk/vendor/composer/autoload_namespaces.php
r1647374 r2563851 7 7 8 8 return array( 9 'xrstf\\Composer52' => array($vendorDir . '/xrstf/composer-php52/lib'),10 9 ); -
woocommerce-pdf-invoices/trunk/vendor/composer/autoload_real.php
r2519919 r2563851 23 23 } 24 24 25 require __DIR__ . '/platform_check.php'; 26 25 27 spl_autoload_register(array('ComposerAutoloaderInit45cf95829fd07145c60ebe1d126688a8', 'loadClassLoader'), true, true); 26 self::$loader = $loader = new \Composer\Autoload\ClassLoader( );28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 27 29 spl_autoload_unregister(array('ComposerAutoloaderInit45cf95829fd07145c60ebe1d126688a8', 'loadClassLoader')); 28 30 29 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); 30 32 if ($useStaticLoader) { 31 require _once__DIR__ . '/autoload_static.php';33 require __DIR__ . '/autoload_static.php'; 32 34 33 35 call_user_func(\Composer\Autoload\ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::getInitializer($loader)); -
woocommerce-pdf-invoices/trunk/vendor/composer/autoload_static.php
r2091585 r2563851 7 7 class ComposerStaticInit45cf95829fd07145c60ebe1d126688a8 8 8 { 9 public static $prefixesPsr0 = array (10 'x' =>11 array (12 'xrstf\\Composer52' =>13 array (14 0 => __DIR__ . '/..' . '/xrstf/composer-php52/lib',15 ),16 ),17 );18 19 9 public static $classMap = array ( 20 10 'BEWPI_Abstract_Document' => __DIR__ . '/../..' . '/includes/abstracts/abstract-document.php', … … 43 33 'CGIFIMAGEHEADER' => __DIR__ . '/..' . '/mpdf/mpdf/classes/gif.php', 44 34 'CGIFLZW' => __DIR__ . '/..' . '/mpdf/mpdf/classes/gif.php', 35 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 45 36 'FPDF_TPL' => __DIR__ . '/..' . '/setasign/fpdi/fpdf_tpl.php', 46 37 'FPDI' => __DIR__ . '/..' . '/setasign/fpdi/fpdi.php', … … 74 65 { 75 66 return \Closure::bind(function () use ($loader) { 76 $loader->prefixesPsr0 = ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::$prefixesPsr0;77 67 $loader->classMap = ComposerStaticInit45cf95829fd07145c60ebe1d126688a8::$classMap; 78 68 -
woocommerce-pdf-invoices/trunk/vendor/composer/installed.json
r2328313 r2563851 1 [ 2 { 3 "name": "mpdf/mpdf", 4 "version": "dev-mpdf", 5 "version_normalized": "dev-mpdf", 6 "source": { 7 "type": "git", 8 "url": "https://github.com/baselbers/mpdf.git", 9 "reference": "e65509d36a2e5b14bea72a4a80439c55e6062071" 1 { 2 "packages": [ 3 { 4 "name": "mpdf/mpdf", 5 "version": "dev-mpdf", 6 "version_normalized": "dev-mpdf", 7 "source": { 8 "type": "git", 9 "url": "https://github.com/baselbers/mpdf.git", 10 "reference": "94d2f12d59962d967dc259a2521415cc889ae1fc" 11 }, 12 "dist": { 13 "type": "zip", 14 "url": "https://api.github.com/repos/baselbers/mpdf/zipball/94d2f12d59962d967dc259a2521415cc889ae1fc", 15 "reference": "94d2f12d59962d967dc259a2521415cc889ae1fc", 16 "shasum": "" 17 }, 18 "require": { 19 "ext-mbstring": "*", 20 "php": ">=5.4.0", 21 "setasign/fpdi": "1.6.*" 22 }, 23 "require-dev": { 24 "phpunit/phpunit": "^4.7" 25 }, 26 "suggest": { 27 "ext-zlib": "Needed for compression of embedded resources, such as fonts" 28 }, 29 "time": "2021-07-13T19:55:45+00:00", 30 "type": "library", 31 "installation-source": "source", 32 "autoload": { 33 "classmap": [ 34 "mpdf.php", 35 "classes" 36 ] 37 }, 38 "scripts": { 39 "post-install-cmd": [ 40 "php -r \"chmod('./ttfontdata', 0777);\"", 41 "php -r \"chmod('./tmp', 0777);\"", 42 "php -r \"chmod('./graph_cache', 0777);\"" 43 ] 44 }, 45 "license": [ 46 "GPL-2.0" 47 ], 48 "authors": [ 49 { 50 "name": "Ian Back", 51 "role": "Developer" 52 } 53 ], 54 "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support", 55 "homepage": "http://mpdf.github.io", 56 "keywords": [ 57 "pdf", 58 "php", 59 "utf-8" 60 ], 61 "support": { 62 "issues": "https://github.com/mpdf/mpdf/issues", 63 "source": "https://github.com/mpdf/mpdf", 64 "docs": "http://mpdf.github.io" 65 }, 66 "install-path": "../mpdf/mpdf" 10 67 }, 11 "dist": { 12 "type": "zip", 13 "url": "https://api.github.com/repos/baselbers/mpdf/zipball/e65509d36a2e5b14bea72a4a80439c55e6062071", 14 "reference": "e65509d36a2e5b14bea72a4a80439c55e6062071", 15 "shasum": "" 16 }, 17 "require": { 18 "ext-mbstring": "*", 19 "php": ">=5.4.0", 20 "setasign/fpdi": "1.6.*" 21 }, 22 "require-dev": { 23 "phpunit/phpunit": "^4.7" 24 }, 25 "suggest": { 26 "ext-zlib": "Needed for compression of embedded resources, such as fonts" 27 }, 28 "time": "2020-06-21T19:52:50+00:00", 29 "type": "library", 30 "installation-source": "source", 31 "autoload": { 32 "classmap": [ 33 "mpdf.php", 34 "classes" 35 ] 36 }, 37 "scripts": { 38 "post-install-cmd": [ 39 "php -r \"chmod('./ttfontdata', 0777);\"", 40 "php -r \"chmod('./tmp', 0777);\"", 41 "php -r \"chmod('./graph_cache', 0777);\"" 42 ] 43 }, 44 "license": [ 45 "GPL-2.0" 46 ], 47 "authors": [ 48 { 49 "name": "Ian Back", 50 "role": "Developer" 51 } 52 ], 53 "description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support", 54 "homepage": "http://mpdf.github.io", 55 "keywords": [ 56 "pdf", 57 "php", 58 "utf-8" 59 ], 60 "support": { 61 "issues": "https://github.com/mpdf/mpdf/issues", 62 "source": "https://github.com/mpdf/mpdf", 63 "docs": "http://mpdf.github.io" 68 { 69 "name": "setasign/fpdi", 70 "version": "1.6.2", 71 "version_normalized": "1.6.2.0", 72 "source": { 73 "type": "git", 74 "url": "https://github.com/Setasign/FPDI.git", 75 "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea" 76 }, 77 "dist": { 78 "type": "zip", 79 "url": "https://api.github.com/repos/Setasign/FPDI/zipball/a6ad58897a6d97cc2d2cd2adaeda343b25a368ea", 80 "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea", 81 "shasum": "" 82 }, 83 "suggest": { 84 "setasign/fpdf": "FPDI will extend this class but as it is also possible to use \"tecnickcom/tcpdf\" as an alternative there's no fixed dependency configured.", 85 "setasign/fpdi-fpdf": "Use this package to automatically evaluate dependencies to FPDF.", 86 "setasign/fpdi-tcpdf": "Use this package to automatically evaluate dependencies to TCPDF." 87 }, 88 "time": "2017-05-11T14:25:49+00:00", 89 "type": "library", 90 "installation-source": "dist", 91 "autoload": { 92 "classmap": [ 93 "filters/", 94 "fpdi.php", 95 "fpdf_tpl.php", 96 "fpdi_pdf_parser.php", 97 "pdf_context.php" 98 ] 99 }, 100 "notification-url": "https://packagist.org/downloads/", 101 "license": [ 102 "MIT" 103 ], 104 "authors": [ 105 { 106 "name": "Jan Slabon", 107 "email": "jan.slabon@setasign.com", 108 "homepage": "https://www.setasign.com" 109 } 110 ], 111 "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.", 112 "homepage": "https://www.setasign.com/fpdi", 113 "keywords": [ 114 "fpdf", 115 "fpdi", 116 "pdf" 117 ], 118 "install-path": "../setasign/fpdi" 64 119 } 65 }, 66 { 67 "name": "setasign/fpdi", 68 "version": "1.6.2", 69 "version_normalized": "1.6.2.0", 70 "source": { 71 "type": "git", 72 "url": "https://github.com/Setasign/FPDI.git", 73 "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea" 74 }, 75 "dist": { 76 "type": "zip", 77 "url": "https://api.github.com/repos/Setasign/FPDI/zipball/a6ad58897a6d97cc2d2cd2adaeda343b25a368ea", 78 "reference": "a6ad58897a6d97cc2d2cd2adaeda343b25a368ea", 79 "shasum": "" 80 }, 81 "suggest": { 82 "setasign/fpdf": "FPDI will extend this class but as it is also possible to use \"tecnickcom/tcpdf\" as an alternative there's no fixed dependency configured.", 83 "setasign/fpdi-fpdf": "Use this package to automatically evaluate dependencies to FPDF.", 84 "setasign/fpdi-tcpdf": "Use this package to automatically evaluate dependencies to TCPDF." 85 }, 86 "time": "2017-05-11T14:25:49+00:00", 87 "type": "library", 88 "installation-source": "dist", 89 "autoload": { 90 "classmap": [ 91 "filters/", 92 "fpdi.php", 93 "fpdf_tpl.php", 94 "fpdi_pdf_parser.php", 95 "pdf_context.php" 96 ] 97 }, 98 "notification-url": "https://packagist.org/downloads/", 99 "license": [ 100 "MIT" 101 ], 102 "authors": [ 103 { 104 "name": "Jan Slabon", 105 "email": "jan.slabon@setasign.com", 106 "homepage": "https://www.setasign.com" 107 } 108 ], 109 "description": "FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF. Because it is also possible to use FPDI with TCPDF, there are no fixed dependencies defined. Please see suggestions for packages which evaluates the dependencies automatically.", 110 "homepage": "https://www.setasign.com/fpdi", 111 "keywords": [ 112 "fpdf", 113 "fpdi", 114 "pdf" 115 ] 116 }, 117 { 118 "name": "xrstf/composer-php52", 119 "version": "v1.0.20", 120 "version_normalized": "1.0.20.0", 121 "source": { 122 "type": "git", 123 "url": "https://github.com/composer-php52/composer-php52.git", 124 "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8" 125 }, 126 "dist": { 127 "type": "zip", 128 "url": "https://api.github.com/repos/composer-php52/composer-php52/zipball/bd41459d5e27df8d33057842b32377c39e97a5a8", 129 "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8", 130 "shasum": "" 131 }, 132 "time": "2016-04-16T21:52:24+00:00", 133 "type": "library", 134 "extra": { 135 "branch-alias": { 136 "dev-default": "1.x-dev" 137 } 138 }, 139 "installation-source": "dist", 140 "autoload": { 141 "psr-0": { 142 "xrstf\\Composer52": "lib/" 143 } 144 }, 145 "notification-url": "https://packagist.org/downloads/", 146 "license": [ 147 "MIT" 148 ] 149 } 150 ] 120 ], 121 "dev": false, 122 "dev-package-names": [] 123 } -
woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/classes/mpdfform.php
r1911502 r2563851 1024 1024 } 1025 1025 1026 function SetFormSubmit($w, $h, $name, $value = 'Submit', $url , $title = '', $typ = 'html', $method = 'POST', $flags = array(), $background_col = false, $border_col = false, $noprint = false)1026 function SetFormSubmit($w, $h, $name, $value = 'Submit', $url = '', $title = '', $typ = 'html', $method = 'POST', $flags = array(), $background_col = false, $border_col = false, $noprint = false) 1027 1027 { 1028 1028 if (!$name) { -
woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/classes/otl.php
r2326094 r2563851 1613 1613 } 1614 1614 1615 function _applyGSUBsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $level = 0, $currentTag , $is_old_spec, $tagInt)1615 function _applyGSUBsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $level = 0, $currentTag = '', $is_old_spec = false, $tagInt = 0) 1616 1616 { 1617 1617 $ignore = $this->_getGCOMignoreString($Flag, $MarkFilteringSet); … … 3291 3291 } 3292 3292 3293 function _applyGPOSsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $tag, $level = 0, $is_old_spec )3293 function _applyGPOSsubtable($lookupID, $subtable, $ptr, $currGlyph, $currGID, $subtable_offset, $Type, $Flag, $MarkFilteringSet, $LuCoverage, $tag, $level = 0, $is_old_spec = false) 3294 3294 { 3295 3295 if (($Flag & 0x0001) == 1) { … … 4627 4627 */ 4628 4628 4629 function _bidiSort($ta, $str = '', $dir , &$chunkOTLdata, $useGPOS)4629 function _bidiSort($ta, $str = '', $dir = '', &$chunkOTLdata = array(), $useGPOS = '') 4630 4630 { 4631 4631 -
woocommerce-pdf-invoices/trunk/vendor/mpdf/mpdf/mpdf.php
r2328313 r2563851 2144 2144 /* -- BACKGROUNDS -- */ 2145 2145 2146 function _resizeBackgroundImage($imw, $imh, $cw, $ch, $resize = 0, $repx , $repy, $pba = array(), $size = array())2146 function _resizeBackgroundImage($imw, $imh, $cw, $ch, $resize = 0, $repx = 0, $repy = 0, $pba = array(), $size = array()) 2147 2147 { 2148 2148 // pba is background positioning area (from CSS background-origin) may not always be set [x,y,w,h] … … 13283 13283 } 13284 13284 13285 function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsize = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider )13285 function CircularText($x, $y, $r, $text, $align = 'top', $fontfamily = '', $fontsize = 0, $fontstyle = '', $kerning = 120, $fontwidth = 100, $divider = '') 13286 13286 { 13287 13287 if (!class_exists('directw', false)) { … … 14439 14439 /* -- TABLES -- */ 14440 14440 14441 function TableHeaderFooter($content = '', $tablestartpage = '', $tablestartcolumn = '', $horf = 'H', $level , $firstSpread = true, $finalSpread = true)14441 function TableHeaderFooter($content = '', $tablestartpage = '', $tablestartcolumn = '', $horf = 'H', $level = 0, $firstSpread = true, $finalSpread = true) 14442 14442 { 14443 14443 if (($horf == 'H' || $horf == 'F') && !empty($content)) { // mPDF 5.7.2 … … 16626 16626 /* -- CSS-POSITION -- */ 16627 16627 16628 function WriteFixedPosHTML($html = '', $x , $y, $w, $h, $overflow = 'visible', $bounding = array())16628 function WriteFixedPosHTML($html = '', $x = 0, $y = 0, $w = 0, $h = 0, $overflow = 'visible', $bounding = array()) 16629 16629 { 16630 16630 // $overflow can be 'hidden', 'visible' or 'auto' - 'auto' causes autofit to size … … 17612 17612 /* -- CSS-PAGE -- */ 17613 17613 17614 function SetPagedMediaCSS($name = '', $first , $oddEven)17614 function SetPagedMediaCSS($name = '', $first = false, $oddEven = '') 17615 17615 { 17616 17616 if ($oddEven == 'E') { … … 20441 20441 /* -- END BORDER-RADIUS -- */ 20442 20442 20443 function PaintDivLnBorder($state = 0, $blvl = 0, $h )20443 function PaintDivLnBorder($state = 0, $blvl = 0, $h = 0) 20444 20444 { 20445 20445 // $state = 0 normal; 1 top; 2 bottom; 3 top and bottom … … 21656 21656 /* -- TABLES -- */ 21657 21657 21658 function TableCheckMinWidth($maxwidth, $forcewrap = 0, $textbuffer , $checkletter = false)21658 function TableCheckMinWidth($maxwidth, $forcewrap = 0, $textbuffer = array(), $checkletter = false) 21659 21659 { // mPDF 6 21660 21660 $acclength = 0; // mPDF 6 (accumulated length across > 1 chunk) … … 23260 23260 23261 23261 // CHANGED TO ALLOW TABLE BORDER TO BE SPECIFIED CORRECTLY - added border_details 23262 function _tableRect($x, $y, $w, $h , $bord = -1, $details = array(), $buffer = false, $bSeparate = false, $cort = 'cell', $tablecorner = '', $bsv = 0, $bsh = 0)23262 function _tableRect($x, $y, $w, $h = 0, $bord = -1, $details = array(), $buffer = false, $bSeparate = false, $cort = 'cell', $tablecorner = '', $bsv = 0, $bsh = 0) 23263 23263 { 23264 23264 $cellBorderOverlay = array(); … … 28885 28885 } 28886 28886 28887 function _setBidiCodes($mode = 'start', $bdf )28887 function _setBidiCodes($mode = 'start', $bdf = '') 28888 28888 { 28889 28889 $s = '';
Note: See TracChangeset
for help on using the changeset viewer.