2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-06-13 15:42:21 +00:00
qpdf/libqpdf
Jay Berkenbilt 4f24617e1e Code clean up: use range-style for loops wherever possible
Where not possible, use "auto" to get the iterator type.

Editorial note: I have avoid this change for a long time because of
not wanting to make gratuitous changes to version history, which can
obscure when certain changes were made, but with having recently
touched every single file to apply automatic code formatting and with
making several broad changes to the API, I decided it was time to take
the plunge and get rid of the older (pre-C++11) verbose iterator
syntax. The new code is just easier to read and understand, and in
many cases, it will be more effecient as fewer temporary copies are
being made.

m-holger, if you're reading, you can see that I've finally come
around. :-)
2022-04-30 13:27:18 -04:00
..
qpdf QPDFJob json: make removeAttachment take an array (fixes #693) 2022-04-24 13:06:19 -04:00
sph Remove accidentally committed file 2022-04-09 14:37:00 -04:00
AES_PDF_native.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
BitStream.cc Update some code manually to get better formatting results 2022-04-05 14:56:19 -04:00
BitWriter.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
Buffer.cc Replace PointerHolder with std::shared_ptr in library sources only 2022-04-09 17:33:29 -04:00
BufferInputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
ClosedFileInputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
CMakeLists.txt Fix build logic around generate_auto_job 2022-04-24 13:06:16 -04:00
ContentNormalizer.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
CryptoRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
FileInputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
InputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
InsecureRandomDataProvider.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
JSON.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
JSONHandler.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
MD5_native.cc Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
MD5.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
NNTree.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
OffsetInputSource.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
PDFVersion.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
Pipeline.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_AES_PDF.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_ASCII85Decoder.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_ASCIIHexDecoder.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_Buffer.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_Concatenate.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_Count.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_DCT.cc Use anonymous namespaces for file-private classes 2022-04-16 13:35:27 -04:00
Pl_Discard.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_Flate.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_LZWDecoder.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_MD5.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_PNGFilter.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_QPDFTokenizer.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_RC4.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_RunLength.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_SHA2.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_StdioFile.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
Pl_TIFFPredictor.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Array.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_Bool.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Dictionary.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_encryption.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_InlineImage.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Integer.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_linearization.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_Name.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Null.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Operator.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_optimization.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_pages.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDF_Real.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Reserved.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDF_Stream.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDF_String.cc Expose QUtil::get_next_utf8_codepoint 2022-04-23 18:25:43 -04:00
qpdf-c.cc Deprecate replaceOrRemoveKey -- it's the same as replaceKey 2022-04-24 09:31:32 -04:00
QPDF.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFAcroFormDocumentHelper.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFAnnotationObjectHelper.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFArgParser.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFCrypto_gnutls.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QPDFCrypto_native.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QPDFCrypto_openssl.cc Update some code manually to get better formatting results 2022-04-05 14:56:19 -04:00
QPDFCryptoProvider.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFEFStreamObjectHelper.cc Use replaceKeyAndGet in a few places in existing code 2022-04-29 20:28:02 -04:00
QPDFEmbeddedFileDocumentHelper.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFExc.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QPDFFileSpecObjectHelper.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFFormFieldObjectHelper.cc Use anonymous namespaces for file-private classes 2022-04-16 13:35:27 -04:00
QPDFJob_argv.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFJob_config.cc Change default --json from 1 to latest 2022-04-16 12:57:33 -04:00
QPDFJob_json.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
qpdfjob-c.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QPDFJob.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFMatrix.cc Make ABI-breaking changes that don't modify API at all 2022-04-16 10:41:46 -04:00
QPDFNameTreeObjectHelper.cc Use anonymous namespaces for file-private classes 2022-04-16 13:35:27 -04:00
QPDFNumberTreeObjectHelper.cc Use anonymous namespaces for file-private classes 2022-04-16 13:35:27 -04:00
QPDFObject.cc Performance: remove indirection through Members for QPDFObject 2020-04-03 12:16:24 -04:00
QPDFObjectHandle.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFObjGen.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QPDFOutlineDocumentHelper.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFOutlineObjectHelper.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFPageDocumentHelper.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFPageLabelDocumentHelper.cc Use fluent replaceKey 2022-04-29 20:39:54 -04:00
QPDFPageObjectHelper.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
QPDFStreamFilter.cc Implement user-provided stream filters 2020-12-28 12:58:19 -05:00
QPDFSystemError.cc Use = default and = delete where possible in classes 2022-04-16 11:39:14 -04:00
QPDFTokenizer.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFUsage.cc Use QPDFUsage exception for cli, json, and QPDFJob errors 2022-01-30 13:11:03 -05:00
QPDFWriter.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
QPDFXRefEntry.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QTC.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
QUtil.cc Code clean up: use range-style for loops wherever possible 2022-04-30 13:27:18 -04:00
RC4_native.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
RC4.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
ResourceFinder.cc Programmatically apply new formatting to code 2022-04-04 08:10:40 -04:00
rijndael.cc Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
SecureRandomDataProvider.cc Use anonymous namespaces for file-private classes 2022-04-16 13:35:27 -04:00
SF_FlateLzwDecode.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00
SHA2_native.cc Remove PointerHolder.hh from other than public header files 2022-04-09 17:33:29 -04:00
sha2.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
sha2big.c Exclude formatting on embedded native crypto 2022-04-03 17:58:36 -04:00
SparseOHArray.cc Formatting: remove space in range-style for loops 2022-04-30 13:26:43 -04:00