Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use _content_encoding and _fs_encoding, and use strict unicode exceptions | Zac Medico | 2009-08-18 | 1 | -20/+37 |
| | | | | | | where appropriate. svn path=/main/trunk/; revision=14090 | ||||
* | Use the new portage.output._init(config_root) function. | Zac Medico | 2009-08-18 | 2 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14089 | ||||
* | Use _content_encoding where appropriate. | Zac Medico | 2009-08-18 | 1 | -23/+32 |
| | | | | svn path=/main/trunk/; revision=14088 | ||||
* | Don't wrap os.popen(). | Zac Medico | 2009-08-18 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=14087 | ||||
* | Bug #270866 - Validate News-Item-Format headers. | Zac Medico | 2009-08-18 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=14086 | ||||
* | Use _content_encoding and _fs_encoding where appropriate. Also, enable | Zac Medico | 2009-08-18 | 1 | -17/+21 |
| | | | | | | strict exceptions for unicode encoding failures. svn path=/main/trunk/; revision=14085 | ||||
* | Use _content_encoding and _fs_encoding where appropriate. | Zac Medico | 2009-08-18 | 1 | -5/+8 |
| | | | | svn path=/main/trunk/; revision=14084 | ||||
* | Implement lazy loading of color.map when either the codes or _styles | Zac Medico | 2009-08-18 | 1 | -12/+45 |
| | | | | | | | | attribute is accessed. This provides and _init(config_root='/') function that the prefix branch can use to substitute an appropriate config_root value at runtime. svn path=/main/trunk/; revision=14083 | ||||
* | Use st_* attributes instead of the stat module. | Zac Medico | 2009-08-18 | 1 | -5/+4 |
| | | | | svn path=/main/trunk/; revision=14082 | ||||
* | Bug #277619 - Fix news item relevance logic. Thanks to Alec Warner | Zac Medico | 2009-08-17 | 1 | -11/+22 |
| | | | | | | <antarus@gentoo.org> for this patch. svn path=/main/trunk/; revision=14081 | ||||
* | Use portage.os, _content_encoding, and _fs_encoding where appropriate. | Zac Medico | 2009-08-17 | 2 | -7/+26 |
| | | | | svn path=/main/trunk/; revision=14080 | ||||
* | Enable error='strict' when encoding arguments inside _unicode_func_wrapper(), | Zac Medico | 2009-08-17 | 1 | -5/+14 |
| | | | | | | and document behavior. svn path=/main/trunk/; revision=14079 | ||||
* | Use portage.os, _content_encoding, and _fs_encoding where appropriate. | Zac Medico | 2009-08-17 | 11 | -26/+32 |
| | | | | svn path=/main/trunk/; revision=14078 | ||||
* | Test the edge case. | Zac Medico | 2009-08-17 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=14077 | ||||
* | Add 'return False' which was missing from the previous commit. | Arfrever Frehtes Taifersar Arahesis | 2009-08-17 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=14076 | ||||
* | Print a warning when nonexistent files have been passed to dohtml. | Arfrever Frehtes Taifersar Arahesis | 2009-08-17 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=14075 | ||||
* | Use portage.os and _fs_encoding where appropriate, and fix binary string | Zac Medico | 2009-08-17 | 1 | -59/+88 |
| | | | | | | handling for py3k compat. svn path=/main/trunk/; revision=14074 | ||||
* | When _unicode_func_wrapper() decodes a string in a returned list (typically | Zac Medico | 2009-08-17 | 1 | -5/+14 |
| | | | | | | | from os.listdir), discard values with invalid encoding. This insures that all names returned from all os.listdir() calls are valid. svn path=/main/trunk/; revision=14073 | ||||
* | Use _content_encoding and _fs_encoding for unicode encoding/decoding. | Zac Medico | 2009-08-17 | 5 | -41/+98 |
| | | | | svn path=/main/trunk/; revision=14072 | ||||
* | Use a clean listener system for portage.elog instead of _emerge_elog_listener | Mounir Lamouri | 2009-08-16 | 2 | -7/+19 |
| | | | | svn path=/main/trunk/; revision=14071 | ||||
* | Scheduler is now able to clean world set when removing a package. | Mounir Lamouri | 2009-08-15 | 3 | -16/+30 |
| | | | | | | | world_atom function has been updated and PackageUninstall is calling it after unmerge. svn path=/main/trunk/; revision=14070 | ||||
* | sets/files.py cleanPackages function stop calling lock and load | Mounir Lamouri | 2009-08-15 | 2 | -5/+20 |
| | | | | | | | and requires the caller to do that changing unmerge to reflect this change svn path=/main/trunk/; revision=14069 | ||||
* | Use elog in _eapi0_pkg_nofetch(). | Zac Medico | 2009-08-15 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=14068 | ||||
* | Prepare 308 messages to localization. | Arfrever Frehtes Taifersar Arahesis | 2009-08-15 | 17 | -502/+511 |
| | | | | svn path=/main/trunk/; revision=14067 | ||||
* | Remove ACCEPT_PROPERTIES filtering since it's filtered on the python side. | Zac Medico | 2009-08-15 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14065 | ||||
* | Fix typo. | Zac Medico | 2009-08-15 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=14064 | ||||
* | Remove ACCEPT_PROPERTIES variable generation code which isn't needed since, | Zac Medico | 2009-08-15 | 1 | -32/+0 |
| | | | | | | | unlike ACCEPT_LICENSE, ACCEPT_PROPERTIES isn't passed into the ebuild environment. svn path=/main/trunk/; revision=14063 | ||||
* | Update import to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-15 | 1 | -6/+5 |
| | | | | | | | _unicode_encode() and _content_encoding for encoding unicode env vars in spawn(). svn path=/main/trunk/; revision=14062 | ||||
* | Make movefile() use process.spawn() instead of getstatusoutput() when calling | Zac Medico | 2009-08-15 | 1 | -4/+5 |
| | | | | | | MOVE_BINARY, since spawn will pass encoded file paths directly as arguments. svn path=/main/trunk/; revision=14061 | ||||
* | Make _generate_hash_function() use _fs_encoding to encode the filename | Zac Medico | 2009-08-15 | 1 | -1/+2 |
| | | | | | | (if it's not already encoded), and enable errors='strict'. svn path=/main/trunk/; revision=14060 | ||||
* | In perform_checksum(), encode the filename with correct encoding before | Zac Medico | 2009-08-15 | 1 | -5/+12 |
| | | | | | | | passing to spawn (for prelink), and enable strict encoding behavior in _perform_md5_merge(). svn path=/main/trunk/; revision=14059 | ||||
* | Fix dblink._unmerge_pkgfiles() to use the correct version of perform_md5 | Zac Medico | 2009-08-15 | 2 | -2/+6 |
| | | | | | | when it falls back to utf8 encoding. svn path=/main/trunk/; revision=14058 | ||||
* | Fix broken _selinux_merge definition. | Zac Medico | 2009-08-14 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=14057 | ||||
* | Add a portage._content_encoding constant, set to utf_8. | Zac Medico | 2009-08-14 | 2 | -10/+14 |
| | | | | svn path=/main/trunk/; revision=14056 | ||||
* | Use portage._fs_encoding where appropriage, and use strict handling for | Zac Medico | 2009-08-14 | 1 | -4/+17 |
| | | | | | | errors. svn path=/main/trunk/; revision=14055 | ||||
* | Handle UnicodeDecodeError for os.walk() inside digestcheck(). | Zac Medico | 2009-08-14 | 1 | -2/+27 |
| | | | | svn path=/main/trunk/; revision=14054 | ||||
* | Use portage._fs_encoding where applicable. | Zac Medico | 2009-08-14 | 2 | -5/+7 |
| | | | | svn path=/main/trunk/; revision=14053 | ||||
* | Update imports to import portage.os (with unicode wrappers), and use | Zac Medico | 2009-08-14 | 7 | -25/+40 |
| | | | | | | _unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=14052 | ||||
* | Update imports to import portage.os (with unicode wrappers). | Zac Medico | 2009-08-14 | 6 | -6/+12 |
| | | | | svn path=/main/trunk/; revision=14051 | ||||
* | Inside dblink.treewalk(), handle filenames with incorrect encoding like we | Zac Medico | 2009-08-14 | 2 | -49/+104 |
| | | | | | | | do after src_install. The check needs to be repeated here for binary packages (it's inexpensive since we call os.walk() here anyway). svn path=/main/trunk/; revision=14050 | ||||
* | In dblink._unmerge_pkgfiles(), if the package appears to have been merged | Zac Medico | 2009-08-14 | 1 | -0/+14 |
| | | | | | | | with a different value of sys.getfilesystemencoding(), fall back to utf_8 if appropriate. svn path=/main/trunk/; revision=14049 | ||||
* | Revert r14042 since we're not going to use it. | Zac Medico | 2009-08-14 | 1 | -4/+2 |
| | | | | svn path=/main/trunk/; revision=14048 | ||||
* | Add a clean_world attribute. | Zac Medico | 2009-08-14 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=14042 | ||||
* | Don't hold references to config instances, since all that's really needed | Zac Medico | 2009-08-14 | 1 | -4/+4 |
| | | | | | | is $ROOT. svn path=/main/trunk/; revision=14034 | ||||
* | Rename and log installed files that don't conform to portage._merge_encoding | Zac Medico | 2009-08-14 | 2 | -29/+110 |
| | | | | | | (equal to sys.getfilesystemencoding()). svn path=/main/trunk/; revision=14029 | ||||
* | _merge_encoding = sys.getfilesystemencoding() | Zac Medico | 2009-08-14 | 1 | -3/+1 |
| | | | | svn path=/main/trunk/; revision=14028 | ||||
* | Use portage._merge_encoding to encode/decode all filenames during | Zac Medico | 2009-08-14 | 4 | -20/+87 |
| | | | | | | merge/unmerge operations. svn path=/main/trunk/; revision=14027 | ||||
* | Don't 'del sys.modules["selinux"]' when selinux support isn't enabled in | Zac Medico | 2009-08-14 | 1 | -5/+1 |
| | | | | | | the portage config, because that just assumes too much. svn path=/main/trunk/; revision=14026 | ||||
* | Make sure portage.selinux and _selinux exist, even when import fails, so | Zac Medico | 2009-08-14 | 1 | -2/+3 |
| | | | | | | that 'from portage import selinux' never fails inside vartree.py. svn path=/main/trunk/; revision=14025 | ||||
* | Add an 'encoding' parameter to movefile(), so that we can make it obey | Zac Medico | 2009-08-14 | 1 | -3/+13 |
| | | | | | | sys.getfilesystemencoding() when called for merge/unmerge. svn path=/main/trunk/; revision=14024 |