33151 Commits

Author SHA1 Message Date
Kovid Goyal
985f9be4c9
... 2021-01-30 13:09:52 +05:30
Kovid Goyal
ccf69016df
Content server: Fix dragging selection handles not working in Safari. Fixes #1913854 [Cannot drag text selection handle on iOS touch screen devices](https://bugs.launchpad.net/calibre/+bug/1913854)
Apparently on safari to modify a selection its not enough to modify the
range, one has to set the range on the selection
2021-01-30 10:54:34 +05:30
Kovid Goyal
12707c9756
Make the saved search box a bit larger 2021-01-29 20:21:03 +05:30
Kovid Goyal
7e6efbd326
string changes 2021-01-29 07:57:07 +05:30
Kovid Goyal
fe1706dcc5
Fix #1913620 [[Enhancement] Book formats are in lower case for the Conversion output plugins](https://bugs.launchpad.net/calibre/+bug/1913620) 2021-01-28 22:24:52 +05:30
Kovid Goyal
861f9dda5f
... 2021-01-28 22:09:41 +05:30
Kovid Goyal
57d5585224
Add the button role 2021-01-28 08:53:07 +05:30
Kovid Goyal
1df2ed477e
Refactor shortcut definitions
Now they are directly keyed on runtime.is_standalone_viewer since that
is the canonical reference as to which mode we are running in.
2021-01-27 13:58:38 +05:30
Jiahao Li
75b426cc8f E-book viewer: Add shortcut option for syncing
Add a shortcut option for syncing last position and annotations. The option is
only added for non-standalone viewer mode since book syncing only applies
there. No default binding is assigned.
2021-01-27 00:25:44 -05:00
Kovid Goyal
7e9f2b9094
HTMLZ Output: Fix a regression in calibre 5 that broke creating HTMLZ documents when using the option to place CSS inline 2021-01-26 10:37:26 +05:30
Kovid Goyal
ce33ebe682
DRYer 2021-01-26 09:51:52 +05:30
Kovid Goyal
da53430e77
E-book viewer: Redesign the reference mode to also work on touch screens without a mouse. Now in reference mode paragraph numbers are displayed for all paragraphs 2021-01-26 09:46:18 +05:30
Kovid Goyal
ce9d4e4122
Make author_to_author_sort useable without tweaks 2021-01-23 09:12:16 +05:30
Kovid Goyal
9e1f28cbd4
... 2021-01-22 20:54:05 +05:30
Kovid Goyal
3d202a730a
Conversion: Fix regression in 5.10 that broke conversion when inserting metadata and using custom long text columns 2021-01-22 20:03:24 +05:30
Kovid Goyal
bfc9a8d5c5
version 5.10.0 2021-01-22 07:56:39 +05:30
Kovid Goyal
5ab0639d1f
py3 compat 2021-01-22 07:55:59 +05:30
Kovid Goyal
daefabde4c
String changes 2021-01-21 21:40:34 +05:30
Kovid Goyal
8f38ba50e1
pep8 2021-01-21 20:43:52 +05:30
Charles Haley
45349d9c38 Improvements to the template editor dialog
1) Make the dialog scrollable.
2) Add rows where a developer can put more fields while maintaining alignment.
3) Allow passing in a dictionary of formatter functions, allowing the developer to temporarily add new functions.
4) Adjust some sizes to make the dialog scroll more nicely
2021-01-21 14:36:43 +00:00
Kovid Goyal
c116933db8
Edit book: Remove unused CSS: Fix selectors that dont match from CSS rules containing multiple selectors not being removed. Fixes #1904350 [merged CSS, editor does not remove unsed names](https://bugs.launchpad.net/calibre/+bug/1904350) 2021-01-21 16:58:08 +05:30
Kovid Goyal
4b3ac510bf
E-book viewer: Highlight all currently visible ToC nodes, not just the first. See #1912003 (E-book viewer: at some circumstances incorrect ToC entries get highlighted) 2021-01-21 11:05:10 +05:30
Kovid Goyal
309cecad1c
E-book viewer: Fix scrolling with two fingers on touchpad on macOS not smooth. Fixes #1911218 [Scrolling with built-in trackpad of MacBook Pro on macOS very unsmooth](https://bugs.launchpad.net/calibre/+bug/1911218)
On macOS swiping fast tends to scroll along both axes simultaneously
2021-01-21 08:21:55 +05:30
Kovid Goyal
f92439fe6b
Move tests into separate module
Avoids parsing the test code on every import of a very central module
2021-01-21 05:54:51 +05:30
Kovid Goyal
6dc39a511a
Add a new tweak under "Author sort name algorithm" to optionally recognize common surname prefixes such as von, van, de etc.
Merge branch 'author-sort' of https://github.com/madphysicist/calibre
2021-01-21 05:49:58 +05:30
Joseph R. Fox-Rabinovitz
4391ef0b0e Added "invert" method to tests 2021-01-20 12:45:15 -05:00
Joseph R. Fox-Rabinovitz
f699b436a0 Added config key author_use_surname_prefixes and tests 2021-01-20 12:31:35 -05:00
Kovid Goyal
b0555e1cfe
pep8 2021-01-20 21:18:49 +05:30
Kovid Goyal
e19e08ecc4
Insert metadata: Allow showing identifiers such as ISBN in the jacket page template 2021-01-20 20:05:28 +05:30
Kovid Goyal
3f8403ca84
Conversion: Insert metadata: Allow hiding entries in the jacket template when they are not present in the metadata. 2021-01-20 19:35:07 +05:30
Kovid Goyal
eeb609f983
... 2021-01-20 14:19:25 +05:30
Kovid Goyal
588b5683f0
string changes 2021-01-20 13:53:35 +05:30
Kovid Goyal
65766fdff2
Fix #1909251 [Enhancement Request: Tag Manager - Copy nonexistent filters to Add field](https://bugs.launchpad.net/calibre/+bug/1909251) 2021-01-20 13:28:44 +05:30
Kovid Goyal
58b4fd3fe3
Fix add columns screen going back to main prefs when launched from column header context menu. Fixes #1910929 [Enhancement Request: Preferences: Inconsistent behaviour of Discard button](https://bugs.launchpad.net/calibre/+bug/1910929) 2021-01-20 13:21:41 +05:30
Kovid Goyal
c86bcede66
Fix #1910883 [can't automatically scroll down the list of icon rules](https://bugs.launchpad.net/calibre/+bug/1910883) 2021-01-20 13:12:05 +05:30
Kovid Goyal
1c12b0efe6
Bulk metadata edit: Add a new control to compress the cover image files for all selected books. Fixes #1911888 [Editing an ePub's internal cover should update its metadata cover](https://bugs.launchpad.net/calibre/+bug/1911888) 2021-01-20 12:32:19 +05:30
Kovid Goyal
48e36065a4
PDF Output: When converting fixed layout input documents fix anchors inserted for navigation sometimes being rendered as blue boxes. Fixes #1911466 [Private bug](https://bugs.launchpad.net/calibre/+bug/1911466) 2021-01-19 21:25:02 +05:30
Kovid Goyal
0727fb7793
calibre-server --manage-users: Add a scriptable interface calibre-server --manage-users -- help. Fixes #1912337 [[Enhancement] Add parameters for executing actions programatically from calibre-server --manage-users](https://bugs.launchpad.net/calibre/+bug/1912337) 2021-01-19 20:39:53 +05:30
Kovid Goyal
991e61af32
E-book viewer: Move read aloud popup bar to the bottom of the screen in flow mode. Fixes #1911470 [Read Aloud toolbar covers text](https://bugs.launchpad.net/calibre/+bug/1911470) 2021-01-19 19:33:36 +05:30
Kovid Goyal
3be5856df5
Bulk metadata download: Fix series number not being changes if the series is the same as the existing series 2021-01-19 18:20:49 +05:30
Kovid Goyal
54d57c6748
Add support for the CB7 comic file file format
Fixes #1912212 [Add support for CB7 and CBA file format](https://bugs.launchpad.net/calibre/+bug/1912212)
2021-01-19 13:33:45 +05:30
Kovid Goyal
eae5ff6d88
E-book viewer: Fix a regression that caused non-HTML descriptions to not be displayed in the metadata page 2021-01-19 09:24:34 +05:30
Charles Haley
e195687859 Also make saved search recursion checking case insensitive. Raise the 'recursion limit' to 10. 2021-01-18 10:12:26 +00:00
Kovid Goyal
15e8980cb2
E-book viewer: Allow adding a button to the selection bar that copies the currently selected text along with a calibre:// URL to show the text in the book. See #1912070 ([Enhancement] Additional access to copying Go To URL location link) 2021-01-18 13:14:22 +05:30
Kovid Goyal
9032d92954
E-book viewer: Add keyboard shortcuts to copy the current location to the clipboard. Fixes #1912070 [[Enhancement] Additional access to copying Go To URL location link](https://bugs.launchpad.net/calibre/+bug/1912070) 2021-01-18 11:21:45 +05:30
Kovid Goyal
447f366839
DRYer 2021-01-18 10:49:50 +05:30
Kovid Goyal
0bdaf44cfb
py3 compat for mtp on unix error reporting 2021-01-18 08:04:44 +05:30
Kovid Goyal
05776164d0
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-01-17 19:35:18 +05:30
Charles Haley
cfbff3d98f New template function: field_exists() 2021-01-17 13:56:55 +00:00
Charles Haley
b7c4fcd711 Enhancement: allow template functions add() and multiply() to take a variable number of arguments. 2021-01-17 13:56:28 +00:00