29694 Commits

Author SHA1 Message Date
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
2e9024e55e Do not exclude six when freezing, since calibre no longer bundles it 2015-01-09 10:17:44 +05:30
Kovid Goyal
5454fca03e Remove the dependency on six.py from html5lib 2015-01-09 09:59:17 +05:30
Kovid Goyal
9998bea941 ... 2015-01-09 09:17:34 +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
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
6a891948d3 Update tyzden
Merge branch 'master' of https://github.com/rakyi/calibre
2015-01-07 21:26:28 +05:30
Martin Račák
17014f461b Updated and simplified .týždeň recipe 2015-01-07 16:44:21 +01:00
Kovid Goyal
03f3eb931d Use create_default_context rather than manually creating the context 2015-01-07 11:53:53 +05:30
Kovid Goyal
721bd800cd Upload code signatures to new server 2015-01-07 08:29:01 +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
e1baf279a6 ... 2015-01-04 08:57:21 +05:30