Commit graph

26631 commits

Author SHA1 Message Date
James Broadhead
3c4d239185 bugfix: pass opts to print*check_library* 2016-12-05 11:48:32 +00:00
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
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
Kovid Goyal
f1484411af A spot of refactoring 2016-12-02 09:50:17 +05:30
Kovid Goyal
2b562831d7 DOCX Input: Fix images wider than 50% of the page width being incorrectly right aligned even when anchored to the center of the page. Fixes #1646086 [Folow up to Location of Figures on Page](https://bugs.launchpad.net/calibre/+bug/1646086) 2016-12-02 09:30:33 +05:30
Kovid Goyal
58652ae068 ... 2016-12-02 08:37:50 +05:30
Kovid Goyal
c7db673ffb Catalog generation: Ensure all citation keys in BiBTeX catalogs have only ascii characters. Fixes #1646239 [bibtex labels](https://bugs.launchpad.net/calibre/+bug/1646239) 2016-12-01 14:54:20 +05:30
Kovid Goyal
5da164fe4d ... 2016-12-01 12:04:48 +05:30
Kovid Goyal
4bbad155a3 Nicer error message if the user tries to import data while the content server is running 2016-12-01 12:04:27 +05:30
Kovid Goyal
ab3471e7cf Edit Book: Allow disabling the "Files already arranged into folders" message popup 2016-11-30 17:56:19 +05:30
Kovid Goyal
b243d45d16 Amazon metadata download: Allow downloading from amazon.cn as well. To use got to Preferences->Metadata download and customize the amazon plugin to download from amazon.cn
Merge branch 'master' of https://github.com/lifanxi/calibre
2016-11-30 15:13:53 +05:30
Li Fanxi
c14f849288
Metadata: Support Amazon.cn in the Amazon metadata plugin 2016-11-30 17:25:40 +08:00
Kovid Goyal
be87330d29 Get Books: Update ebookpoint and legimi plugins for website changes 2016-11-28 08:38:50 +05:30
Kovid Goyal
3ddace17c6 ... 2016-11-28 08:27:19 +05:30
Tomasz Długosz
166e29c0db legimi plugin: fix cover fetching 2016-11-27 23:35:23 +01:00
Tomasz Długosz
feb8ad925a ebookpont plugin: fix cover fetching and price detection in some cases 2016-11-27 23:12:21 +01:00
Kovid Goyal
ec00073ed0 ... 2016-11-26 13:22:47 +05:30
Kovid Goyal
dc6665c73e EPUB3 metadata: Ensure updating metadata never produces empty dc:contributor elements. Fixes #1644702 [Calibre puts in <dc:contributor id="id-6"/>](https://bugs.launchpad.net/calibre/+bug/1644702) 2016-11-26 13:09:00 +05:30
Kovid Goyal
44345abdd9 DOCX Output: Fix an error when converting tables with spanning cells. Fixes #1644912 [This Particular ePub Will Not Convert to DOCX](https://bugs.launchpad.net/calibre/+bug/1644912) 2016-11-26 08:37:09 +05:30
Kovid Goyal
925c855c23 version 2.73.0 2016-11-25 08:21:23 +05:30
Kovid Goyal
9392c1972b ... 2016-11-23 13:24:26 +05:30
Kovid Goyal
fcc685661d Pressing the up arrow in an date edit with undefined value should jump to the current date rather than Feb 101 2016-11-22 20:59:21 +05:30
Kovid Goyal
c3730a21a7 Fix #1643364 [Better handling of non-existent tags](https://bugs.launchpad.net/calibre/+bug/1643364) 2016-11-22 06:58:41 +05:30
Kovid Goyal
786fba9366 Allow Export/Import of colomn coloring and icon rules. Fixes #1643314 [Enhancement: Save Icon and Column Coloring Rules](https://bugs.launchpad.net/calibre/+bug/1643314) 2016-11-22 06:55:59 +05:30
Kovid Goyal
ed2a6fbf7b Add a preference in Preferences->Look & Feel to hide the row numbers in the main book list. Fixes #1643313 [Enhancement: Hide book number (GUI) column](https://bugs.launchpad.net/calibre/+bug/1643313) 2016-11-22 05:43:59 +05:30
Kovid Goyal
3a22851b83 Edit Book: Check Book: Add a check for nav documents that contain no ToC in EPUB 3 books 2016-11-20 23:07:33 +05:30
Kovid Goyal
1145607df4 EPUB Input: When an invalid nav based ToC is used in an EPUB 3.0 document that also has a fallback NCX ToC, use the fallback ToC. Fixes #1643247 [Private bug](https://bugs.launchpad.net/calibre/+bug/1643247) 2016-11-20 22:59:48 +05:30
Kovid Goyal
05bec937b5 Edit Book: Allow bulk changing of file extension for selected files by right clicking ont he selected files in the file browser. Fixes #1643232 [Enhancement request : bulk rename file extensions](https://bugs.launchpad.net/calibre/+bug/1643232) 2016-11-20 10:03:01 +05:30
Kovid Goyal
67709b515a Fix #1643228 [UnboundLocalError while creating icon theme](https://bugs.launchpad.net/calibre/+bug/1643228) 2016-11-20 08:47:00 +05:30
Kovid Goyal
ba786a2de1 Another place I forgot to use the new document-split icon 2016-11-19 22:58:14 +05:30
Kovid Goyal
a8eb4b7f0f Dont allow widgets other than the search bar to get input focus in the inset character dialog 2016-11-19 22:52:30 +05:30
Kovid Goyal
1b8d0db042 Fix insert character dialog not reflowing characters on resize 2016-11-19 22:46:43 +05:30
Kovid Goyal
ad2f3c6518 ... 2016-11-19 08:46:19 +05:30
Kovid Goyal
2974bb4d1e Edit Book: Check Book: Add a test to check if the embedded fonts in the book have their embedding permissions enabled 2016-11-18 14:09:45 +05:30
Kovid Goyal
fc5e3a8f47 version 2.72.0 2016-11-18 08:13:46 +05:30
Kovid Goyal
c4b9994629 Use the full style key to avoid repeat embed instead of just the family name 2016-11-15 17:32:46 +05:30
Kovid Goyal
77fd17c763 Get rid of alt_font_family hack. Instead bump the font cache version and use family_name as the key instead of preferred_family_name 2016-11-15 17:17:26 +05:30
Kovid Goyal
72471d6430 Fix non-regular fonts being embedded multiple times by the embed fonts tool 2016-11-15 17:07:27 +05:30
Kovid Goyal
8f6f6fe4a0 Also use the new font fallback code for embedding fonts in the conversion pipeline 2016-11-15 12:29:10 +05:30
Kovid Goyal
57476aa5cb ... 2016-11-15 12:13:29 +05:30
Kovid Goyal
2d812445ea Some tests for fallback font matching 2016-11-15 10:52:24 +05:30
Kovid Goyal
b17a501697 Edit Book: Embed all fonts: When the specified CSS font style/width/stretch properties do not exactly match a font present on the system, use a fallback font 2016-11-15 10:26:52 +05:30
Kovid Goyal
c1c86cee0b Allow aborting an in-progress Copy-to_library action. Fixes #1641458 [[Enhancement] Inability to Cancel Calibre Copy Action](https://bugs.launchpad.net/calibre/+bug/1641458) 2016-11-14 14:29:51 +05:30