Commit Graph

37297 Commits

Author SHA1 Message Date
Kovid Goyal db97e7ca3d Fix merging books not updating author if the source book has no title 2019-01-31 09:28:57 +05:30
Kovid Goyal 90998fabf3 Add a test to ensure msgpack can handle large binary payloads 2019-01-30 21:55:39 +05:30
Kovid Goyal 9ef0060c33 ZIP Output: Fix an error when building the ToC on macOS for some books with non-ASCII ToC entries
Fixes #1813905 [ebook convert successfully in GUI but failed in command line](https://bugs.launchpad.net/calibre/+bug/1813905) [ebook convert successfully in GUI but failed in command line](https://bugs.launchpad.net/calibre/+bug/1813905)
2019-01-30 15:52:55 +05:30
Kovid Goyal 4590d36660 Edit book: Check book: Follow recent releases of epubcheck in expecting .ttf files to have the mime-type application/vnd.ms-opentype in EPUB 3 books 2019-01-30 15:27:49 +05:30
Kovid Goyal 8fac38cf4d Fix font mime-types not being auto-corrected when upgrading EPUBs from 2 to 3 2019-01-30 15:24:48 +05:30
Kovid Goyal b086766064 Content server: Try to detect if a book file has been edited outside of calibre and serve the updated copy 2019-01-30 14:59:33 +05:30
Kovid Goyal 6fc6abc263 Content server: Add Next/Previous buttons to the book details page 2019-01-30 10:23:31 +05:30
Kovid Goyal 768774a7be Content server: Fix heading for custom comments columns being duplicated in the book details page 2019-01-30 09:58:37 +05:30
Kovid Goyal d8ff047cb9 Content server: Fix editing metadata that affects multiple books causing all the metadata for all the books to become the same.
Fixes #1812781 [400 bad request from server API](https://bugs.launchpad.net/calibre/+bug/1812781)
2019-01-30 09:26:44 +05:30
Kovid Goyal 6ff8b2a97a Allow controlling behavior for dupes when copying to library in the server 2019-01-29 11:24:16 +05:30
Kovid Goyal 053056c0d9 Content server: Implement the "Copy to library" function. To use it click the three dots in the top right corner of a book's page and choose "Copy to library". Fixes #1810486 [[Feature] Copy to another library on the server](https://bugs.launchpad.net/calibre/+bug/1810486) 2019-01-28 14:41:59 +05:30
Kovid Goyal 0daad01a04 Better error when setting thread names on Windows 2019-01-27 21:20:35 +05:30
Kovid Goyal c81c6c13b6 ... 2019-01-27 21:16:53 +05:30
Kovid Goyal 51193d113b Dont include pthread.h on windows 2019-01-27 21:12:29 +05:30
Kovid Goyal 0bd223a88a Use native code for setting thread names
Fixes #924 (Fixed exception not caught in Startup.py thrown by "pthread_setname_np" on Linux)
2019-01-27 21:07:03 +05:30
Kovid Goyal 57a68ad841 Refactor copy to library backend code to make it re-useable
Also add tests for it
2019-01-27 19:55:52 +05:30
Kovid Goyal 4543fc14c9 Improve Spiegel Online 2019-01-27 09:53:47 +05:30
Kovid Goyal aa79ffcb1c BSI News by Volker Heggemann 2019-01-27 08:08:00 +05:30
Kovid Goyal 54c2add396 Remove not working recipe 2019-01-26 11:05:02 +05:30
Kovid Goyal a64579338c Dont download MathJax if it is already present
Fixes #1812891 [calibre-3.38.1 tries to download mathjax  during build](https://bugs.launchpad.net/calibre/+bug/1812891)
2019-01-23 08:03:00 +05:30
Kovid Goyal 8fbdd7bc9a Add a flag to cdb/set-fields to avoid needing to pass all book ids for dirtied updates 2019-01-22 13:38:33 +05:30
Kovid Goyal eab43eb63e Nicer error message for /cdb/set-fields with invalid data 2019-01-22 12:29:37 +05:30
Kovid Goyal d7d7810a44 Science Advances by Jose Ortiz 2019-01-22 09:46:27 +05:30
Kovid Goyal fda705afbe Fix editing of dates not working is the date format is set to iso. Fixes #1812560 [ISO date display format hinders editing](https://bugs.launchpad.net/calibre/+bug/1812560)
Merge branch 'master' of https://github.com/cbhaley/calibre
2019-01-21 18:08:53 +05:30
Charles Haley c8e97f6f50 Rest of fix 2019-01-21 11:34:30 +00:00
Charles Haley aa1bdda900 Sort-of fix for #1812560: editing datetimes with iso format doesn't work 2019-01-21 11:31:28 +00:00
Kovid Goyal 31ccd4f632 Forgot the @ when matching on data-lnum 2019-01-21 15:28:51 +05:30
Kovid Goyal 09345a964f Merge branch 'mathjax' of https://github.com/eli-schwartz/calibre 2019-01-21 08:23:58 +05:30
Eli Schwartz 18ad088bda build: preserve symlinks when installing
Without this, python's default behavior was to dereference the mathjax
symlinks and install the file contents instead.
2019-01-20 16:53:53 -05:00
Kovid Goyal 3f1cc2725a Ensure highlighting is done when going to sourceline 2019-01-20 15:53:53 +05:30
Kovid Goyal 804e3fbf1c Should be passing barenames to goto_sourceline 2019-01-20 12:57:16 +05:30
Kovid Goyal fd5ea1552e More robust use of goto_sourceline 2019-01-20 12:45:34 +05:30
Kovid Goyal 0a0c9039e0 Update Il Post 2019-01-20 10:42:02 +05:30
Kovid Goyal be713e1a80 Fix error when calling goto_sourceline with no tags 2019-01-19 18:06:31 +05:30
Kovid Goyal 0ac2fa0188 Mark hunspell as vendored 2019-01-19 12:17:52 +05:30
Kovid Goyal f0cc46958c Fix #1812400 [Cursor missplace on show_partial_cfi_in_editor() function](https://bugs.launchpad.net/calibre/+bug/1812400) 2019-01-19 11:52:34 +05:30
Kovid Goyal 294ef5a206 Merge branch 'mathjax' of https://github.com/eli-schwartz/calibre 2019-01-19 09:08:40 +05:30
Kovid Goyal 5c335d0418 version 3.38.1 v3.38.1 2019-01-18 20:10:27 +05:30
Kovid Goyal 8c8d520ff6 Fix #1812388 [problem with polish fonction - version 3.38](https://bugs.launchpad.net/calibre/+bug/1812388) 2019-01-18 20:00:51 +05:30
Eli Schwartz 82617d3a74 build: add option to symlink to system mathjax installation 2019-01-18 08:40:44 -05:00
Eli Schwartz 6adedd8603 setup/mathjax: fallback to using packed versions of resources
Some mathjax distributions come with the unpacked versions removed as
per the upstream instructions for optimizing an installation. Only use
the unpacked versions if they exist; otherwise fallback on the packed
versions.

