45197 Commits

Author SHA1 Message Date
Kovid Goyal
f72ecb6a0e
Fix automatic searches causing search box to lose focus when search as you type is enabled in Preferences->Searching. Fixes #1963868 [Focus stolen from search bar after several seconds leads to misclicks](https://bugs.launchpad.net/calibre/+bug/1963868) 2022-03-16 21:48:59 +05:30
Kovid Goyal
6cfeec7245
Viewer: Fix ESC key not working reliably in preference panels
Fixes #1964505 [[Enhancement - Content server] Pressing ESC to close Preferences page and subpages](https://bugs.launchpad.net/calibre/+bug/1964505)
2022-03-16 15:21:54 +05:30
Kovid Goyal
852b9d8cd2
Edit book: Check book: Auto fix package identifier being empty. Fixes #1963748 [Add automatic solution for empty dc:identifier](https://bugs.launchpad.net/calibre/+bug/1963748) 2022-03-16 12:15:59 +05:30
Kovid Goyal
9ab58a73c6
Use a stylesheet instead of sapcing works better with wordwrap 2022-03-16 11:10:00 +05:30
Kovid Goyal
97e96ddaf9
Spacing causes weird blank areas when combined with wordwrap so dont use it 2022-03-16 10:55:28 +05:30
Kovid Goyal
a509c9cb38
Fix #1963699 [Inconsistent initial display of Tweaks dialog](https://bugs.launchpad.net/calibre/+bug/1963699) 2022-03-16 10:50:11 +05:30
Kovid Goyal
47a24ae092
Edit metadata dialog: When using the change case operations if some text is selected, only operate on the selected text. Fixes #1963822 [change case doesn't care about selection](https://bugs.launchpad.net/calibre/+bug/1963822) 2022-03-16 10:39:27 +05:30
Kovid Goyal
51f5dcb678
Allow usage of webengine in main calibre process 2022-03-16 06:57:30 +05:30
Kovid Goyal
5fe9010e74
... 2022-03-14 20:11:35 +05:30
Kovid Goyal
f8f971d208
Content server: Fix reading of books with thousands of internal files not working in the Chrome browser. Fixes #1964742 [Error when opening EPUB file which contains many chapters via Web Interface](https://bugs.launchpad.net/calibre/+bug/1964742)
Apparently chrome's network stack is too dumb to queue multiple ajax
requests so do it in our code.
2022-03-14 20:09:05 +05:30
Kovid Goyal
b2950eaeee
Swarajya Magazine by unkn0wn 2022-03-14 10:34:05 +05:30
Kovid Goyal
4a5e505ccf
Edit book: Insert hyperlinks: When sorting anchors on elements without any text content, use the anchor itself 2022-03-13 20:18:52 +05:30
Kovid Goyal
7b64f8a396
Update India Legal Magazine 2022-03-13 20:07:00 +05:30
Kovid Goyal
91697b777a
Edit book: Make the saved search panel freely resizable 2022-03-13 07:21:33 +05:30
Kovid Goyal
8d8ee82288
Edit book: When dragging to select a region or adjust the selection fix mouse moving outside the image causing the region to no longer be adjusted 2022-03-13 06:57:50 +05:30
Kovid Goyal
f1002b15ef
Update The Smithsonian 2022-03-12 09:52:01 +05:30
Kovid Goyal
78333c8683
Update The Federalist 2022-03-12 08:43:53 +05:30
Kovid Goyal
5989f3cef7
... 2022-03-12 08:37:37 +05:30
Kovid Goyal
0d775490b0
Ignore corrupted reading rates json file 2022-03-11 12:25:18 +05:30
Kovid Goyal
15d40ce3c1
use default umask as temp value 2022-03-09 11:11:11 +05:30
Kovid Goyal
7acaee07d0
Create config files with permissions based on umask rather than the hardcoded ones created by python's tempfile module 2022-03-09 11:10:05 +05:30
Kovid Goyal
65219abb3d
Use a prefix for the atomic write tempfile 2022-03-09 10:42:46 +05:30
Kovid Goyal
3e97ae74d6
Only retry for specific error codes 2022-03-09 08:40:36 +05:30
Kovid Goyal
29482963b7
config_base cant depend on utils.filenames 2022-03-09 08:20:30 +05:30
Kovid Goyal
c1a06e9c37
oops 2022-03-09 08:08:21 +05:30
Kovid Goyal
0012b7cd64
Delete temp file used for atomic writes even if renaming fails 2022-03-09 07:54:44 +05:30
Kovid Goyal
007099dd60
Use atomic writes for the config files
Avoids the need for file locking and also ensures no partial data is
written in case of crash/powerloss. Fixes #1964123 [Settings reset in main calibre program when pc turns off due to power failure](https://bugs.launchpad.net/calibre/+bug/1964123)
2022-03-09 07:51:54 +05:30
Kovid Goyal
15ded1182f
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-03-08 17:48:50 +05:30
Charles Haley
9270e9b948 Fix a performance problem exposed when using the view manager plugin. The method apply_state() indirectly does a save_state() whenever a column is repositioned. The view manager can reposition a lot of columns in one go, potentially resulting in *many* calls to save_state(). The fix is to call save_state() once after all the columns have been repositions.
A second piece of the fix is to add a save_state=True parameter to apply_state(). The caller would set save_state=False if it will call save_state() directly.

