Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Initial Commit for Issue 698 | xNinjaKittyx | 2019-06-24 | 1 | -8/+6 | |
| | ||||||
* | Made tokens_for_completion() method public since a couple of our examples use it | Todd Leonhardt | 2019-06-23 | 1 | -5/+5 | |
| | ||||||
* | Made last_result public and restored the initialization of it in __init__ ↵ | Todd Leonhardt | 2019-06-23 | 1 | -12/+12 | |
| | | | | and associated comment | |||||
* | Restored a few attributes to be public | Todd Leonhardt | 2019-06-23 | 3 | -52/+52 | |
| | ||||||
* | Added center_text() utility function for centering text in a terminal along ↵ | Todd Leonhardt | 2019-06-16 | 1 | -0/+23 | |
| | | | | | | with unit tests for it This function isn't used yet, but I have plans to use it when improving the output of transcript testing | |||||
* | Modified a transcript used during testing to not run help so that it doesn't ↵ | Todd Leonhardt | 2019-06-15 | 1 | -15/+6 | |
| | | | | | | need to be changed any time the content of help changes Now the only test which should need to change when a command is added, deleted, or renamed (which isn't specifically related to that command) is test_get_all_commands | |||||
* | Added verify_help_text() helper function for tests and removed BASE_HELP and ↵ | Todd Leonhardt | 2019-06-15 | 3 | -138/+59 | |
| | | | | | | BASE_HELP_VERBOSE constants The tests are now much more resilient to adding, removing, or renaming commands | |||||
* | Updated CHANGELOG and made some more methods protected | Todd Leonhardt | 2019-06-15 | 1 | -3/+3 | |
| | ||||||
* | Made more methods protected | Todd Leonhardt | 2019-06-15 | 1 | -3/+3 | |
| | ||||||
* | Began work to minimize public API | Todd Leonhardt | 2019-06-15 | 4 | -65/+65 | |
| | ||||||
* | Updated various documentation and tests to not use load | Todd Leonhardt | 2019-06-15 | 2 | -4/+4 | |
| | ||||||
* | Fix unit test failures I introduced in last commit | Todd Leonhardt | 2019-06-15 | 2 | -2/+2 | |
| | ||||||
* | Added unit tests | Kevin Van Brunt | 2019-06-15 | 2 | -12/+16 | |
| | ||||||
* | Updated unit tests | Kevin Van Brunt | 2019-06-15 | 2 | -36/+43 | |
| | ||||||
* | Renamed file | Kevin Van Brunt | 2019-06-15 | 1 | -0/+0 | |
| | ||||||
* | Updated unit tests | Kevin Van Brunt | 2019-06-15 | 1 | -4/+4 | |
| | ||||||
* | Fixed unit tests | Kevin Van Brunt | 2019-06-15 | 4 | -11/+11 | |
| | ||||||
* | Fixed unit test | Kevin Van Brunt | 2019-06-15 | 1 | -2/+3 | |
| | ||||||
* | Fixing unit tests | Kevin Van Brunt | 2019-06-15 | 4 | -57/+35 | |
| | ||||||
* | Fixed unit tests | Kevin Van Brunt | 2019-06-15 | 2 | -22/+25 | |
| | ||||||
* | Fixing unit tests | Kevin Van Brunt | 2019-06-15 | 2 | -6/+8 | |
| | ||||||
* | Merge branch 'master' into deprecate_34 | Todd Leonhardt | 2019-06-14 | 3 | -0/+69 | |
|\ | ||||||
| * | Added a unit test for HistoryItem.pr() in the case of non-verbose, ↵ | Todd Leonhardt | 2019-06-14 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | non-expanded multiline commands Also: - Updated CHANGELOG to reflect that 0.9.13 release is planned for June 2019 | |||||
| * | Merge branch 'master' into history_fixes | Kevin Van Brunt | 2019-06-14 | 12 | -189/+248 | |
| |\ | ||||||
| * | | Added unit test for _input_line_to_statement | Kevin Van Brunt | 2019-06-14 | 1 | -0/+14 | |
| | | | ||||||
| * | | Fix history display issues | Todd Leonhardt | 2019-06-13 | 2 | -0/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issues were two fold: - HistoryItem statement.raw was getting mangled for multiline commands due to macro-related changes in _input_line_to_statement() - HistoryItem pretty printing wasn't using rstrip() anymore in verbose mode I added a couple unit tests in the process of getting here. But we should add some explicit unit tests of _input_line_to_statement() for cases like: - basic single-line command - macro single-line command - multiline command | |||||
* | | | Deprecate support for Python 3.4 and begin testing with Python 3.8 beta | Todd Leonhardt | 2019-06-14 | 1 | -6/+1 | |
| |/ |/| | ||||||
* | | Updated unit test | Kevin Van Brunt | 2019-06-12 | 1 | -4/+3 | |
| | | ||||||
* | | Transcript generation no longer terminates _cmdloop() when a command returns ↵ | Kevin Van Brunt | 2019-06-12 | 1 | -4/+3 | |
| | | | | | | | | True for stop | |||||
* | | Fixed unit tests | Kevin Van Brunt | 2019-06-12 | 3 | -74/+93 | |
| | | ||||||
* | | Removed support for cmd.cmdqueue | Kevin Van Brunt | 2019-06-11 | 3 | -40/+41 | |
| | | | | | | | | allow_cli_args is now an argument to __init__ instead of a cmd2 class member | |||||
* | | Added unit test for stopping during transcript generation | Kevin Van Brunt | 2019-06-10 | 1 | -0/+23 | |
| | | ||||||
* | | Added unit test | Kevin Van Brunt | 2019-06-10 | 2 | -0/+23 | |
| | | ||||||
* | | Removed copyright headers from source files and updated LICENSE with current ↵ | Kevin Van Brunt | 2019-06-07 | 9 | -27/+0 | |
| | | | | | | | | year | |||||
* | | Removed self._should_quit from cmd2 and add logic to PyscriptBridge to ↵ | Kevin Van Brunt | 2019-06-07 | 1 | -1/+0 | |
| | | | | | | | | | | | | return whether a command returned True for stop. Added stop to CommandResult so pyscripts can now know the return value of a command's do_* function. | |||||
* | | Refactored how and when transcript file glob patterns are expanded in order ↵ | Todd Leonhardt | 2019-06-06 | 1 | -1/+20 | |
| | | | | | | | | to present a better error message to user | |||||
* | | Merge branch 'master' into script_refactor | Kevin Van Brunt | 2019-06-06 | 2 | -126/+346 | |
|\ \ | |/ | ||||||
| * | Changed wrapping point of history's help text to match all other help text ↵ | Kevin Van Brunt | 2019-06-05 | 1 | -1/+2 | |
| | | | | | | | | in cmd2 | |||||
| * | Add the -a/--all flag to the history command for showing all commands ↵ | Todd Leonhardt | 2019-05-27 | 2 | -4/+77 | |
| | | | | | | | | | | | | | | | | | | | | including those persisted from previous sessions Also: - History class has been modified to keep track of the session start index - History class span(), str_search(), and regex_search() methods now take an optional 2nd boolean parameter `include_persisted` which determines whether or not commands persisted from previous sessions should be included by default - If a start index is manually specified, then it automatically includes the full search - Updates unit tests | |||||
| * | Improve unit test coverage for history | kotfu | 2019-05-25 | 1 | -65/+128 | |
| | | ||||||
| * | Refactored implementation of HistoryItem.__str__ and added an explicit ↵ | Todd Leonhardt | 2019-05-25 | 1 | -6/+15 | |
| | | | | | | | | HistoryItem unit test | |||||
| * | Manually check whether persistent_history_file is a directory | kotfu | 2019-05-25 | 1 | -12/+5 | |
| | | ||||||
| * | Another try to fix the appveyor on windows permission issue | kotfu | 2019-05-25 | 1 | -10/+12 | |
| | | ||||||
| * | Try and fix an Appveyor permission problem | kotfu | 2019-05-25 | 1 | -1/+6 | |
| | | ||||||
| * | Resolve PR feedback | kotfu | 2019-05-25 | 1 | -8/+5 | |
| | | ||||||
| * | Populate readline history from unpickled history | kotfu | 2019-05-24 | 1 | -40/+28 | |
| | | ||||||
| * | Refactor HistoryItem to not subclass str | kotfu | 2019-05-24 | 1 | -30/+91 | |
| | | ||||||
| * | Cleanup some history tests | kotfu | 2019-05-24 | 1 | -7/+3 | |
| | | ||||||
| * | Initializing history now detects plaintext or pickle format | kotfu | 2019-05-24 | 1 | -8/+40 | |
| | | ||||||
* | | Removed _STOP_AND_EXIT cmd2 class member since it was meant to be a boolean ↵ | Kevin Van Brunt | 2019-06-04 | 1 | -1/+2 | |
| | | | | | | | | constant and was only used internally |