aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/ui/util
Commit message (Collapse)AuthorAgeFilesLines
* remove support for ArchMatthew Fernandez2017-10-251-3/+1
| | | | | | The last release of GNU Arch was in 2006, over ten years ago at time of writing. GNU suggests users should migrate repositories to Bazaar. This commit removes all support for Arch to reduce ongoing maintenance overheads.
* ui:util:pager: cleanup pager implementationW. Trevor King2012-11-291-28/+45
| | | | | | | | | | | | | Changes: * Import libraries with an underscore prefix to avoid polluting the module's public namespace. * Use a copy `env` to avoid messing with the child process' environment. * Pass the tweaked environment on to the PAGER (e.g. for PATH). * Handle PAGER='' (by not paging). * Use shlex.split to handle cases like PAGER='less -FRSX' (thanks to Da_Blitz from pocketnix.org for the bug report and shlex idea).
* ui:util:pager: document Nathan Weizenbaum as author of Ruby inspirationW. Trevor King2012-11-291-1/+2
| | | | | | | | | | Nathan's post is released under CC BY-SA 3.0 Unported. According the the FSF, the CC BY-SA 2.0 Generic was not compatible with BE's GPLv2+ [1]. I expect my Python implementation is sufficiently different from Nathan's original notes to be classified as "fair use" and not an "adaptation". [1]: http://www.gnu.org/licenses/license-list.html#ccbysa
* doc: update :meth: to :py:meth: for modern Sphinx.W. Trevor King2012-10-261-1/+1
|
* doc: update :mod: to :py:mod: for modern Sphinx.W. Trevor King2012-10-261-3/+3
|
* doc: update :func: to :py:func: for modern Sphinx.W. Trevor King2012-10-261-1/+1
|
* Ran update-copyright.py.W. Trevor King2012-10-164-4/+4
|
* Keep stdin (file descriptor 0) open in the pager's child process.W. Trevor King2012-02-251-1/+0
| | | | | | | | | This fixes the underlying problem that we worked around in commit 2c9ae15f53aef57d28091b237c193c653c6e80dd. Now even $ echo 'some bug | be --paginate new - will work instead of raising IOError: [Errno 9] Bad file descriptor.
* Ran update-copyright.py.W. Trevor King2012-02-164-40/+40
|
* Fix my busted 1512c0e2a64e patch to libbe/util/encoding.py.W. Trevor King2011-11-131-1/+1
| | | | | | | | | | | | | | Some temporary changes to encoding.py seem to have been added to commit 1512c0e2a64e19c8d4e5697257a4df5ddd8bc727 Author: W. Trevor King <wking@drexel.edu> Date: Tue Nov 8 07:14:43 2011 -0500 by accident. The initial change came from discussions with Niall Douglas, during which I realized that "filesystem encoding" ususally means the encoding for the *path*, not the *contents*. To avoid further confusion I'd renamed `get_filesystem_encoding` to the less ambiguous `get_text_file_encoding`. This commit should complete the transition.
* Run update_copyright.py.W. Trevor King2011-05-254-4/+8
|
* get_fallback_fullname falls back to get_fallback_username if no interesting ↵W. Trevor King2011-04-141-2/+3
| | | | fullname is set.
* get_fallback_email() now uses the EMAIL environmental variable (if set).W. Trevor King2011-04-141-3/+2
| | | | | This patch is based on Julien Muchembled's suggestions, which are in turn based on the related Git code in git.git/ident.c.
* Add libbe.ui.util.user.get_fallback_fullname() and use pwd when possible.W. Trevor King2011-04-141-4/+26
| | | | This patch is based on Julien Muchembled's pwd suggestions.
* Bumped to version 1.0.01.0.0Chris Ball2011-01-084-4/+4
|
* Ran update_copyright.pyW. Trevor King2010-06-224-46/+50
|
* Use os.path.join in libbe.storage.util.config.path.wking2010-06-221-1/+3
| | | | | | | | Versus previous hardcoded "~/.bugs_everywhere". Also improve docstrings for * libbe.storage.util.config.path * libbe.ui.util.user.get_user_id
* Use email.utils.formataddr/parseaddr to generate/parse user IDsW. Trevor King2010-02-071-29/+60
|
* Fix editor spawning on null-string EDITOR and VISUAL.W. Trevor King2010-01-291-4/+3
| | | | | $ EDITOR= VISUAL= python -c 'import os; import sys; print os.environ' {..., 'EDITOR': '', ..., 'VISUAL': '', ...}
* Updated copyright informationW. Trevor King2010-01-014-4/+32
|
* Remove libbe.ui.util.cmdutilW. Trevor King2009-12-291-129/+0
| | | | All of its functionality has moved off into more focused modules.
* Restore comment stripping to libbe.ui.util.editor.editor_string()W. Trevor King2009-12-281-0/+4
|
* Transitioned severity to Command-format, also added Command._get_*()W. Trevor King2009-12-141-14/+0
| | | | | | | | | | | | | | The old .requires_* thing was rediculous. The new ._get_*() callbacks allow the caller to provide a means for getting the expensive structures, which the command can use, or not, as required. This will also make it easier to implement the completion callbacks. The callbacks should probably have matching .set_*() methods, to avoid the current cache tweaking cmd._storage = ... etc. But that can wait for now...
* Transitioned comment to Command formatW. Trevor King2009-12-141-6/+5
|
* Transitioned init to Command formatW. Trevor King2009-12-141-1/+1
|
* Added parse_user() calls to AssignW. Trevor King2009-12-141-4/+0
|
* Transitioned assign to Command formatW. Trevor King2009-12-141-4/+5
|
* More fixes for libbe.storage.vcs.hg + .git transition.W. Trevor King2009-12-131-6/+6
|
* Converted libbe.storage.vcs.base to new Storage format.W. Trevor King2009-12-131-7/+11
|
* Moved be to libbe.ui.command_line and transitioned to Command format.W. Trevor King2009-12-121-108/+0
|
* Added libbe.ui.util.user for managing user ids.W. Trevor King2009-12-121-0/+84
|
* Moved command completion from libbe.ui.util to libbe.command.utilW. Trevor King2009-12-121-68/+0
|
* Added libbe.command.base (with Command class) and moved list command to new ↵W. Trevor King2009-12-123-123/+91
| | | | format.
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-073-0/+534