Commit graph

23982 commits

Author SHA1 Message Date
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
Kovid Goyal
6685946fdb Also ignore non-existent sub-keys when deleting trees 2015-02-18 09:56:26 +05:30
Kovid Goyal
402b93394d When deleting registry values do not raise an exception if the value does not exist 2015-02-18 09:47:12 +05:30
Kovid Goyal
760ae5719c ... 2015-02-18 08:38:39 +05:30
Kovid Goyal
9e0ad549ec Code to register calibre with Default Programs on windows 8 and newer 2015-02-18 08:19:49 +05:30
Kovid Goyal
ef50eca37c Add functions to enumerate keys and delete values 2015-02-17 22:32:12 +05:30
Kovid Goyal
589baf7b5d Implement a replacement for the python _winreg module
Much nicer interface and full support for unicode. Uses ctypes. Requires
at least Windows Vista.
2015-02-17 22:04:54 +05:30
Kovid Goyal
47841f1e0f More work on DOCX Output
Use a styles manager and fix handing of page-break-after:avoid
2015-02-16 18:12:17 +05:30
Charles Haley
af49a1ca4a Fix problem applying a search restriction if the VL menu has never been opened. See http://www.mobileread.com/forums/showthread.php?p=3047621#post3047621 2015-02-16 10:33:57 +01:00
Charles Haley
764683da58 Fix bug #1422116: different characters that sort intermixed break tag browser first letter categorization.
Also make rating and count category sorts order the list by the tag's sort value if the numeric values are the same. This turns it into a semi-stable sort when switching from name to (for example) count.
2015-02-16 10:31:21 +01:00
Kovid Goyal
dedece789e ... 2015-02-16 06:29:25 +05:30
Kovid Goyal
36e2ab7bdf Add note about underscores being replaced by spaces when reading metadata from filenames 2015-02-16 06:26:27 +05:30
Kovid Goyal
5f764382f5 ... 2015-02-15 22:37:07 +05:30
Kovid Goyal
82d9ce0252 Edit Book spell check: For mis-spelled words of the form one:two offer one: two as a suggested correction. Fixes #1422133 [ebook editor spell check issue](https://bugs.launchpad.net/calibre/+bug/1422133) 2015-02-15 22:25:58 +05:30
Kovid Goyal
a30fb54406 DOCX Output: Support the <br> tag 2015-02-15 19:10:33 +05:30
Kovid Goyal
97281c4569 ... 2015-02-15 18:34:25 +05:30
Kovid Goyal
a403ec4351 DOCX Output: Handle invisible HTML elements 2015-02-15 18:33:34 +05:30
Kovid Goyal
51a08167db Refactor styles code into its own module 2015-02-15 18:26:55 +05:30
Kovid Goyal
957ce7604e Implement mapping of CSS to DOCX for run styles
Also switch to CSS 3 color parsing for run colors
2015-02-15 18:15:53 +05:30
Kovid Goyal
4e8f148e59 Mapping from CSS to DOCX for block styles 2015-02-15 15:43:59 +05:30
Kovid Goyal
bbbcc7774e ... 2015-02-15 12:33:46 +05:30
Kovid Goyal
12271efe3d Do not write to the db when storing preferences that have not actually changed 2015-02-15 11:28:40 +05:30
Kovid Goyal
1ddde725be Ensure rec_index in the field_metadata is constant (sorted by column label) 2015-02-15 11:23:12 +05:30
Kovid Goyal
8ae0a180c1 Conversion: Ignore incorrectly URL encoded links instead of erroring out on them. Fixes #1421996 [Private bug](https://bugs.launchpad.net/calibre/+bug/1421996) 2015-02-15 08:49:48 +05:30
Kovid Goyal
0f0e62b3a0 Get towards writing a full docx skeleton with all text but no styles/images/etc. 2015-02-14 12:47:26 +05:30
Kovid Goyal
cbc85be903 Add defaults for text-shadow 2015-02-14 12:47:26 +05:30
Kovid Goyal
6c916d78cc Handle first-letter selectors 2015-02-14 12:47:26 +05:30
Kovid Goyal
6cc3b82729 Fix whitespace handling when creating <w:t> elements 2015-02-14 12:47:26 +05:30
Kovid Goyal
c9f6eb7b17 ... 2015-02-14 12:47:26 +05:30
Kovid Goyal
b86a502fbb ... 2015-02-14 12:47:26 +05:30
Kovid Goyal
4b20988a2e Finish up character properties 2015-02-14 12:47:26 +05:30
Kovid Goyal
05040af6fb Start work on converting character styles 2015-02-14 12:47:26 +05:30
Kovid Goyal
c26f948f75 Boilerplate only docx output plugin 2015-02-14 12:47:26 +05:30
Kovid Goyal
96bc19e652 Amazon metadata download: Update plugin for website changes to Amazon Brazil. Fixes #1420629 [Amazon.br metadata source, error with accents](https://bugs.launchpad.net/calibre/+bug/1420629) 2015-02-11 12:41:22 +05:30
Kovid Goyal
df780dd8e0 E-book viewer: Remove soft-hyphens when copying text to clipboard 2015-02-08 21:54:44 +05:30
Kovid Goyal
e8f1f3079f Fix #1419142 [Different uses of "OK"](https://bugs.launchpad.net/calibre/+bug/1419142) 2015-02-08 15:53:23 +05:30
Kovid Goyal
65ca3c490a Remove BOM bytes from recipes as well when compiling 2015-02-08 15:48:40 +05:30
Kovid Goyal
959acc1f28 Remove BOM mark from litres plugin and also handle BOM mark when downloading plugins 2015-02-08 15:22:31 +05:30
Kovid Goyal
05ee6b477e Make publishers in the book details panel clickable. Fixes #1419313 [[Feature Request]Make Publisher clickable](https://bugs.launchpad.net/calibre/+bug/1419313) 2015-02-08 09:50:54 +05:30
Kovid Goyal
9c17693aea Fix #1418960 ["edit toc" doesn't work in the newest version](https://bugs.launchpad.net/calibre/+bug/1418960) 2015-02-06 18:43:22 +05:30
Kovid Goyal
51e6e70765 Fix #1418841 [Bug in tooltip for "Auto close tags" checkbox in preferences](https://bugs.launchpad.net/calibre/+bug/1418841) 2015-02-06 13:32:33 +05:30
Kovid Goyal
415b7f4de5 version 2.19.0 2015-02-06 09:46:24 +05:30
Kovid Goyal
18514f9eff Add empty book: Allow setting the title as well as the author and series for the added empty book records 2015-02-05 19:24:25 +05:30
Kovid Goyal
262273518f Windows driver for Grammata Papyre 602. Fixes #1418207 [Calibre don't detect papyre 602](https://bugs.launchpad.net/calibre/+bug/1418207) 2015-02-05 08:29:02 +05:30
Kovid Goyal
5a0fb8eaf9 Fix QXcbEventReader segfault in worker process used for rendering splash screen on linux 2015-02-04 13:32:56 +05:30
Kovid Goyal
acfff78330 Mark the fd used for singleinstance of OS X as CLOEXEC 2015-02-04 10:04:28 +05:30
Kovid Goyal
da0c6f8048 ... 2015-02-04 09:41:42 +05:30
Kovid Goyal
bfae849753 Edit Book: Add an option to turn off auto-completion of closing tags 2015-02-04 09:17:09 +05:30
Kovid Goyal
8cc82b6c8f Edit Book: Do not autocomplete the closing tag wen typing the / key inside an existing tag. Fixes #1417700 [Editor: Auto-Completion of HTML is screwing up the HTML](https://bugs.launchpad.net/calibre/+bug/1417700) 2015-02-04 08:53:29 +05:30
Charles Haley
719b36ea00 Enhancement #1417219: description field for custom columns 2015-02-03 10:05:36 +01:00
Kovid Goyal
7a611660d7 Fix Booken Lev e-book reader not being detected in OS X and Linux. Fixes #1417325 [My ereader not is detect in Calibre 2.18 (Binary package)](https://bugs.launchpad.net/calibre/+bug/1417325) 2015-02-03 13:14:13 +05:30
Kovid Goyal
29f4e41fba Conversion: Convert entities that reference non-BMP unicode codepoints on Windows and OS X correctly. Linux was not affected by this bug. Fixes #1417327 [incorrect assignment code of symbol](https://bugs.launchpad.net/calibre/+bug/1417327) 2015-02-03 12:44:59 +05:30
Kovid Goyal
4618304369 DOCX Input: Change handling of sequences of space characters to more closely follow Microsoft Word. 2015-02-03 11:14:23 +05:30
Kovid Goyal
28e6946de4 Allow tweaking of DOCX files using calibre-debug --explode-book 2015-02-03 09:50:37 +05:30
Kovid Goyal
0b92b95637 ... 2015-02-03 09:39:58 +05:30
Charles Haley
776562ad31 Quickview: show the shortcut in the tooltip for the Search and Close buttons 2015-02-02 13:51:00 +01:00
Charles Haley
b9b2a40b3e Handle showing focus better. Change search to search for the currently focused item instead of always searching for the item in the items widget. Some bug fixes. 2015-02-02 10:55:51 +01:00
Charles Haley
64aab7f4a0 Improve focus highlighting in QV so one can know which widget has the focus 2015-02-02 08:42:49 +01:00
Kovid Goyal
8a575ef753 Use the pipe worker instead of the debug executable for the splash screen 2015-02-02 06:12:06 +05:30
Kovid Goyal
f4d638bf4c Quick view window: Allow the quickview window to be docked into the main calibre window. See #1415714 ([enhancement] quickview window docked with expanded querying)
Merge branch 'master' of https://github.com/cbhaley/calibre
2015-02-02 04:55:57 +05:30
Charles Haley
365ca8db9d Remove calibre-level action for quickview focus. Small improvements in focus handling and item selection. 2015-02-01 18:09:26 +01:00
Charles Haley
61749bd646 Take out the focus to library action. Shift+ESC already does that. 2015-02-01 12:08:04 +01:00
Charles Haley
ab166f26c1 More changes for #1415714. Make Q toggle quickview. Add Shift+Q to focus to quickview. Add Ctrl+Q to focus to the library without changing the selected cell. Trap tabs in quickview to make navigating with the keyboard possible. 2015-02-01 12:00:03 +01:00
Kovid Goyal
57fdd09610 Edit Book: Fix Table of Contents editor not remembering its saved state across calibre sessions 2015-02-01 11:22:10 +05:30
Kovid Goyal
4e4d50eff6 Edit book: Disallow drag and drop of documents onto the preview panel to workaround crashing bug in Qt. Fixes #1416752 [Drag and Drop Image Crashes Editor](https://bugs.launchpad.net/calibre/+bug/1416752) 2015-02-01 10:24:58 +05:30
Kovid Goyal
bdf4e01d7a Make jumping to a cfi pseudo synchronous by spinning the event loop while waiting for the scroll to finish 2015-02-01 10:22:17 +05:30
Kovid Goyal
1235bc5ab2 Allow metadata plugins to return multiple urls for a book 2015-01-31 20:27:15 +05:30
Kovid Goyal
e377e66c20 Book Details panel: Allow any identifier of the form url+number to become a clickable link. For example: url1:http://example.com 2015-01-31 19:17:41 +05:30
Kovid Goyal
c7b08b3f00 E-book viewer: Fix current page not being preserved when opening and then immediately closing the footnote window. Fixes #1416526 [Closing ebook-viewer footnotes causes page to jump back](https://bugs.launchpad.net/calibre/+bug/1416526) 2015-01-31 11:23:50 +05:30
Kovid Goyal
89cc647009 Some utility functions to control the viewer position with page numbers in paged mode 2015-01-31 10:46:42 +05:30
Kovid Goyal
2a32abf933 PDF Output: Fix incorrect encoding for some chinese characters in the PDF Outline (Table of Contents). Fixes #1416222 [Incorrect TOC entries in PDF files converted from Chinese EPUB file](https://bugs.launchpad.net/calibre/+bug/1416222) 2015-01-31 00:08:01 +05:30
Charles Haley
f26495354f Another attempt at enhancement #1415714. The user has the choice of putting quickview in its own window (original implementation) or as a splitter panel containing library view and the quickview panes. 2015-01-30 13:33:11 +01:00
Kovid Goyal
e38f439118 version 2.18.0 2015-01-30 09:25:19 +05:30
Kovid Goyal
46eb1543ce Edit Book: Add a 'Style Classes' report to the Reports tool 2015-01-27 14:59:07 +05:30
Charles Haley
1c9c2c745e Disable VL tabs when in device view. 2015-01-26 10:14:56 +01:00
Kovid Goyal
71b78a0b5b Preferences: Re-arrange the controls to avoid needing to move the mouse from the top to the bottom of the dialog when closing the dialog after making some changes 2015-01-26 10:28:48 +05:30
Kovid Goyal
87a2e43318 Make the run welcome wizrd not be the default button in the preferences dialog 2015-01-26 08:07:57 +05:30
Kovid Goyal
c2f7ec6d4a Use a dialog instead of a main window for Preferences to workaround Qt's poor handling of full scrren mode on OS X Yosemite. Fixes #1414497 [MacOSX: problems in full screen mode](https://bugs.launchpad.net/calibre/+bug/1414497) 2015-01-26 07:59:18 +05:30
Kovid Goyal
deebe240ee Fix #1414444 [Untranslated string "occurrences of"](https://bugs.launchpad.net/calibre/+bug/1414444) 2015-01-25 20:53:12 +05:30
Kovid Goyal
cfc40a68bb ... 2015-01-25 06:37:57 +05:30
Kovid Goyal
452bb19df1 Nicer error message when writing the thumbnail width to the cache fails 2015-01-25 06:36:05 +05:30
Kovid Goyal
40714d02c5 Tag browser: Allow expanding all children of a node by right clicking and choosing Expand All. Fixes #1414315 [[Enhancement] Auto Expanding All Categories/Subcat Option](https://bugs.launchpad.net/calibre/+bug/1414315) 2015-01-25 06:19:25 +05:30
Kovid Goyal
f0ca2c0cc3 Do not mask the correct exception when failing to create the backup metadata.opf file 2015-01-25 05:05:03 +05:30
Kovid Goyal
18bd7879ed Save to Disk: Fix a bug where when multiple books are being saved to disk, if the save to disk template results in identical filenames, the filenames were not being properly disambiguated. 2015-01-24 22:47:12 +05:30
Kovid Goyal
2495790d29 Edit Book: Add a 'Links' report to the Reports tool 2015-01-24 09:37:47 +05:30
Kovid Goyal
0aa5efc7a4 ... 2015-01-24 09:03:07 +05:30
Kovid Goyal
36ed6c24a4 Refactor for re-use 2015-01-24 08:54:50 +05:30
Kovid Goyal
ef09e886b3 Change all shebangs to use python2 2015-01-23 19:08:21 +05:30
Kovid Goyal
91afce9f4c version 2.17.0 2015-01-23 09:34:51 +05:30
Kovid Goyal
0490b9bccf Add alternating row colors 2015-01-23 09:10:28 +05:30
Kovid Goyal
b86ec8941b DRYer also enable re-ordering of columns via drag and drop 2015-01-23 08:56:44 +05:30
Kovid Goyal
4853944f4d Show summary of style rules counts 2015-01-23 08:31:54 +05:30
Kovid Goyal
82c9b9a0b7 More robust row height calculation 2015-01-23 00:32:18 +05:30
Kovid Goyal
71d25d56a2 Improve performance and simplify code using a custom sort role instead of implementing lessThan() in python 2015-01-23 00:22:52 +05:30
Kovid Goyal
6420da0d6e Only print timing info in debug mode 2015-01-23 00:01:29 +05:30
Kovid Goyal
4c8e216f5f ... 2015-01-22 23:57:01 +05:30
Kovid Goyal
209c423abc Resize rows to contents cheaply in the reports 2015-01-22 23:50:59 +05:30
Kovid Goyal
4996161bf1 Dont error out when generating report for book that uses absolute paths for images on windows 2015-01-22 23:43:36 +05:30
Kovid Goyal
37604406c5 Fix memory corruption bug in implementation of ord_string() 2015-01-22 23:34:22 +05:30
Kovid Goyal
974592eb23 Squelch compiler warning 2015-01-22 23:33:52 +05:30
Kovid Goyal
fa04ef7ffc ... 2015-01-22 22:35:50 +05:30
Kovid Goyal
9ab23594ee ... 2015-01-22 22:18:07 +05:30
Kovid Goyal
f83b1a5720 ... 2015-01-22 22:14:47 +05:30
Kovid Goyal
0096c8eae2 Fix handling of @import rules in the report 2015-01-22 22:12:32 +05:30
Kovid Goyal
5f35a590d8 Fix parsing of <style> tags for report 2015-01-22 22:05:21 +05:30
Kovid Goyal
181dacb662 ... 2015-01-22 21:58:19 +05:30
Kovid Goyal
51d3563b7c ... 2015-01-22 21:56:50 +05:30
Kovid Goyal
7ee853426a Implement double clicking on report rule entries to jump to editor 2015-01-22 21:47:56 +05:30
Kovid Goyal
03f70800f2 Export for Style rules 2015-01-22 21:31:36 +05:30
Kovid Goyal
a347091b4d Display CSS report 2015-01-22 21:27:15 +05:30
Kovid Goyal
abdcbcdd82 Implement exporting of reports to csv files 2015-01-22 14:37:27 +05:30
Kovid Goyal
01bab1b8de Implement gathering of data for CSS report 2015-01-22 14:08:13 +05:30
Kovid Goyal
69a0e6ba05 Show a line with all characters at the bottom of the characters report
Also fix extra margins in the individual pane layouts
2015-01-22 14:07:46 +05:30
Kovid Goyal
78395922c0 ... 2015-01-22 13:36:38 +05:30
Kovid Goyal
79f5dff810 Print out time taken for each report type 2015-01-22 10:39:43 +05:30
Kovid Goyal
a006aed4f1 Small performance optimization 2015-01-22 10:29:48 +05:30
Kovid Goyal
a937ccdcdf Make jumping to character locations robust against file edits 2015-01-22 10:25:30 +05:30
Kovid Goyal
b05ee27ffe Remove unnecessary use of Location and fix deleting of spine items 2015-01-22 09:48:40 +05:30
Kovid Goyal
163c11301d ... 2015-01-21 23:05:12 +05:30
Kovid Goyal
f8ff8e4be2 Modify the icon for the copy to library action 2015-01-21 22:44:50 +05:30
Kovid Goyal
589c719dc6 Add a list of characters report to the reports tool 2015-01-21 19:07:47 +05:30
Kovid Goyal
95e36e66e7 Add a function to efficiently convert a unicode string into a tuple of unicode code points 2015-01-21 18:35:22 +05:30
Kovid Goyal
493d701538 Add a words report to the reports tool 2015-01-21 15:45:02 +05:30
Kovid Goyal
f054562ecb Implement double clicking on image to jump to its references 2015-01-21 12:53:08 +05:30
Kovid Goyal
484bfaed72 Implement the images report 2015-01-21 10:38:45 +05:30
Kovid Goyal
260d11e79b Read image data for reports and refactor file model class to make it more re-useable 2015-01-20 14:38:04 +05:30
Kovid Goyal
a7505aa324 Wire up the reports tool 2015-01-19 18:01:46 +05:30
Kovid Goyal
31b97d7bae ... 2015-01-19 17:41:47 +05:30
Kovid Goyal
e91994ab0e Implement the all files report 2015-01-19 17:40:30 +05:30
Kovid Goyal
b33d0b735c Start work on reports for the editor 2015-01-19 14:47:37 +05:30
Kovid Goyal
40908a4c18 Update Ozon.ru metadata download plugin for website changes. Fixes #1407265 [ozon metadata parsing error](https://bugs.launchpad.net/calibre/+bug/1407265) 2015-01-18 08:47:11 +05:30
Kovid Goyal
158e4075b9 E-book viewer: Fix regression in "flow" mode that caused horizontal scrollbar to be rendered as vertical. Fixes #1409916 [ebook-viewer shows another vertical scrollbar on horizontal content overflow](https://bugs.launchpad.net/calibre/+bug/1409916) 2015-01-16 09:36:38 +05:30
Kovid Goyal
2ab64729d8 Fix a regression that broke adding of books from sub-folders if the folder contained only an opf file. Fixes #1411240 [Add books from subdirectories (One book per directory) problem](https://bugs.launchpad.net/calibre/+bug/1411240) 2015-01-16 08:57:09 +05:30
Kovid Goyal
b5396dd801 ... 2015-01-14 21:16:36 +05:30
Kovid Goyal
edfedd41ca Add the IANA registered mime-type of application/font-sfnt to the set of mimetypes calibre recognizes for font files 2015-01-14 14:24:53 +05:30
Kovid Goyal
1a8c28ecb9 Switch version check to new server 2015-01-12 11:40:39 +05:30
Kovid Goyal
0050a3aba7 Allow downloading https resources without verifying the server certificate 2015-01-12 10:55:00 +05:30
Kovid Goyal
b0497d3c76 Switch to the new server for downloading recipes/get books plugins 2015-01-11 18:49:02 +05:30
Kovid Goyal
04dfbe41d4 Allow adding the "Manage Snippets" action to the toolbar, for easy access 2015-01-11 14:15:36 +05:30
Kovid Goyal
e313d85a97 Another stab at fixing Muse detection on Linux 2015-01-10 22:54:10 +05:30
Kovid Goyal
2878c58ebf version 2.16.0 2015-01-10 06:53:29 +05:30
Kovid Goyal
9d473b7f73 Merge branch 'master' of https://github.com/t3d/calibre 2015-01-10 06:50:48 +05:30
Kovid Goyal
35f9614f19 Change the trigger shortcut for snippets to Ctrl+J and Ctrl+Tab is often used by the OS 2015-01-09 17:12:55 +05:30
Kovid Goyal
db3f5cb134 Edit Book: When importing files and the book has an orphaned entry in the manifest for that file, but the file itself is not present, rename the file instead of erroring out. Fixes #1407860 [cannot replace missing PDF](https://bugs.launchpad.net/calibre/+bug/1407860) 2015-01-09 16:20:27 +05:30
Kovid Goyal
3a73b97a2e Add link to the User Manual for snippets 2015-01-09 15:39:05 +05:30
Kovid Goyal
dfac0d2cd5 More efficient implementation for finding longest matching snippet 2015-01-09 14:41:12 +05:30
Kovid Goyal
acf0756b70 When finding the matching snippet return the longest match 2015-01-09 14:33:22 +05:30
Kovid Goyal
08a536ff48 Refactor for better code organization 2015-01-09 14:10:19 +05:30
Kovid Goyal
b564245480 ... 2015-01-09 13:47:30 +05:30
Kovid Goyal
a0a97cf1be Allow customizing built-in snippets easily 2015-01-09 13:36:36 +05:30
Kovid Goyal
62f7d3f97c Fix position update for placeholders when removing characters 2015-01-09 13:11:07 +05:30
Kovid Goyal
dfccd4f7dd ... 2015-01-09 12:48:28 +05:30
Kovid Goyal
74ae127e05 Add a test area in the snippet editing dialog 2015-01-09 12:48:07 +05:30
Kovid Goyal
5454fca03e Remove the dependency on six.py from html5lib 2015-01-09 09:59:17 +05:30
Kovid Goyal
e339a5b05e ... 2015-01-08 21:35:34 +05:30
Kovid Goyal
91e2fac537 ... 2015-01-08 21:27:45 +05:30
Kovid Goyal
6fdc8b2139 Fix for narrow python builds 2015-01-08 21:26:54 +05:30
Kovid Goyal
a4a8625783 Enable use of snippets in the search/replace panel and the saved searches dialog 2015-01-08 21:19:09 +05:30
t3d
ee0c54d684 Ads4books in Empik store 2015-01-08 16:37:33 +01:00
Kovid Goyal
3a30197900 Allow users to create their own snippets 2015-01-08 19:00:06 +05:30
Kovid Goyal
4e140ea27d De-activate snippet without needing an extra Ctrl+Tab if the last placeholder has no mirrors/transforms 2015-01-08 10:34:58 +05:30
Kovid Goyal
a5a3ef3b02 Book Details panel: Fix author links with URL schemes other than http or file preventing context menu from working. Fixes #1408174 [[glitch] evernote link nullifies author context menu](https://bugs.launchpad.net/calibre/+bug/1408174) 2015-01-08 09:52:01 +05:30
Kovid Goyal
bcd8bcdcb5 PDF Output: Make the minimum height for headers and footers scale with the base font size 2015-01-08 09:42:16 +05:30
Kovid Goyal
8942e8e658 Hide completion popup when jumping to next placeholder 2015-01-08 09:27:34 +05:30
Kovid Goyal
804e4ba8f8 ... 2015-01-08 09:25:27 +05:30
Kovid Goyal
0bd0926b66 Default text for placeholders for builtin snippets 2015-01-08 09:25:04 +05:30
Kovid Goyal
8ee0c106ff Nicer repr for tab stops 2015-01-08 09:02:59 +05:30
Kovid Goyal
bcaabdfe08 Fix template extents not being updated 2015-01-08 08:57:19 +05:30
Kovid Goyal
ad0ffcaadd ... 2015-01-08 08:39:12 +05:30
Kovid Goyal
ed5ac9159e Use a single edit block for template expansion 2015-01-08 08:38:00 +05:30
Kovid Goyal
aed989d037 Fix mirror handling with selected text 2015-01-08 08:30:39 +05:30
Kovid Goyal
78fcbf2203 Tab stops and mirrors work 2015-01-08 08:22:29 +05:30
Kovid Goyal
a84e622e5f ... 2015-01-08 07:59:20 +05:30
Kovid Goyal
b0e98e0442 Get rid of unnecessary use of QTextCursor, since we have to track and update positions manually anyway 2015-01-08 07:27:22 +05:30
Kovid Goyal
bf8481361e Fis last_selected_text not working 2015-01-08 07:26:03 +05:30
Kovid Goyal
7effa7c79f Expanding snippets now works 2015-01-08 06:31:13 +05:30
Kovid Goyal
6c6dce47a1 Wire up the snippet manager
Its implementation is not yet complete
2015-01-08 06:15:41 +05:30
Kovid Goyal
19be8cd0c0 ... 2015-01-07 22:37:10 +05:30
Kovid Goyal
e94e7630fa On OSX PROTOCOL_TLSv1_2 is not available as python is built against the system openssl which is too old 2015-01-07 22:34:45 +05:30
Kovid Goyal
03f3eb931d Use create_default_context rather than manually creating the context 2015-01-07 11:53:53 +05:30
Kovid Goyal
cee98bbd0c Send the install uuid when downloading builtin recipes from the new server for better recipe usage stats 2015-01-06 21:59:19 +05:30
Kovid Goyal
f5bc132d2a Function to download builtin recipes from new server 2015-01-06 21:09:41 +05:30
Kovid Goyal
fee978759a More work on snippets 2015-01-06 13:56:41 +05:30
Kovid Goyal
ca5e5f4d14 Refactor for reuse 2015-01-06 13:56:31 +05:30
Kovid Goyal
78ebdb8420 Merge branch 'master' of https://github.com/cbhaley/calibre 2015-01-06 09:34:35 +05:30
Charles Haley
4cfa6fdf1f Make case differences between author and author sort show red, while preserving the behavior of automatically correcting the case if the author changes. 2015-01-05 17:25:26 +01:00
Kovid Goyal
5853a7f779 Ignore Ctrl+Tab in completion popup 2015-01-05 10:46:39 +05:30
Kovid Goyal
6a2490005c ... 2015-01-05 10:46:18 +05:30
Kovid Goyal
01511731e3 Fix a typo that prevented the Cybook Muse from being detected on some computers. Fixes #1407435 [Calibre doesn't detect my Cybook Muse Frontlight](https://bugs.launchpad.net/calibre/+bug/1407435) 2015-01-04 20:55:06 +05:30
Kovid Goyal
80dba5bf55 Fix download metadata button in edit metadata dialog being narrower than the other buttons 2015-01-03 10:40:01 +05:30
Kovid Goyal
2d48de8cb2 Get Books: Allow stores to customize the browser instance used for downloading book files 2015-01-03 09:13:54 +05:30
Kovid Goyal
3ddb7f1da3 Add a noindex directive for robots to the content server
There are people that apparently expose their content server instances
over the public internet. See
http://www.mobileread.com/forums/showthread.php?t=202662
2015-01-02 22:45:55 +05:30
Kovid Goyal
0bfc1f2798 version 2.15.0 2015-01-02 10:34:01 +05:30
Kovid Goyal
2e3e4203c7 Fix #1406962 [[broken link] Edit book "Help->User guide"](https://bugs.launchpad.net/calibre/+bug/1406962) 2015-01-02 09:40:27 +05:30
Kovid Goyal
eb6317512f Simplify some code 2015-01-01 08:58:45 +05:30
Kovid Goyal
acfcc63cfc AZW3 Input: Handle AZW3 files that contain Amazon specific CSS media queries. Fixes #1406708 [Converting azw3 to epub creates artifacts](https://bugs.launchpad.net/calibre/+bug/1406708) 2015-01-01 08:57:03 +05:30
Kovid Goyal
e262f916b3 ... 2015-01-01 07:31:48 +05:30
Kovid Goyal
545c314ddc Handle entities better in the func-mode builtin funcs 2014-12-31 21:23:52 +05:30
Kovid Goyal
1631de8755 Expanding of snippet templates 2014-12-31 18:32:12 +05:30
Kovid Goyal
3691f1ac39 ... 2014-12-31 16:07:01 +05:30
Kovid Goyal
c523847c30 Parsing for snips templates 2014-12-31 13:44:31 +05:30