summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Having two parallel datastructures each for foreground and background colors ↵Todd Leonhardt2020-02-061-5/+10
| | | | | | felt really clunky - now we just have one The Enum classes are now smart and deal with it all.
* Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ↵Todd Leonhardt2020-02-061-0/+14
| | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE
* No longer displaying list of subcommands in usage text of alias and macroKevin Van Brunt2020-02-051-2/+2
|
* Updated help textKevin Van Brunt2020-02-051-1/+1
|
* Added remove_settable() since cmd2 has add_settable()Kevin Van Brunt2020-02-052-1/+7
| | | | Documented Settable.onchange_cb
* Added support to do_set() for setting a parameter to an empty string as well ↵Kevin Van Brunt2020-02-051-1/+11
| | | | as something resembling an argparse flag (e.g. -h)
* Added unit testsKevin Van Brunt2020-02-051-10/+41
|
* Removed unnecessary inheritance from objectKevin Van Brunt2020-02-041-1/+1
|
* Fixed a bug in a very unusual case and added some unit testsTodd Leonhardt2020-02-042-0/+26
|
* Updated CHANGELOG and made a few minor tweaksTodd Leonhardt2020-02-041-39/+0
|
* Updated set command to support tab completion of valuesKevin Van Brunt2020-02-044-35/+16
|
* Renamed locals_in_py to self_in_pyTodd Leonhardt2020-01-271-4/+4
| | | | This more accurately reflects what it controls
* Made three public attributes of cmd2.Cmd no longer settable at runtime by ↵Todd Leonhardt2020-01-274-18/+5
| | | | | | | | | end users The 3 attributes are: - continuation_prompt - locals_in_py - prompt
* Updating unit tests and docsKevin Van Brunt2020-01-201-0/+15
|
* Renamed functionKevin Van Brunt2020-01-171-15/+15
|
* Updating unit testsKevin Van Brunt2020-01-171-1/+38
|
* Updating unit testsKevin Van Brunt2020-01-171-10/+17
|
* Updated documentationKevin Van Brunt2020-01-071-1/+1
|
* Added dim text style supportKevin Van Brunt2020-01-071-4/+13
|
* Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-192-3/+3
| | | | Renamed ansi_aware_write() to style_aware_write()
* Merge branch 'master' into ansi_to_styleKevin Van Brunt2019-12-193-63/+44
|\
| * Updating unit testsKevin Van Brunt2019-12-171-0/+15
| |
| * Updating unit testsKevin Van Brunt2019-12-173-63/+29
| |
* | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵Kevin Van Brunt2019-12-196-41/+41
|/ | | | sequences are handled
* Merge branch 'master' into rstripKevin Van Brunt2019-12-101-2/+2
|\
| * Increased code coverage in argparse_completer.py back to 100%Kevin Van Brunt2019-12-101-2/+2
| |
* | Increased code coverageKevin Van Brunt2019-12-101-11/+17
|/
* Renamed functions based on code review comments. Fixed Python warnings.Kevin Van Brunt2019-12-091-32/+32
|
* Added more unit tests for text alignmentKevin Van Brunt2019-12-091-10/+28
|
* Added more text alignment unit testsKevin Van Brunt2019-12-091-1/+8
|
* Adding unit tests for text alignment functionsKevin Van Brunt2019-12-091-16/+152
|
* Updated center_text to support ansi escape sequences and characters with ↵Kevin Van Brunt2019-12-091-14/+11
| | | | | | display widths greater than 1. Also added left and right justification functions.
* Added apply_style to pwarning()Kevin Van Brunt2019-11-231-0/+44
|
* Added unit test for overriding default parserKevin Van Brunt2019-11-191-0/+17
|
* Fixed bug where pipe processes were not being stopped by Ctrl-C on WindowsKevin Van Brunt2019-11-181-9/+22
|
* Updating unit testsKevin Van Brunt2019-11-171-0/+12
|
* Updating unit testsKevin Van Brunt2019-11-171-0/+18
|
* Updating unit testsKevin Van Brunt2019-11-171-118/+74
|
* Updating unit testsKevin Van Brunt2019-11-161-43/+45
|
* Put an end time for timeout command just as a precautionKevin Van Brunt2019-11-121-2/+2
|
* Fixing unit tests that were causing problems on the test serversKevin Van Brunt2019-11-121-13/+4
|
* Fixing Windows unit test that hangs on AppVeyor due to a KeyboardInterruptKevin Van Brunt2019-11-121-2/+13
|
* Made some cmd2 module constants cmd2.Cmd class constantsKevin Van Brunt2019-10-311-2/+2
|
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-311-2/+2
| | | | | This includes moving cmd2 decorators into a new file called decorators.py Moved some constants from cmd2.py to constants.py
* Merge branch 'master' into set_progTodd Leonhardt2019-10-301-14/+3
|\ | | | | | | | | # Conflicts: # CHANGELOG.md
| * do_history no longer calls do_edit since edit is a command that is commonly ↵Kevin Van Brunt2019-10-301-14/+3
| | | | | | | | overridden
* | Removed all instances where a parser's prog attribute was being set since ↵Kevin Van Brunt2019-10-304-19/+19
|/ | | | this is no longer needed
* Added commentKevin Van Brunt2019-09-301-1/+1
|
* Wrote unit testsKevin Van Brunt2019-09-301-9/+72
|
* Simplifying tab completion message printingKevin Van Brunt2019-09-301-19/+1
|