2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-11-01 03:12:29 +00:00
Commit Graph

1006 Commits

Author SHA1 Message Date
Jay Berkenbilt
4cded10821 Add QPDFObjectHandle::Rectangle type
Provide a convenient way of accessing rectangles.
2018-06-21 15:57:13 -04:00
Jay Berkenbilt
078cf9bf90 newline before endstream fix for object streams (fixes #205) 2018-05-12 13:17:43 -04:00
Jay Berkenbilt
b8ccbff413 doc: point out use of @filename for specifying password (fixes #198) 2018-05-05 17:52:04 -04:00
Jay Berkenbilt
15ed9f8565 Fix small logic error in Token construct (fixes #206)
The special case around name token was not reachable. This would only
affect constructors of name tokens that were represented in
non-canonical form such as with a hex substitution for a printable
character. The error was harmless but still a bug.
2018-05-05 17:47:56 -04:00
Jay Berkenbilt
b096e99649 buffer test: fix memory leak in test code
Forgot to delete a buffer in the test driver. There was no memory leak
or memory error in any installed code.
2018-05-05 17:43:44 -04:00
Jay Berkenbilt
1437f80560 TODO: note about MacPorts CI 2018-05-05 17:42:58 -04:00
Jay Berkenbilt
55b1d3ef16 TODO 2018-04-15 18:45:11 -04:00
Jay Berkenbilt
b4d6cf6836 Limit depth of nesting in direct objects (fixes #202)
This fixes CVE-2018-9918.
2018-04-15 16:11:22 -04:00
Jay Berkenbilt
f8c8e4dcc0 Prepare 8.0.2 release 2018-03-06 11:34:07 -05:00
Jay Berkenbilt
e4e2e26d99 Properly handle pages with no contents (fixes #194)
Remove calls to assertPageObject(). All cases in the library that
called assertPageObject() work fine if you don't call
assertPageObject() because nothing assumes anything that was being
checked by that call. Removing the calls enables more files to be
successfully processed.
2018-03-06 11:34:07 -05:00
Jay Berkenbilt
1a4dcb4aaf Pl_Buffer starts in a ready state 2018-03-06 11:31:03 -05:00
Jay Berkenbilt
ee44aef8d0 Treat loop in xref tables as damage (fixes #192)
Prior to this fix, if there was a loop detected in following /Prev
pointers in xref streams/tables, it would cause qpdf to lose data.
Note that this condition causes many PDF readers to hang or fail.
2018-03-05 14:26:58 -05:00
Jay Berkenbilt
6fe1e9de40 Prepare 8.0.1 release 2018-03-04 07:16:20 -05:00
Jay Berkenbilt
5c891cf4c4 Typo 2018-03-04 07:13:27 -05:00
Jay Berkenbilt
666f794393 Support "r" in page ranges (fixes #155) 2018-03-04 07:05:14 -05:00
Jay Berkenbilt
e577dfc87e README-maintainer: be more careful copying release files 2018-03-04 06:51:28 -05:00
Jay Berkenbilt
7b9f23a99a Ignore zlib data check errors (fixes #191) 2018-03-03 11:35:01 -05:00
Jay Berkenbilt
fa76d817c6 Update website for Žarko Gajić 2018-03-01 21:24:34 -05:00
Kurt Pfeifle
97a50e1274 Screenshot URL from GitHub 2018-03-01 21:08:40 -05:00
Jay Berkenbilt
3e8b643ae3 Release 8.0.0 2018-02-25 16:00:11 -05:00
Jay Berkenbilt
c182a1a63c Windows release tweaks 2018-02-25 16:00:11 -05:00
Jay Berkenbilt
ee450ae6bb Update utility scripts from automake 2018-02-25 15:06:44 -05:00
Jay Berkenbilt
a8682e0b75 Spell check 2018-02-25 15:06:44 -05:00
Jay Berkenbilt
c60f4460d3 No update info for travis AppImages 2018-02-25 14:54:46 -05:00
Jay Berkenbilt
111ec50950 8.0.rc3 2018-02-25 14:17:59 -05:00
Jay Berkenbilt
ffda66ca03 Make the AppImage icon square 2018-02-25 14:17:16 -05:00
Jay Berkenbilt
d3d3970cf6 8.0.rc2 2018-02-25 13:50:22 -05:00
Jay Berkenbilt
6edbf8fa72 Include AppImage update info 2018-02-25 13:50:22 -05:00
Jay Berkenbilt
3618fdb13d Fix typo 2018-02-25 13:50:22 -05:00
Jay Berkenbilt
525d423ea8 Tweak README-maintainer 2018-02-25 13:50:21 -05:00
Jay Berkenbilt
a16d703f4d Update version to 8.0.rc1
This is for testing the release process, particularly as it pertains
to AppImage creation.
2018-02-25 09:03:27 -05:00
Jay Berkenbilt
9a4ef8c95d Separate copyright notice from --version option 2018-02-25 09:03:27 -05:00
Jay Berkenbilt
c74d79ae11 Docker updates for local AppImage build 2018-02-25 09:03:27 -05:00
Jay Berkenbilt
1e8b11c38c Update README-what-to-download.md for AppImage 2018-02-25 09:03:27 -05:00
Jay Berkenbilt
b08d44d00e Update travis package installations 2018-02-25 09:03:07 -05:00
Jay Berkenbilt
4daf535c18 Include only one main category in the desktop file 2018-02-25 08:39:54 -05:00
Jay Berkenbilt
1c71bd78f1 Don't automatically upload releases from Travis CI
I'm managing my releases on github in a different way, and I don't
want to put a github token in Travis CI right now. I may revisit this
in the future.
2018-02-24 23:38:35 -05:00
Jay Berkenbilt
78998a8cc7 Minor tweaks to usage 2018-02-24 23:38:35 -05:00
Jay Berkenbilt
44b1ac8dcc Generate PNG files 2018-02-24 23:37:58 -05:00
Jay Berkenbilt
568f518feb Be more general about environment
* Allow any Ubuntu 14.04, not specifically 14.04.5
* Work properly if not running in Travis CI
2018-02-24 22:48:37 -05:00
Jay Berkenbilt
a6f206ad01 Tweak spacing and wording 2018-02-24 22:48:37 -05:00
Jay Berkenbilt
7f29a9d7cc Revert README.md update
This change was obviously not supposed to merge.
2018-02-24 22:43:31 -05:00
Kurt Pfeifle
315c3e7dbc Enhancements to AppImage
Enhance 'build-appimage' script:

- add initial comment block and comments for all major steps in the
  script for the benefit of casual users of the script
- 'configure' to build HTML + PDF documentation
- do not remove the man pages from the AppDir (will be used by custom
  AppRun script)
- use a bigger icon
- use '-g' for appimagetool so it can figure out the 'updateinfo' string
  on Travis CI
- output big fat warning to users who build AppImage in non-"Trusty"
  environments

Add 'AppStream' metadata file

This serves to satisfy desktop environments who want to automatically
create menu entries, show screenshots and display software descriptions.

Note, this file (qpdf.appdata.xml) may need more tweaking since the
Freedesktop folks aren't exactly sure themselves how their 'standard'
should exactly look like, and they changed their validation tools
quite a bit over the recent years in incompatible ways...

Extended and enhanced customized AppRun script

- Add a '--ai-usage' invokation param to the AppImage which serves as
  a starting point to explore the other embedded options
- Support displaying of manual pages by running AppImage with added
  parameter '--man ...'
- Also include HTML/PDF documentation, READMEs and licenses into AppImage
- Support for more parameters: '--list-man', '--list-pdf', '--list-readme',
  '--list-license', '--list-html', '--list-exe', '--pdf', '--readme',
  '--license', '--html' and '--show-apprun'
- Support 'fix-pdf' and 'zlib-' as sub-commands (not just as symlinks)
2018-02-24 21:03:52 -05:00
Jay Berkenbilt
079711a479 Add release notes for qpdf 8.0.0 2018-02-21 20:07:16 -05:00
Jay Berkenbilt
f5265924da Reorganize README-maintainer
Update this to be a more accurate reflection of what I actually do and
to make it a better and more usable checklist.
2018-02-21 11:43:04 -05:00
Jay Berkenbilt
6a0fb71e10 Move README-maintainer back to regular text
This is how I work with the file, so this format is most convenient
for me.
2018-02-21 09:11:15 -05:00
Jay Berkenbilt
3092366936 make_windows_releases: build 32 bit first, build msvc first
Build in the order that is most likely to detect failures earlier.
2018-02-21 09:05:34 -05:00
Jay Berkenbilt
ca0d190812 Have make_dist infer the version 2018-02-21 07:03:17 -05:00
Jay Berkenbilt
82cae01a76 Bump version number and soname
Bump to an alpha release. This version is not being widely released
but is being used to push the new shared library version through the
debian packaging system and to test out github releases.
2018-02-20 21:31:38 -05:00
Jay Berkenbilt
b3dfbe3cd7 Document new command-line flags 2018-02-20 21:31:38 -05:00