Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Added code to handle flags with action set to append, append_const, and ↵ | Kevin Van Brunt | 2019-07-08 | 1 | -22/+22 | |
| | | | | | | | | count in AutoCompleter | |||||
* | | Fixed issue where -- was not handled properly in AutoCompleter when the ↵ | Kevin Van Brunt | 2019-07-08 | 1 | -38/+44 | |
| | | | | | | | | parser's prefix characters did not include - | |||||
* | | More unit tests | Kevin Van Brunt | 2019-07-08 | 1 | -1/+24 | |
| | | ||||||
* | | More unit tests | Kevin Van Brunt | 2019-07-07 | 1 | -6/+11 | |
| | | ||||||
* | | More unit tests | Kevin Van Brunt | 2019-07-07 | 1 | -8/+31 | |
| | | ||||||
* | | More argparse completer unit tests | Kevin Van Brunt | 2019-07-07 | 1 | -24/+65 | |
| | | ||||||
* | | Moved all custom argparse classes intended for normal development to ↵ | Kevin Van Brunt | 2019-07-07 | 1 | -3/+6 | |
| | | | | | | | | | | | | | | 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. | |||||
* | | Hiding flags that have help value of SUPRESSED in tab completion results | Kevin Van Brunt | 2019-07-07 | 1 | -0/+91 | |
| | | | | | | | | Added more unit tests for argparse completer | |||||
* | | More unit tests | Kevin Van Brunt | 2019-07-06 | 1 | -32/+54 | |
| | | ||||||
* | | Fixed issue where default descriptive header wasn't set correctly | Kevin Van Brunt | 2019-07-06 | 1 | -2/+2 | |
| | | ||||||
* | | More unit tests | Kevin Van Brunt | 2019-07-06 | 1 | -5/+60 | |
| | | ||||||
* | | Updating unit tests | Kevin Van Brunt | 2019-07-06 | 1 | -62/+94 | |
| | | ||||||
* | | Added ability to limit how many CompletionItems display at a time | Kevin Van Brunt | 2019-07-06 | 1 | -1/+1 | |
| | | ||||||
* | | Display set command tab-completion results as CompletionItems | Kevin Van Brunt | 2019-07-06 | 1 | -16/+14 | |
| | | ||||||
* | | Made alias and macro tab completion lookup results use CompletionItems | Kevin Van Brunt | 2019-07-06 | 1 | -4/+17 | |
| | | ||||||
* | | Refactoring and more unit tests | Kevin Van Brunt | 2019-07-05 | 1 | -30/+58 | |
| | | ||||||
* | | Reorganized argparse completion and custom unit tests | Kevin Van Brunt | 2019-07-05 | 2 | -16/+15 | |
| | | ||||||
* | | Simplifying unit tests for AutoCompleter | Kevin Van Brunt | 2019-07-05 | 1 | -199/+228 | |
| | | ||||||
* | | Fixed unit tests | Kevin Van Brunt | 2019-07-05 | 1 | -100/+1 | |
| | | ||||||
* | | Fixing unit tests | Kevin Van Brunt | 2019-07-04 | 1 | -9/+10 | |
| | | ||||||
* | | Fixing unit tests | Kevin Van Brunt | 2019-07-04 | 1 | -5/+4 | |
| | | ||||||
* | | Moved basic_complete to utils | Kevin Van Brunt | 2019-07-02 | 1 | -5/+5 | |
|/ | ||||||
* | Whitespace and doc fixes | Kevin Van Brunt | 2019-07-01 | 1 | -1/+1 | |
| | ||||||
* | Modified async_alert_str to also get passed the number of terminal columns ↵ | Todd Leonhardt | 2019-07-01 | 1 | -0/+11 | |
| | | | | and added unit tests for it | |||||
* | Merge branch 'master' into colorama_encapsulation | Todd Leonhardt | 2019-06-30 | 1 | -1/+74 | |
|\ | ||||||
| * | Added unit tests for _redirect_complete | Kevin Van Brunt | 2019-06-30 | 1 | -1/+74 | |
| | | ||||||
* | | Initial changes for encapsulation of colorama usage within ansi.py | Todd Leonhardt | 2019-06-30 | 1 | -13/+25 | |
|/ | | | | | | | | | | | | | | | 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 | |||||
* | Added unit test for passing transcript_files during Cmd __init__ | Todd Leonhardt | 2019-06-29 | 1 | -2/+7 | |
| | ||||||
* | Added unit test for startup_script functionality | Todd Leonhardt | 2019-06-29 | 2 | -0/+15 | |
| | ||||||
* | Remove load, _relative_load, pyscript aliases which | Todd Leonhardt | 2019-06-29 | 2 | -17/+2 | |
| | | | | | | 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. | |||||
* | Always set the canonical version allow_ansi' string value | Kevin Van Brunt | 2019-06-29 | 1 | -9/+16 | |
| | ||||||
* | Handling alternate cases of allow_ansi values | Kevin Van Brunt | 2019-06-29 | 1 | -0/+3 | |
| | ||||||
* | Added validation when setting allow_ansi | Kevin Van Brunt | 2019-06-29 | 1 | -0/+14 | |
| | ||||||
* | Moved RESET to end of color dictionaries and skip a test on Mac since it is ↵ | Todd Leonhardt | 2019-06-28 | 1 | -1/+2 | |
| | | | | unreliable on Azure DevOps CI | |||||
* | Simplified ansi color dictionaries and lookup methods | Todd Leonhardt | 2019-06-27 | 2 | -26/+21 | |
| | | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library | |||||
* | Added fg_lookup() and bg_lookup() two-stage color lookup functions | Todd Leonhardt | 2019-06-27 | 1 | -0/+26 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-06-27 | 1 | -7/+20 | |
| | ||||||
* | Added unit tests for ansi.py | Kevin Van Brunt | 2019-06-27 | 3 | -34/+73 | |
| | ||||||
* | Made allow_ansi an application-wide setting and moved it to ansi.py | Kevin Van Brunt | 2019-06-27 | 1 | -14/+10 | |
| | ||||||
* | More replacing of 'colors' with 'allow_ansi' | Kevin Van Brunt | 2019-06-26 | 3 | -6/+6 | |
| | ||||||
* | Renamed colors setting to allow_ansi | Kevin Van Brunt | 2019-06-26 | 3 | -35/+35 | |
| | ||||||
* | Changed signature of style() to allow for simpler calling and overriding of ↵ | Kevin Van Brunt | 2019-06-26 | 2 | -5/+5 | |
| | | | | settings in a provided TextStyle | |||||
* | Added TextStyle class and default implementations for various message types ↵ | Kevin Van Brunt | 2019-06-26 | 2 | -5/+5 | |
| | | | | like Warning, Error, and Succes | |||||
* | Moved code related to ANSI escape codes to new file called ansi.py | Kevin Van Brunt | 2019-06-26 | 2 | -17/+18 | |
| | ||||||
* | Renamed style_message to style | Kevin Van Brunt | 2019-06-26 | 2 | -7/+7 | |
| | ||||||
* | Removed color args from poutput since the style function is going to do more ↵ | Kevin Van Brunt | 2019-06-25 | 1 | -4/+4 | |
| | | | | than color | |||||
* | Removed end argument from style_message | Kevin Van Brunt | 2019-06-25 | 1 | -2/+2 | |
| | ||||||
* | Replaced more pexcept uses with perror | Kevin Van Brunt | 2019-06-25 | 1 | -3/+3 | |
| | ||||||
* | Add 2 tests to test_utils.py for style_message() | Daniel Ahn | 2019-06-25 | 1 | -1/+20 | |
| | ||||||
* | Revert change in test_poutput_color_always | Daniel Ahn | 2019-06-24 | 1 | -1/+1 | |
| |