Commit graph

7567 commits

Author SHA1 Message Date
Gil Forsyth
5278dbb385
Merge pull request #2795 from xonsh/multiwrap2
multiwrap fix
2018-08-27 16:58:58 -04:00
Anthony Scopatz
34695773d4 allow failures fix 2018-08-27 16:56:07 -04:00
Gil Forsyth
98e602d931 Add news item 2018-08-27 16:30:30 -04:00
Gil Forsyth
21c7388ea1 Allow selection of Ctrl-R search results
This may be an issue upstream in PTK or it might be because we override
all sorts of keybindings to allow for a friendlier multiline experience.

In any case, registering an explicit keybinding to break out of the
search mode restores the functionality.
2018-08-27 16:29:31 -04:00
Anthony Scopatz
6e876118a5 allow failures fix 2018-08-27 14:53:04 -05:00
Anthony Scopatz
893f12db43 Merge branch 'master' into multiwrap2 2018-08-27 14:35:45 -05:00
Anthony Scopatz
c4cdd18887 flake fix 2018-08-27 14:24:12 -05:00
Anthony Scopatz
e1137f35c2 multiwrap fix 2018-08-27 14:20:11 -05:00
Anthony Scopatz
10774002e5
Merge pull request #2788 from gsaga/fix_2785
Improves iteration over virtual environments
2018-08-27 11:06:10 -05:00
Anthony Scopatz
1a900a36d3
Merge pull request #2792 from xonsh/pypytravis
Pypytravis
2018-08-27 11:03:49 -05:00
Anthony Scopatz
837c714a05
Merge pull request #2789 from gsaga/autojump_xontrib
added autojump xontrib
2018-08-25 08:05:16 -05:00
Sagar Tewari
c22d7107a7 added xontrib info 2018-08-25 14:42:06 +05:30
Sagar Tewari
968af51d61 Fixed a typo
added changelog
2018-08-25 11:49:13 +05:30
Sagar Tewari
506b8c94d5 fixed issue 2785 2018-08-25 11:15:32 +05:30
Gil Forsyth
903028d183 Update default ptk version in docker script 2018-08-24 16:30:34 -04:00
traverseda
5b9bd2c445 Allowed pypy3 travis cases to fail. 2018-08-24 16:23:30 -04:00
traverseda
117912751d Oops, accidently left in docker debugging line. 2018-08-24 16:23:30 -04:00
traverseda
468c6cccbc I'm always surprised at how annoying docker is. 2018-08-24 16:23:30 -04:00
traverseda
048c72ed9c Set build-docs to false to bypass miniconda. 2018-08-24 16:23:29 -04:00
traverseda
db8e4f22ec New travis matrix for pypy, hopefully avoids conda weirdness. 2018-08-24 16:23:29 -04:00
traverseda
7009fe98e3 Add pypy3 to test cases. 2018-08-24 16:23:29 -04:00
Anthony Scopatz
8be0af6555 unholy cross 2018-08-24 08:58:44 -04:00
Anthony Scopatz
6ff0a09ef9
Merge pull request #2787 from xonsh/history_match_anywhere
Add history matching toggle to search entire line
2018-08-23 16:48:33 -04:00
Gil Forsyth
baf7158891 Add history matching toggle to search entire line
Default behavior of prompt_toolkit on an up-arrow history search is to use a
`startswith` check to match previous entries.
This introduces an environment variable `XONSH_HISTORY_MATCH_ANYWHERE` that, if
`True`, will instead perform a history search with an `is in` to allow matching
anywhere.

