Commit Graph

45647 Commits

Author SHA1 Message Date
Kovid Goyal 0fda25f369 Use simple HTML markup for comments formatting from Google Books 2022-08-01 07:56:45 +05:30
Kovid Goyal 5e9a3de623 Fix tests that depended on css serialization settings 2022-07-31 21:46:32 +05:30
Kovid Goyal d21e62c624 Use the same CSS serialization settings for conversion output as in the editor 2022-07-31 21:26:10 +05:30
Kovid Goyal 4654159899 Workaround for css-parser not serializing @supports rules correctly 2022-07-31 21:24:06 +05:30
Kovid Goyal 5de21eddab increase timeout for preparing books to 10 mins for very large books/slow machines 2022-07-31 21:17:31 +05:30
Kovid Goyal bfc2c86a52 Highlight break-inside 2022-07-31 21:16:11 +05:30
Kovid Goyal 6535d9acd2 E-book viewer: Speed up initial render of books with lots of CSS by not prettying the CSS
Also works around a bug in css-parser where prettying certain types of
stylesheets breaks them.
2022-07-31 20:04:41 +05:30
Kovid Goyal d130d81319 ... 2022-07-31 14:33:32 +05:30
Kovid Goyal b17fd29136 Micro optimization: Avoid using the DB API and thereby acquiring a lock just to read column coloring/icon preferences 2022-07-31 14:15:57 +05:30
Kovid Goyal 0bba6484d1 Use the monotonic clock 2022-07-31 14:13:55 +05:30
Kovid Goyal cd1a36c5fe Amazon metadata download: Fallback to using DDG if Google starts returning too many request errors 2022-07-31 13:57:01 +05:30
Kovid Goyal e82a9274e7 Change the test to actually test using web search 2022-07-31 12:09:40 +05:30
Kovid Goyal a02453245c make setting of google consent cookie thread safe 2022-07-31 12:01:14 +05:30
Kovid Goyal 7bc0399bda Allow directly querying the google web cache as well 2022-07-31 11:57:44 +05:30
Kovid Goyal 0f764be26f ... 2022-07-31 10:27:33 +05:30
Kovid Goyal 25b3d5b054 Also recognize para breaks when the involved characters are quotes or parentheses 2022-07-31 09:32:31 +05:30
Kovid Goyal 353dd847d1 Fix #1983126 [Metadata download: Paragraph breaks not working for Google](https://bugs.launchpad.net/calibre/+bug/1983126) 2022-07-31 09:26:01 +05:30
Kovid Goyal 94dbef4f80 Output to stderr when running sources test 2022-07-31 09:20:41 +05:30
Kovid Goyal 3e05244ae9 Also increase the time between visits to a search engine to two seconds 2022-07-31 09:09:31 +05:30
Kovid Goyal a7662ea9b1 Google books metadata download: Only do a web search when a search via the API returns no matches
This results in less queries to the google web search engine and
hopefully allows people to download metadata for more books before
google starts blocking their IPs.
2022-07-31 09:04:53 +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 96d9f39ad0 Check library: Fix popup about check being performed not being rendered
The vacuum locks the db and there are various events on the GUI thread
that can cause db access which causes the GUI thread to hang. Find and
fix the most common of these. It isnt a complete solution, but its
better than nothing.
2022-07-30 00:05:32 +05:30
Kovid Goyal 1b1715b8fe ... 2022-07-29 23:48:54 +05:30
Kovid Goyal df6ddce8a2 Make debug db locking a little nicer to use 2022-07-29 23:31:18 +05:30
Kovid Goyal a6b6d83d31 Dont store a reference to the DB in the scheduler 2022-07-29 23:25:28 +05:30
Kovid Goyal df2db001ba Cleanup DBCheck dialog 2022-07-29 17:55:39 +05:30
Kovid Goyal 7938c4667f Fix vacuum not running on FTS db 2022-07-29 17:28:16 +05:30
Kovid Goyal c628c38cc4 version 6.2.1 v6.2.1 2022-07-29 14:12:04 +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 47acad4e3d ... 2022-07-29 13:15:23 +05:30
Kovid Goyal 02375b78bf ... 2022-07-29 12:58:57 +05:30
Kovid Goyal 64cd64731b version 6.2.0 v6.2.0 2022-07-29 07:06:07 +05:30
Kovid Goyal 761f5ffe8c Make rate limiting of search engine queries inter-process rather than per process 2022-07-28 22:45:34 +05:30
Kovid Goyal 8b01843531 Remove all punctuation when checking tokens 2022-07-28 22:40:03 +05:30
Kovid Goyal 17b65bbc49 oops 2022-07-28 22:30:20 +05:30
Kovid Goyal 3f550d5382 Check that search result urls startwith https://books.google
Dont trust google web search to always return google books results
2022-07-28 21:26:25 +05:30
Kovid Goyal 21bb0ce833 optimize some images 2022-07-28 20:13:47 +05:30
Kovid Goyal 9488e9f8af more russian and ukranian news sources by bugmen00t 2022-07-28 08:06:14 +05:30
Kovid Goyal 294ff22c63 ... 2022-07-28 07:51:14 +05:30
Kovid Goyal f0342a3d31 Update Frontline 2022-07-28 07:22:31 +05:30
Kovid Goyal 7df0187962 Update HBR 2022-07-27 18:31:44 +05:30
Kovid Goyal 525988b151 Update Spectator recipe to use new markup
However, the spectator server randomnly serves the old markup but its
impossible to get main.js so things dont actually work
2022-07-27 14:37:18 +05:30
Kovid Goyal 28070b6661 FB2 Input: Fix a regression in 6.0 that broke conversion of FB2 on macOS. Fixes #1982743 [failed to convert fb2](https://bugs.launchpad.net/calibre/+bug/1982743) 2022-07-27 12:12:51 +05:30
Kovid Goyal 11345abc31 Update The Australian 2022-07-27 11:13:12 +05:30
Kovid Goyal f2a3233e9a Bump versions of xml libs
Seeing crashes with libxslt involvement on macOS needs further
investigation, but maybe bumping  the versions will fix it.
2022-07-27 11:10:38 +05:30
Kovid Goyal 421ab3a348 optimize various favicons 2022-07-26 22:00:55 +05:30
Kovid Goyal efcb8d5bc5 more russian and ukranian news sources by bugmen00t 2022-07-26 22:00:19 +05:30
Kovid Goyal d19150f852 Metadata download from Google: Switch to making the queries via a Google web search as this finds some books that searching via the API does not. Fixes #1982502 [Google metadata download suboptimal search](https://bugs.launchpad.net/calibre/+bug/1982502) 2022-07-26 21:51:03 +05:30
Kovid Goyal 25fb58adfe Refactor google functions to support tbm and uncached results 2022-07-26 21:41:45 +05:30
Kovid Goyal 287f13ce24 Merge branch 'patch-1' of https://github.com/ichn-hu/calibre 2022-07-26 18:56:43 +05:30