Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | Fixed issue where IPython was overwriting prompts and exception formatting ↵ | Kevin Van Brunt | 2018-05-25 | 1 | -1/+25 | |
| | | | | | | | | | | | | in the Python console | |||||
| * | | Made Python console tab complete from the correct namespace. | Kevin Van Brunt | 2018-05-24 | 1 | -59/+58 | |
| | | | | | | | | | | | | Reduced the amount of code within a try block. | |||||
| * | | Clearing py's history before rebuilding it | Kevin Van Brunt | 2018-05-23 | 1 | -6/+8 | |
| | | | ||||||
| * | | Added tab completion of Python identifiers when running the Python console | Kevin Van Brunt | 2018-05-23 | 1 | -6/+51 | |
| | | | ||||||
| * | | Stopped sharing history between cmd2 and python console | Kevin Van Brunt | 2018-05-23 | 1 | -12/+48 | |
| | | | ||||||
* | | | Allow registration of multiple postparsing hooks | kotfu | 2018-05-26 | 1 | -1/+30 | |
| |/ |/| | ||||||
* | | Make changes requested in PR #413 | kotfu | 2018-05-24 | 1 | -2/+8 | |
| | | ||||||
* | | Fix merge error | kotfu | 2018-05-23 | 1 | -2/+0 | |
| | | ||||||
* | | Merge branch 'master' into speedup_import | kotfu | 2018-05-23 | 1 | -46/+76 | |
|\ \ | |/ | | | | | | | | | | | # Conflicts: # cmd2/cmd2.py # tests/test_completion.py # tests/test_submenu.py | |||||
| * | Merge branch 'master' into pyscript | Eric Lin | 2018-05-16 | 1 | -394/+132 | |
| |\ | ||||||
| | * | Completing alias names in value field of alias command since aliases can be ↵ | Kevin Van Brunt | 2018-05-15 | 1 | -3/+5 | |
| | | | | | | | | | | | | nested | |||||
| | * | Get rid of last hard-coded redirection constants | kotfu | 2018-05-10 | 1 | -7/+4 | |
| | | | ||||||
| | * | Remove cmd2.Cmd.redirector for #381 | kotfu | 2018-05-10 | 1 | -7/+12 | |
| | | | ||||||
| | * | Extract submenu code to new project | kotfu | 2018-05-09 | 1 | -264/+0 | |
| | | | ||||||
| | * | Updated warning message | Kevin Van Brunt | 2018-05-08 | 1 | -4/+4 | |
| | | | ||||||
| | * | Expanded readline warning to include other missing features | Kevin Van Brunt | 2018-05-08 | 1 | -3/+5 | |
| | | | ||||||
| | * | Grouped readline code together | Kevin Van Brunt | 2018-05-08 | 1 | -14/+13 | |
| | | | ||||||
| | * | Merge branch 'master' into ignore_identchars | kotfu | 2018-05-07 | 1 | -12/+27 | |
| | |\ | ||||||
| | | * | Added newline to warning | Kevin Van Brunt | 2018-05-07 | 1 | -1/+1 | |
| | | | | ||||||
| | | * | Added warning if tab completion will be disabled. Not allowing libedit | Kevin Van Brunt | 2018-05-07 | 1 | -12/+27 | |
| | | | | ||||||
| | * | | Make alias checking and command parsing use the same regex | kotfu | 2018-05-07 | 1 | -23/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a new is_valid_command() method on StatementParser to determine whether a string of characters could be a valid command. That means it can’t include any redirection, quote chars, whitespace, or terminator characters. This method is used when someone tries to create an alias, to ensure when we try and parse the alias that it will actually parse. This nicely encapsulates and standardizes all the logic for parsing and expansion into the StatementParser class. Also fix a bug in the regex to match valid command names, and add a bunch of new unit tests to ensure the bug stays fixed. | |||||
| | * | | Clarify comments for self.invalid_alias_pattern | kotfu | 2018-05-06 | 1 | -1/+4 | |
| | | | | ||||||
| | * | | Merge branch 'master' into ignore_identchars | kotfu | 2018-05-06 | 1 | -62/+8 | |
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | # Conflicts: # cmd2/parsing.py # tests/test_parsing.py | |||||
| | * | | Don’t allow wierd characters in alias names | kotfu | 2018-05-06 | 1 | -0/+19 | |
| | | | | ||||||
| | * | | Remove check on self.identchars in do_alias() | kotfu | 2018-05-05 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | self.identchars is no longer used by cmd2. | |||||
| * | | | Some more pyscripting tweaks. Fixed issue with capturing ppaged output. ↵ | Eric Lin | 2018-05-04 | 1 | -3/+15 | |
| | | | | | | | | | | | | | | | | Added pyscript bridge to ipy command. Saving progress. | |||||
* | | | | Move more code from cmd2.py into utils.py | kotfu | 2018-05-06 | 1 | -98/+4 | |
| | | | | ||||||
* | | | | Extract AddSubmenu() into it’s own module | kotfu | 2018-05-06 | 1 | -261/+0 | |
| | | | | ||||||
* | | | | Defer 5 more imports | kotfu | 2018-05-06 | 1 | -7/+21 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - datetime - functools - io - subprocess - traceback | |||||
* | | | | Defer five imports | kotfu | 2018-05-06 | 1 | -6/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - atexit - codecs - signal - tempfile - copy | |||||
* | | | | Defer import of InteractiveConsole | kotfu | 2018-05-06 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Defer import of unittest | kotfu | 2018-05-06 | 1 | -211/+3 | |
| |_|/ |/| | | ||||||
* | | | Fixed comment | Kevin Van Brunt | 2018-05-06 | 1 | -2/+1 | |
| | | | ||||||
* | | | Refactor parseline() for #380 | kotfu | 2018-05-05 | 1 | -54/+4 | |
| | | | ||||||
* | | | Refactor self.complete() for #380 | kotfu | 2018-05-05 | 1 | -6/+3 | |
| |/ |/| | | | | | Use self.statement_parser() instead of self.parseline() | |||||
* | | Refactor transcript from history implementation and test | kotfu | 2018-05-04 | 1 | -59/+63 | |
| | | ||||||
* | | Fix transcript generate to close #385 | kotfu | 2018-05-04 | 1 | -18/+38 | |
| | | ||||||
* | | Fix #384, multiline commands now appear properly in transcripts | kotfu | 2018-05-03 | 1 | -6/+17 | |
|/ | ||||||
* | Merge branch 'test_merge' into test_ply_merge | Eric Lin | 2018-05-02 | 1 | -10/+26 | |
|\ | ||||||
| * | Merge branch 'bash_completion' into bash_to_pyscript | Eric Lin | 2018-05-02 | 1 | -54/+41 | |
| |\ | ||||||
| | * | Merge branch 'master' into bash_completion | Todd Leonhardt | 2018-04-28 | 1 | -34/+36 | |
| | |\ | ||||||
| | * \ | Merge remote-tracking branch 'origin/master' into bash_completion | Eric Lin | 2018-04-27 | 1 | -36/+23 | |
| | |\ \ | | | | | | | | | | | | | | | | Updated argcomplete_bridge to use new constants/utils. | |||||
| | * | | | Initial customization of CompletionFinder | Eric Lin | 2018-04-24 | 1 | -17/+1 | |
| | | | | | ||||||
| * | | | | Updated some documentation. | Eric Lin | 2018-05-02 | 1 | -3/+3 | |
| | | | | | ||||||
| * | | | | Restored legacy cmd/self access when locals_in_py is True. Changed default ↵ | Eric Lin | 2018-05-02 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | to False | |||||
| * | | | | Added support for customizing the pyscript bridge pystate object name. | Eric Lin | 2018-05-02 | 1 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | | Merge remote-tracking branch 'origin/master' into pyscript | Eric Lin | 2018-04-27 | 1 | -32/+18 | |
| |\ \ \ \ | | | |/ / | | |/| | | ||||||
| * | | | | Trap SystemExit when calling argparse.parse() to on argparse commands. | Eric Lin | 2018-04-25 | 1 | -4/+12 | |
| | | | | | ||||||
| * | | | | Initial approach to the pyscript revamp. | Eric Lin | 2018-04-24 | 1 | -2/+5 | |
| | |/ / | |/| | | | | | | | | | | | | | | Doesn't handle all argparse argument options yet (nargs, append, flag, probably more) For #368 | |||||
* | | | | extract strip_quotes() to utils module | kotfu | 2018-04-30 | 1 | -18/+3 | |
| | | | |