Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add FifoIpcDaemon._reopen_input() method. | Zac Medico | 2010-10-06 | 1 | -9/+1 |
| | |||||
* | Bug #339976 - Suppress fifo POLLHUP events. | Zac Medico | 2010-10-06 | 1 | -0/+11 |
| | |||||
* | Make EbuildIpcDaemon._input_handler() handle EAGAIN from os.read() | Zac Medico | 2010-09-23 | 1 | -1/+7 |
| | | | | for FreeBSD (bug 337465, comment #35). | ||||
* | Bug #337465 - Make EbuildIpcDaemon._input_handler() use os.read() | Zac Medico | 2010-09-23 | 1 | -3/+11 |
| | | | | | since array.fromfile() and file.read() are both known to erroneously return an empty string from this non-blocking fifo stream on FreeBSD. | ||||
* | Remove obsolete comment about non-blocking from | Zac Medico | 2010-09-20 | 1 | -4/+0 |
| | | | | EbuildIpcDaemon._send_reply() since ebuild-ipc now uses blocking IO. | ||||
* | Use blocking IO in ebuild-ipc.py and EbuildIpcDaemon._send_reply(), | Zac Medico | 2010-09-18 | 1 | -6/+1 |
| | | | | in hopes that it will be more portable (see bug #337465). | ||||
* | Make EbuildIpcDaemon._input_handler() use a blanket exception | Zac Medico | 2010-09-17 | 1 | -2/+5 |
| | | | | | handler for pickle.loads() since that can raise practically any exception when given corrupt data. | ||||
* | Bug #336644 - Make EbuildIpcDaemon use AbstractPollTask._read_buf(), | Zac Medico | 2010-09-09 | 1 | -17/+4 |
| | | | | | for better handling of errors like "IOError: [Errno 11] Resource temporarily unavailable". TODO: Apply a similar fix to ebuild-ipc.py. | ||||
* | Adjust EbuildIpcDaemon pickle read and write code in order to ensure | Zac Medico | 2010-09-02 | 1 | -3/+26 |
| | | | | | atomc reading and writing of whole pickles. This should be the least error-prone approach, given the non-blocking nature of the streams. | ||||
* | Remove unuser return values from PollScheduler event handlers. | Zac Medico | 2010-08-15 | 1 | -2/+0 |
| | |||||
* | Add the "unexpected bash exit" case to the docstring. | Zac Medico | 2010-08-15 | 1 | -1/+3 |
| | |||||
* | Bug #315615 - Use EbuildIpcDaemon to implement has_version and best_version. | Zac Medico | 2010-08-13 | 1 | -1/+0 |
| | | | | | This provides performance benefits and also avoids permissions issues with FEATURES=userpriv. | ||||
* | Call pickle.load() directly on the input pipe, and handle exceptions. | Zac Medico | 2010-08-12 | 1 | -7/+4 |
| | |||||
* | Refactor interaction between EbuildIpcDaemon and ExitCommand. | Zac Medico | 2010-08-12 | 1 | -1/+21 |
| | |||||
* | Make IpcDaemonTestCase demonstrate an EbuildIpcDaemon based | Zac Medico | 2010-08-12 | 1 | -10/+10 |
| | | | | replacement for EBUILD_EXIT_STATUS_FILE. | ||||
* | Split out an EbuildIpcDaemon class from FifoIpcDaemon. | Zac Medico | 2010-08-12 | 1 | -0/+52 |