Also filter the .woff files to make sure they are actually .woff files,
since they may be files like fonts.dir, fonts.scale, .uuid (created by
xorg-mkfontdir, xorg-mkfontscale, fontconfig).
2019-01-18 08:40:44 -05:00
Kovid Goyal b5dff9ba89 Fix sphinx get_toc_tree deprecation 2019-01-18 11:01:48 +05:30
Kovid Goyal bd9de17f37 Fix info() deprecation in sphinx 2019-01-18 10:55:59 +05:30
Kovid Goyal 22ff7be0ee version 3.38.0 v3.38.0 2019-01-18 07:32:07 +05:30
Kovid Goyal 60e3bece0b Update Nature 2019-01-18 06:14:22 +05:30
Kovid Goyal e4b3f75c27 Remove duplicated import 2019-01-17 20:13:10 +05:30
Kovid Goyal 49ee941c6d PDF Output: Fix conversion failing when fonts with non-English names are used. Fixes #1812218 [convert to pdf failed](https://bugs.launchpad.net/calibre/+bug/1812218) 2019-01-17 20:11:21 +05:30
Kovid Goyal 13c4366e51 Mark some vendored and generated files 2019-01-17 15:26:52 +05:30
Kovid Goyal 31bf791ad6 DOCX Input: When converting indices, put each sub-entry on its own line. See #1811611 (Word to EPUB adds a digit at the end of some chapters) 2019-01-17 15:04:51 +05:30
Kovid Goyal 78f093f1a3 DOCX Input: Do not display section breaks that have a numbering style applied to them. Fixes #1811611 [Word to EPUB adds a digit at the end of some chapters](https://bugs.launchpad.net/calibre/+bug/1811611) 2019-01-17 12:10:50 +05:30