2946 Commits

Author SHA1 Message Date
James R. Barlow
9d51a1b5ab Merge branch 'master' of github.com:jbarlow83/OCRmyPDF 2021-05-13 23:29:02 -07:00
James R. Barlow
43e7765efd Expand documentation for adding language packs
Closes #777
2021-05-13 23:24:54 -07:00
Matthias Braun
352f009c77
Fix code of French language pack in languages.rst (#776)
* Fix code of French language pack in languages.rst

* Update languages.rst

Reviewed-by: jbarlow83 <jbarlow83@users.noreply.github.com>
2021-05-09 01:03:13 -07:00
James R. Barlow
399b5548ca
v12.0.1 release notes v12.0.1 2021-04-26 01:18:57 -07:00
James R. Barlow
7b1e5b4f41
Fix "invalid version number" for untagged tesseract versions
Fixes #770
2021-04-26 01:18:07 -07:00
James R. Barlow
33e0b16174
v12.0.0 release notes v12.0.0 2021-04-23 00:04:21 -07:00
James R. Barlow
a613722e96
Auto-register semfree.py if needed v12.0.0b4 2021-04-21 23:39:38 -07:00
James R. Barlow
ad0126185f
Rename awslambda -> semfree.py 2021-04-21 23:29:55 -07:00
James R. Barlow
be45871d10
docker: add special hint for using docker 2021-04-21 23:18:29 -07:00
James R. Barlow
252221fd8b
dockerfile: remove unnecessary copy of /app/src 2021-04-21 23:17:42 -07:00
James R. Barlow
d25c49ba81
docs: remove incorrect value of rotate-pages-threshold from docs
Closes #762
2021-04-19 00:06:22 -07:00
James R. Barlow
5112e9e857
Redo dpi calc to avoid 'math.ulp' v12.0.0b3 2021-04-16 00:54:41 -07:00
James R. Barlow
757b72b0af Revert "Remove apparently unused portion of a test"
This reverts commit d89a633ba73af4a6bdacda6b9a4c0638b39167bd.
2021-04-16 00:21:11 -07:00
James R. Barlow
75c5b92cb9
v12.0.0 update release notes 2021-04-15 23:49:58 -07:00
James R. Barlow
d673126994
Fix ZeroDivisionError on files containing images drawn at scale 0
Fixes #761
2021-04-15 23:26:14 -07:00
James R. Barlow
d89a633ba7
Remove apparently unused portion of a test 2021-04-15 23:25:18 -07:00
James R. Barlow
710d797299
Fix comment typos 2021-04-14 00:36:58 -07:00
James R. Barlow
fc75254c60
Fix awslambda progressbar.update() error
Fixes #759
v12.0.0b2
2021-04-13 14:37:30 -07:00
James R. Barlow
f453e94f14
awslambda: better documentation 2021-04-13 13:16:35 -07:00
James R. Barlow
8f8aaa93ed Refactor removing log handlers 2021-04-13 13:16:21 -07:00
James R. Barlow
a90b9e669f
Add reminder to not mess with pool/listener order 2021-04-09 13:22:48 -07:00
James R. Barlow
e4f69cc1d6 Maybe fix a deadlock on attempting sys.stderr.flush()
Closes #758
Closes #733
2021-04-09 01:59:30 -07:00
James R. Barlow
a5852ba199
Remove parent process's log handlers properly 2021-04-08 21:39:18 -07:00
James R. Barlow
051b9da991 Remove undocumented/unused debug environment variables 2021-04-08 21:08:12 -07:00
James R. Barlow
139d9f9841
Shut up pikepdf mmap disabled message 2021-04-08 20:58:46 -07:00
James R. Barlow
532d65a355
ci: push on tag v12.0.0b1 2021-04-08 14:19:59 -07:00
James R. Barlow
9de38afb13
Fix Tesseract version for ubuntu 18.04 2021-04-08 13:07:13 -07:00
James R. Barlow
913c939dc9
docs: update wrt AWS 2021-04-08 01:51:44 -07:00
James R. Barlow
9db9a3d6ec
helpers: improve test coverage of Resolution 2021-04-07 23:26:37 -07:00
James R. Barlow
8423bd549b
helpers: don't trap exception on failure to unlink
If we can't unlink a file we expect to unlink, logging and moving on is
probably the wrong action.

Coverage never hits this line.
2021-04-07 23:16:10 -07:00
James R. Barlow
336d274a54 Drop remnants of support for Tesseract without has_textonly_pdf
Also improve Tesseract version checking so it can compare all of their
weird conventions.
2021-04-07 23:05:21 -07:00
James R. Barlow
906d77b389
tests: remove obsolete running_in_travis() 2021-04-07 02:25:10 -07:00
James R. Barlow
9416e850ff
Remove another instance of helpers_namespace 2021-04-07 02:23:04 -07:00
James R. Barlow
fd3248869c Merge branch 'master' of github.com:jbarlow83/OCRmyPDF 2021-04-07 02:18:14 -07:00
James R. Barlow
2a09a668f6
Delinting: unused args 2021-04-07 02:18:08 -07:00
James R. Barlow
e788dde607
tests: eliminate unnecessary mmap 2021-04-07 02:11:31 -07:00
James R. Barlow
173a80864d
Delinting 2021-04-07 02:09:45 -07:00
James R. Barlow
aa115a8be3
Remove pytest_helpers_namespace 2021-04-07 01:56:51 -07:00
Tomáš Hrnčiar
e0441c4aa1
Explicitly require setuptools, since pdfa.py imports pkg_resources (#755)
Co-authored-by: jbarlow83 <jbarlow83@users.noreply.github.com>
2021-04-06 02:23:44 -07:00
James R. Barlow
a861c58da2 Merge branch 'master' of github.com:jbarlow83/OCRmyPDF 2021-04-06 02:07:16 -07:00
James R. Barlow
b1306bd7a8
tests: skip test_bash on Windows 2021-04-06 01:15:00 -07:00
James R. Barlow
3a6eb383dc
Run all tests 2021-04-06 00:28:06 -07:00
James R. Barlow
6c942ecefd
Update release notes 2021-04-06 00:17:36 -07:00
James R. Barlow
a25f8ecc62
Remove Azure Pipelines 2021-04-06 00:17:29 -07:00
andkrause
e1f4813d94 Dockerfile: support arm64
Thanks to @andkrause for submitting the initial PR that made this change
possible, @0x326 for review comments on the same PR, and both for their
patience in waiting for the rest of OCRmyPDF to catch up.

Co-authored-by: James R. Barlow

Closes #564
2021-04-06 00:09:04 -07:00
James R. Barlow
af526f078d Activate codecov 2021-04-06 00:08:58 -07:00
James R. Barlow
16438c1312 Begin GitHub Actions migration 2021-04-06 00:08:13 -07:00
James R. Barlow
dd6cb7ce20
Preparing release notes 2021-04-02 01:10:53 -07:00
James R. Barlow
653e2e23df
Update deps for next release 2021-04-02 01:10:39 -07:00
James R. Barlow
a2033698fa graft: use newer pikepdf style 2021-04-02 00:11:13 -07:00