33789 Commits

Author SHA1 Message Date
Kovid Goyal
fd77db2da5
Edit book: Fix editing of JavaScript files not working. Fixes #1915770 [editor creates mal-formed .js files](https://bugs.launchpad.net/calibre/+bug/1915770) 2021-02-16 08:38:29 +05:30
Kovid Goyal
52d048ece3
Viewer: Also send a load event to the window object after the iframe loads 2021-02-15 21:01:10 +05:30
Kovid Goyal
a2fe4afafe
Fix #1915630 [E-book viewer: "Save as" should prefill filename input field with the filename of the image](https://bugs.launchpad.net/calibre/+bug/1915630) 2021-02-14 11:13:14 +05:30
Kovid Goyal
2c2e6319c3
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-13 18:56:49 +05:30
Charles Haley
fb2f184958 Two changes:
1) Add the alias "list_contains" to the "in_list" function so that naming is more consistent.
2) Add composite categories to valid grouped searches.
2021-02-13 13:08:27 +00:00
Kovid Goyal
69de7dea5f
... 2021-02-12 12:05:56 +05:30
Kovid Goyal
6752ccb57c
version 5.11.0 2021-02-12 08:33:01 +05:30
Kovid Goyal
24b37296d5
... 2021-02-11 17:37:37 +05:30
Kovid Goyal
7d5bb8524d
E-book viewer: Fix links with an href of # not working. Fixes #1915303 [Private bug](https://bugs.launchpad.net/calibre/+bug/1915303) 2021-02-11 08:51:21 +05:30
Kovid Goyal
dcf658b365
... 2021-02-09 23:49:03 +05:30
Kovid Goyal
2880e83d1a
Fix rpdb not working on py3 2021-02-09 23:44:53 +05:30
Kovid Goyal
a4cd28d746
... 2021-02-09 12:57:32 +05:30
Kovid Goyal
61efa239ec
Edit book: Add a tool to split the tag at the current cursor position,
creating a new tag with the same style and class attributes. To add the tool go to the Toolbars section in the editor preferences.  Fixes #1912958 [Feature: Merge/split paragraphs tool in ebook editor](https://bugs.launchpad.net/calibre/+bug/1912958)
2021-02-09 12:28:55 +05:30
Kovid Goyal
943c830859
E-book viewer: Show the URL when hovering over external links. Fixes #1911107 [Enhancement Request: ebook-viewer: Preview link destination](https://bugs.launchpad.net/calibre/+bug/1911107) 2021-02-08 23:02:51 +05:30
Kovid Goyal
0139ed13fe
E-book viewer: Hide the controls when clicking the back or forward buttons 2021-02-08 15:11:35 +05:30
Kovid Goyal
3746562f81
Fix #1914954 [ValueError: could not convert string to float: 'XV'](https://bugs.launchpad.net/calibre/+bug/1914954) 2021-02-08 11:33:15 +05:30
Kovid Goyal
2e0b2d1573
E-book viewer: When jumping to a highlight using the highlights panel, the back button should return to position before jump. Fixes #1914921 [Highlights are not integrated with the navigation history](https://bugs.launchpad.net/calibre/+bug/1914921) 2021-02-07 20:04:26 +05:30
Kovid Goyal
e723f56973
Fix #1914910 [Annotations Browser: Error when searching for punctuation](https://bugs.launchpad.net/calibre/+bug/1914910) 2021-02-07 19:49:35 +05:30
Kovid Goyal
973bd004d8
Fix #1914912 [[Enhancement] Go back to Preferences overview](https://bugs.launchpad.net/calibre/+bug/1914912) 2021-02-07 19:36:15 +05:30
Kovid Goyal
3b4bd3232a
... 2021-02-07 13:00:26 +05:30
Kovid Goyal
b4cad0b8fa
Google books metadata plugin: Use the https URL from the Google books feed
Fixes #1350 (Use HTTPS when downloading metadata via Google Books feed)
2021-02-07 12:44:43 +05:30
Kovid Goyal
7b52611fdd
Edit book: Allow Ctrl-clicking on class names to jump to the first style rule that matches the tag and class 2021-02-07 12:22:19 +05:30
Kovid Goyal
574d23ba28
E-book viewer: Fix incorrect tooltip when hovering over a section title in the search results list. Fixes #1914157 [E-book viewer: incorrect ToC hierarchy in search results mouseover tooltips](https://bugs.launchpad.net/calibre/+bug/1914157) 2021-02-06 11:22:55 +05:30
Kovid Goyal
d7cf8da401
Fix #1912746 [[Enhancement] Add items to Long Text Editor context menu](https://bugs.launchpad.net/calibre/+bug/1912746) 2021-02-06 08:05:37 +05:30
Kovid Goyal
1ddfed6b94
When using a Qt dialog with very long list of file type filters, hide the filter details. Needed on windows where the dialog becomes super long otherwise 2021-02-06 07:46:11 +05:30
Kovid Goyal
ae6c2a55d4
Bump version for dynamic loading of search_engines 2021-02-06 07:02:17 +05:30
Viktor Szakats
3a60807ca1
restore HTTPS when accessing cc.bingj.com
The certificate is corrected by now:
```
* Server certificate:
*  subject: CN=cc.bingj.com
*  start date: Jan 19 01:42:44 2021 GMT
*  expire date: Jul 19 01:42:44 2021 GMT
*  subjectAltName: host "cc.bingj.com" matched cert's "cc.bingj.com"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft RSA TLS CA 01
*  SSL certificate verify ok.
```
2021-02-06 01:32:04 +01:00
Kovid Goyal
ccc1cad840
Add an All button 2021-02-05 20:53:20 +05:30
Kovid Goyal
7ecd365899
Content server: When browsing highlights for a book allow selecting multiple highlights to delete or export quickly 2021-02-05 20:49:19 +05:30
Kovid Goyal
abbed6e40c
Also set this as event for title_action to match action 2021-02-05 12:09:01 +05:30
Kovid Goyal
92d9c9055d
Forgot to pass event to container title bar callback 2021-02-05 12:02:32 +05:30
Kovid Goyal
12bee0e3cd
Content server: Re-use top bar styling for simple overlays 2021-02-05 11:49:46 +05:30
Kovid Goyal
d503102a31
Allow creating keyboard shortcuts to copy show and view URLs for selected books to clipboard. See #1912954 ([Enhancement] Library context menu and keyboard shortcuts for copying links) 2021-02-04 13:27:04 +05:30
Kovid Goyal
4b2c386c95
Make logic to get preferred view format re-useable 2021-02-04 13:21:12 +05:30
Charles Haley
7eb7cc4971 Bug #1914207: Average rating tooltip shows on hierarchical search Edit 2021-02-02 10:55:01 +00:00
Kovid Goyal
d4638fc663
... 2021-02-01 10:45:36 +05:30
Kovid Goyal
07aabb488b
calibredb: Add a timeout option to control the timeout when connecting to the calibre server 2021-02-01 08:31:33 +05:30
Kovid Goyal
787a2d55fd
Fix #1913888 [[Enhancement] Provide default button for search in TOC Edit](https://bugs.launchpad.net/calibre/+bug/1913888) 2021-01-30 22:30:52 +05:30
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