42757 Commits

Author SHA1 Message Date
Charles Haley
13732b15d8 Rewrite much of the template language manual document.
The commit on 27 Feb isn't good. The manual page should be regenerated from this commit.
2021-02-28 16:13:55 +00:00
Kovid Goyal
758df1e758
Move generation of dynamic rst files to setup() rather than an event callback 2021-02-28 20:15:20 +05:30
Kovid Goyal
9457085fc8
Remove no longer needed monkeypatch 2021-02-28 19:59:49 +05:30
Kovid Goyal
86b26119f0
Get rid of the workaround for cyrillic in the manual latex builder by not using a cyrillic example 2021-02-28 19:45:58 +05:30
Kovid Goyal
d003a61ebe
Sadly the better fix did not work
so go back to mokeypatching
2021-02-28 19:13:11 +05:30
Kovid Goyal
406838dc7d
Better fix for sphinx latex breakage 2021-02-28 13:26:01 +05:30
Kovid Goyal
a0564ea47d
Fix sphinx warnings 2021-02-28 13:13:25 +05:30
Kovid Goyal
0be56041fb
Workaround for bug in newer versions of sphinx
See https://github.com/sphinx-doc/sphinx/issues/8936
2021-02-28 13:03:10 +05:30
Kovid Goyal
195f61d51a
Fix a regression in the previous release that broke sending of emails with text longer than 900 characters 2021-02-27 22:26:21 +05:30
Kovid Goyal
14ab03a101
pep8 2021-02-27 21:07:28 +05:30
Kovid Goyal
0d55e17062
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-27 21:06:43 +05:30
Charles Haley
ac9c9d6ab5 Various improvements:
1) Changes to the template program language discussed in https://www.mobileread.com/forums/showthread.php?t=337668
2) General improvement of the template documentation, including documentation of the above changes. I looked at the changes using a markdown interpreter, but there might be problems exposed by generation of the web page.
3) Focus the program text box when opening the template dialog
4) Small changes to non-built-in template functions to improve performance
2021-02-27 14:20:10 +00:00
Kovid Goyal
eeb7672774
Edit book: Fix handling of file:// URLs when downloading external links 2021-02-27 10:01:50 +05:30
Kovid Goyal
4279f12183
version 5.12.0 v5.12.0 2021-02-26 08:35:01 +05:30
Kovid Goyal
3233429146
Merge branch 'vendor' of https://github.com/eli-schwartz/calibre 2021-02-26 08:13:56 +05:30
Eli Schwartz
56c735e060
Bump bundled liberation fonts from 2.1.1 to 2.1.3 2021-02-25 16:35:40 -05:00
Kovid Goyal
65128bb530
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-25 22:14:32 +05:30
Charles Haley
7a18631b8f Improvement to template function raw_field: an optional second argument providing the default if the field is None. 2021-02-25 16:04:56 +00:00
Kovid Goyal
4bcef601b2
Fix recipes for change in BBC's JSON markup 2021-02-25 15:37:32 +05:30
Kovid Goyal
1e6702fbc1
Speedup detection of character encoding when declaration is absent by using a native code implementation (ccharset) 2021-02-25 15:02:48 +05:30
Kovid Goyal
36ffc2b3cf
String changes 2021-02-25 12:20:57 +05:30
Kovid Goyal
6222ec8a70
E-book viewer: When searching start the search from the current position, jumping to the first match at or after the current page. Fixes #1915773 [E-book viewer: searching should select the first match from the current postion, not from the beginning of the book](https://bugs.launchpad.net/calibre/+bug/1915773) 2021-02-25 09:06:13 +05:30
Kovid Goyal
d5cb3aa7c0
String changes 2021-02-25 07:28:16 +05:30
Kovid Goyal
c69f2851f3
String changes 2021-02-24 21:59:53 +05:30
Kovid Goyal
baea16dde4
Fix #1915775 [E-book viewer: Reset interface button needs a confirmation dialogue](https://bugs.launchpad.net/calibre/+bug/1915775) 2021-02-24 14:59:30 +05:30
Kovid Goyal
66a7213c27
Start searching at current spine item 2021-02-24 12:21:52 +05:30
Kovid Goyal
8799260f2f
string changes 2021-02-24 08:52:51 +05:30
Kovid Goyal
e47448de2e
Fix #1916653 [[Enhancement] Download news source by double clicking](https://bugs.launchpad.net/calibre/+bug/1916653) 2021-02-24 08:45:31 +05:30
Kovid Goyal
b0996fa9ad
Also fix saving in outbox 2021-02-23 22:09:03 +05:30
Kovid Goyal
98da158ca6
py3 compat when sending emails with non-ascii content 2021-02-23 21:44:11 +05:30
Kovid Goyal
1d3f6d3dd9
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-23 15:48:22 +05:30
Charles Haley
a3c8793c6a Template language improvements:
1) added the infix compare operator 'in'. Usage: pattern in expression.
2) added the template function list_count_matching()
3) documentation for the above.
2021-02-23 10:14:20 +00:00
Kovid Goyal
76b0b6ad65
Add a context menu for categories in files browser to allow easily selecting/de-selecting all items in a category 2021-02-23 13:58:08 +05:30
Kovid Goyal
6e86fb0698
Edit book: File browser: Show total size of items in category when hovering over category with mouse 2021-02-23 11:01:33 +05:30
Kovid Goyal
65eda67d7c
Python 3.7 compat 2021-02-23 09:59:16 +05:30
Kovid Goyal
dc9a13864b
E-book viewer: Fix selection popup bar sometimes going off screen when dragging up to the top line of text. Fixes #1915685 [ebook-viewer: Selection dialog may render partway off-screen](https://bugs.launchpad.net/calibre/+bug/1915685) 2021-02-23 09:57:30 +05:30
Kovid Goyal
6e73715533
Fix #1915768 [At one stage calibre welcome wizard only partially switches to the chosen language](https://bugs.launchpad.net/calibre/+bug/1915768) 2021-02-23 09:30:23 +05:30
Kovid Goyal
3a1aff810c
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-22 17:24:23 +05:30
Charles Haley
a12165e01b Template language changes:
1) add the possibility to specify a separator in a for statement.
2) add the template function list_remove_duplicates()
2021-02-22 11:43:19 +00:00
Kovid Goyal
f6235a1845
E-book viewer: Have the Table of Contents view automatically scroll to keep the chapter being read currently visible. Fixes #1916411 [Enhancement Request: ToC Behavior - Default to Current Chapter](https://bugs.launchpad.net/calibre/+bug/1916411) 2021-02-22 09:53:46 +05:30
Kovid Goyal
4d6d25a788
Merge branch 'master' of https://github.com/josdion/calibre 2021-02-21 19:07:35 +05:30
josdion
ac35a28c5e Remove EKnigi store
The web site e-knigi.net is down and domain is for sale.

