summaryrefslogtreecommitdiff
path: root/cmd2
Commit message (Collapse)AuthorAgeFilesLines
* Clearing bytearray instead of creating a new objectKevin Van Brunt2019-04-111-1/+1
|
* Fixed issue where pointer to bytearray was being returned instead of copied ↵Kevin Van Brunt2019-04-111-1/+1
| | | | bytes
* Fixed path completion case where cwd is just a slashKevin Van Brunt2019-04-051-1/+5
|
* Fixed minor grammatical errorTodd Leonhardt2019-04-031-1/+1
|
* Attempt to fix unit testsTodd Leonhardt2019-04-021-2/+6
|
* Added some unit tests for ProcReader and ContextFlag utility classesTodd Leonhardt2019-04-021-1/+0
|
* Fix flake8 warningTodd Leonhardt2019-04-021-2/+0
|
* Started addressing my PR commentsTodd Leonhardt2019-04-022-37/+39
|
* Removed repeated block of codeKevin Van Brunt2019-03-271-7/+0
|
* Merge branch 'master' into capture_popenKevin Van Brunt2019-03-271-16/+30
|\
| * Fixed flake warningKevin Van Brunt2019-03-221-3/+2
| |
| * Corrected what prompt variable was being usedKevin Van Brunt2019-03-211-3/+3
| |
| * Fixed issue when printing alerts caused by a prompt with a new line characterKevin Van Brunt2019-03-211-13/+28
| |
* | Renamed stuff and removed unneeded KeyboardInterrupt protectionKevin Van Brunt2019-03-272-20/+15
| |
* | Added sigint protection around some state variable changesKevin Van Brunt2019-03-271-43/+46
| |
* | Make sure stdout is a terminal before running 'stty sane'Kevin Van Brunt2019-03-271-2/+3
| |
* | Moved indentation and added clarifying commentsKevin Van Brunt2019-03-241-3/+5
| |
* | Made ContextFlag reentrantKevin Van Brunt2019-03-241-9/+12
| |
* | Fixed indentation issue that caused cur_pipe_proc_reader to be overwrittenKevin Van Brunt2019-03-241-16/+11
| |
* | Don't allow built-in cmdloop to run outside of main threadKevin Van Brunt2019-03-231-3/+12
| |
* | Forward SIGINT to current pipe process instead of terminating it. This is ↵Kevin Van Brunt2019-03-232-4/+9
| | | | | | | | | | | | consistent with our do_shell() command, ppaged() command, and other shells.
* | Added protection from SIGINT when in a critical section of codeKevin Van Brunt2019-03-222-52/+71
| |
* | Changed StdSim byte buffer into a bytearrayKevin Van Brunt2019-03-211-1/+1
| |
* | Ctrl-C only kills the process being piped if the current command created itKevin Van Brunt2019-03-211-34/+54
| |
* | Routing sys.stdout to piped processes to catch print() type statementsKevin Van Brunt2019-03-201-4/+4
| |
* | Removed unused importKevin Van Brunt2019-03-201-1/+0
| |
* | Terminate pipe processes instead of sending them SIGINTsKevin Van Brunt2019-03-202-6/+6
| |
* | Handled possible race conditionKevin Van Brunt2019-03-201-11/+18
| |
* | Printing an error instead of raising and exception if setting a variable ↵Kevin Van Brunt2019-03-201-1/+2
| | | | | | | | that does not exist
* | Not running command if redirection failsKevin Van Brunt2019-03-202-51/+59
| |
* | Updated commentKevin Van Brunt2019-03-201-1/+2
| |
* | Handled issue where nested pipe processes were not being closed in the right ↵Kevin Van Brunt2019-03-202-15/+33
| | | | | | | | order upon SIGINT events
* | Updated ppaged to not use self.pipe_procKevin Van Brunt2019-03-202-6/+9
| |
* | Capturing output from piped process when redirectingKevin Van Brunt2019-03-201-12/+18
| |
* | Simiplified codeKevin Van Brunt2019-03-202-18/+17
| |
* | Updated ProcReader to determine which of the process streams are pipesKevin Van Brunt2019-03-202-10/+23
| |
* | Only capturing Popen output when stdout is a StdSim objectKevin Van Brunt2019-03-202-8/+16
| |
* | Fixed issue where remaining bytes were not being readKevin Van Brunt2019-03-201-9/+9
| |
* | Added ProcReader class to capture output of a Popen processKevin Van Brunt2019-03-202-24/+98
|/
* Merge branch 'master' into load_generate_transcriptTodd Leonhardt2019-03-193-116/+93
|\
| * Fixed bug where it wasn't possible for restore_output to know if the command ↵Kevin Van Brunt2019-03-191-22/+19
| | | | | | | | was piping
| * No longer appending \n to commands run by PyscriptBridge. This messes up ↵Kevin Van Brunt2019-03-192-3/+2
| | | | | | | | | | | | redirection parsing of non-multiline commands.
| * The pipe process in redirection now writes its output to self.stdout so we ↵Kevin Van Brunt2019-03-191-6/+6
| | | | | | | | can capture it
| * Removed Statekeeper class and renamed some variablesKevin Van Brunt2019-03-191-39/+18
| |
| * Keeping track of redirection for each commandKevin Van Brunt2019-03-191-69/+82
| |
| * Simplified quit_on_sigint handlingKevin Van Brunt2019-03-181-27/+16
| |
* | Now consistently use -t flag for transcript generation for both history and ↵Todd Leonhardt2019-03-191-4/+3
| | | | | | | | load commands
* | Combined two conditionalsTodd Leonhardt2019-03-191-5/+3
| |
* | Updated CHANGELOGTodd Leonhardt2019-03-191-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 commentsTodd Leonhardt2019-03-181-7/+17
| |