Eli Schwartz
e521e770f3
py3: more __future__s
2019-05-31 16:17:50 -04:00
Eli Schwartz
45ca4c7934
py3: merge multiline __future__ imports to not confuse 2to3
2019-05-27 00:41:14 -04:00
Kovid Goyal
2896bb3571
Finish getting rid of getcwdu()
2019-05-15 16:53:39 +05:30
Kovid Goyal
e5b32b2c2f
py3: More misc fixes only 4 failing tests left in the srv module
2019-04-15 11:23:38 +05:30
Eli Schwartz
cb85e778d8
python3: fix various uses of itertools.i(map|zip)
...
Use the existing polyglot.builtins / future_builtins versions.
Also smooth over izip_longest, but don't bother with another polyglot
module for one function used in two places.
2019-03-21 01:27:21 -04:00
Eli Schwartz
8594f52fe8
python3: add more urllib wrappers
2019-03-20 08:43:54 -04:00
Eli Schwartz
cbc42bec23
python3: add unicode/unichr wrappers to polyglot
2019-03-13 06:41:38 +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
b789e4d81b
Use the modern form for set literals
2018-09-10 19:35:20 +05:30
Kovid Goyal
aae106cdf3
...
2018-08-22 08:31:28 +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
a6c0be308a
pep8
2018-07-04 17:59:10 +05:30
Kovid Goyal
b3f5a3cd42
Add the commit_name to all input/output plugins
2018-07-04 09:47:46 +05:30
Kovid Goyal
6f18070861
HTML Input: Remove the # character from input filesnames, for maximum compatibility. Fixes #1656833 [Ebook-convert creates unreadable epub if there's a hash in the filename]( https://bugs.launchpad.net/calibre/+bug/1656833 )
2017-01-17 18:08:33 +05:30
Kovid Goyal
e333001d31
Apply the PEP8 blank line standards to the entire codebase
2016-10-11 11:39:08 +05:30
Kovid Goyal
739b3662b0
Make the sanitization more general
2016-07-05 16:48:33 +05:30
Kovid Goyal
88e3e0fb9f
HTML Input: Sanitize semi-colons from HTML filenames as they can cause problems with other EPUB consuming software. Fixes #1598719 [Name of linked file containing semicolon]( https://bugs.launchpad.net/calibre/+bug/1598719 )
2016-07-05 14:54:56 +05:30
Kovid Goyal
5cd5ba746c
HTML Input: Fix error when converting HTML file with URL encoded filename. Fixes #1593632 [ebook-convert crashes on files with urlencoded characters in file name]( https://bugs.launchpad.net/calibre/+bug/1593632 )
2016-06-17 19:27:16 +05:30
Kovid Goyal
3226fb0ab4
Get rid of cssselect from the conversion pipeline
2015-02-22 14:02:42 +05:30
Kovid Goyal
ef09e886b3
Change all shebangs to use python2
2015-01-23 19:08:21 +05:30
Kovid Goyal
230cbf46b0
HTML Input: Avoid spurious log warnings
...
HTML Input: Avoid spurious log warnings about unspecified
language/creator when these are actually specified on the command line.
Fixes #1186899 [Apparently-spurious "Language not specified" errors from caliber-convert](https://bugs.launchpad.net/calibre/+bug/1186899 )
2013-06-03 14:04:33 +05:30
Kovid Goyal
edb84a621a
delay load urllib
2013-05-02 18:46:42 +05:30
Kovid Goyal
79c8ede0a8
Fix bug in imghdr that caused some JPEG files to not be identified
2013-03-20 11:49:27 +05:30
Kovid Goyal
8aa1df125e
...
2012-10-01 20:55:09 +05:30
Kovid Goyal
92eb7e7ac1
HTML Input: Guess mimetype correctly for references to image files without file extensions. Fixes #1059349 (missing images on html to mobi conversion)
2012-10-01 19:39:23 +05:30
Kovid Goyal
d6ef5a82b6
Use unicode paths everywhere
2012-02-22 13:49:43 +05:30
Kovid Goyal
4b9d1e40fc
Speed up import of builtin input plugins
2012-02-05 22:37:07 +05:30