46568 Commits

Author SHA1 Message Date
Kovid Goyal
502cdadcd0
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-10-16 20:06:58 +05:30
Charles Haley
b4acdab630 Permit passing a python template context object into the template tester. 2022-10-16 15:31:07 +01:00
Kovid Goyal
aa4e61f744
Cleanup previous PR 2022-10-16 19:27:22 +05:30
Kovid Goyal
41e3770142
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-10-16 19:27:16 +05:30
un-pogaz
e7cc30b3a9 add doc 2022-10-16 15:01:39 +02:00
un-pogaz
983bd742ab rearrange special function 2022-10-16 15:01:11 +02:00
Charles Haley
f947e0df48 Two performance improvements related to large libraries.
See https://www.mobileread.com/forums/showthread.php?p=4265937#post4265937 for an explanation.

The "exotic" part is changing _map_filtered to a property with a setter. The setter constructs a dict {book_id:row}. view.id_to_index() uses the dict instead of .index on the list.
2022-10-16 13:24:26 +01:00
un-pogaz
62cda3ea2f fix None args to empty 2022-10-16 12:02:17 +02:00
Kovid Goyal
6c9551e570
Clean up previous PR 2022-10-16 14:04:11 +05:30
Kovid Goyal
de01331f98
Merge branch 'fix_unlock_tab' of https://github.com/un-pogaz/calibre 2022-10-16 14:01:03 +05:30
Kovid Goyal
29dd4d718f
Merge branch 'handelsblatt-oct2022' of https://github.com/aimylios/calibre 2022-10-16 13:44:19 +05:30
un-pogaz
2e829adf9f fix "unlock tabs" no close button for 'all book' 2022-10-16 10:10:54 +02:00
Aimylios
0d5fd6d260 Update Handelsblatt 2022-10-16 09:58:37 +02:00
Kovid Goyal
3beb835042
Use the correct style when custom painintg the icon 2022-10-16 10:36:10 +05:30
Kovid Goyal
3ff4979673
Book list: Fix incorrect rendering of yes/no icons when they are configured to have only two values. Fixes #1993051 [Improper display of custom column](https://bugs.launchpad.net/calibre/+bug/1993051) 2022-10-16 10:32:23 +05:30
Kovid Goyal
41668689d5
Assume all future Nooks are going to use NOOK as well 2022-10-16 09:03:01 +05:30
Kovid Goyal
480b9f44d1
Nook driver: Send books to the NOOK folder for the 2021 Nook model as well. Fixes #1990730 [books saved in wrong directory on nook 4e](https://bugs.launchpad.net/calibre/+bug/1990730) 2022-10-16 08:59:25 +05:30
Kovid Goyal
ad34b0ea3b
We can no longer rely on confidence from chardet since its always 1 with the move to the C based chardet library
So for files where we assume utf-8, use utf-8 if no explicit encoding is
found. Fixes #1993029 [Apostrophe in book title turns into "à€™" upon import](https://bugs.launchpad.net/calibre/+bug/1993029)
2022-10-15 18:02:11 +05:30
un-pogaz
56e482aeb1 no need undersore, keyword arguments None value 2022-10-15 09:59:48 +02:00
Kovid Goyal
74208b5330
version 6.7.1 v6.7.1 2022-10-15 07:34:52 +05:30
un-pogaz
13b744328b Reduction of the verbosity of error messages 2022-10-14 19:35:12 +02:00
Kovid Goyal
dc821ded5b
Proper fix for old download installer names 2022-10-14 21:33:08 +05:30
Kovid Goyal
e1ab06f9b8
Fix a regression in the previous release that broke the remove specific format from book action 2022-10-14 17:34:29 +05:30
un-pogaz
281850c32c special function, move all inside __getattrib__ 2022-10-14 13:59:00 +02:00
Kovid Goyal
a32750b4be
Forgot to update the format after running FT plugins when importing in the server 2022-10-14 17:26:40 +05:30
un-pogaz
3272643eca add funcs name/attribut to __dir__ 2022-10-14 10:40:23 +02:00
un-pogaz
635acc9312 sef caller in __init__ 2022-10-14 10:30:43 +02:00
un-pogaz
e41aed9a24 use __getattribute__ (now dynamic) 2022-10-14 09:29:36 +02:00
Kovid Goyal
bdaa9a1ca9
SHow progress while compressing linux build tarballs v6.7.0 2022-10-14 09:08:36 +05:30
Kovid Goyal
9f2a701b21
version 6.7.0 2022-10-14 08:18:08 +05:30
un-pogaz
3c20c32676 fix FrameSummary replacement 2022-10-13 19:53:48 +02:00
Kovid Goyal
2a1dacae67
Correct installer descriptions on download archive 2022-10-13 22:44:44 +05:30
un-pogaz
8b3aeb43bb add python template introspection 2022-10-13 18:14:28 +02:00
Kovid Goyal
41c7b7f150
Show the returned value in the error message 2022-10-13 20:05:34 +05:30
Kovid Goyal
1a2f46389b
Merge branch 'python_template_string' of https://github.com/un-pogaz/calibre 2022-10-13 20:03:39 +05:30
un-pogaz
28db54436b ensure that the Python template returns a string 2022-10-13 16:21:10 +02:00
Kovid Goyal
8d42c86479
pep8 2022-10-13 18:11:20 +05:30
Kovid Goyal
3bb39cb88d
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-10-13 18:10:47 +05:30
Charles Haley
31bd89a717 Permit using a custom python template context class. Add a test for it. 2022-10-13 13:20:14 +01:00
Charles Haley
b3cb7ae6d1 More improvements in syntax highlighting for comments and strings 2022-10-13 13:18:30 +01:00
Kovid Goyal
2da0fe7bf9
string changes 2022-10-13 10:38:37 +05:30
Kovid Goyal
6b74cde930
Update The Athletic 2022-10-13 07:57:46 +05:30
Kovid Goyal
0561f520a8
More work on custom widget geometry restore 2022-10-12 20:58:21 +05:30
Kovid Goyal
623b1d69f2
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-10-12 16:06:08 +05:30
Kovid Goyal
2d6fe7a8b5
string changes 2022-10-12 15:58:02 +05:30
Kovid Goyal
5893eea459
Update der Standard 2022-10-12 15:56:08 +05:30
Charles Haley
9b68f5c89a Three changes to template processing:
1) If the user presses ESC, ask "are you sure" if the template has changed.
2) Fix syntax highlighting of comments
3) Improve the python template example in the template docs, better using the new_api.
2022-10-12 11:24:49 +01:00
Kovid Goyal
3e4ee63f2b
pep8 2022-10-11 22:24:28 +05:30
Kovid Goyal
7c7aef46f6
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-10-11 22:22:47 +05:30
Charles Haley
594e152242 Changed python templates to use a context object. Updated the documentation and the tests. 2022-10-11 17:11:40 +01:00