From 5548b3bb71a3745fd15af2f583f5af9471000a6d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 8 Feb 2025 11:15:20 -0500 Subject: [PATCH] Spell check --- ChangeLog | 4 ++-- cSpell.json | 7 ++++++- fuzz/CMakeLists.txt | 1 + libqpdf/CMakeLists.txt | 1 + manual/encryption.rst | 2 +- manual/installation.rst | 2 ++ manual/release-notes.rst | 9 +++++---- manual/weak-crypto.rst | 2 +- qpdf/test_shell_glob.cc | 2 +- 9 files changed, 20 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index dfc5b21..d47b431 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20,13 +20,13 @@ 2024-09-19 M Holger * Bug fix: QPDFWriter stream DecodeLevel incorrectly defaulted to - none instead of generalied. Fixes #1286. + none instead of generalized. Fixes #1286. 2024-08-25 M Holger * Add new command-line arguments --remove-metadata and --remove-info to exclude document metadata and information from the output PDF - file. Patially fixes #1145. + file. Partially fixes #1145. 2024-08-06 M Holger diff --git a/cSpell.json b/cSpell.json index eda54cd..4f9b3e0 100644 --- a/cSpell.json +++ b/cSpell.json @@ -69,6 +69,7 @@ "cerr", "cfis", "cflags", + "chao", "ciphertext", "classname", "cleanpatch", @@ -396,6 +397,7 @@ "objdump", "objectinfo", "objgen", + "objgens", "objidok", "objok", "objspec", @@ -622,9 +624,11 @@ "streammethod", "strequal", "strerror", + "strgreater", "stringmethod", "stringprep", "stripesize", + "strless", "strtoui", "struct", "stylesheet", @@ -742,6 +746,7 @@ "zdenek", "zdenop", "zeroize", - "zeroizing" + "zeroizing", + "zopfli" ] } diff --git a/fuzz/CMakeLists.txt b/fuzz/CMakeLists.txt index 025a18c..33dc2ed 100644 --- a/fuzz/CMakeLists.txt +++ b/fuzz/CMakeLists.txt @@ -191,6 +191,7 @@ add_test( --color ${QTEST_COLOR} --show-on-failure ${SHOW_FAILED_TEST_OUTPUT}) +# cSpell:ignore qpdg if(OSS_FUZZ) list(APPEND SEED_CORPUS_ZIPS) foreach(F ${FUZZERS}) diff --git a/libqpdf/CMakeLists.txt b/libqpdf/CMakeLists.txt index 2cfeb65..285afb8 100644 --- a/libqpdf/CMakeLists.txt +++ b/libqpdf/CMakeLists.txt @@ -158,6 +158,7 @@ if(NOT EXTERNAL_LIBS) list(APPEND dep_link_libraries ${pc_zlib_LIBRARIES}) else() find_path(ZLIB_H_PATH zlib.h) + # cSpell:ignore zlibd find_library(ZLIB_LIB_PATH NAMES z zd zlib zlibd) if(ZLIB_H_PATH AND ZLIB_LIB_PATH) list(APPEND dep_include_directories ${ZLIB_H_PATH}) diff --git a/manual/encryption.rst b/manual/encryption.rst index 267077d..9d8ade2 100644 --- a/manual/encryption.rst +++ b/manual/encryption.rst @@ -207,7 +207,7 @@ PDF Security Restrictions PDF security restrictions are described by a bit field whose value is stored in the ``P`` field in the encryption dictionary. The value of ``P`` is used by the algorithms to recover the encryption key given -the password, which makes the value of ``P`` tamper-resistent. +the password, which makes the value of ``P`` tamper-resistant. ``P`` is a 32-bit integer, treated as a signed twos-complement number. A 1 in any bit position means the permission is granted. The PDF diff --git a/manual/installation.rst b/manual/installation.rst index a19b210..195dc52 100644 --- a/manual/installation.rst +++ b/manual/installation.rst @@ -660,6 +660,8 @@ interfaces, which was another reason to require C++-11 at this time. Building with zopfli support ---------------------------- +.. cSpell:ignore DZOPFLI + If you compile with ``-DZOPFLI-ON`` and have the `zopfli `__ development files available, qpdf will be built with zopfli support. See :ref:`zopfli` for diff --git a/manual/release-notes.rst b/manual/release-notes.rst index 656e73a..9a7e2e0 100644 --- a/manual/release-notes.rst +++ b/manual/release-notes.rst @@ -105,9 +105,10 @@ Planned changes for future 12.x (subject to change): - The handling of corrupt filtered streams has changed. If a compressed stream cannot be successfully uncompressed, qpdf will - now write the undecoded stream even if decode-level generalized or - specialized is set. The result of attempting to decode a corrupt - stream is generally unusable and can be extremely large. + now write the raw (encoded) stream even if decode-level + generalized or specialized is set. The result of attempting to + decode a corrupt stream is generally unusable and can be + extremely large. 11.9.1: June 7, 2024 - Bug Fixes @@ -120,7 +121,7 @@ Planned changes for future 12.x (subject to change): - Add a CLion build configuration for building with static libraries with Visual C++ on Windows. This configuration works "out of the box" with CLion, Visual C++, and the external - libraries binary distribution without any additoinal external + libraries binary distribution without any additional external tools. - Tweak use of ``std::string_view`` to handle upcoming changes to diff --git a/manual/weak-crypto.rst b/manual/weak-crypto.rst index e4a65c7..5d50d45 100644 --- a/manual/weak-crypto.rst +++ b/manual/weak-crypto.rst @@ -119,7 +119,7 @@ MD5 is used in the following non-security-sensitive ways: - Generation of the document ID. The document ID is an input parameter to the document encryption but is not itself considered to be secure. They are supposed to be unique, but they are not - tamper-resistent in non-encrypted PDF files, and hash collisions + tamper-resistant in non-encrypted PDF files, and hash collisions must be tolerated. The PDF specification recommends but does not require the use of MD5 diff --git a/qpdf/test_shell_glob.cc b/qpdf/test_shell_glob.cc index ff73b1b..b916e3d 100644 --- a/qpdf/test_shell_glob.cc +++ b/qpdf/test_shell_glob.cc @@ -16,7 +16,7 @@ realmain(int argc, char* argv[]) // exercised by manually breaking the link options for msvc and // seeing that the test fails under that condition. Explicit link // changes used to be needed only for MSVC, but as of late 2024, - // they are also neededed for mingw, which was found by CI failure + // they are also needed for mingw, which was found by CI failure // of this test. bool found_star = false; -- libgit2 0.21.4