33789 Commits

Author SHA1 Message Date
Kovid Goyal
7516a8bda9
See if we can at least statically initialize some of module_def 2020-10-24 19:48:36 +05:30
Kovid Goyal
98bfdec9b0
Add a retry during bulk search replace 2020-10-24 19:45:40 +05:30
Kovid Goyal
ac1307bbb3
Silence warnings from clang 2020-10-24 18:26:04 +05:30
Kovid Goyal
76659d4b70
Multi-phase init for more extensions 2020-10-24 14:51:05 +05:30
Kovid Goyal
e02ae467a7
More multi-phase init 2020-10-24 14:37:43 +05:30
Kovid Goyal
027bf97633
Move more extension modules to multi-phase initialization 2020-10-24 14:28:56 +05:30
Kovid Goyal
384e5744de
Multi-phase init for more modules 2020-10-24 14:13:54 +05:30
Kovid Goyal
ecc02cfb5a
No O_CLOEXEC on windows 2020-10-24 14:05:24 +05:30
Kovid Goyal
d28c4a44ef
Work with ancient linux compilers 2020-10-24 14:01:43 +05:30
Kovid Goyal
5de169c9a7
Use multi-stage init for some extensions 2020-10-24 13:52:55 +05:30
Kovid Goyal
0b973057d0
Fix #1901289 [Cannot communicate with Sony PRS 650](https://bugs.launchpad.net/calibre/+bug/1901289) 2020-10-24 13:24:46 +05:30
Kovid Goyal
45a4c8c867
... 2020-10-24 11:34:59 +05:30
Kovid Goyal
73df11e69e
Mark calibre as long path aware on Windows
Python 3.8 is supposedly long path aware and calibre itself does not use
MAX_PATH except in a few functions in the launcher/installer, and a
couple in winutil. So hopefully this means we are long path capable.
2020-10-24 09:17:27 +05:30
Kovid Goyal
fee0353451
Wrap ShGetKnownFolderPath 2020-10-24 08:54:43 +05:30
Kovid Goyal
0a2829d41c
Content server: Fix various controls on the book details page not working when viewing a random book.
Fixes #1901232 [[Content server] Convert books on the Book details page does not work when you select a random book](https://bugs.launchpad.net/calibre/+bug/1901232)
Fixes #1901230 [[Content server] Arrows to browse books on the Book details page does not work when you select a random book](https://bugs.launchpad.net/calibre/+bug/1901230)
2020-10-24 06:41:50 +05:30
Kovid Goyal
3c7907b93c
Fix #1901234 [[Enhancement - Content server] Add tooltip to the Show random book button on the Book details page](https://bugs.launchpad.net/calibre/+bug/1901234) 2020-10-24 06:35:58 +05:30
Kovid Goyal
c930bbcf7d
Fix #1901250 [TagTreeItem error in beta](https://bugs.launchpad.net/calibre/+bug/1901250) 2020-10-24 06:04:01 +05:30
Kovid Goyal
cef46ad59f
Windows: Fix browse for cover button ot working with long paths 2020-10-23 21:12:59 +05:30
Kovid Goyal
ea8d34353b
Also add long path support to adding via add formats to book records 2020-10-23 21:01:04 +05:30
Kovid Goyal
f8951fd16a
Windows: Make long paths work for adding formats via the edit metadata dialog 2020-10-23 20:56:37 +05:30
Kovid Goyal
687f9f056e
Windows: Fix drag and drop of long paths onto book list and book details panels 2020-10-23 20:51:27 +05:30
Kovid Goyal
758f3e1452
Dont use win32 API function to make long paths useable as it fails on older windows 2020-10-23 20:46:44 +05:30
Kovid Goyal
748152cd7a
Also make recursing through directories work with long paths 2020-10-23 20:31:16 +05:30
Kovid Goyal
d2624dedb8
Windows: Make adding files whose total path length is greater than 260 characters via the Add books button work. Fixes #1900761 [Private bug](https://bugs.launchpad.net/calibre/+bug/1900761) 2020-10-23 20:25:06 +05:30
Kovid Goyal
74be244fd9
Add a test for canonicalize_path 2020-10-23 20:22:39 +05:30
Kovid Goyal
acbd5122be
Wrap function to canonicalize long paths 2020-10-23 19:57:44 +05:30
Kovid Goyal
86f95daf7d
Remove another reference to search_by_selection 2020-10-23 12:12:39 +05:30
Kovid Goyal
c43af7ff3a
remove search for selection shortcut
no longer applicable with selection bar. Fixes #1900939 [E-book viewer: the "Search for next occurrence of selected text" feature doesn't seem to work](https://bugs.launchpad.net/calibre/+bug/1900939)
2020-10-23 12:02:06 +05:30
Kovid Goyal
141ac27cba
... 2020-10-23 12:00:06 +05:30
Kovid Goyal
3482bbe852
Viewer: Fix keyboard shortcut to toggle highlights panel not working when the highlights panel is itself focused. Fixes #1900938 [E-book reader: Ctrl+h doesn't hide the Highlights panel](https://bugs.launchpad.net/calibre/+bug/1900938) 2020-10-23 11:50:38 +05:30
Kovid Goyal
654097bdc6
Change the copyright on the gutenberg plugin since it was completely re-written 2020-10-23 11:13:36 +05:30
Kovid Goyal
62e9722478
Get books: Update the Gutenberg plugin to adapt for changes to the website 2020-10-23 11:01:35 +05:30
Kovid Goyal
b0e276435f
Fix setting rating via ebook-meta command line tool broken in calibre 5. Fixes #1901113 [ebook-meta --rating fails](https://bugs.launchpad.net/calibre/+bug/1901113)
More python 3 chicanery
2020-10-23 09:38:05 +05:30
Kovid Goyal
4a864575b1
String changes 2020-10-23 09:19:26 +05:30
Kovid Goyal
ee3e82ca71
Cleanup dialog used to edit enum permissible values 2020-10-22 21:39:07 +05:30
Kovid Goyal
23c19fe2a2
Tag browser: Fix renaming of custom column with fixed set of values not working. Fixes #1900921 [Renaming fixed-value text columns in tag browser fails.](https://bugs.launchpad.net/calibre/+bug/1900921)
Tag browser: Allow editing the set of permissible values and colors for a custom column with fixed values, by right clicking on it.

