Kovid Goyal
1de95a2897
...
2022-10-16 21:05:55 +05:30
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
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
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
Kovid Goyal
74208b5330
version 6.7.1
v6.7.1
2022-10-15 07:34:52 +05:30
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
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
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
Kovid Goyal
2a1dacae67
Correct installer descriptions on download archive
2022-10-13 22:44:44 +05:30
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
Kovid Goyal
ffea14db35
cleanup previous PR
2022-10-11 20:13:02 +05:30
Kovid Goyal
10a51fb804
Merge branch 'master' of https://github.com/cbhaley/calibre
2022-10-11 19:42:47 +05:30
Charles Haley
1b7cbccdaf
Add a test calling a stored python template from a GPM template
2022-10-11 11:41:51 +01:00
Kovid Goyal
87bb69e17f
Start work on custom save/restore for window geometry
2022-10-11 14:50:35 +05:30
Kovid Goyal
0f5b509c75
Update The Economic Times India Print Edition
2022-10-11 14:30:20 +05:30
Kovid Goyal
9cfeb668f1
Update Indian Express
2022-10-11 13:51:39 +05:30
Charles Haley
7929687138
Merge pull request #2 from un-pogaz/template_highlighter
...
Sligh improvement to syntax key word mode and small regex fix
2022-10-11 09:08:22 +01:00
un-pogaz
985c189bd4
sligh improvement to syntax to word mode and regex
2022-10-11 09:46:33 +02:00
Charles Haley
3f856408d7
Add some tests for python templates
2022-10-10 21:25:06 +01:00
Charles Haley
294a28433c
Only detect the template type keyword on the first line.
...
Remove an extra space from the default formatter exception message.
2022-10-10 21:06:09 +01:00