Commit Graph

37192 Commits

Author SHA1 Message Date
Kovid Goyal 2e33cb5cb3 Saving to disk: Fix errors on Linux/macOS if the title/authors are long enough to make individual path components larger than 255 characters. Fixes #1807525 [[Enhancement] Filename length during saving on disk](https://bugs.launchpad.net/calibre/+bug/1807525) 2018-12-29 16:20:14 +05:30
Kovid Goyal 19b02bd063 PDF Input: Fix non-breaking spaces represented as entities in the output of pdftohtml, which breaks some search/replace expressions
Also modernize the pdftohtml module to make it more likely to work under
py3, since I was there already.
2018-12-29 13:16:42 +05:30
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
Kovid Goyal d52a471481 Merge branch 'py3' of https://github.com/eli-schwartz/calibre 2018-12-25 08:43:16 +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 d8d08a449f ... v3.36.0 2018-12-21 08:36:01 +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
Kovid Goyal e35dbe4401 Merge branch 'viewer_still_editing_shortcut' of https://github.com/keatsandyeats/calibre 2018-12-19 09:05:05 +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 f6ef5f3cf7 Fix crash when compressing mathjax on CI servers 2018-12-13 18:48:23 +05:30
Kovid Goyal b82d86bcfb Merge branch 'master' of https://github.com/davidfor/calibre 2018-12-13 18:23:45 +05:30
David de93a5d53b Change release note for KoboTouch driver in 3.35. 2018-12-13 23:51:01 +11:00
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 d97dea713a Disable logins on espn since it has moved to a JS based login system that I cannot be bothered reversing 2018-12-11 18:47:28 +05:30
Kovid Goyal b9eeeaace3 WSJ changed its todays paper markup again
Fixes #1807945 [Wall Street Journal fetch does not work](https://bugs.launchpad.net/calibre/+bug/1807945)
2018-12-11 18:25:08 +05:30
Kovid Goyal 25b8f19c01 Update Al Jazeera in English
Merge branch 'patch-1' of https://github.com/rogeliodh/calibre
2018-12-11 06:35:32 +05:30
Rogelio Domínguez Hernández 78efc02b01 Update "Al Jazeera in English"
"Al Jazeera in English" is broken currently, it only retrieves titles but no content. So I updated the recipe so content is preserved.
2018-12-10 16:14:10 -06:00
Kovid Goyal 6025101886 Merge branch 'ft-py3-icu' of https://github.com/flaviut/calibre 2018-12-10 14:01:47 +05:30
Kovid Goyal 04a1e73648 Merge branch 'ft-py3-patiencediff' of https://github.com/flaviut/calibre 2018-12-10 13:27:33 +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 a04da5322f Change recipe title and add language/author metadata 2018-12-10 11:29:57 +05:30
Kovid Goyal 36647d4762 Merge branch 'ft-py3-tokenizer' of https://github.com/flaviut/calibre 2018-12-10 11:24:10 +05:30
Kovid Goyal dca2d1a51c String changes 2018-12-10 08:36:28 +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
Flaviu Tamas 526835e555 Add cmake build directory to gitignore 2018-12-08 17:18:48 -05:00
Kovid Goyal 238c3e9158 version 3.35.0 v3.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 320487b8df Macrobusinness by 2018robert 2018-12-06 10:49:32 +05:30
Kovid Goyal d00558765d Handle change to newsweek index page 2018-12-05 10:02:39 +05:30
Kovid Goyal 65eafd1f7c Update Wired Magazine 2018-12-05 09:43: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