1845 Commits

Author SHA1 Message Date
Kovid Goyal
259c7398cb
Viewer: Fix the color of browser provided controls in dark mode 2022-07-06 19:19:36 +05:30
Kovid Goyal
4abda26e92
Edit book: Live CSS: Fix @namespace rules causing jumping to rule definition to go to the wrong definition. Fixes #1978500 [Private bug](https://bugs.launchpad.net/calibre/+bug/1978500) 2022-06-16 12:49:56 +05:30
Kovid Goyal
8de6af9814
Dont break footnotes when there is an anchor in the first block level child of the note. See #1969608 (Footnote's pop-up is empty.) 2022-04-21 13:06:42 +05:30
Kovid Goyal
d02988d466
Use standard titlebar for lookup panel
Also fix cancel button for adding a custom lookup not working. Fixes #1967459 [[Enhancement - Content server] Make the Lookup page layout more similar to other pages](https://bugs.launchpad.net/calibre/+bug/1967459)
2022-04-01 10:49:05 +05:30
Kovid Goyal
49fb93a5ff
Content server viewer: Allow editing bookmarks. Fixes #1966872 [[Enhancement] - Edit bookmarks](https://bugs.launchpad.net/calibre/+bug/1966872) 2022-03-29 13:41:45 +05:30
Kovid Goyal
6cfeec7245
Viewer: Fix ESC key not working reliably in preference panels
Fixes #1964505 [[Enhancement - Content server] Pressing ESC to close Preferences page and subpages](https://bugs.launchpad.net/calibre/+bug/1964505)
2022-03-16 15:21:54 +05:30
Kovid Goyal
5fe9010e74
... 2022-03-14 20:11:35 +05:30
Kovid Goyal
f8f971d208
Content server: Fix reading of books with thousands of internal files not working in the Chrome browser. Fixes #1964742 [Error when opening EPUB file which contains many chapters via Web Interface](https://bugs.launchpad.net/calibre/+bug/1964742)
Apparently chrome's network stack is too dumb to queue multiple ajax
requests so do it in our code.
2022-03-14 20:09:05 +05:30
Kovid Goyal
6e054fd1b0
Also implement remembering reading rate for in browser viewer 2022-03-03 20:25:49 +05:30
Kovid Goyal
f043ceff0c
calculate time left immediately on load if historical rates are available 2022-03-03 20:12:21 +05:30
Kovid Goyal
439da2712a
E-book viewer: When displaying estimated time to completion for reading a book, remember the reading rate the next time the book is opened so that the period spent calculating the time remaining is reduced. Fixes #1852929 [Time to read book is not saved](https://bugs.launchpad.net/calibre/+bug/1852929) 2022-03-03 20:09:51 +05:30
Kovid Goyal
66f427eef4
Fix #1961465 [[Enhancement - Content server] ESC to close the Search for books page](https://bugs.launchpad.net/calibre/+bug/1961465) 2022-03-02 19:08:16 +05:30
Kovid Goyal
4ebed6bbc1
E-book viewer: Fix an error when opening books with MathML for the second time if the last read position was at a MathML element. Fixes #1961775 [Private bug](https://bugs.launchpad.net/calibre/+bug/1961775) 2022-03-02 16:40:08 +05:30
Kovid Goyal
9287e70784
E-book viewer: Fix setting to use roman numerals for series not being respected 2022-02-17 08:20:34 +05:30
Kovid Goyal
731ccd92a9
... 2022-02-13 12:28:24 +05:30
Kovid Goyal
d5201ff24d
Fix #1960227 [[Enhancement - Content server] Don't display arrows on the cover on the Book details page if there are no previous/next book](https://bugs.launchpad.net/calibre/+bug/1960227) 2022-02-07 18:28:15 +05:30
Kovid Goyal
a81e4bec5c
E-book viewer: Fix Ctrl+p shortcut for printing not working 2022-01-25 21:01:46 +05:30
Kovid Goyal
0d14705d6a
string changes 2022-01-23 12:43:08 +05:30
Kovid Goyal
0172b61217
Edit book: Preview panel: Fix hyphenation at end of line being rendered as boxes on macOS. Fixes #1958730 [Ebook editor: Breaking long words at the ends of lines causing boxes to be rendered instead of hyphens on macOS](https://bugs.launchpad.net/calibre/+bug/1958730) 2022-01-23 11:44:37 +05:30
Kovid Goyal
f689517d1a
Fix #1954890 [[Feature Request] Content Server: Search results with number of items found](https://bugs.launchpad.net/calibre/+bug/1954890) 2022-01-19 11:04:16 +05:30
Kovid Goyal
17eee10e6a
string changes 2022-01-11 12:16:45 +05:30
Kovid Goyal
831a67d127
Add link to chromium bug for hyphenate char on macos 2022-01-08 08:36:58 +05:30
Kovid Goyal
cc96900aee
E-book viewer: Fix auto hyphenation on macOS not rendering the hyphens correctly. Fixes #1954714 [Ebook viewer: Breaking long words at the ends of lines causing boxes to be rendered instead of hyphens on macOS](https://bugs.launchpad.net/calibre/+bug/1954714) 2022-01-07 11:08:59 +05:30
Kovid Goyal
6a3309175a
E-book viewer: Remove books that dont exist from the recently opened book list. Fixes #1956192 [Feature request: possibility to remove book from recently opened books in Viewer](https://bugs.launchpad.net/calibre/+bug/1956192) 2022-01-03 12:11:17 +05:30
Kovid Goyal
0759ab8589
Fix closing open book panel not quitting viewer 2021-12-17 08:36:17 +05:30
Kovid Goyal
2c6a73534a
Fix #1953469 [Private bug](https://bugs.launchpad.net/calibre/+bug/1953469) 2021-12-15 13:33:41 +05:30
Kovid Goyal
5101ca89de
Fix #1954645 [Private bug](https://bugs.launchpad.net/calibre/+bug/1954645) 2021-12-14 20:14:55 +05:30
Kovid Goyal
07f72d2d94
E-book viewer: Fix an error when opening some books with highlights that span inline text formatting
Fixes #1954726 [epub file no longer opens](https://bugs.launchpad.net/calibre/+bug/1954726) [epub file no longer opens](https://bugs.launchpad.net/calibre/+bug/1954726)

