27205 Commits

Author SHA1 Message Date
Kovid Goyal
3c50a45ad6 Fix incorrect remapping of line numbers on resize 2014-01-30 10:30:10 +05:30
Kovid Goyal
12b93c5bf0 Fix viewport not being updated for right panel after resize 2014-01-30 09:57:48 +05:30
Kovid Goyal
f499c4904c Allow diffing of non-ebook files as well 2014-01-30 09:47:07 +05:30
Kovid Goyal
a64e89bcc4 Always disable horiz scroll bars in diff view 2014-01-30 09:06:35 +05:30
Kovid Goyal
ec38ff9b95 Conversion: Add support for <style> and <link> tags outside the <head> tag. Fixes #1274339 [incorrect class substitution in html](https://bugs.launchpad.net/calibre/+bug/1274339) 2014-01-30 08:50:43 +05:30
Kovid Goyal
5eb1745526 Implement double clicking in the diff view opening the editor when viewing a diff against the current container 2014-01-29 21:11:28 +05:30
Kovid Goyal
209880df6c ... 2014-01-29 20:30:00 +05:30
Kovid Goyal
a45bd4b42e ... 2014-01-29 19:12:49 +05:30
Kovid Goyal
848ce1ce7c Nice position independent next and previous change buttons 2014-01-29 19:08:05 +05:30
Kovid Goyal
9ad290dcd9 ... 2014-01-29 18:49:56 +05:30
Kovid Goyal
3b4d563cd7 Insert context boundary at end of file as well if last change does not touch end of file 2014-01-29 17:37:58 +05:30
Kovid Goyal
11cbf14e3b ... 2014-01-29 17:33:20 +05:30
Kovid Goyal
1a095646d3 Fix calculation of line number area width not taking line number mapping into account 2014-01-29 17:28:58 +05:30
Kovid Goyal
e26ee89caf Insert context boundary at top of file is first change is not at top of file 2014-01-29 17:06:22 +05:30
Kovid Goyal
75bdef4fe3 Diff view: Fix scrolling when wrapped lines are present
Also enable line wrapping always instead of using the editor setting
2014-01-29 16:51:08 +05:30
Kovid Goyal
a6d8760a5a ... 2014-01-29 14:53:53 +05:30
Kovid Goyal
0d5cf9d78c Allow comparing the ORIGINAL_EPUB version of a book to the EPUB version by right clicking on the ORIGINAL_EPUB format in the book details panel. 2014-01-29 14:34:35 +05:30
Kovid Goyal
4fadc7dacc Show the view changes button only if there are some actual changes 2014-01-29 13:13:38 +05:30
Kovid Goyal
f630484554 Edit Book: Add a button to show diffs after any Polish action 2014-01-29 12:42:41 +05:30
Kovid Goyal
1c286fb671 Optimize diffing cloned containers 2014-01-29 11:25:01 +05:30
Kovid Goyal
0260880952 Edit book: Fix undo not working for subsetting fonts 2014-01-29 11:13:59 +05:30
Kovid Goyal
662b696fd0 CHM Input: Handle CHM files with broken markup where all the content is placed inside the <head> tag. Fixes #1273512 [words in italics removed after conversion to mobi](https://bugs.launchpad.net/calibre/+bug/1273512) 2014-01-28 14:25:43 +05:30
Kovid Goyal
6c04e010a5 pep8 2014-01-28 13:38:35 +05:30
Kovid Goyal
26ad1042a0 DOCX Input: Fix padding-left of <ul>, <ol> being defaulted to 0 if no padding specified in the docx style, which breaks rendering for lists at the left margin of the document. 2014-01-28 13:12:23 +05:30
Kovid Goyal
35fa14eab3 MOBI Output: Handle the value attribute on <li> tags. Fixes #1273559 [TOC numbers correct, Chapter numbers always 1](https://bugs.launchpad.net/calibre/+bug/1273559) 2014-01-28 12:50:34 +05:30
Kovid Goyal
91cc3ab2a3 Various Russian News sources by bug_me_not 2014-01-28 11:42:47 +05:30
Kovid Goyal
119108371c Edit Book: Add check for spine items with incorrect media-type specified in the manifest 2014-01-28 11:05:17 +05:30
Kovid Goyal
77edd3a7a9 Edit Book: Enable editing of page map XML files 2014-01-28 10:06:09 +05:30
Kovid Goyal
21971d0e25 EPUB Output: Fix splitting of HTML files not updating links in the <pageList> section of the NCX file 2014-01-28 09:51:03 +05:30
Kovid Goyal
9f0e13f60e EPUB Input: Handle EPUB files with incorrect media types for the spine items when converting. Fixes #1273471 [OEBError: Spine is empty](https://bugs.launchpad.net/calibre/+bug/1273471) 2014-01-28 09:42:27 +05:30
Kovid Goyal
d09c93fc66 Keyboard shortcuts for find next and previous in diff view 2014-01-27 21:38:53 +05:30
Kovid Goyal
cb63a16439 Keyboard shortcut for copy in diff view 2014-01-27 21:36:27 +05:30
Kovid Goyal
66e4fc9ae1 Implement searching in the diff view 2014-01-27 21:28:33 +05:30
Kovid Goyal
d0cfb55682 ... 2014-01-27 20:20:55 +05:30
Kovid Goyal
67664e7956 Extend workaround for textboxes to also apply to bookmarks/hyperlinks 2014-01-27 16:55:17 +05:30
Kovid Goyal
a33aa68f60 DOCX Input: Handle text boxes better
DOCX Input: Improve handling of text boxes. Text boxes are still not
supported, but they no longer cause errors or duplicate content.
Fixes #1273130 [Converting from .docx fails](https://bugs.launchpad.net/calibre/+bug/1273130)
2014-01-27 16:49:16 +05:30
Kovid Goyal
d38bc2998d Fix incorrect paints when paint events generated by mouse clicks 2014-01-27 10:00:10 +05:30
Kovid Goyal
520be76781 Fix keyboard shortcuts not working for diff view when in dialog 2014-01-27 08:21:58 +05:30
Kovid Goyal
56807d7b3e Edit Book: Add check for links that point to directories in the book instead of files. Fixes #1272769 [Check Book in Edit Book end with Unhandled exception](https://bugs.launchpad.net/calibre/+bug/1272769) 2014-01-27 08:00:33 +05:30
Kovid Goyal
d24c887c2f Remove frames around diff text views so that the diff lines cross the separator cleanly 2014-01-26 21:44:35 +05:30
Kovid Goyal
3e6a84d903 Add diff colors for other color schemes 2014-01-26 21:37:54 +05:30
Kovid Goyal
93ddd73c31 Fix theme fallback not working 2014-01-26 20:31:27 +05:30
Kovid Goyal
8088aad402 Fix non-linear scrolling in the diff view 2014-01-26 16:53:07 +05:30
Kovid Goyal
c6b9425571 Various fixes for rendering of images in the diff view 2014-01-26 16:14:31 +05:30
Kovid Goyal
8aa827baf6 Various minor bug fixes 2014-01-26 15:42:42 +05:30
Kovid Goyal
15bfb2aada Start work on diff dialog 2014-01-26 15:27:27 +05:30
Kovid Goyal
c4b82a9db8 Edit book: Fix cover not being updated from the current cover in the calibre library when using Edit Book. Note that you can turn off metadata updating via Preferences->calibre Integration in Edit Book. Fixes #1272730 [[enhancement] add selected cover to book](https://bugs.launchpad.net/calibre/+bug/1272730) 2014-01-26 09:21:31 +05:30
Kovid Goyal
251caa3c7d Refactor all the diff code into a single dir 2014-01-25 20:40:07 +05:30
Kovid Goyal
de0226ba47 RTF Output: Fix failure to convert documents that contain comments with the -- string inside the comment. Fixes #1272588 [Private bug](https://bugs.launchpad.net/calibre/+bug/1272588) 2014-01-25 19:07:25 +05:30
Kovid Goyal
77b463b79a Highlighting the starting line number for changes 2014-01-25 17:00:01 +05:30