Commit Graph

41662 Commits

Author SHA1 Message Date
Kovid Goyal 983bb2aabb Remove more usage of plugins dict 2020-10-18 08:58:01 +05:30
Kovid Goyal c9f2ae20fc Replace some uses of plugins dict 2020-10-18 08:58:01 +05:30
Kovid Goyal 8311f0a8d3 Cleanup calibre initialization 2020-10-18 08:58:00 +05:30
Kovid Goyal c58e1db9a0 Dont import fcntl into calibre.__init__ 2020-10-18 08:58:00 +05:30
Kovid Goyal ad2e6ded83 Dont import winutil in calibre.__init__ 2020-10-18 08:58:00 +05:30
Kovid Goyal 79dfb222ab Remove unused imports 2020-10-18 08:58:00 +05:30
Kovid Goyal cbf6e80b08 Dont import any pywin32 modules during startup
Also dont import fcntl
2020-10-18 08:58:00 +05:30
Kovid Goyal 21214f9dc3 Restore win file dialog build test 2020-10-18 08:58:00 +05:30
Kovid Goyal dce343b488 Release GIL while creating hardlinks 2020-10-18 08:58:00 +05:30
Kovid Goyal e087f086bd Remove pywin32 from filenames.py 2020-10-18 08:58:00 +05:30
Kovid Goyal 5701a6c2c5 Use winutil to get disk free space 2020-10-18 08:58:00 +05:30
Kovid Goyal c9df881fd9 Dont use pywin32 for share_file.py 2020-10-18 08:58:00 +05:30
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 c9fb373216 Compress images in LA Times download 2020-10-17 21:42:16 +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
Kovid Goyal 8849f5adec String changes 2020-10-17 13:45:23 +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 42d114a8c5 Merge branch 'patch-2' of https://github.com/jamierc/calibre into master 2020-10-17 08:25:24 +05:30
Kovid Goyal 4163614ef7 Fix #1900213 [Calibre crash in get_extra_css(ln 27) bytes-like object needed](https://bugs.launchpad.net/calibre/+bug/1900213) 2020-10-17 08:24:49 +05:30
jamierc 6d22731b7c Added more RSS feeds from LiveMine rss feeds
Added News, Sports, Technology. Removed homepage which is not a valid feed
2020-10-17 12:16:11 +11:00
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 0e443392d7 Update The Atlantic 2020-10-16 22:25:21 +05:30
Kovid Goyal 64e2b05b5c Update New York Review of Books
Fixes #1900136 [fetch fail New York Review of Books login version](https://bugs.launchpad.net/calibre/+bug/1900136)
2020-10-16 21:29:33 +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