27200 Commits

Author SHA1 Message Date
Kovid Goyal
f0d676502f Edit book: Fix file permissions for the edited book being changed on Linux and OS X
Since the editor saves by using a temp file and then renaming the temp
file to overwrite the original, we have to explicitly copy over
permissions and owner metadata to the temp file to ensure they remain
unchanged.
2014-03-13 14:13:29 +05:30
Kovid Goyal
aea66db018 Show the search expression for the virtual library in a tooltip when hovering over the tab for the virtual library. Fixes #1291691 [[Enhancement] VL search expression tooltip on hover](https://bugs.launchpad.net/calibre/+bug/1291691) 2014-03-13 08:52:58 +05:30
Kovid Goyal
d78b9c3f0d Move the filter text boxes to the top so that they are closer to the first result 2014-03-13 08:32:30 +05:30
Kovid Goyal
a32a1e6f79 Add an action to clear search history as well as disabling the popup 2014-03-13 08:30:00 +05:30
Kovid Goyal
a337fedffb Merge branch 'master' of https://github.com/GRiker/calibre 2014-03-12 19:30:57 +05:30
Kovid Goyal
98bd33e144 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-03-12 19:28:06 +05:30
Gregory Riker
9486fe05ad Add optimization to listdir to return filenames only 2014-03-12 05:12:58 -07:00
Charles Haley
77071e14a5 Several fixes to syncing in the wireless device driver.
1) Handle case where metadata comes from scanning books instead of from calibre.
2) Don't attempt to update a field when one of the two sync columns is None.
3) Refactor code to eliminate interactions between sync types.
2014-03-12 12:23:24 +01:00
Kovid Goyal
a991c5e36d Edit Book: Add a tool to easily insert hyperlinks (click the insert hyperlink button on the toolbar) 2014-03-12 13:53:38 +05:30
Kovid Goyal
240f164840 Better fix for missing cursor when completion popup opens 2014-03-12 12:28:38 +05:30
Kovid Goyal
13b47f4a29 Edit book: Allow disabling the completion popups for the search and replace fields. Right click on the search/replace field to enable/disable the completion popup 2014-03-12 09:59:42 +05:30
Kovid Goyal
0e3362fd4b Library backup: Avoid infinite retries if converting metadata to backup OPF for a book fails. Simply fail to backup the metadata for that book. Fixes #1291142 [Memory Error/ Failed to convert to opf for id:](https://bugs.launchpad.net/calibre/+bug/1291142) 2014-03-12 09:10:40 +05:30
Kovid Goyal
737fde279d Fix #1291085 [Add 'tooltip'(title) to Author in book details](https://bugs.launchpad.net/calibre/+bug/1291085) 2014-03-12 09:04:54 +05:30
Kovid Goyal
20ce36517c Fix cursor becoming invisible when completion popup is opened 2014-03-11 09:44:21 +05:30
David Forrester
127282840a Update dbversion for older Kobo devices
Should have set the supported_dbversion to 98 in the KOBO driver to
match the KOBOTOUCH driver.
2014-03-10 18:39:30 +05:30
Kovid Goyal
0dc16efa89 Update Fleshbot 2014-03-10 16:48:19 +05:30
Kovid Goyal
bf003b8d1f Add getafix to push destinations 2014-03-10 15:09:30 +05:30
Kovid Goyal
0415fb19dd Remove ununsed DJVU input GUI widget 2014-03-10 14:46:22 +05:30
Kovid Goyal
a479db415c ... 2014-03-10 13:44:06 +05:30
Kovid Goyal
38f00298a6 Possible fix for crash on OS X Mavericks when adding duplicates 2014-03-10 12:41:42 +05:30
Kovid Goyal
87fedb8a6d I love linux distros 2014-03-10 11:53:50 +05:30
Kovid Goyal
4836d17783 Fix #1290097 ["epub" without toc crashes](https://bugs.launchpad.net/calibre/+bug/1290097) 2014-03-10 08:25:40 +05:30
Kovid Goyal
1ee24745ee ... 2014-03-10 08:16:01 +05:30
Kovid Goyal
456b297bf0 ... 2014-03-09 19:14:35 +05:30
Kovid Goyal
a708b93df5 ... 2014-03-09 18:45:38 +05:30
Kovid Goyal
706c0baca2 Fix matcher dialog wrapping filenames 2014-03-09 18:28:46 +05:30
Kovid Goyal
62eb796b51 Edit book: Add a tool to easily open a file inside the book for editing by just typing a few characters from the file name. To use it press Ctrl+T in the editor or go to Edit->Quick open a file to edit' 2014-03-09 18:16:05 +05:30
Kovid Goyal
b88f26adff Refactor matcher test suite 2014-03-09 17:00:14 +05:30
Kovid Goyal
bdbc6ccfaa Handle positions when matching on non BMP chars on narrow python builds correctly 2014-03-09 16:44:50 +05:30
Kovid Goyal
b4e2b9e93f UI for the subsequence matcher 2014-03-09 14:42:31 +05:30
Kovid Goyal
b4b1c021f7 ... 2014-03-09 10:16:21 +05:30
Kovid Goyal
5df9807308 Fix leaving full screen mode not removing max height restriction 2014-03-09 09:31:26 +05:30
Kovid Goyal
777a43308b E-book viewer: Fix pressing the Esc key to leave full screen mode not changing the state of the full screen button 2014-03-09 09:26:54 +05:30
Kovid Goyal
ea6b203b37 E-book viewer: Add an option to control the maximum text height in full screen. Note that it only owrks if the viewer is in paged mode (which is the default mode). 2014-03-09 09:23:58 +05:30
Kovid Goyal
158c33481e ... 2014-03-09 08:03:24 +05:30
Kovid Goyal
1f2aa8a55b Allow merging of icu branch into trunk by falling back to the old icu module if the old binary plugin is detected. 2014-03-08 22:18:29 +05:30
Kovid Goyal
b76cc3e9ab Speed up searching a little by using a dedicated function for testing if a string contains a substring using primary collation (replaces using primary_find() 2014-03-08 22:08:31 +05:30
Kovid Goyal
4eaee89487 Fix ICU find returning incorrect position and length parameters when non-BMP characters are present on wide python builds 2014-03-08 21:46:46 +05:30
Kovid Goyal
27327e811b Clearer error message when compiling on python >= 3.3 2014-03-08 21:19:05 +05:30
Kovid Goyal
f078cd7168 Performance improvements and code cleanup for the ICU module 2014-03-08 21:13:26 +05:30
Kovid Goyal
b8e414f18b Revert a part of the previous commit that was left in by mistake and also add a test for handling of positions when the haystack contains non-BMP chars 2014-03-08 21:12:38 +05:30
Kovid Goyal
bd88666bb0 Command line interface to filesystem matcher
Also fix a couple of bugs in the matcher algorithms
2014-03-08 20:55:20 +05:30
Kovid Goyal
09be666ea0 When reading metadata from filenames, do not apply the fallback regexp to read metadata if the user specified regexp puts the entire filename into the title. The fallback is only used if the user specified expression does not match the filename at all. 2014-03-08 18:11:08 +05:30
Kovid Goyal
35c837b839 Move matcher module into the utils package 2014-03-08 11:24:15 +05:30
Kovid Goyal
b672f4ed11 Subsequence matcher: Use primary collation 2014-03-08 10:59:19 +05:30
Kovid Goyal
6e9afc0398 ... 2014-03-08 10:56:31 +05:30
Kovid Goyal
37ac52ad32 Allow capsule based access to the ICU collator 2014-03-08 09:28:02 +05:30
Kovid Goyal
5816c4aaeb ... 2014-03-08 08:27:27 +05:30
Kovid Goyal
a33265cf46 Content server: Fix (maybe) an error on some windows computers with a non-standard default encoding
See http://www.mobileread.com/forums/showthread.php?t=235366
2014-03-08 08:08:46 +05:30
Kovid Goyal
606ee69582 ... 2014-03-08 07:28:46 +05:30