42650 Commits

Author SHA1 Message Date
Charles Haley
47de6e084d Enhancement: add 'elif' to the formatter if expression 2020-10-12 12:08:23 +01:00
Kovid Goyal
288ff91ea2
String changes 2020-10-12 07:39:22 +05:30
Kovid Goyal
4d28e172c3
pep8 2020-10-11 22:54:55 +05:30
Jim Miller
aba21a2b1b Still save keyboard shortcuts to actions that aren't visible in current library. 2020-10-11 11:53:49 -05:00
Kovid Goyal
d2173ca772
Add an item to search for categories to the category editor context menu. Fixes #1899341 [[Enhancement] Add actions to search item in Tag browser and Quickview to Category editor context menu](https://bugs.launchpad.net/calibre/+bug/1899341)
Merge branch 'master' of https://github.com/cbhaley/calibre into master
2020-10-11 20:24:30 +05:30
Charles Haley
eebfced778 Change when get_gui is imported to avoid test problems 2020-10-11 15:23:39 +01:00
Charles Haley
d0b2921dec Enhancement #1899341 (partial): Add "Search for" to category editor context menu 2020-10-11 15:07:02 +01:00
Kovid Goyal
84eaea86b7
Category editor: Add a right click menu to change case of the selected entries. Fixes #1899316 [[Enhancement] Add the context menu in the Category editor and add the ability to change cases for the selected entries](https://bugs.launchpad.net/calibre/+bug/1899316)
Quickview: Fix nothing shown after clearing the search. Fixes #1899318 [No item is shown in the Quickview panel after clearing the search](https://bugs.launchpad.net/calibre/+bug/1899318)

