45287 Commits

Author SHA1 Message Date
Kovid Goyal
94920612a6
E-book viewer: Fix creating multiple highlights in a single paragraph that also contains some extra text formatting at the start causing the second and subsequent highlights to malfunction. Fixes #1940005 [Arbitrarliy lost/moved/expanded highlights on refresh.](https://bugs.launchpad.net/calibre/+bug/1940005) 2021-08-17 20:49:01 +05:30
Kovid Goyal
3843f661de
Library model: Dont raise exceptions on invalid QModelIndexes 2021-08-16 06:45:38 +05:30
Kovid Goyal
05dba1cad5
Better error message when webengine fails to run 2021-08-15 07:59:52 +05:30
Kovid Goyal
ceaf585cfe
Fix #1939912 [In 5.25, "Remove unused CSS" tool options do not do what they say they do anymore](https://bugs.launchpad.net/calibre/+bug/1939912) 2021-08-13 23:51:08 +05:30
Kovid Goyal
bb71434797
News download: Remove all link and meta tags
These can have various ill effects
2021-08-13 20:44:08 +05:30
Kovid Goyal
72bfb00300
DRYer 2021-08-13 10:35:30 +05:30
Kovid Goyal
a0041b8dce
version 5.25.0 v5.25.0 2021-08-13 09:42:17 +05:30
Kovid Goyal
42b04ddeeb
Update The Atlantic 2021-08-12 14:45:46 +05:30
Kovid Goyal
d7d329554b
News system: Make handling of data urls in img tags more robust 2021-08-12 13:18:32 +05:30
Kovid Goyal
f16d7fb89f
Fix #1939538 [Single metadata edit dialog always chages the tags even if not modified](https://bugs.launchpad.net/calibre/+bug/1939538) 2021-08-12 12:12:30 +05:30
Kovid Goyal
e2c9a16829
Viewer: Add some CSS variables and classes that allow writing calibre specific CSS in ebooks 2021-08-12 08:36:42 +05:30
Kovid Goyal
2644d1f4ec
Edit/Polish book: Remove unused CSS now also removes unreferenced stylesheets. Fixes #1939469 [Remove unused CSS leaves unreferenced stylesheets intact](https://bugs.launchpad.net/calibre/+bug/1939469) 2021-08-11 10:09:13 +05:30
Kovid Goyal
e2a088a53b
Fix db events not being sent after changing library in GUI 2021-08-10 23:13:40 +05:30
Kovid Goyal
41c4b96c33
Fix event delivery 2021-08-10 18:47:11 +05:30
Kovid Goyal
b5ae66ee06
Added a book_edited event 2021-08-10 16:49:23 +05:30
Kovid Goyal
9b33a033bf
Fix error when starting listening for events 2021-08-10 16:43:55 +05:30
Kovid Goyal
49db6b5881
oops 2021-08-10 12:41:29 +05:30
Kovid Goyal
5e0902685a
... 2021-08-10 12:33:27 +05:30
Kovid Goyal
3f64519587
Add a signal plugins can connect to to be notified of db events 2021-08-10 12:30:26 +05:30
Kovid Goyal
d3681ca528
Also add the library id when dispatching events 2021-08-10 12:09:14 +05:30
Kovid Goyal
559d467556
A framework for listening to change events from the database
Fixes #1937898 [[Enhancement request] pyqt signlas in calibre source](https://bugs.launchpad.net/calibre/+bug/1937898)
2021-08-10 11:09:38 +05:30
Kovid Goyal
c91be6ed11
E-book viewer: When displaying popup footnotes use the same writing direction as the main text for the footnote popups size and header. Fixes #1938448 [epub footnote popup not good for vertical writing mode](https://bugs.launchpad.net/calibre/+bug/1938448) 2021-08-09 21:22:13 +05:30
Kovid Goyal
e208909664
Edit metadata dialog: When pasting into the identifiers field if the clipboard contains a URL paste it directly as a URL identifier. Fixes #1938752 [Pasting url identifiers results in Invalid ISBN dialog](https://bugs.launchpad.net/calibre/+bug/1938752) 2021-08-09 11:56:45 +05:30
Kovid Goyal
eb91289242
Fix #1938789 [[Enhancement] String not translatable in the Convert window](https://bugs.launchpad.net/calibre/+bug/1938789) 2021-08-09 11:34:41 +05:30
Kovid Goyal
6b230cb350
E-book viewer: Improve the text layout when looking up words in Google 2021-08-09 09:47:28 +05:30
Kovid Goyal
eb75caca48
Fix read aloud not working on mobile browsers
Chrome now has a ridiculously small limit on utterance sizes. Capping it
at 2K seems to work, though of course the whole thing is pointless since
speech gets interrupted when the phone screen turns off due to
inactivity.
2021-08-05 11:07:02 +05:30
Kovid Goyal
911e2b22e9
Dont use ssml as firefox reads the markup aloud 2021-08-05 10:33:53 +05:30
Kovid Goyal
211c182462
DRYer 2021-08-04 22:53:20 +05:30
Kovid Goyal
d12f41a4a9
Make length limitation a bit more robust when creating utterances for browser speech engines 2021-08-04 22:49:11 +05:30
Kovid Goyal
fe9f96b89a
Update The Guardian and The Observer 2021-08-04 12:10:57 +05:30
Kovid Goyal
3b77377b54
Add a signal to track enter key presses used by the action chains plugin 2021-08-02 20:50:45 +05:30
Kovid Goyal
3cb3668ea8
Merge branch 'minor-fixing' of https://github.com/slowy07/calibre 2021-08-02 07:45:40 +05:30
slowy07
125a5083a3 fix: fixing typo grammar 2021-08-02 07:54:49 +07:00
Kovid Goyal
c3848a989d
WSJ recipe: make it more robust against bot protection
Mostly only required for the free version, with the login
bot protection doesnt kick in.
2021-08-01 10:48:36 +05:30
Kovid Goyal
2ec75e07cf
Recipe system: default to allowing gzip based transfers 2021-08-01 10:21:48 +05:30
Kovid Goyal
73792eeae4
Fix set_handle_gzip not working with modern mechanize 2021-08-01 10:20:22 +05:30
Kovid Goyal
4db5335471
Add the Whats news articles to WSJ 2021-07-31 21:19:11 +05:30
Kovid Goyal
f3197df38f
Fix #1938610 [news downloads fail](https://bugs.launchpad.net/calibre/+bug/1938610) 2021-07-31 18:22:48 +05:30
Kovid Goyal
d35713e516
... 2021-07-30 11:22:39 +05:30
Kovid Goyal
39e0c04a9f
Metadata diff dialog: Allow pressing alt+shift+right to trigger the reject button 2021-07-30 09:17:42 +05:30
Kovid Goyal
a0d6206ab6
version 5.24.0 v5.24.0 2021-07-30 07:45:14 +05:30
Kovid Goyal
2cce7e2eca
Fix #1938465 [[Enhancement] Change tooltip of calibre Windows icon](https://bugs.launchpad.net/calibre/+bug/1938465) 2021-07-30 07:36:42 +05:30
Kovid Goyal
b6236975ec
Update MSNBC 2021-07-28 22:13:56 +05:30
Kovid Goyal
8b0ae7bde2
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-07-28 20:13:27 +05:30
Charles Haley
8a93c22879 Remove the test that checks if #series_index is 1.0 when the series doesn't exist. 2021-07-28 14:54:51 +01:00
Charles Haley
9ae0c1df95 Fix custom series indicies being preserved when a custom series is cleared, making the column sort correctly. The problem is that the series index is still in the table cache for a book after the series is removed.
See https://www.mobileread.com/forums/showthread.php?p=4142361#post4142361

I freely confess that this might not be the best fix. :)
2021-07-28 12:32:04 +01:00
Kovid Goyal
480f1e5b48
Fix restarting not working on windows when using calibre-debug.exe -g 2021-07-28 16:08:20 +05:30
Kovid Goyal
96d5d5a764
Fix #1938213 [recipe no longer works for downloading the free version of the Wall Street Journal](https://bugs.launchpad.net/calibre/+bug/1938213) 2021-07-28 08:49:59 +05:30
Kovid Goyal
a81967e742
Ask for confirmation if user requests to edit toc of more than 5 books at once 2021-07-28 07:43:12 +05:30
Kovid Goyal
c3aed85cbf
fetch-ebook-metadata: Fix an error when using the --cover option and no cover is found. Fixes #1938189 [fetch-ebook-metadata sometimes fails with -c switch](https://bugs.launchpad.net/calibre/+bug/1938189) 2021-07-27 21:35:25 +05:30