aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-04-10Use QPDF_DLL_CLASS with Pipeline and InputSource subclassesJay Berkenbilt
This enables RTTI so we can use dynamic_cast on them across the shared object boundary.
2022-04-10Clean up/fix DLL.hJay Berkenbilt
* Change DLL_EXPORT to libqpdf_EXPORTS (internal to the build). The new name is cmake's default, is more conventional, and is less likely to clash with other symbols. * Add QPDF_DLL_PRIVATE for non-Windows * Make logic around when to define QPDF_DLL et al more explicit * Add detailed comments
2022-04-10Tweak for clang-format and emacs font-lockJay Berkenbilt
2022-04-09Remove methods of private classes from ABIJay Berkenbilt
Prior to the cmake conversion, several private classes had methods that were exported into the shared library so they could be tested with libtests. With cmake, we build libtests using an object library, so this is no longer necessary. The methods that are disappearing from the ABI were never exposed through public headers, so no code should be using them. Removal had to wait until the window for ABI-breaking changes was open.
2022-04-09Spell checkJay Berkenbilt
2022-04-09Update documentation for PointerHolder transitionJay Berkenbilt
2022-04-09Enable PointerHolder warning and define POINTERHOLDER_IS_SHARED_POINTERJay Berkenbilt
2022-04-09Remove PointerHolder.hh from other than public header filesJay Berkenbilt
Increase to POINTERHOLDER_TRANSITION=4
2022-04-09Replace PointerHolder with std::shared_ptr in the rest of the codeJay Berkenbilt
Increase to POINTERHOLDER_TRANSITION=3 patrepl s/PointerHolder/std::shared_ptr/g **/*.cc **/*.hh patrepl s/make_pointer_holder/std::make_shared/g **/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g **/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh git restore libtests/pointer_holder.cc cleanpatch ./format-code
2022-04-09Replace PointerHolder with std::shared_ptr in library sources onlyJay Berkenbilt
(patrepl and cleanpatch are my own utilities) patrepl s/PointerHolder/std::shared_ptr/g {include,libqpdf}/qpdf/*.hh patrepl s/PointerHolder/std::shared_ptr/g libqpdf/*.cc patrepl s/make_pointer_holder/std::make_shared/g libqpdf/*.cc patrepl s/make_array_pointer_holder/QUtil::make_shared_array/g libqpdf/*.cc patrepl s,qpdf/std::shared_ptr,qpdf/PointerHolder, **/*.cc **/*.hh git restore include/qpdf/PointerHolder.hh cleanpatch ./format-code
2022-04-09Rewrite PointerHolder as derived from std::shared_ptrJay Berkenbilt
2022-04-09Bump version to 11.0.0, indicating ABI-breaking changesJay Berkenbilt
2022-04-09Don't hard-code soname in build-appimageJay Berkenbilt
2022-04-09Remove accidentally committed fileJay Berkenbilt
2022-04-09Add formatting code to release checklistJay Berkenbilt
2022-04-09Add documentation for code formatting and contribution guidelinesJay Berkenbilt
2022-04-09Add format-code scriptJay Berkenbilt
2022-04-09spell-check: quote wildcardsJay Berkenbilt
2022-04-05Note about app-image build testingJay Berkenbilt
2022-04-05Update TODO with additional notesJay Berkenbilt
2022-04-05Update some code manually to get better formatting resultsJay Berkenbilt
Add comments to force line breaks, parenthesize function arguments that are contatenated strings, etc. -- these kinds of changes improve clang-format's results and also cause emacs cc-mode to match clang-format. After this type of change, most of the time, when clang-format and emacs disagree, clang-format is better.
2022-04-04Programmatically apply new formatting to codeJay Berkenbilt
Run this: for i in **/*.cc **/*.c **/*.h **/*.hh; do clang-format < $i >| $i.new && mv $i.new $i done
2022-04-04Add .clang-format and .dir-locals.el files to set coding styleJay Berkenbilt
Configure emacs and clang-format 15 to the coding style I am choosing for qpdf.
2022-04-04Protect gnutls headers from clang-format rearranging themJay Berkenbilt
2022-04-03Exclude formatting on embedded native cryptoJay Berkenbilt
2022-04-03TODO noteJay Berkenbilt
2022-04-02Fix AppImage build: need LD_LIBRARY_PATHJay Berkenbilt
I'm not sure why this is needed now and wasn't needed before since the cmake changes have been in main for a while and there don't appear to be recent changes to the appimage build tools. This change adds to lib directory to LD_LIBRARY_PATH so the appimage tools' ldd check will pass. This is an appropriate change since the directory that is added will be in the standard load path when installed.
2022-03-23Put spaces around version constraint in pkg-config (fixes #677)Jay Berkenbilt
Also add a pkg-config runtime test that would have caught the error.
2022-03-20Fix typo in previous fixJay Berkenbilt
2022-03-19Fix test for whether atomic library is neededJay Berkenbilt
Some platforms need it for atomic<long long> but not for atomic<int>.
2022-03-19Notes for next releaseJay Berkenbilt
2022-03-19Update ChangeLog and release notesrelease-qpdf-10.6.3.0cmake1Jay Berkenbilt
2022-03-19Remove "lt-" workaroundsJay Berkenbilt
The executables that libtool built invoked the underlying binary with an "lt-" prefix. The code contained numerous workarounds for testing, which can now be removed.
2022-03-19Add installed package smoke tests in pkg-test directoryJay Berkenbilt
2022-03-19Update process for ABI testingJay Berkenbilt
2022-03-19Update instructions for testing pikepdfJay Berkenbilt
2022-03-19Update paths in performance_checkJay Berkenbilt
2022-03-19TODO: update section for cmakeJay Berkenbilt
2022-03-19TODO note about linux32 large file testsJay Berkenbilt
2022-03-19Add spell checker (formerly in Makefile)Jay Berkenbilt
2022-03-19Update build-related documentation and commentsJay Berkenbilt
2022-03-19Remove old build filesJay Berkenbilt
2022-03-19Convert oss-fuzz-build to use cmakeJay Berkenbilt
2022-03-19Convert build-windows to use cmakeJay Berkenbilt
2022-03-19Convert test-sanitizers to use cmakeJay Berkenbilt
2022-03-19Convert build-mac to use cmakeJay Berkenbilt
2022-03-19Convert build-linux32 to use cmakeJay Berkenbilt
2022-03-19Convert build-linux to cmakeJay Berkenbilt
2022-03-19Convert make_dist to use cmakeJay Berkenbilt
2022-03-19Convert build-doc to cmakeJay Berkenbilt