1858 Commits

Author SHA1 Message Date
Kovid Goyal
5228e61a0e
Content server: Fix formatting of dates for custom columns using ISO format. Fixes #1986412 [Content Server: iso date format break in book details page](https://bugs.launchpad.net/calibre/+bug/1986412) 2022-08-13 09:05:53 +05:30
Kovid Goyal
a8b1066276
Also set color scheme for content popup iframe 2022-08-11 19:29:25 +05:30
Kovid Goyal
7a0ccb4476
Content server: Fix margin and body background color mismatch when reading books with a non-white/black color scheme. Fixes #1985058 [[Content Server] Margin colors not matching body background colors](https://bugs.launchpad.net/calibre/+bug/1985058) 2022-08-11 19:22:44 +05:30
Kovid Goyal
3796f82a00
Content server: Fix long tapping in the notes edit area incorrectly changing the highlight extent. Fixes #1983271 [[Content Server] Note window pops up but text still selectable underneath](https://bugs.launchpad.net/calibre/+bug/1983271) 2022-08-08 11:16:01 +05:30
Kovid Goyal
2346792bad
Content server: Fix light background for comments editor in dark mode 2022-07-30 14:48:27 +05:30
Kovid Goyal
8236c1c788
Content server: Fix Read button broken in 6.2.0
Forgot to delete a line from my development code
2022-07-29 14:08:42 +05:30
Kovid Goyal
59c10115e1
E-book viewer: Make cmd+f a default shortcut for search 2022-07-21 10:50:56 +05:30
Kovid Goyal
93024884de
Content server: Have the Read button open PDF files in the browsers builtin PDF viewer rather than the calibre viewer since the calibre is not well suited to PDF 2022-07-20 07:24:55 +05:30
luz paz
df439bedd1 FIx typos
Found via `codespell -q 3 -S./Changelog.*,./resources/dictionaries  -L alo,ans,pard,ro`
2022-07-18 21:52:03 -04:00
Kovid Goyal
ffeb7f5e3c
Content server: Fix a regression in 6.0 that caused incorrect rendering of comments metadata in the book details panel in dark mode. Fixes #1981886 [[Content Server] Back ground of Comments section is white on dark mode](https://bugs.launchpad.net/calibre/+bug/1981886) 2022-07-17 21:02:29 +05:30
Kovid Goyal
44551059d1
Workaround for webengine 6.3 showing spurious scrollbar in modal 2022-07-17 12:36:59 +05:30
Kovid Goyal
5635216999
... 2022-07-06 19:19:54 +05:30
Kovid Goyal
8bf10b1056
Remove note about fixed Qt bug 2022-07-06 19:19:45 +05:30
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