28860 Commits

Author SHA1 Message Date
Kovid Goyal
b1435f9b44
Replace the six module with the polyglot module 2018-09-10 15:46:56 +05:30
Kovid Goyal
73a0b1ca2a
Various corrections to the py3 syntax changes 2018-09-10 14:52:00 +05:30
Flaviu Tamas
1d15fe84c0
Use six for reraise 2018-09-10 12:11:30 +05:30
Flaviu Tamas
01fbf09c0b
Undo redundant imports & new-style raises
New-style rasies need to be redone in a py2-friendly way, and the
redudant imports are redudnant and can safely be removed
2018-09-10 12:11:29 +05:30
Flaviu Tamas
8285481221
Rename xxx_todo_changeme tuples 2018-09-10 12:11:29 +05:30
Flaviu Tamas
999175cf55
Fix syntax errors manually 2018-09-10 12:11:29 +05:30
Flaviu Tamas
655ab21b0b
Fix from __future__ import order 2018-09-10 12:11:29 +05:30
Flaviu Tamas
0889ee85ec
Fix syntax errors
Command used:

futurize --no-diffs -f libfuturize.fixes.fix_print_with_import -f lib2to3.fixes.fix_throw -f lib2to3.fixes.fix_numliterals -f lib2to3.fixes.fix_except -f lib2to3.fixes.fix_exec -f lib2to3.fixes.fix_raise -f lib2to3.fixes.fix_tuple_params -f lib2to3.fixes.fix_ne -j20 -w -n setup recipes src manual setup.py recipes/*.recipe

And manual adjustments of print((...)) -> print(...)
2018-09-10 12:11:28 +05:30
Kovid Goyal
bc11157f5b
Create custom column dialog: Ensure that the format numbers field is always visible 2018-09-09 15:45:43 +05:30
Kovid Goyal
6b14a1204a
Test podofo read from file 2018-09-08 22:05:20 +05:30
Kovid Goyal
8b03d1d61a
Proper fix for podofo 0.9.6 2018-09-08 21:32:25 +05:30
Kovid Goyal
dc130d90cd
Fix #1791430 [Podofo ABI breakage in 0.9.6](https://bugs.launchpad.net/calibre/+bug/1791430) 2018-09-08 20:51:58 +05:30
Kovid Goyal
d00b9e704a
version 3.31.0 2018-09-07 07:27:32 +05:30
Kovid Goyal
77bd4f4544
Amazon metadata download: Add support for Amazon Australia (can be
configured via Preferences->Metadata download->customize the amazon
metadata source)
2018-09-06 08:20:33 +05:30
Kovid Goyal
d07f070a66
Table of Contents Edit tool: When generating from XPath's add a checkbox to control if duplicate entries at the same level are added or not. Fixes #1790761 [Generate ToC from XPath](https://bugs.launchpad.net/calibre/+bug/1790761) 2018-09-05 10:10:45 +05:30
Kovid Goyal
2fcf979b3c
Book list: Allow changing the font used for any column to bold and/or italic by right clicking on the column header and choosing "Change font style". Note that this setting is per-library so it has to be done once for the book list in every calibre library. Fixes #1758434 [[enhancement] individual column font choice](https://bugs.launchpad.net/calibre/+bug/1758434) 2018-09-05 09:46:02 +05:30
Kovid Goyal
4777eeacef
pep8 2018-09-03 07:42:20 +05:30
Kovid Goyal
db6d0dd2cb
Add a warning about missing Application Cache support to the server home page 2018-09-02 15:15:31 +05:30
Kovid Goyal
d703d0ec56
Disable offline access if application cache is not available, rather than failing. Apparently the next version of Firefox will disable app cache on HTTP sites. See https://bugs.launchpad.net/calibre/+bug/1737642 2018-09-02 08:53:51 +05:30
Kovid Goyal
1f2db06610
... 2018-08-31 10:24:25 +05:30
Kovid Goyal
2447be653b
DOCX Output: Workaround for broken CSS that uses -o-pre-wrap for the white-space property
See #1786410 (book lost its content format when converting)
2018-08-30 09:25:36 +05:30
Kovid Goyal
30b1f442a6
DOCX Input: Fix figures in newer Word documents being duplicated. Fixes #1789238 [textboxes duplcated after import from docx](https://bugs.launchpad.net/calibre/+bug/1789238)
Newer Word versions use a proprietary image markup with a fallback to
the standard form. Ignore the proprietary form and use only the
fallback, standard version when converting.
2018-08-30 08:53:27 +05:30
Kovid Goyal
03126d37f8
... 2018-08-30 07:57:21 +05:30
Kovid Goyal
07876602aa
calibre-server: Expand environment variables and ~ in the userdb path
Also, exit with a nice error if opening the userdb fails instead of
giving HTTP 500 errors on access.
2018-08-30 07:26:17 +05:30
Kovid Goyal
40302f5b83
Edit book: Allow disabling the popup to show changes after running the Fix HTML and Beautify all files tools. Fixes #1789540 [Would like checkbox to disable completion popup in editor](https://bugs.launchpad.net/calibre/+bug/1789540) 2018-08-29 14:15:03 +05:30
Kovid Goyal
823a4216ad
Metadata download: Remove the option to lookup first edition dates as the service used to get the data no longer exists
See https://www.oclc.org/developer/news/2018/xid-decommission.en.html
2018-08-29 13:21:08 +05:30
Kovid Goyal
5ced1e7ce9
... 2018-08-29 12:51:33 +05:30
Kovid Goyal
9d1090091f
Add help() to the simple repl
Fixes #1789533 [enhancements to the calibre-debug enviroment](https://bugs.launchpad.net/calibre/+bug/1789533)
2018-08-29 09:36:34 +05:30
Kovid Goyal
238c0c6c33
Add __future__ imports to simple repl 2018-08-29 09:30:55 +05:30
Kovid Goyal
23e2dbae65
Allow importing calibre_plugins in the interactive debug shell 2018-08-29 09:21:24 +05:30
Kovid Goyal
8ccd911822
... 2018-08-29 09:18:24 +05:30
Charles Haley
263f832ec9 Remove broken affiliate links in beam.de store 2018-08-26 19:46:21 +02:00
Kovid Goyal
e8958ac6e9
Make it easier to exit the simple REPL 2018-08-26 11:44:05 +05:30
Kovid Goyal
2a54e4b492
fetch-ebook-metadata.exe: Allow specifying identifiers other than just ISBN 2018-08-25 09:24:51 +05:30
Kovid Goyal
d30efc39a9
version 3.30.0 2018-08-24 07:13:47 +05:30
Kovid Goyal
1a3ed93de4
ToC Editor: When generating ToCs using headings/xpath ignore duplicate entries at the same level that have the same text. Fixes #1735799 [[Enhancement] Filter dupes in TOC editor](https://bugs.launchpad.net/calibre/+bug/1735799) 2018-08-22 13:30:17 +05:30
Kovid Goyal
a6ef8f7efd
ToC editor: Fix generating toc entries from links not working for links that start with # 2018-08-22 13:12:51 +05:30
Kovid Goyal
b20be85375
Another place where My Documents was used on windows 2018-08-22 09:39:19 +05:30
Kovid Goyal
c8d6a703c7
Windows: The default calibre library location is now not in My Documents but instead in the user home folder
This is because Microsoft now syncs My Documents to OneDrive and
calibre does not work well with multiple programs accessing its files
simultaneously on windows thanks to the mandatory file locking.

Fixes #1787488 [{Enhancement] Welcome Wizard](https://bugs.launchpad.net/calibre/+bug/1787488)
2018-08-22 09:36:43 +05:30
Kovid Goyal
aae106cdf3
... 2018-08-22 08:31:28 +05:30
Kovid Goyal
6a7c77c41c
Merge branch 'master' of github.com:kovidgoyal/calibre 2018-08-21 22:44:23 +05:30
Kovid Goyal
085e813cbc
HTML Input: Collapse multiple spaces in filenames when sanitizing them. Fixes #1788187 [When creating epub references with spaces in content.opf should be transformed in %20](https://bugs.launchpad.net/calibre/+bug/1788187) 2018-08-21 22:43:30 +05:30
Kovid Goyal
7f255f141d
Edit book: Remove matching tag: Fix incorrect removal if the remove matching function is triggered in rapid succession 2018-08-21 22:33:04 +05:30
Kovid Goyal
594d89460b
Edit book: Fix some links not being adjusted when splitting HTML files. Fixes #1787892 [Footnote not updating when file split used in editor](https://bugs.launchpad.net/calibre/+bug/1787892) 2018-08-21 13:39:17 +05:30
Kovid Goyal
ea8cf981d4
Make the create catalog dialog freely resizable
Fixes #1787523 [generate catalogue doesnt fit in 720](https://bugs.launchpad.net/calibre/+bug/1787523)
2018-08-20 13:06:26 +05:30
Kovid Goyal
3e0671ba17
Fix a crash when using some third party plugins and enabling the "two lines for text under icons" option
Fixes #1787700 [Calibre closes after remove toolbar actions](https://bugs.launchpad.net/calibre/+bug/1787700)
2018-08-20 11:47:54 +05:30
Kovid Goyal
19f83cde21
... 2018-08-20 10:07:14 +05:30
David
2058c795ce Bump supported Kobo firmware version
A new firmware version is coming. There are no changes needed except to
bump the supported firmware version.
2018-08-16 21:41:45 +10:00
Kovid Goyal
814bfc8afc
Merge branch 'master' of https://github.com/nialldaley/calibre 2018-08-14 06:51:22 +05:30
Niall Daley
758c24f920 Add a tweak to allow skipping network check on news download.
The mechanism used for checking for available network connections
may not always be accurate, so allow it to be skipped. For instance
network manager may not be aware of all available connection and
so return a false negative.

This has been added as a tweak to allow those who know what they're
doing to use the alternate behavior, without breaking the default
check mechanism.
2018-08-13 13:07:17 +01:00