43434 Commits

Author SHA1 Message Date
Kovid Goyal
ac68f4550c
Conversion: When specifying a line-height dont apply it to the <html> tag, as it is pointless and causes the execrable epubcheck to complain. Fixes #1922570 [EPub from ebook-convert is accepted by Amazon KDP, but not Google Play](https://bugs.launchpad.net/calibre/+bug/1922570) 2021-04-06 09:36:31 +05:30
Kovid Goyal
f6e55966f5
E-book viewer: Improve scrolling behavior when extending the selection using keyboard shortcuts 2021-04-06 09:32:25 +05:30
Kovid Goyal
0219746e92
Preferences->Tweaks: Allow specifying that calibre should open the book details window when double clicking on a book
Fixes #1922591 [Enhancement Request: Additional option for doubleclick_on_library_view](https://bugs.launchpad.net/calibre/+bug/1922591)
2021-04-06 09:05:53 +05:30
Kovid Goyal
f009b8c64b
... 2021-04-06 08:05:18 +05:30
Charles Haley
2086358ec0 Fix error message. 2021-04-05 19:41:33 +01:00
Kovid Goyal
09f3dd67b0
Use repr when reporting htmlfile names as they can have ansi control codes 2021-04-05 22:18:40 +05:30
Kovid Goyal
a031f07214
CHM Input: Fix a regression in calibre 5.0 that broke opening of some files that dont specify a character encoding. Fixes #1922503 [E-book viewer: error opening a *.chm file](https://bugs.launchpad.net/calibre/+bug/1922503)
py3 compat
2021-04-05 22:09:46 +05:30
Charles Haley
994e8827cd Fix regression in calling stored templates from TPM templates 2021-04-05 17:01:39 +01:00
Kovid Goyal
30f6fc5262
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1922526 [Template editor: Toggle word-wrap](https://bugs.launchpad.net/calibre/+bug/1922526)
2021-04-05 18:23:22 +05:30
Charles Haley
9651cd07e3 Enhancement #1922526: Template editor: Toggle word-wrap.
Also fixed a few other problems such as the placeholder text being hidden by the line highlight.
2021-04-05 12:46:48 +01:00
Kovid Goyal
2ff60e1bc7
Fix #1775991 [Update the Quick Start Guide in Swedish](https://bugs.launchpad.net/calibre/+bug/1775991) 2021-04-05 08:25:15 +05:30
Kovid Goyal
71813158ee
Fix #1922502 [E-book and LRF viewer's .desktop files with incorrect category](https://bugs.launchpad.net/calibre/+bug/1922502) 2021-04-05 07:57:04 +05:30
Kovid Goyal
531cb6cb62
E-book viewer: Fix read percent for HTML files that are rendered in a single screen being 0% rather than 100% 2021-04-04 18:03:35 +05:30
Kovid Goyal
08f79d86a3
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-04 17:16:16 +05:30
Charles Haley
5b9428d4b1 Fix the color for separators wrong in dark mode. 2021-04-04 12:02:24 +01:00
Kovid Goyal
aa57c4f8cf
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-04 15:46:11 +05:30
Charles Haley
85db0feaf1 1) Make the 'Separator' class more general by moving it to widgets2 and making it usable in .ui files.
2) Change the template tester to use FlowLayout.
2021-04-04 10:39:10 +01:00
Charles Haley
5d0289606d Allow advanced emblem rules to return multiple icon names using the same syntax as icon rules. 2021-04-04 10:34:03 +01:00
Kovid Goyal
4c928a6c30
LONG_TAP_THRESHOLD was never used since the timer to check for it was using HOLD_THRESHOLD so just use HOLD_THRESHOLD 2021-04-04 10:15:19 +05:30
Kovid Goyal
7b6f46df17
Add FBZ to the default list of internall viewed formats
Fixes #1922450 [Viewer fails to open FBZ files](https://bugs.launchpad.net/calibre/+bug/1922450)
2021-04-04 09:43:35 +05:30
Kovid Goyal
2c408254cd
... 2021-04-03 22:36:12 +05:30
Kovid Goyal
653c8c17de
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1922300 [Tag browser: Blank search doesn't clear filters](https://bugs.launchpad.net/calibre/+bug/1922300)
2021-04-03 20:53:23 +05:30
Charles Haley
5e62715fa8 Bug #1922300: Tag browser: Blank search doesn't clear filters 2021-04-03 16:17:59 +01:00
Kovid Goyal
b4b2108546
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1922405 [Make the Create/edit a column icon rule window narrower](https://bugs.launchpad.net/calibre/+bug/1922405)
2021-04-03 18:28:13 +05:30
Charles Haley
940e8cd89e Use real toolbuttons instead of the funky styles pushbuttons. 2021-04-03 13:41:23 +01:00
Charles Haley
c374a33e0c Enhancement #1922405: Make the Create/edit a column icon rule window narrower.
Implemented with FlowLayout.
2021-04-03 13:40:43 +01:00
Kovid Goyal
578aa4617f
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-04-03 14:26:00 +05:30
Charles Haley
7a04279803 Template tester changes:
1) Add button to set breakpoints on every line
2) Make using Tab and Shift-Tab do indenting
2021-04-03 09:47:19 +01:00
Kovid Goyal
efa95ceb0b
string changes 2021-04-03 06:10:58 +05:30
Kovid Goyal
1b03cd029a
EPUB2 metadata: Read ISBNs in identifier elements without schemes if they are valid ISBNs and no properly identified isbns are present 2021-04-02 20:26:52 +05:30
Kovid Goyal
9562e85768
Add webp to mime database 2021-04-02 16:42:51 +05:30
Kovid Goyal
20d53b1081
Allow editing webp images in the editor 2021-04-02 16:38:18 +05:30
Kovid Goyal
555b629e17
Dont put the code to convert webp in the base module 2021-04-02 16:32:29 +05:30
Kovid Goyal
2d68fbabb0
MOBI Output: Convert WebP images to PNG so they work with Amazon's software. Fixes #1922341 [epub image (WebP format) couldn't get into the mobi format](https://bugs.launchpad.net/calibre/+bug/1922341) 2021-04-02 16:29:06 +05:30
Kovid Goyal
d1c22611b3
DOCX Input: When converting embedded fonts, replace spaces in the filename with underscores to keep the execrable epubcheck happy. Fixes #1921793 [Conversion Problem: Embedded OpenType TT fonts in DOCX files](https://bugs.launchpad.net/calibre/+bug/1921793) 2021-04-02 13:55:48 +05:30
Kovid Goyal
d8649c6fed
When exporting highlights as text or markdown also output top level chapter titles 2021-04-02 13:38:19 +05:30
Kovid Goyal
da6c7c6c3c
Update The Straits Times 2021-04-02 13:09:46 +05:30
Kovid Goyal
aabe59dd54
Fix #1922301 [Epub viewer selection error](https://bugs.launchpad.net/calibre/+bug/1922301) 2021-04-02 12:30:40 +05:30
Kovid Goyal
00b596afb2
Fix language/isbn/publisher/pubdate not being downloaded form amazon because of website changes 2021-04-02 11:19:44 +05:30
Kovid Goyal
3446f3b5d3
Fix getting search results from google broken because of markup changes 2021-04-02 10:43:33 +05:30
Kovid Goyal
4b0745052d
Another markup format for series info on amazon.com pages 2021-04-02 10:20:29 +05:30
Kovid Goyal
eb56bc531b
Update Amazon metadata plugin for changes to amazon.co.jp
Fixes #1922309 [Japanese amazon encoding issue](https://bugs.launchpad.net/calibre/+bug/1922309)
2021-04-02 10:08:13 +05:30
Kovid Goyal
151bc8eca0
Fix #1922304 [[Enhancement] Colons missing in the Cover generation settings screen](https://bugs.launchpad.net/calibre/+bug/1922304) 2021-04-02 10:06:25 +05:30
Kovid Goyal
7b21abcfe9
... 2021-04-01 07:53:15 +05:30
Kovid Goyal
5f8239fa78
Merge branch 'master' of https://github.com/cbhaley/calibre
Fix #1922131 [Advanced rules editor fails after new library with structure](https://bugs.launchpad.net/calibre/+bug/1922131)
2021-04-01 07:44:37 +05:30
Charles Haley
aaf7ed6a25 Bug #1922131: Advanced rules editor fails after new library with structure 2021-03-31 22:03:15 +01:00
Kovid Goyal
e427437f89
... 2021-03-31 22:33:37 +05:30
Kovid Goyal
541178ade0
string changes 2021-03-31 21:47:57 +05:30
Kovid Goyal
76364ec4c6
E-book viewer: Selection bar: Add keyboard shortcuts for all buttons. Hover over a button in the bar to see the shortcut. 2021-03-30 22:36:28 +05:30
Kovid Goyal
098885a465
pep8 2021-03-30 18:22:53 +05:30