Charles Haley
1ff3b1c090
Formatter improvement: inline function first_non_empty to avoid evaluating unneeded arguments.
2020-11-06 15:18:54 +00:00
Kovid Goyal
238ff455f7
Edit book: Fix regression in calibre 5 that caused an error when managing user dictionaries. Fixes #1903294 [Preferences / Editor settings / Manage spelling dictionaries throws exception]( https://bugs.launchpad.net/calibre/+bug/1903294 )
2020-11-06 18:16:48 +05:30
Kovid Goyal
7c91fc2bb7
RUN CI on windows-latest
2020-11-06 13:34:19 +05:30
Kovid Goyal
2a32858cdd
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #1903086 [Entry remains underlined in Tag Browser after clearing filters](https://bugs.launchpad.net/calibre/+bug/1903086 )
2020-11-06 10:08:25 +05:30
Charles Haley
60bf9b515f
Fix #1903086 : Entry remains underlined in Tag Browser after clearing filter
2020-11-05 18:59:22 +00:00
Kovid Goyal
6f39129e5b
Output failed message in error details
2020-11-05 12:45:01 +05:30
Kovid Goyal
d81a1fdc91
Better fix for decoding external plugin source code
...
Use the python stdlib function for doing it, so it works exactly the same
as a regular python import.
2020-11-04 08:41:14 +05:30
Kovid Goyal
6ba70b06aa
Fix printing of tracebacks broken when third party plugins with non-UTF-8 source code present
2020-11-04 08:37:15 +05:30
Kovid Goyal
37fee2b5b2
Also ignore traceback failure when showing startup failure dialog
2020-11-04 08:35:27 +05:30
Kovid Goyal
894a9682fd
Ignore failures when printing tracebacks for failing interface actions during startup
2020-11-04 08:34:19 +05:30
Kovid Goyal
480b2c6122
Fix #1902807 [Clearing search history clears current search from bar]( https://bugs.launchpad.net/calibre/+bug/1902807 )
2020-11-04 08:23:23 +05:30
Kovid Goyal
d2c52b5b8e
Fix #1902702 [[Enhancement] Add catalog title to XML catalog]( https://bugs.launchpad.net/calibre/+bug/1902702 )
2020-11-04 07:56:46 +05:30
Kovid Goyal
d52a9a074d
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-11-03 16:11:46 +05:30
Charles Haley
ecbe3b227a
Only add the 'Search using saved search expression' to context menus for saved searches.
2020-11-03 10:35:16 +00:00
Kovid Goyal
6fc7d62f38
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #1902582 [[Enhancement] Add a submenu to the Search for books action in the Tag browser context menu](https://bugs.launchpad.net/calibre/+bug/1902582 )
2020-11-03 15:22:49 +05:30
Charles Haley
0d549a050a
#1902582 : Enhancement: Add a submenu to the Search for books action in the Tag browser context menu
...
I put all the search actions into the new submenu. There are as many as 5.
2020-11-03 09:41:46 +00:00
Kovid Goyal
0ff2db7f7b
String changes
2020-11-03 11:20:36 +05:30
Kovid Goyal
55cf40a781
Fix #1902593 [News from Sweden/IDG does not always show swedish characters]( https://bugs.launchpad.net/calibre/+bug/1902593 )
2020-11-03 07:36:45 +05:30
Kovid Goyal
a575a05530
Draw a simple rounded rectangle to indicate keyboard focus in the tag browser
2020-11-02 21:55:55 +05:30
Kovid Goyal
9ac1509053
Make the help text for tag browser keyboard focus option a bit nicer
2020-11-02 18:31:55 +05:30
Kovid Goyal
9f47303af3
remove invalid property
2020-11-02 18:20:26 +05:30
Kovid Goyal
0f590b1e20
DRYer
2020-11-02 18:11:59 +05:30
Kovid Goyal
786f3e963e
Edit book: Add an action to the right click menu for tabs to close tabs to the right of the current tab. Fixes #1902518 [feature request: Lock tabs in editor so that they don't close in close all other tabs action]( https://bugs.launchpad.net/calibre/+bug/1902518 )
2020-11-02 17:52:18 +05:30
Kovid Goyal
0ac67b2167
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-11-02 17:46:02 +05:30
Charles Haley
195b396602
Tag browser focus changes discussed in other PR.
2020-11-02 11:42:30 +00:00
Kovid Goyal
c61b669501
Fix #1902413 [[Enhancement] Add ability to copy tag, publisher and author in Book details panel by right-clicking]( https://bugs.launchpad.net/calibre/+bug/1902413 )
2020-11-02 14:56:34 +05:30
Kovid Goyal
c75d12ffa7
Annotations browser: Add a context menu for common actions. Fixes #1902326 [[Enhancement] Add context menu to the Annotations browser]( https://bugs.launchpad.net/calibre/+bug/1902326 )
2020-11-02 14:41:20 +05:30
Kovid Goyal
be110c453d
Annotations browser: Show a dot for highlights with notes. Fixes #1899839 [[Enhancement] Show a dot when a highlight contains annotations in the Annotations browser]( https://bugs.launchpad.net/calibre/+bug/1899839 )
2020-11-02 13:41:41 +05:30
Kovid Goyal
c78081c26e
Fix #1901794 [[Enhancement] Add ability to undo set author sort from author and set title sort from title]( https://bugs.launchpad.net/calibre/+bug/1901794 )
2020-11-02 12:38:13 +05:30
Kovid Goyal
a5db80bb55
Viewer: back and forward buttons on the mouse now trigger the back and forward actions
2020-11-02 11:44:59 +05:30
Kovid Goyal
826295a229
Edit book: Saved searches panel: Allow copying the current saved search to the regular search panel by clicking the Export button. Fixes #1902227 [Feature request: copy saved search to main search dialog]( https://bugs.launchpad.net/calibre/+bug/1902227 )
2020-11-02 11:27:35 +05:30
Kovid Goyal
9de1bdaf7e
XML Catalogs: Fix languages field missing
...
Fixes #1902126 [XML catalog misses languages element](https://bugs.launchpad.net/calibre/+bug/1902126 )
2020-11-02 10:17:56 +05:30
Kovid Goyal
49e70ff532
Speed up annotations_count_for_book
...
No need to use a transaction for a single readonly operation
2020-11-02 09:22:33 +05:30
Kovid Goyal
3e53b5129b
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #1902313 [Enhancement Request: Option to mark all books with annotations/bookmarks](https://bugs.launchpad.net/calibre/+bug/1902313 )
2020-11-02 09:09:17 +05:30
Kovid Goyal
8a99064099
Merge branch 'remove-plistlib-data' of https://github.com/sgn/calibre
2020-11-02 08:24:05 +05:30
Đoàn Trần Công Danh
238680060c
polyglot: don't try to import plistlib.Data
...
plistlib.Data is deprecated from Python 3.4 and fully removed in Python
3.9.
Skimming over the code, it's look like nothing uses this data structure.
Let's remove it.
2020-11-02 07:17:07 +07:00
Charles Haley
01b8547872
Bug #1902313 : Option to mark all books with annotations/bookmarks
...
Provided a formatter function annotation_count() that returns the number of annotations for a book
2020-11-01 23:13:48 +00:00
Kovid Goyal
3278603c6b
String changes
2020-11-01 21:26:22 +05:30
Kovid Goyal
dd2519fdd0
Merge branch 'master' of https://github.com/cbhaley/calibre
2020-11-01 20:53:38 +05:30
Charles Haley
8561e39c8c
Re-enable the edit keys in the tag browser.
...
If required (in a VL) add a question dialog about applying the rename in the entire or virtual library.
2020-11-01 15:09:42 +00:00
Kovid Goyal
b4bba774f2
...
2020-11-01 20:21:51 +05:30
Kovid Goyal
c0331bdd1b
Fix website link localization not working thanks to py3
2020-11-01 20:18:25 +05:30
Kovid Goyal
a535f99d66
Cleanup text a bit
2020-11-01 19:21:18 +05:30
Kovid Goyal
a42fefed75
Merge branch 'master' of https://github.com/cbhaley/calibre
...
Fixes #1901249 [Edit Metadata: Minor alignment issues with ellide tweak](https://bugs.launchpad.net/calibre/+bug/1901249 )
Fixes #1901435 [Capitalized tags in the Category editor is not saved](https://bugs.launchpad.net/calibre/+bug/1901435 )
Fixes #1901456 [Slight text error in Column Icon rules](https://bugs.launchpad.net/calibre/+bug/1901456 )
2020-11-01 19:20:04 +05:30
Charles Haley
5aaabbf106
Remove the tag browser focus colors.
2020-11-01 13:37:05 +00:00
Kovid Goyal
129ca06b2b
Fix #1902416 [Private bug]( https://bugs.launchpad.net/calibre/+bug/1902416 )
2020-11-01 15:25:31 +05:30
Kovid Goyal
9789484a06
string changes
2020-11-01 13:18:16 +05:30
Kovid Goyal
691a281b75
...
2020-11-01 12:25:57 +05:30
Kovid Goyal
b0da277718
Code cleanups
2020-11-01 08:59:54 +05:30
Kovid Goyal
7f5072665d
Better error message when failing to launch portable exe
2020-11-01 08:22:18 +05:30