Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Removing support for wrapping binary streams since cmd2 assumes stdout will ↵ | Kevin Van Brunt | 2019-04-25 | 1 | -10/+29 | |
| | | | | be a text stream in all of its code like poutput() | |||||
* | Clearing bytearray instead of creating a new object | Kevin Van Brunt | 2019-04-11 | 1 | -1/+1 | |
| | ||||||
* | Fixed issue where pointer to bytearray was being returned instead of copied ↵ | Kevin Van Brunt | 2019-04-11 | 1 | -1/+1 | |
| | | | | bytes | |||||
* | Fixed minor grammatical error | Todd Leonhardt | 2019-04-03 | 1 | -1/+1 | |
| | ||||||
* | Attempt to fix unit tests | Todd Leonhardt | 2019-04-02 | 1 | -2/+6 | |
| | ||||||
* | Added some unit tests for ProcReader and ContextFlag utility classes | Todd Leonhardt | 2019-04-02 | 1 | -1/+0 | |
| | ||||||
* | Fix flake8 warning | Todd Leonhardt | 2019-04-02 | 1 | -2/+0 | |
| | ||||||
* | Started addressing my PR comments | Todd Leonhardt | 2019-04-02 | 1 | -11/+32 | |
| | ||||||
* | Renamed stuff and removed unneeded KeyboardInterrupt protection | Kevin Van Brunt | 2019-03-27 | 1 | -13/+8 | |
| | ||||||
* | Made ContextFlag reentrant | Kevin Van Brunt | 2019-03-24 | 1 | -9/+12 | |
| | ||||||
* | Forward SIGINT to current pipe process instead of terminating it. This is ↵ | Kevin Van Brunt | 2019-03-23 | 1 | -0/+5 | |
| | | | | | | consistent with our do_shell() command, ppaged() command, and other shells. | |||||
* | Added protection from SIGINT when in a critical section of code | Kevin Van Brunt | 2019-03-22 | 1 | -8/+34 | |
| | ||||||
* | Changed StdSim byte buffer into a bytearray | Kevin Van Brunt | 2019-03-21 | 1 | -1/+1 | |
| | ||||||
* | Removed unused import | Kevin Van Brunt | 2019-03-20 | 1 | -1/+0 | |
| | ||||||
* | Terminate pipe processes instead of sending them SIGINTs | Kevin Van Brunt | 2019-03-20 | 1 | -3/+3 | |
| | ||||||
* | Not running command if redirection fails | Kevin Van Brunt | 2019-03-20 | 1 | -3/+3 | |
| | ||||||
* | Handled issue where nested pipe processes were not being closed in the right ↵ | Kevin Van Brunt | 2019-03-20 | 1 | -8/+14 | |
| | | | | order upon SIGINT events | |||||
* | Updated ppaged to not use self.pipe_proc | Kevin Van Brunt | 2019-03-20 | 1 | -0/+4 | |
| | ||||||
* | Simiplified code | Kevin Van Brunt | 2019-03-20 | 1 | -5/+8 | |
| | ||||||
* | Updated ProcReader to determine which of the process streams are pipes | Kevin Van Brunt | 2019-03-20 | 1 | -6/+14 | |
| | ||||||
* | Only capturing Popen output when stdout is a StdSim object | Kevin Van Brunt | 2019-03-20 | 1 | -4/+8 | |
| | ||||||
* | Fixed issue where remaining bytes were not being read | Kevin Van Brunt | 2019-03-20 | 1 | -9/+9 | |
| | ||||||
* | Added ProcReader class to capture output of a Popen process | Kevin Van Brunt | 2019-03-20 | 1 | -22/+93 | |
| | ||||||
* | Converted dynamic class attributes to instance attributes | Todd Leonhardt | 2019-03-14 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | | | The following attritubes which are intended to be dynamically settable at runtime are now instance attributes: - colors - continuation_prompt - debug - echo - editor - feedback_to_output - locals_in_py - quiet - timing - settable Also: - Moved code for finding a default editor to a function in utils and set a new DEFAULT_EDITOR class attribute with the return value of that | |||||
* | Cleaned up some PyCharm warnings | Todd Leonhardt | 2019-03-13 | 1 | -0/+1 | |
| | ||||||
* | Replaced StdSim.__store_output with StdSim.pause_storage | Kevin Van Brunt | 2019-03-09 | 1 | -14/+3 | |
| | ||||||
* | Added way to turn off storing stdout and stderr in StdSim | Kevin Van Brunt | 2019-03-06 | 1 | -22/+36 | |
| | ||||||
* | Fixed a lot of warnings | Kevin Van Brunt | 2019-03-01 | 1 | -3/+3 | |
| | ||||||
* | Echoing string data directly to inner_stream instead of inner_stream.buffer ↵ | Kevin Van Brunt | 2019-01-24 | 1 | -6/+5 | |
| | | | | to make sure line buffering is respected | |||||
* | 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 | |
|\ |