Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Open repo_name in text mode (unicode). | Zac Medico | 2009-08-07 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13947 | ||||
* | In config.__setitem__(), convert keys/values to unicode in order to avoid | Zac Medico | 2009-08-07 | 1 | -1/+8 |
| | | | | | | potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13946 | ||||
* | Convert environment variables to unicode inside the config constructor, in | Zac Medico | 2009-08-07 | 1 | -1/+11 |
| | | | | | | order to avoid potential UnicodeDecodeError exceptions later. svn path=/main/trunk/; revision=13945 | ||||
* | Make spawn decode unicode in order to avoid a potential UnicodeEncodeError | Zac Medico | 2009-08-07 | 1 | -0/+11 |
| | | | | | | from os.execve(). svn path=/main/trunk/; revision=13944 | ||||
* | In getconfig(), specify utf_8 encoding for py3k. | Zac Medico | 2009-08-06 | 1 | -1/+5 |
| | | | | svn path=/main/trunk/; revision=13943 | ||||
* | In shlex_split(), don't encode unicode for py3k. Thanks to Arfrever. | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13942 | ||||
* | Make getconfig() return unicode type and remove corresponding env_update() | Zac Medico | 2009-08-06 | 2 | -11/+4 |
| | | | | | | workaround from bug #280460. svn path=/main/trunk/; revision=13941 | ||||
* | Fix filter_loglevels() and filter_phases() to work with unicode. | Zac Medico | 2009-08-06 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=13940 | ||||
* | Add a new portage.util.shlex_split() function to wrap all shlex.split() calls, | Zac Medico | 2009-08-06 | 10 | -26/+36 |
| | | | | | | since shlex.split() doesn't behave well with unicode strings. svn path=/main/trunk/; revision=13939 | ||||
* | Filter PORTAGE_NONFATAL from the environment where appropriate. | Zac Medico | 2009-08-06 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13938 | ||||
* | Bug #280521 - Update selinux support to use the libselinux swig wrapper api | Zac Medico | 2009-08-06 | 2 | -17/+105 |
| | | | | | | | | instead of python-selinux. Thanks to Chris PeBenito <pebenito@gentoo.org> for the initial patch which I've tweaked with whitespace changes and unicode support. svn path=/main/trunk/; revision=13937 | ||||
* | Inside _post_src_install_uid_fix() (since we're already walking the files | Zac Medico | 2009-08-06 | 1 | -0/+7 |
| | | | | | | | here), compute total size of installed files and save it as SIZE in the vardb. This will be useful for the packagekit backend. svn path=/main/trunk/; revision=13933 | ||||
* | Convert unicode if necessary before writing to stdout. | Zac Medico | 2009-08-06 | 1 | -11/+12 |
| | | | | svn path=/main/trunk/; revision=13932 | ||||
* | Add unicode conversions in various logging code. | Zac Medico | 2009-08-06 | 3 | -5/+24 |
| | | | | svn path=/main/trunk/; revision=13931 | ||||
* | Convert paths to unicode when working with CONTENTS. | Zac Medico | 2009-08-06 | 1 | -0/+18 |
| | | | | svn path=/main/trunk/; revision=13930 | ||||
* | Fix broken os.walk call in _post_src_install_uid_fix(). | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13929 | ||||
* | Use realpath to resolve __file__ when searching for test inside main(). | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13928 | ||||
* | Remove odd os.getcwd() call used inside main() when searching for tests. | Zac Medico | 2009-08-06 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13927 | ||||
* | Do not pass unicode strings into os.walk calls, since it can cause | Zac Medico | 2009-08-06 | 8 | -5/+73 |
| | | | | | | internal os.path.join calls to raise UnicodeDecodeError. svn path=/main/trunk/; revision=13926 | ||||
* | Fix transposition of CodecInfo streamreader and streamwriter attributes | Zac Medico | 2009-08-06 | 1 | -2/+2 |
| | | | | | | | | | inside _gen_missing_encodings(). This solves 'TypeError: an integer is required' exceptions from codecs.open().readlines([sizehint]), triggered when python is built with USE=build (stage 1). Thanks to Daniel Robbins for reporting. svn path=/main/trunk/; revision=13925 | ||||
* | Fix UnicodeEncodeError in vardbapi._owners_cache._hash_str(), reported by | Zac Medico | 2009-08-05 | 1 | -1/+1 |
| | | | | | | jlec on irc. svn path=/main/trunk/; revision=13924 | ||||
* | Bug #280460 - Fix UnicodeDecodeError in env_update() due to non-unicode | Zac Medico | 2009-08-05 | 1 | -0/+12 |
| | | | | | | strings from getconfig(). TODO: Make getconfig() return unicode. svn path=/main/trunk/; revision=13921 | ||||
* | Fix insert_optional_args() to properly handle thinks like -Dk which require | Zac Medico | 2009-08-05 | 1 | -1/+3 |
| | | | | | | multiple substitutions of default arguments. svn path=/main/trunk/; revision=13919 | ||||
* | s/utf8/utf_8/ for consistencyv2.2_rc36 | Zac Medico | 2009-08-05 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13917 | ||||
* | Fix the FEATURES=parse-eapi-ebuild-head regex to handle comments on the same | Zac Medico | 2009-08-05 | 1 | -1/+1 |
| | | | | | | | | | | line, like this: EAPI=2 #foo Thanks to Markus Meier <maekke@gentoo.org> for reporting. svn path=/main/trunk/; revision=13916 | ||||
* | Open ld.so.conf as text (unicode). | Zac Medico | 2009-08-05 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13915 | ||||
* | In _check_build_log(), open the log in text mode (unicode). | Zac Medico | 2009-08-05 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=13914 | ||||
* | Open file in text mode (unicode) where appropriate. | Zac Medico | 2009-08-05 | 9 | -9/+34 |
| | | | | svn path=/main/trunk/; revision=13913 | ||||
* | Open all files in binary mode for py3k compatibility. | Zac Medico | 2009-08-04 | 1 | -15/+15 |
| | | | | svn path=/main/trunk/; revision=13912 | ||||
* | Fix bindbapi.aux_get and aux_update to work with py3k/unicode. | Zac Medico | 2009-08-04 | 1 | -7/+30 |
| | | | | svn path=/main/trunk/; revision=13911 | ||||
* | Avoid UnicodeEncodeError with unicode package.mask comments. Thanks to | Zac Medico | 2009-08-04 | 1 | -0/+5 |
| | | | | | | Thanks to Scott Moreau (soreau) for reporting. svn path=/main/trunk/; revision=13910 | ||||
* | Fix vardbapi._aux_get() to always return unicode. | Zac Medico | 2009-08-04 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=13909 | ||||
* | Fix tar_contents() to open files in binary mode for py3k compatibility. | Zac Medico | 2009-08-04 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13908 | ||||
* | Always return unicode from vardbapi.aux_get(). | Zac Medico | 2009-08-04 | 1 | -2/+9 |
| | | | | svn path=/main/trunk/; revision=13907 | ||||
* | Bug #280269 - Fix Atom.__str__ so that it doesn't try to encode a unicode | Zac Medico | 2009-08-04 | 1 | -1/+3 |
| | | | | | | | string (resulting in UnicodeEncodeError). If an Atom instance is passed into the constructor, just return the given instance. svn path=/main/trunk/; revision=13905 | ||||
* | Bug #280269 - Decode commandline arguments to unicode when necessary. | Zac Medico | 2009-08-04 | 1 | -0/+4 |
| | | | | svn path=/main/trunk/; revision=13904 | ||||
* | Bug #280269 - Fix StaticFileSet.multiBuilder() to handle unicode filenames. | Zac Medico | 2009-08-04 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=13903 | ||||
* | Open CONTENTS in text mode (to avoid UnicodeEncodeError). Thanks to Markos | Zac Medico | 2009-08-04 | 1 | -2/+5 |
| | | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13902 | ||||
* | Open log files in text mode (to avoid UnicodeEncodeError). Thanks to Markos | Zac Medico | 2009-08-04 | 1 | -3/+7 |
| | | | | | | Chandras <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13901 | ||||
* | Avoid UnicodeEncodeError in writemsg(). Thanks to Markos Chandras | Zac Medico | 2009-08-04 | 1 | -0/+3 |
| | | | | | | <hwoarang@gentoo.org> for reporting. svn path=/main/trunk/; revision=13900 | ||||
* | Bug #280275 - Fix exception: AttributeError: 'config' object has no attribute | Zac Medico | 2009-08-04 | 1 | -1/+2 |
| | | | | | | '_license_groups'. svn path=/main/trunk/; revision=13898 | ||||
* | Revert the code from bug #278729 for now since it need to be redone in order | Zac Medico | 2009-08-04 | 1 | -28/+6 |
| | | | | | | to account for the issue described in comment #3. svn path=/main/trunk/; revision=13894 | ||||
* | In the dep_zapdeps() code from bug #278729, set all_use_satisfied = False | Zac Medico | 2009-08-04 | 1 | -0/+1 |
| | | | | | | if the choice includes an unavailable package. svn path=/main/trunk/; revision=13893 | ||||
* | Fix dep_zapdeps exception 'ValueError: need more than 3 values to unpack' | Zac Medico | 2009-08-04 | 1 | -1/+1 |
| | | | | | | from r13888. svn path=/main/trunk/; revision=13892 | ||||
* | Bug #280259 - Fix binarytree to always open the Packages file as unicode. | Zac Medico | 2009-08-04 | 1 | -25/+7 |
| | | | | svn path=/main/trunk/; revision=13890 | ||||
* | Bug #280259 - Use codecs.open() when reading the Packages file inside | Zac Medico | 2009-08-04 | 1 | -1/+3 |
| | | | | | | | binarytree.inject(), in order to avoid a UnicodeDecodeError when the file is later written as a unicode stream (via atomic_ofstream). svn path=/main/trunk/; revision=13889 | ||||
* | Fix a regression caused by the code from bug #278729, which causes incorrect | Zac Medico | 2009-08-04 | 1 | -4/+20 |
| | | | | | | | | | | | | | | preference evaluation for cases like kde-base/nepomuk: || ( >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,redland] >=dev-libs/soprano-2.3.0[clucene,dbus,raptor,java] ) In cases like this we need to prefer the choice which is already satisfied by current USE configuration. Thanks to Maciej Mrozowski <reavertm@poczta.fm> for reporting. svn path=/main/trunk/; revision=13888 | ||||
* | Set "emerge" xterm title at the beginning of running emerge. | Arfrever Frehtes Taifersar Arahesis | 2009-08-04 | 1 | -2/+4 |
| | | | | svn path=/main/trunk/; revision=13887 | ||||
* | Fix NameError from r13880. Thanks to Arfrever for reporting. | Zac Medico | 2009-08-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=13883 | ||||
* | Bug #278729 - Inside dep_zapdeps(), ignore USE dependencies since we don't | Zac Medico | 2009-08-03 | 1 | -1/+6 |
| | | | | | | | | want USE settings to adversely affect || preference evaluation. Drop invalid atoms inside _expand_new_virtuals() since we only want real Atom instances inside dep_zapdeps(). svn path=/main/trunk/; revision=13881 |