James R. Barlow
|
80ed2117cc
|
Change to SPDX license tracking
|
2022-07-28 01:10:07 -07:00 |
|
James R. Barlow
|
dc6f1a266a
|
Modernize type annotations
|
2022-07-23 00:39:24 -07:00 |
|
James R. Barlow
|
b17fb61389
|
Configure pylint in pyproject and delint
|
2022-06-12 00:30:44 -07:00 |
|
James R. Barlow
|
173a80864d
|
Delinting
|
2021-04-07 02:09:45 -07:00 |
|
James R. Barlow
|
85c6a974ca
|
Fix calls to hook.get_executor
|
2021-01-31 02:46:44 -08:00 |
|
James R. Barlow
|
16bda74974
|
Refactor - decouple progressbar from executor
|
2021-01-30 20:42:00 -08:00 |
|
James R. Barlow
|
d274d88929
|
Refactor to eliminate global state in _concurrent
|
2021-01-30 17:36:30 -08:00 |
|
James R. Barlow
|
386cabff00
|
Make progress pool common rather than plugin-specific
|
2021-01-24 23:56:09 -08:00 |
|
James R. Barlow
|
6953f32465
|
pdfinfo: remove some messy concurrency handling
We can cut down on the use of global variables and save opening
an extra copy of the Pdf when threaded.
|
2021-01-24 23:46:33 -08:00 |
|
James R. Barlow
|
26b4d9bb4b
|
Refactor concurrency so that it is pluggable
However, this may not be the best idea because it involves global
state that could be overridden by a parallel call to ocrmypdf.ocr.
|
2021-01-24 23:46:29 -08:00 |
|
James R. Barlow
|
34e564cd7d
|
Use queue.Queue instead of multiprocessing.Queue in threaded mode
|
2021-01-24 23:45:26 -08:00 |
|
James R. Barlow
|
df6e106203
|
concurrent: simplify results loop
|
2021-01-01 00:44:46 -08:00 |
|
James R. Barlow
|
b01d9e07e8
|
Deal with missing pthread_sigmask on Cygwin
Closes #701
|
2020-12-27 02:24:00 -08:00 |
|
James R. Barlow
|
8c35d6e6e4
|
Fix debug log messages being suppressed from child processes
|
2020-10-22 02:20:06 -07:00 |
|
James R. Barlow
|
aa0ec40102
|
Change license of all GPLv3 files to MPL-2.0
https://github.com/jbarlow83/OCRmyPDF/issues/600
|
2020-08-05 00:44:42 -07:00 |
|
James R. Barlow
|
addc2cbad0
|
Enable pikepdf mmap and set up signal handlers
|
2020-07-22 00:19:50 -07:00 |
|
James R. Barlow
|
86875997b8
|
Fix more mypy errors
|
2020-06-29 02:17:14 -07:00 |
|
James R. Barlow
|
85cbf94a6e
|
Convert many uses of str paths to Path
|
2020-05-06 02:53:47 -07:00 |
|
James R. Barlow
|
75c34b873a
|
optimize: convert from executor to progress pool
|
2020-05-03 02:04:57 -07:00 |
|
James R. Barlow
|
8c381a0227
|
Replace task_initargs with use of partial()
|
2020-04-26 03:49:20 -07:00 |
|
James R. Barlow
|
7513f5425c
|
Fix some broken tests
|
2020-04-26 03:49:20 -07:00 |
|
James R. Barlow
|
af3c3c6466
|
Further refactoring of concurrency concerns
|
2020-04-26 03:49:20 -07:00 |
|
James R. Barlow
|
db3e75e33e
|
Refactor multiprocessing pool
|
2020-04-26 03:49:13 -07:00 |
|