27464 Commits

Author SHA1 Message Date
Kovid Goyal
f20efd3177 A spot of refactoring 2014-05-13 21:39:02 +05:30
Kovid Goyal
4cca8ca820 Use explicit wave highlighting since we dont want a theme dependent highlight style 2014-05-13 21:28:58 +05:30
Kovid Goyal
5b24a497cd Edit Book: Add support for spell checking int he code view. Now spelling errors are highlighted in the code view for convenient correction as you type. This can be turned off via Preferences->Editor. 2014-05-13 21:23:22 +05:30
Kovid Goyal
d723bbc253 .. 2014-05-12 22:05:30 +05:30
Kovid Goyal
144d673004 Content server: Add more descriptive titles to the OPDS feeds, where possible 2014-05-12 21:56:50 +05:30
Kovid Goyal
97b222caca DOCX Input: Handle docx files with index fields that have their field names incorrectly lower cased. Fixes #1318670 [Conversion from DOCX, probably indexitem related](https://bugs.launchpad.net/calibre/+bug/1318670) 2014-05-12 20:50:34 +05:30
Kovid Goyal
fa9b43f7f1 Add a break iterator that returns indices into the string instead of tokens in the string 2014-05-12 19:11:50 +05:30
Kovid Goyal
c0b0df3160 Increase time we wait for the antivirus to curl up and die 2014-05-12 18:59:24 +05:30
Kovid Goyal
d3c2d8cd6f Faster implementation of utf16_length 2014-05-12 18:12:19 +05:30
Kovid Goyal
d337debc92 Edit book: Fix incorrect syntax highlighting on linux if the text contains non-BMP unicode characters. 2014-05-12 17:47:49 +05:30
Kovid Goyal
7ee75a8775 Function to return the number of utf-16 code points in a python string on wide python builds 2014-05-12 17:02:57 +05:30
Kovid Goyal
fd17470464 ... 2014-05-12 16:40:29 +05:30
Kovid Goyal
91f14b07ab Store language data when syntax highlighting 2014-05-12 12:07:30 +05:30
Kovid Goyal
637109e7e5 Highlighting groups for spell check 2014-05-12 11:43:04 +05:30
Kovid Goyal
d09d10301f Merge branch 'master' of https://github.com/GRiker/calibre 2014-05-12 07:36:00 +05:30
Gregory Riker
b4c279d176 Fixed a libimobiledevice resource leak. 2014-05-11 10:34:23 -06:00
Kovid Goyal
80b1476aa2 Make word under cursor detection more robust 2014-05-11 10:32:24 +05:30
Kovid Goyal
f2f1c5d8d4 ... 2014-05-11 10:02:02 +05:30
Kovid Goyal
94c324b317 E-book viewer: When using the tap and hold gesture on a touchscreen, allow lookup of the word currently under the finger in the dictionary or online. Fixes #1318242 [Enhancement: allow text select on Windows Tablet, perhaps with stylus](https://bugs.launchpad.net/calibre/+bug/1318242) 2014-05-11 09:47:52 +05:30
Kovid Goyal
99f2fc6879 Ignore errors during live refresh of the toc view 2014-05-10 20:56:54 +05:30
Kovid Goyal
50812974e0 Edit Book: Update the Table of Contents view automatically when the ncx file is edited.
Also avoid unnecessary rebuilds of the Table of Contents view.
2014-05-10 20:53:29 +05:30
Kovid Goyal
a480c5c5a0 Edit Book: When refreshing the ToC view pick up the unsaved changes, if any, in the ncx file 2014-05-10 19:22:46 +05:30
Kovid Goyal
e4024b8b05 Edit Book: Allow putting the editor into replace mode by pressing the Insert key 2014-05-10 19:05:26 +05:30
Kovid Goyal
f337a57435 ... 2014-05-10 17:03:05 +05:30
Kovid Goyal
d23345f696 Edit book: Insert tag button: Allow entering attributes along with the tag name to make it easy to repeatedly insert, for example, <span class="special"></span>. 2014-05-10 15:58:25 +05:30
Kovid Goyal
f6e613df6a ... 2014-05-10 15:52:28 +05:30
Charles Haley
8f7c23816d First error in first_matching_compare documentation 2014-05-10 12:13:43 +02:00
Kovid Goyal
dfc0923db1 ... 2014-05-10 15:38:44 +05:30
Kovid Goyal
29c8943ebd Edit book: Fix regression that caused an error when trying to edit files with no defined syntax, such as plain .txt files. Fixes #1318139 [Editor: Synatax-Highlighter error](https://bugs.launchpad.net/calibre/+bug/1318139) 2014-05-10 15:33:30 +05:30
Kovid Goyal
359e410920 Windows driver for Woxter Scriba 190. Fixes #1317892 [Feature Request: Woxter Scriba 190 support](https://bugs.launchpad.net/calibre/+bug/1317892) 2014-05-09 18:54:11 +05:30
Kovid Goyal
aaa0e09c4d Edit Book: Add an entry to the context menu of the preview panel to open external URLs when a link is clicked on 2014-05-09 13:29:49 +05:30
Kovid Goyal
b0a62a34bd Add build test for apsw 2014-05-09 10:54:17 +05:30
Kovid Goyal
dd50cf3b71 version 1.36 2014-05-09 08:11:55 +05:30
Kovid Goyal
24299b12a4 DOCX Input: Add support for cross references. Cross references that are used to insert hyperlinks are now converted into hyperlinks in the output document. Features to insert paragraph/page numbers are not supported. 2014-05-08 21:28:49 +05:30
Kovid Goyal
d3c67c72fd DOCX Input: Fix error when converting document with nested frames. Fixes #1317543 [Conversion of a particular DOCX file](https://bugs.launchpad.net/calibre/+bug/1317543) 2014-05-08 20:58:57 +05:30
Kovid Goyal
a1f0c360e7 pep8 2014-05-08 07:26:51 +05:30
Roman Mukhin
fb970e24c6 Fix metadata plugin to download metadata from OZON for website changes. Fixes #1300383 [Searching metadata using Ozon.ru failed with error](https://bugs.launchpad.net/calibre/+bug/1300383) 2014-05-08 07:26:09 +05:30
Kovid Goyal
cc07a5d77d Option to run filter style info on only the file being edited currently 2014-05-07 15:26:17 +05:30
Kovid Goyal
1767c90680 Edit Book: A new tool to filter style information (Tools->Filter style
information). Useful to easily remove some CSS properties from the
entire book.
2014-05-07 14:34:11 +05:30
Kovid Goyal
418cb87f13 Subsetting embedded fonts: Fix an error when subsetting embedded fonts on windows if the username contains quotes or apostrophes. Fixes #1316533 [subset all embedded fonts > colect_font_stats error](https://bugs.launchpad.net/calibre/+bug/1316533) 2014-05-07 08:27:33 +05:30
Kovid Goyal
04b0930625 Edit book: Allow copying the list of errors from the Check Book tool to the clipboard by right clicking on the list of errors 2014-05-06 21:03:41 +05:30
Kovid Goyal
5b009747b7 Book polishing: If the books being polished have an ORIGINAL_EPUB/AZW3 format, warn the user that polishing will use it as the source and ask for confirmation. See #1316158 (Repost Enhancement Request: Polish Tool) 2014-05-06 18:51:44 +05:30
Kovid Goyal
3509c7fb60 SKip contractions ICU test as it is too version dependant 2014-05-05 22:06:26 +05:30
Charles Haley
fb11aa99ac New formatter function first_matching_cmp 2014-05-05 18:13:05 +02:00
Kovid Goyal
c33dd12449 Edit Book: Fix error when checking spelling if one of the files in the book declares an invalid (empty) language code. Fixes #1316170 [Spellcheck doesn't like ...xml:lang=""](https://bugs.launchpad.net/calibre/+bug/1316170) 2014-05-05 20:31:25 +05:30
Kovid Goyal
6a95c08f85 pep8 2014-05-04 23:12:53 +05:30
Charles Haley
6568f137da Force disconnecting the device on protocol errors. Allow device to synchronize sending books so that calibre doesn't get too far ahead. 2014-05-04 12:31:27 +02:00
Kovid Goyal
e5bb1ed4a6 Fix a harmless error message that could occur in rare circumstances while editing metadata in the library. Fixes #1315735 [runtime error while editing metadata](https://bugs.launchpad.net/calibre/+bug/1315735) 2014-05-04 07:57:56 +05:30
Kovid Goyal
bf51722403 Add support for viewing kepub files, by treating them as plain epub files 2014-05-03 21:25:17 +05:30
Kovid Goyal
0d28842570 Edit book: In the Insert Link tool show a few words of text alongside the location anchor name, to make it easier to know what a location is 2014-05-03 11:05:42 +05:30