| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update changelog in preparation for next release0.9.14 | Todd Leonhardt | 2019-06-29 | 1 | -1/+1 |
| | | |||||
| * | Merge pull request #704 from python-cmd2/feature/revisit-color-support | Todd Leonhardt | 2019-06-29 | 28 | -509/+703 |
| |\ | | | | | #698 - Revisiting Color Support | ||||
| | * | Refactored allow_ansi setter | Kevin Van Brunt | 2019-06-29 | 1 | -4/+8 |
| | | | |||||
| | * | Always set the canonical version allow_ansi' string value | Kevin Van Brunt | 2019-06-29 | 2 | -11/+19 |
| | | | |||||
| | * | Handling alternate cases of allow_ansi values | Kevin Van Brunt | 2019-06-29 | 2 | -1/+4 |
| | | | |||||
| | * | Added validation when setting allow_ansi | Kevin Van Brunt | 2019-06-29 | 2 | -8/+32 |
| | | | |||||
| | * | Updated CHANGELOG with more details on breaking changes to poutput and perror | Todd Leonhardt | 2019-06-29 | 2 | -3/+10 |
| | | | | | | | | | | | Also: - Updated README with more info on a couple more open-source applications using cmd2 | ||||
| | * | Minor fix to docstring of ansi.style() | Todd Leonhardt | 2019-06-28 | 1 | -2/+2 |
| | | | |||||
| | * | Updated color examples to support bold and underline options | Todd Leonhardt | 2019-06-28 | 2 | -2/+6 |
| | | | |||||
| | * | Updated Sphinx documentation and README.md | Todd Leonhardt | 2019-06-28 | 3 | -14/+15 |
| | | | |||||
| | * | Improve background color display of prompt in async_printing.py example | Todd Leonhardt | 2019-06-28 | 1 | -1/+1 |
| | | | |||||
| | * | Moved RESET to end of color dictionaries and skip a test on Mac since it is ↵ | Todd Leonhardt | 2019-06-28 | 2 | -3/+4 |
| | | | | | | | | | unreliable on Azure DevOps CI | ||||
| | * | Simplified ansi color dictionaries and lookup methods | Todd Leonhardt | 2019-06-27 | 8 | -221/+92 |
| | | | | | | | | | | | | | | | 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 | 2 | -28/+89 |
| | | | |||||
| | * | Added unit tests | Kevin Van Brunt | 2019-06-27 | 2 | -8/+21 |
| | | | |||||
| | * | Updated documentation | Kevin Van Brunt | 2019-06-27 | 2 | -1/+19 |
| | | | |||||
| | * | Added unit tests for ansi.py | Kevin Van Brunt | 2019-06-27 | 3 | -34/+73 |
| | | | |||||
| | * | Moved cmd2.Cmd._decolorized_write() to ansi.py and renamed it to ↵ | Kevin Van Brunt | 2019-06-27 | 3 | -26/+36 |
| | | | | | | | | | ansi_aware_write(). | ||||
| | * | Made allow_ansi an application-wide setting and moved it to ansi.py | Kevin Van Brunt | 2019-06-27 | 4 | -34/+46 |
| | | | |||||
| | * | More replacing of 'colors' with 'allow_ansi' | Kevin Van Brunt | 2019-06-26 | 4 | -8/+8 |
| | | | |||||
| | * | Renamed colors setting to allow_ansi | Kevin Van Brunt | 2019-06-26 | 6 | -49/+49 |
| | | | |||||
| | * | Updated documentation | Kevin Van Brunt | 2019-06-26 | 1 | -2/+4 |
| | | | |||||
| | * | Changed default styles to use a more flexible approach which could be used ↵ | Kevin Van Brunt | 2019-06-26 | 3 | -60/+24 |
| | | | | | | | | | to call any function to add style | ||||
| | * | Changed signature of style() to allow for simpler calling and overriding of ↵ | Kevin Van Brunt | 2019-06-26 | 5 | -22/+48 |
| | | | | | | | | | settings in a provided TextStyle | ||||
| | * | Combined some logic in style | Kevin Van Brunt | 2019-06-26 | 1 | -20/+23 |
| | | | |||||
| | * | Added TextStyle class and default implementations for various message types ↵ | Kevin Van Brunt | 2019-06-26 | 6 | -50/+70 |
| | | | | | | | | | like Warning, Error, and Succes | ||||
| | * | Moved code related to ANSI escape codes to new file called ansi.py | Kevin Van Brunt | 2019-06-26 | 9 | -178/+173 |
| | | | |||||
| | * | Added bold and underline to style() | Kevin Van Brunt | 2019-06-26 | 3 | -9/+29 |
| | | | |||||
| | * | Removed unneeded (optional) text from docstrings | Kevin Van Brunt | 2019-06-26 | 4 | -32/+32 |
| | | | |||||
| | * | Renamed style_message to style | Kevin Van Brunt | 2019-06-26 | 5 | -21/+21 |
| | | | |||||
| | * | Changed perror and pexcept to handle already styled strings via a bool | Kevin Van Brunt | 2019-06-25 | 1 | -29/+31 |
| | | | |||||
| | * | Removed color args from poutput since the style function is going to do more ↵ | Kevin Van Brunt | 2019-06-25 | 3 | -37/+22 |
| | | | | | | | | | than color | ||||
| | * | Removed end argument from style_message | Kevin Van Brunt | 2019-06-25 | 3 | -9/+7 |
| | | | |||||
| | * | Removed traceback_war flag from pexcept since it's a remnant of when perror ↵ | Kevin Van Brunt | 2019-06-25 | 1 | -11/+9 |
| | | | | | | | | | handled both normal and exception-related messages | ||||
| | * | Replaced more pexcept uses with perror | Kevin Van Brunt | 2019-06-25 | 4 | -12/+12 |
| | | | |||||
| | * | Replaced some pexcept uses with perror and updated documentation | Kevin Van Brunt | 2019-06-25 | 1 | -23/+20 |
| | | | |||||
| | * | Add 2 tests to test_utils.py for style_message() | Daniel Ahn | 2019-06-25 | 1 | -1/+20 |
| | | | |||||
| | * | Fix verbose history tests and behavior | Todd Leonhardt | 2019-06-24 | 1 | -1/+1 |
| | | | |||||
| | * | Revert change in test_poutput_color_always | Daniel Ahn | 2019-06-24 | 1 | -1/+1 |
| | | | |||||
| | * | Fix flake8 errors, don't use Style.RESET, fix docstring, change some ↵ | Daniel Ahn | 2019-06-24 | 3 | -50/+56 |
| | | | | | | | | | pexcept() calls to perror() | ||||
| | * | Initial Commit for Issue 698 | xNinjaKittyx | 2019-06-24 | 8 | -104/+187 |
| |/ | |||||
| * | Merge pull request #703 from python-cmd2/public_api | Todd Leonhardt | 2019-06-23 | 27 | -381/+349 |
| |\ | | | | | Minimize public API of cmd2.Cmd class | ||||
| | * | Made tokens_for_completion() method public since a couple of our examples use it | Todd Leonhardt | 2019-06-23 | 3 | -15/+15 |
| | | | |||||
| | * | Made last_result public and restored the initialization of it in __init__ ↵ | Todd Leonhardt | 2019-06-23 | 6 | -22/+26 |
| | | | | | | | | | and associated comment | ||||
| | * | Restored a few attributes to be public | Todd Leonhardt | 2019-06-23 | 6 | -109/+109 |
| | | | |||||
| | * | Updated CHANGELOG and slightly refactored/reorganized comments and code in ↵ | Todd Leonhardt | 2019-06-16 | 2 | -18/+19 |
| | | | | | | | | | transcript.py | ||||
| | * | Started refactoring transcript testing to have a better display of ↵ | Todd Leonhardt | 2019-06-16 | 1 | -1/+17 |
| | | | | | | | | | information to the user | ||||
| | * | Added center_text() utility function for centering text in a terminal along ↵ | Todd Leonhardt | 2019-06-16 | 2 | -0/+39 |
| | | | | | | | | | | | | | with unit tests for it This function isn't used yet, but I have plans to use it when improving the output of transcript testing | ||||
| | * | Fixed a bunch of examples which were broken due to moving DEFAULT_SHORTCUTS ↵ | Todd Leonhardt | 2019-06-16 | 10 | -9/+10 |
| | | | | | | | | | from cmd2.py to constants.py | ||||
| | * | Modified a transcript used during testing to not run help so that it doesn't ↵ | Todd Leonhardt | 2019-06-15 | 1 | -15/+6 |
| | | | | | | | | | | | | | need to be changed any time the content of help changes Now the only test which should need to change when a command is added, deleted, or renamed (which isn't specifically related to that command) is test_get_all_commands | ||||