normalize() modifies the text nodes, and can potentially result in a
previously selected node no longer having a parent causing wrap() to
throw an exception. In any case normalizing once after all nodes have
been wrapped is faster.
2021-12-14 12:30:54 +05:30
Kovid Goyal
27b2f3a92a
E-book viewer: Displays links marked up as glossary and bibliography links as popups. Fixes #1954715 [Support ARIA doc-biblioref and doc-glossref](https://bugs.launchpad.net/calibre/+bug/1954715) 2021-12-14 11:54:03 +05:30
Kovid Goyal
4fa03c00ff
Add logging for iframe ready event 2021-11-30 08:37:34 +05:30
Kovid Goyal
ba9e65df0f
Micro-optimization when reloading iframes
Just use a url query instead of first changing to 'about:blank'
2021-11-30 08:03:44 +05:30
Kovid Goyal
bd111dc365
No need to call init() in display book since the iframe is inited at construction time 2021-11-30 00:12:20 +05:30
Kovid Goyal
ce49820ffc
E-book viewer: Fix an occassional hang on startup at "Loading section". Fixes #1950673 [Opening books using the book reader fails to load.](https://bugs.launchpad.net/calibre/+bug/1950673) 2021-11-30 00:10:37 +05:30
Kovid Goyal
d8671c8e9e
better error essage when iframe receives unexpected encrypted message 2021-11-29 22:49:48 +05:30
Kovid Goyal
416fa04d3b
Make doubly sure the ready message is sent only once 2021-11-29 22:46:29 +05:30
Kovid Goyal
ee717920ba
Add names for all iframe clients 2021-11-29 22:28:39 +05:30
Kovid Goyal
1dbbf5b73d
Fix #1952498 [[Enhancement - E-book viewer] Don't search for selection if it is a blanc space](https://bugs.launchpad.net/calibre/+bug/1952498) 2021-11-29 13:21:00 +05:30
Kovid Goyal
6a5126fe36
Dont escape - when generating CFI
Also recognize both escaped and unescaped hyphens when parsing CFI
2021-11-19 12:45:26 +05:30
Kovid Goyal
2fa3561aef
Avoid JS errors when previewing non html documents such as svg images 2021-11-19 08:15:44 +05:30
Kovid Goyal
0f7bcb432d
for e.g. -> e.g. 2021-11-11 07:42:50 +05:30
Kovid Goyal
6322ba9a1b
Pass bools_are_tristate to content server interface 2021-11-07 12:04:30 +05:30
Charles Haley
4a8f5a226a Add searching for bool, numeric etc values to the content server. 2021-11-06 17:18:47 +00:00
Kovid Goyal
ae437852be
E-book viewer: Add a button to directly open the viewer help section in the calibre user manual to the viewer controls 2021-10-24 21:21:08 +05:30
Kovid Goyal
88cf8ff2bb
E-book viewer: Read aloud: Allow right clicking to play/pause reading. Fixes #1946439 [[Enhancement - E-book viewer] Right mouse click to pause/play Read aloud](https://bugs.launchpad.net/calibre/+bug/1946439) 2021-10-21 19:55:20 +05:30
Kovid Goyal
5cb4be9000
Fix #1947178 [[Enhancement - E-book viewer] Make string translatable](https://bugs.launchpad.net/calibre/+bug/1947178) 2021-10-14 21:37:44 +05:30
Kovid Goyal
2d074400e2
E-book viewer: Fix cover and full screen images not centered in paged mode when more than one page is displayed per screen. 2021-10-12 08:21:25 +05:30
Kovid Goyal
35180e7251
E-book viewer: Allow pressing the 0-9 keys to apply a quick highlight style. Fixes #1944614 [[Enhancement] Add hotkeys for applying specific highlighting colors](https://bugs.launchpad.net/calibre/+bug/1944614) 2021-09-23 08:50:47 +05:30
Kovid Goyal
f2dcb7a967
Fix #1944615 [[Enhancement] "Remove this highlight" would benefit from another hotkey](https://bugs.launchpad.net/calibre/+bug/1944615) 2021-09-23 07:47:23 +05:30
Kovid Goyal
3f65b62e96
Fix #1944487 [TOC not aligned properly when screen width not enough](https://bugs.launchpad.net/calibre/+bug/1944487) 2021-09-22 10:43:58 +05:30
Kovid Goyal
8c18cba3a7
E-book viewer: Fix popup footnote blank when the footnote link points to a <body> tag. Fixes #1943270 [Private bug](https://bugs.launchpad.net/calibre/+bug/1943270) 2021-09-22 08:59:18 +05:30