26671 Commits

Author SHA1 Message Date
Kovid Goyal
a35f1b7d26 More work on toc highlighting 2016-12-24 11:05:13 +05:30
Kovid Goyal
c8a52515ef version 2.75.0 2016-12-23 08:12:26 +05:30
Kovid Goyal
5721f39597 ... 2016-12-23 07:42:37 +05:30
Kovid Goyal
151885cb89 Kobo driver: Fix incorrectly sized covers being sent to some Kobo devices
Merge branch 'master' of https://github.com/davidfor/calibre
2016-12-23 07:36:08 +05:30
Kovid Goyal
f5c1f90dfa Start work on section tracking for the new viewer 2016-12-23 07:35:42 +05:30
David
2e466f735e Fix cover file size determination in KoboTouch driver
Fix a couple of typos related to getting the sizes of the covers for
Kobo devices. It meant that everything got the size for the Glo. The
other was the dimensions of the full size cover for the Aura ONE were
swapped.
2016-12-23 11:29:04 +11:00
Kovid Goyal
3a89718664 E-book viewer: Prevent javascript in the book from accessing files on the computer using XMLHttpRequest. Fixes #1651728 [Private bug](https://bugs.launchpad.net/calibre/+bug/1651728) 2016-12-21 17:59:00 +05:30
Kovid Goyal
306bb0ff2f Edit Book: Fix the "Search ignoring markup tool" not ignoring comments/processing instructions, etc. Fixes #1651160 [Search ignoring HTML markup finds within <?xml directive and HTML comments](https://bugs.launchpad.net/calibre/+bug/1651160) 2016-12-20 11:23:20 +05:30
Kovid Goyal
39d01773a1 CSS Transforms: Fix is/is not rules not matching currentColor. Fixes #1650930 [Transform styles border colors and currentColor keyword](https://bugs.launchpad.net/calibre/+bug/1650930) 2016-12-19 17:20:43 +05:30
Kovid Goyal
74cfabf647 E-book viewer: Make the swipe up gesture move to next section instead of previous section. Fixes #1651034 [Swiping up in Viewer moves forward a section instead of backwards](https://bugs.launchpad.net/calibre/+bug/1651034) 2016-12-19 16:44:52 +05:30
Kovid Goyal
9d57c35957 Edit Book: Also make the minimum width for the search panel smaller 2016-12-19 14:16:36 +05:30
Kovid Goyal
948d071fef Revert previous change to only render visible widgets
Also set expandingDirections to 0
2016-12-19 14:10:37 +05:30
Kovid Goyal
a11488322b Do not layout hidden widgets 2016-12-19 13:49:04 +05:30
Kovid Goyal
81ea515070 Edit Book: Allow the Spell Check dialog to be made much narrower than before. Fixes #1650932 [check spelling can't be resized, looks gigantic when using larger font in calibre editor.](https://bugs.launchpad.net/calibre/+bug/1650932) 2016-12-19 13:19:22 +05:30
Kovid Goyal
535199f3f0 A line wrapping layout 2016-12-19 13:18:10 +05:30
Kovid Goyal
78add734f8 Edit Book: Fix customize template window not freely resizable on windows. Fixes #1650924 ["Customize templates" window is too tall and cannot be resized](https://bugs.launchpad.net/calibre/+bug/1650924) 2016-12-19 10:48:09 +05:30
Kovid Goyal
5b8023dfb6 pep8 2016-12-19 10:30:38 +05:30
Kovid Goyal
9ba40c6f83 Merge branch 'master' of https://github.com/davidfor/calibre 2016-12-15 17:30:47 +05:30
David
e86052fa83 Update supported Kobo firmware to 4.2
Kobo are about to release a new firmware version. No changes are needed
except to bump the version numbers.
2016-12-15 22:55:23 +11:00
Kovid Goyal
6d2d835265 Edit Book: Fix newlines not being matched by the "Search ignoring markup" tool. Fixes #1649383 [Search ignoring HTML markup in book editor ignores "Dot all"](https://bugs.launchpad.net/calibre/+bug/1649383) 2016-12-13 18:06:32 +05:30
Kovid Goyal
e1a0e184c7 EPUB Input: Fix incorrect handling of html files that are in a folder above the OPF file. Fixes #1649357 [Private bug](https://bugs.launchpad.net/calibre/+bug/1649357) 2016-12-13 14:40:50 +05:30
Kovid Goyal
0fc654b918 ... 2016-12-13 14:07:16 +05:30
Kovid Goyal
c45a2dac8f Preserve order of tests 2016-12-13 13:03:22 +05:30
Kovid Goyal
f1248b88d0 DRYer 2016-12-13 12:54:05 +05:30
Kovid Goyal
bf39b865a3 Recognize JPEG-XR (.jxr) files 2016-12-13 12:49:46 +05:30
Kovid Goyal
cc5d806c6e Use a random non-IE user agent 2016-12-13 12:14:30 +05:30
Kovid Goyal
bcbac05d04 Allow using amazon_in, amazon_au, amazon_com identifiers in the Book details panel. Fixes #1649371 [Proper link ISBN for searching in Amazon au, in, ca](https://bugs.launchpad.net/calibre/+bug/1649371) 2016-12-13 09:48:19 +05:30
Kovid Goyal
c8966e443b Change the implementation of manifest_has_name() to be robust against URI percent encoding 2016-12-12 10:31:11 +05:30
Kovid Goyal
52f7b6c8ce xgettext cant handle non-ascii chars in msgids with the --omit-header option 2016-12-09 11:28:20 +05:30
Kovid Goyal
e652bfac22 Fix running multiple file type plugins not seeing modified file from previous plugin 2016-12-09 10:40:58 +05:30
Kovid Goyal
70d31e332c version 2.74.0 2016-12-09 09:01:40 +05:30
Kovid Goyal
cbf6eed281 pep8 2016-12-09 09:01:05 +05:30
Kovid Goyal
71605407dd Be a little more defensive 2016-12-09 08:46:48 +05:30
Kovid Goyal
7735b0c9f7 Edit Book: Fix selected text not being fully highlighted when using the solarized color schemes. Fixes #1647448 [Selected text not visible in ebook-editor with solarized-dark theme](https://bugs.launchpad.net/calibre/+bug/1647448) 2016-12-06 08:43:32 +05:30
Kovid Goyal
1371f6c858 Get rid of mock
Shaves several seconds of the CI builds
2016-12-05 19:34:53 +05:30
Kovid Goyal
1ff4f01b39 Use find_tests() for library.test_cli as well 2016-12-05 19:00:00 +05:30
Kovid Goyal
5299c936e5 Merge branch 'csv_module' of https://github.com/jamesbroadhead/calibre into jamesbroadhead-csv_module 2016-12-05 18:46:44 +05:30
James Broadhead
3c4d239185 bugfix: pass opts to print*check_library* 2016-12-05 11:48:32 +00:00
Kovid Goyal
5f2f8342dc pep8 2016-12-05 17:07:30 +05:30
Kovid Goyal
353e7c2b36 Fix subsetting of fonts whose names start with "and" not working
Caused by a bug in the font-family parsing routines of cssutils,
workaround by quoting the family name before passing it to cssutils.
2016-12-05 17:07:11 +05:30
James Broadhead
a6093e8cac rm c.library.test
Per comment on https://github.com/kovidgoyal/calibre/pull/592, this test
module is unnecessary.
2016-12-05 11:28:01 +00:00
James Broadhead
0dd2c54510 c.library.cli: use csv module for check_library
- use the builtin csv module for check_library output
- enable the comma-escaping test in test_cli
2016-12-05 11:19:18 +00:00
James Broadhead
fd70317171 c.library.cli: extract check_library printing
- extract printing/formatting logic from
  calibre.library.cli.command_check_library

