Opened 5 years ago

Closed 5 years ago

#11029 closed enhancement (fixed)


Reported by: Douglas R. Reno Owned by: Bruce Dubbs
Priority: normal Milestone: 8.3
Component: BOOK Version: SVN
Severity: normal Keywords:


New minor version

Change History (2)

comment:1 by Bruce Dubbs, 5 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned
  • 8.2.1: release
  • Add new option --keep-files-open=[yn] to control whether qpdf keeps files open when merging. Prior to version 8.1.0, qpdf always kept all files open, but this meant that the number of files that could be merged was limited by the operating system's open file limit. Version 8.1.0 opened files as they were referenced, but this caused a major performance impact. Version 8.2.0 optimized the performance but did so in a way that, for local file systems, there was a small but unavoidable performance hit, but for networked file systems, the performance impact could be very high. Starting with version 8.2.1, the default behavior is that files are kept open if no more than 200 files are specified, but that the behavior can be explicitly overridden with the --keep-files-open flag. If you are merging more than 200 files but less than the operating system's max open files limit, you may want to use --keep-files-open=y. If you are using a local file system where the overhead is low and you might sometimes merge more than the OS limit's number of files, you may want to specify --keep-files-open=n. Fixes #237.

  • 8.2.0: release
  • For the mingw builds, change the name of the DLL import library from libqpdf.a to libqpdf.dll.a to avoid confusing it with a static library. This potentially clears the way for supporting a static library in the future, though presently, the qpdf Windows build only builds the DLL and executables. Fixes #225.
  • Add new class QPDFSystemError, derived from std::runtime_error, which is now thrown by QUtil::throw_system_error. This enables the triggering errno value to be retrieved. Fixes #221.
  • qpdf command line: add --no-warn option to suppress issuing warning messages. If there are any conditions that would have caused warnings to be issued, the exit status is still 3.
  • Rewrite the internals of Pl_Buffer to be much more efficient in use of memory at a very slight performance cost. The old implementation could cause memory usage to go out of control for files with large images compressed using the TIFF predictor. Fixes #228.
  • Bug fix: end of line characters were not properly handled inside strings in some cases. Fixes #226.
  • Bug fix: infinite loop on progress reporting for very small files. Fixes #230.
  • Performance fix: optimize page merging operation to avoid unnecessary open/close calls on files being merged. Fixes #217.
  • Add ClosedFileInputSource::stayOpen method, enabling a ClosedFileInputSource to stay open during manually indicated periods of high activity, thus reducing the overhead of frequent open/close operations.

comment:2 by Bruce Dubbs, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 20340.

Note: See TracTickets for help on using tickets.