Merged from trunk 8328:8338
authorFabian Groffen <grobian@gentoo.org>
Mon, 29 Oct 2007 21:03:37 +0000 (21:03 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 29 Oct 2007 21:03:37 +0000 (21:03 -0000)
commit9a9b1b6eef8c1d5067e7908732393e3b091cecd2
tree24b3a4f5890bab29733a399f74cd844b0d1813fd
parent2e639fb0f2d48e2cdac47538d46397e22e4788bf
   Merged from trunk 8328:8338

   | 8329    | Sort all dbapi.cp_list() results in ascending order and      |
   | zmedico | cache the results when possible. The order is preserved in   |
   |         | dbapi.match() so those results are also sorted.              |

   | 8331    | Fix cp_list() to prevent it from returning a reference to    |
   | zmedico | one of it's internal lists.                                  |

   | 8332    | Optimize stdout_spinner.update() methods so that they don't  |
   | zmedico | waste cpu time by flushing ouput to the tty too frequently.  |

   | 8333    | Fix SetConfig.getSetAtoms() to stop initializing ignorelist  |
   | zmedico | in the parameter list since otherwise the ignorelist         |
   |         | persists between calls and causes unpredictable results for  |
   |         | callers.                                                     |

   | 8334    | Fix --depclean to use SetConfig.getSetAtoms() and also fix a |
   | zmedico | broken reference to packagesets which is now settings.sets.  |

   | 8335    | Fix PackageSet.getAtoms() and getNonAtoms() so that they     |
   | zmedico | don't return references to private data structures.          |

   | 8336    | Make portdbapi.cp_list() use os.listdir() instead of         |
   | zmedico | portage.listdir() since portage.listdir() has unnecessary    |
   |         | overhead and it's cache isn't needed since cp_list() has     |
   |         | it's own cache.                                              |

   | 8337    | Rewrite the dblink.getcontents() code to use str.split(" ")  |
   | zmedico | for splitting CONTENTS lines so that even file paths that    |
   |         | end with spaces can be handled. This patch makes the fix for |
   |         | bug #196836#c6 more complete. Some code for parsing old      |
   |         | malformed symlink entries has been removed sinces it's       |
   |         | probably not useful or worth maintaining anymore.            |

   | 8338    | Use rstrip("\n") to remove trailing newlines from CONTENTS   |
   | zmedico | lines.                                                       |

svn path=/main/branches/prefix/; revision=8340
pym/_emerge/__init__.py
pym/portage/dbapi/__init__.py
pym/portage/dbapi/porttree.py
pym/portage/dbapi/vartree.py
pym/portage/dbapi/virtual.py
pym/portage/sets/__init__.py
pym/portage/sets/base.py