Kovid Goyal
49dd0a2d03
Merge branch 'revendor' of https://github.com/eli-schwartz/calibre
2019-12-03 08:57:25 +05:30
Eli Schwartz
11d6b27ec7
setup: port over the hyphenation dictionary code to ReVendor()
...
This makes it automatically support being passed an alternative url, or
an extracted directory.
2019-12-02 21:05:51 -05:00
Eli Schwartz
a66e562b08
setup: refactor mathjax class into generic class for vendoring things
2019-12-02 21:05:51 -05:00
Kovid Goyal
14819b4ec7
PDF Output: Fix the option to break long words at the end of lines not working since calibre 4. Fixes #1854349 [pdf-hyphenate no longer hyphenating pdfs]( https://bugs.launchpad.net/calibre/+bug/1854349 ) [pdf-hyphenate no longer hyphenating pdfs]( https://bugs.launchpad.net/calibre/+bug/1854349 )
2019-12-02 20:32:26 +05:30
Kovid Goyal
e757597971
Polish books: Add a tool to add or remove soft hyphens from the book text
2019-12-02 20:26:36 +05:30
Kovid Goyal
6625560e81
Make algorithm non recursive to avoid failure on deeply nested tags
2019-12-02 18:42:37 +05:30
Kovid Goyal
7f85f0b531
Implement hyphenation of HTML
2019-12-02 17:15:06 +05:30
Kovid Goyal
9d9cd957f2
Fix failing test
2019-12-02 15:15:31 +05:30
Kovid Goyal
a8cb5c96ba
Clear caches per test rather than per class
2019-12-02 14:56:35 +05:30
Kovid Goyal
1e5de81544
Function to hyphenate individual words, sans surrounding punctuation
2019-12-02 14:44:54 +05:30
Kovid Goyal
aa1f52460e
Function to remove surrounding punctuation
2019-12-01 20:03:18 +05:30
Kovid Goyal
c344ef0775
Fix #1854616 [[Enhancement] Add separator in Fonts preferences]( https://bugs.launchpad.net/calibre/+bug/1854616 )
2019-12-01 18:14:00 +05:30
Kovid Goyal
d6ee7238bb
Viewer: Auto-expand entries in the Table of Contents when viewing the corresponding location in the book.
2019-12-01 14:23:57 +05:30
Kovid Goyal
ccce39da50
Viewer: When creating a new bookmark ifthere is selected text use it as the default bookmark title. Fixes #1854611 [Feature request: Highlighter and Bookmark]( https://bugs.launchpad.net/calibre/+bug/1854611 )
2019-12-01 14:09:41 +05:30
Kovid Goyal
0abd0d88ee
Test cache usage
2019-12-01 13:40:29 +05:30
Kovid Goyal
cd4f231d74
Code to get path to dictionaries
2019-12-01 13:29:19 +05:30
Kovid Goyal
b16b5535bf
Implement mapping of locales to dictionary names
2019-12-01 10:50:32 +05:30
Kovid Goyal
fd4db9e8ed
Make building the dictionaries tarfile reproducible
2019-11-30 21:20:40 +05:30
Kovid Goyal
8081805208
Dont rely on external tar to compress dictionaries
2019-11-30 21:06:37 +05:30
Kovid Goyal
5f46b06dc9
Generate a hash of the hyphenation dicts for cache updates
2019-11-30 20:50:06 +05:30
Kovid Goyal
2a8875f864
...
2019-11-30 20:40:25 +05:30
Kovid Goyal
ae3417cc5b
Forgot to actually rename the lzma package
2019-11-30 18:01:52 +05:30
Kovid Goyal
5c1b69f5b9
Add hyphen dependency
2019-11-30 17:58:57 +05:30
Kovid Goyal
02b5cdb24c
Install hyphen on Arch CI build
2019-11-30 17:22:29 +05:30
Kovid Goyal
b62a5af46c
Rename lzma module to calibre_lzma
2019-11-30 16:52:34 +05:30
Kovid Goyal
4a45f32357
Start work on libhyphen wrapper
2019-11-30 16:48:27 +05:30
Kovid Goyal
41791d1e4d
...
2019-11-30 13:25:05 +05:30
Kovid Goyal
9bd07a9b8f
Show image at natural size when unchecking fit image
2019-11-30 13:24:33 +05:30
Kovid Goyal
1c54eb1648
Code to fetch hyphenation dictionaries
2019-11-30 10:59:45 +05:30
Kovid Goyal
f57d45de8d
Merge branch 'apnx_txt' of https://github.com/jps-e/calibre
2019-11-30 03:51:41 +05:30
jps-e
eec98e8f52
Update "Page Mapping Header" information.
...
Add URL for MobileRead APNX wiki page.
2019-11-29 13:53:48 -08:00
Kovid Goyal
d867756bbb
Fix resizing behavior of user categories editor
2019-11-29 09:54:31 +05:30
Kovid Goyal
e38ed4bda3
String changes
2019-11-29 09:46:24 +05:30
Kovid Goyal
30ed603583
Fix #1854422 [[Enhancement] Center the imaga in View image window]( https://bugs.launchpad.net/calibre/+bug/1854422 )
2019-11-29 09:44:53 +05:30
Kovid Goyal
789a78ce39
Remove border from cover in conversion dialog as well
2019-11-29 09:25:09 +05:30
Kovid Goyal
e4ef69b78f
More vertical font merging typos
2019-11-29 09:17:42 +05:30
Kovid Goyal
51d434ecea
version 4.5.0
v4.5.0
2019-11-29 02:54:00 +05:30
Kovid Goyal
08efb46599
PDF Output: Fix incorrect rendering if the input document has too many anchors. Fixes #1854345 [too many ids in input causes zoomed out converted pdf]( https://bugs.launchpad.net/calibre/+bug/1854345 )
2019-11-28 17:38:13 +05:30
Kovid Goyal
163b2dfd2d
Driver for the new PocketBook Inkpad X
...
Fixes #1854335 [Driver for PocketBook Inkpad X](https://bugs.launchpad.net/calibre/+bug/1854335 )
2019-11-28 16:44:56 +05:30
Kovid Goyal
08674935c1
Handle missing title a bit better
2019-11-28 16:38:44 +05:30
Kovid Goyal
8db03fd0c8
...
2019-11-28 14:07:44 +05:30
Kovid Goyal
246534e5e5
Fix #1853673 [[Enhancement] Remove frame around cover in the Edit metadata window]( https://bugs.launchpad.net/calibre/+bug/1853673 )
2019-11-28 14:03:32 +05:30
Kovid Goyal
d717e5d368
Viewer: And Enter as shortcut for find next match
2019-11-28 11:57:45 +05:30
Kovid Goyal
808856eabe
Edit book: Create @font-face rules when importing multiple font files into book automatically, similar to how it is done when importing a single font file.
2019-11-28 11:23:11 +05:30
Kovid Goyal
c091461b99
Dont delete toc pages if they empty PDF file
2019-11-28 10:52:42 +05:30
Kovid Goyal
fdc0c7cf7e
Fix a regression that could cause window layout settings to sometimes not be saved during shutdown
2019-11-27 09:13:15 +05:30
Kovid Goyal
8cf8421385
Merge branch 'master' of https://github.com/mihalyr/calibre
2019-11-27 07:34:56 +05:30
Robert Mihaly
e86be7b3bc
Fix Czech local time handling in Denik N recipe
...
Using strftime requires locale change which is not thread safe.
Keeping it simple and using a hardcoded list of day and month names,
this should work the same way on python 2 and 3 as well.
2019-11-26 20:21:40 +01:00
Kovid Goyal
c821f59818
Driver for the new Bookeen Diva HD
...
Fixes #1854063 [Driver for Bookeen Diva HD](https://bugs.launchpad.net/calibre/+bug/1854063 )
2019-11-26 22:13:13 +05:30
Kovid Goyal
6144b06e47
Fix O_NONBLOCK for self pipe on macOS
2019-11-25 09:23:20 +05:30