From b6d1dffaaa8fa875b9721999163ce2337070ad32 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 9 Apr 2022 17:30:24 -0400 Subject: [PATCH] Spell check --- cSpell.json | 9 +++++++++ manual/contributing.rst | 2 +- manual/design.rst | 2 +- spell-check | 1 + 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/cSpell.json b/cSpell.json index 90c8502a..0a9fe583 100644 --- a/cSpell.json +++ b/cSpell.json @@ -107,6 +107,7 @@ "drequire", "dshow", "dtdvalid", + "dwindows", "ebra", "ecks", "efdh", @@ -273,6 +274,7 @@ "msvc's", "msys", "multithreaded", + "municode", "mutators", "namelink", "nbsp", @@ -372,6 +374,7 @@ "qpdfacroformdocumenthelper", "qpdfannotationobjecthelper", "qpdfargparser", + "qpdfbuild", "qpdfconstants", "qpdfcrypto", "qpdfcryptoimpl", @@ -436,6 +439,7 @@ "scarff", "seekable", "segfaulting", + "setargv", "setjmp", "sharedresources", "singlehtml", @@ -469,9 +473,11 @@ "subkeys", "subramanyam", "swversion", + "sysroot", "syuu", "tbuf", "testcase", + "testcov", "testfile", "texlive", "tgen", @@ -521,6 +527,7 @@ "vtable", "wchar", "wconversion", + "wcslen", "weimer", "werror", "wfilename", @@ -535,6 +542,8 @@ "wordsize", "wpath", "wrename", + "wsetargv", + "wshadow", "wsign", "wunlink", "xgen", diff --git a/manual/contributing.rst b/manual/contributing.rst index a6837408..a6a612ec 100644 --- a/manual/contributing.rst +++ b/manual/contributing.rst @@ -33,7 +33,7 @@ differences, ``clang-format`` is authoritative. It is not possible to make ``cc-mode`` and ``clang-format`` exactly match since the syntax parser in emacs is not as sophisticated. -Blocks of code that should not be formatted can be surrouned by the +Blocks of code that should not be formatted can be surrounded by the comments ``// clang-format off`` and ``// clang-format on``. Sometimes clang-format tries to combine lines in ways that are undesirable. In this case, we follow a convention of adding a comment ``// diff --git a/manual/design.rst b/manual/design.rst index ab6576da..5014ce2f 100644 --- a/manual/design.rst +++ b/manual/design.rst @@ -68,7 +68,7 @@ The primary class for interacting with PDF objects is ``QPDFObjectHandle``. Instances of this class can be passed around by value, copied, stored in containers, etc. with very low overhead. The ``QPDFObjectHandle`` object contains an internal shared pointer to an -underyling ``QPDFObject``. Instances of ``QPDFObjectHandle`` created +underlying ``QPDFObject``. Instances of ``QPDFObjectHandle`` created by reading from a file will always contain a reference back to the ``QPDF`` object from which they were created. A ``QPDFObjectHandle`` may be direct or indirect. If indirect, the ``QPDFObject`` shared diff --git a/spell-check b/spell-check index 27a2bb67..7fb4db81 100755 --- a/spell-check +++ b/spell-check @@ -11,6 +11,7 @@ # cspell can be installed with `npm install -g cspell`. # cspell does its own expansion of shell wildcards. +cd $(dirname $0) cspell '**/*.hh' 'include/qpdf/*.h' '**/*.cc' \ 'manual/*.rst' 'manual/*.in' 'manual/_ext/*.py' \ '**/CMakeLists.txt' ChangeLog 'README*' TODO