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