Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed issue where quoted redirectors and terminators in aliases and macros ↵ | Kevin Van Brunt | 2020-09-30 | 1 | -9/+21 |
| | | | | | | were not being restored when read from a startup script. | ||||
* | Minor type hinting fixes. | Eric Lin | 2020-09-11 | 1 | -7/+14 |
| | |||||
* | Changes default category to be heritable by default - meaning that ↵ | Eric Lin | 2020-09-11 | 1 | -1/+4 |
| | | | | | | subclasses will inherit the parent class's default category. Adds optional flag to disable heritability. | ||||
* | Minor fixes to enable Python 3.5.2 support | Eric Lin | 2020-08-11 | 1 | -2/+7 |
| | |||||
* | Verify that a completer function is defined in a CommandSet before | Eric Lin | 2020-08-06 | 1 | -1/+30 |
| | | | | | | | | | | passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation | ||||
* | Documented CompletionError class | Kevin Van Brunt | 2020-04-23 | 1 | -4/+4 |
| | |||||
* | Updated docs | Kevin Van Brunt | 2020-04-22 | 1 | -9/+10 |
| | |||||
* | Merge branch 'master' into table_creator | Todd Leonhardt | 2020-04-15 | 1 | -10/+16 |
|\ | |||||
| * | onecmd_plus_hooks() no longer handles updating any state data related to ↵ | Kevin Van Brunt | 2020-04-12 | 1 | -10/+16 |
| | | | | | | | | | | | | redirection. For simplicity, it's all done in _redirect_output() and _restore_output(). | ||||
| * | Simplfied _redirect_output() by raising exception instead of returning bool | Kevin Van Brunt | 2020-04-11 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into table_creator | Kevin Van Brunt | 2020-04-11 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Made some optional arguments with defaults keyword-only. | Kevin Van Brunt | 2020-04-11 | 1 | -1/+1 |
| | | | | | | | | | | Added unit test for echo argument to pyscript app() command. Removed _relative_load from hidden commands since that command was renamed. | ||||
* | | Initial commit of table creation API | Kevin Van Brunt | 2020-04-09 | 1 | -17/+56 |
|/ | |||||
* | Making build_settables() public again | Kevin Van Brunt | 2020-02-28 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' into api_docs | kotfu | 2020-02-21 | 1 | -2/+2 |
|\ | |||||
| * | Removed hyphen from tab-completion | Kevin Van Brunt | 2020-02-21 | 1 | -2/+2 |
| | | |||||
* | | Embedded examples and cross-links for categorize() and with_category() | kotfu | 2020-02-20 | 1 | -1/+13 |
| | | |||||
* | | Fix merge error | kotfu | 2020-02-20 | 1 | -15/+0 |
| | | |||||
* | | Merge branch 'master' into api_docs | kotfu | 2020-02-20 | 1 | -2/+42 |
|\ \ | |/ | | | | | | | | | | | | | # Conflicts: # CHANGELOG.md # cmd2/__init__.py # cmd2/decorators.py # docs/api/utility_functions.rst | ||||
| * | Moved categorize() to utils.py and made set_parser_prog() non-public | Kevin Van Brunt | 2020-02-20 | 1 | -0/+15 |
| | | |||||
| * | Added apply_style to CompletionError | Kevin Van Brunt | 2020-02-18 | 1 | -1/+15 |
| | | | | | | | | Simplified error class structure in argparse_completer.py | ||||
| * | Made CompletionError exception available to non-argparse tab completion | Kevin Van Brunt | 2020-02-17 | 1 | -0/+11 |
| | | |||||
| * | Renamed AutoCompleter to ArgparseCompleter for clarity | Kevin Van Brunt | 2020-02-17 | 1 | -2/+2 |
| | | |||||
* | | move `categorize()` to `utils.py` and make `set_parser_prog` a private method | kotfu | 2020-02-14 | 1 | -0/+15 |
|/ | |||||
* | Fix optional type hint | Todd Leonhardt | 2020-02-11 | 1 | -2/+2 |
| | | | | typing.OrderedDict wasn't added until Python 3.7.2; so replace with Dict. | ||||
* | Allowing for colored fill char in align_text | Kevin Van Brunt | 2020-02-11 | 1 | -14/+34 |
| | | | | Added function to index all style sequences found in a string | ||||
* | Fixed bug where ANSI style sequences were not correctly handled in ↵ | Kevin Van Brunt | 2020-02-11 | 1 | -17/+61 |
| | | | | utils.truncate_line() | ||||
* | Added more to Settable docstring | Kevin Van Brunt | 2020-02-05 | 1 | -2/+9 |
| | |||||
* | Added more to onchange_cb documentation | Kevin Van Brunt | 2020-02-05 | 1 | -3/+7 |
| | |||||
* | Added remove_settable() since cmd2 has add_settable() | Kevin Van Brunt | 2020-02-05 | 1 | -4/+7 |
| | | | | Documented Settable.onchange_cb | ||||
* | Updated documentation | Kevin Van Brunt | 2020-02-05 | 1 | -2/+4 |
| | |||||
* | Removed unnecessary inheritance from object | Kevin Van Brunt | 2020-02-04 | 1 | -5/+5 |
| | |||||
* | Fixed a bug in a very unusual case and added some unit tests | Todd Leonhardt | 2020-02-04 | 1 | -4/+5 |
| | |||||
* | Updated CHANGELOG and made a few minor tweaks | Todd Leonhardt | 2020-02-04 | 1 | -37/+5 |
| | |||||
* | Updated set command to support tab completion of values | Kevin Van Brunt | 2020-02-04 | 1 | -3/+58 |
| | |||||
* | Import ABC from collections.abc instead of collections for Python 3.9 ↵ | Karthikeyan Singaravelan | 2020-01-22 | 1 | -2/+3 |
| | | | | compatibility. | ||||
* | Renamed function | Kevin Van Brunt | 2020-01-17 | 1 | -14/+14 |
| | |||||
* | Updating unit tests | Kevin Van Brunt | 2020-01-17 | 1 | -2/+2 |
| | |||||
* | Added string truncation function and support for it in the alignment functions | Kevin Van Brunt | 2020-01-17 | 1 | -14/+71 |
| | |||||
* | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 1 | -5/+5 |
| | | | | Renamed ansi_aware_write() to style_aware_write() | ||||
* | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵ | Kevin Van Brunt | 2019-12-19 | 1 | -5/+5 |
| | | | | sequences are handled | ||||
* | Renamed functions based on code review comments. Fixed Python warnings. | Kevin Van Brunt | 2019-12-09 | 1 | -21/+18 |
| | |||||
* | Added more text alignment unit tests | Kevin Van Brunt | 2019-12-09 | 1 | -0/+6 |
| | |||||
* | Adding unit tests for text alignment functions | Kevin Van Brunt | 2019-12-09 | 1 | -15/+13 |
| | |||||
* | Updated center_text to support ansi escape sequences and characters with ↵ | Kevin Van Brunt | 2019-12-09 | 1 | -16/+148 |
| | | | | | | display widths greater than 1. Also added left and right justification functions. | ||||
* | Fixed bug where pipe processes were not being stopped by Ctrl-C on Windows | Kevin Van Brunt | 2019-11-18 | 1 | -2/+4 |
| | |||||
* | Fixed ProcessLookupError | Kevin Van Brunt | 2019-11-17 | 1 | -1/+5 |
| | |||||
* | Fixed bug where pipe processes were not being stopped by Ctrl-C on Linux/Mac | Kevin Van Brunt | 2019-11-17 | 1 | -3/+4 |
| | |||||
* | Updated docstring of which to be more accurate in its purpose | Kevin Van Brunt | 2019-10-30 | 1 | -11/+11 |
| | |||||
* | Fixed a few commands that would have failed if arguments containing quotes ↵ | Kevin Van Brunt | 2019-07-24 | 1 | -6/+11 |
| | | | | were used |