43434 Commits

Author SHA1 Message Date
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
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