Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Simplify command introspection inside usage(). | Zac Medico | 2009-08-08 | 1 | -6/+3 | |
| | | | | svn path=/main/trunk/; revision=13951 | |||||
* | In Task.__str__(), emulate tuple.__str__, but don't show 'foo' as u'foo' for | Zac Medico | 2009-08-08 | 1 | -2/+5 | |
| | | | | | | unicode strings. svn path=/main/trunk/; revision=13950 | |||||
* | Account for hardlinks when computing SIZE metadata. | Zac Medico | 2009-08-08 | 1 | -1/+4 | |
| | | | | svn path=/main/trunk/; revision=13949 | |||||
* | Use writemsg_stdout() for safe unicode output. | Zac Medico | 2009-08-07 | 1 | -17/+3 | |
| | | | | svn path=/main/trunk/; revision=13948 | |||||
* | 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 | 11 | -32/+42 | |
| | | | | | | 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 | 2 | -2/+3 | |
| | | | | 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 | |||||
* | Implement nonfatal(). | Arfrever Frehtes Taifersar Arahesis | 2009-08-06 | 1 | -0/+16 | |
| | | | | svn path=/main/trunk/; revision=13936 | |||||
* | Bug #277537 - Synchronize order of PATH elements with the order defined by | Zac Medico | 2009-08-06 | 1 | -2/+2 | |
| | | | | | | | /etc/profile (promote paths under /usr to the front). Thanks to Michał Górny <gentoo@mgorny.alt.pl>. svn path=/main/trunk/; revision=13935 | |||||
* | Bug #277544 - Add missing -c switch in bzip2 arguments. Thanks to Michał Górny | Zac Medico | 2009-08-06 | 1 | -1/+1 | |
| | | | | | | <gentoo@mgorny.alt.pl> for the patch. svn path=/main/trunk/; revision=13934 | |||||
* | 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 | |||||
* | correct pointer, as pointed out by darkside in IRC | Fabian Groffen | 2009-08-05 | 1 | -1/+1 | |
| | | | | svn path=/main/trunk/; revision=13920 | |||||
* | 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 | |||||
* | Decode arguments to unicode if necessary (needed at least for unicode file | Zac Medico | 2009-08-04 | 1 | -2/+7 | |
| | | | | | | names passed to the owners command). svn path=/main/trunk/; revision=13906 | |||||
* | 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 |