Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Fixed bug where multiline commands were having leading and ending spaces ↵ | Kevin Van Brunt | 2019-07-17 | 1 | -1/+1 | |
| | | | | | | | | | | | | stripped. This would mess up quoted strings that crossed multiple lines. | |||||
* | | Enabled tab completion of multiline commands | Kevin Van Brunt | 2019-07-17 | 1 | -13/+30 | |
|/ | ||||||
* | Changed formatting of an error message | Kevin Van Brunt | 2019-07-17 | 1 | -0/+2 | |
| | ||||||
* | Merge branch 'master' into default_sort_key | Kevin Van Brunt | 2019-07-16 | 1 | -5/+6 | |
|\ | ||||||
| * | Fixed documentation for run_script and renamed history option | Kevin Van Brunt | 2019-07-16 | 1 | -5/+6 | |
| | | ||||||
* | | Merge branch 'master' into default_sort_key | Kevin Van Brunt | 2019-07-16 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | After some discussion, revert check for callable on _onchange_ hooks | kotfu | 2019-07-16 | 1 | -1/+1 | |
| | | ||||||
| * | Fix feedback from PR | kotfu | 2019-07-15 | 1 | -1/+1 | |
| | | | | | | | | only try to call `onchange_hook` if it’s a callable. | |||||
| * | Merge branch 'master' into migrating_docs | Todd Leonhardt | 2019-07-15 | 1 | -124/+103 | |
| |\ | ||||||
| * | | Fix pylint warning | kotfu | 2019-07-14 | 1 | -1/+1 | |
| | | | ||||||
* | | | Moved the sorting of shortcuts into StatementParser which allows users to ↵ | Kevin Van Brunt | 2019-07-16 | 1 | -5/+4 | |
| | | | | | | | | | | | | pass in a dictionary instead of a tuple for shortcuts. | |||||
* | | | Renamed matches_sort_key to default_sort_key and using it to sort additional d | Kevin Van Brunt | 2019-07-15 | 1 | -18/+18 | |
| |/ |/| | ||||||
* | | Make max_completion_items settable | Kevin Van Brunt | 2019-07-15 | 1 | -5/+7 | |
| | | ||||||
* | | Fixed flake8 warning | Kevin Van Brunt | 2019-07-12 | 1 | -1/+1 | |
| | | ||||||
* | | Renamed Cmd2ArgParser to ArgParser | Kevin Van Brunt | 2019-07-12 | 1 | -16/+16 | |
| | | ||||||
* | | Updated documentation | Kevin Van Brunt | 2019-07-11 | 1 | -3/+3 | |
| | | ||||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-11 | 1 | -28/+28 | |
|\ \ | |/ | ||||||
| * | Restore self.statement_parser to a public attribute in cmd2.Cmd | Todd Leonhardt | 2019-07-10 | 1 | -28/+28 | |
| | | ||||||
* | | Small refactoring to simplify code | Kevin Van Brunt | 2019-07-10 | 1 | -3/+1 | |
| | | ||||||
* | | Moved all custom argparse classes intended for normal development to ↵ | Kevin Van Brunt | 2019-07-07 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | argparse_custom.py. Lazy loading AutoCompleter in cmd2 instance methods to allow argparse_completer.py to import cmd2.Cmd class. This Architecture makes more sense because AutoCompleter depends on cmd2.Cmd. | |||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-06 | 1 | -44/+41 | |
|\ \ | |/ | ||||||
| * | Added autoclass documentation for cmd2.Cmd in cmd.rst | Todd Leonhardt | 2019-07-06 | 1 | -44/+41 | |
| | | | | | | | | This required whitespace tweaks to a number of docstrings. | |||||
* | | More unit tests | Kevin Van Brunt | 2019-07-06 | 1 | -3/+3 | |
| | | ||||||
* | | Added ability to limit how many CompletionItems display at a time | Kevin Van Brunt | 2019-07-06 | 1 | -0/+5 | |
| | | ||||||
* | | Display set command tab-completion results as CompletionItems | Kevin Van Brunt | 2019-07-06 | 1 | -6/+6 | |
| | | ||||||
* | | Made alias and macro tab completion lookup results use CompletionItems | Kevin Van Brunt | 2019-07-06 | 1 | -16/+16 | |
| | | ||||||
* | | Using argparse constants instead of hardcoded strings | Kevin Van Brunt | 2019-07-04 | 1 | -10/+15 | |
| | | ||||||
* | | Made optional args on completers keyword-only | Kevin Van Brunt | 2019-07-04 | 1 | -7/+7 | |
| | | ||||||
* | | Moved cmd2 custom argparse types to argparse_custom.py | Kevin Van Brunt | 2019-07-03 | 1 | -17/+18 | |
| | | | | | | | | Rename ACArgumentParser to Cmd2ArgParser | |||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-03 | 1 | -28/+5 | |
|\ \ | |/ | ||||||
| * | Removed typo | Kevin Van Brunt | 2019-07-03 | 1 | -1/+1 | |
| | | ||||||
| * | Removed import of Collection since we are no longer calling len() on the ↵ | Kevin Van Brunt | 2019-07-03 | 1 | -29/+6 | |
| | | | | | | | | variables that needed it | |||||
* | | Merge branch 'master' into auto_completer_refactor | Kevin Van Brunt | 2019-07-03 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fixed issue where wrong function was being set for Pyreadline's ↵ | Kevin Van Brunt | 2019-07-03 | 1 | -1/+1 | |
| | | | | | | | | _display_completions | |||||
* | | Patched argparse._ActionsContainer.add_argument() to support more settings ↵ | Kevin Van Brunt | 2019-07-02 | 1 | -52/+36 | |
| | | | | | | | | like enabling tab completion and providing choice generating functions | |||||
* | | Added functions to enable tab completion and choices provider functions to ↵ | Kevin Van Brunt | 2019-07-02 | 1 | -55/+56 | |
| | | | | | | | | argparse argument values | |||||
* | | Removed cmd2.basic_complete function since it was added to utils | Kevin Van Brunt | 2019-07-02 | 1 | -15/+0 | |
| | | ||||||
* | | Moved basic_complete to utils | Kevin Van Brunt | 2019-07-02 | 1 | -6/+6 | |
| | | ||||||
* | | Small refactor and documentation updates | Kevin Van Brunt | 2019-07-01 | 1 | -4/+0 | |
|/ | ||||||
* | Modified async_alert_str to also get passed the number of terminal columns ↵ | Todd Leonhardt | 2019-07-01 | 1 | -1/+3 | |
| | | | | and added unit tests for it | |||||
* | Merge branch 'master' into colorama_encapsulation | Todd Leonhardt | 2019-06-30 | 1 | -11/+41 | |
|\ | ||||||
| * | Rewrote _redirect_complete to match our parsing behavior | Kevin Van Brunt | 2019-06-30 | 1 | -11/+41 | |
| | | ||||||
* | | Refactored ansi.async_alert_str() so that the cursor offset within the ↵ | Todd Leonhardt | 2019-06-30 | 1 | -2/+2 | |
| | | | | | | | | | | | | readline buffer is passed in This way, the function is independent of readline and can more easily be unit tested | |||||
* | | Initial changes for encapsulation of colorama usage within ansi.py | Todd Leonhardt | 2019-06-30 | 1 | -54/+4 | |
|/ | | | | | | | | | | | | | | | Changes include: - ansi.py is now the only cmd2 code which depends on colorama - cmd2 tests no longer rely on colorama - Added new functions to ansi.py: - async_alert_str() - set_title_str - Added unit test for set_title_str TODO: - Refactor async_alert_str so cursor position is passed in and import from rl_utils is no longer required - Add unit test(s) for async_alert_str - Refactor FG_COLORS and BG_COLORS in ansi.py to not use constants from colorama | |||||
* | Remove load, _relative_load, pyscript aliases which | Todd Leonhardt | 2019-06-29 | 1 | -59/+34 | |
| | | | | | | These commands were renamed in the last release, but aliases were created along with warnings to help aid the transition. The command aliases are now being removed in this release. | |||||
* | Refactored allow_ansi setter | Kevin Van Brunt | 2019-06-29 | 1 | -4/+8 | |
| | ||||||
* | Always set the canonical version allow_ansi' string value | Kevin Van Brunt | 2019-06-29 | 1 | -2/+3 | |
| | ||||||
* | Handling alternate cases of allow_ansi values | Kevin Van Brunt | 2019-06-29 | 1 | -1/+1 | |
| | ||||||
* | Added validation when setting allow_ansi | Kevin Van Brunt | 2019-06-29 | 1 | -8/+18 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-06-27 | 1 | -1/+1 | |
| |