Commit graph

23982 commits

Author SHA1 Message Date
Kovid Goyal
d4b737a316 When refreshing rows in the book list emit fewer signals 2015-03-16 14:00:37 +05:30
Kovid Goyal
d1651232a4 Fix Manage Authors dialog causing current search in the book list to be cleared. Fixes #1432324 [Book selection discarded when using the Manage Authors dialog](https://bugs.launchpad.net/calibre/+bug/1432324) 2015-03-16 13:31:14 +05:30
Kovid Goyal
2a288a49f1 Store edit book state in the cache directory rather than the config directory 2015-03-16 11:53:05 +05:30
Charles Haley
5f9bb60587 Take two.
I tried for a while to use updateEditorGeometry. It turned out to be as or more complicated as the current implementation, so I stayed with doing the calculations when setting the contents of the widget.
2015-03-15 18:11:29 +01:00
Kovid Goyal
2a0ee491e9 Implement updating metadata in DOCX files 2015-03-15 21:37:07 +05:30
Charles Haley
1ff334698f When editing on the spreadsheet, grow the edit box to the size of the contents if possible. 2015-03-15 15:17:26 +01:00
Kovid Goyal
ea9d1918c1 Write metadata to created DOCX 2015-03-15 18:29:17 +05:30
Kovid Goyal
ebb5e4dfe6 DOCX Output: Word no longer complains about damaged file 2015-03-15 13:19:41 +05:30
Kovid Goyal
41750fe5ff Write out page sizes 2015-03-15 12:01:20 +05:30
Kovid Goyal
d238cc4a6f ... 2015-03-15 10:40:13 +05:30
Kovid Goyal
6695c85f2f Do not insert an empty paragraph corresponding to every html file 2015-03-15 10:11:30 +05:30
Kovid Goyal
221297ad49 Serialize styles to docx 2015-03-15 09:51:50 +05:30
Kovid Goyal
93cfaa69a8 Conversion: Fix a regression in 2.21 that caused conversion to fail for books with invalid pseudo-class CSS selectors. Fixes #1432267 [Private bug](https://bugs.launchpad.net/calibre/+bug/1432267) 2015-03-15 08:09:49 +05:30
Charles Haley
8ad4f01288 Fix OPDS categories not showing books for composite column categories if the column contains a colon. 2015-03-14 12:51:37 +01:00
Kovid Goyal
fd8c736e4d Single convert dialog: Only write metadata updates if metadata actually changed.
Also show a nicer error message when a file is locked by another process
during a metadata update.
2015-03-14 12:50:10 +05:30
Kovid Goyal
c625f7771c Advanced search builder: Allow using days/weeks/months/years when building a date based search with number of days ago. Fixes #1431695 [[GUI Improvement] Date Search Selection](https://bugs.launchpad.net/calibre/+bug/1431695) 2015-03-13 16:27:03 +05:30
Kovid Goyal
977d76db87 Open With: Fix error when scanning for default programs on windows for some file types 2015-03-13 15:58:51 +05:30
Kovid Goyal
d6aee3987a Additional product id for the Tolino
See https://bugs.launchpad.net/calibre/+bug/1385904
2015-03-13 13:51:00 +05:30
Kovid Goyal
fd47b19b2f Edit Book: When re-opening a previously edited book, restore all open files and the cursor position. Can be disabled in Preferences->Main Window 2015-03-13 13:47:21 +05:30
Kovid Goyal
466dc2e144 Edit Book: Fix Preview panel sometimes not working when opening multiple html files one after the other very quickly 2015-03-13 13:28:54 +05:30
Kovid Goyal
9ba1fdda45 Do not save state twice during editor shutdown 2015-03-13 10:42:37 +05:30
Kovid Goyal
e0e1dbc638 Fix building with Qt 5.3.x 2015-03-13 09:26:40 +05:30
Kovid Goyal
6f3c07341f version 2.21.0 2015-03-13 08:42:08 +05:30
Kovid Goyal
f4e5bf697a ... 2015-03-12 21:00:30 +05:30
Kovid Goyal
87c474ef7e More work on DOCX Output 2015-03-12 18:12:02 +05:30
Kovid Goyal
94294b62e2 Fix error when running calibredb backup_metadata on a library that contains book records with no path information 2015-03-12 17:51:08 +05:30
Kovid Goyal
1b020158c5 DOCX Input: Fix incorrect bold font weight being used for heading styles even if the style definition does not specify bold. Fixes #1430831 [Private bug](https://bugs.launchpad.net/calibre/+bug/1430831) 2015-03-12 14:10:46 +05:30
Kovid Goyal
c094112b60 ... 2015-03-12 08:53:37 +05:30
Kovid Goyal
aafeb58d58 Another PyQt 5.4.1 incompatibility 2015-03-12 08:38:05 +05:30
Kovid Goyal
8817629486 Add an --extract-to option for DOCX output
Also re-use the help string for that option everywhere.
2015-03-11 09:08:13 +05:30
Kovid Goyal
4d88d05621 Fix various User Manual and translation build warnings 2015-03-10 10:14:50 +05:30
Kovid Goyal
9c3b49c9ff ... 2015-03-10 09:30:16 +05:30
Charles Haley
993b9f6bcb Deal with Amazon changing their websites to use (randomly?) two different html constructs around the format text 2015-03-08 12:44:15 +01:00
Kovid Goyal
0ca49a65f1 Tag Browser: Make rename and delete for items in the Tag Browser restrict themselves to the current Virtual Library (if any). There is also an additional menu entry you can use to rename and delete across all books while in a Virtual Library.
Merge branch 'master' of https://github.com/cbhaley/calibre
2015-03-08 16:17:02 +05:30
Kovid Goyal
3e3bfd002e ... 2015-03-07 17:03:51 +05:30
Kovid Goyal
ae8cf31bac PDF Output: Fix incorrect conversion of source document that specify dir="rtl" on the root element. Fixes #1429292 [dir="rtl" in html crashes PDF build](https://bugs.launchpad.net/calibre/+bug/1429292)
Also fixes rendering of such documents int he viewer in paged mode.
2015-03-07 16:49:40 +05:30
Kovid Goyal
527a6217ee Finish up OS X Open With implementation 2015-03-07 15:17:54 +05:30
Kovid Goyal
afe811111d Add OS X imported UTI types into public UTI map 2015-03-07 12:42:11 +05:30
Kovid Goyal
26e4ca1852 Start work on OS X implementation of Open With 2015-03-07 12:33:10 +05:30
Kovid Goyal
9e4b1f71b9 Sanitize env vars when launching open with programs 2015-03-07 08:26:06 +05:30
Kovid Goyal
701acd1ec5 ... 2015-03-07 08:15:41 +05:30
Kovid Goyal
fc2fab8a53 PDF Output: Ignore unparseable links instead of aborting the conversion on them. Fixes #1429282 [HTML to PDF crashes with ebook-convert (Invalid IPv6 URL)](https://bugs.launchpad.net/calibre/+bug/1429282) 2015-03-07 07:59:16 +05:30
Kovid Goyal
615a3dfcf5 Open With: Load high resolution icons from exe files on windows 2015-03-06 15:00:22 +05:30
Kovid Goyal
63caf21996 ... 2015-03-06 13:26:01 +05:30
Kovid Goyal
6e750ffceb Workaround for crashes during conversions that involve generating
default covers of rasterizing SVG fonts or PDF output on linux with Qt
5.4.1