- add tests asserting current behaviour
2016-12-05 11:08:39 +00:00
James Broadhead
a517cec2cd Fix calibre.library.test.DBTest
- fix testSorting by making the author_sort field on the test data
  unique.

- make tests less brittle by declaratively defining the data to be
  compared by testSorting
2016-12-05 09:54:31 +00:00
James Broadhead
8522ac55af Run calibre.library tests
- follow convention, add a find_tests, tests method to
  calibre.library.test. Add calibre.library to the list in setup/test.py

- sort some imports

- add .cache to .gitignore
2016-12-05 08:42:53 +00:00
Kovid Goyal
6f99bc3cea Make the original path to file available to FileType plugins 2016-12-05 07:45:25 +05:30
Kovid Goyal
cc0d25c123 Fix a regression in 2.72 that broke the --start-in-tray command line option. Fixes #1644876 [calibre --start-in-tray does not work anymore on Win10](https://bugs.launchpad.net/calibre/+bug/1644876) 2016-12-04 20:08:11 +05:30
Kovid Goyal
ee5711f0ba Use the same context menu code for the cover grid view as well 2016-12-04 09:34:48 +05:30
Kovid Goyal
e91dd8b4cc Fix aboutToShow() signal not being emitted for context menus on linux 2016-12-04 09:15:57 +05:30
Kovid Goyal
dd62bd3e7e ... 2016-12-03 17:29:37 +05:30