30218 Commits

Author SHA1 Message Date
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
Kovid Goyal
77504c31a0 Edit metadata dialog: Fix date fields being displayed in the UTC timezone instead of the local timezone, causing the day to be off by one in some timezones. Fixes #1393166 [Wrong date after edit date in bulk edit metadata form](https://bugs.launchpad.net/calibre/+bug/1393166) 2014-11-17 09:30:16 +05:30
Kovid Goyal
dfbb179cce Conversion/Book polishing: Fix ampersands in title/series/publisher/author not being properly escaped. Fixes #1393230 [[Jacket] Ampersands in title/authors/series not parsed](https://bugs.launchpad.net/calibre/+bug/1393230) 2014-11-17 08:55:37 +05:30
Kovid Goyal
328000d9f7 ... 2014-11-16 22:30:21 +05:30
Kovid Goyal
02078028bc ... 2014-11-16 19:16:10 +05:30
Polyfun
f5bff92ac4 Fixed libimobiledevice _afc_file_write wrapper to loop until all bytes are written.
_afc_file_write is used by the idevice interface to copy files to the
idevice. This fix has been successfully tested by round tripping a 500
MB file from the PC to the device and back again, and checking that the
before and after files are identical.
2014-11-15 18:28:20 +05:30
Kovid Goyal
99cb07ea09 Use the default user shell in the build VMs instead of bash 2014-11-15 16:52:41 +05:30
Kovid Goyal
c471e0d1e0 Update the version of libimobiledevice bundled with the windows calibre build to support iOS 8 2014-11-15 16:52:18 +05:30
Kovid Goyal
870ad92a0d Fix a regression in 2.10 that causes Adding books from sub-folders, one book per folder to incorrectly add OPF files present in the sub-folders as an extra format. See #1392864 (Errors in book import in 2.10) 2014-11-15 10:35:15 +05:30