44282 Commits

Author SHA1 Message Date
Kovid Goyal
05352b0233
pep8 2021-11-28 20:21:30 +05:30
Kovid Goyal
8834991546
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-11-28 20:20:27 +05:30
Charles Haley
0c3849411b Add the ability to customise the toolbar library icon and window title icons on a per-library basis. 2021-11-28 11:41:23 +00:00
Kovid Goyal
2ac4c1c24e
Merge branch 'StoreWHSmithUKStore' of https://github.com/ChristopherHackett/calibre 2021-11-26 08:09:15 +05:30
Christopher Hackett
2482845430 Stores: Remove WH Smith UK
Searches return 0 results.
On inspection eBooks no longer appear to be sold by WH Smith.

Instead product pages for books on WH Smith contain text such as
"Also available on eBook for £xx.xx. Click here to purchase from Rakuten Kobo"
with a deep link to the relevant kobo.com product page.

Additionally the landing page of Kobo on WH Smith also just links to Kobo.com.

As such it seems wise to delist this store.
2021-11-25 17:48:37 +00:00
Kovid Goyal
0a18e51a32
Dont do qt6 transition when rebase in progress 2021-11-25 13:53:10 +05:30
Kovid Goyal
cee59dbf18
Fix #1950896 [No warning when deleting Saved search in Tag browser](https://bugs.launchpad.net/calibre/+bug/1950896) 2021-11-25 11:53:39 +05:30
Kovid Goyal
f0cdd690ea
Fix #1950899 [Renaming Saved seach to the same name displays a warning](https://bugs.launchpad.net/calibre/+bug/1950899) 2021-11-25 11:45:46 +05:30
Kovid Goyal
c45ef9be71
String changes 2021-11-25 10:45:19 +05:30
Kovid Goyal
e8a7bd2167
Get books: Update the Kobo plugin for website changes
Fixes #1952142 [Get Books times out connecting to Kobo](https://bugs.launchpad.net/calibre/+bug/1952142)
2021-11-25 10:04:27 +05:30
Kovid Goyal
c904e934e1
Use a safer bypy artifact transition scheme 2021-11-24 13:45:39 +05:30
Kovid Goyal
c996912602
Only rebuild when transitioning between master and qt6 2021-11-24 13:35:46 +05:30
Kovid Goyal
58b35b8923
Fix #1952034 [[Enhancement] Add a download icon to the Download metadata button in the Edit metadata window](https://bugs.launchpad.net/calibre/+bug/1952034) 2021-11-24 13:16:13 +05:30
Kovid Goyal
a613277837
Remove mention of Calibre Companion from the FAQ
It is no longer maintained or supported. Also mention OPDS support.
Fixes #1946564 [Web user-manual Android page update](https://bugs.launchpad.net/calibre/+bug/1946564)
2021-11-24 11:42:38 +05:30
Kovid Goyal
5adfacad4b
Fix #1950760 [[Enhancement] Move the Restore defaults button to the left of the Preferences window](https://bugs.launchpad.net/calibre/+bug/1950760) 2021-11-24 11:09:07 +05:30
Kovid Goyal
24a546be7b
Fix #1951637 [[Enhancement] Icon for Restore defaults button missing in Convert book window](https://bugs.launchpad.net/calibre/+bug/1951637) 2021-11-24 10:48:16 +05:30
Kovid Goyal
6209e84ba6
use a summary for post rebase form generation 2021-11-24 10:41:55 +05:30
Kovid Goyal
6004e588da
remove py2 only code 2021-11-24 09:46:02 +05:30
Kovid Goyal
3805c50be5
... 2021-11-24 09:44:52 +05:30
Kovid Goyal
98d18b1f1d
Use a checkout hook for qt6 transitions 2021-11-24 09:37:17 +05:30
Kovid Goyal
235b7e38c1
Fix inefficient regex that slows down a lot with certain input. Fixes #1951979 [Private bug](https://bugs.launchpad.net/calibre/+bug/1951979) 2021-11-23 21:26:18 +05:30
Kovid Goyal
1e12201376
String changes 2021-11-23 21:12:52 +05:30
Kovid Goyal
2d66fa4e68
Change some text to reflect the fact that stemming works for multiple languages not just English 2021-11-23 15:24:13 +05:30
Kovid Goyal
66dd933fad
Use separate bypy build cache for the Qt 6 branch 2021-11-22 11:21:15 +05:30
Kovid Goyal
e99ab7e002
Dont import calibre.gui2 to build forms 2021-11-21 22:18:20 +05:30
Kovid Goyal
53ad3db66e
Command to switch to Qt6 branch and build deps 2021-11-21 21:48:53 +05:30
Kovid Goyal
304ada7f44
Merge branch 'master' of https://github.com/cbhaley/calibre
Fixes #1951673 [Clicking on field Search Mode resets previous field](https://bugs.launchpad.net/calibre/+bug/1951673)
2021-11-20 17:46:16 +05:30
Charles Haley
b73125904a Reviewed template_dialog.py. I made cosmetic changes in some variable names to make the code easier (for me) to understand. 2021-11-20 10:52:34 +00:00
Charles Haley
de477900ac Bug #1951673: Clicking on field Search Mode resets previous field
Moved the mode field, which as a side benefit makes it more "important".
2021-11-20 10:09:15 +00:00
Kovid Goyal
5c67b4cf2f
Dont skip html transform test on CI
Arch now has html5-parser 4.10
2021-11-20 15:11:32 +05:30
Kovid Goyal
4e727166f5
More PyQt busywork
Qt::Modifier doesnt work in PyQt6 so move to Qt::KeyboardModifier
instead
2021-11-20 14:22:54 +05:30
Kovid Goyal
91d0542274
Fix error when running from source 2021-11-20 04:31:40 +05:30
Kovid Goyal
d9bdbbab7f
Replace use of the deprecated QDesktoWidget
It is removed in PyQt6
2021-11-19 22:01:50 +05:30
Kovid Goyal
7d85958b57
more meaningless pyqt busywork
PyQt6 makes exec_() no longer available as an alias for exec(). Just to
waste my time, I suppose.
2021-11-19 21:05:35 +05:30
Kovid Goyal
2ba2439e6f
Another PyQt enum waste of time 2021-11-19 19:58:51 +05:30
Kovid Goyal
9b09daa91b
delay import or template dialog 2021-11-19 19:56:42 +05:30
Kovid Goyal
3bff1f494f
Get rid of QRegExp
It is not available in PyQt6 and we anyway use the python re module
everywhere else
2021-11-19 19:36:18 +05:30
Kovid Goyal
93f3ef821b
Add a brief note about Transform HTML to the manual 2021-11-19 17:33:35 +05:30
Kovid Goyal
49141ebce2
Properly convert the icon_map
The enum is of unsigned long not int values
2021-11-19 15:35:42 +05:30
Kovid Goyal
50c16ef54d
Another PyQt enum change 2021-11-19 14:43:30 +05:30
Kovid Goyal
6a5126fe36
Dont escape - when generating CFI
Also recognize both escaped and unescaped hyphens when parsing CFI
2021-11-19 12:45:26 +05:30
Kovid Goyal
d0c5241e97
E-book viewer: Fix sorting of highlights incorrect in books that use HTML ids with a hyphen in them. Fixes #1951507 [Private bug](https://bugs.launchpad.net/calibre/+bug/1951507) 2021-11-19 12:07:18 +05:30
Kovid Goyal
dec5cb9d20
Only use the ascii hyphen on macOS since it is only needed there 2021-11-19 11:16:37 +05:30
Kovid Goyal
0e2c29d2e3
PDF Output: Fix the option to break long words at the ends of lines causing boxes to be rendered at the end fo the line on macOS with some
fonts. Fixes #1951467 [Private bug](https://bugs.launchpad.net/calibre/+bug/1951467)
2021-11-19 11:05:29 +05:30
Kovid Goyal
1a8209a898
PDF Output: Add a note that the hyphenate option can break copying of text if type 3 fonts are used 2021-11-19 10:25:45 +05:30
Kovid Goyal
2fa3561aef
Avoid JS errors when previewing non html documents such as svg images 2021-11-19 08:15:44 +05:30
Kovid Goyal
37c35a1ec4
Better error message for permission denied when accessing device files on macOS 2021-11-17 16:24:59 +05:30
Kovid Goyal
21e76f7d73
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-11-17 16:13:07 +05:30
Charles Haley
40e5c450d7 When the template dialog doesn't have a book to work with such as when it is invoked from plugboards preferences, create type-correct default values for the custom metadata fields. 2021-11-17 10:36:21 +00:00
Kovid Goyal
876290c600
Update Smithsonian Magazine 2021-11-15 15:06:59 +05:30