33789 Commits

Author SHA1 Message Date
Kovid Goyal
508200f8e9
Start work on fast CSS transformer 2021-03-06 11:43:02 +05:30
Charles Haley
5531796d40 Improvements to the template documentation 2021-03-05 14:38:57 +00:00
Kovid Goyal
5d126692f8
Fix #1917889 [carlibre epub reader got a bug](https://bugs.launchpad.net/calibre/+bug/1917889) 2021-03-05 19:38:18 +05:30
Kovid Goyal
b3a485b3ea
String changes 2021-03-05 09:13:26 +05:30
Kovid Goyal
6468dfd58d
... 2021-03-04 20:51:59 +05:30
Kovid Goyal
57650d92d1
Virtualize network access when running RS tests 2021-03-04 14:48:58 +05:30
Kovid Goyal
c851eaf67a
Fix #1917675 [[Enhancement] Strings not translatable in Plugins screen](https://bugs.launchpad.net/calibre/+bug/1917675) 2021-03-04 08:22:46 +05:30
Kovid Goyal
0035e8b65d
Better timing reporting for viewer in debug mode 2021-03-02 10:06:46 +05:30
Kovid Goyal
20f4e43044
PDF input: Replace U+2029 with spaces. See #1917386 (search & replace doesnt work with "newlines" in PDF to MOBI conversion) 2021-03-02 08:50:22 +05:30
Kovid Goyal
3b79e215e8
Port most remaining references to PyQt5 2021-03-01 16:22:00 +05:30
Kovid Goyal
dae94f64ee
Initial auto-conversion of PyQt imports 2021-03-01 14:38:47 +05:30
Kovid Goyal
203707010d
Shortcut module to ease importing PyQt names 2021-03-01 14:08:56 +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
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
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 2021-02-26 08:35:01 +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
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
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
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
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
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
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
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
Charles Haley
456adc2f2b Fix bug in template function subitems that allowed empty items in the returned value 2021-02-20 16:57:16 +00:00
Charles Haley
4cd6f6f1f5 Fix bug in template 'for' where loop variables are not stripped. 2021-02-19 13:26:53 +00:00
Yegor Timoshenko
2dd8ec37d2
Use an em dash to separate window title fragments
See the discussion here: https://bugzilla.mozilla.org/show_bug.cgi?id=1279647
2021-02-18 22:37:46 +03:00
Charles Haley
8fbb8df75c Add a new template function set_globals() that sets key:value pairs in the globals dict. Also slightly improve template language documentation. 2021-02-18 16:03:45 +00:00
Charles Haley
1af28bd3ba Add template function 'is_marked()' 2021-02-17 14:43:42 +00:00
Kovid Goyal
fa4713d1f3
Making editing bytes as text alway decode as UTF-8 instead of repr() 2021-02-16 09:07:49 +05:30