Commit Graph

32445 Commits

Author SHA1 Message Date
Kovid Goyal 6bcbd1b42e /proc/bus/usb doesn't exist anymore 2020-10-18 08:57:59 +05:30
Kovid Goyal 191ce078e7 plugin_err must always be a string 2020-10-18 08:57:59 +05:30
Kovid Goyal fe40196c06 Use winutil for lock.py 2020-10-18 08:57:59 +05:30
Kovid Goyal 8ef10231ae Use winutil for winreg 2020-10-18 08:57:59 +05:30
Kovid Goyal c6ca0a95db Use winutil for the file dialog helper 2020-10-18 08:57:59 +05:30
Kovid Goyal e48db37839 Use the python builtin methods for setting socket inheritance 2020-10-18 08:57:59 +05:30
Kovid Goyal d57c4d369b Move the meta path finders in constants since it depends on winutil in particular 2020-10-18 08:57:59 +05:30
Kovid Goyal 6690187e0a Allow importing calibre extension modules using import statements
from calibre_extensions import speedup
2020-10-18 08:57:59 +05:30
Kovid Goyal cc665e1ce5 Replace use of pywin32 2020-10-18 08:57:59 +05:30
Kovid Goyal 2283b6114e Edit book: Remove unused CSS: Add an option to merge CSS rules that have identical properties 2020-10-18 08:56:09 +05:30
Kovid Goyal 40e5b7124f Spell check: Fix using non UTF-8 dictionaries broken in calibre 5 2020-10-17 21:45:34 +05:30
Kovid Goyal 08da43c0d2 String changes 2020-10-17 19:23:25 +05:30
Kovid Goyal 5a553df561 Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-17 19:06:49 +05:30
Charles Haley 2aeb23f868 Fix allowing expand children when no child is expandable 2020-10-17 14:31:53 +01:00
Kovid Goyal 00e8ac3caa Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-17 18:48:05 +05:30
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