Merge branch 'master' of https://github.com/cbhaley/calibre
2020-10-22 21:31:08 +05:30
Charles Haley
5226feb900 Bug 1900921: various problems with enumerated types.
Enhancement: add an editor to change the list of permitted values.
2020-10-22 16:24:52 +01:00
Kovid Goyal
bfe4260897
Restore previous output after recording 2020-10-22 20:42:41 +05:30
Kovid Goyal
a63c21dbfb
Code to record speech in WAV files 2020-10-22 18:08:34 +05:30
Kovid Goyal
3eba739f62
Basic speech controls 2020-10-22 15:09:30 +05:30
Kovid Goyal
ea0eeaf81e
Code to get and set rate and volume 2020-10-22 14:47:21 +05:30
Kovid Goyal
9c703b781d
Code to set the sound output 2020-10-22 14:25:51 +05:30
Kovid Goyal
d6887a1bfd
Exclude winsapi from import all tests on non-windows 2020-10-22 13:47:48 +05:30
Kovid Goyal
dd6c244974
Dont use a module level import 2020-10-22 13:43:18 +05:30
Kovid Goyal
61d44ea95e
Implement getting and setting current voice 2020-10-22 13:35:09 +05:30
Kovid Goyal
ee374f5d93
Code to get list of all sound outputs 2020-10-22 09:53:32 +05:30
Kovid Goyal
9bb6e83b68
Ensure numberic sort keys are 0 is the value is None or an empty string 2020-10-21 22:10:23 +05:30
Kovid Goyal
4bb557ec41
Start wrapping of windows SAPI interface
Can now get list of all voices installed in the system
2020-10-21 21:58:06 +05:30
Kovid Goyal
ebb6f89b5b
Make winutil classes re-useable 2020-10-21 11:21:03 +05:30
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