Commit Graph

41686 Commits

Author SHA1 Message Date
Kovid Goyal 20e84ebcc8 Ensure valid data written to icon_data on windows 2020-10-19 09:40:34 +05:30
Kovid Goyal f9cacdff88 Try loading icon_data when it is a string assuming base64 encoded data 2020-10-19 09:32:13 +05:30
Kovid Goyal 653af227c1 Add support for syntax highlighting box-sizing 2020-10-19 09:17:12 +05:30
Kovid Goyal 51e94dcc65 Container: Make detecting OPF files a bit more robust 2020-10-19 08:30:17 +05:30
Kovid Goyal 7b6ec6515a Fix #1900337 [Error when replacing db.prefs settings](https://bugs.launchpad.net/calibre/+bug/1900337) 2020-10-18 22:03:50 +05:30
Kovid Goyal f9dfae2bc9 ... 2020-10-18 22:03:42 +05:30
Kovid Goyal 448b90425a Fix winutil import not being run when CALIBRE_CONFIG_DIRECTORY is set 2020-10-18 19:01:56 +05:30
Kovid Goyal 17e6846cbe Merge branch 'master' of https://github.com/cbhaley/calibre into master
Fixes #1900316 [Rewrite example in documentation for translations](https://bugs.launchpad.net/calibre/+bug/1900316)
2020-10-18 17:54:47 +05:30
Charles Haley 38055729c8 Fix bug 1900316: Rewrite example in documentation for translations. 2020-10-18 12:27:31 +01:00
Kovid Goyal a681798b14 pep8 2020-10-18 15:26:05 +05:30
Kovid Goyal 4d80d56d31 Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-18 15:25:10 +05:30
Charles Haley d3a5730222 Add option to allow the tag browser to get keyboard focus 2020-10-18 10:49:47 +01:00
Charles Haley 5dbf65c1ad Ensure that the book list gets the keyboard focus on startup instead of Quickview 2020-10-18 10:48:30 +01:00
Kovid Goyal 5258c53bd3 No longer bundle pywin32 with calibre
It's a very large dependency, the parts of which calibre uses have been
migrated into 1500 lines of C++ code in winutil.cpp
2020-10-18 12:36:50 +05:30
Kovid Goyal 94d5775047 Remove all remaining uses of plugins dict 2020-10-18 12:33:56 +05:30
Kovid Goyal e90770509f Remove more uses of plugins dict 2020-10-18 12:10:11 +05:30
Kovid Goyal 861fb8144f Fix #1900299 [icon_data corruption in windows_open_with.json](https://bugs.launchpad.net/calibre/+bug/1900299) 2020-10-18 12:00:33 +05:30
Kovid Goyal 20150e3368 Remove more uses of the plugins dict 2020-10-18 11:57:23 +05:30
Kovid Goyal c41a389437 Remove more uses of the plugins dict 2020-10-18 11:42:15 +05:30
Kovid Goyal 4d47176100 Remove more uses of the plugins dict 2020-10-18 11:36:09 +05:30
Kovid Goyal 8a3dbc3061 More uses of plugins dict replaced 2020-10-18 10:48:03 +05:30
Kovid Goyal 5b4e667780 Have isort place calibre_extensions imports correctly 2020-10-18 10:37:38 +05:30
Kovid Goyal 8504ed08e8 Remove more uses of the plugins dict 2020-10-18 09:45:44 +05:30
Kovid Goyal 830b1a94e6 Replace more uses of plugins dict 2020-10-18 09:33:09 +05:30
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