Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ui:util:pager: cleanup pager implementation | W. Trevor King | 2012-11-29 | 1 | -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 inspiration | W. Trevor King | 2012-11-29 | 1 | -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 King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | doc: update :mod: to :py:mod: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -3/+3 |
| | |||||
* | doc: update :func: to :py:func: for modern Sphinx. | W. Trevor King | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | Ran update-copyright.py. | W. Trevor King | 2012-10-16 | 4 | -4/+4 |
| | |||||
* | Keep stdin (file descriptor 0) open in the pager's child process. | W. Trevor King | 2012-02-25 | 1 | -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 King | 2012-02-16 | 4 | -40/+40 |
| | |||||
* | Fix my busted 1512c0e2a64e patch to libbe/util/encoding.py. | W. Trevor King | 2011-11-13 | 1 | -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 King | 2011-05-25 | 4 | -4/+8 |
| | |||||
* | get_fallback_fullname falls back to get_fallback_username if no interesting ↵ | W. Trevor King | 2011-04-14 | 1 | -2/+3 |
| | | | | fullname is set. | ||||
* | get_fallback_email() now uses the EMAIL environmental variable (if set). | W. Trevor King | 2011-04-14 | 1 | -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 King | 2011-04-14 | 1 | -4/+26 |
| | | | | This patch is based on Julien Muchembled's pwd suggestions. | ||||
* | Bumped to version 1.0.01.0.0 | Chris Ball | 2011-01-08 | 4 | -4/+4 |
| | |||||
* | Ran update_copyright.py | W. Trevor King | 2010-06-22 | 4 | -46/+50 |
| | |||||
* | Use os.path.join in libbe.storage.util.config.path. | wking | 2010-06-22 | 1 | -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 IDs | W. Trevor King | 2010-02-07 | 1 | -29/+60 |
| | |||||
* | Fix editor spawning on null-string EDITOR and VISUAL. | W. Trevor King | 2010-01-29 | 1 | -4/+3 |
| | | | | | $ EDITOR= VISUAL= python -c 'import os; import sys; print os.environ' {..., 'EDITOR': '', ..., 'VISUAL': '', ...} | ||||
* | Updated copyright information | W. Trevor King | 2010-01-01 | 4 | -4/+32 |
| | |||||
* | Remove libbe.ui.util.cmdutil | W. Trevor King | 2009-12-29 | 1 | -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 King | 2009-12-28 | 1 | -0/+4 |
| | |||||
* | Transitioned severity to Command-format, also added Command._get_*() | W. Trevor King | 2009-12-14 | 1 | -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 format | W. Trevor King | 2009-12-14 | 1 | -6/+5 |
| | |||||
* | Transitioned init to Command format | W. Trevor King | 2009-12-14 | 1 | -1/+1 |
| | |||||
* | Added parse_user() calls to Assign | W. Trevor King | 2009-12-14 | 1 | -4/+0 |
| | |||||
* | Transitioned assign to Command format | W. Trevor King | 2009-12-14 | 1 | -4/+5 |
| | |||||
* | More fixes for libbe.storage.vcs.hg + .git transition. | W. Trevor King | 2009-12-13 | 1 | -6/+6 |
| | |||||
* | Converted libbe.storage.vcs.base to new Storage format. | W. Trevor King | 2009-12-13 | 1 | -7/+11 |
| | |||||
* | Moved be to libbe.ui.command_line and transitioned to Command format. | W. Trevor King | 2009-12-12 | 1 | -108/+0 |
| | |||||
* | Added libbe.ui.util.user for managing user ids. | W. Trevor King | 2009-12-12 | 1 | -0/+84 |
| | |||||
* | Moved command completion from libbe.ui.util to libbe.command.util | W. Trevor King | 2009-12-12 | 1 | -68/+0 |
| | |||||
* | Added libbe.command.base (with Command class) and moved list command to new ↵ | W. Trevor King | 2009-12-12 | 3 | -123/+91 |
| | | | | format. | ||||
* | Initial directory restructuring to clarify dependencies | W. Trevor King | 2009-12-07 | 3 | -0/+534 |