This could potentially have performance impacts depending on how many history
items are being searched, so I've defaulted it to `False` but I'm open to input
on that (or any of the rest of it).
2018-08-23 15:41:21 -04:00
Anthony Scopatz
74df5b9592 Added attribute chain loading 2018-08-22 18:30:31 -04:00
Anthony Scopatz
4b35a0d653 Updated CHANGELOG for 0.7.6 2018-08-21 16:49:33 -04:00
Anthony Scopatz
508a8f0bbc bumped version to 0.7.6 2018-08-21 16:49:33 -04:00
Anthony Scopatz
3939a31b27
Merge pull request #2784 from t184256/cache-by-realpath
cache scripts by realpath
2018-08-21 16:03:45 -04:00
Anthony Scopatz
49a0ea070a
Merge pull request #2775 from gsaga/fix_Env_swap
Fix env swap
2018-08-21 15:39:28 -04:00
Anthony Scopatz
1883f5002c some minor improvements and test 2018-08-21 15:21:46 -04:00
Alexander Sosedkin
0a9899a7cf cache scripts by realpath
Cache scripts by realpath, resolving symlinks,
as per discussion in #2776.
I chose realpath(...) over abspath(realpath(...)),
as realpath does call abspath internally.
2018-08-22 02:21:37 +07:00
Anthony Scopatz
580c4ad5e8 Merge branch 'master' into fix_Env_swap 2018-08-21 15:15:26 -04:00
Anthony Scopatz
a74169b45b Merge branch 'pygments_codes' 2018-08-21 14:56:26 -04:00
Morten Enemark Lund
e86f7be141
Merge pull request #2781 from xonsh/compstack
Callable alias stack - with completer fix
2018-08-21 17:31:56 +02:00
Anthony Scopatz
4f95429346
Merge pull request #2782 from xonsh/color_py35
Fix a bug with colors beeing converted to old format multiple times
2018-08-21 10:49:42 -04:00
Morten Enemark Lund
e11fa92d63 pep8 2018-08-21 14:30:22 +02:00
Morten Enemark Lund
3e00dc0c10 Add news entry 2018-08-21 13:54:33 +02:00
Morten Enemark Lund
a374f0aa99 Monkey-patch pygments 2.2 console codes with ptk2 colors
Should fix a crash when using the $XONSH_STDERR_PREFIX/POSTFIX`` with
prompt_toolkit 2 and Pygments 2.2.
2018-08-21 13:54:32 +02:00
Morten Enemark Lund
59027ac7ce Split bare color name mapping their own dict 2018-08-21 09:59:26 +02:00
Morten Enemark Lund
37b9f1a34f Add pygments version info function 2018-08-21 09:58:44 +02:00
Morten Enemark Lund
5da14ad025 Fix a bug with colors beeing converted to old format multiple times on py 3.5
This bug didn't manifest itselft on Python 3.6 because of the
fixed nature of dictionaries.
2018-08-21 08:53:36 +02:00
Anthony Scopatz
f9c1eec800 flake fix 2018-08-20 20:16:29 -04:00
Anthony Scopatz
34573267cb added news 2018-08-20 20:05:02 -04:00
Anthony Scopatz
8db169ec1a docs and tests 2018-08-20 19:57:56 -04:00
Anthony Scopatz
7ca4fbd085 initial version of alias stack passing 2018-08-20 19:37:35 -04:00
David Dotson
b16587785a Fixes to XonshSession and load_builtins.
xonsh is now able to start, but we get new issues with it not able to
access items on the __xonsh__ object. It's as if somewhere we're trying
to grab e.g. `__xonsh__.env` with getattr(builtins, '__xonsh__.env'),
but I'm not seeing where this is happening.
2018-08-19 01:37:53 +02:00
David Dotson
c3c701d90c __xonsh_*__ -> __xonsh__.*
Edits to every file to conform to all builtins being under the __xonsh__
XonshSession instance.
2018-08-19 01:04:18 +02:00
Sagar Tewari
8faf3a4c3b code conforms to flake8 2018-08-18 22:45:11 +05:30
Sagar Tewari
ac22897b95 added news file 2018-08-18 22:32:16 +05:30
Sagar Tewari
d3aa9b6051 exceptions should be caught in Env.swap 2018-08-18 22:21:08 +05:30