James R. Barlow
522ff3c21a
Remove major version pins
2022-06-12 00:31:01 -07:00
James R. Barlow
10245dc954
Refactor a helper to use the Python API eventually
2022-06-12 00:31:01 -07:00
James R. Barlow
3d4f80639d
Remove test that is now always skipped
2022-06-12 00:31:01 -07:00
James R. Barlow
db9a22c9dd
api: call enable_ansi_support unconditionally
...
coloredlogs documentation says this is (now?) permitted.
Also import it from the right place.
2022-06-12 00:31:01 -07:00
James R. Barlow
31683530f8
api/cli: replace private variable access with method
2022-06-12 00:31:01 -07:00
James R. Barlow
0e550a1c6d
graft: use pikepdf's random name API instead of our own
...
Minor change to PDF output.
2022-06-12 00:31:01 -07:00
James R. Barlow
b17fb61389
Configure pylint in pyproject and delint
2022-06-12 00:30:44 -07:00
James R. Barlow
d640c2ded3
Tidy some if condition -> EAFP
2022-06-11 00:21:21 -07:00
James R. Barlow
a0ac448d52
Tidy some old-school %s strings
2022-06-11 00:15:19 -07:00
James R. Barlow
e3ba13e365
docs: update installation notes
...
Add Snap. Remove Mageia because I have no idea if it still works. Drop a
lot of old versions and old notes. Change pip3->pip except for old py2/py3 images.
Try to make things less version sensitive.
2022-06-10 01:33:05 -07:00
James R. Barlow
0cd04abc4e
snap: add logo
2022-06-09 16:59:20 -07:00
Alexander Langanke and James R. Barlow
ee81f3968f
Add snapcraft.yaml
2022-06-08 01:22:18 -07:00
James R. Barlow
21cacad93b
unpaper: super syntax
v13.4.7
2022-06-02 17:05:59 -07:00
James R. Barlow
3589f4e7d1
unpaper: fix unsaved change
2022-06-02 02:22:48 -07:00
James R. Barlow
1cdc2591e5
v13.4.7 release notes
2022-06-02 02:00:16 -07:00
James R. Barlow
e05f9575a8
Merge remote-tracking branch 'origin/master'
2022-06-02 01:57:39 -07:00
James R. Barlow
10c703e119
unpaper: use TemporaryDirectory(ignore_cleanup_errors=True) where available
...
Fixes #974 when used in conjunction with Python 3.10.
Reviewed other uses of TemporaryDirectory in ocrmypdf and decided it
was not worth fixing them since neither are exactly production code.
2022-06-02 01:56:41 -07:00
James R. Barlow
0ac15dd0b2
Suppress libxmp DeprecationWarning during test
2022-06-01 00:46:16 -07:00
Robert Schütz and GitHub
808b24d59f
ignore PermissionError when calling os.nice() ( #973 )
2022-05-28 18:07:54 -07:00
James R. Barlow
c082526dea
Test pypy-3.8 instead of 3.7
v13.4.6
2022-05-26 13:52:56 -07:00
James R. Barlow
33cdabaf65
tests: account for test that expected pngquant for windows
2022-05-26 13:52:22 -07:00
James R. Barlow
94f8e36601
ci: don't install pngquant for windows anymore
2022-05-26 13:01:58 -07:00
James R. Barlow
865002c7be
v13.4.6 release notes
2022-05-26 00:59:14 -07:00
James R. Barlow
5d0cc0a092
tests: Extract some test fixtures for better clarity
2022-05-26 00:57:31 -07:00
James R. Barlow
6c427f82ea
Add test case for corrupt ICC profiles
2022-05-26 00:41:19 -07:00
James R. Barlow
e7a44ba87a
info: adjust ICC warning message
2022-05-26 00:21:31 -07:00
James R. Barlow
c311768452
Merge branch 'corrupt-icc' of https://github.com/oscherler/OCRmyPDF into oscherler-corrupt-icc
2022-05-26 00:14:47 -07:00
James R. Barlow
f53fedee63
pre-commit: autoupdate
2022-05-25 15:21:55 -07:00
James R. Barlow
87838127b0
info: replace introspection with explicit f-string
2022-05-25 13:16:40 -07:00
Olivier Scherler
4db4df5c72
Log a warning instead of failing on images with a corrupt ICC profile.
2022-05-25 12:37:21 +02:00
James R. Barlow
11125c5367
v13.4.5 release notes
v13.4.5
2022-05-24 16:52:43 -07:00
James R. Barlow
e648411067
Remove pdfminer.six upper version restriction
...
Needing to update this every time has become more inconvenient than dealing
with the occasional breakage in a new release.
2022-05-24 16:51:38 -07:00
Ben Beasley and GitHub
11365575d7
Allow pdfminer.six 20220524 ( #971 )
2022-05-24 16:33:44 -07:00
James R. Barlow
845cb5c40c
docs: clarify that --pages and --skip-text exclusions apply to image processing and OCR
...
Closes #950
2022-05-16 13:20:47 -07:00
James R. Barlow
b699e158be
Fix references to old repo at jbarlow83/OCRmyPDF
2022-05-16 12:48:10 -07:00
leonnicolas and GitHub
603da52026
Fix small typo in update api.py ( #963 )
...
[ci skip]
2022-05-14 21:45:23 -07:00
James R. Barlow
8d0765a5e0
v13.4.4 release notes
v13.4.4
2022-05-14 14:53:03 -07:00
James R. Barlow
1ca327e13b
Update pdfminer.six version
2022-05-14 14:51:59 -07:00
James R. Barlow
f504fd1875
Change Docker base to 22.04
2022-04-28 22:46:30 -07:00
James R. Barlow
cf7c20ca16
v13.4.3 release notes
v13.4.3
2022-04-14 20:19:31 -07:00
James R. Barlow
b00fe3dc5d
pytest.skip() - remove kwarg entirely, to avoid breaking older pytest and not getting warns from newer pytest
2022-04-14 20:15:00 -07:00
James R. Barlow
e6aa3a4299
tests: explain why CacheOcrEngine needs lock
2022-04-05 16:16:51 -07:00
James R. Barlow
24f1b57288
Merge branch 'master' of github.com:ocrmypdf/OCRmyPDF
2022-04-05 16:04:45 -07:00
James R. Barlow
43302d7e12
Fix pytest.warns() on older pytest
...
Thanks @QuLogic
2022-04-05 16:02:50 -07:00
Christopher Besch and GitHub
fed0226761
Add Gentoo Language Installation Instructions ( #936 )
2022-04-05 00:26:24 -07:00
Joseph Morris and GitHub
27e22b4f07
Update jbig2.rst ( #911 )
...
Adding Ubuntu package names for dependencies I needed to save others time. The tequired package for leptonica is particularly confusing since configure just says "Error! Leptonica not detected." and there are multiple leptonica packages
2022-04-05 00:25:28 -07:00
James R. Barlow
79382a6039
Docker: Change base image to debian
...
Debian has latest qpdf.
v13.4.2
2022-04-04 00:40:03 -07:00
James R. Barlow
7788d94c4a
v13.4.2 release notes, take 2
2022-04-03 23:58:37 -07:00
James R. Barlow
33bfba8449
ghostscript: match actual reported version
2022-04-03 23:35:30 -07:00
James R. Barlow
1d0584c644
Add advisory note to release notes
2022-04-03 23:04:55 -07:00