Commit graph

22202 commits

Author SHA1 Message Date
Kovid Goyal
68edcec232 Fix #1324162 [Authors gives error: unhandled exception / IndexError:string index out of range](https://bugs.launchpad.net/calibre/+bug/1324162) 2014-05-29 09:33:10 +05:30
Kovid Goyal
06ba143405 ... 2014-05-28 14:04:10 +05:30
Kovid Goyal
603e756cdc ... 2014-05-28 14:02:26 +05:30
Kovid Goyal
251d5dc82d Add edit book action to main toolbar by default 2014-05-28 13:45:26 +05:30
Kovid Goyal
d10b06b1f2 Edit Book: Allow creation of custom color schemes for the editor (Preferences->Editor settings) 2014-05-28 13:40:17 +05:30
Kovid Goyal
a2342b6c4a Allow removal of custom themes 2014-05-28 11:32:16 +05:30
Kovid Goyal
066e783d17 Preview panel for theme customization dialog 2014-05-28 11:10:08 +05:30
Kovid Goyal
1b8697391b Start work on custom theme support for the editor 2014-05-27 21:22:21 +05:30
Kovid Goyal
4f6e3ea1b5 Merge branch 'master' of https://github.com/pgarst/calibre 2014-05-27 10:45:00 +05:30
Peter Garst
2e317e038e Updated index.py to handle no link case 2014-05-26 21:49:49 -07:00
Kovid Goyal
dac0ff6590 Check Book: When reporting unmanifested file warnings, allow auto fixing by adding the file to the manifest if it is referenced elsewhere or removing the file if it is not. Fixes #1323362 [Automatic fix does not work for "file is not listed in the book manifest."](https://bugs.launchpad.net/calibre/+bug/1323362) 2014-05-27 07:34:02 +05:30
Kovid Goyal
20dc791686 Virtual Libraries: If the user selects a virtual library whose tab has been closed via the Virtual Library button, re-open the tab instead of displaying the virtual library in the All Books tab. Fixes #1322474 [Closing a Virtual Library Tab Flags It As Hidden](https://bugs.launchpad.net/calibre/+bug/1322474) 2014-05-26 19:13:16 +05:30
Kovid Goyal
bc93263942 DOCX Input: Fix a regression that broke conversion of documents with an index that contains fields with special page text. Fixes #1322637 [Private bug](https://bugs.launchpad.net/calibre/+bug/1322637) 2014-05-25 16:32:14 +05:30
Kovid Goyal
f8e8d9caa0 Preview panel: Allow syncing of position more accurately when there are multiple tags on the same source code line 2014-05-25 14:29:25 +05:30
Kovid Goyal
e302d61e28 Present the APNX page count method as a combobox to the user
Merge branch 'device_config' of https://github.com/user-none/calibre
2014-05-25 10:57:26 +05:30
Kovid Goyal
d8a3adfd84 Kindle driver: When generating page numbers automatically, add an additional method to detect page boundaries, using the presence of <mbp:pagebreak> tags in the source of the book. You can use this setting by cright clicking on the Kindle icon in calibre when the kindle is connected and choosing customize this device. Fixes #1321761 [Code Submission: Real Page numbers modification](https://bugs.launchpad.net/calibre/+bug/1321761)
Merge branch 'master' of https://github.com/user-none/calibre
2014-05-25 09:42:31 +05:30
Kovid Goyal
5a155f3fe5 Refactor editor theme management 2014-05-25 09:29:35 +05:30
John Schember
3a82e3e033 Convert old accurate bool setting to new string method. 2014-05-24 23:57:30 -04:00
Kovid Goyal
9254dfeb0d Use the C tokenizer for tinycss 2014-05-25 08:46:04 +05:30
Kovid Goyal
0ddded708e Live CSS: Tighten the line spacing between properties 2014-05-24 18:04:18 +05:30
John Schember
e82b80497f config widget changes to support combo box. 2014-05-24 08:02:59 -04:00
Kovid Goyal
dec4720fb6 Live CSS: Indicate which CSS properties are overriden by higher priority rules 2014-05-24 11:32:52 +05:30
Kovid Goyal
6786df58d1 Live CSS: Dont make the heading fonts larger than the rest of the text 2014-05-24 09:50:14 +05:30
Kovid Goyal
2a84c0c1b6 Edit Book: When editing a book in a language for which no dictionary is installed, consider all words to be correctly spelt, rather than misspelt. Fixes #1320829 [Edit book very slow](https://bugs.launchpad.net/calibre/+bug/1320829) 2014-05-23 14:35:53 +05:30
Kovid Goyal
b1a9273935 ... 2014-05-23 09:17:15 +05:30
Kovid Goyal
be7b04b3b4 version 1.38 2014-05-23 08:46:35 +05:30
Kovid Goyal
3105d2bd32 ... 2014-05-23 08:45:02 +05:30
John Schember
189cbd41fe Put in some more fallbacks for when a chosen parser failes. 2014-05-22 16:59:32 -04:00
John Schember
6ea252106e page apnx algorithm to search for all tags with pagebreak in them. 2014-05-22 16:09:54 -04:00
John Schember
ba61122d1f fix fiding pagebreak tags. 2014-05-22 14:04:53 -04:00
John Schember
7c7c94df61 fix indentation. 2014-05-22 13:47:23 -04:00
John Schember
a01eec3779 fix equality. 2014-05-22 13:26:39 -04:00
Kovid Goyal
b10377f20c Add an option to hide the book rating in the cover browser (Preferences->Look & Feel->Cover Browser). Fixes #1319476 [Disable Rating in Cover Browser](https://bugs.launchpad.net/calibre/+bug/1319476) 2014-05-22 21:45:15 +05:30
Kovid Goyal
1038c66066 Live CSS: Prevent unnecessary refreshes when simply moving the cursor around in the same tag 2014-05-22 21:37:49 +05:30
Kovid Goyal
5c7ff48e9f Live CSS: Handle updates more gracefully when the cursor is in a CSS editor or a <style> tag
We prevent incorrect data from being returned by ensuring that updates
are not done while the preview panel is being refreshed. We also only
update data after the event loop has run for some time after a refresh.
2014-05-22 21:25:01 +05:30
Kovid Goyal
32bfcd9303 ... 2014-05-22 18:59:04 +05:30
Kovid Goyal
322e6021e0 ... 2014-05-22 18:58:26 +05:30
John Schember
c15e049684 Kindle APNX: Add calculation using pagebreak tag. 2014-05-22 09:26:11 -04:00
Kovid Goyal
e7387aab1a Add tokenizer tests into the --test-build test suite 2014-05-22 16:36:23 +05:30
Kovid Goyal
a09869e9d8 ... 2014-05-22 16:18:32 +05:30
Kovid Goyal
04b45413c6 Testing for the C tokenizer 2014-05-22 15:23:25 +05:30
Kovid Goyal
adac7e6d1e Initial implementation of C code to speedup tinycss tokenization
Needs testing.
2014-05-22 14:17:15 +05:30
Kovid Goyal
45436c4450 Fix regression that sometimes caused incorrect syntax highlighting when non-breaking spaces/typographic hyphens are present in the text. Fixes #1321317 [Edit book: Wrong hilighting in spaces](https://bugs.launchpad.net/calibre/+bug/1321317) 2014-05-22 09:14:02 +05:30
Kovid Goyal
69ab170c19 Fix a regression that broke the compare books tool when used outside the book editor. Fixes #1321975 [Unhandled exception when comparing epub books](https://bugs.launchpad.net/calibre/+bug/1321975) 2014-05-22 08:30:26 +05:30
Kovid Goyal
1a71d61e8b Performance improvement 2014-05-21 16:52:50 +05:30
Kovid Goyal
f38af40146 Port the tinycss test suite to use the unittest module 2014-05-21 13:05:05 +05:30
Kovid Goyal
097d9e3099 Performance improvement 2014-05-21 11:19:20 +05:30
Kovid Goyal
4febe3c455 Implement navigation to rules defined in stylesheets 2014-05-21 11:15:15 +05:30
Kovid Goyal
d993534dfc Initial import of tinycss 2014-05-21 10:15:50 +05:30
Kovid Goyal
062d38a156 Implement navigation to inline style attributes 2014-05-21 08:25:55 +05:30