32430 Commits

Author SHA1 Message Date
Charles Haley
e0bc2d8ebe Make a submenu for expand and collapse. Also add icons. 2020-10-17 14:01:42 +01:00
Charles Haley
e6c02ec611 Make the tag browser expand and collapse menu items consistent.
1) add separate lines to expand item and expand item and children
2) add collapse lines for all parent nodes, not just the immediate parent and the category root
2020-10-17 12:50:46 +01:00
Kovid Goyal
d8e502507b
Edit metadata dialog: Elide the names of custom columns that are longer than a fixed width, instead of using multiple lines. Configurable via Preferences->Tweaks->Edit metadata custom column label length
Merge branch 'master' of https://github.com/cbhaley/calibre into master
2020-10-17 14:25:32 +05:30
Charles Haley
8ada8a8e6b Use averageCharWidth instead of 'n's 2020-10-17 09:48:27 +01:00
Kovid Goyal
4d1ef2e031
Clarify what merge css rules does 2020-10-17 13:55:31 +05:30
Charles Haley
638a017fb1 Fix enhancement #190009: Width of custom date columns.
There are two changes:
1) the 'today' and 'clear' buttons for date columns are now right adjusted.

2) Labels are now fixed width. Word wrap is disabled. There are two new tweaks to
set the fixed widths for edit metadata single and bulk.
2020-10-17 09:09:44 +01:00
Kovid Goyal
f15e144e2a
Better fix for error on restart
Now both single instance and listener mutexes are explicitly released
before launching child process, so the child process has no need to wait
for the parent process to die.
2020-10-17 13:19:53 +05:30
Kovid Goyal
fc77917e9c
Ensure LinuxListener.close can be called multiple times 2020-10-17 13:08:49 +05:30
Kovid Goyal
3686dc929c
Fix #1900221 [[Enhancement] Add separator to Tag browser context menu](https://bugs.launchpad.net/calibre/+bug/1900221) 2020-10-17 12:42:38 +05:30
Kovid Goyal
b0b3effc40
Fix #1900220 [Expand category in context menu of the Tag browser when the category is already expanded](https://bugs.launchpad.net/calibre/+bug/1900220) 2020-10-17 12:40:45 +05:30
Kovid Goyal
bcac649b05
Dont rely on atexit for managing singleinstance in the main GUI 2020-10-17 12:38:55 +05:30
Kovid Goyal
7f850777f7
Fix #1900216 [Make whole string translatable in Edit book preferences](https://bugs.launchpad.net/calibre/+bug/1900216) 2020-10-17 12:32:35 +05:30
Kovid Goyal
09665e11a8
Fix #1900175 [Problem editing metadata in bulk](https://bugs.launchpad.net/calibre/+bug/1900175) 2020-10-16 23:53:52 +05:30
Kovid Goyal
612079b5bf
Remove unused code 2020-10-16 19:38:17 +05:30
Kovid Goyal
72b3993fca
Make extracting zipfiles more resilient against invalid characters in filenames
The previous check applied to actual files but not directories
2020-10-16 19:36:26 +05:30
Kovid Goyal
c14c232b33
Add instructions on how to disable first letter merging 2020-10-16 18:26:13 +05:30
Kovid Goyal
2b38f42c7d
... 2020-10-16 18:24:28 +05:30
Charles Haley
b8a2ae8fa5 Fix bug 1900099: when bools are set to bistate, checking "show checkmarks" results in all non-bool values being shown as false 2020-10-16 12:16:23 +01:00
Kovid Goyal
cebf0135b1
Make test more robust by waiting for watcher thread to start 2020-10-16 12:28:48 +05:30
Kovid Goyal
e3e24a4711
String changes 2020-10-16 09:04:38 +05:30
Kovid Goyal
2f58465f6a
version 5.3.0 2020-10-16 08:42:52 +05:30
Kovid Goyal
d9cc545f71
Dark mode: Fix radio buttons having no outline. Fixes #1900022 [Radio buttons in Windows Dark mode](https://bugs.launchpad.net/calibre/+bug/1900022) 2020-10-16 08:40:31 +05:30
Kovid Goyal
cb31fc219d
Annotations browser: When showing a book in the calibre library that is not currently visible, display an error. Fixes #1900066 [Annotation browser's "show in Calibre" silently fails if book isn't in current library view](https://bugs.launchpad.net/calibre/+bug/1900066) 2020-10-16 08:12:27 +05:30
Charles Haley
abca643c3f Remove doubled "Collapse [category]" in the tag browser context menu when right-clicking on a top-level item. 2020-10-15 20:45:03 +01:00
Kovid Goyal
69cefbbb56
Allow detaching and creating handles in python 2020-10-15 21:55:07 +05:30
Kovid Goyal
f5f7a44a47
Allow detaching handles 2020-10-15 21:28:13 +05:30
Kovid Goyal
40de844650
... 2020-10-15 20:32:00 +05:30
Kovid Goyal
2a1b05dc05
Allow threads while listening for connections on a pipe 2020-10-15 20:30:20 +05:30
Kovid Goyal
2ddbbb3a43
Add broken pipe error 2020-10-15 19:31:22 +05:30
Kovid Goyal
175bb827f0
Wrap ConnectNamedPipe 2020-10-15 19:24:16 +05:30
Kovid Goyal
812ceb2247
Forgot to implement get_resource_reader() for plugins 2020-10-15 17:47:54 +05:30
Charles Haley
3d7fd22438 Enhancement #1899881: Add user category icon to tag browser contect menu 2020-10-15 10:27:53 +01:00
Charles Haley
705519e14d Set the default for combining first letters to 5. Although this changes behavior, it makes the feature much more discoverable and it is easy to change it. 2020-10-15 10:18:15 +01:00
Kovid Goyal
9176f034fe
Expose some error codes in winutil 2020-10-15 13:21:19 +05:30
Kovid Goyal
cf6f9912c9
Another needed constant 2020-10-15 10:25:08 +05:30
Kovid Goyal
56b1554c1e
Remove the last use of win32process 2020-10-15 10:23:27 +05:30
Kovid Goyal
32bbcd092d
Dont use win32process for creationflags 2020-10-15 10:15:13 +05:30
Kovid Goyal
511351317f
Tag browser context menu: Move the show all categories action into the show category sub-menu. Fixes #1899868 [Enhancement Request: "Show Category" when right-clicking empty space in tag browser](https://bugs.launchpad.net/calibre/+bug/1899868) 2020-10-15 09:26:41 +05:30
Kovid Goyal
bb21e82f75
DOCX Input: Add support for presentational markup used to rotate or flip images
Note that it will only work if the output format supports CSS transforms,
such as EPUB or AZW3
2020-10-15 09:12:56 +05:30
Kovid Goyal
9417effbff
Forgot to add ellipses 2020-10-15 08:27:51 +05:30
Kovid Goyal
20c64aeae2
Viewer search panel: Show more result context in a tooltip when hovering over a search result. Fixes #1899834 [[Enhancement - Viewer] Show the entire paragraph as you hover over a search result in the Search panel](https://bugs.launchpad.net/calibre/+bug/1899834) 2020-10-15 08:24:45 +05:30
Kovid Goyal
384e3a02be
Replace another use of pywin32 2020-10-14 21:48:30 +05:30
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