summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 0.7.5 (from 0.7.5a)0.7.5Todd Leonhardt2017-07-084-4/+4
|
* Merge pull request #181 from python-cmd2/custom_introTodd Leonhardt2017-07-082-5/+6
|\ | | | | Added a unit test for custom intro when calling cmdloop()
| * Added a unit test for custom intro when calling cmdloop()Todd Leonhardt2017-07-082-5/+6
|/ | | | Also updated CHANGES.md
* Merge pull request #180 from python-cmd2/code_ownersTodd Leonhardt2017-07-082-0/+34
|\ | | | | Added a CODEOWNERS file to automatically nominate code reviewers for PRs
| * Added a CODEOWNERS file to automatically nominate code reviewers for pull ↵Todd Leonhardt2017-07-082-0/+34
|/ | | | | | requests Also added some unit tests related to when default_to_shell is True
* Merge pull request #179 from python-cmd2/unit_testsTodd Leonhardt2017-07-083-3/+51
|\ | | | | Added a few more unit tests
| * Added a few more unit testsTodd Leonhardt2017-07-083-3/+51
|/
* Merge pull request #178 from python-cmd2/remove_filehackTodd Leonhardt2017-07-082-11/+32
|\ | | | | Remove ugly file hack code which is no longer necessary
| * Remove ugly file hack code which is no longer necessary as a Python 2/3 ↵Todd Leonhardt2017-07-082-11/+32
|/ | | | compatibility shim
* Merge pull request #177 from python-cmd2/cmd_queueTodd Leonhardt2017-07-083-68/+98
|\ | | | | Added an eos (end of script) hidden command and load now populates the cmdqueue
| * Load command uses utf-8 encoding for opening files in Python 3 instead of ↵Todd Leonhardt2017-07-082-5/+17
| | | | | | | | | | | | OS-default This fixes a unit test bug where on Windows it was trying to load a utf-8 file as some other encoding starting with "cp".
| * Added an eos (end of script) hidden command and load now populates the cmdqueueTodd Leonhardt2017-07-082-66/+84
|/ | | | | | The load command no longer spawns a nested main loop using _cmdloop(). It now simply adds commands to the cmdqueue. And after adding all commands in the script file, it adds the eos command. The eos command simply pops the most recent script directory from the list of script directories.
* Merge pull request #175 from python-cmd2/extra_newlinesTodd Leonhardt2017-07-051-5/+5
|\ | | | | Removed some extra newlines from error messages in load commands
| * Removed some extra newlines from error messages in do_load() and ↵Todd Leonhardt2017-07-051-5/+5
|/ | | | do__relative_load()
* Merge pull request #174 from python-cmd2/more_testsTodd Leonhardt2017-07-051-0/+9
|\ | | | | Added unit test
| * Added unit testTodd Leonhardt2017-07-051-0/+9
|/
* Merge pull request #173 from python-cmd2/expansion_testTodd Leonhardt2017-07-052-2/+3
|\ | | | | Fix a bug in a unit test which can happen in atypical circumstances
| * Fix a bug in a unit test which can happen in atypical circumstancesTodd Leonhardt2017-07-052-2/+3
|/
* Merge pull request #172 from felixonmars/patch-1Todd Leonhardt2017-07-051-1/+1
|\ | | | | Fix a typo: unitest -> unittest
| * Fix a typo: unitest -> unittestFelix Yan2017-07-041-1/+1
|/
* Minor tweak to CHANGESTodd Leonhardt2017-07-031-1/+2
|
* Updated CHANGESTodd Leonhardt2017-07-031-5/+3
|
* Merge pull request #170 from python-cmd2/history_exclusionTodd Leonhardt2017-07-031-0/+44
|\ | | | | Add unit test to verify exclusion of commands from the history
| * Add unit test to verify that exclusion of commands from the history is ↵Todd Leonhardt2017-07-031-0/+44
|/ | | | working as intended
* Merge pull request #169 from python-cmd2/refactor_parser_configTodd Leonhardt2017-07-0312-49/+57
|\ | | | | Fixed a few bugs and examples
| * Updated Sphinx docsTodd Leonhardt2017-07-032-5/+5
| | | | | | | | Updated to reflect that the default value of abbrev is now False.
| * Fixed a few bugs and examplesTodd Leonhardt2017-07-0311-44/+52
|/ | | | | | | | | | | | | | Bug fixes: - case_insensitive is no longer a runtime-settable parameter, but it was still listed as such - Fixed a recursive loop bug when abbreviated commands are enabled and it could get stuck in the editor forever - Added additional command abbreviations to the "exclude from history" list - Fixed argparse_example.py and pirate.py examples Other changes: - Organized all attributes used to configure the ParserManager into a single location - Set the default value of "abbrev" to False (which controls whether or not abbreviated commands are allowed) - With good tab-completion of command names, using abbreviated commands isn't a particularly useful feature - And it can create problems
* Bump version to 0.7.5aTodd Leonhardt2017-07-035-36/+13
|
* Updated CHANGES0.7.4Todd Leonhardt2017-07-031-2/+4
|
* Merge pull request #168 from python-cmd2/remove_pauseTodd Leonhardt2017-07-038-42/+51
|\ | | | | Removed pause command
| * Removed pause commandTodd Leonhardt2017-07-038-42/+51
|/ | | | | | It was pretty useless, it just printed a message and sat there and waited for the user to hit enter. It didn't feel like it belonged in a top-level framework. If a particular application wants this functionality, it is a 2 line change to add it back.
* Clarified a few points about optional ipy command in Sphinx docsTodd Leonhardt2017-07-031-5/+8
|
* Fix typoTodd Leonhardt2017-07-032-2/+2
|
* Add screenshot to front pageTodd Leonhardt2017-07-034-2/+12
| | | | | | | Also: - Updated pythong_scripting.py example to show how to colorize text - Updated contributing.md to show how to run code coverage in parallel using python-xdist and -nauto - Updated contributing.md to talk more about looking at unit test results within the PR
* Minor tweak to description and layoutTodd Leonhardt2017-07-032-6/+17
|
* Try to get title to fit on one lineTodd Leonhardt2017-07-031-2/+2
|
* Tweaks to PyPI packaging and GitHub front-pageTodd Leonhardt2017-07-033-58/+72
| | | | | | | | | | | | 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
* Merge pull request #167 from python-cmd2/cov_xdistTodd Leonhardt2017-07-022-2/+11
|\ | | | | pytest-cov and pytest-xdist now play nicely together
| * Another tweak to tox.ini and .coveragerc, fingers crossed ...Todd Leonhardt2017-07-022-8/+10
| |
| * Tweak tox.ini and .coveragerc in hopes of getting pytest-cov and ↵Todd Leonhardt2017-07-022-7/+14
|/ | | | pytest-xdist to play nicely together
* Merge pull request #166 from python-cmd2/speedup_testsTodd Leonhardt2017-07-023-7/+71
|\ | | | | Speedup tests
| * Don't run code coverage in Python 3.6 on WindowsTodd Leonhardt2017-07-022-2/+12
| |
| * Stop trying to use pytest-xdist when using pytest-covTodd Leonhardt2017-07-021-6/+2
| | | | | | | | | | It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor. It appears to calculate the code coverage incorrectly when using pytest-xdist.
| * Adding run of example back to environments which are doing code coverage ↵Todd Leonhardt2017-07-021-0/+2
| | | | | | | | analysis
| * Only install code coverage dependencies on platforms which are going to do ↵Todd Leonhardt2017-07-021-2/+39
| | | | | | | | code coverage
| * Apparently "codecov erase" isn't an optionTodd Leonhardt2017-07-021-2/+0
| |
| * Attempt to speedup unit testsTodd Leonhardt2017-07-023-8/+29
|/ | | | | | | | | | | | | | | | | | Now that we have a lot of unit tests and are running code coverage analysis, our unit tests take a long time to run. Changes include ... tox: - Install pytest-xdist to parallelize unit tests - Only run code coverage analysis on Python 2.7 and 3.6 - Don't run examples/example.py anymore, just run the unit tests TravisCI: - Stop building on Python 3.7-dev since that won't be released for some time AppVeyor: - Stop building on Python 3.4 since that isn't as important and is covered by Travis
* Merge pull request #165 from python-cmd2/history_testsTodd Leonhardt2017-07-024-24/+104
|\ | | | | Fixed bugs, removed dead code, and added unit tests
| * Fixed bugs, removed dead code, and added unit testsTodd Leonhardt2017-07-024-24/+104
|/ | | | | | | | | | | Fixed a bug where CmdResult named tuple Truthiness wasn't working in Python 2 Removed unused cmd2.History.search() method. Added unit tests for: - History class - cast() function - CmdResult namedtuple
* Merge pull request #164 from python-cmd2/testsTodd Leonhardt2017-07-023-38/+203
|\ | | | | Added a bunch of unit tests