Commit Graph

31190 Commits

Author SHA1 Message Date
Kovid Goyal de641e723a Fix a regression that broke the heuristic used to detect cover images in some EPUB files that do not specify their cover metadata. Fixes #1509642 ["cover.jpg" generated with additional white space (for small cover jpgs)](https://bugs.launchpad.net/calibre/+bug/1509642) ["cover.jpg" generated with additional white space (for small cover jpgs)](https://bugs.launchpad.net/calibre/+bug/1509642) 2015-10-27 00:17:57 +05:30
Kovid Goyal 4a0da223fd ... 2015-10-26 23:48:25 +05:30
Kovid Goyal 2923a20b3c Get the new speedup code to compile on windows 2015-10-26 21:27:03 +05:30
Kovid Goyal 3f4bc4764e Remove no longer working recipes 2015-10-26 21:20:03 +05:30
Kovid Goyal 96e957a491 Use a stricter UTF-8 decoder
The calibre server now passes all Autobahn WebSocket tests in strict
mode.
2015-10-26 21:16:03 +05:30
Kovid Goyal 747f1012e0 Notify the handler on a PONG 2015-10-26 18:38:01 +05:30
Kovid Goyal 8fc0a9f3c4 Make the EchoHandler more efficient by implementing an interface to send individual fragments instead of only complete messages. 2015-10-26 18:30:18 +05:30
Kovid Goyal 87d16a3f74 ... 2015-10-26 16:21:43 +05:30
Kovid Goyal 1555725117 Handle control frames that arrive in multiple TCP fragments 2015-10-26 15:36:06 +05:30
Kovid Goyal c9adbebe7f oops again :) 2015-10-26 15:26:38 +05:30
Kovid Goyal 3beffa6a40 ... 2015-10-26 15:18:59 +05:30
Kovid Goyal ae7f6613b4 ... 2015-10-26 15:08:02 +05:30
Kovid Goyal 724354ff47 Fix extra close frame being sent during shutdown 2015-10-26 14:34:54 +05:30
Kovid Goyal 9e4e8985f0 Remove unused code 2015-10-26 14:23:23 +05:30
Kovid Goyal 2b6021fcbd Improve websocket performance by masking in native code 2015-10-26 14:14:20 +05:30
Kovid Goyal 3f1b5782f0 Tighten up handling of close frames 2015-10-26 12:58:19 +05:30
Kovid Goyal 2535953fc6 Fix decoding of fragment text messages 2015-10-26 09:53:49 +05:30
Kovid Goyal c37c2bf718 More tests 2015-10-26 00:21:13 +05:30
Kovid Goyal 888ff441c5 Handle continuation frames with non-zero opcodes 2015-10-26 00:17:38 +05:30
Kovid Goyal 89c6f163f6 DRYer 2015-10-25 23:57:44 +05:30
Kovid Goyal 02b6e54bf1 Handle orphaned continuation frames 2015-10-25 23:55:31 +05:30
Kovid Goyal f7be2cc60f Remove code left over from a previous edit that was breaking fragment handling 2015-10-25 23:28:46 +05:30
Kovid Goyal 51f0e93be5 Change the control frames queue to FIFO
Also properly handle fragmented control frames
2015-10-25 21:42:23 +05:30
Kovid Goyal f908df4991 ... 2015-10-25 21:23:35 +05:30
Kovid Goyal b6eceba62b Return protocol error when RSV is set 2015-10-25 21:15:23 +05:30
Kovid Goyal f4b5d451fd More hammering on the WS server
Ensure that the server stops reading after
a close packet send is triggered
2015-10-25 20:52:41 +05:30
Kovid Goyal d2535aa9cf Allow easily silencing the server log during tests 2015-10-25 20:43:43 +05:30
Kovid Goyal 7bc5e491b3 Fix perfomance of WebSockets server by handling TCP_CORK and TCP_NODELAY correctly
Also fix a couple of miscellaneous bugs in the WS server
2015-10-25 18:32:09 +05:30
Kovid Goyal fb579a6257 Testing infrastructure for the web socket server 2015-10-25 16:06:46 +05:30
Kovid Goyal 4a6f04fd95 Start work on WebSockets support in the server 2015-10-25 12:08:58 +05:30
Kovid Goyal 7dff6d61e6 Revert "Update last_activity when not using sendfile as well"
This reverts commit b2c4c9422e.

last_activity is already updated in the send() method
2015-10-25 11:22:30 +05:30
Kovid Goyal f0d2897821 Fix bug in code to special case NOOK MTP driver
I forgot that the MTP path API uses lists not strings for paths
2015-10-25 08:29:11 +05:30
Kovid Goyal 1809d85330 Possible fix for the NOOK Glowlight Plus
For some idiotic reason B&N only allow files to be written inside
the NOOK folder on this device. So we try to special case it in the
MTP driver.
2015-10-24 20:38:03 +05:30
Kovid Goyal a5e7d38951 ... 2015-10-24 08:08:10 +05:30
Kovid Goyal 50d866efd7 Ensure use_sendfile exists 2015-10-23 20:44:58 +05:30
Kovid Goyal b2c4c9422e Update last_activity when not using sendfile as well 2015-10-23 20:40:49 +05:30
Kovid Goyal 3ab32a1da6 ... 2015-10-23 20:05:41 +05:30
Kovid Goyal 12430b21e0 ... 2015-10-23 20:03:50 +05:30
Kovid Goyal 49a90175a9 Animate activation of covers 2015-10-23 20:02:02 +05:30
Kovid Goyal 61b4f75526 Zoom cover on hover 2015-10-23 19:59:45 +05:30
Kovid Goyal 59035652cf Update Sueddeutsche.de 2015-10-23 18:25:58 +05:30
Kovid Goyal 53458682d2 Show tooltips for the cover grid 2015-10-23 10:37:07 +05:30
Kovid Goyal 7e2e766e1e Set alt text for cover images 2015-10-23 10:24:44 +05:30
Kovid Goyal da0364d29b Fix sort ordering of ajax/search always ascending 2015-10-23 09:40:38 +05:30
Kovid Goyal 12d1d5c8c2 Cover grid view for the new server 2015-10-23 09:22:28 +05:30
Kovid Goyal eae610e465 ... 2015-10-22 14:44:20 +05:30
Kovid Goyal 8dd12103d1 Update NRC 2015-10-22 10:22:32 +05:30
Kovid Goyal eb18b57463 Edit Book File List: Fix pre-selection of filename when renaming a file in the root 2015-10-21 20:45:29 +05:30
Kovid Goyal 038630f669 Auto ellipsize top bar text when it overflows 2015-10-21 08:13:42 +05:30
Kovid Goyal 5a124d8bf1 More compact representation of book metadata as JSON 2015-10-21 07:12:57 +05:30