33789 Commits

Author SHA1 Message Date
Kovid Goyal
7f4859f8d3
Minor cleanups for first letter merge 2020-10-14 21:17:50 +05:30
Charles Haley
47b0c65c50 Add option tag browser to combine 'first letters' together if there are fewer items under the letter than X. 2020-10-14 15:04:36 +01:00
Kovid Goyal
9932dc85d0
Viewer image popups: Allow maximizing/minimizing the window. Fixes #1899762 [Minimize button in image viewer [Enhancement]](https://bugs.launchpad.net/calibre/+bug/1899762) 2020-10-14 18:11:33 +05:30
Kovid Goyal
306deb01cb
Page counts should not be deleted when opening controls 2020-10-14 16:05:21 +05:30
Kovid Goyal
5e67433334
Viewer: Allow displaying the current page / total pages in the header/footer. Useful in paged mode to see exactly how many pages are left. Fixes #1899163 [Request: Add pages left in chapter](https://bugs.launchpad.net/calibre/+bug/1899163) 2020-10-14 14:03:13 +05:30
Kovid Goyal
15443c869e
Wrap CommandLineToArgvW 2020-10-14 12:47:40 +05:30
Kovid Goyal
3fa1331448
Use load_icon_for_cmdline for manually added exe files 2020-10-14 12:32:27 +05:30
Kovid Goyal
87343c715e
Fix #1899323 [[Enhancement] Unnecessary empty space in the Heuristic processing of the Convert book window](https://bugs.launchpad.net/calibre/+bug/1899323) 2020-10-14 12:23:30 +05:30
Kovid Goyal
e0d98c07e7
Wrap create mutex 2020-10-14 09:31:47 +05:30
Kovid Goyal
250fbf8c3f
Get icons for programs that dont specify an icon resource in the registry 2020-10-14 08:53:15 +05:30
Kovid Goyal
d829a221db
Fix reading of icon dir entries 2020-10-14 07:21:15 +05:30
Kovid Goyal
603991b2c0
Fix reading string keys from some registry entries broken 2020-10-14 06:42:06 +05:30
Kovid Goyal
21e57640a3
Fix icon loading 2020-10-14 06:32:56 +05:30
Kovid Goyal
72d33ab385
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-13 19:56:44 +05:30
Charles Haley
e02215a9a8 Enhancement: add to the tag browser context menu the ability to collapse and expand individual nodes and categories. 2020-10-13 15:18:11 +01:00
Kovid Goyal
a04171dfb4
Use the all_field_names() API in a few more places 2020-10-13 19:42:43 +05:30
Charles Haley
f3656abbcc Allow access to the full template editor when creating/editing composite columns 2020-10-13 10:11:24 +01:00
Kovid Goyal
d707bdf3c9
Reduce the amount of work for initializing completion in the edit metadata dialog 2020-10-13 13:48:30 +05:30
Kovid Goyal
0e37c78ed9
Fix a regression in 5.0 that caused performance of dialogs that contain title/series/tags edit fields to be very poor with large libraries. Fixes #1898221 [Menu items on the Convert Books Box are slow to respond](https://bugs.launchpad.net/calibre/+bug/1898221)
Apparently in Qt 5.15 Qt queries size hints for all items in a list view
unless setuniformitemsizes is set.
2020-10-13 09:45:57 +05:30
Kovid Goyal
66ae34e2d3
Do a bit less work when building completion lists 2020-10-13 09:35:38 +05:30
Kovid Goyal
7e5438a76a
Rewrite the code to load icon resources for default programs
Drops the dependency on pywin32 and is hopefully more robust as well
2020-10-13 09:09:19 +05:30
Charles Haley
3090eb36fe Fix bug #1899466: custom column names that start with an emoji don't display properly.
Enhancement: move the DateTime Today and Clear buttons in edit metadata onto the same line as the DateTime widget.
2020-10-12 14:42:37 +01:00
Kovid Goyal
543cd436fa
Windows: Fix regression that broke querying registry for default programs
Apparently under python 3 StopIteration no longer stops while loops,
instead propagating out of them.
2020-10-12 17:22:10 +05:30
Kovid Goyal
be6ce66ed1
Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-12 17:11:11 +05:30
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
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
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
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
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
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
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