summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Removed dash from 'tab complete' stringKevin Van Brunt2020-02-132-8/+8
|
* Allowing for colored fill char in align_textKevin Van Brunt2020-02-111-1/+10
| | | | Added function to index all style sequences found in a string
* Fixed bug where ANSI style sequences were not correctly handled in ↵Kevin Van Brunt2020-02-111-6/+37
| | | | utils.truncate_line()
* Renamed set command's -l/--long flag to -v/--verbose for consistency with ↵Kevin Van Brunt2020-02-101-2/+2
| | | | help and history commands
* Corrected issue where the actual new value was not always being printed in ↵Kevin Van Brunt2020-02-101-8/+11
| | | | | | | | do_set. Fixed do_set unit test. Made allow_ansi setter error message consistent with str_to_bool. Updated a docstring
* Added unit test for ColorBase.colors()Kevin Van Brunt2020-02-071-0/+7
|
* Added __str__() back to ColorBase for more flexibility in its usageKevin Van Brunt2020-02-071-6/+18
| | | | Updated documentation and added unit tests
* Removed unnecessary methods from fg and bg color enumsTodd Leonhardt2020-02-071-12/+6
|
* 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
|