See https://bugreports.qt.io/browse/QTBUG-40946
2015-03-06 10:45:32 +05:30
Kovid Goyal
a34651bf01 ... 2015-03-06 10:18:51 +05:30
Kovid Goyal
259e51d408 Suppress warnings about OpenGL when running without connecting to X server in Qt 5.4.1 2015-03-06 08:55:48 +05:30
Kovid Goyal
1f6d66e015 Edit Book: Allow restoring of disabled confirmation prompts in preferences 2015-03-05 21:58:42 +05:30
Kovid Goyal
a19862c277 Edit Book: Add a confirmation when removing saved searches 2015-03-05 21:52:14 +05:30
Kovid Goyal
7c85a0deda Edit Book: Fix extra search being hidden when removing a saved search 2015-03-05 21:51:40 +05:30
Kovid Goyal
b79417e1d7 ... 2015-03-05 21:22:22 +05:30
Kovid Goyal
dfb68b7047 ... 2015-03-05 21:22:03 +05:30
Kovid Goyal
aff13a9854 Finish up Open With implementation on windows 2015-03-05 21:02:58 +05:30
Kovid Goyal
eec1cfe8a7 ... 2015-03-05 17:53:48 +05:30
Kovid Goyal
9bda2318c3 Code to read programs capable of opening a specified file type from the windows registry 2015-03-05 17:52:44 +05:30
Kovid Goyal
986adc521b Fix incorrect specification of DefaultIcon in calibre generated ProgIDs 2015-03-05 15:02:31 +05:30
Kovid Goyal
b61507c405 ... 2015-03-05 14:44:20 +05:30
Kovid Goyal
7b2c38ee7b Add API to load MUI strings from the registry 2015-03-05 14:42:09 +05:30
Kovid Goyal
3b9479763b Add API to conveniently get a value by name from a registry key 2015-03-05 13:26:57 +05:30
Kovid Goyal
7b8eff6efd Avoid exceptions during auto-close of registry keys 2015-03-05 12:38:53 +05:30
Kovid Goyal
ff82ba858c A more robust modification of the copy process to only remove soft hyphens from the plain text content 2015-03-05 11:53:07 +05:30
Kovid Goyal
094449a000 E-book viewer: Fix regression that prevented pasting of text with formatting from the viewer. Fixes #1428018 [no copying with formatting in built-in ebook reader](https://bugs.launchpad.net/calibre/+bug/1428018) 2015-03-05 09:39:08 +05:30
Kovid Goyal
899e66319a Table of Contents Editor: Fix selecting a location inside a file and then clicking on another file causes the previous location to be used in the new file. Fixes #1428212 [Edit Book: ToC editor creates wrong entries](https://bugs.launchpad.net/calibre/+bug/1428212) 2015-03-05 08:55:46 +05:30
Kovid Goyal
72d47ba937 Fix incompatibility with PyQt 5.4.1. Fixes #1427684 ["TypeError: QPixmap(): argument 1 has unexpected type" – incompatibility with Qt 5.4.1?](https://bugs.launchpad.net/calibre/+bug/1427684) 2015-03-05 07:50:28 +05:30
Charles Haley
77046968ae Make the Manage Category dialog show all items. It already works across VLs. 2015-03-02 16:39:53 +01:00
Charles Haley
f2cc364ac0 Fix delete not working 2015-02-28 14:14:40 +01:00
Charles Haley
42dab3af46 Add additional context menu items for edit/delete when a VL is in effect 2015-02-28 11:28:52 +01:00
Charles Haley
7e1bfa006a Don't change the order of the items when rebuilding inside a VL. Use the normal processing if all the books with the item are also in the VL 2015-02-28 10:47:48 +01:00
Charles Haley
5557660bbd Make item delete and rename take VLs into consideration 2015-02-27 16:11:56 +01:00
Kovid Goyal
af77fdbbe0 Show keyboard shortcuts in open with menus 2015-02-27 17:24:15 +05:30
Kovid Goyal
8beee15db5 Implement keyboard shortcuts for Open With 2015-02-27 16:39:03 +05:30
Kovid Goyal
7870791b78 ... 2015-02-27 16:27:26 +05:30
Kovid Goyal
9a38645fe2 Use a special file type for open cover with entries 2015-02-27 16:21:19 +05:30
Kovid Goyal
fd5dad9bce Implement editing for open with applications 2015-02-27 15:36:12 +05:30
Kovid Goyal
c3dda0d901 Nicer error message when running calibre on old windows 2015-02-27 15:00:02 +05:30
Kovid Goyal
0bb121817a AZW3 Input: Fix a bug that prevented conversion of AZW3 files that contained an empty CSS media block. Fixes #1426220 [Private bug](https://bugs.launchpad.net/calibre/+bug/1426220) 2015-02-27 12:10:12 +05:30
Kovid Goyal
c920ab7298 Refactor open with code 2015-02-27 11:23:09 +05:30
Kovid Goyal
00b21d8d71 ... 2015-02-27 10:27:19 +05:30
Eli Schwartz
3fbca3756b Update description of KINDLE2 driver to refer to Voyage. 2015-02-27 10:26:00 +05:30
Kovid Goyal
ecfa32b986 Have the job details window remember its last used size 2015-02-27 09:53:06 +05:30
Kovid Goyal
62f21113ef Fix %i substitution 2015-02-26 16:42:09 +05:30
Kovid Goyal
440d87d627 ... 2015-02-26 16:28:54 +05:30
Kovid Goyal
5d2f5bd56e ... 2015-02-26 16:24:09 +05:30
Kovid Goyal
1451573bc8 Wire up Open With 2015-02-26 16:21:07 +05:30
Kovid Goyal
d96c632028 Add API to get absolute path to cover 2015-02-26 12:18:32 +05:30
Kovid Goyal
d30f65b88a Dialog to select open with program 2015-02-25 21:43:47 +05:30
Kovid Goyal
ee6f9b86c3 Edit book: Advertise support for importable filetypes in the OS file associations 2015-02-25 11:31:26 +05:30
Kovid Goyal
623dabed7f PDF Output: Fix incorrect rendering of text in elements that use font-variant:small-caps and also have children. Fixes #1425094 [small caps not rendering with line breaks](https://bugs.launchpad.net/calibre/+bug/1425094) 2015-02-25 10:35:36 +05:30
Kovid Goyal
a30c261f91 Dont advertise support for the rar and zip formats 2015-02-25 10:12:34 +05:30
Kovid Goyal
0ef6a7fbc3 Finish up find_programs implementation for linux 2015-02-24 13:38:25 +05:30
Kovid Goyal
667f42ba1a Edit ToC button: Remember the last used ebook formats 2015-02-24 09:41:24 +05:30
Kovid Goyal
9082802b73 Fix #1424607 [Add book regex crash on published date before 1900](https://bugs.launchpad.net/calibre/+bug/1424607) 2015-02-23 18:10:08 +05:30
Kovid Goyal
97b8daee41 Get rid of cssselect from readability 2015-02-22 14:57:19 +05:30
Kovid Goyal
2dcde3f263 Get rid of cssselect from jsnews 2015-02-22 14:50:04 +05:30
Kovid Goyal
9248a9ffec Get rid of cssselect from the amazon get books plugin 2015-02-22 14:10:20 +05:30
Kovid Goyal
3226fb0ab4 Get rid of cssselect from the conversion pipeline 2015-02-22 14:02:42 +05:30
Kovid Goyal
1de3706bff Expose set of inappropriate pseudo selectors 2015-02-22 13:16:51 +05:30
Kovid Goyal
fc37cc1aea ... 2015-02-22 10:10:02 +05:30
Kovid Goyal
70585e8c3e ... 2015-02-22 09:14:19 +05:30
Kovid Goyal
8f6f60bca2 Get rid of cssselect from Edit Book 2015-02-22 09:11:03 +05:30
Kovid Goyal
0c4e86dcd1 ... 2015-02-21 15:12:31 +05:30
Kovid Goyal
7f6d06709e Use the primary key for a small performance improvement when updating existing preference values 2015-02-21 15:07:28 +05:30
Kovid Goyal
6df6682870 ... 2015-02-21 14:47:55 +05:30
Kovid Goyal
45bedfc1a9 Fix change check on preferences not working for dbs because of random serialization order and a typo in the comparison. Also add test for the change check. 2015-02-21 14:45:12 +05:30
Kovid Goyal
3146735962 Fix regression in 2.20 that prevented some plugins from updating their preferences 2015-02-21 14:07:49 +05:30
Kovid Goyal
b10feb7273 Some more documentation 2015-02-21 11:31:29 +05:30
Kovid Goyal
fd002b6680 ... 2015-02-21 10:57:23 +05:30
Kovid Goyal
bd3b162d7a Allow restricting results to descendants of a particular tag 2015-02-21 10:56:24 +05:30
Kovid Goyal
e7caf265c1 Add a has_matches() method for convenience 2015-02-21 10:47:31 +05:30
Kovid Goyal
880391ce34 ... 2015-02-21 10:40:30 +05:30
Kovid Goyal
3420913923 Allow easily ignoring the UI and non-element pseudo-selectors 2015-02-21 10:26:19 +05:30
Kovid Goyal
bd0313c357 Rename css_selectors.parse to css_selectors.parser 2015-02-21 09:41:06 +05:30
Kovid Goyal
51beffc7e9 Get Books: Update Empik and CDP store plugins
Merge branch 'master' of https://github.com/t3d/calibre
2015-02-21 09:34:46 +05:30
Tomasz Długosz
00077af7ed Cda Plugin: align to website changes 2015-02-21 04:18:20 +01:00
Tomasz Długosz
7c0036a7c6 Empik Plugin: improve hidden formats detection 2015-02-21 04:18:20 +01:00
Tomasz Długosz
9355da4576 Empik Plugin: fix more than one author for one book 2015-02-21 04:18:12 +01:00
Charles Haley
7c5322b852 Reset the alignment map when switching libraries. This prevents non-left alignments from taking effect in the newly-opened library. 2015-02-20 21:47:27 +01:00
Kovid Goyal
afd1550e7c ... 2015-02-20 18:43:24 +05:30
Kovid Goyal
deca8d35e5 Get rid of cssselect from the Edelweiss metadata download plugin 2015-02-20 18:37:04 +05:30
Kovid Goyal
88dbbefa7b Get rid of cssselect in the amazon metadata download plugin 2015-02-20 18:24:42 +05:30
Kovid Goyal
3c8984d2a5 Allow passing ElementTree to Select() 2015-02-20 18:21:23 +05:30
Kovid Goyal
ee214d6df5 Micro optimization 2015-02-20 17:38:59 +05:30
Kovid Goyal
21f5455c05 Add import statement to docs 2015-02-20 16:33:47 +05:30
Kovid Goyal
6758fba212 ... 2015-02-20 16:32:10 +05:30
Kovid Goyal
2d90b5695f Finish up implementation of css_selectors 2015-02-20 16:29:07 +05:30
Kovid Goyal
5ff7bfe564 ... 2015-02-20 15:00:47 +05:30
Kovid Goyal
d81046013e Linux installer: Do not register application/octet-stream as one of the mimetypes calibre can handle 2015-02-20 11:57:47 +05:30
Kovid Goyal
3cf2112775 version 2.20.0 2015-02-20 09:04:13 +05:30
Kovid Goyal
5cf3184fa1 TODO for DOCX Output to help me keep track 2015-02-20 09:03:59 +05:30
Kovid Goyal
6150a664c2 Add some documentation for css_selectors
Also allow the Select class to work with other tree implementations
2015-02-20 09:03:02 +05:30
Kovid Goyal
77726d774a Implement :lang() selector 2015-02-20 08:12:27 +05:30
Kovid Goyal
a57019a444 Unused import 2015-02-19 21:53:31 +05:30
Kovid Goyal
1e33241401 ... 2015-02-19 21:40:46 +05:30
Kovid Goyal
730ab1098e Implement attribute selectors 2015-02-19 21:36:18 +05:30
Kovid Goyal
f4dc77b839 Import the basic tests from cssselect 2015-02-19 19:17:31 +05:30
Kovid Goyal
e007dcedb9 Start work on replacement for the unmaintained cssselect library 2015-02-19 18:27:37 +05:30
David Forrester
a913456e69 Bump Kobo firmware version for release of 3.13.1
Kobo have snuck out a firmware release for Japan. This is 3.13.1. It had
been released for beta testing and the only change needed is for the
supported firmware and DBVersions. Fixes #1423495 [Bump Kobo firmware version for release of 3.13.1](https://bugs.launchpad.net/calibre/+bug/1423495)
2015-02-19 15:56:32 +05:30
Kovid Goyal
1779671e47 E-book viewer: Fix footnote popup window not displaying entire footnote if footnote contains element with page-break-after set 2015-02-19 12:43:40 +05:30
Kovid Goyal
7a4c3be138 ... 2015-02-19 12:38:05 +05:30
Kovid Goyal
7a3011ea80 ODT Input: Add backlinks for footnotes/endnotes and improve their formatting. Fixes #1421056 [Enhancement: return links for footnotes when converting from odt](https://bugs.launchpad.net/calibre/+bug/1421056) 2015-02-19 12:14:24 +05:30
Kovid Goyal
2cc26bb124 DOCX Input: Fix regression in 2.19 that broke handling of text with leading or trailing non-breaking spaces/en-spaces/quad-spaces. Fixes #1422844 [disappearing spaces](https://bugs.launchpad.net/calibre/+bug/1422844) 2015-02-19 10:40:58 +05:30
Kovid Goyal
bd5ba883a1 Fix a regression that caused incorrect results when searching on numeric or date fields with relational operators. Fixes #1423390 [Numeric search not working for rating](https://bugs.launchpad.net/calibre/+bug/1423390)
Due to python dictionary randomization, which caused the operators to be
tried in random order
2015-02-19 09:24:20 +05:30
Kovid Goyal
9dee96270b Start linux implementation of Open with 2015-02-18 22:10:12 +05:30
Kovid Goyal
eed947ae57 Use envvar to enable DOCX Output 2015-02-18 21:24:24 +05:30
Kovid Goyal
e962bd3e24 Windows: When running on windows 8 and newer register with default programs so that users can more easily select calibre or its viewer/editor as the default program to launch ebook files. See #1422248 (calibre does not show up in win 8.1 default programs) 2015-02-18 19:10:38 +05:30
Kovid Goyal
e07fc77a52 Edit Book: Reports tool: Fix double clicking on an unused image causing an error 2015-02-18 13:18:26 +05:30
Kovid Goyal
0e2de4306c Entry point to easily run the default programs code using calibre-debug 2015-02-18 11:10:56 +05:30
Kovid Goyal
f63fd2d005 ... 2015-02-18 10:37:48 +05:30
Kovid Goyal
024f25855a ... 2015-02-18 10:04:40 +05:30
Kovid Goyal
986abdf017 Function to unregister with default programs
Also threaded worker for registering
2015-02-18 09:57:17 +05:30