See https://www.mobileread.com/forums/showthread.php?t=345554. The thread is rather long.
2022-03-08 12:09:34 +00:00
Kovid Goyal
240aee0ee5
Use the gesture manager for touch support in the viewer panels
Harmonizes with the book list and is superior to plain QScroller
2022-03-08 15:22:46 +05:30
Kovid Goyal
5277bad302
Use Qt to detect touchscreen support 2022-03-08 15:02:38 +05:30
Kovid Goyal
3aed3daaa2
... 2022-03-08 11:35:50 +05:30
Kovid Goyal
cbbac1be62
Update The Federalist 2022-03-08 07:41:14 +05:30
Kovid Goyal
7080d8914b
Open Magazine by unkn0wn 2022-03-08 07:21:14 +05:30
Kovid Goyal
9a73323fa3
E-book viewer: Allow scrolling of the ToC, highlights, bookmarks, etc. with touch gestures. Fixes #1963875 [Make the Viewer TOC touch friendly](https://bugs.launchpad.net/calibre/+bug/1963875) 2022-03-07 21:15:11 +05:30
Kovid Goyal
894f7d547a
Add books dialog: Exclude zip and rar files from the default list of books types. These are rarely single books these days. And they can still be selected using the archives option. Fixes #1602 (Allows you to default to exclude some file types when adding books) 2022-03-07 21:01:38 +05:30
Kovid Goyal
528efd3d88
Amazon metadata download: Fix getting series info from amazon.jp. Fixes #1963856 [[PATCH] AmzonJP FIX to get series and black curtain tag](https://bugs.launchpad.net/calibre/+bug/1963856) 2022-03-07 11:09:19 +05:30
Kovid Goyal
dd8a8af383
Edit/Polish book: Fix hardcoded Unicode ligatures not being preserved in AZW3 format books 2022-03-07 07:12:49 +05:30
Kovid Goyal
e467468783
Workaround for bug in Qt causing a crash on unhandled exception in current_changed 2022-03-06 15:21:35 +05:30
Kovid Goyal
7e645a0e30
... 2022-03-04 07:26:44 +05:30
Kovid Goyal
e21623b8c1
version 5.38.0 v5.38.0 2022-03-04 06:31:24 +05:30
Kovid Goyal
8fa9a5bd8f
pep8 2022-03-03 20:38:56 +05:30
Kovid Goyal
6e054fd1b0
Also implement remembering reading rate for in browser viewer 2022-03-03 20:25:49 +05:30
Kovid Goyal
f043ceff0c
calculate time left immediately on load if historical rates are available 2022-03-03 20:12:21 +05:30
Kovid Goyal
439da2712a
E-book viewer: When displaying estimated time to completion for reading a book, remember the reading rate the next time the book is opened so that the period spent calculating the time remaining is reduced. Fixes #1852929 [Time to read book is not saved](https://bugs.launchpad.net/calibre/+bug/1852929) 2022-03-03 20:09:51 +05:30
Kovid Goyal
b2c8f6f8ee
PDF Output: Fix conversion failing if there are ToC entries pointing to removed content. Fixes #1960554 [Private bug](https://bugs.launchpad.net/calibre/+bug/1960554) 2022-03-03 15:33:33 +05:30
Kovid Goyal
a772d45227
Copy to library: Fix annotations not being copied. Fixes #1962365 [Highlights missing when copying to another library](https://bugs.launchpad.net/calibre/+bug/1962365) 2022-03-03 14:26:16 +05:30
Kovid Goyal
aec6b7c174
Use the new transifex client, which is dog-slow and not API compatible with the old one
Le Sigh.
https://github.com/transifex/cli/issues/5
2022-03-03 12:23:03 +05:30
Kovid Goyal
66f427eef4
Fix #1961465 [[Enhancement - Content server] ESC to close the Search for books page](https://bugs.launchpad.net/calibre/+bug/1961465) 2022-03-02 19:08:16 +05:30
Kovid Goyal
4ebed6bbc1
E-book viewer: Fix an error when opening books with MathML for the second time if the last read position was at a MathML element. Fixes #1961775 [Private bug](https://bugs.launchpad.net/calibre/+bug/1961775) 2022-03-02 16:40:08 +05:30