Merge branch 'master' of https://github.com/cbhaley/calibre into master
2020-10-11 16:39:27 +05:30
Charles Haley
a3603826d0 Fix bug #1899318]: No item is shown in the Quickview panel after clearing the search 2020-10-11 11:53:06 +01:00
Charles Haley
697a2b5199 Enhancement #1899316: Add the context menu to the Category editor 2020-10-11 10:21:32 +01:00
Kovid Goyal
6607eb4c57
String changes 2020-10-11 13:04:57 +05:30
Kovid Goyal
46684e5376
Make the prefixed classes utility function available 2020-10-11 13:01:52 +05:30
Kovid Goyal
77e14bff20
Update Reuters 2020-10-11 13:01:02 +05:30
Kovid Goyal
fcf8822020
Wrap windows HANDLE so that it is auto released on delete to prevent leaks 2020-10-11 09:47:26 +05:30
Kovid Goyal
1a8fde19c9
Fix #1899300 [Right click on a tag that has a '&' or ';' the symbol shows it as an underline in the context menu](https://bugs.launchpad.net/calibre/+bug/1899300) 2020-10-11 09:18:13 +05:30
Kovid Goyal
83d9f0946b
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-10 17:45:05 +05:30
Charles Haley
50cc82cbe9 Fix wireless device driver not using cached metadata 2020-10-10 13:08:31 +01:00
Kovid Goyal
d84c2c2d4f
Remove icon resource defs 2020-10-10 10:02:08 +05:30
Kovid Goyal
e74278dd9b
Add RT_ICON 2020-10-10 09:45:40 +05:30
Kovid Goyal
bc694b2848
... 2020-10-10 09:34:02 +05:30
Kovid Goyal
d8c5a851cf
Wrap more win32 API functions 2020-10-10 09:22:51 +05:30
Kovid Goyal
e807604fb6
Update to Qt 5.15.1
This fixes long-standing macOS multiple drag and drop bug. And also the
new menu positioning on multiple monitors bug in Qt 5.15.0
2020-10-10 07:51:57 +05:30
Kovid Goyal
fdae87aa6e
When restarting detect actual parent process death instead of sleeping for two seconds
This should hopefully fix the issue with restarts not working on some
Windows machines because the parent process takes longer than two
seconds to die.
2020-10-09 22:53:21 +05:30
Kovid Goyal
d103b29f96
Function to get process times on windows 2020-10-09 22:32:05 +05:30
Kovid Goyal
a2f9fc18f4
Note why CI on arch is disabled 2020-10-09 20:23:19 +05:30
Kovid Goyal
0e5ae8b978
Another win32 API function 2020-10-09 13:59:01 +05:30
Kovid Goyal
c478139248
Wrap some more win32 API functions 2020-10-09 13:46:17 +05:30
Kovid Goyal
a5b8e0eb16
Deutsche Welle by VoHe 2020-10-09 13:08:20 +05:30
Kovid Goyal
527d8e6ccc
Ad dmissing includes 2020-10-09 13:03:58 +05:30
Kovid Goyal
85b97ba3d3
Fix failing strftime test
time.strftime supports %e natively on windows in python 3
2020-10-09 12:39:02 +05:30
Kovid Goyal
0444558e21
Remove unnecessary pp suffix from filename 2020-10-09 12:28:21 +05:30
Kovid Goyal
6de28ec09e
Merge the winutil code into a single file 2020-10-09 12:27:02 +05:30
Kovid Goyal
8f69cf6874
... 2020-10-09 12:12:02 +05:30
Kovid Goyal
0e7f455242
Allow plugins to be imported from calibre
Might be used in third-party plugin code
2020-10-09 12:08:56 +05:30
Kovid Goyal
67ab770a77
Import plugins from calibre.constants not calibre 2020-10-09 12:08:02 +05:30
Kovid Goyal
299fa4d060
Remove unused code
unicode is native for strftime and argv on Windows python 3
2020-10-09 10:29:38 +05:30
Kovid Goyal
6c63e47443
Remove unused code 2020-10-09 10:03:39 +05:30
Kovid Goyal
99e86bbe29
Windows: Fix some MOBI files with non-BMP characters not being processed correctly. Fixes #1898894 [Conversion from epub to mobi en v5.2](https://bugs.launchpad.net/calibre/+bug/1898894)
lxml passes unicode to libxml2 as UCS-4 when non-BMP chars are present,
and libxml needs iconv to process UCS4 (god knows why) which was not
being built on windows.
2020-10-09 09:29:07 +05:30
Kovid Goyal
5af81d105c
Release the GIL when calling ReadFile 2020-10-08 16:55:26 +05:30
Kovid Goyal
d4ea5f726d
Switch to using winutil for auto-reload on windows 2020-10-08 16:44:22 +05:30
Kovid Goyal
1754c87256
Add a couple more win32file functions 2020-10-08 15:01:25 +05:30
Kovid Goyal
216c5a3629
String changes 2020-10-08 09:58:26 +05:30
Kovid Goyal
0341bf40db
Wrap the basic win32 file apis
Want to eliminate use of pywin32 gradually
2020-10-08 09:45:16 +05:30
Kovid Goyal
003a22b47c
E-book viewer: Fix scrolling past the end of chapter boundaries not working in books that have negative margins 2020-10-08 07:23:33 +05:30
Kovid Goyal
8757d4e775
Fallback to default pattern if even version0 fails to compile 2020-10-07 20:11:19 +05:30
Kovid Goyal
9e0f63cb2f
version 5.2.0 v5.2.0 2020-10-07 08:38:47 +05:30
Kovid Goyal
019f1c8fb2
Also fallback to version 0 regexps for reading metadata from filenames
Fixes #1898739 [Viewer fail opening books](https://bugs.launchpad.net/calibre/+bug/1898739)
2020-10-06 20:23:55 +05:30
Kovid Goyal
45f9e9318c
Browse annotations: Add a check box to restrict the displayed annotations to only the books currently selected in the calibre library. Fixes #1897354 [Enhancement Request: Annotation browser and VLs](https://bugs.launchpad.net/calibre/+bug/1897354) 2020-10-06 12:42:23 +05:30
Kovid Goyal
0f4b491083
Implement restrict_to_book_ids for annotation fetching 2020-10-06 10:38:16 +05:30
Kovid Goyal
dc13fdcde0
Re-organize code 2020-10-06 09:56:03 +05:30