Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed path completion case where cwd is just a slash | Kevin Van Brunt | 2019-04-05 | 1 | -1/+5 | |
| | ||||||
* | Started addressing my PR comments | Todd Leonhardt | 2019-04-02 | 1 | -26/+7 | |
| | ||||||
* | Removed repeated block of code | Kevin Van Brunt | 2019-03-27 | 1 | -7/+0 | |
| | ||||||
* | Merge branch 'master' into capture_popen | Kevin Van Brunt | 2019-03-27 | 1 | -16/+30 | |
|\ | ||||||
| * | Fixed flake warning | Kevin Van Brunt | 2019-03-22 | 1 | -3/+2 | |
| | | ||||||
| * | Corrected what prompt variable was being used | Kevin Van Brunt | 2019-03-21 | 1 | -3/+3 | |
| | | ||||||
| * | Fixed issue when printing alerts caused by a prompt with a new line character | Kevin Van Brunt | 2019-03-21 | 1 | -13/+28 | |
| | | ||||||
* | | Renamed stuff and removed unneeded KeyboardInterrupt protection | Kevin Van Brunt | 2019-03-27 | 1 | -7/+7 | |
| | | ||||||
* | | Added sigint protection around some state variable changes | Kevin Van Brunt | 2019-03-27 | 1 | -43/+46 | |
| | | ||||||
* | | Make sure stdout is a terminal before running 'stty sane' | Kevin Van Brunt | 2019-03-27 | 1 | -2/+3 | |
| | | ||||||
* | | Moved indentation and added clarifying comments | Kevin Van Brunt | 2019-03-24 | 1 | -3/+5 | |
| | | ||||||
* | | Fixed indentation issue that caused cur_pipe_proc_reader to be overwritten | Kevin Van Brunt | 2019-03-24 | 1 | -16/+11 | |
| | | ||||||
* | | Don't allow built-in cmdloop to run outside of main thread | Kevin Van Brunt | 2019-03-23 | 1 | -3/+12 | |
| | | ||||||
* | | Forward SIGINT to current pipe process instead of terminating it. This is ↵ | Kevin Van Brunt | 2019-03-23 | 1 | -4/+4 | |
| | | | | | | | | | | | | 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 | -44/+37 | |
| | | ||||||
* | | Ctrl-C only kills the process being piped if the current command created it | Kevin Van Brunt | 2019-03-21 | 1 | -34/+54 | |
| | | ||||||
* | | Routing sys.stdout to piped processes to catch print() type statements | Kevin Van Brunt | 2019-03-20 | 1 | -4/+4 | |
| | | ||||||
* | | Terminate pipe processes instead of sending them SIGINTs | Kevin Van Brunt | 2019-03-20 | 1 | -3/+3 | |
| | | ||||||
* | | Handled possible race condition | Kevin Van Brunt | 2019-03-20 | 1 | -11/+18 | |
| | | ||||||
* | | Printing an error instead of raising and exception if setting a variable ↵ | Kevin Van Brunt | 2019-03-20 | 1 | -1/+2 | |
| | | | | | | | | that does not exist | |||||
* | | Not running command if redirection fails | Kevin Van Brunt | 2019-03-20 | 1 | -48/+56 | |
| | | ||||||
* | | Updated comment | Kevin Van Brunt | 2019-03-20 | 1 | -1/+2 | |
| | | ||||||
* | | Handled issue where nested pipe processes were not being closed in the right ↵ | Kevin Van Brunt | 2019-03-20 | 1 | -7/+19 | |
| | | | | | | | | order upon SIGINT events | |||||
* | | Updated ppaged to not use self.pipe_proc | Kevin Van Brunt | 2019-03-20 | 1 | -6/+5 | |
| | | ||||||
* | | Capturing output from piped process when redirecting | Kevin Van Brunt | 2019-03-20 | 1 | -12/+18 | |
| | | ||||||
* | | Simiplified code | Kevin Van Brunt | 2019-03-20 | 1 | -13/+9 | |
| | | ||||||
* | | Updated ProcReader to determine which of the process streams are pipes | Kevin Van Brunt | 2019-03-20 | 1 | -4/+9 | |
| | | ||||||
* | | Only capturing Popen output when stdout is a StdSim object | Kevin Van Brunt | 2019-03-20 | 1 | -4/+8 | |
| | | ||||||
* | | Added ProcReader class to capture output of a Popen process | Kevin Van Brunt | 2019-03-20 | 1 | -2/+5 | |
|/ | ||||||
* | Merge branch 'master' into load_generate_transcript | Todd Leonhardt | 2019-03-19 | 1 | -113/+91 | |
|\ | ||||||
| * | Fixed bug where it wasn't possible for restore_output to know if the command ↵ | Kevin Van Brunt | 2019-03-19 | 1 | -22/+19 | |
| | | | | | | | | was piping | |||||
| * | The pipe process in redirection now writes its output to self.stdout so we ↵ | Kevin Van Brunt | 2019-03-19 | 1 | -6/+6 | |
| | | | | | | | | can capture it | |||||
| * | Removed Statekeeper class and renamed some variables | Kevin Van Brunt | 2019-03-19 | 1 | -39/+18 | |
| | | ||||||
| * | Keeping track of redirection for each command | Kevin Van Brunt | 2019-03-19 | 1 | -69/+82 | |
| | | ||||||
| * | Simplified quit_on_sigint handling | Kevin Van Brunt | 2019-03-18 | 1 | -27/+16 | |
| | | ||||||
* | | Now consistently use -t flag for transcript generation for both history and ↵ | Todd Leonhardt | 2019-03-19 | 1 | -4/+3 | |
| | | | | | | | | load commands | |||||
* | | Combined two conditionals | Todd Leonhardt | 2019-03-19 | 1 | -5/+3 | |
| | | ||||||
* | | Updated CHANGELOG | Todd Leonhardt | 2019-03-19 | 1 | -14/+10 | |
| | | | | | | | | | | | | Also: - Removed guard clauses which kmvanbrunt promises will be unecessary with his upcoming change - Moved transcript path validation inside _generate_transcript() | |||||
* | | Addressed review comments | Todd Leonhardt | 2019-03-18 | 1 | -7/+17 | |
| | | ||||||
* | | Merge branch 'master' into load_generate_transcript | Todd Leonhardt | 2019-03-18 | 1 | -61/+77 | |
|\ \ | |/ | ||||||
| * | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-17 | 1 | -10/+25 | |
| |\ | ||||||
| * | | Updated CHANGELOG and fixed a typo in a type hint | Todd Leonhardt | 2019-03-16 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-16 | 1 | -4/+19 | |
| |\ \ | ||||||
| * | | | Aliases are now stored within the StatementParser instance | Todd Leonhardt | 2019-03-16 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - Added read-only aliases property to cmd2.Cmd to get aliases from the StatementParser - Added a setter for the allow_redirection property in cmd2.Cmd - Made some initialization code more self-documenting | |||||
| * | | | Converted dynamic class attributes to instance attributes | Todd Leonhardt | 2019-03-14 | 1 | -31/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
| * | | | Converted class attributes which aren't intended to be dynamically settable ↵ | Todd Leonhardt | 2019-03-14 | 1 | -7/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to instance attributes The following are now instance attributes: - allow_cli_args - default_to_shell - quit_on_sigint The following class attribute was deleted due to lack of use: - reserved_words The following instance attribute was deleted due to lack of use: - keywords | |||||
| * | | | Made several attributes of StatementParser immutable | Todd Leonhardt | 2019-03-14 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following attributes within StatementParser were converted from mutable lists to immutable tuples: - terminators - multiline_commands - shortcuts | |||||
| * | | | Merge branch 'master' into attributes | Todd Leonhardt | 2019-03-14 | 1 | -3/+16 | |
| |\ \ \ | ||||||
| * | | | | First stage of attribute refactoring | Todd Leonhardt | 2019-03-13 | 1 | -20/+27 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following are now arguments to cmd2.Cmd.__init__() instead of class attributes: * allow_redirection * multiline_commands * terminators * shortcuts Added a couple read-only properties for convenience of cmd2.Cmd accessing immutable members from self.statement_parser | |||||
| * | | | | Fixed accidental paste typo | Todd Leonhardt | 2019-03-13 | 1 | -1/+1 | |
| | | | | |