aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/util/encoding.py
Commit message (Collapse)AuthorAgeFilesLines
* Run update_copyright.py.W. Trevor King2011-05-251-1/+2
|
* get_output_encoding falls back to get_encoding if sys.__stdout__ is redirected.W. Trevor King2011-04-141-1/+1
|
* Fix command-line encoding processing.W. Trevor King2011-04-081-1/+4
| | | | | | | | | | | | | | | | | | | | | | | String command-line options are converted to unicode using the input encoding. We use the fact that Python sets up the original sys.stdout to determine the terminal encoding. This should fix Anders Sneckenborg's issues with Swedish characters: C:\temp\slask4>be new "Svenska tecken åäö" Created bug with ID 6be/5c3 C:\temp\slask4> C:\temp\slask4> C:\temp\slask4>be list ERROR: 'ascii' codec can't decode byte 0xe5 in position 15: ordinal not in range(128) You should set a locale that supports unicode, e.g. export LANG=en_US.utf8 See http://docs.python.org/library/locale.html for details
* Bumped to version 1.0.01.0.0Chris Ball2011-01-081-1/+1
|
* Ran update_copyright.pyW. Trevor King2010-06-221-11/+12
|
* Updated copyright informationW. Trevor King2010-01-011-1/+1
|
* Fixed libbe.command.diff + ugly BugDir.duplicate_bugdir implementationW. Trevor King2009-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | duplicate_bugdir() works, but for the vcs backends, it could require shelling out for _every_ file read. This could, and probably will, be horribly slow. Still it works ;). I'm not sure what a better implementation would be. The old implementation checked out the entire earlier state into a temporary directory pros: single shell out, simple upgrade implementation cons: wouldn't work well for HTTP backens I think a good solution would run along the lines of the currently commented out code in duplicate_bugdir(), where a VersionedStorage.changed_since(revision) call would give you a list of changed files. diff could work off of that directly, without the need to generate a whole duplicate bugdir. I'm stuck on how to handle upgrades though... Also removed trailing whitespace from all python files.
* Transitioned html to Command-formatW. Trevor King2009-12-141-1/+1
|
* Transitioned comment to Command formatW. Trevor King2009-12-141-0/+22
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-121-1/+1
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-121-27/+9
|
* Transitioned bugdir.py to new storage format.W. Trevor King2009-12-081-1/+22
|
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-071-0/+66