Kovid Goyal
3eaaa85e1f
EPUB Input: Recognize the calibre:title-page property when converting, so as to be able to replace an existing titlepage in an EPUB 3 book
2016-07-06 11:33:19 +05:30
Kovid Goyal
614e304029
A spot of minor refactoring
2016-07-06 10:47:34 +05:30
Kovid Goyal
4f317375f4
Use known prefixes when querying for an item by property
2016-07-06 10:35:16 +05:30
Kovid Goyal
031049ea9d
DRYer
2016-07-06 10:29:18 +05:30
Kovid Goyal
37946153d0
Make items_with_propert() prefix aware
2016-07-06 10:25:45 +05:30
Kovid Goyal
b1f64efdd0
Various Russian news sources by bugmen00t
2016-07-05 23:24:57 +05:30
Kovid Goyal
e0f588a370
Implement reading/writing of EPUB 3 metadata
2016-07-05 18:30:48 +05:30
Kovid Goyal
739b3662b0
Make the sanitization more general
2016-07-05 16:48:33 +05:30
Kovid Goyal
44ae597f14
Smarten punctuation: Fix double dashes and triple dots being smartened even inside attribute values. Fixes #1598465 [Problem with smarten punctuation when using ebook-convert]( https://bugs.launchpad.net/calibre/+bug/1598465 )
...
There was a postprocess step that calibre was doing after the call to
smartypants that was unneccessary and was causing this bug.
2016-07-05 15:28:52 +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
1ff02ee830
More tests for the insane EPUB cover semantics
2016-07-05 14:31:09 +05:30
Kovid Goyal
2788b5e099
More tests for the insane EPUB cover semantics
2016-07-05 11:03:48 +05:30
Kovid Goyal
4ab707e60b
EPUB Input: Speed up reading of the book spine from the OPF file for books with a very large number of entries in the spine
...
Converts an O(n^2) algorithm to O(n)
2016-07-05 09:56:14 +05:30
Kovid Goyal
415ebb7a6c
Port various other bugfixes in smtplib.py from upstream
2016-07-05 09:39:03 +05:30
Kovid Goyal
0b86d5175a
Port fix for CVE-2016-0772 from upstream
2016-07-05 09:13:59 +05:30
Kovid Goyal
51b245e1bb
Start work on polishing of epub 3 covers
2016-07-04 17:39:27 +05:30
Kovid Goyal
671128d144
...
2016-07-04 10:00:54 +05:30
Kovid Goyal
253fd95479
Add shared file tests to main test runner
2016-07-04 09:48:33 +05:30
Kovid Goyal
08d56e2eee
Add the tag mapper tests to the main test runner
2016-07-04 09:37:15 +05:30
Kovid Goyal
7ff81c84b3
Tag mapper: Fix upper case characters not working in "contains" rules
2016-07-04 09:27:59 +05:30
David
a001db9ef1
Change Kobo drivers to use apsw
...
This reworks both the Kobo and KoboTouch drivers to use apsw instead of
sqlite3. While doing this, I have refactored the code for the database
connections and getting the versions from the device.
2016-07-03 23:20:58 +10:00
Kovid Goyal
83ba85ef1b
Condition DBUS connectivity test on a single envvar
...
That way it will still run in the future if X goes away
2016-07-03 23:00:46 +10:00
Kovid Goyal
95a42eb768
Run the session bus test if the session bus env var is set
2016-07-03 23:00:46 +10:00
Kovid Goyal
c7365b9333
Re-use run_cli for running the build tests
2016-07-03 23:00:46 +10:00
Kovid Goyal
0cc5371090
Update dukpy
2016-07-03 23:00:46 +10:00
Kovid Goyal
d2e42dd4a6
Better exclusion rule for libusb test
2016-07-03 23:00:46 +10:00
Kovid Goyal
475a8375e8
Edit Book: Reports: Characters: Fix sorting by count and name not working. Fixes #1598518 [Editor Report Characters]( https://bugs.launchpad.net/calibre/+bug/1598518 )
2016-07-03 23:00:46 +10:00
David
e26a125daa
Fix #1598017 - KoboTouch configuration migration not working for older settings
...
If the KoboTouch configuration was last saved using a very old version
of calibre, the migration to the new style will fail. This will
increases the likelyhood that the migration will work.
2016-07-03 23:00:46 +10:00
Kovid Goyal
f9ef62a901
Condition DBUS connectivity test on a single envvar
...
That way it will still run in the future if X goes away
2016-07-03 16:04:37 +05:30
Kovid Goyal
4745bdabe3
Run the session bus test if the session bus env var is set
2016-07-03 15:13:07 +05:30
Kovid Goyal
b9c1dbb33f
Re-use run_cli for running the build tests
2016-07-03 11:30:39 +05:30
Kovid Goyal
79341ea606
Update dukpy
2016-07-03 10:20:06 +05:30
Kovid Goyal
0a5a13afb8
Better exclusion rule for libusb test
2016-07-03 10:10:28 +05:30
Kovid Goyal
6effd4f2ee
Edit Book: Reports: Characters: Fix sorting by count and name not working. Fixes #1598518 [Editor Report Characters]( https://bugs.launchpad.net/calibre/+bug/1598518 )
2016-07-03 09:29:39 +05:30
Kovid Goyal
cc1a8bcf1f
Merge branch 'master' of https://github.com/davidfor/calibre
...
Fixes #1598017 [Unable to connect to Kobo Glo](https://bugs.launchpad.net/calibre/+bug/1598017 )
2016-07-02 19:16:52 +05:30
David
4ece2272ea
Fix #1598017 - KoboTouch configuration migration not working for older settings
...
If the KoboTouch configuration was last saved using a very old version
of calibre, the migration to the new style will fail. This will
increases the likelyhood that the migration will work.
2016-07-02 21:39:52 +10:00
Kovid Goyal
16153e285d
...
2016-07-01 22:44:09 +05:30
Kovid Goyal
b75aebb2c0
Update The Skeptic
2016-07-01 22:01:15 +05:30
Kovid Goyal
c44229ee3d
...
2016-07-01 15:23:14 +05:30
Kovid Goyal
7808cd4794
Enable out-of-tree building of extension modules
2016-07-01 15:18:53 +05:30
Kovid Goyal
add980d6e6
version 2.61.0
v2.61.0
2016-07-01 08:24:56 +05:30
Kovid Goyal
3052ebd8a5
Add a convenience method to iterate over filenames of specific types
2016-06-30 22:39:09 +05:30
Kovid Goyal
0a3c321d31
...
2016-06-30 17:30:48 +05:30
Kovid Goyal
358ed508ce
Also use the new font family parsing code in the conversion pipeline
2016-06-30 15:30:30 +05:30
Kovid Goyal
86f114594c
Edit Book: Change the recommended mimetype for ttf/otf files to application/font-sfnt for EPUB 3.1 documents
2016-06-30 15:23:44 +05:30
Kovid Goyal
6bb8a2eb7e
Use the new font family parsing code in the rest of the container infrastucture
2016-06-30 15:13:25 +05:30
Kovid Goyal
75690f41f8
...
2016-06-30 14:48:48 +05:30
Kovid Goyal
792b7e17b3
Edit Book: Check Book: Fix incorrect handling of font family names with spaces in them that are not quoted. Fixes #1596053 [Edit-book: Incorrect reporting and fixing mismatched font-family name]( https://bugs.launchpad.net/calibre/+bug/1596053 )
2016-06-30 13:53:57 +05:30
Kovid Goyal
bb4fe4d924
Serialization of parsed fonts
2016-06-30 13:49:43 +05:30
Kovid Goyal
bbaf9875cc
Use the new font parsing code for normalize_css
2016-06-30 12:25:28 +05:30