Commit ce6cee357025dfae7276adcc7471a2672649e92a
1 parent
c996f4ac
Spell check
Showing
4 changed files
with
50 additions
and
4 deletions
ChangeLog
| ... | ... | @@ -108,7 +108,7 @@ |
| 108 | 108 | |
| 109 | 109 | * If QPDF_EXECUTABLE is set, use it as the path to qpdf for |
| 110 | 110 | purposes of completion. This variable is only read during the |
| 111 | - executation of `qpdf --completion-zsh` and `qpdf | |
| 111 | + execution of `qpdf --completion-zsh` and `qpdf | |
| 112 | 112 | --completion-bash`. It is not used during the actual evaluation of |
| 113 | 113 | completions. |
| 114 | 114 | ... | ... |
README.md
| ... | ... | @@ -78,7 +78,7 @@ Packagers may set DESTDIR, in which case make install will install inside of DES |
| 78 | 78 | |
| 79 | 79 | Executive summary: manually define -DQPDF_NO_WCHAR_T in your build if you are building on a system without wchar_t. For details, read the rest of this section. |
| 80 | 80 | |
| 81 | -While wchar_t is part of the C++ standard library and should be present on virtually every system, there are some stripped down systems, such as those targetting certain embedded environments, that lack wchar_t. Internally, qpdf uses UTF-8 encoding for everything, so there is nothing important in qpdf's API that uses wchar_t. However, there is a helper method for converting between wchar_t* and char* that uses wchar_t. | |
| 81 | +While wchar_t is part of the C++ standard library and should be present on virtually every system, there are some stripped down systems, such as those targeting certain embedded environments, that lack wchar_t. Internally, qpdf uses UTF-8 encoding for everything, so there is nothing important in qpdf's API that uses wchar_t. However, there is a helper method for converting between wchar_t* and char* that uses wchar_t. | |
| 82 | 82 | |
| 83 | 83 | If you are building in an environment that does not support wchar_t, you can define the preprocessor symbol QPDF_NO_WCHAR_T in your build. This will work whether you are building qpdf and need to avoid compiling the code that uses wchar_t or whether you are building client code that uses qpdf. |
| 84 | 84 | ... | ... |
ispell-words
| ... | ... | @@ -30,6 +30,7 @@ addArrayElement |
| 30 | 30 | addChoicesToCompletions |
| 31 | 31 | addContentTokenFilter |
| 32 | 32 | addDictionaryMember |
| 33 | +adde | |
| 33 | 34 | addExplicitElementsToList |
| 34 | 35 | addOptionsToCompletions |
| 35 | 36 | addPage |
| ... | ... | @@ -44,6 +45,7 @@ admon |
| 44 | 45 | Adobeâ |
| 45 | 46 | ae |
| 46 | 47 | aeadb |
| 48 | +aefd | |
| 47 | 49 | AEP |
| 48 | 50 | aes |
| 49 | 51 | AESv |
| ... | ... | @@ -157,6 +159,7 @@ argQdf |
| 157 | 159 | argRawStreamData |
| 158 | 160 | argRecompressFlate |
| 159 | 161 | argRemovePageLabels |
| 162 | +argRemoveUnreferencedResources | |
| 160 | 163 | argReplaceInput |
| 161 | 164 | argRequiresPassword |
| 162 | 165 | argRotate |
| ... | ... | @@ -196,6 +199,7 @@ ascii |
| 196 | 199 | asciiHex |
| 197 | 200 | ASCIIHexDecode |
| 198 | 201 | ASCIIHexDecoder |
| 202 | +asdf | |
| 199 | 203 | asMap |
| 200 | 204 | assertArray |
| 201 | 205 | assertBool |
| ... | ... | @@ -245,6 +249,7 @@ BaseVersion |
| 245 | 249 | bashcompinit |
| 246 | 250 | bashdefault |
| 247 | 251 | bb |
| 252 | +bbb | |
| 248 | 253 | BBox |
| 249 | 254 | bbox |
| 250 | 255 | bc |
| ... | ... | @@ -269,6 +274,7 @@ BogusRandomDataProvider |
| 269 | 274 | boldseq |
| 270 | 275 | bookinfo |
| 271 | 276 | bool |
| 277 | +BoringSSL | |
| 272 | 278 | BORLANDC |
| 273 | 279 | bp |
| 274 | 280 | BPC |
| ... | ... | @@ -355,7 +361,9 @@ CHSomething |
| 355 | 361 | ci |
| 356 | 362 | cin |
| 357 | 363 | cinfo |
| 364 | +CipherInit | |
| 358 | 365 | ciphertext |
| 366 | +CipherUpdate | |
| 359 | 367 | cis |
| 360 | 368 | cl |
| 361 | 369 | classname |
| ... | ... | @@ -426,6 +434,7 @@ CryptFilterDecodeParms |
| 426 | 434 | CryptGenRandom |
| 427 | 435 | crypto |
| 428 | 436 | cryptolog |
| 437 | +CryptoRandomDataProvider | |
| 429 | 438 | CryptReleaseContext |
| 430 | 439 | cso |
| 431 | 440 | csoe |
| ... | ... | @@ -440,6 +449,7 @@ ctest |
| 440 | 449 | ctx |
| 441 | 450 | ctype |
| 442 | 451 | CVE |
| 452 | +cwchar | |
| 443 | 453 | cx |
| 444 | 454 | cxx |
| 445 | 455 | CXXFLAGS |
| ... | ... | @@ -447,6 +457,7 @@ cy |
| 447 | 457 | cygwin |
| 448 | 458 | da |
| 449 | 459 | daae |
| 460 | +dac | |
| 450 | 461 | dae |
| 451 | 462 | db |
| 452 | 463 | dc |
| ... | ... | @@ -510,7 +521,11 @@ didierstevens |
| 510 | 521 | diff |
| 511 | 522 | diffs |
| 512 | 523 | diffutils |
| 524 | +DigestFinal | |
| 525 | +DigestInit | |
| 526 | +DigestUpdate | |
| 513 | 527 | DIR |
| 528 | +directpagerefcount | |
| 514 | 529 | dirname |
| 515 | 530 | disableCBC |
| 516 | 531 | disableIncompatibleEncryption |
| ... | ... | @@ -542,6 +557,7 @@ doWrite |
| 542 | 557 | doWriteSetup |
| 543 | 558 | Doxygen |
| 544 | 559 | dp |
| 560 | +DQPDF | |
| 545 | 561 | dquote |
| 546 | 562 | dr |
| 547 | 563 | driverless |
| ... | ... | @@ -569,7 +585,9 @@ EarlyChange |
| 569 | 585 | eb |
| 570 | 586 | EBADF |
| 571 | 587 | ebae |
| 572 | -ECB | |
| 588 | +ebde | |
| 589 | +ebra | |
| 590 | +ecb | |
| 573 | 591 | ecc |
| 574 | 592 | ecedd |
| 575 | 593 | ecks |
| ... | ... | @@ -595,9 +613,11 @@ encodeFile |
| 595 | 613 | encodeRow |
| 596 | 614 | encodeString |
| 597 | 615 | encp |
| 616 | +EncryptInit | |
| 598 | 617 | EncryptionData |
| 599 | 618 | EncryptionParameters |
| 600 | 619 | EncryptMetadata |
| 620 | +EncryptUpdate | |
| 601 | 621 | endian |
| 602 | 622 | endianness |
| 603 | 623 | endif |
| ... | ... | @@ -624,6 +644,7 @@ ep |
| 624 | 644 | epub |
| 625 | 645 | eq |
| 626 | 646 | ERANGE |
| 647 | +erasdf | |
| 627 | 648 | eraseItem |
| 628 | 649 | Erdelsky's |
| 629 | 650 | errno |
| ... | ... | @@ -633,6 +654,7 @@ errptr |
| 633 | 654 | esize |
| 634 | 655 | esses |
| 635 | 656 | eval |
| 657 | +evp | |
| 636 | 658 | exc |
| 637 | 659 | exe |
| 638 | 660 | exp |
| ... | ... | @@ -678,7 +700,9 @@ Filespec |
| 678 | 700 | FILETIME |
| 679 | 701 | filetrailer |
| 680 | 702 | filterability |
| 703 | +filterAsContents | |
| 681 | 704 | filterCompressedObjects |
| 705 | +filterp | |
| 682 | 706 | filterPageContents |
| 683 | 707 | findAndSkipNextEOL |
| 684 | 708 | findAttachmentStreams |
| ... | ... | @@ -899,11 +923,14 @@ getPartialName |
| 899 | 923 | getPDFVersion |
| 900 | 924 | getPerms |
| 901 | 925 | getPointer |
| 926 | +getProvider | |
| 902 | 927 | getQPDF |
| 903 | 928 | getQpdf |
| 904 | 929 | getQuadding |
| 905 | 930 | getR |
| 906 | 931 | getRandomDataProvider |
| 932 | +getRandomDataProviderProvider | |
| 933 | +getRandomProvider | |
| 907 | 934 | getRawDigest |
| 908 | 935 | getRawStreamData |
| 909 | 936 | getRawValue |
| ... | ... | @@ -1058,6 +1085,7 @@ ImageInverter |
| 1058 | 1085 | ImageMask |
| 1059 | 1086 | ImageOptimizer |
| 1060 | 1087 | ImageProvider |
| 1088 | +immediateCopyFrom | |
| 1061 | 1089 | inbuf |
| 1062 | 1090 | includeIgnorable |
| 1063 | 1091 | incr |
| ... | ... | @@ -1072,6 +1100,7 @@ inflateInit |
| 1072 | 1100 | inflateReset |
| 1073 | 1101 | infs |
| 1074 | 1102 | ing |
| 1103 | +inheritsresources | |
| 1075 | 1104 | init |
| 1076 | 1105 | initializeByPage |
| 1077 | 1106 | initializeEncryption |
| ... | ... | @@ -1194,6 +1223,7 @@ keybits |
| 1194 | 1223 | keylen |
| 1195 | 1224 | KEYLENGTH |
| 1196 | 1225 | keyset |
| 1226 | +kgdl | |
| 1197 | 1227 | LARGEFILE |
| 1198 | 1228 | lastnum |
| 1199 | 1229 | lastreleased |
| ... | ... | @@ -1445,6 +1475,7 @@ OBJDIR |
| 1445 | 1475 | objdump |
| 1446 | 1476 | ObjectHelper |
| 1447 | 1477 | ObjectHolder |
| 1478 | +objectinfo | |
| 1448 | 1479 | objectStreamsChoices |
| 1449 | 1480 | objectWarning |
| 1450 | 1481 | ObjGen |
| ... | ... | @@ -1483,6 +1514,7 @@ OpenAction |
| 1483 | 1514 | openObject |
| 1484 | 1515 | opensource |
| 1485 | 1516 | openssl |
| 1517 | +OpenSSL | |
| 1486 | 1518 | optionalParameter |
| 1487 | 1519 | OptionEntry |
| 1488 | 1520 | ord |
| ... | ... | @@ -1571,6 +1603,7 @@ pdfs |
| 1571 | 1603 | pdh |
| 1572 | 1604 | pdlin |
| 1573 | 1605 | pe |
| 1606 | +perf | |
| 1574 | 1607 | performant |
| 1575 | 1608 | perl |
| 1576 | 1609 | persistAcrossFinish |
| ... | ... | @@ -1751,6 +1784,7 @@ qwert |
| 1751 | 1784 | qwww |
| 1752 | 1785 | rand |
| 1753 | 1786 | RandomDataProvider |
| 1787 | +RandomDataProviderProvider | |
| 1754 | 1788 | randoms |
| 1755 | 1789 | rb |
| 1756 | 1790 | rbegin |
| ... | ... | @@ -1758,6 +1792,7 @@ rc |
| 1758 | 1792 | rcon |
| 1759 | 1793 | RDONLY |
| 1760 | 1794 | rdp |
| 1795 | +rdpp | |
| 1761 | 1796 | rdquo |
| 1762 | 1797 | readArgsFromFile |
| 1763 | 1798 | readHGeneric |
| ... | ... | @@ -1798,6 +1833,7 @@ removeKey |
| 1798 | 1833 | removePage |
| 1799 | 1834 | removereplace |
| 1800 | 1835 | removeUnreferencedResources |
| 1836 | +removeUnreferencedResourcesHelper | |
| 1801 | 1837 | ren |
| 1802 | 1838 | repl |
| 1803 | 1839 | replaceDict |
| ... | ... | @@ -1841,6 +1877,7 @@ Rkey |
| 1841 | 1877 | RKLENGTH |
| 1842 | 1878 | rl |
| 1843 | 1879 | rm |
| 1880 | +rnd | |
| 1844 | 1881 | RNRT |
| 1845 | 1882 | rollover |
| 1846 | 1883 | rotatePage |
| ... | ... | @@ -1869,6 +1906,7 @@ SASLprep |
| 1869 | 1906 | savable |
| 1870 | 1907 | scanline |
| 1871 | 1908 | scanlines |
| 1909 | +Scarff | |
| 1872 | 1910 | sch |
| 1873 | 1911 | scp |
| 1874 | 1912 | sdk |
| ... | ... | @@ -1936,6 +1974,7 @@ setPipeline |
| 1936 | 1974 | setprecision |
| 1937 | 1975 | setPreserveEncryption |
| 1938 | 1976 | setPreserveUnreferencedObjects |
| 1977 | +setProvider | |
| 1939 | 1978 | setQDFMode |
| 1940 | 1979 | setR |
| 1941 | 1980 | setRadioButtonValue |
| ... | ... | @@ -1956,7 +1995,9 @@ sev |
| 1956 | 1995 | sf |
| 1957 | 1996 | sha |
| 1958 | 1997 | shallowCopy |
| 1998 | +shallowCopyInternal | |
| 1959 | 1999 | shallowCopyPage |
| 2000 | +sharedresources | |
| 1960 | 2001 | showLinearizationData |
| 1961 | 2002 | showXRefTable |
| 1962 | 2003 | sig |
| ... | ... | @@ -2044,6 +2085,7 @@ subdictionaries |
| 2044 | 2085 | subdictionary |
| 2045 | 2086 | SubFilter |
| 2046 | 2087 | SubFilters |
| 2088 | +subkeys | |
| 2047 | 2089 | SUBLANG |
| 2048 | 2090 | sublicense |
| 2049 | 2091 | Submatches |
| ... | ... | @@ -2054,6 +2096,7 @@ substring |
| 2054 | 2096 | Subtype |
| 2055 | 2097 | sudo |
| 2056 | 2098 | supp |
| 2099 | +supportsRetry | |
| 2057 | 2100 | suppressions |
| 2058 | 2101 | svg |
| 2059 | 2102 | swapObjects |
| ... | ... | @@ -2180,9 +2223,11 @@ unparseObject |
| 2180 | 2223 | unparseResolved |
| 2181 | 2224 | unparsing |
| 2182 | 2225 | unreadCh |
| 2226 | +unref | |
| 2183 | 2227 | unreferenced |
| 2184 | 2228 | unresolvable |
| 2185 | 2229 | unretrieved |
| 2230 | +unsafeShallowCopy | |
| 2186 | 2231 | uo |
| 2187 | 2232 | upages |
| 2188 | 2233 | upass |
| ... | ... | @@ -2358,6 +2403,7 @@ yn |
| 2358 | 2403 | yp |
| 2359 | 2404 | yscale |
| 2360 | 2405 | yuiop |
| 2406 | +YYYY | |
| 2361 | 2407 | yyyymmdd |
| 2362 | 2408 | z's |
| 2363 | 2409 | zalloc | ... | ... |
qpdf/qpdf.cc
| ... | ... | @@ -4827,7 +4827,7 @@ static bool should_remove_unreferenced_resources(QPDF& pdf, Options& o) |
| 4827 | 4827 | // in the file for shared resources dictionaries or shared XObject |
| 4828 | 4828 | // subkeys of resources dictionaries either on pages or on form |
| 4829 | 4829 | // XObjects in pages. If we find any, then there is a higher |
| 4830 | - // likeilihood that the expensive process of finding unreferenced | |
| 4830 | + // likelihood that the expensive process of finding unreferenced | |
| 4831 | 4831 | // resources is worth it. |
| 4832 | 4832 | |
| 4833 | 4833 | // Return true as soon as we find any shared resources. | ... | ... |