| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
- The python-forked module doesn't work on Windows
|
|
|
|
|
|
|
| |
Due to apparent bugs in pyparsing, this can significantly speed up unit test execution.
Also:
- Removed use of pexpect in unit tests
|
| |
|
|
|
|
|
|
| |
Added pexpect to modules required for running unit tests.
This opens the door for carefully crafted complex unit tests to verify intricate behavior. Tests like this are somewhat painful to write and slow to execute. However, they can enable testing complicated interactive behavior that we otherwise probably would not be able to test.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Including an example and info in the Sphinx docs
Also:
- Created CHANGELOG entry for 0.8.1 release
- Added info to README about new sub-menu feature
- Bumped version to 0.8.1
TODO:
- Added a unit test for the persistent readline history feature
|
| |
|
|
|
|
| |
So it turns out that we need contextlib2 for Python 3.4 and earlier.
|
|
|
|
|
|
|
|
| |
for argparse commands
In order to make "help" behave more consistently for decorated and undecorated commands, argparse output is temporarily redirected to self.stdout. So doing "help history" is similar to "help load".
However, when using the "-h" with argparse commands without using the "help" command, the output from argparse isn't redirected to self.stdout. Fixing this would be rather difficult and would essentially involve creating a pyparsing rule to detect it at the parser level.
|
|
|
|
| |
Also bumped version to 0.8.0.
|
|
|
|
| |
Also bumped version to 0.8.0a
|
|
|
|
|
|
|
| |
There are a couple unit test failures with Python 3.7-dev that we will need to look into at some point, so I disabled that build for now.
Updated all documentation to reflect that cmd2 is support on Python 2.7 and 3.4+.
Official support for Python 3.3 has been abandoned due to no longer having support to test on that platform on Travis CI.
|
|
|
|
|
| |
Python 3.3 builds appear to be no longer supported on Travis CI.
This replaces Python 3.3 with Python 3.7-dev for Travis CI builds.
|
| |
|
| |
|
|
|
|
|
|
| |
Also:
- bumped version to 0.7.9a
- updated changelog
|
|
|
|
|
|
|
|
|
| |
Also included a number of minor maintenance updates:
- Bumped version to 0.7.8 in preparation for upcoming release
- Updated Readme.md to add link to slides from recent Florida PyCon talk about cmd2
- Updated documentation on integrating cmd2 with other event loops to use newer runcmds_plus_hooks() method instead of legacy onecmds_plus_hooks method which doesn't properly deal with load commands
- Deleted old files which were used to prepare for a PyCon 2010 presentation
- Updated ChangeLog regarding this bug fix
|
|
|
|
|
|
|
| |
Also:
- Added arg_print.py example to demonstrate this
- Bumped version to 0.7.8a
- Updated CHANGELOG
|
|
|
|
|
|
| |
regexes
Also bumped version from 0.7.7a to 0.7.7 in preparation for eventual next release.
|
|
|
|
| |
This is to help distinguish latest code in GitHub from a version installed via pip from PyPI
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PyPI changes:
- Changed overall cmd2 description
- Fixed pip install warning due to unknown "docs_require" distribution option
- No longer include examples and tests in PyPI *.tar.gz package
GitHub README.md changes:
- Changed top-level cmd2 description
- Improved labels on build badges so it says "unix build: passing" and "windows build: passing" instead of two "build passing" badges right next to each other
- Reorganized layout a little to hopefully do a better job explaining what cmd2 is earlier
|
|
|
|
|
|
| |
- Added a 3rd-party dependency on the pyperclip module
TODO: Rigorous test on all OSes, particularly Linux systems without xclip
|
| |
|
| |
|
|
|
|
| |
Bumped version in preparation for 0.7.3 release probably within the next couple weeks.
|
|
|
|
| |
Changing to alpha version just to avoid confusion with release in PyPI
|
| |
|
|
|
|
|
|
| |
Fixed a bug where a path separator was hard-coded as ":" and replaced it with os.path.pathsep
Also changed version from 0.7.1a to 0.7.1 in preparation for upcoming release.
|
|
|
|
| |
A few other miscellaneous minor tweaks for whitespace and such.
|
|
|
|
|
|
|
| |
Changes include:
1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular
2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment
3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
The docs now use the custom HTML theme from Read the Docs so that when they are built locally they look the same as they will at https://cmd2.readthedocs.io/en/latest/
|
|
|
|
| |
Also added a unit test for the cmd2.Cmd.select() method.
|
|
|
|
|
|
|
|
|
| |
- Updated .gitignore for code coverage result dirs from coverage and pytest-cov
- Updated README.rst to include badge for latest docs from readthedocs.io
- Updated setup.py to have updated info for the next time a release is made to PyPI
- Documentation updates:
- Bumped version in conf.py to 0.7
- Updated links in index.rst and alternatives.rst
|
| |
|
|
|
|
|
|
|
|
| |
ISSUES:
- Tab completion broken in Python 2
TODO:
- Still need to do transcript testing for both Python 2 and 3
|
| |
|
|
|
|
| |
compatibility via use of the six module.
|
| |
|
| |
|