summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Added dim text style supportKevin Van Brunt2020-01-071-9/+16
|
* Updated style regular expression to not require digitsKevin Van Brunt2019-12-191-2/+2
|
* Renamed ansi_safe_wcswidth() to style_aware_wcswidth()Kevin Van Brunt2019-12-196-29/+27
| | | | Renamed ansi_aware_write() to style_aware_write()
* Merge branch 'master' into ansi_to_styleKevin Van Brunt2019-12-191-1/+1
|\
| * Fixed bug where startup script containing a single quote in its file name ↵Kevin Van Brunt2019-12-171-1/+1
| | | | | | | | was incorrectly quoted
* | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵Kevin Van Brunt2019-12-194-56/+60
|/ | | | sequences are handled
* Took out more rstrip() calls that are no longer neeededKevin Van Brunt2019-12-101-2/+2
|
* Took out rstrip() calls that are no longer neeededKevin Van Brunt2019-12-101-2/+2
|
* Renamed functions based on code review comments. Fixed Python warnings.Kevin Van Brunt2019-12-092-23/+25
|
* Added more text alignment unit testsKevin Van Brunt2019-12-091-0/+6
|
* Adding unit tests for text alignment functionsKevin Van Brunt2019-12-091-15/+13
|
* Updated center_text to support ansi escape sequences and characters with ↵Kevin Van Brunt2019-12-093-23/+156
| | | | | | display widths greater than 1. Also added left and right justification functions.
* Removed redundant line of codeKevin Van Brunt2019-12-061-1/+0
|
* Enabled line buffering when redirecting output to a fileKevin Van Brunt2019-12-051-6/+10
|
* Removed bold from style_successKevin Van Brunt2019-12-041-1/+1
|
* Fixed typo in documentationKevin Van Brunt2019-12-041-1/+1
|
* Added self to perror() for consistency and ease of overridingKevin Van Brunt2019-12-031-7/+7
| | | | poutput(), perror(), and pwarning() can now be called with no args
* Gave names to parser variables for a few commands so developers overriding ↵Kevin Van Brunt2019-12-021-4/+8
| | | | these commands can use the parsers
* Renamed some parser arguments to make it more obvious they can accept more ↵Kevin Van Brunt2019-11-281-12/+12
| | | | than 1 value
* Fixed bug where a redefined ansi.style_error was not being used in all cmd2 ↵Kevin Van Brunt2019-11-272-12/+12
| | | | files
* Simplified line of codeKevin Van Brunt2019-11-251-2/+1
|
* Added # pragma: no cover to some code in rl_utilsKevin Van Brunt2019-11-241-2/+2
|
* Fixed flake8 warningKevin Van Brunt2019-11-241-2/+2
|
* Added documentationKevin Van Brunt2019-11-241-1/+2
|
* Updated warning textKevin Van Brunt2019-11-241-1/+1
|
* Added exception handling to account for non-standard Python environments in ↵Kevin Van Brunt2019-11-242-13/+25
| | | | which readline is not loaded dynamically from a shared library file
* Added apply_style to pwarning()Kevin Van Brunt2019-11-231-4/+7
|
* Fixed 2 bugs in ppaged():Kevin Van Brunt2019-11-231-4/+8
| | | | | - end was not being passed to poutput() - msg object was not being converted string before empty string check
* Updated arguments to pfeedback and ppaged for consistency with other cmd2 ↵Kevin Van Brunt2019-11-231-43/+46
| | | | print functions
* Added capability to override the argument parser class used by cmd2 built-in ↵Kevin Van Brunt2019-11-193-20/+40
| | | | commands
* Reformatted warning messageKevin Van Brunt2019-11-181-3/+3
|
* Fixed bug where pipe processes were not being stopped by Ctrl-C on WindowsKevin Van Brunt2019-11-182-12/+12
|
* Fixed sphinx doc errorKevin Van Brunt2019-11-171-3/+2
|
* Fixed ProcessLookupErrorKevin Van Brunt2019-11-171-1/+5
|
* Fixed bug where pipe processes were not being stopped by Ctrl-C on Linux/MacKevin Van Brunt2019-11-171-3/+4
|
* Updating unit testsKevin Van Brunt2019-11-171-2/+2
|
* Updated comments and change logKevin Van Brunt2019-11-161-2/+2
|
* Updating unit testsKevin Van Brunt2019-11-161-1/+1
|
* Added cmd2-specific input() function that reads from the correct stdin and ↵Kevin Van Brunt2019-11-161-67/+92
| | | | can disable tab completion
* Fix bug where cmd2 ran 'stty sane' command when stdin was not a terminalKevin Van Brunt2019-11-111-1/+1
|
* Made some cmd2 module constants cmd2.Cmd class constantsKevin Van Brunt2019-10-311-10/+10
|
* Moving a bit of code around to shrink cmd2.pyKevin Van Brunt2019-10-314-250/+258
| | | | | 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-15/+18
|\ | | | | | | | | # Conflicts: # CHANGELOG.md
| * Merge branch 'master' into history_editTodd Leonhardt2019-10-301-2/+2
| |\
| | * Only removing ipy from cmd2 instances instead of the class when use_ipython ↵Kevin Van Brunt2019-10-301-2/+2
| | | | | | | | | | | | is False
| * | do_history no longer calls do_edit since edit is a command that is commonly ↵Kevin Van Brunt2019-10-301-13/+16
| |/ | | | | | | overridden
* | Fixed warningKevin Van Brunt2019-10-301-0/+1
| |
* | Setting prog value of a command and its subcommand parsers to contain the ↵Kevin Van Brunt2019-10-301-22/+43
|/ | | | command name and not sys.argv[0]
* Updated docstring of which to be more accurate in its purposeKevin Van Brunt2019-10-301-11/+11
|
* Send all startup script paths to run_script. Previously we didn't do this if theKevin Van Brunt2019-10-181-2/+2
| | | | file was empty, but that showed no record of the run_script command in history.