version bump to 0.2.6

This commit is contained in:
Anthony Scopatz 2016-02-07 18:00:22 -05:00
parent 99a5b928c6
commit 6ecb78dbe3
4 changed files with 17 additions and 8 deletions

View file

@ -1,4 +1,4 @@
version: 0.2.5.{build}
version: 0.2.6.{build}
os: Windows Server 2012 R2
install:
- C:\Python34\Scripts\pip install ply pyreadline nose prompt_toolkit

View file

@ -4,6 +4,20 @@ Xonsh Change Log
Current Developments
====================
**Added:** None
**Changed:** None
**Deprecated:** None
**Removed:** None
**Fixed:** None
**Security:** None
v0.2.6
====================
**Added:**
* ``trace`` alias added that enables users to turn on and off the printing
@ -29,10 +43,6 @@ Current Developments
now default to ``None``.
* Updated alias docs to pull in usage from the commands automatically.
**Deprecated:** None
**Removed:** None
**Fixed:**
* Hundreds of bugs related to line and column numbers have been addressed.
@ -42,8 +52,6 @@ Current Developments
* Worked around bug in ConEmu/cmder which prevented ``get_git_branch()``
from working in these terminal emulators on Windows.
**Security:** None
v0.2.5
===========

View file

@ -1 +1 @@
__version__ = '0.2.5'
__version__ = '0.2.6'

View file

@ -109,6 +109,7 @@ def format_line(fname, lineno, line, color=True, lexer=None, formatter=None):
lexer = lexer or pyghooks.XonshLexer()
formatter = formatter or pygments.formatters.terminal.TerminalFormatter()
line = pygments.highlight(line, lexer, formatter)
line = line.replace('{', '{{').replace('}', '}}')
line = line.replace('\033[39;49;00m', '\033[0m')
line = NO_SEMI_COLOR_CODE_RE.sub(_0semi_adder, line)
line = RAW_COLOR_CODE_RE.sub(_escape_code_adder, line)