Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Renamed display_width to ansi_safe_wcswidth | Kevin Van Brunt | 2018-11-16 | 1 | -2/+3 | |
| | ||||||
* | Added wrapper for wcswidth that removes ansi escape characters | Kevin Van Brunt | 2018-11-15 | 1 | -0/+11 | |
| | ||||||
* | Fixed error where an inner stream like StringIO doesn't have a buffer attribute. | Kevin Van Brunt | 2018-10-09 | 1 | -2/+8 | |
| | ||||||
* | Updated docstring | Kevin Van Brunt | 2018-10-03 | 1 | -2/+2 | |
| | ||||||
* | Made encode and error class members of StdSim | Kevin Van Brunt | 2018-10-03 | 1 | -20/+20 | |
| | ||||||
* | Fixed error where binary data was crashing getvalue. Added accessor methods ↵ | Kevin Van Brunt | 2018-10-03 | 1 | -13/+27 | |
| | | | | for retrieving StdSim contents as bytes. | |||||
* | Removed unneeded escapes in regular expressions | Kevin Van Brunt | 2018-09-28 | 1 | -1/+1 | |
| | ||||||
* | Addressing code review comments | Kevin Van Brunt | 2018-09-27 | 1 | -1/+1 | |
| | ||||||
* | Made function to unquote redirection characters | Kevin Van Brunt | 2018-09-26 | 1 | -0/+12 | |
| | ||||||
* | Backing up macro command work | Kevin Van Brunt | 2018-09-24 | 1 | -3/+3 | |
| | ||||||
* | StdSim write methods now raise a TypeError exception if passed the wrong type | Todd Leonhardt | 2018-09-24 | 1 | -0/+4 | |
| | | | | | Also: - Added explicit unit tests for StdSim to test_utils.py | |||||
* | Fixed several hack classes build to simulate file descriptors | Todd Leonhardt | 2018-09-23 | 1 | -0/+54 | |
| | | | | | | | | | Now there is a single class, StdSim in utils.py, which is intended to simulate stdout and stderr file objects. This class replaced the following: - pyscript_bridge.py::CopyStream - transcript.py::OutputTrap - conftest.py::StdOut | |||||
* | Removed remaining type hints in docstrings | Kevin Van Brunt | 2018-09-21 | 1 | -1/+1 | |
| | ||||||
* | Simplified functions more | Kevin Van Brunt | 2018-09-21 | 1 | -5/+7 | |
| | ||||||
* | Added unit tests for new utility functions and fixed a comment | Todd Leonhardt | 2018-09-21 | 1 | -1/+1 | |
| | ||||||
* | Refactored do_set | Kevin Van Brunt | 2018-09-21 | 1 | -1/+23 | |
| | ||||||
* | Add natural sorting (sorting case insensitively as well as numerically) | Lance Starr | 2018-09-19 | 1 | -1/+47 | |
| | ||||||
* | Addeded utility function for combining unicode normalization and casefolding ↵ | Todd Leonhardt | 2018-08-02 | 1 | -6/+16 | |
| | | | | | | | | into a single step Also: - Updated the alphabetical sort utility function to use this - Started adding explicit unit tests for functions in utils.py | |||||
* | Added alphabetical_sort() function | Kevin Van Brunt | 2018-08-01 | 1 | -0/+9 | |
| | ||||||
* | Added matches_sorted member to support custom sorting order of ↵ | Kevin Van Brunt | 2018-08-01 | 1 | -0/+13 | |
| | | | | | | | tab-completion matches Made all sorting alphabetical Fixed case where extra slash was printing when tab completing users on Windows | |||||
* | Merge branch 'master' into history | Todd Leonhardt | 2018-07-12 | 1 | -16/+0 | |
|\ | ||||||
| * | Deleted the CmdResult helper class | Todd Leonhardt | 2018-07-11 | 1 | -16/+0 | |
| | | | | | | | | | | | | | | | | The CmdResult helper class was deprecated in the previous release. This commit deletes it. - The new CommandResult class is an improved replacement Also: - Deleted the namedtuple_with_two_defaults helper function which is now no longer used | |||||
* | | Added --clear argument to history command | Kevin Van Brunt | 2018-07-11 | 1 | -2/+2 | |
|/ | | | | | | Added better error checking when loading readline history file Improved some error messages Changed IOError usages to OSError since they were merged in Python 3.3. | |||||
* | Added yet more type hinting | Todd Leonhardt | 2018-06-10 | 1 | -4/+6 | |
| | ||||||
* | Working on improving type hinting | Todd Leonhardt | 2018-06-09 | 1 | -1/+6 | |
| | | | | | Also: - Refactored perror() to remove a rarely used optional argument which was unecessary | |||||
* | Make changes requested in PR #413 | kotfu | 2018-05-24 | 1 | -2/+11 | |
| | ||||||
* | Move more code from cmd2.py into utils.py | kotfu | 2018-05-06 | 1 | -0/+89 | |
| | ||||||
* | Merge branch 'test_merge' into test_ply_merge | Eric Lin | 2018-05-02 | 1 | -0/+32 | |
|\ | ||||||
| * | Merge branch 'bash_completion' into bash_to_pyscript | Eric Lin | 2018-05-02 | 1 | -0/+15 | |
| |\ | ||||||
| | * | Merge remote-tracking branch 'origin/master' into bash_completion | Eric Lin | 2018-04-27 | 1 | -0/+14 | |
| | | | | | | | | | | | | Updated argcomplete_bridge to use new constants/utils. | |||||
| * | | Added support for customizing the pyscript bridge pystate object name. | Eric Lin | 2018-05-02 | 1 | -0/+30 | |
| |/ | | | | | | | | | | | | | Removed all legacy pystate objects. Changed default behavior to clear _last_result before each command Added utility for creating named tuples with default values Added tests to exercise new changes. | |||||
* | | extract strip_quotes() to utils module | kotfu | 2018-04-30 | 1 | -0/+12 | |
|/ | ||||||
* | Create utils module for utility functions | kotfu | 2018-04-27 | 1 | -0/+13 | |