Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated main code to use f-strings | Kevin Van Brunt | 2021-04-13 | 1 | -6/+6 |
| | |||||
* | Resolves comments from PR | Eric Lin | 2021-03-18 | 1 | -10/+10 |
| | |||||
* | Some mypy validation fixes | Eric Lin | 2021-03-18 | 1 | -10/+11 |
| | |||||
* | Made changes requested in code review | Kevin Van Brunt | 2021-03-02 | 1 | -1/+1 |
| | |||||
* | Added support for ANSI styles and newlines in tab completion results | Kevin Van Brunt | 2021-03-02 | 1 | -2/+26 |
| | |||||
* | Add in isort changes | Todd Leonhardt | 2021-01-31 | 1 | -3/+9 |
| | |||||
* | Add black for automatic code format | Todd Leonhardt | 2021-01-31 | 1 | -10/+16 |
| | |||||
* | Changed isort to force wrapping of imports to reduce merge conflicts from ↵ | Eric Lin | 2021-01-22 | 1 | -4/+17 |
| | | | | minor import changes. | ||||
* | Added info on semantic versioning and branching strategy to CONTRIBUTING.md | Todd Leonhardt | 2020-04-24 | 1 | -2/+2 |
| | | | | | | | 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 | ||||
* | Consistently use :raises: instead of :raises (make sure there is a trailing ↵ | Todd Leonhardt | 2020-04-20 | 1 | -2/+2 |
| | | | | colon) | ||||
* | Removed duplicate word and capitalized two comment sentences | Kevin Van Brunt | 2020-02-25 | 1 | -1/+1 |
| | |||||
* | standardize language on ‘ansi style sequences’ | kotfu | 2020-02-24 | 1 | -9/+9 |
| | |||||
* | Merge branch 'master' into api_docs | kotfu | 2020-02-14 | 1 | -12/+3 |
|\ | | | | | | | | | | | # Conflicts: # cmd2/ansi.py # docs/features/completion.rst | ||||
| * | Whitespace | Kevin Van Brunt | 2020-02-11 | 1 | -0/+1 |
| | | |||||
* | | All public api functions now documented | kotfu | 2020-02-08 | 1 | -3/+45 |
|/ | |||||
* | Fixed docs error | Kevin Van Brunt | 2020-02-07 | 1 | -1/+2 |
| | |||||
* | Updated plumbum example | Kevin Van Brunt | 2020-02-07 | 1 | -9/+10 |
| | |||||
* | Added __str__() back to ColorBase for more flexibility in its usage | Kevin Van Brunt | 2020-02-07 | 1 | -4/+18 |
| | | | | Updated documentation and added unit tests | ||||
* | Simplified ColorBase.__add__() | Kevin Van Brunt | 2020-02-07 | 1 | -6/+0 |
| | |||||
* | Corrected docstring | Kevin Van Brunt | 2020-02-07 | 1 | -1/+1 |
| | |||||
* | Support using fg and bg enum in + operations to build color strings | Kevin Van Brunt | 2020-02-07 | 1 | -16/+33 |
| | |||||
* | Removed unnecessary methods from fg and bg color enums | Todd Leonhardt | 2020-02-07 | 1 | -20/+2 |
| | |||||
* | Simplified fg's and bg's get_value() | Kevin Van Brunt | 2020-02-07 | 1 | -2/+2 |
| | |||||
* | Renamed argument from color to name for fg.get_value() and bg.get_value() | Todd Leonhardt | 2020-02-06 | 1 | -4/+4 |
| | |||||
* | Suppressed bogus PyCharm warnings and improved error message for invalid ↵ | Todd Leonhardt | 2020-02-06 | 1 | -2/+6 |
| | | | | colors passed to style | ||||
* | Having two parallel datastructures each for foreground and background colors ↵ | Todd Leonhardt | 2020-02-06 | 1 | -49/+27 |
| | | | | | | felt really clunky - now we just have one The Enum classes are now smart and deal with it all. | ||||
* | Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background ↵ | Todd Leonhardt | 2020-02-06 | 1 | -12/+72 |
| | | | | | | colors which style() can now optionally use This is to make it easier to autocomplete color names in an IDE | ||||
* | Updating docs for default style functions | Kevin Van Brunt | 2020-01-16 | 1 | -3/+3 |
| | |||||
* | Clean up function documentation so it renders properly | kotfu | 2020-01-14 | 1 | -3/+7 |
| | |||||
* | Merge branch 'master' into generating_output_docs | Todd Leonhardt | 2020-01-09 | 1 | -42/+51 |
|\ | | | | | | | | | | | # Conflicts: # docs/features/generating_output.rst # docs/features/settings.rst | ||||
| * | Added dim text style support | Kevin Van Brunt | 2020-01-07 | 1 | -9/+16 |
| | | |||||
| * | Updated style regular expression to not require digits | Kevin Van Brunt | 2019-12-19 | 1 | -2/+2 |
| | | |||||
| * | Renamed ansi_safe_wcswidth() to style_aware_wcswidth() | Kevin Van Brunt | 2019-12-19 | 1 | -13/+11 |
| | | | | | | | | Renamed ansi_aware_write() to style_aware_write() | ||||
| * | Changed allow_ansi to allow_style for accuracy in what types of ANSI escape ↵ | Kevin Van Brunt | 2019-12-19 | 1 | -23/+27 |
| | | | | | | | | sequences are handled | ||||
* | | Merge branch 'master' into generating_output_docs | kotfu | 2019-12-05 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | # Conflicts: # cmd2/ansi.py | ||||
| * | Removed bold from style_success | Kevin Van Brunt | 2019-12-04 | 1 | -1/+1 |
| | | |||||
* | | Fix flake8 error | kotfu | 2019-11-27 | 1 | -0/+5 |
| | | |||||
* | | Fix minor errors in docstrings | kotfu | 2019-11-24 | 1 | -3/+4 |
|/ | |||||
* | Modified async_alert_str to also get passed the number of terminal columns ↵ | Todd Leonhardt | 2019-07-01 | 1 | -9/+5 |
| | | | | and added unit tests for it | ||||
* | Refactored ansi.async_alert_str() so that the cursor offset within the ↵ | Todd Leonhardt | 2019-06-30 | 1 | -4/+3 |
| | | | | | | readline buffer is passed in This way, the function is independent of readline and can more easily be unit tested | ||||
* | Initial changes for encapsulation of colorama usage within ansi.py | Todd Leonhardt | 2019-06-30 | 1 | -0/+74 |
| | | | | | | | | | | | | | | | Changes include: - ansi.py is now the only cmd2 code which depends on colorama - cmd2 tests no longer rely on colorama - Added new functions to ansi.py: - async_alert_str() - set_title_str - Added unit test for set_title_str TODO: - Refactor async_alert_str so cursor position is passed in and import from rl_utils is no longer required - Add unit test(s) for async_alert_str - Refactor FG_COLORS and BG_COLORS in ansi.py to not use constants from colorama | ||||
* | Minor fix to docstring of ansi.style() | Todd Leonhardt | 2019-06-28 | 1 | -2/+2 |
| | |||||
* | Updated Sphinx documentation and README.md | Todd Leonhardt | 2019-06-28 | 1 | -4/+4 |
| | |||||
* | Moved RESET to end of color dictionaries and skip a test on Mac since it is ↵ | Todd Leonhardt | 2019-06-28 | 1 | -2/+2 |
| | | | | unreliable on Azure DevOps CI | ||||
* | Simplified ansi color dictionaries and lookup methods | Todd Leonhardt | 2019-06-27 | 1 | -32/+24 |
| | | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library | ||||
* | Added fg_lookup() and bg_lookup() two-stage color lookup functions | Todd Leonhardt | 2019-06-27 | 1 | -28/+63 |
| | |||||
* | Moved cmd2.Cmd._decolorized_write() to ansi.py and renamed it to ↵ | Kevin Van Brunt | 2019-06-27 | 1 | -6/+19 |
| | | | | ansi_aware_write(). | ||||
* | Made allow_ansi an application-wide setting and moved it to ansi.py | Kevin Van Brunt | 2019-06-27 | 1 | -0/+8 |
| | |||||
* | Renamed colors setting to allow_ansi | Kevin Van Brunt | 2019-06-26 | 1 | -8/+8 |
| | |||||
* | Updated documentation | Kevin Van Brunt | 2019-06-26 | 1 | -2/+4 |
| |