29576 Commits

Author SHA1 Message Date
Kovid Goyal
adc6a173a5 oops 2014-11-21 12:27:26 +05:30
Kovid Goyal
01f9a4a330 Dont crash if pygments raises an exception 2014-11-21 12:23:25 +05:30
Kovid Goyal
022c1ed445 Make the Pygments<->Qt glue faster and also fix handling of EOL 2014-11-21 12:03:11 +05:30
Kovid Goyal
3e8bf6d586 ... 2014-11-21 12:00:42 +05:30
Kovid Goyal
ca534b9919 Refactor the pygments based highlighter so that the plumbing connecting pygments to Qt can be re-used 2014-11-21 10:31:54 +05:30
Kovid Goyal
6f539330f4 ... 2014-11-21 09:51:53 +05:30
Kovid Goyal
ba329fa521 version 2.11 v2.11.0 2014-11-21 08:21:26 +05:30
Kovid Goyal
cc4452f072 Prevent misbehaving plugins that delete shortcut actions without unregistering them from causing crashes 2014-11-21 07:59:17 +05:30
Kovid Goyal
95d9151a5c Refactor the pygments util function into their own module
Ensures that cdiff does not fail if pygments is unavailable
2014-11-20 23:04:36 +05:30
Kovid Goyal
66bfe1797b Do not use the pygments based highlighter if the user does not have pygments (will happen on some linux distros and for people running from source who dont update the binary) 2014-11-20 22:58:44 +05:30
Kovid Goyal
cabc1280f8 Add smart-indent to the python code editor 2014-11-20 22:51:56 +05:30
Kovid Goyal
36deae13e9 Nicer editor widget for editing S&R functions 2014-11-20 22:00:35 +05:30
Kovid Goyal
64b9a921ab A syntax highlighter for python using pygments 2014-11-20 21:53:43 +05:30
Kovid Goyal
d588010b39 Add pygments to the binary builds 2014-11-20 18:17:52 +05:30
Kovid Goyal
247e4ec674 Fix completion worker stdout handling on windows 2014-11-20 17:20:44 +05:30
Kovid Goyal
78a5c3fd0f Refactor for re-use 2014-11-20 17:20:27 +05:30
Kovid Goyal
c356e09dcf Fix regression in 2.10 that caused printing to stdout/stderr in FileType plugins to not work when running using calibre-debug -g in a windows console 2014-11-20 17:02:46 +05:30
Kovid Goyal
38fe10d9f9 Fix Ctrl-R while in debug mode not restarting in debug mode properly 2014-11-20 15:29:52 +05:30
Kovid Goyal
957ca644b2 ... 2014-11-20 15:21:06 +05:30
Kovid Goyal
1755ed2c7a Finish documenting the function mode for S&R 2014-11-20 15:20:22 +05:30
Kovid Goyal
fe66042bc6 Make the functions namespace a little easier to use 2014-11-20 15:20:09 +05:30
Kovid Goyal
7a20ad2f5a An example showing how to use function mode to auto create a Table of Contents 2014-11-20 12:53:47 +05:30
Kovid Goyal
3074d11ce5 ... 2014-11-20 12:53:22 +05:30
Kovid Goyal
47b0baae85 Allow S&R funcs to specify they would like to be called once after all matches are found 2014-11-20 11:23:11 +05:30
Kovid Goyal
cf42295fc5 Refactor ToC generation code to make it re-useable 2014-11-20 11:22:29 +05:30
Kovid Goyal
1cf54a9253 Add an example of auto-numbering for sections 2014-11-20 09:56:46 +05:30
Kovid Goyal
89204f8002 Handle HTML entities in the example replace function 2014-11-20 09:32:17 +05:30
Kovid Goyal
00ea2cc4a4 DOCX Input: Add support for multilingual documents. Fixes #1394428 [docx driver doesn't handle different languages](https://bugs.launchpad.net/calibre/+bug/1394428) 2014-11-20 08:27:06 +05:30
Kovid Goyal
35406e21d8 ... 2014-11-19 22:18:03 +05:30
Kovid Goyal
2349f4507a Start documenting the new function mode 2014-11-19 22:14:40 +05:30
Kovid Goyal
c983f4f999 Fix a regression in 2.10 that caused changes in Preferences->Adding books to not work for the next immediate add 2014-11-19 21:27:03 +05:30
Kovid Goyal
d040139f57 ... 2014-11-19 21:06:33 +05:30
Kovid Goyal
b18d693ba2 Show output from print() calls in S&R functions 2014-11-19 17:53:19 +05:30
Kovid Goyal
48a701012c Handle HTML entities in the builtin S&R funcs 2014-11-19 15:36:51 +05:30
Kovid Goyal
ef3509ebc5 Finish implementation of function mode for the editor 2014-11-19 15:02:59 +05:30
Kovid Goyal
35cd019066 ... 2014-11-19 14:21:49 +05:30
Kovid Goyal
bff2ebc9d5 Use decorators for builtin S&R functions: prettier :) 2014-11-19 09:52:18 +05:30
Kovid Goyal
18e61e8eab DRYer 2014-11-19 09:20:38 +05:30
Kovid Goyal
705ed00b5f Move imports out of S&R builtin funcs 2014-11-19 09:12:55 +05:30
Kovid Goyal
5de64c93a2 Tooltips for function mode controls 2014-11-19 08:55:12 +05:30
Kovid Goyal
d8cef2d192 Add saved searches context menu items to the functions box 2014-11-18 21:10:08 +05:30
Kovid Goyal
c70b89e099 More builtin search and replace functions 2014-11-18 21:03:25 +05:30
Kovid Goyal
8ea08e2153 Add function mode support to the saved searches dialog 2014-11-18 20:56:45 +05:30
Kovid Goyal
4cb585cc3e Start work on function mode for S&R in the editor 2014-11-18 19:09:16 +05:30
Kovid Goyal
f28a295362 Update Nikkei News 2014-11-18 14:28:54 +05:30
Kovid Goyal
10773ceb24 Merge branch 'master' of https://github.com/cbhaley/calibre 2014-11-18 09:04:35 +05:30
Charles Haley
b98db0e2b2 Fix regression in evaluating composite columns that use other composite columns.
Assume column X uses column Y. If X assigns to template variables then evaluated Y, the variables were cleared. The regression happened because the performance increase changes to use ProxyMetadata also caused X and Y to be evaluated in the same formatter instance where before they were evaluated in separate instances. This triggered a long-standing latent bug where a 'global' local variable dictionary was cleared every time a template was executed. The fix is to make the local variable dict local to the template evaluation instance.
2014-11-17 18:25:45 +01:00
Kovid Goyal
0f65b3981d Add a link to instructions for setting up a Visual Studio development environment 2014-11-17 17:14:40 +05:30
Kovid Goyal
a687ddfe50 Update some links in the User Manual 2014-11-17 17:14:16 +05:30
Kovid Goyal
48ecd9b516 ... 2014-11-17 09:37:10 +05:30