Here is the messages from the web site owner:
Unfortunately, E-knigi.net no longer exists.
If anyone wants to buy the name, write to valtodorov at gmail.com
2021-02-21 13:33:15 +02:00
Kovid Goyal
8dd82b116e
pep8 2021-02-21 16:42:32 +05:30
Kovid Goyal
59d43a21c7
Merge branch 'master' of https://github.com/josdion/calibre 2021-02-21 16:38:54 +05:30
josdion
4fc67c81a4 Fix biblio store
Update html parser to be consistent with the current version of the site.
2021-02-21 12:55:40 +02:00
Kovid Goyal
f72f500e47
Merge branch 'master' of https://github.com/davidfor/calibre 2021-02-21 11:22:19 +05:30
David
58a7565500 Add option for cover letterbox color to KoboTouch driver
Plus bump the supported firmware version the recent release.
2021-02-21 16:24:13 +11:00
Kovid Goyal
1609cec78c
Merge branch 'master' of https://github.com/cbhaley/calibre 2021-02-21 07:56:35 +05:30
Kovid Goyal
fb9930a439
Merge branch 'master' of https://github.com/josdion/calibre 2021-02-21 07:56:11 +05:30
josdion
7d9ebf412d Fix chitanka store
Update html parser to be consistent with the current version of the site.
2021-02-21 01:00:56 +02:00