| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fixed a couple potential crashes on opening files | Todd Leonhardt | 2018-06-06 | 1 | -0/+38 |
| | | | | | | | | | Fixed crashes that occur when attempting to open a file in a non-existent directory or a when the filename is too long. Specifically fixed this when redirecting output to a file and when saving a transcript based on the history. Also added a couple unit tests related to the fixes. | ||||
| * | Added a unit test to help better cover rl_utils.py | Todd Leonhardt | 2018-05-31 | 1 | -0/+9 |
| | | |||||
| * | Bumped version to 0.9.2a for twine upload testing on test.pypi.org | Todd Leonhardt | 2018-05-30 | 1 | -1/+1 |
| | | |||||
| * | Update version to 0.9.1 for #4210.9.1 | kotfu | 2018-05-28 | 1 | -1/+1 |
| | | |||||
| * | Update version to 0.9.0.1 for #421 | kotfu | 2018-05-28 | 1 | -1/+1 |
| | | |||||
| * | Update version to 0.9.1rc1 to try and fix #421 | kotfu | 2018-05-28 | 1 | -1/+1 |
| | | |||||
| * | Modify clipboard function references | kotfu | 2018-05-23 | 1 | -4/+4 |
| | | |||||
| * | Standardize cmd2 imports in tests and examples | kotfu | 2018-05-23 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into speedup_import | kotfu | 2018-05-23 | 1 | -7/+13 |
| |\ | | | | | | | | | | | | | # Conflicts: # cmd2/cmd2.py # tests/test_completion.py # tests/test_submenu.py | ||||
| | * | Remove cmd2.Cmd.redirector for #381 | kotfu | 2018-05-10 | 1 | -1/+1 |
| | | | |||||
| | * | Make alias checking and command parsing use the same regex | kotfu | 2018-05-07 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | 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. | ||||
| | * | Merge branch 'master' into ignore_identchars | kotfu | 2018-05-06 | 1 | -0/+18 |
| | |\ | | | | | | | | | | | | | | | | # Conflicts: # cmd2/parsing.py # tests/test_parsing.py | ||||
| | * | | Don’t allow wierd characters in alias names | kotfu | 2018-05-06 | 1 | -0/+11 |
| | | | | |||||
| | * | | Remove unit test for identchars in aliases | kotfu | 2018-05-05 | 1 | -6/+0 |
| | | | | |||||
| * | | | Move more code from cmd2.py into utils.py | kotfu | 2018-05-06 | 1 | -29/+26 |
| | |/ |/| | |||||
| * | | Refactor parseline() for #380 | kotfu | 2018-05-05 | 1 | -0/+18 |
| |/ | |||||
| * | Added newline at end of file | Todd Leonhardt | 2018-05-03 | 1 | -1/+1 |
| | | |||||
| * | Added unit test to partially cover cmd2.cmd2.Cmd.ppaged() | Todd Leonhardt | 2018-05-03 | 1 | -0/+8 |
| | | |||||
| * | Merge branch 'test_merge' into test_ply_merge | Eric Lin | 2018-05-02 | 1 | -12/+12 |
| |\ | |||||
| | * | Removed the expensive imports from cmd2/__init__.py | Eric Lin | 2018-04-25 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | Added some shared definitions to cmd2/__init__.py -> maybe there's a better place for these? Figured out how to trick bash into showing argument hints. It's a bit weird. Updated all of the tests and examples to import cmd2 resources from their new location without the automatic imports in cmd2/__init__.py For #369 | ||||
| * | | Fix incorrect error message | kotfu | 2018-04-29 | 1 | -3/+2 |
| | | | |||||
| * | | Fix broken interrupt unit tests | kotfu | 2018-04-27 | 1 | -0/+1 |
| | | | |||||
| * | | Remove POSIX_SHLEX and STRIP_QUOTES_FOR_NON_POSIX | kotfu | 2018-04-25 | 1 | -6/+1 |
| | | | |||||
| * | | Refactoring and code cleanup | kotfu | 2018-04-24 | 1 | -14/+73 |
| | | | | | | | | | | | | | - rename CommandParser to StatementParser - move tests from test_shlexparsing.py to test_parsing.py - standardize the output of the parse() method into a variable called statement. | ||||
| * | | Merge branch 'master' into ply | kotfu | 2018-04-23 | 1 | -2/+6 |
| |\ \ | |/ | |||||
| | * | Changed cmd2 to use autocompleter by default for all argparse commands. Not ↵ | Eric Lin | 2018-04-20 | 1 | -2/+6 |
| | | | | | | | | | all tests are passing yet. | ||||
| * | | Multiline support mostly done | kotfu | 2018-04-23 | 1 | -1/+1 |
| | | | |||||
| * | | Fix parsing of input redirection and appending output | kotfu | 2018-04-23 | 1 | -1/+1 |
| | | | |||||
| * | | Fix default_to_shell unit tests | kotfu | 2018-04-22 | 1 | -2/+2 |
| |/ | |||||
| * | Cleaned up __init__.py | Todd Leonhardt | 2018-04-17 | 1 | -9/+9 |
| | | | | | | Removed things which were only needed for unit tests from __init__.py - Converted to importing from cmd2.cmd2.<foo> within the relevant unit tests | ||||
| * | Fix unit tests on package branch | Todd Leonhardt | 2018-04-17 | 1 | -1/+1 |
| | | |||||
| * | Most of the unit tests fixed. | kotfu | 2018-04-16 | 1 | -2/+2 |
| | | |||||
| * | Basic structure for cmd2 as a package | kotfu | 2018-04-16 | 1 | -2/+2 |
| | | |||||
| * | Revert "Basic structure for cmd2 as a package" | kotfu | 2018-04-16 | 1 | -2/+2 |
| | | | | | This reverts commit 4a3d01b679c5db7f6cb670ca981a953eb3b98dc5. | ||||
| * | Basic structure for cmd2 as a package | kotfu | 2018-04-16 | 1 | -2/+2 |
| | | | | | Still have a fair amount of work to do to get this sorted. | ||||
| * | Finished removing all dependencies on the six module | Todd Leonhardt | 2018-04-15 | 1 | -25/+18 |
| | | |||||
| * | Started removing dependency on six | Todd Leonhardt | 2018-04-15 | 1 | -28/+10 |
| | | | | | | | | Removed all dependency on six other than for six.moves.input Also: - Started removing code branches which were for Python 2 support | ||||
| * | Add back in use of 3rd-party mock module for Python 3.5 | Todd Leonhardt | 2018-04-15 | 1 | -5/+7 |
| | | | | | Apparently there were some issues in the unitest.mock module in Python 3.5 (but not 3.4 or 3.6) | ||||
| * | Removed unit test dependency on mock | Todd Leonhardt | 2018-04-15 | 1 | -1/+1 |
| | | | | | | mock was a backport of Python's built in unittest.mock and was required for Python 3.2 or earlier - Since we now support Python 3.4+ moving forward we no longer need to make use of the 3rd party mock module | ||||
| * | Merged master into delete_optparse branch | Todd Leonhardt | 2018-04-15 | 1 | -1/+1 |
| |\ | | | | | | | | | Also: - Bumped version to 0.9.0 | ||||
| | * | Preparation for 0.8.5 release | Todd Leonhardt | 2018-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | - Bumped version to 0.8.5 - Added details to CHANGELOG.md regarding recent changes | ||||
| * | | Merge branch 'master' into delete_optparse | Todd Leonhardt | 2018-04-11 | 1 | -2/+100 |
| |\ \ | |/ | | | | | | | # Conflicts: # cmd2.py | ||||
| | * | Added a with_category decorator that can be used to tag a command category. | Eric Lin | 2018-04-11 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | | | | Changed the detection of with_argparse decorated commands to be less hacky/brittle. Now it tags the function with help_summary. Fixed issue with handling commands that provide a custom help_ function. We can now redirect the output to a string to be formatted with the other commands. Added some documentation explaining the new help categories. Updated unit tests. | ||||
| | * | Fixed issue where categorization is skipped when there's a help_<command> ↵ | Eric Lin | 2018-04-11 | 1 | -2/+101 |
| | | | | | | | | | | | | | | | | | function provided. In verbose help, added check for argparse usage block (starting with 'usage: '), to skip that block and move to the next comment block Added unit tests for new categorization code Updated example to demonstrate skipping of argparse usage statement | ||||
| | * | Preparing for 0.8.4 release0.8.4 | Kevin Van Brunt | 2018-04-10 | 1 | -1/+1 |
| | | | |||||
| * | | Updated version to 0.8.5 | Todd Leonhardt | 2018-04-10 | 1 | -1/+1 |
| | | | |||||
| * | | Deleted optparse code which had been previously deprecated in 0.8.0 release | Todd Leonhardt | 2018-04-09 | 1 | -33/+18 |
| |/ | | | | | Also: - Bumped version to 0.8.4 | ||||
| * | Updated version number of release0.8.3 | Kevin Van Brunt | 2018-04-09 | 1 | -1/+1 |
| | | |||||
| * | Don't try to load empty or non-existent startup script | Kevin Van Brunt | 2018-04-02 | 1 | -1/+1 |
| | | |||||
| * | Added ability to query individual alias | Kevin Van Brunt | 2018-04-02 | 1 | -0/+10 |
| | | |||||
