44614 Commits

Author SHA1 Message Date
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
Kovid Goyal
e7d4e348ba
Update Epoch Times 2021-11-15 08:30:47 +05:30
Kovid Goyal
2e2fbb7cce
... 2021-11-15 08:26:09 +05:30
Kovid Goyal
20fb5905c8
string changes 2021-11-15 08:10:35 +05:30
Kovid Goyal
17479d1d17
The Epoch Times by Kovid Goyal 2021-11-14 18:26:40 +05:30
Kovid Goyal
1e05b40f7a
EPUB 3: When setting authors and there are only editors, remove the editors. Matches EPUB 2 behavior and is symmetric with using only editors as authors when reading the metadata 2021-11-14 18:08:59 +05:30
Kovid Goyal
5ca15b9175
Also use editors as authors in EPUB 2 2021-11-14 18:03:35 +05:30
Kovid Goyal
f7452f5211
Google metadata plugin: When searching by ISBN if no results are found retry using an alternate query syntax. Fixes #1531 (Google books metadata plugin: Workaround for API bug) 2021-11-14 17:45:37 +05:30
Kovid Goyal
85a7df7daa
Show the undo popup after file merging 2021-11-14 15:35:58 +05:30
Kovid Goyal
dc21508a39
Edit book: Allow merging HTML files by drag and drop of the files onto another HTML file 2021-11-14 13:56:34 +05:30
Kovid Goyal
852e5ca1dd
string changes 2021-11-14 11:20:47 +05:30
Kovid Goyal
3799336890
string changes 2021-11-14 08:51:33 +05:30
Kovid Goyal
975fdfc8c2
fg and bg buttons should be together 2021-11-13 15:24:59 +05:30
Kovid Goyal
98c4b99d73
DRYer 2021-11-13 15:24:45 +05:30
Kovid Goyal
6ca398619b
Cleaner handling of separators in the flow toolbar 2021-11-13 15:22:04 +05:30
Kovid Goyal
b604611a3a
A better multiline toolbar for the comments editor 2021-11-13 10:08:11 +05:30
Kovid Goyal
796034a8ab
Comments editor: Use a single line for all three toolbars if they fit 2021-11-13 07:18:03 +05:30
Kovid Goyal
0c77d88404
Allow the formats list to use less height
Also remove some wasted margins in various sub layouts
2021-11-12 20:24:40 +05:30
Kovid Goyal
70a88ca40f
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-11-12 20:11:19 +05:30