Commit Graph

30517 Commits

Author SHA1 Message Date
Kovid Goyal f527f41389 Add support for HTTP redirects 2015-05-29 11:03:03 +05:30
Kovid Goyal ab81fe992b Server: Run the actual request handling code in threads so as not to block the servers event loop 2015-05-29 10:35:31 +05:30
Kovid Goyal 5b2049c3c8 ... 2015-05-29 09:34:32 +05:30
Kovid Goyal 40bef5e8d9 ... v2.29.0 2015-05-29 08:16:06 +05:30
Kovid Goyal dbd11d27e3 version 2.29.0 2015-05-29 08:15:16 +05:30
Kovid Goyal 97d32ecdf6 Use a dedicated socket pair to control the server
Allows for a faster wakeup() implementation and the server
can receive arbitrary control messages
2015-05-28 14:11:51 +05:30
Kovid Goyal 6764873483 ... 2015-05-28 14:01:58 +05:30
Kovid Goyal e1598dc752 Make the sockets returned by create_sock_pair() non-inheritable 2015-05-28 13:12:24 +05:30
Kovid Goyal 57f0060bfa Merge branch 'master' of https://github.com/cbhaley/calibre 2015-05-28 12:27:26 +05:30
Kovid Goyal 694b457a1a DOCX Output: Detect the common idiom of placing centered images as inline images inside a containing centered block and render the resulting image as a floating centered image in the DOCX file. See #1455502 (EPUB to DOCX Conversation) 2015-05-28 09:53:47 +05:30
Charles Haley 7297bfbe8c Handle custom is_names columns in the tag editor. 2015-05-27 16:10:29 +02:00
Kovid Goyal 37eaea831b ... 2015-05-27 18:45:04 +05:30
Kovid Goyal 3fec63f0a4 ... 2015-05-27 18:40:35 +05:30
Kovid Goyal 3b308e3d41 Make information on the remote client available to HTTP handlers 2015-05-27 13:57:42 +05:30
Kovid Goyal 1bc5dfc47f Make the socket activation test simpler and more robust 2015-05-27 13:50:21 +05:30
Kovid Goyal b653cd2060 ... 2015-05-27 13:04:49 +05:30
Kovid Goyal 9f0578b4bd Update Popular Science 2015-05-27 12:43:37 +05:30
Kovid Goyal f01a490730 Remove broken recipe 2015-05-27 12:14:36 +05:30
Kovid Goyal cdd376a4b4 Update General Knowledge Today
Fixes #1457724 [Enhancement Request](https://bugs.launchpad.net/calibre/+bug/1457724)
2015-05-27 12:05:06 +05:30
Kovid Goyal f22af669e8 Change default timeout to 120 seconds and ensure Keep-Alive header uses integers 2015-05-27 10:50:52 +05:30
Kovid Goyal ec521d58c5 Update COPYRIGHT 2015-05-27 09:52:21 +05:30
Kovid Goyal a918726301 ... 2015-05-27 09:44:36 +05:30
Kovid Goyal d821086eeb Allow opening the full Tag Editor dialog directly from the book list by holding down the Shift key while starting an edit of a tag-like field. For example, click on the tags field for a book and press Shift-F2
Tag Browser: Allow undoing the deletion of items in the Manage categories window

Merge branch 'master' of https://github.com/cbhaley/calibre
2015-05-27 09:29:36 +05:30
Kovid Goyal 5f4e8230a9 Add test for systemd socket activation 2015-05-27 09:21:05 +05:30
Kovid Goyal 700e1996c8 Fix stop() not working and preserve a SystemExit 2015-05-27 09:16:02 +05:30
Kovid Goyal e61c0bc92b ... 2015-05-27 08:32:09 +05:30
Kovid Goyal f04515b51d calibredb add: Allow setting arbitrary identifiers, not just ISBN. Fixes #1458620 [[Enhancement] Add empty book via ASIN](https://bugs.launchpad.net/calibre/+bug/1458620) 2015-05-26 22:04:24 +05:30
Kovid Goyal 9bf8dcf4ca ToC Editor: Fix save/load of settings int he XPath wizard not working across restarts 2015-05-26 21:50:09 +05:30
Kovid Goyal 9daaa81437 Fix detection of plugin class in the KePub metadata plugins 2015-05-26 21:34:41 +05:30
Kovid Goyal 0cacdf26e6 Since I am here, add code to set Subject Alternative names for certificates 2015-05-26 21:21:35 +05:30
Kovid Goyal 7750fdcf0e Add a test for HTTPS serving
Uses a nice new module I created to wrap OpenSSl's insance API for
creating certificates.
2015-05-26 20:30:38 +05:30
Charles Haley 3b6702cf81 Do not offer the tag editor for custom is_name columns. It destroys the order of the names. 2015-05-26 10:38:53 +02:00
Charles Haley 5c5d8393db Have Shift F2 on an is_multiple item in the booklist open the tag editor for columns that don't contain names. 2015-05-26 10:30:53 +02:00
Charles Haley fb6eb4fcd4 Improvements to the item category editor available from the tag browser:
- Show deleted items in the table
- Allow undo of deleted items
- Allow undo of name changes
- Allow F2 (or whatever) to open the editor
2015-05-26 10:30:53 +02:00
Kovid Goyal 40791b72b0 Another micro-optimization
Also a couple of small bug fixes for unexpected socket death
2015-05-26 08:16:09 +05:30
Kovid Goyal 3e27e0da0f Micro optimizations 2015-05-26 07:56:54 +05:30
Kovid Goyal d4ad8086d2 ... 2015-05-26 07:41:20 +05:30
Kovid Goyal d6eeddbb79 ... 2015-05-26 07:37:49 +05:30
Kovid Goyal a43fdc9871 Small further optimization for readline() 2015-05-26 07:33:25 +05:30
Kovid Goyal d5d638dd9b Speed up readline() by using a user-space ring buffer 2015-05-26 07:22:45 +05:30
Kovid Goyal 5b870afd51 ... 2015-05-26 01:51:59 +05:30
Kovid Goyal 38f4a2aa69 ... 2015-05-25 22:19:54 +05:30
Kovid Goyal 51b8281151 Improve performance of sending of large files when sendfile() is not available (such as on windows)
Use the kernel socket send buffer size as the blocksize for sends.
2015-05-25 22:02:22 +05:30
Kovid Goyal eb72da611d ... 2015-05-25 21:01:06 +05:30
Kovid Goyal aa4c31ef75 ... 2015-05-25 20:31:52 +05:30
Kovid Goyal 61120fa2b1 ... 2015-05-25 20:22:25 +05:30
Kovid Goyal d075eff758 Finish implementation of async http server 2015-05-25 18:37:20 +05:30
Kovid Goyal 2068e52b82 Update regex engine to latest (2.4.61) 2015-05-25 09:55:10 +05:30
Kovid Goyal 2484ed7b61 Fix guessed mime type for js files 2015-05-24 18:32:46 +05:30
Kovid Goyal 5c918cc84a Use SOMAXCONN insteaad of 5 for listen() 2015-05-23 19:25:17 +05:30