32779 Commits

Author SHA1 Message Date
Kovid Goyal
36df29ce09 Oops, forgot to finish the code to generate titlepages for non epub formats when rendering books 2016-03-27 21:07:27 +05:30
Kovid Goyal
411f922ba0 Safer encoding for virtualized resource URLs 2016-03-27 20:56:30 +05:30
Kovid Goyal
7561f07fc7 calibredb add: Fix the --cover option not working if the book being added has its own cover. Fixes #1562507 [calibredb add -c ./cover.jpg not working](https://bugs.launchpad.net/calibre/+bug/1562507) 2016-03-27 20:43:10 +05:30
Kovid Goyal
d0d3d6227e ... 2016-03-27 16:10:45 +05:30
Kovid Goyal
f17d4ea166 ... 2016-03-27 14:46:57 +05:30
Kovid Goyal
2012b0f6b4 Update RapydScript 2016-03-27 14:24:43 +05:30
Kovid Goyal
68371e6294 Compactify the JSON repr of HTML a bit 2016-03-27 11:32:20 +05:30
Kovid Goyal
98eacb55cf E-book viewer: Add options to control the amount the mouse wheel and arrow keys scroll by in flow mode 2016-03-27 10:37:26 +05:30
Kovid Goyal
a4c2a4b2f4 Magyar Nemzet by pofa 2016-03-27 08:56:13 +05:30
Kovid Goyal
0f20c27226 E-book viewer: Fix mathematics being typeset at too small a font size on windows 2016-03-27 08:56:07 +05:30
Kovid Goyal
1a38f03966 MathJax: Fix scale causing equations to not be aligned.
See https://github.com/mathjax/MathJax/issues/1422
2016-03-27 08:24:06 +05:30
Kovid Goyal
ac2d7ccbcf PDF Output: Fix occasional blank pages erroneously inserted in the text (at the end of an internal html file). Fixes #1559855 [epub to pdf conversion results in random blank pages](https://bugs.launchpad.net/calibre/+bug/1559855) 2016-03-26 16:28:40 +05:30
Kovid Goyal
887c92ad6f Also log unhandled errors to the console 2016-03-26 12:58:58 +05:30
Kovid Goyal
5372b390d7 When rendering books serialize HTML as JSON
Can be used to easily dynamically populate the DOM using the DOM API.
Need to do this since document.write() is flaky in some browsers
2016-03-26 10:36:51 +05:30
Kovid Goyal
49962d34da Book details panel: Fix url:file:// identifiers not becoming links 2016-03-26 10:14:31 +05:30
Kovid Goyal
c1a272099c ... 2016-03-25 14:27:49 +05:30
Kovid Goyal
60ddc3176b ... 2016-03-25 14:26:40 +05:30
Kovid Goyal
6649b60dc5 Refactor encryption into the globals module for ease of re-use 2016-03-25 14:25:24 +05:30
Kovid Goyal
63381b7859 ... 2016-03-25 12:59:17 +05:30
Kovid Goyal
a609cdc849 Update RapydScript 2016-03-25 11:39:39 +05:30
Kovid Goyal
7c050209e5 Initially dont encrypt communication, allows for efficient transmission of large blobs 2016-03-25 11:35:24 +05:30
Kovid Goyal
e15f53cdf2 Better icon for toc button in viewer 2016-03-25 09:19:34 +05:30
Kovid Goyal
fd660e02bf Fix #1561783 [Ebook viewer using wrong icon for 'show metadata'](https://bugs.launchpad.net/calibre/+bug/1561783) 2016-03-25 09:18:39 +05:30
Kovid Goyal
5588f32d00 Update Folha de Sao Paolo 2016-03-25 09:01:23 +05:30
Kovid Goyal
c56ef9c087 Simplify loading of javascript in render iframe
Also improves performance by in-lining javascript into index.html
2016-03-24 23:41:57 +05:30
Kovid Goyal
35d2b9fda9 Establish communication between parent and sanboxed render iframe 2016-03-24 17:35:53 +05:30
Kovid Goyal
ebc247a020 Update bundled MathJax to 2.6.1 2016-03-24 16:01:36 +05:30
Kovid Goyal
1909f68979 Update Endgadget 2016-03-24 07:32:50 +05:30
Kovid Goyal
c41e4b00fc Use the cover in the db rather than the one in the file when rendering books 2016-03-23 20:25:12 +05:30
Kovid Goyal
1c8058fff6 ... 2016-03-23 17:27:23 +05:30
Kovid Goyal
a1ce8f3eaa Update RapydScript 2016-03-23 12:08:16 +05:30
Kovid Goyal
cd99eda4b2 ... 2016-03-23 08:58:08 +05:30
Kovid Goyal
059f3f70c0 More useful error message when fetching plugins list fails 2016-03-22 20:45:10 +05:30
Kovid Goyal
cae761166f Update MSNBC 2016-03-22 20:28:16 +05:30
Kovid Goyal
cbce50cbe4 Move aes.pyj into the rapydscript-ng project 2016-03-22 17:52:37 +05:30
Kovid Goyal
c3ec8fc5d8 Implement AES-GCM 2016-03-22 17:25:31 +05:30
Kovid Goyal
84f304b7ca Allow working with int32 encoded plaintext directly 2016-03-22 14:01:23 +05:30
Kovid Goyal
05d5ad2f59 Refactor to get rid of the Counter class 2016-03-22 10:47:44 +05:30
Kovid Goyal
7fad5939b3 DRYer 2016-03-22 10:08:41 +05:30
Kovid Goyal
48f80f2a81 Make the number of bytes used by the counter configurable 2016-03-22 09:34:01 +05:30
Kovid Goyal
cae0e38a97 Allow AES-CTR to work even with lost messages
Make the counter public. This should no affect the security properties,
as long as you are careful nevert to re-use the (secret key, counter)
pair.
2016-03-22 08:46:10 +05:30
Kovid Goyal
4bee4a6e83 Use subarray() instead of slice() for performance 2016-03-22 08:22:48 +05:30
Kovid Goyal
e7cdb2b3dc Mult-Kor by pofa 2016-03-22 08:20:16 +05:30
Kovid Goyal
10ed72992d Revert to using a QPlainText for extra css. Apparently the more sophisticated editor was causing crashes for some people. Fixes #1557147 [2.53 crashes in Qt5Gui.dll when starting conversions](https://bugs.launchpad.net/calibre/+bug/1557147) 2016-03-22 00:52:22 +05:30
Kovid Goyal
701bec4a91 Update RapydScript 2016-03-22 00:44:49 +05:30
Kovid Goyal
85aba366c6 Implement AES-CTR 2016-03-22 00:23:53 +05:30
Kovid Goyal
aefc7fa751 Merge branch 'master' of https://github.com/JimmXinu/calibre 2016-03-21 22:53:35 +05:30
Kovid Goyal
d8c96f9dd8 Change default tag size 2016-03-21 22:50:37 +05:30
Jim Miller
b051aa26ac Add 'are your sure' check to quit when proceed_question is waiting. 2016-03-21 12:10:16 -05:00
Kovid Goyal
4412e80d1d Allow using bytearrays as tags for AES-CBC 2016-03-21 22:35:51 +05:30