41480 Commits

Author SHA1 Message Date
Rogelio Domínguez Hernández
60d1b4199c
Restore cover download for la_jornada.recipe 2020-10-03 08:29:25 -05:00
Kovid Goyal
2395bc85a8
String changes 2020-10-03 18:36:12 +05:30
Kovid Goyal
53c153750a
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-03 18:33:13 +05:30
Charles Haley
ec96f8f7fa Minor string changes 2020-10-03 13:20:11 +01:00
Kovid Goyal
485a07aee4
Bump beta version
Fixes issue with UTF-8 BOM preventing some plugins from loading. Also
fixes issue with compiling RapydScript and therefore the server/viewer
when using CALIBRE_DEVELOP_FROM
2020-10-03 15:29:09 +05:30
Kovid Goyal
bc34075d05
String changes 2020-10-03 15:26:32 +05:30
Kovid Goyal
e258ae93bd
Content server OPDS feeds: Fix error if the metadata for a book contains particular unicode characters. Fixes #1897410 [Private bug](https://bugs.launchpad.net/calibre/+bug/1897410)
libxml's parser chokes on them on windows. Use my html5-parser instead.
2020-10-03 15:07:25 +05:30
Kovid Goyal
0e25387a9f
When loading code from plugins load as bytes
This is closer to how the python interpreter does it
2020-10-03 14:17:25 +05:30
Kovid Goyal
0d3a80e850
Remove UTF-8 BOM from .py files when loading from the zip plugin 2020-10-03 14:14:05 +05:30
Kovid Goyal
defa85e918
Use simplified interface for freezing 2020-10-03 12:03:21 +05:30
Kovid Goyal
aab1d2268c
Make a beta release
The new plugin loading and bypy freeze code needs testing
2020-10-03 09:48:40 +05:30
Kovid Goyal
7a64067d72
... 2020-10-03 09:39:54 +05:30
Kovid Goyal
70ca16c3ef
Fix detection of packages in zipplugin 2020-10-03 09:36:56 +05:30
Kovid Goyal
2d9ac6aa54
Basic cleanups for the python template function merge 2020-10-03 09:18:18 +05:30
Kovid Goyal
7e577735ba
pep8 2020-10-03 09:07:11 +05:30
Kovid Goyal
927cf43a4c
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-03 09:06:24 +05:30
Kovid Goyal
27584dc8a1
Delegate to bypy to tell us if we are running from develop 2020-10-03 09:05:37 +05:30
Kovid Goyal
6f44e1cc42
Clarify how to get help for format specific otions in calibredb catalog 2020-10-03 09:05:37 +05:30
Kovid Goyal
06a48034db
Remove workarounds for zipimport threading bug
No longer needed as the new bypy freezing code does not use zipimport
2020-10-03 09:05:37 +05:30
Kovid Goyal
fe478a2cee
Use the new bypy freezing code for windows build 2020-10-03 09:05:37 +05:30
Kovid Goyal
4e5fda27a8
Switch macOS build to use new bypy freezer 2020-10-03 09:05:36 +05:30
Kovid Goyal
b5af89b594
Dont remove lib2to3 as it is used by some thirdparty deps 2020-10-03 09:05:36 +05:30
Kovid Goyal
bbb050b77c
Modernize infra for loading plugins
Enable the new meta plugin finder and resource loading infrastructure from
python 3.7
2020-10-03 09:05:36 +05:30
Kovid Goyal
2938e2c203
New bypy freezing framework for Linux builds 2020-10-03 09:05:36 +05:30
Kovid Goyal
f42b0b9f59
Add --compression-level to installer build commands 2020-10-03 09:05:36 +05:30
Kovid Goyal
eb824ef094
Remove CALIBRE_DEVELOP_FROM from site.py
It will be implemented in the bypy frozen loader instead
2020-10-03 09:05:36 +05:30
Kovid Goyal
0c2b5e5b32
Add tests for ResourceReader implementation 2020-10-03 09:05:36 +05:30
Kovid Goyal
ccdfbe96d5
No need to manipulate sys.path when importing calibre extensions in frozen builds 2020-10-03 09:05:36 +05:30
Kovid Goyal
29bfafa676
When finding tests also check for pyc
Needed in frozen builds
2020-10-03 09:05:36 +05:30
Kovid Goyal
2a0bdcfcbb
Use the importlib resource infrastructure to run tests from directories
That way the tests will work even in frozen builds
2020-10-03 09:05:36 +05:30
Kovid Goyal
cc9a40868e
Linux: Move the calibre extensions out of site-packages
This means path based imports of them will continue to work
even after freeze into single dir
2020-10-03 09:05:36 +05:30
Kovid Goyal
6608e3e365
Edit book: Reports tool: Fix a regression that broke sorting. Fixes #1898167 [Sorting does not work](https://bugs.launchpad.net/calibre/+bug/1898167)
In Python 3 we apparently cannot return bytes types from models
2020-10-02 23:26:54 +05:30
Kovid Goyal
3e272bd3bc
... 2020-10-02 22:51:53 +05:30
Kovid Goyal
833c0db683
HTMLZ Output: Fix an error when converting a document that has SVG images 2020-10-02 19:21:24 +05:30
Charles Haley
1c56c41b80 Fix the manual 2020-10-02 08:11:51 +01:00
Charles Haley
ac50f0afaf 1) cached 'compiled' stored templates
2) change call syntax so stored templates are usable in single function mode
2020-10-02 08:02:42 +01:00
Kovid Goyal
5c7b4b340a
Fix compiler warning 2020-10-02 11:55:38 +05:30
Kovid Goyal
3d41252817
Use RAII for file handle as well 2020-10-02 11:44:31 +05:30
Kovid Goyal
dfab2e1a72
version 5.1.0 v5.1.0 2020-10-02 09:12:34 +05:30
Kovid Goyal
b180fea7d6
Speedup windows_get_fileid
Also make it more robust by avoiding registry/time lookups. Fixes #1898110 [Cannot load Calibre 64 bit](https://bugs.launchpad.net/calibre/+bug/1898110)
2020-10-02 08:08:51 +05:30
Kovid Goyal
b94819be9e
Fix #1898105 [Private bug](https://bugs.launchpad.net/calibre/+bug/1898105) 2020-10-02 07:15:46 +05:30
Kovid Goyal
be18bbfb04
pep8 2020-10-01 18:43:41 +05:30
Kovid Goyal
c44316fc27
Incorrect use oh typographical quotes 2020-10-01 16:42:04 +05:30
Kovid Goyal
e590347369
Only run push to Transifex on my repo 2020-10-01 16:37:48 +05:30
Charles Haley
b208241eba Make the tabs individually scrollable 2020-10-01 11:53:05 +01:00
Kovid Goyal
868a2c8967
Fix modals not getting keyboard focus in updated WebEngine 2020-10-01 15:12:35 +05:30
Kovid Goyal
bea311405a
Viewer: Allow skipping the confirmation when using the remove highlight button in the popup bar. Fixes #1897415 [[Feature Request] Delete text highlight without confirmation box](https://bugs.launchpad.net/calibre/+bug/1897415) 2020-10-01 15:02:53 +05:30
Charles Haley
f839ac96e3 Stored templates 2020-10-01 09:41:18 +01:00
Kovid Goyal
5e524df4dc
... 2020-10-01 14:01:01 +05:30
Kovid Goyal
13afd5537b
Viewer lookup panel: Add a checkbox to disable automatic update of lookup when the selected text changes. Fixes #1897435 [Auto request getting sent for Lookup/Search selected word](https://bugs.launchpad.net/calibre/+bug/1897435) 2020-10-01 09:55:24 +05:30