Commit Graph

37284 Commits

Author SHA1 Message Date
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
Kovid Goyal 51e6cf8ac4 Compress news images when downloading from chicago tribune 2019-01-17 11:39:01 +05:30
Kovid Goyal 32e5760eea Catalogs: Set the language of created catalogs to the calibre interface language instead of English
Fixes #1810936 [Feature: language in metadata of created catalog set to calibre installation language](https://bugs.launchpad.net/calibre/+bug/1810936)
2019-01-17 10:40:44 +05:30
Kovid Goyal b011cddc4a Update Chicago Tribune 2019-01-17 10:08:43 +05:30
Kovid Goyal 59daec1634 String changes 2019-01-17 09:50:06 +05:30
Kovid Goyal 2ae2d14d62 Rapydscript must be built after mathjax 2019-01-17 09:36:16 +05:30
Kovid Goyal 64ad30d910 Content server: Fix a regression in the previous release that broke viewing math ebooks in the browser viewer. Fixes #1810884 [recent changes to mathjax broke server](https://bugs.launchpad.net/calibre/+bug/1810884) 2019-01-17 09:25:55 +05:30
Kovid Goyal 473bff43e3 Fix exception when trying to read ajax responsetext in error handler 2019-01-17 09:21:50 +05:30
Kovid Goyal ecb302fa04 Update New York Times Book Review 2019-01-16 19:29:06 +05:30
Kovid Goyal 4344028bfc Tag browser: When using the Find function have unaccented characters match their accented equivalents, if the setting for it is set in Preferences->Searching 2019-01-16 10:43:36 +05:30
Kovid Goyal 57724b67b6 Modify dual stack test to account for sadness of Travis 2019-01-16 10:19:44 +05:30
Kovid Goyal 5eafba6889 Content server: Fix dual stack sockets not working on Windows 2019-01-16 10:10:36 +05:30
Kovid Goyal b00246070e Add a test for dual stack sockets 2019-01-16 09:57:52 +05:30
Kovid Goyal 0870125019 Edit book: Add a convenience function to jump to the line corresponding to a cfi
To use,

boss.show_partial_cfi_in_editor(filename, cfi)
2019-01-14 18:34:13 +05:30