James R. Barlow
f46e4067f4
Dockerfile: should work now
...
[ci skip]
2018-07-11 00:57:20 -07:00
James R. Barlow
47bf5585e8
Dockerfile: needs leptonica
2018-07-11 00:17:04 -07:00
James R. Barlow
72fb4d39be
Dockerfile: fix missing mkdir
2018-07-10 21:56:49 -07:00
James R. Barlow
9681c0e05a
Eliminate Homebrew autobrewing
...
The Homebrew-core does such a good job of keeping things up to
date there is little to point to a private infrastructure.
2018-07-10 21:37:38 -07:00
James R. Barlow
2628575dab
Adjust Dockerfile again
2018-07-10 21:14:41 -07:00
James R. Barlow
f7d59068e5
Adjust Dockerfile for 7.0.0
2018-07-10 18:20:33 -07:00
James R. Barlow
4cf10d62ca
More work on installation steps
...
[ci skip]
2018-07-10 18:20:22 -07:00
James R. Barlow
2f65e3aac8
(Hopefully) fix build on ReadTheDocs
...
[ci skip]
2018-07-10 13:20:33 -07:00
James R. Barlow
e494cd7aa6
Update installation notes
...
Closes #276
2018-07-10 12:24:01 -07:00
James R. Barlow
809880f46d
Brew: jbig2dec and libffi are not required
2018-07-10 11:05:36 -07:00
James R. Barlow
5925ebe31c
Merge branch 'develop' (7.0.0) into master
...
# Conflicts:
# .gitignore
# .travis/linux_before_install.sh
# docs/release_notes.rst
# test_requirements.txt
v7.0.0
2018-07-09 21:15:13 -07:00
James R. Barlow
316709c291
Fix typo introduced in
...
338593d
2018-07-09 21:07:58 -07:00
James R. Barlow
0d6a2ba554
Declare certain APIs public
2018-07-09 14:28:37 -07:00
James R. Barlow
1fcb06b1aa
Update readme
2018-07-09 14:02:12 -07:00
James R. Barlow
36138c7c06
Update release notes
2018-07-09 13:56:30 -07:00
James R. Barlow
338593d9e7
Remove ruffus 2.6.3 exception special casing
2018-07-09 13:56:23 -07:00
James R. Barlow
d6eb1f9578
Remove dependency on private fork of ruffus, change to official 2.7
2018-07-09 12:51:56 -07:00
James R. Barlow
1cc9d2d3d1
Fix path error on Py3.5
2018-07-08 01:01:06 -07:00
James R. Barlow
58642aa98b
Fix issue #275 : doesn't work when installed in non-Unicode path
...
Closes #275
2018-07-07 01:35:05 -07:00
James R. Barlow
7baaf00a38
Fix wrong return code tested
v7.0.0rc4
v7.0.0rc3
2018-07-05 13:49:22 -07:00
James R. Barlow
5cc23dbf24
pdfinfo: more robustness
2018-07-04 17:12:30 -07:00
James R. Barlow
216d60ea2c
pdfinfo: improve the regex
2018-07-04 00:59:32 -07:00
James R. Barlow
8b0496d35e
Fix invalid XML characters choking parser
2018-07-03 22:51:59 -07:00
James R. Barlow
e44001641c
Return a distinct error code if PDF/A fails
2018-07-03 16:59:03 -07:00
James R. Barlow
47885f4230
Remove initial qpdf.repair
...
Since pikepdf is doing the work the initial repair takes time and gives
little benefit.
It turns out to not be worthwhile to
save the results of PdfInfo parsing,
since the time to save this seems to exceed the costs of recalculating
it since the "weave" code. At least
for small files.
2018-07-03 16:50:05 -07:00
James R. Barlow
921767e82e
ocrmypdf.exec: trap FileNotFoundError too
2018-07-03 00:05:49 -07:00
James R. Barlow
85f96b7fb0
Add test to optimize if jbig2 is present
2018-07-02 23:49:11 -07:00
James R. Barlow
890c7fd0f6
optimize: allow modification of quality settings in command line mode
2018-07-02 23:48:51 -07:00
James R. Barlow
39c44bdd2f
Don't use --optimize in test since jbig2enc is not always installed
2018-07-02 23:48:23 -07:00
James R. Barlow
5f99f7f6ca
Upgrade to Py3.7 locally and resolve a few issues
2018-07-02 23:47:51 -07:00
James R. Barlow
4f864bce98
Update macOS Brewfile
2018-07-02 22:25:46 -07:00
James R. Barlow
2974929b26
Make jpeg/png quality tunable args
2018-07-02 22:22:59 -07:00
James R. Barlow
db837aa55c
Improve release notes
2018-07-02 16:48:33 -07:00
James R. Barlow
7200623007
Fix installation for Python 3.7
...
Need to use private fork of ruffus for Python 3.7. Backward compatible with Python 3.6 for ruffus 2.6.3
Disable locale checking for 3.7 since the various fixes in that release should make it unnecessary.
2018-07-02 16:47:14 -07:00
James R. Barlow
73e02ae4ea
Hopefully workaround Py3.5 marshal error
...
https://github.com/eliben/pycparser/issues/251
2018-06-29 12:54:48 -07:00
James R. Barlow
d4cbef9457
Update test cache with naming rule change
2018-06-29 12:04:20 -07:00
James R. Barlow
ed8ff79e10
Optimize some of our bigger test files
...
Only partially optimize multipage.pdf so that it hopefully
improves speed of test suite without being useless as an
optimization test.
2018-06-29 00:35:49 -07:00
James R. Barlow
e725f64b6a
Add test case to ensure mono is not inverted
2018-06-29 00:25:11 -07:00
James R. Barlow
0029cc4fe7
optimize: fix PNGs that were reduced to 1-bit being inverted
...
At some point the color gets flipped, we have to flip it again,
for mono.
Incidentally this exposed an unused
optimization. Should change the
first past to scan all images and
record monochrome xrefs, then optimize
JPEG and PNG, possibly adding
mono images to the monochrome
queue. Finally, do JBIG2 optimization.
2018-06-29 00:09:20 -07:00
James R. Barlow
9637696a54
Fix test resources naming inconsistency
2018-06-28 23:37:14 -07:00
James R. Barlow
02b3ca6862
Compress test images more heavily
2018-06-28 21:40:12 -07:00
James R. Barlow
bc90f40a8f
Replace all Pix.read with Pix.open
2018-06-28 15:13:26 -07:00
James R. Barlow
3d727ff4c0
Fix leptonica remove_colormap was replaced with a no-op at some point
2018-06-28 15:11:51 -07:00
James R. Barlow
b0eacd6586
Add Python 3.7 support
2018-06-28 13:57:45 -07:00
James R. Barlow
7795701595
Merge branch 'test/ignore-masks'
2018-06-28 13:05:45 -07:00
James R. Barlow
bf214eecb3
Use newer pikepdf API for objgen
2018-06-28 12:59:01 -07:00
James R. Barlow
434b96d734
optimize: skip incremental images if any
...
These are fairly rare
2018-06-24 00:18:48 -07:00
James R. Barlow
b9dc109892
optimize: use new pikepdf api for objgen
2018-06-24 00:16:28 -07:00
James R. Barlow
1f40a70554
Use qpdf 8.0.2 backport, force old pytest-timeout to fix build
v6.2.1
2018-06-23 03:14:18 -07:00
James R. Barlow
e14ffbf03f
v6.2.1 release notes
2018-06-23 03:01:54 -07:00