31298 Commits

Author SHA1 Message Date
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
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
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
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
Kovid Goyal
57438b58ef
DOCX Output: Fix heading styles that have the same font size as body text getting incorrect font sizes after conversion. Fixes #1811616 [Word to EPUB changes size of Heading 2 style](https://bugs.launchpad.net/calibre/+bug/1811616) 2019-01-14 15:17:25 +05:30
Kovid Goyal
b53f33db0e
EPUB/MOBI Catalogs: Fix prefix rules not working when calibre UI language is something other than English 2019-01-14 08:39:58 +05:30
Kovid Goyal
469b633e7e
EPUB/MOBI Catalogs: Fix exclusion by tag not working for tags that have spaces in them 2019-01-14 08:37:21 +05:30
Kovid Goyal
c1bd466d07
Better fix for polish progress bar 2019-01-14 08:25:54 +05:30
Kovid Goyal
dbf8c10e4c
Subset fonts: Fix error when trying to subset unicode characters that require two UTF-16 code points on Windows. Fixes #1811224 [Can not subset embed fonts for a epub with "wide" Unicode char](https://bugs.launchpad.net/calibre/+bug/1811224) 2019-01-10 16:06:35 +05:30
Kovid Goyal
4e66140e8a
... 2019-01-07 20:09:44 +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
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
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
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
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
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) 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
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
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
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