31744 Commits

Author SHA1 Message Date
Kovid Goyal
efad4902e3 ... 2015-11-05 09:11:08 +05:30
Kovid Goyal
d7e6f3622b La Politica Online by Darko Miletic
Fixes #1513123 [New recipe for La Politica Online](https://bugs.launchpad.net/calibre/+bug/1513123)
2015-11-04 21:56:25 +05:30
Kovid Goyal
b24d9ef07a More places where SHGetFolder could fail 2015-11-04 21:51:45 +05:30
Kovid Goyal
2d71675fe1 Handle SHGetFolder failing to return home directory on windows 2015-11-04 21:38:00 +05:30
Kovid Goyal
7459e67a2a Get rid of bleach
html5lib's sanitizer actually turns out to be good enough for our
use case.
2015-11-04 20:30:35 +05:30
Kovid Goyal
dbb4092b35 Fix a couple of things I forgot to merge from upstream html5lib 2015-11-04 20:24:57 +05:30
Kovid Goyal
424a430d15 Add basic user management to the server
This code is mostly just a stub, will need to be fleshed out later.
2015-11-04 19:53:01 +05:30
Kovid Goyal
08fa7a72c1 Store session defaults centrally 2015-11-04 15:53:56 +05:30
Kovid Goyal
4476e0f0ce ... 2015-11-04 15:06:17 +05:30
Kovid Goyal
919de5f28c ... 2015-11-04 15:05:28 +05:30
Kovid Goyal
e2bfb32dc9 Switch to using localStorage instead of cookies for sessions 2015-11-04 14:59:04 +05:30
Kovid Goyal
9431a6e3ee Update RapydScript 2015-11-04 14:59:04 +05:30
Kovid Goyal
84047474b6 Nicer icon for smart comment 2015-11-04 10:21:52 +05:30
Kovid Goyal
1bb87b7677 Edit Book: Add a "Smart Comment" tool to easily comment/uncomment text
Press Ctrl+` to trigger the tool, or add the tool to your toolbar via
Preferences->Toolbar->Tools for all editors

It will either insert comments around the selected text or uncomment an
existing comment if the cursor is inside one.
2015-11-04 10:16:52 +05:30
Kovid Goyal
32b00774da E-book viewer: Set the foreground color as well as the background color for the reference mode popup. Makes it legibile even when the user specifies a different color theme for the viewer. 2015-11-03 20:59:42 +05:30
Kovid Goyal
4d6eaedfb4 Add build test for bleach 2015-11-03 11:27:47 +05:30
Kovid Goyal
5cbd9ef5da Better error message when URL parsing fails 2015-11-03 11:25:46 +05:30
Kovid Goyal
182d9b0d40 Do not use the deprecated safe_mode of markdown
Instead use the Bleach library. Include a bundled copy of bleach because
of: https://github.com/mozilla/bleach/pull/175
2015-11-03 11:16:47 +05:30
Kovid Goyal
892571a180 Merge in changes from upstream html5lib 2015-11-03 10:41:47 +05:30
Kovid Goyal
700c77ddcd Update bundled markdown to version 2.6.3 2015-11-03 08:06:45 +05:30
Kovid Goyal
72aa133cc6 Use keyword arguments when creating Markdown object 2015-11-03 07:29:07 +05:30
Kovid Goyal
7304584c58 Markdown input: Allow the "extra" convenience extension as a shortcut for enabling multiple other extensions. Also ad the Attribute List and Admonition extensions. Fixes #1512461 [[Enhancement] Add extra to allowed markdown extensions](https://bugs.launchpad.net/calibre/+bug/1512461) 2015-11-03 07:17:08 +05:30
Kovid Goyal
46500bb183 ... 2015-11-02 20:45:19 +05:30
Kovid Goyal
104e97367c Parse Connection header properly when checking for upgrade to WebSocket 2015-11-02 20:44:22 +05:30
Kovid Goyal
d7180443da Implement the basic item list panel 2015-11-02 17:05:47 +05:30
Kovid Goyal
9c916a3679 Update RapydScript 2015-11-02 16:27:58 +05:30
Kovid Goyal
a3fe8db79c ... 2015-11-02 11:56:07 +05:30
Kovid Goyal
cfb3d3b7a1 ... 2015-10-30 10:40:16 +05:30
Kovid Goyal
e9bdc0d10b version 2.42.0 v2.42.0 2015-10-30 09:16:48 +05:30
Kovid Goyal
8e52d122ef Diff dialog: Hide busy indicator when showing no changes found message 2015-10-30 09:15:23 +05:30
Kovid Goyal
da78f784a0 Update Pocket 2015-10-30 08:52:28 +05:30
Kovid Goyal
eb8c761633 ... 2015-10-29 20:00:51 +05:30
Kovid Goyal
3463fc6414 pep8 2015-10-29 17:13:59 +05:30
Kovid Goyal
51df81135f Use only four bytes to ensure timestamp in unique instead of 16 2015-10-29 10:28:17 +05:30
Kovid Goyal
b7f0999949 Dont use QueryPerfomanceCounter for monotonic() as it is wildly inaccurate, despite what the documentation from MuppetSoft says 2015-10-29 09:37:59 +05:30
Kovid Goyal
06c5f0c1f2 Metadata download review dialog: Add an option to mark rejected books in the main book list after the review is completed. Fixes #1507198 [[feature request] Mark rejected download results](https://bugs.launchpad.net/calibre/+bug/1507198) 2015-10-28 21:27:48 +05:30
Kovid Goyal
b5b681d525 Edit metadata dialog: When downloading metadata with download of authors turned off, do not regenerate the author sort field after the download. Fixes #1510335 ["Author Sort" corrupted when using "Download metadata"](https://bugs.launchpad.net/calibre/+bug/1510335) 2015-10-28 20:45:34 +05:30
Kovid Goyal
2e4927d02e Fix #1510687 [TOC editor maximum width](https://bugs.launchpad.net/calibre/+bug/1510687) 2015-10-28 20:29:48 +05:30
Kovid Goyal
853b1f6012 ... 2015-10-28 18:50:23 +05:30
Kovid Goyal
83151cc1f0 Avoid the extra malloc+copies entailed by BytesIO in the non websocket part of the server as well
Needed a replacement for the zlib module as  the python2 version does
not support memoryview objects.
2015-10-28 18:24:01 +05:30
Kovid Goyal
e56703ebc2 Properly release the Py_buffer objects 2015-10-28 18:11:34 +05:30
Kovid Goyal
3c3f65f1c2 ... 2015-10-28 14:48:32 +05:30
Kovid Goyal
875f10287e Eliminate unnecessary function call 2015-10-28 14:45:48 +05:30
Kovid Goyal
343574245f Speedup monotonic() by eliminating the ctypes overhead 2015-10-28 14:39:49 +05:30
Kovid Goyal
af07373638 Eliminate another malloc+copy 2015-10-28 12:23:08 +05:30
Kovid Goyal
abb62bc65f Change utf8_decode() to use the buffer protocol as well 2015-10-28 11:54:26 +05:30
Kovid Goyal
6925b23754 More WS speedups by using the buffer protocol to avoid mallocs 2015-10-28 11:34:33 +05:30
Kovid Goyal
689bec8c46 Reduce number of mallocs in the WebSocket server 2015-10-28 08:25:43 +05:30
Kovid Goyal
ee1593b77c ... 2015-10-28 08:06:09 +05:30
Kovid Goyal
93004be1b6 Retry only a fixed number of times in compiling RS fails 2015-10-27 21:44:35 +05:30