Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PipeReader: unregister in _cancel | Zac Medico | 2012-10-18 | 1 | -1/+2 |
| | |||||
* | PipeLogger/Reader: remove redundant isAlive() | Zac Medico | 2012-10-18 | 1 | -3/+0 |
| | | | | Parent class AbstractPollTask has equivalent implementation. | ||||
* | PollScheduler: remove register/unregister methods | Zac Medico | 2012-10-05 | 1 | -2/+2 |
| | | | | | | | These methods were aliases for the EventLoop io_add_watch and source_remove methods. Migrating to the EventLoop method names allows an EventLoop instance to substitute for a PollScheduler inside subclasses of AbstractPollTask. | ||||
* | Use AbstractPollTask._wait_loop() more. | Zac Medico | 2012-02-08 | 1 | -4/+1 |
| | |||||
* | Use PollScheduler iteration method. | Zac Medico | 2012-02-07 | 1 | -4/+3 |
| | |||||
* | PollScheduler: glib.io_add_watch() compatibility | Zac Medico | 2012-02-07 | 1 | -0/+4 |
| | |||||
* | Fix some warnings found by pylint. | Arfrever Frehtes Taifersar Arahesis | 2011-12-18 | 1 | -1/+1 |
| | |||||
* | test_poll: fix array test | Zac Medico | 2011-12-16 | 1 | -2/+27 |
| | | | | | Since SpawnProcess no longer uses array, add conditional array support to PipeReader and use that for tests. | ||||
* | PipeReader: use AbstractPollTask._read_buf() | Zac Medico | 2011-12-16 | 1 | -26/+10 |
| | |||||
* | Fix EIO handling for PollSelectAdapter. | Zac Medico | 2011-12-16 | 1 | -2/+7 |
| | | | | | | | | In PipeReader and AbstractPollTask, we have to treat EIO as EOF, in order to terminate the select loop at the correct time when using PollSelectAdapter. This fixes a regression in EIO handling since commits 915348ce34fc499ac295b8f0ffee9f0829803542 adn 30d2d0a9db486c5a70848ad5d27b37a3ec48f271. | ||||
* | test_poll: test different sizes, and pty too | Zac Medico | 2011-12-15 | 1 | -1/+3 |
| | |||||
* | Handle OSError from os.read and loop if needed. | Zac Medico | 2011-12-01 | 1 | -11/+14 |
| | | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8. | ||||
* | PipeReader: use os.read/write | Zac Medico | 2011-12-01 | 1 | -19/+11 |
| | |||||
* | Add some comments, which will allow to easier find code, which should be | Arfrever Frehtes Taifersar Arahesis | 2011-08-25 | 1 | -0/+1 |
| | | | | removed when support for older versions of Python is removed. | ||||
* | python3.2 fixes: use array.tobytes() | Zac Medico | 2011-08-24 | 1 | -1/+5 |
| | |||||
* | AsynchronousTask: add _cancel template method | Zac Medico | 2011-03-16 | 1 | -3/+1 |
| | |||||
* | AsynchronousTask: always call wait() if cancelled | Zac Medico | 2011-03-16 | 1 | -2/+2 |
| | | | | | | This is needed in order to ensure that exit listeners are called. Subclasses call the base class cancel() method in order to inherit the wait() call. | ||||
* | Remove unuser return values from PollScheduler event handlers. | Zac Medico | 2010-08-15 | 1 | -1/+0 |
| | |||||
* | Avoid unnecessary sys.hexversion conditional. | Zac Medico | 2010-08-12 | 1 | -5/+2 |
| | |||||
* | EOFError can still be raised by array.fromfile() in Python >=2.6.6 and >=2.7.1. | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -1/+0 |
| | |||||
* | Bug #330937: Handle IOError raised by remaining calls to array.fromfile(). | Arfrever Frehtes Taifersar Arahesis | 2010-08-05 | 1 | -1/+2 |
| | |||||
* | Remove all svn $Id keywords. | Zac Medico | 2010-03-24 | 1 | -1/+0 |
| | |||||
* | Use dict.(keys|values|items)() instead of ↵ | Arfrever Frehtes Taifersar Arahesis | 2009-09-21 | 1 | -3/+3 |
| | | | | | | | | dict.(iterkeys|itervalues|iteritems)() for compatibility with Python 3. (2to3-3.1 -f dict -nw ${FILES}) svn path=/main/trunk/; revision=14327 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-11 | 1 | -1/+2 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13994 | ||||
* | Add/update copyright headers. | Zac Medico | 2009-06-25 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=13690 | ||||
* | Bug #275047 - Split _emerge/__init__.py into smaller pieces. Thanks to | Zac Medico | 2009-06-22 | 1 | -0/+98 |
Sebastian Mingramm (few) <s.mingramm@gmx.de> for this patch. svn path=/main/trunk/; revision=13663 |