Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sys.stdout check clearer.HEADmaster | Andrew Clark IV | 2023-05-02 | 1 | -1/+1 |
| | |||||
* | Simplify sys.stdout check | Andrew Clark IV | 2023-05-02 | 1 | -37/+36 |
| | |||||
* | Check if sys.stdout is None | Andrew Clark IV | 2023-05-02 | 1 | -36/+37 |
| | |||||
* | rl_utils: Verify `readline.__doc__ is not None` | netanelc305 | 2023-05-02 | 1 | -1/+1 |
| | |||||
* | cmd2 now uses pyreadline3 when running any version of Python on Windows | Kevin Van Brunt | 2022-02-17 | 1 | -8/+7 |
| | |||||
* | Improved some readline-related comments | Kevin Van Brunt | 2022-02-17 | 1 | -5/+21 |
| | |||||
* | Fixed AttributeError in rl_get_prompt() when prompt is None. | Kevin Van Brunt | 2021-10-11 | 1 | -2/+4 |
| | |||||
* | Updated async_alert() to account for self.prompt not matching Readline's ↵ | Kevin Van Brunt | 2021-09-14 | 1 | -13/+47 |
| | | | | current prompt. | ||||
* | Added handling for OSError caused by trying to load a GNU readline shared ↵ | Kevin Van Brunt | 2021-04-28 | 1 | -2/+2 |
| | | | | | | library in Python environments like PyPy which have a pure Python implementation of readline. | ||||
* | More mypy validation changes. cmd2.py is nearly fully mypy compliant now. | Eric Lin | 2021-04-02 | 1 | -3/+3 |
| | |||||
* | Add in isort changes | Todd Leonhardt | 2021-01-31 | 1 | -3/+10 |
| | |||||
* | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -10/+13 |
| | |||||
* | Update conditional pyreadline3 dependency for Win | Kyle King | 2021-01-27 | 1 | -2/+2 |
| | |||||
* | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -1/+3 |
| | | | | minor import changes. | ||||
* | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -1/+1 |
| | | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes | ||||
* | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 1 | -1/+1 |
| | | | | Renamed ansi_aware_write() to style_aware_write() | ||||
* | Simplified line of code | Kevin Van Brunt | 2019-11-25 | 1 | -2/+1 |
| | |||||
* | Added # pragma: no cover to some code in rl_utils | Kevin Van Brunt | 2019-11-24 | 1 | -2/+2 |
| | |||||
* | Fixed flake8 warning | Kevin Van Brunt | 2019-11-24 | 1 | -2/+2 |
| | |||||
* | Updated warning text | Kevin Van Brunt | 2019-11-24 | 1 | -1/+1 |
| | |||||
* | Added exception handling to account for non-standard Python environments in ↵ | Kevin Van Brunt | 2019-11-24 | 1 | -9/+24 |
| | | | | which readline is not loaded dynamically from a shared library file | ||||
* | Whitespace and doc fixes | Kevin Van Brunt | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | Cleaned up some PyCharm warnings | Todd Leonhardt | 2019-03-13 | 1 | -6/+9 |
| | |||||
* | Fix flake8 issues | Todd Leonhardt | 2018-12-06 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings. Predominantly these are whitespace changes. Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline: * flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first. One flake8 error is being ignored entirely: * E252 missing whitespace around parameter equals * ignored because it doesn't correctly deal with default argument values after a type hint A few flake8 errors are being selectively ignored in certain files: * C901 fuction is too complex * ignored in argparse_completer.py because the complex code is an override of argparse complexity * E302 expected 2 blank lines after ... * ignored in all unit test files for convenience * F401 module imported but unused * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility * F821 undefined name * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined | ||||
* | Addressing code review comments | Kevin Van Brunt | 2018-09-25 | 1 | -5/+9 |
| | |||||
* | Removed more terminal code from coverage | Kevin Van Brunt | 2018-09-25 | 1 | -13/+13 |
| | |||||
* | Removed terminal functions from code coverage | Kevin Van Brunt | 2018-09-25 | 1 | -1/+1 |
| | |||||
* | Made sure all prompts sent to GNU readline are made safe | Kevin Van Brunt | 2018-09-21 | 1 | -2/+32 |
| | |||||
* | More code to support asynchronous changes to the terminal | Kevin Van Brunt | 2018-09-19 | 1 | -20/+36 |
| | |||||
* | Made common function to clear input lines in the terminal | Kevin Van Brunt | 2018-09-19 | 1 | -0/+1 |
| | |||||
* | Wrote a prompt updater example | Kevin Van Brunt | 2018-09-19 | 1 | -0/+14 |
| | |||||
* | Wrote function and test command to print alerts | Kevin Van Brunt | 2018-09-19 | 1 | -1/+44 |
| | |||||
* | Corrected how we force a redisplay in pyreadline | Kevin Van Brunt | 2018-06-22 | 1 | -4/+6 |
| | |||||
* | Added tab completion of Python identifiers when running the Python console | Kevin Van Brunt | 2018-05-23 | 1 | -2/+11 |
| | |||||
* | Stopped sharing history between cmd2 and python console | Kevin Van Brunt | 2018-05-23 | 1 | -0/+23 |
| | |||||
* | Added warning if tab completion will be disabled. Not allowing libedit | Kevin Van Brunt | 2018-05-07 | 1 | -4/+6 |
| | |||||
* | Started adding type hints | Todd Leonhardt | 2018-04-19 | 1 | -5/+1 |
| | |||||
* | Identified and marked a few blocks of code that can't be reached during unit ↵ | Eric Lin | 2018-04-19 | 1 | -3/+4 |
| | | | | tests due to the lack of a real terminal. Some more comments. | ||||
* | Addresses comments on #362 | Eric Lin | 2018-04-19 | 1 | -1/+3 |
| | |||||
* | Merge remote-tracking branch 'origin/master' into autocompleter | Eric Lin | 2018-04-18 | 1 | -0/+63 |
Updated AutoCompleter (#349) to match new directory structure from packaging effort. |