31298 Commits

Author SHA1 Message Date
Kovid Goyal
637ddf7d4e
Edit book: Allow copying files from one editor instance to another by right clicking on them in the File browser 2019-02-10 13:23:57 +05:30
Kovid Goyal
30da5e1061
Allow setting bytes data in registry keys 2019-02-10 12:42:36 +05:30
Kovid Goyal
2866c8dcbf
calibredb: Fix adding books with an OPF file to a remote server not picking up the cover specified in the OPF file 2019-02-07 13:56:37 +05:30
Kovid Goyal
87ff440f74
TXT Input: Use markdown 3.0 with support for new extensions such as code highlighting and smarten punctuation.
Fixes #927 (Devendor markdown and feedparser)
2019-02-07 13:19:01 +05:30
Kovid Goyal
d436e2d756
Add a build test for feedparser 2019-02-07 11:07:18 +05:30
Kovid Goyal
0c77b8503a
Remove vendored copy of feedparser 2019-02-07 10:52:48 +05:30
Kovid Goyal
362a3f4088
Add test to ensure that all markdown extensions are present 2019-02-07 10:38:03 +05:30
Kovid Goyal
6b64c0111d
pep8 2019-02-07 10:07:18 +05:30
Kovid Goyal
2e141a6175
TXT Input: Fix option to remove indents at the start of lines breaking conversion of markdown documents. Fixes #1814989 ["Remove indents at the beginning of lines" setting removes paragraph breaks in conversion](https://bugs.launchpad.net/calibre/+bug/1814989) 2019-02-07 10:03:43 +05:30
Kovid Goyal
215c05d2e2
Sort keys in JSON config files for easier diffing
Fixes #1814990 [Sort JSON keys in configuration files](https://bugs.launchpad.net/calibre/+bug/1814990)
2019-02-07 09:51:04 +05:30
Kovid Goyal
aafc038b17
Move replacement of nbsp in pdftohtml output from pipeline to input plugin. Makes viewing PDF in the viewer a bit better. See #1814626 (Text goes over to other page) 2019-02-05 13:21:58 +05:30
Kovid Goyal
58442a478a
RPUB/MOBI Catalog generation: Allow matching empty fields in exclusion rules. Fixes #1814458 [catalog builder ignore "any" and "undefined"](https://bugs.launchpad.net/calibre/+bug/1814458) 2019-02-04 19:34:11 +05:30
Kovid Goyal
7c5184cef8
Simplify elif chain 2019-02-04 13:54:13 +05:30
Kovid Goyal
afa9120940
EPUB/MOBI Catalogs: Fix multiple books with the same title but different authors in a genre not being listed. Fixes #1415990 [Duplicate titles not showing in catalog](https://bugs.launchpad.net/calibre/+bug/1415990) 2019-02-04 11:18:59 +05:30
Kovid Goyal
b287374cdd
version 3.39.1 2019-02-01 23:13:29 +05:30
Kovid Goyal
437170afe9
Fix a regression in 3.39 that caused a harmless error message when using copy to library for books that have been converted
Fixes #1814279 [3.39 breaks copying between libraries using the GUI](https://bugs.launchpad.net/calibre/+bug/1814279)
2019-02-01 23:07:59 +05:30
Kovid Goyal
b1c9b2ba71
version 3.39.0 2019-02-01 08:54:52 +05:30
Kovid Goyal
b0e7526a0d
Open With: Fix using .bat files as the program not working. Fixes #1811045 [Open With won't run BAT files](https://bugs.launchpad.net/calibre/+bug/1811045) 2019-01-31 13:56:03 +05:30
Kovid Goyal
6dba8ca536
Also allow .cmd files in open with 2019-01-31 13:45:57 +05:30
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
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
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
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
be713e1a80
Fix error when calling goto_sourceline with no tags 2019-01-19 18:06:31 +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
5c335d0418
version 3.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
Kovid Goyal
22ff7be0ee
version 3.38.0 2019-01-18 07:32:07 +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