33059 Commits

Author SHA1 Message Date
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
Kovid Goyal
b0b7a59afd Code to parse the font shorthand property 2016-06-30 11:07:51 +05:30
Kovid Goyal
f1122ac05f Discard empty strings when parsing font-family 2016-06-30 08:24:17 +05:30
Kovid Goyal
0643da49e0 ... 2016-06-30 08:22:19 +05:30
Kovid Goyal
553137015e Code to parse font family values 2016-06-30 08:18:15 +05:30
Kovid Goyal
cedde63fe8 Ensure test matching does not return dupes 2016-06-30 08:12:09 +05:30
Kovid Goyal
74134dd429 Edit Book: Check Book: Add an auto fix action to remove all links to a missing resource (such as a deleted stylesheet) automatically. Fixes #1596048 [Edit-book: After removing CSS file the program should also remove all references to that file from HTML files](https://bugs.launchpad.net/calibre/+bug/1596048) 2016-06-29 20:43:52 +05:30
Kovid Goyal
5774d52620 E-book viewer: Fix Qt 5.7 breaking mouse wheel scrolling 2016-06-29 09:19:54 +05:30
Kovid Goyal
177c22ce5b Ignore EPIPE when sending inconsistent data to server and server closes connect before all data is sent. 2016-06-28 20:04:53 +05:30
Kovid Goyal
7ba62b9696 Driver for FNAC (re-branded Bq) with new firmware. Fixes #1596952 [Private bug](https://bugs.launchpad.net/calibre/+bug/1596952) 2016-06-28 19:36:49 +05:30
Kovid Goyal
0634dc1b32 Kobo driver: Fix a regression in the last release that broke connecting to older devices
Fixes #1596801 [Unable to connect to Kobo](https://bugs.launchpad.net/calibre/+bug/1596801)
Merge branch 'master' of https://github.com/davidfor/calibre
2016-06-28 18:09:41 +05:30