Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | _doebuild_spawn: disable close_fds for "depend" | Zac Medico | 2013-01-03 | 1 | -1/+6 |
| | |||||
* | spawn: add close_fds parameter | Zac Medico | 2013-01-03 | 1 | -5/+9 |
| | |||||
* | runTests: portage._internal_caller = True | Zac Medico | 2013-01-03 | 1 | -0/+1 |
| | |||||
* | Add portage._internal_caller var, and use it. | Zac Medico | 2013-01-03 | 4 | -13/+11 |
| | |||||
* | portdbapi: use global_event_loop when safe | Zac Medico | 2013-01-03 | 1 | -1/+12 |
| | |||||
* | emerge --depclean: show atoms in verbose output | Zac Medico | 2013-01-02 | 1 | -11/+17 |
| | |||||
* | resume_depgraph: check for alternative installed | Zac Medico | 2013-01-02 | 3 | -15/+33 |
| | | | | | | | When pruning packages from the merge list, only prune them if the relevant dependency is not satisfied by an alternative package which is already installed. This should fix bug #448176, and now there's also reasons logged for why a particular package is dropped. | ||||
* | depgraph: dynamic deps parallel metadata regen | Zac Medico | 2013-01-01 | 2 | -8/+59 |
| | |||||
* | FakeVartree: split _apply_dynamic_deps method | Zac Medico | 2013-01-01 | 1 | -26/+39 |
| | | | | | This will eventually be used for parallelization of aux_get/regen processes. | ||||
* | repoman: usex check 4-python and 4-slot-abi | Zac Medico | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | repoman: handle EAPI 5 usex, bug #449678 | Zac Medico | 2013-01-01 | 1 | -4/+13 |
| | |||||
* | Revert "AsynchronousLock: override _async_wait_cb" | Zac Medico | 2013-01-01 | 1 | -3/+3 |
| | | | | | | This reverts commit 83cfc04df383b56592b89f1dc58428c0e8d09925. This override could be bad if the base class needs to call _async_wait for some reason. | ||||
* | AsynchronousLock: override _async_wait_cb | Zac Medico | 2013-01-01 | 1 | -3/+3 |
| | |||||
* | test_echangelog: sync year with UpdateChangeLog | Zac Medico | 2012-12-31 | 1 | -5/+1 |
| | | | | | The code has to be in sync in order to prevent erroneous test failures triggered by new year's day timezone differences. | ||||
* | emerge --depclean: clarify unsatisfied atoms | Zac Medico | 2012-12-31 | 1 | -1/+6 |
| | | | | | If the atom is unsatisfied due to a USE dep that's only visible in the unevaluated form, then display the unevaluated form. | ||||
* | _LockThread: use thread-safe EventLoop.idle_add() | Zac Medico | 2012-12-31 | 1 | -35/+8 |
| | |||||
* | AsynchronousTask: _async_wait is thread-safe | Zac Medico | 2012-12-31 | 1 | -1/+1 |
| | |||||
* | EventLoop.iteration: no IO blocking if possible | Zac Medico | 2012-12-30 | 1 | -4/+18 |
| | | | | | | | | Avoid blocking for IO if there are any timeout or idle callback events available to process. This will prevent starvation of the idle callbacks, which are much more common since commit a3100be184ba1cac2f672f0a1cadcf01690c6d3f. We don't want these idle callbacks to be delayed by long periods of IO blocking. | ||||
* | AsynchronousTask: add _async_wait method | Zac Medico | 2012-12-30 | 11 | -19/+32 |
| | | | | | | | | For cases where _start returns synchronously, this method is a convenient way to trigger an asynchronous call to self.wait() (in order to notify exit listeners), avoiding excessive event loop recursion (or stack overflow) that synchronous calling of exit listeners can cause. | ||||
* | Use ctypes in subprocess for bug #448858. | Zac Medico | 2012-12-30 | 2 | -33/+67 |
| | | | | | | Isolate ctypes usage in a subprocess, in order to avoid potential problems with stale cached libraries as described in bug #448858, comment #14 (also see http://bugs.python.org/issue14597). | ||||
* | emerge --select: add -w short option | Zac Medico | 2012-12-29 | 2 | -2/+4 |
| | |||||
* | Use run_main_scheduler where possible. | Zac Medico | 2012-12-28 | 1 | -28/+4 |
| | |||||
* | Add run_main_scheduler helper function. | Zac Medico | 2012-12-28 | 1 | -0/+41 |
| | |||||
* | Use 'with file' more. | Zac Medico | 2012-12-28 | 3 | -21/+16 |
| | | | | This helps to minimize ResourceWarning triggered by ^C with python3. | ||||
* | _MergeProcess: tweak merge-sync library lookup | Zac Medico | 2012-12-28 | 1 | -2/+5 |
| | | | | | | The library handle is no longer cached, since commit 9e37cca4f54260bd8c45a3041fcee00938c71649, so skip the LoadLibrary call and just call find_library instead. | ||||
* | _ctypes: don't cache library, bug #448858 | Zac Medico | 2012-12-28 | 1 | -6/+4 |
| | |||||
* | PipeReaderBlockingIO handle threading ImportError | Zac Medico | 2012-12-27 | 2 | -1/+6 |
| | |||||
* | EventLoop.iteration(): avoid busy waiting | Zac Medico | 2012-12-27 | 1 | -14/+40 |
| | | | | | | | | | | | | | | | | | | | In order to avoid blocking forever when may_block is True (the default), callers must be careful to ensure that at least one of the following conditions is met: 1) An event source or timeout is registered which is guaranteed to trigger at least on event (a call to an idle function only counts as an event if it returns a False value which causes it to be stop being called) 2) Another thread is guaranteed to call one of the thread-safe methods which notify iteration to stop waiting (such as idle_add or timeout_add). These rules ensure that iteration is able to block until an event arrives, without doing any busy waiting that would waste CPU time. This will fix busy waiting which would be triggered by PopenPipeBlockingIOTestCase when waiting for the thread from PipeReaderBlockingIO to call idle_add. | ||||
* | Add PipeReaderBlockingIO, Jython experimentation. | Zac Medico | 2012-12-27 | 3 | -3/+162 |
| | |||||
* | merge-sync: handle PyPy syncfs fail, bug #446610 | Zac Medico | 2012-12-26 | 1 | -9/+14 |
| | |||||
* | EventLoop: thread-safe idle_add and timeout_add | Zac Medico | 2012-12-26 | 1 | -68/+97 |
| | | | | | | This may be useful for using threads to handle blocking IO with Jython, since Jython lacks the fcntl module which is needed for non-blocking IO (see http://bugs.jython.org/issue1074). | ||||
* | emerge -h: add @ prefix to system and world sets | Zac Medico | 2012-12-24 | 1 | -1/+1 |
| | |||||
* | vardbapi: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -4/+5 |
| | |||||
* | binarytree: tweak deprecated constructor param | Zac Medico | 2012-12-24 | 1 | -5/+5 |
| | |||||
* | porttree.py: tweak deprecated constructor params | Zac Medico | 2012-12-24 | 1 | -4/+5 |
| | | | | | | Trigger a DeprecationWarning even when None is passed in for one of the deprecated parameters, ensuring that any potentially unsafe usage triggers the warning. | ||||
* | Support subslots in command line arguments. | Arfrever Frehtes Taifersar Arahesis | 2012-12-23 | 3 | -4/+4 |
| | |||||
* | config: clarify that default target_root is / | Zac Medico | 2012-12-19 | 1 | -1/+2 |
| | |||||
* | Rename a private module in preparation for extending its functionality. | Arfrever Frehtes Taifersar Arahesis | 2012-12-19 | 2 | -1/+1 |
| | |||||
* | depclean warning: count nested sets, bug #298298 | Zac Medico | 2012-12-17 | 1 | -3/+11 |
| | |||||
* | depclean summary: count nested sets, bug #298298 | Zac Medico | 2012-12-17 | 1 | -4/+10 |
| | |||||
* | Handle closed sys.__stdin__, for multiprocessing | Zac Medico | 2012-12-15 | 7 | -7/+18 |
| | | | | | | | Buggy code in python's multiprocessing/process.py closes sys.stdin and reassigns it to open(os.devnull), but fails to update the corresponding __stdin__ reference. So, detect that case and handle it appropriately. The buggy code is visible in http://hg.python.org/lookup/r73708. | ||||
* | makeopts_jobs is declared in multiprocessing, not eutils. | Michał Górny | 2012-12-15 | 1 | -2/+8 |
| | |||||
* | Add QA_CONFIGURE_OPTIONS variable.v2.2.0_alpha148 | Zac Medico | 2012-12-11 | 1 | -4/+29 |
| | |||||
* | Disallow SLOT="${slot}/${subslot}=" in ebuilds. | Arfrever Frehtes Taifersar Arahesis | 2012-12-11 | 1 | -1/+1 |
| | |||||
* | dblink._elog_process: obey phasefilter arg | Zac Medico | 2012-12-10 | 1 | -1/+4 |
| | | | | | | This would make a difference when collecting messages for prerm/postrm when uninstalling the previous instance of a package that's been updated. | ||||
* | MergeProcess: avoid duplicate elog, bug #446136 | Zac Medico | 2012-12-10 | 1 | -0/+3 |
| | |||||
* | get_real_flag: handle implicit iusev2.2.0_alpha147 | Zac Medico | 2012-12-09 | 1 | -2/+5 |
| | |||||
* | emerge --info: handle bug #446358 morev2.2.0_alpha146 | Zac Medico | 2012-12-09 | 1 | -6/+9 |
| | | | | | - old-style virtuals - masked packages | ||||
* | get_real_flag: handls use-dep default bug #446666 | Zac Medico | 2012-12-09 | 3 | -2/+11 |
| | |||||
* | emerge --verbose: [ y | n ] for bug #446324v2.2.0_alpha145 | Zac Medico | 2012-12-08 | 1 | -2/+15 |
| |