42594 Commits

Author SHA1 Message Date
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
7fbd939435
Update Washington Post 2020-10-24 06:55:15 +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
da5964ec07
Run the SAPI tests in CI 2020-10-22 13:37:37 +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
5f4c2ce051
Update LifeHacker 2020-10-21 11:15:53 +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
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