44562 Commits

Author SHA1 Message Date
Kovid Goyal
b9cd42edaa
Standalone ToC editor: Fix spurious error message if left open for more than two minutes 2022-03-21 12:30:34 +05:30
Kovid Goyal
c81e84687d
version 5.39.1 v5.39.1 2022-03-20 10:03:51 +05:30
Kovid Goyal
cfebe99209
Seminar Magazine by unkn0wn 2022-03-20 09:51:30 +05:30
Kovid Goyal
20ce4011ea
Merge branch 'master' of https://github.com/cbhaley/calibre 2022-03-20 09:49:55 +05:30
Charles Haley
bcfbe8e003 Fix regression documented in " Columns won't keep size in 5.39" (https://www.mobileread.com/forums/showthread.php?t=345781) 2022-03-19 16:50:15 +00:00
Kovid Goyal
3515195d32
Frontline by unkn0wn 2022-03-19 08:21:44 +05:30
Kovid Goyal
a74e172940
Bulk metadata edit dialog: Fix a regression that broke changing case 2022-03-18 16:52:19 +05:30
Kovid Goyal
4225ab51a5
TXT Input: Speed up removal of leading whitespace. Fixes #1965443 ["Remove indents at beginning of lines" sometimes greatly slow down conversion](https://bugs.launchpad.net/calibre/+bug/1965443) 2022-03-18 10:55:41 +05:30
Kovid Goyal
3627a442be
... 2022-03-18 10:51:11 +05:30
Kovid Goyal
7ce6e3ef0b
version 5.39.0 v5.39.0 2022-03-18 08:17:21 +05:30
Kovid Goyal
b966579e88
Pre-import calibre.utils.img when building manual as otherwise importing it can fail 2022-03-17 19:22:29 +05:30
Kovid Goyal
49e45e052e
Optimize prefix insertion 2022-03-17 19:13:46 +05:30
Kovid Goyal
3f8c675690
Catalog generation: Fix a rare crash when generating very large catalogs. Fixes #1965182 [cannot create epub nor mobi catalog](https://bugs.launchpad.net/calibre/+bug/1965182) 2022-03-17 18:52:33 +05:30
Kovid Goyal
bc44f19504
More delay loading of Qt 2022-03-17 18:31:33 +05:30
Kovid Goyal
1163242fa6
Dont load Qt in db.backend until needed 2022-03-17 18:27:26 +05:30
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