Commit graph

5313 commits

Author SHA1 Message Date
BlahGeek
50aecce6ff fix = in subproc arg 2016-09-13 10:41:39 +08:00
Matthias Bussonnier
3851a77062 Fix test and Ast creation.
Report useful error messages, and creat ast with integers.
2016-09-12 19:02:37 -07:00
Matthias Bussonnier
c42b1fa135 Don't reuse variables names in tests.
Since http://bugs.python.org/issue27999, global after use is a
SyntaxError; reusing variable name in tests/test_contexts.py
lead to failure.

Should close #1718
2016-09-12 10:01:16 -07:00
Matthias Bussonnier
de984f98a4 Fix async comprehension on 3.6
Seem simple enough, and avoid writing a full 3.6 parser for now.
2016-09-12 09:37:07 -07:00
Morten Enemark Lund
c5bd963a8e Merge pull request #1712 from laerus/falias
control overriding of foreign aliases
2016-09-12 14:20:25 +02:00
laerus
715e5ed546 fix if shaliases is None 2016-09-12 11:13:54 +03:00
Raphael Gaschignard
7ca14d4020 Merge branch 'master' of github.com:xonsh/xonsh into autopair 2016-09-12 16:10:10 +09:00
Morten Enemark Lund
7a9a833d5f Merge pull request #1713 from xonsh/win_path_comp_fix
remember windows when checking for abs paths
2016-09-12 08:37:54 +02:00
Morten Enemark Lund
420dc0bbf4 Add changelog 2016-09-12 08:13:25 +02:00
Morten Enemark Lund
ad4ef0054e Handle the cases where foreign_shell_data return fails and return (None,None) 2016-09-12 08:13:11 +02:00
BlahGeek
8078f96869 update changelog 2016-09-12 12:07:46 +08:00
BlahGeek
c1e128d8f0 fix backtick regex syntax 2016-09-12 12:07:36 +08:00
BlahGeek
9ce5a8494d fix alias lookup on windows 2016-09-12 11:52:09 +08:00
BlahGeek
ddf97f0149 support macro syntax 2016-09-12 11:47:18 +08:00
BlahGeek
c7629b1f3c add cd alias for windows while testing, support windows path highlight 2016-09-12 11:23:20 +08:00
BlahGeek
0f2ab88f2e Revert "tests use type instead of cd for windows"
This reverts commit 7c635add93.
2016-09-12 11:20:39 +08:00
BlahGeek
7c635add93 tests use type instead of cd for windows 2016-09-12 11:05:20 +08:00
laerus
c48718982a Merge branch 'master' of https://github.com/xonsh/xonsh into falias 2016-09-11 17:17:09 +03:00
Konstantinos Tsakiltzidis
d05fad3fde Merge pull request #1709 from xonsh/completer_prefix_splitting
Completer prefix splitting
2016-09-11 16:37:44 +03:00
BlahGeek
642b46976a Merge branch 'master' into new-xonsh-highlight 2016-09-11 20:51:46 +08:00
Gil Forsyth
dbae098673 Merge pull request #1703 from xonsh/cmd_cache_lookup_win
Cmd cache lookup on windows
2016-09-11 08:39:39 -04:00
Gil Forsyth
97273f65f4 remember windows when checking for abs paths 2016-09-11 08:37:26 -04:00
BlahGeek
66d6f50662 use Name.Builtin instead of Keyword 2016-09-11 20:17:49 +08:00
BlahGeek
fc080c6b06 add lookahead assertion for COMMAND_TOKEN 2016-09-11 19:58:18 +08:00
Gil Forsyth
afe98ff45b de-dup line 2016-09-11 07:33:04 -04:00
BlahGeek
4d3e9cbed7 fix test fixture 2016-09-11 16:22:42 +08:00
BlahGeek
61c38a3ccd loads command cache while initing xonsh lexer 2016-09-11 16:20:22 +08:00
BlahGeek
30e43401b8 cleanup code 2016-09-11 16:19:00 +08:00
Morten Enemark Lund
4d84a5dbc9 Updates from review 2016-09-11 10:11:41 +02:00
BlahGeek
521ca3b471 add highlight for backtick regex 2016-09-11 16:09:19 +08:00
BlahGeek
86fef03d45 fix tests for windows 2016-09-11 16:09:10 +08:00
Morten Enemark Lund
4f9304cbd9 Add xonsh_builtins fixture to test_commands_cache_lazy() 2016-09-11 09:59:16 +02:00
Morten Enemark Lund
2c0d0442e0 Add PATHEXT to the xonsh_builtins.__xonsh_env__ on windows 2016-09-11 09:59:15 +02:00
Morten Enemark Lund
636b7c5067 Add changelog 2016-09-11 09:59:15 +02:00
Morten Enemark Lund
e26dbabbcd Fix command cache lookup on windows. On windows all commands are stored in upper case in the command cache, since the system is case insensitive. This change ensure that command lookup also works if case is different. For example 'git', 'git.exe' org 'GIT' should all point to the same command. 2016-09-11 09:59:14 +02:00
Morten Enemark Lund
a6c602c9a4 Merge pull request #1684 from bobhy/track_wd1
Track wd1
2016-09-11 08:27:47 +02:00
Gil Forsyth
c4b0ab6989 handle sequence returns in pymode completion 2016-09-10 16:00:01 -04:00
Gil Forsyth
71f2e4505a split on commas 2016-09-10 16:00:01 -04:00
Gil Forsyth
0fb1cd70eb infinite recursion is baaaad 2016-09-10 16:00:01 -04:00
Gil Forsyth
1ff8cf03cf escape bracket in split 2016-09-10 16:00:01 -04:00
Gil Forsyth
00a79bf718 add news entry 2016-09-10 16:00:01 -04:00
Gil Forsyth
d5220f2159 split on more delimiters
everything that you might not have a space after
2016-09-10 16:00:01 -04:00
Gil Forsyth
e2a86fb182 try to split prefixes if no completions found in python mode 2016-09-10 16:00:01 -04:00
laerus
cc5bdcee24 more info in the vardocs 2016-09-10 22:30:54 +03:00
laerus
bd07742abe more info in the tutorial warning 2016-09-10 22:03:21 +03:00
laerus
78494bfbbb envvar to control the overriding of foreign aliases 2016-09-10 21:39:47 +03:00
laerus
ba486622c5 must include all changed files.. 2016-09-10 20:45:14 +03:00
laerus
d22762cc3a silently ignore foreign aliases if not XONSH_DEBUG 2016-09-10 20:40:38 +03:00
BlahGeek
e311ae26cb new implementation of XonshLexer for pygments 2016-09-11 00:50:52 +08:00
Konstantinos Tsakiltzidis
e1c4d2ac8b Merge pull request #1697 from Carreau/autodocs
Build docs on travis
2016-09-10 19:45:25 +03:00