-
…n` and simplify logic - Replace `std::logic_error` with `util::assertion` for consistency. - Use `using namespace qpdf` for cleaner code. - Update `test_62` to cover `Pipeline` output method.
-
Refactor AcroForm field traversal for robustness and add new fuzz case
-
- Modify `traverseField` to return `bool` for identifying invalid fields. - Add `bad_fields` set to track and handle problematic fields. - Improve error handling for invalid parent entries.
-
Add `libexempi8` dependency to test-pikepdf build script
-
Improve JSON schema validation and error reporting
-
- Add null pointer checks for schema objects. - Refactor `checkSchemaInternal` for better readability and maintainability. - Replace redundant error construction logic with lambda-based approach. - Simplify array and dictionary schema handling. - Remove unused test coverage statistics.
-
Introduce parameter validation for compression-level and jpeg-quality
-
- Add `to_int` utility to validate integer ranges for parameters. - Enforce range checks: `compression-level` (1-9) and `jpeg-quality` (0-100). - Enhance test coverage for invalid parameter scenarios.
-
Refactor `util::assertion` etc to accept forwarding references for im…
-
- Updated `assertion`, `internal_error_if`, and `no_ci_rt_error_if` to use templates and `std::forward`.
-
Enhance validation of xref entries for deleted objects.
-
Improve handling of xref stream anomalies and update tests.
-
Fix bug in #1595
-
Refactor error handling across codebase with `util::assertion` and `u…
-
- Standardize error handling by replacing repetitive throw statements with helper functions. - Add test coverage for new helper functions in error handling. - Enhance maintainability and readability with concise utilities.
-
Update header guards for `assert_test.h` and `assert_debug.h`
-
- Introduce distinct header guards to enable simultaneous inclusion of both headers. - Update `README-maintainer.md` to document the changes .
-
Add `util::internal_error_if` for concise handling of internal errors
-
- replace repetitive error handling with utility functions in BufferInputSource, OffsetBuffer, and QPDF_objects. - Remove some "internal error" labels from errors that could be due to user logic errors.
-
Improve error handling for common PDF anomalies.
-
- Updated warning messages to provide clearer descriptions of common issues ("object has offset 0", "xref entry missing") and note that these are handled gracefully by qpdf. - Adjusted logic in `QPDF_objects.cc` to identify and process `xref` stream-specific anomalies accurately. Fixes #1594 Fixes #1292
-
Update release notes for #1587
-
Add detailed docstrings for main methods in `generate_auto_job`.
-
Enhance clarity and maintainability by introducing comprehensive (AI generated) docstrings for methods in the `Main` class, detailing functionality, parameters, and return types.
-
Utilize the GNUTLS_FIPS140_LAX around MD5 initialization.
-
Refactor: use local static variable for JSON schema in `initializeFro…
-
…remove unused global variable `JOB_SCHEMA`.
-
Since QPDFCrypto_gnutls is a short-lived object, it makes sense to store the current FIPS mode value, set mode to LAX and restore the original mode in the destructor. If FIPS is not enabled the behavior should remain unchanged. Fixes #1566.
-
Refactor QPDFFormFieldObjectHelper
-
…th `DV` and `default_value` methods. Simplify logic, improve clarity, and update references.
-
…lue` for clarity, consistency, and improved readability. Update references and method documentation accordingly.
-
…streamline logic, update references, and improve method documentation.
-
…ernativeName`, and `getMappingName` with streamlined implementations using `fully_qualified_name`, `partial_name`, `alternative_name`, and `mapping_name`. Simplify logic and enhance consistency across methods.
-
…` with `FT` method, streamline logic, and update related references for clarity and consistency.
-
…le_string` method for clarity, consistency, and improved readability.
-
…for flexibility and consistency across FormField methods. Adjust related method implementations accordingly.
-
…ntation, and update references in `FormField` methods.