Commit Graph

37228 Commits

Author SHA1 Message Date
Kovid Goyal 041ebc3edf Nicer way to get the current SciAm issue 2019-01-09 09:57:25 +05:30
Kovid Goyal 4e66140e8a ... 2019-01-07 20:09:44 +05:30
Kovid Goyal 962358d740 Merge branch 'master' of https://github.com/davidfor/calibre 2019-01-07 20:05:53 +05:30
David 9774ed7413 Catch exception if the series index is somehow None
I can't see how you can get to this line with the series index not set,
but someone has, and it should have been done this way for safety.
2019-01-07 23:32:02 +11:00
Kovid Goyal 7ad1640b23 ... 2019-01-07 06:47:04 +05:30
Kovid Goyal 16218882f6 Content server: Fix option to restrict displayed user field not working in the /opds view
Merge branch 'master' of https://github.com/cbhaley/calibre
2019-01-07 06:44:19 +05:30
Kovid Goyal cd2354c027 Forgot to add an entry about cssutils switching 2019-01-07 06:39:48 +05:30
Charles Haley 7f6bc63733 Finish the fix for selecting custom fields in /opds 2019-01-06 21:07:30 +00:00
Charles Haley d59dff1fb4 Fix /opds not respecting the 'advanced' displayed_fields option (Restrict displayed user-defined fields). 2019-01-06 17:19:30 +00:00
Kovid Goyal e5e558b456 Clarify how to use custom columns int he server custom book list template 2019-01-06 21:31:03 +05:30
Kovid Goyal cd69272e7d Ignore invalid keys when applying saved sort order 2019-01-06 09:07:52 +05:30
Kovid Goyal 7fa1b3ffc0 Fix #1810552 [Request: Highlight last library when removing libraries](https://bugs.launchpad.net/calibre/+bug/1810552) 2019-01-05 09:30:46 +05:30
Kovid Goyal 77ccbc4cf6 Add buttons to easily select all/none in the configuration window for the book details popup. Fixes #1786663 [Add option to hide details in the Book details window](https://bugs.launchpad.net/calibre/+bug/1786663) 2019-01-05 09:27:34 +05:30
Kovid Goyal d08e0a33e1 Implement clean for mathjax builder 2019-01-04 22:15:26 +05:30
Kovid Goyal 98a2f53d90 Remove mathjax from bootstrap since it is now under resources 2019-01-04 21:59:01 +05:30
Kovid Goyal c184fe37c7 Remove unused code 2019-01-04 21:54:57 +05:30
Kovid Goyal f78a7dad58 Do not use a compressed archive for mathjax
Improves performance for local clients such as PDF output and the
viewer. Since we have now removed the old unbundled mathjax, the file
count in the resources directory does not go up too much.
2019-01-04 21:53:06 +05:30
Kovid Goyal a15857ba14 E-book viewer: Switch to using modern MathJax with HTML rather than SVG output
Seems to work fine with the ancient WebKit the user and PDF output use
and allows us to have only a single mathjax bundled with calibre. Also,
the SVG backend in unmaintained, so the HTML backend is more robust
going forward.
2019-01-04 19:00:04 +05:30
Kovid Goyal 31917db14f Tag browser: Fix incorrect icon for user categories. Fixes #1810217 [[Enhancement] User category icon](https://bugs.launchpad.net/calibre/+bug/1810217)
Merge branch 'master' of https://github.com/cbhaley/calibre
2019-01-04 18:29:35 +05:30
Charles Haley a8bcc2985a Fix the tag browser not using the existing user category icon (tb_folder.png). Alternate fix for #1810217.
Note: the icon suggested in the enhancement request requires attribution, so I didn't use it.
2019-01-04 12:41:12 +00:00
Kovid Goyal 786b9d841b Forgot to change the template as well 2019-01-04 11:13:06 +05:30
Kovid Goyal 632aa27781 ... 2019-01-04 11:11:45 +05:30
Kovid Goyal 9d060c96ea ... 2019-01-04 11:06:50 +05:30
Kovid Goyal cb5b06c556 Edit book: Insert link: Add history for the template 2019-01-04 10:58:18 +05:30
Kovid Goyal 8ef42dafc5 Edit book: Insert hyperlink: Add a few more variables for the link template: _SOURCE_FILENAME_, _DEST_FILENAME_ and _ANCHOR_ 2019-01-04 10:38:09 +05:30
Kovid Goyal e190bdaf21 Fix #1810447 [Polish multiple books counts down from 100% to 0%](https://bugs.launchpad.net/calibre/+bug/1810447) v3.37.0 2019-01-04 06:35:30 +05:30
Kovid Goyal 2d9362905f version 3.37.0 2019-01-04 06:31:27 +05:30
Kovid Goyal 3c972def4f Update embedded rapydscript
Fixes strings with double quotes in them not being translated on the
server.
2019-01-03 17:46:24 +05:30
Kovid Goyal bbae28f6a8 calibredb: Fix adding books from directories to a remote server running on windows not working 2019-01-03 16:35:07 +05:30
Kovid Goyal dd7d8ea3c4 Switch from cssutils to css-parser
css-parser is a new fork of the unmaintained cssutils.
See https://github.com/ebook-utils/css-parser
2019-01-02 21:49:02 +05:30
Kovid Goyal 3f57acc815 pep8 2019-01-02 12:41:29 +05:30
Kovid Goyal d573c8e739 ... 2019-01-02 10:52:12 +05:30
Kovid Goyal f19fda0857 Update Il Post 2019-01-02 10:41:31 +05:30
Kovid Goyal dde3ae0416 Edit Book: Fix style attribute on <html> tags not being preserved. Fixes #1810193 [ebook-edit drops STYLE attribute from HTML tags](https://bugs.launchpad.net/calibre/+bug/1810193) 2019-01-02 09:28:34 +05:30
Kovid Goyal 84326d407c Get Books: Use an external browser for Google Books
Fixes #1810205 [get books/store/google won't let me log into my google account](https://bugs.launchpad.net/calibre/+bug/1810205)
2019-01-02 08:51:04 +05:30
Kovid Goyal f3543137ea ... 2018-12-31 19:12:10 +05:30
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