Commit Graph

41702 Commits

Author SHA1 Message Date
Kovid Goyal 7fe84df779 When sorting fails first try fallback by sorting bad values as the first value
This is closer to the python 2 behavior
2020-10-21 09:55:10 +05:30
Kovid Goyal 8b3b008c3c Dont fail if sorting throws an exception, instead just fallback to sorting by id 2020-10-21 09:09:27 +05:30
Kovid Goyal 6b331c1f91 String changes 2020-10-20 19:43:28 +05:30
Kovid Goyal a8be9ebfce Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-10-20 16:51:47 +05:30
Charles Haley d1b0b457ea Edit metadata custom column widgets.
- Add tweaks to move the elision point and to disable elision.
- Fix some problems with the tooltips
- Make the gutter between the label and the widget the same as the standard fields
- Various other cleanups
2020-10-20 10:49:17 +01:00
Kovid Goyal 9aeaacfb01 Use the new event loop based Listener
This means one less thread in the main and viewer UIs and no more polling for
messages.
2020-10-20 12:45:24 +05:30
Kovid Goyal cb88451596 Add gitattributes info for RapydScript files 2020-10-20 11:35:34 +05:30
Kovid Goyal eed32b595e Edit book: Fix a regression in the previous release that caused the completion popups used in the search panel to not render multiple entries correctly. 2020-10-20 08:44:10 +05:30
Kovid Goyal 276c26ff26 Annotations browser: Fix regression that caused an error when searching. Fixes #1900463 [Annotation Browser: search error](https://bugs.launchpad.net/calibre/+bug/1900463) 2020-10-20 08:32:30 +05:30
Kovid Goyal 051bd1a35f Name send_message variants better 2020-10-20 08:30:14 +05:30
Kovid Goyal 790a34d5d9 A module to implement listeners integrated with the Qt event loop 2020-10-20 01:09:45 +05:30
Kovid Goyal 59b31d0724 Wrap pipe write APIs 2020-10-20 01:09:32 +05:30
Kovid Goyal 8a76807594 API to toggle uniform item sizes 2020-10-19 18:55:09 +05:30
Kovid Goyal 95abe9d072 Viewer: handle editing of missing highlights more gracefully
Fixes #1900358 [ebook-viewer Reapplying missing annotation highlight after modifying ePub](https://bugs.launchpad.net/calibre/+bug/1900358)
2020-10-19 17:54:37 +05:30
Kovid Goyal 9c1e6ccb03 html is anyway ignored in copy_selection 2020-10-19 17:05:19 +05:30
Kovid Goyal 87629e32a7 Browser viewer: Try using document.execCommand to copy since it works on non-secure origins as well 2020-10-19 17:04:02 +05:30
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