44614 Commits

Author SHA1 Message Date
Kovid Goyal
e9eeea67ae
Fix images missing in Foreign Affairs 2021-09-02 12:40:20 +05:30
Kovid Goyal
282477bcfa
When adding markdown (.md) or textile (.textile) files that contain references to images, automatically add them as txtz with the images 2021-08-31 20:56:44 +05:30
Kovid Goyal
1a54a69098
When auto converting added TXT files with image references to TXTZ use a full markdown parser to detect markdown images
Fixes a DoS caused by an inefficient regex for detecting markdown's crazy inline image syntax.
Reference: GHSL-2021-112
2021-08-31 20:22:13 +05:30
Kovid Goyal
01b302d70f
Fix #1942155 [Fatch new Foreign Affairs Fail Version 5.26](https://bugs.launchpad.net/calibre/+bug/1942155) 2021-08-31 09:24:22 +05:30
Kovid Goyal
a0fc2f200f
... 2021-08-31 09:08:01 +05:30
Kovid Goyal
c6b037301d
Windows: Fix drag and drop from winzip not working. Fixes #1942129 [Trying to drag and drop a file from winrar](https://bugs.launchpad.net/calibre/+bug/1942129) 2021-08-31 09:06:41 +05:30
Kovid Goyal
f77c06cba3
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1941969 [Rules editor: Adding a new rule when a current one is selected](https://bugs.launchpad.net/calibre/+bug/1941969)
2021-08-29 21:32:05 +05:30
Charles Haley
dc5360eda4 Enhancement #1941969: If a rule us selected then insert new rules above selected rule 2021-08-29 16:56:24 +01:00
Kovid Goyal
9b46b4ab76
TXT Output: Fix max line length option not working
py3 regression.

Fixes #1941992 [TXT Output crashes when --max-line-length option is set](https://bugs.launchpad.net/calibre/+bug/1941992)
2021-08-29 19:06:46 +05:30
Kovid Goyal
803c3826fd
News download: Fix percent escaping of URLs with spaces in them not working if the URL contains non-ascii characters 2021-08-29 13:21:46 +05:30
Kovid Goyal
289e81c2de
... 2021-08-28 13:47:51 +05:30
Kovid Goyal
48aff199c5
Make the selection color a bit darker in the dark theme 2021-08-27 12:15:11 +05:30
Kovid Goyal
ddf4e7ca68
Fix a couple of compiler warnings v5.26.0 2021-08-27 07:37:33 +05:30
Kovid Goyal
547df82cff
version 5.26.0 2021-08-27 07:35:09 +05:30
Kovid Goyal
7697daf2ce
Fix #1941693 [Remove style button text is not in the middle](https://bugs.launchpad.net/calibre/+bug/1941693) 2021-08-26 13:14:44 +05:30
Kovid Goyal
a62286ad4a
Dark color scheme: Use a darker blue for highlighted items
Makes it a bit easier on the eyes and allows links to be visible against
the highlighted color. Fixes #1941013 [[Enhancement] Link Colour in Long Text columns](https://bugs.launchpad.net/calibre/+bug/1941013)
2021-08-25 08:36:59 +05:30
Kovid Goyal
06028db9af
NYTimes Cooking by gourav 2021-08-21 08:41:50 +05:30
Kovid Goyal
b814eae1fd
Content server book viewer: Show a message when a search finds no matches 2021-08-20 20:18:09 +05:30
Kovid Goyal
4382ae8cbe
Merge branch 'patch-1' of https://github.com/n194/calibre 2021-08-20 19:55:51 +05:30
n
9523c4ce1c
Better cover image for Foreign Affairs recipe 2021-08-20 23:09:50 +09:00
Kovid Goyal
637b561aa2
... 2021-08-20 17:36:33 +05:30
Kovid Goyal
e4d00335b4
Bump bundled Pillow version 2021-08-20 11:45:33 +05:30
Kovid Goyal
9e2a7fca94
MOBI Output: Fix JPEG images without any JFIF metadata not being rendered on the Kindle 2021-08-20 11:36:46 +05:30
Kovid Goyal
30c411acd1
Comic input: Fix single color images having their colors changed by normalization. Fixes #1939908 [Normalize on CBZ conversion changes white pages to black pages](https://bugs.launchpad.net/calibre/+bug/1939908) 2021-08-20 07:14:49 +05:30
Kovid Goyal
9ac68112b1
Use padding rather than margins for highlights/bookmarks panels
At least in the case of highlights without this change, the bottom
padding was not visible when the panel is smaller than a full screen
2021-08-20 06:47:50 +05:30
Kovid Goyal
31569649a1
Update Boston Globe 2021-08-19 20:18:22 +05:30
Kovid Goyal
6104475f5d
string changes 2021-08-19 16:58:59 +05:30
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