30532 Commits

Author SHA1 Message Date
Kovid Goyal
547ebe941b Fix locking thread safe log objects' exception()
Also fix the default stream ignoring the stream parameter to its
constructor.

Change RLock to Lock for better performance, since locking recursion is
not needed
2015-06-02 14:11:16 +05:30
Kovid Goyal
1b745365f4 ... 2015-06-02 13:46:29 +05:30
Kovid Goyal
113cc0cc0c Make the interface/port to listen on an option 2015-06-02 11:43:28 +05:30
Kovid Goyal
c75ec6358d ... 2015-06-02 11:37:11 +05:30
Kovid Goyal
bc30b08b2b Implement HTTP request routing 2015-06-02 10:17:38 +05:30
Kovid Goyal
15b10d56ca Book details panel: On windows use only \ as a path separator 2015-06-02 09:52:40 +05:30
Kovid Goyal
5fbc95dea0 News download: Add support for turning off SSL certificate verification 2015-06-02 09:37:49 +05:30
Kovid Goyal
e03e50730d Fix incorrect use of assertRaises 2015-06-01 12:24:55 +05:30
Kovid Goyal
1e8c38d994 ... 2015-06-01 10:39:26 +05:30
Kovid Goyal
e6de0db19d Fix #1460395 [FB2 wrong element order](https://bugs.launchpad.net/calibre/+bug/1460395) 2015-06-01 08:14:50 +05:30
Kovid Goyal
a0d06b48e9 E-book viewer: If there are entries in the Table of Contents that are long enough to be truncated, display the full text in a popup menu when the mouse hovers over the item. Fixes #1460093 [Request: Hover over TOC item to display full line if cut off](https://bugs.launchpad.net/calibre/+bug/1460093) 2015-05-29 21:29:50 +05:30
Kovid Goyal
fb815c0bdb Edit Book: Fix Saved searches panel not working well with very long search/replace expressions 2015-05-29 21:15:32 +05:30
Kovid Goyal
bacca244ea OS X: Fix changing preferences causing "Email to selected recipients..." appearing multiple times int he Connect/Share menu. Fixes #1460089 ["Email to Select Recipients" listed twice](https://bugs.launchpad.net/calibre/+bug/1460089) 2015-05-29 21:06:51 +05:30
Kovid Goyal
00df6549c0 Add test for shutdown with hung worker 2015-05-29 18:45:37 +05:30
Kovid Goyal
a485b61fe1 Add tests for the ring buffer 2015-05-29 12:10:38 +05:30
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