Commit Graph

41342 Commits

Author SHA1 Message Date
Kovid Goyal bc572ecc76 Forgot the get() method on db.prefs wrapper 2020-09-19 07:27:54 +05:30
Kovid Goyal 065becd6a6 Remove use of legacy db.prefs API where possible 2020-09-19 07:17:47 +05:30
Kovid Goyal 99bf8b9dac Apparently write_serialized is needed 2020-09-19 06:49:20 +05:30
Kovid Goyal a6587b1f3d oops forgot to protect set_namespaced() 2020-09-19 06:46:01 +05:30
Kovid Goyal 06a665012b Make ThreadSafePrefs an instance of MutableMapping
So dict(prefs) works and th etest does not need to be changed
2020-09-19 06:43:00 +05:30
Kovid Goyal 4e766ab401 Make the legacy db.prefs object thread safe 2020-09-19 06:37:54 +05:30
Kovid Goyal f4e1d5cc01 Add get/set of namespaced prefs to new DB API 2020-09-19 06:37:26 +05:30
Kovid Goyal 9ec29bb548 TXT Input: Fix incorrect splitting of txt with large chunks causing some text to be dropped. Fixes #1895888 [txt to epub missing lines](https://bugs.launchpad.net/calibre/+bug/1895888) 2020-09-17 14:05:40 +05:30
Kovid Goyal 7a4b3f61ff Move to SIP v5 2020-09-16 21:52:25 +05:30
Kovid Goyal 4659db231c Use non-monospace fonts for textarea 2020-09-15 07:30:39 +05:30
Kovid Goyal 36fd18c621 Add a context menu to the viewer highlights panel 2020-09-15 07:23:40 +05:30
Kovid Goyal 78cd807494 Fix #1895586 [[Enhancement] Show a warning before deleting a bookmark in the Bookmarks panel](https://bugs.launchpad.net/calibre/+bug/1895586) 2020-09-15 07:02:36 +05:30
Kovid Goyal 50557eb1ae Nicer error message for invalid search queries to calibredb search 2020-09-15 06:47:13 +05:30
Kovid Goyal 2196b708fa Show a dot next to highlights with notes in the viewer highlights panel 2020-09-14 20:22:32 +05:30
Kovid Goyal a4df5cc67b Dont use -b flag when calling sip
Was inexplicably removed from SIP5
2020-09-14 12:26:08 +05:30
Kovid Goyal 52cf15fc23 Fix #1895472 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895472) 2020-09-14 09:04:40 +05:30
Kovid Goyal 940342b1b1 Fix removal of multi-line highlights leaving handles in incorrect location 2020-09-14 08:35:44 +05:30
Kovid Goyal a75933fd13 pep8 2020-09-14 07:38:51 +05:30
Kovid Goyal 62b2583d0c Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-14 07:38:09 +05:30
Charles Haley fb9a388c08 Unreported bug: the V4 template language treated None values as zero. These changes make the new processor do the same thing. Also update the documentation, 2020-09-14 00:59:38 +01:00
Kovid Goyal aa1482d782 Update ProPublica
Fixes #1895457 [Pro Publica news only creates Table of Contents, no articles.](https://bugs.launchpad.net/calibre/+bug/1895457)
2020-09-13 21:39:44 +05:30
Kovid Goyal 4b58b7e550 Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-13 19:21:56 +05:30
Charles Haley 327e267177 Fix incorrect inlined raw_field function.
Sorry about this.
2020-09-13 14:43:27 +01:00
Kovid Goyal 633abaeb99 Bump beta version 2020-09-13 17:50:59 +05:30
Kovid Goyal 0fc090e2dc pep8 2020-09-13 16:57:51 +05:30
Kovid Goyal 2525cfccee Merge branch 'master' of https://github.com/cbhaley/calibre into master 2020-09-13 16:55:40 +05:30
Charles Haley 1642ac6af2 Improvements to template parser:
- performance improvement: build and save an interpretable tree instead of parsing and executing at the same time
- improve syntax error detection
- performance improvement: automatically convert "test" to "if then else", avoiding executing the unused branch
- inline raw_field (field was already inlined)
2020-09-13 12:19:18 +01:00
Kovid Goyal f479fca692 Fix #1895425 [[Enhancement] Browse annotations action in the dropdown menu for View in the toolbar](https://bugs.launchpad.net/calibre/+bug/1895425) 2020-09-13 16:46:03 +05:30
Kovid Goyal ceceff8cc3 Fix #1895368 [[Content server] Removed book show up when going through books](https://bugs.launchpad.net/calibre/+bug/1895368) 2020-09-13 16:34:53 +05:30
Kovid Goyal 1673d646d6 String changes 2020-09-13 16:07:26 +05:30
Kovid Goyal c363d790ab More accurate detection of current ToC section when highlighting 2020-09-13 16:02:41 +05:30
Kovid Goyal 28ef780d99 Disable the Arch test in CI
It's segfaulting. I cannot reproduce locally and trying to debug a
segfault on GitHub Actions is way too much work.
2020-09-13 10:45:04 +05:30
Kovid Goyal e4b21fd264 Remove unneeded env var 2020-09-13 10:41:20 +05:30
Kovid Goyal 06404ae119 Workaround for Firefox bug that broke searching backwards across file boundaries. Fixes #1895388 [Private bug](https://bugs.launchpad.net/calibre/+bug/1895388) 2020-09-13 10:25:35 +05:30
Kovid Goyal eecac78739 Invisible text should not be a fatal error 2020-09-13 10:02:08 +05:30
Kovid Goyal 639c0e1ecc Prevent default actions for all recognized shortcuts not just navigation ones 2020-09-13 09:57:40 +05:30
Kovid Goyal a7789552df Get descriptions as well when parsing economist index page 2020-09-13 08:45:33 +05:30
Kovid Goyal 40e91596fb Fix #1895287 [[Enhancement] Covers that do not fill the area are displayed at the bottom of the content server's cover grid](https://bugs.launchpad.net/calibre/+bug/1895287) 2020-09-11 19:58:21 +05:30
Kovid Goyal fc980d13a4 Fix link in turkish quick start guide 2020-09-11 13:37:53 +05:30
Kovid Goyal 66b10927fb py3 compat 2020-09-11 13:35:11 +05:30
Kovid Goyal 3946727192 rename to language base name 2020-09-11 13:24:26 +05:30
Kovid Goyal 2c1ecaab10 Merge branch 'master' of https://github.com/bcang/calibre into master 2020-09-11 13:23:27 +05:30
Kovid Goyal f87bd0f2c3 Fix momentum scrolling not working in the cover grid 2020-09-10 18:23:06 +05:30
Kovid Goyal eac6acb82a Group highlights in browser viewer highlights panel as well 2020-09-10 09:09:46 +05:30
Kovid Goyal bef5dd9bed Show swatches in browser highlights panel 2020-09-10 08:22:56 +05:30
Kovid Goyal fd6ed6cacb Tooltips for highlight styles 2020-09-10 07:53:13 +05:30
Kovid Goyal 94479386d9 calibre style: Reduce indentation in tree views 2020-09-10 07:41:43 +05:30
Kovid Goyal 91f95e52fb Update Mediapart 2020-09-09 20:14:29 +05:30
Kovid Goyal a45c2fa5a3 Bump beta version 2020-09-09 19:52:19 +05:30
Kovid Goyal 0a16855ec5 ... 2020-09-09 19:45:28 +05:30