29007 Commits

Author SHA1 Message Date
Kovid Goyal
2fb46fb3dd
Get rid of locale storage since it does not fix the crash 2018-12-29 09:41:06 +05:30
Kovid Goyal
e47a2d888b
Update the SWIG bindings for chmlib
Also get rid of the xhm_extra module since
we dont care about searching CHM files and get_lcid can be
implemented in pure python.
2018-12-27 14:44:43 +05:30
Kovid Goyal
07f81ed878
Mark some string types as binary explicitly 2018-12-27 09:56:01 +05:30
Kovid Goyal
23f0256db7
pep8 2018-12-27 09:51:03 +05:30
Kovid Goyal
8179235f2d
Conversion: When converting with font size rescaling disabled, convert font size names to rem unit rather than pt units. Fixes #1809671 [AZW3 conversion generates font-sizes in points](https://bugs.launchpad.net/calibre/+bug/1809671)
These give better results with kindle previewer when converting to AZW3
and are more re-scaleable in general.
2018-12-26 13:33:52 +05:30
Eli Schwartz
e20566c7fc Port lzx plugin to build on python2/python3 2018-12-24 18:38:20 -05:00
Kovid Goyal
fdcd6d746c
macOS: Fix for random srashes when using the edit book tool on Mojave. Fixes #1805521 [e-book edit (3.34.0) repeatedly crashes when editing an epub file](https://bugs.launchpad.net/calibre/+bug/1805521) 2018-12-24 22:53:14 +05:30
Kovid Goyal
8d65b78abe
Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2018-12-24 17:27:41 +05:30
Kovid Goyal
0afaf3a800
Windows: When registering calibre programs as possible handlers for various file types, dont se the AllowSilentDefaultTakeOver registry key
See https://www.mobileread.com/forums/showthread.php?t=313668
2018-12-24 14:00:41 +05:30
Kovid Goyal
d10d7371ce
Use modernized names for cocoa fonts
Old names have been deprecated
2018-12-24 11:05:51 +05:30
Kovid Goyal
5b3b05a943
macOS: PDF Output: Fix bold fonts not working on Mojave. Fixes #1799750 [ebook-convert does not display bold font when converting from html to pdf on OSX Mojave](https://bugs.launchpad.net/calibre/+bug/1799750) 2018-12-24 10:32:11 +05:30
Kovid Goyal
99d967e4f6
version 3.36.0 2018-12-21 08:29:34 +05:30
Kovid Goyal
5961223f77
Add a link to the moving calibre data instructions tothe welcome wizard. Fixes #1809203 [[Enhancement] - New installs](https://bugs.launchpad.net/calibre/+bug/1809203) 2018-12-20 21:03:51 +05:30
keatsandyeats
3cfbf1c720 Improve formatting for an infobox when editing keyboard shortcuts in viewer
The box appears when the user has edited a shortcut and clicks 'OK' before
the shortcut is actually created.
2018-12-18 20:11:59 -05:00
Eli Schwartz
3fb2563d08 tokenizer: fix compile errors in merge of python3 port 2018-12-17 10:31:45 -05:00
Kovid Goyal
bf60631ce0
Avoid the need to use a patched version of MathJax
See https://github.com/mathjax/MathJax/pull/1453
2018-12-17 15:38:14 +05:30
Kovid Goyal
f18fdce33b
PDF Output: Do not fail if one of th efonts from the source document has no name metadata 2018-12-13 18:12:54 +05:30
Kovid Goyal
934cb684c1
Kobo driver: Add supported for newly released firmware update
Kobo driver: Fix a regression in the last release that caused book title
to appear as unknown if metadata management was set to manual in
calibre. Fixes #1807914 [Calibre won't read titles from Kobo Aura One](https://bugs.launchpad.net/calibre/+bug/1807914)

Merge branch 'master' of https://github.com/davidfor/calibre
2018-12-13 17:36:00 +05:30
David
4a025a3063 Fix #1807914: Title showing as "Unknown" in device list for Kobo devices
Fix for https://bugs.launchpad.net/calibre/+bug/1807914
With the last set of changes, if the metadata management was not set to
automatic, books sent to the device would have the title showing as
"Unknown" in the device list.

