Merged from trunk 10944:10966
authorFabian Groffen <grobian@gentoo.org>
Mon, 7 Jul 2008 09:18:40 +0000 (09:18 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 7 Jul 2008 09:18:40 +0000 (09:18 -0000)
commitb3a20725cc146dbc38f1be037130945a63990307
treeb6a4948e3c6f61d5b2662cfb2da0e26f7e85f172
parent23576b88df037d11d6626a341d204cd5d72b261e
   Merged from trunk 10944:10966

   | 10945   | Correct TaskSequence docstring to refer to the               |
   | zmedico | addExitListener() method.                                    |

   | 10946   | Call _wait_hook() from poll() if the wait call occurs there. |
   | zmedico |                                                              |

   | 10947   | * Fix AsynchronousTask.poll() to call _wait_hook() when      |
   | zmedico | necessary. * Use the default poll() and cancel()             |
   |         | implementations for BinpkgVerifier.                          |

   | 10948   | Fix typo in xterm titles total package count which causes it |
   | zmedico | to show the current package instead. Thanks to Arfrever for  |
   |         | this patch.                                                  |

   | 10949   | Add a CompositeTask._assert_current() method that            |
   | zmedico | asynchronous callbacks can use detect possible bugs.         |

   | 10950   | Split out a reusable CompositeTask._default_exit() method    |
   | zmedico | that subclasses can use as a generic task exit callback.     |

   | 10951   | Add CompositeTask._final_exit() method and use it to fix     |
   | zmedico | breakage from the previous commit.                           |

   | 10952   | Split out a CompositeTask._start_task() for subclasses to    |
   | zmedico | use as a generic way to start a task.                        |

   | 10953   | Add async support to EbuildBuild, and an synchronous         |
   | zmedico | install() method.                                            |

   | 10954   | * Fix broke return code handling from previous commit, in    |
   | zmedico | MergeListItem.execute(). * Fix                               |
   |         | TaskSequence._task_exit_handler() so it won't call           |
   |         | final_exit() if _default_exit() has already set              |
   |         | self._current_task to None.                                  |

   | 10955   | Fix --getbinpkg to inject downloaded packages into the local |
   | zmedico | bintree.                                                     |

   | 10956   | Make AsynchronousTask subclasses override _wait() and        |
   | zmedico | _poll() so that calls to public methods can be wrapped for   |
   |         | implementing hooks such as exit listener notification.       |

   | 10957   | Fix parent class constructor call in the BinpkgFetcher       |
   | zmedico | constructor.                                                 |

   | 10958   | Make BinpkgFetcher send output directly to stdout when       |
   | zmedico | appropriate, so that wget's progress bar works normally.     |

   | 10959   | Add async support to the Binpkg class.                       |
   | zmedico |                                                              |

   | 10960   | Add async support to MergeListItem.                          |
   | zmedico |                                                              |

   | 10961   | Add a PackageMerge class to serve as an asynchronous         |
   | zmedico | interface to package merges. For now it executes             |
   |         | synchronously inside the start() method.                     |

   | 10962   | * Implement MergeListItem._poll() and _wait(). * Fix         |
   | zmedico | BinpkgVerifier.start() to call wait() since it's not         |
   |         | asynchronous.                                                |

   | 10963   | Fix typo in Binpkg.start() which prevents --genbinpkg        |
   | zmedico | prefetcher sync from working properly in some cases.         |

   | 10964   | Fix EbuildPhase._set_returncode() so that it correctly       |
   | zmedico | updates the returncode attrbute instead of just a local      |
   |         | variable.                                                    |

   | 10965   | Fix broken code in AsynchronousTask.poll().                  |
   | zmedico |                                                              |

   | 10966   | * Implement CompositeTask._poll(). * Make AsynchronousTask   |
   | zmedico | classes call self.wait() to notify exit listeners. * Rewrite |
   |         | Scheduler._main_loop() to bring it closer to allowing        |
   |         | parallel build scheduling.                                   |

svn path=/main/branches/prefix/; revision=10968
pym/_emerge/__init__.py