Merged from trunk -r12686:12697
authorFabian Groffen <grobian@gentoo.org>
Mon, 23 Feb 2009 19:34:06 +0000 (19:34 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 23 Feb 2009 19:34:06 +0000 (19:34 -0000)
commitd288cbda498f8c51d38cb793ca9bf8082816ed31
tree6ac4f0da86d1915f5b289896e57e65ad06afc731
parent6570b4215d402acd68c33d7455d9f9708ef44744
   Merged from trunk -r12686:12697

   | 12687   | When decoding term codes inside the JobStatusDisplay         |
   | zmedico | constructor, use the 'replace' error handling scheme in      |
   |         | order to avoid triggering a potential UnicodeError.          |

   | 12688   | Add support in _ensure_default_encoding(), add support for   |
   | zmedico | utf_8 and fall back to utf_8 if the encoding returned by     |
   |         | sys.getdefaultencoding() is unavailable.                     |

   | 12689   | When encoding strings inside vardbapi._counter_hash() and    |
   | zmedico | vardbapi._owners_cache._hash_str(), use 'backslashreplace'   |
   |         | in order to avoid potential UnicodeError exceptions. Use     |
   |         | constant ascii and utf_8 codecs, respectively, since these   |
   |         | codecs are guaranteed to be available by                     |
   |         | _ensure_default_encoding().                                  |

   | 12690   | Bump vardbapi._owners_cache_version from 1 to 2 since hash   |
   | zmedico | value encoding is now hardcoded as utf_8.                    |

   | 12691   | When displaying reverse dependencies in verbose              |
   | zmedico | --depclean/--prune output, sort the parent packages by cpv.  |

   | 12692   | Don't try to call setdefaultencoding() since it's not        |
   | zmedico | intended to be called.                                       |

   | 12693   | Revert vardbapi._owners_cache_version and unicode handling   |
   | zmedico | since it needs some more work.                               |

   | 12694   | Reorganize _ensure_default_encoding().                       |
   | zmedico |                                                              |

   | 12695   | Fix default_encoding logic in _ensure_default_encoding().    |
   | zmedico |                                                              |

   | 12696   | Fix getmaskingstatus() so that it doesn't inappropriately    |
   | zmedico | return a 'missing keyword' mask is some cases when the user  |
   |         | has ** in package.keywords. Thanks to Raúl Porcel           |
   |         | <armin76@g.o> for reporting.                                 |

   | 12697   | In config.setcpv(), increase efficiency by filtering USE     |
   | zmedico | with IUSE before calculating USE_EXPAND variables. Also use  |
   |         | a generator expression instead of a list comprehension in    |
   |         | the USE_EXPAND generation code.                              |

svn path=/main/branches/prefix/; revision=12699
pym/_emerge/__init__.py
pym/portage/__init__.py
pym/portage/dbapi/vartree.py