Also bumping supported firmware version to 4.12.12111 which has just
been released.
2018-12-13 22:39:08 +11:00
Kovid Goyal
6025101886
Merge branch 'ft-py3-icu' of https://github.com/flaviut/calibre 2018-12-10 14:01:47 +05:30
Flaviu Tamas
58909f4c74
Build ICU in py3 2018-12-10 01:50:08 -05:00
Flaviu Tamas
5186718fdd
Update patiencediff to py3 2018-12-10 01:47:20 -05:00
Kovid Goyal
7463d23777
... 2018-12-10 11:52:05 +05:30
Kovid Goyal
36647d4762
Merge branch 'ft-py3-tokenizer' of https://github.com/flaviut/calibre 2018-12-10 11:24:10 +05:30
Flaviu Tamas
5f420d7047
Fix number->size conversion 2018-12-08 17:24:28 -05:00
Flaviu Tamas
cf576342e1
Build tokenizer on py3
- The actual unicode manipulation wasn't converted to the new 3.3+
style, since it would lead to lots of ifdefs and become quite ugly. This
can be done when py2 support is dropped. The drawbacks will be
temporary slower code (there will be extra copying required).
2018-12-08 17:24:18 -05:00
Kovid Goyal
238c3e9158
version 3.35.0 2018-12-07 10:26:49 +05:30
Kovid Goyal
34746bbd94
Fix #1807266 [create_from_xpath IOError: [Errno 5] Input/output error](https://bugs.launchpad.net/calibre/+bug/1807266) 2018-12-07 08:28:03 +05:30
Kovid Goyal
184bd089c1
... 2018-12-04 17:43:32 +05:30
Kovid Goyal
988a383714
... 2018-12-02 13:44:44 +05:30
Kovid Goyal
ff059b3066
Edit book: Insert hyperlink: Allow specifying a template to control the markup that is inserted for the hyperlink. Fixes #1804250 [[enhancement] editor, insert hyperlink add <sup> option](https://bugs.launchpad.net/calibre/+bug/1804250) 2018-12-02 13:38:30 +05:30
Kovid Goyal
bbcfac91f0
Merge branch 'master' of https://github.com/davidfor/calibre 2018-12-02 07:18:23 +05:30
David
d344124481 Fix error when no author on Kobo device
And I meant to bump the driver version before.
2018-12-01 22:43:30 +11:00
Kovid Goyal
5c8f4a10a1
E-book viewer: Fix a regression that broke viewing of HTMLZ files
Fixes #1691976 [ebook-viewer cannot open htmlz-files](https://bugs.launchpad.net/calibre/+bug/1691976)
2018-12-01 13:27:10 +05:30
Kovid Goyal
2a26bb7be4
... 2018-11-21 20:02:07 +05:30
Kovid Goyal
01c47148e9
... 2018-11-20 09:17:46 +05:30
Kovid Goyal
53447245c4
Move sorting into individual handlers for popup completion requests 2018-11-19 19:48:15 +05:30
Kovid Goyal
d8dc884498
Edit book: Fix suggestions in completion popup not being sorted. Fixes #1803985 [[enhancement] editor, make auto fill a href more "natural" order](https://bugs.launchpad.net/calibre/+bug/1803985) 2018-11-19 19:42:40 +05:30
Becky
37c15fd911
A capital letter in hint. 2018-11-16 11:54:37 +01:00
Kovid Goyal
1026635639
Metadata download: Add an option (in Preferences->Metadata download) to
keep multiple results from individual metadata sources, useful if yu
prefer to pick the best result by hand and use only one or two metadata
sources. Fixes #1802293 [download metadata only keeps one book per source](https://bugs.launchpad.net/calibre/+bug/1802293)
2018-11-16 09:40:02 +05:30
Kovid Goyal
c2895cfbc0
Use lopen() in the container class 2018-11-16 08:46:32 +05:30
Kovid Goyal
c055ec3a15
Windows: Fix restarting calibre with system tray icon enabled causing duplicate defunct icons in the tray. Fixes #1803034 [Windows 7 - Icon duplicated in notification area](https://bugs.launchpad.net/calibre/+bug/1803034) 2018-11-16 08:33:26 +05:30
Kovid Goyal
37f584f90a
Kobo driver: Add an option to directly update metadata in the Kobo
device database, instead of waiting for the Kobo to update the database
after disconnecting. (Preferences->Plugins->Cusotmize the Kobo device plugin)

Merge branch 'master' of https://github.com/davidfor/calibre
2018-11-14 21:10:05 +05:30
David
265b2a506b Update metadata in Kobo database
Added options to decide to update metadata, for the Subtitle and whether
to update purchased books. The update will use a metadata plugboard if
there is one.
2018-11-14 23:14:18 +11:00
Kovid Goyal
bab04cf920
Forgot to remove leading slash in one other place 2018-11-12 09:09:34 +05:30
Kovid Goyal
c19cbe3d4a
version 3.34.0 2018-11-08 10:07:03 +05:30
Kovid Goyal
79a0a7ab58
pep8 2018-11-08 10:02:30 +05:30
Kovid Goyal
dc636725fa
EPUB Input: Handle invalid EPUB files that have their NCX documents in the spine. Fixes #1796497 [AttributeError: 'NoneType' object has no attribute 'get'](https://bugs.launchpad.net/calibre/+bug/1796497) 2018-11-08 09:52:30 +05:30
Kovid Goyal
a616a092b2
Kindle driver: Add support for new 2018 Kindle Paperwhite
Fixes #1802088 [Kindle Paperwhite 2018 is not detected (new kindle)](https://bugs.launchpad.net/calibre/+bug/1802088)
2018-11-07 20:49:35 +05:30
Kovid Goyal
b8fec63df6
fix typo 2018-11-05 21:07:21 +05:30