Commit graph

819 commits

Author SHA1 Message Date
Hugo Wang
2b6119bf0e fix tcsetattr: Interrupted system call 2017-02-08 22:59:17 +08:00
Anthony Scopatz
271e4da0ca Allow unthreadable subprocs to be captured. 2017-02-08 00:33:07 -05:00
Anthony Scopatz
ff9d890846 Merge branch 'startuptime' 2017-02-07 23:49:55 -05:00
Anthony Scopatz
feb0c9b209 Return of the Jedi 2017-02-07 22:53:28 -05:00
Morten Enemark Lund
b30f6cba8e Merge pull request #2161 from xonsh/bcclenan
bash_completions is now manually lazy...
2017-02-07 21:37:09 +01:00
Morten Enemark Lund
d078258d8f Add changelog entry 2017-02-07 21:19:22 +01:00
Gil Forsyth
1e4f85baaf Merge pull request #2154 from xonsh/parencomp
Paren Completions in Readline
2017-02-07 14:28:09 -05:00
Anthony Scopatz
ae04c6f8c9 bash_completions is now manually lazy and does not override other parts of the completions subpackage on amalgamation. 2017-02-07 00:38:12 -05:00
Anthony Scopatz
80ea09fc1f Merge branch 'decoupled-bash-completion' of https://github.com/imomaliev/xonsh into imomaliev-decoupled-bash-completion 2017-02-06 23:21:33 -05:00
Anthony Scopatz
e5bc015371 Merge branch 'master' into parencomp 2017-02-06 16:30:03 -05:00
Morten Enemark Lund
4b1ac74de1 Merge pull request #2153 from xonsh/argcomp
Argument completion
2017-02-06 20:59:00 +01:00
Anthony Scopatz
74f40e24c5 Allow the TTY to be insane if there is no shell 2017-02-05 14:08:42 -05:00
Anthony Scopatz
2229489695 Merge branch 'argcomp' into parencomp 2017-02-05 10:54:30 -05:00
Anthony Scopatz
711ba56c38 Merge branch 'master' into argcomp 2017-02-05 10:53:33 -05:00
Hugo Wang
4cce6bbce2 no need to use inspect lib 2017-02-05 22:14:20 +08:00
Hugo Wang
4a5b561014 Merge branch 'master' of github.com:mitnk/xonsh into hist-be 2017-02-05 22:07:16 +08:00
Anthony Scopatz
220e2782f6 completions updating implementation 2017-02-04 22:58:23 -05:00
Anthony Scopatz
83dfb07925 fixed readline completion' 2017-02-04 21:25:40 -05:00
Anthony Scopatz
f11448b4bf Added Python function argument completer 2017-02-04 19:35:16 -05:00
Anthony Scopatz
e364bbb966 added news 2017-02-04 14:39:32 -05:00
Anthony Scopatz
e2bdc263d0 Merge pull request #2117 from xonsh/xip
Add `xip` alias
2017-02-04 10:28:05 -05:00
Hugo Wang
bc2d32096e news typo 2017-02-04 22:01:03 +08:00
Hugo Wang
0daceaad4c news entry 2017-02-04 20:49:14 +08:00
Anthony Scopatz
c9979b0fb9 Merge pull request #2147 from xonsh/win_bash_comp
Fix bash completions on Windows when WSL is installed
2017-02-03 15:47:32 -05:00
Jamie Bliss
ccdf582152 Merge pull request #2109 from xonsh/hist
changed history indexing api
2017-02-03 14:51:17 -05:00
Morten Enemark Lund
de5852492a Add release note 2017-02-03 13:49:14 +01:00
Anthony Scopatz
40d2bb8353 added news 2017-02-01 23:45:00 -05:00
Anthony Scopatz
3d130fdfc2 Merge pull request #2136 from xonsh/vc_alias_fix
ignore vc aliases in command_cache
2017-02-01 23:24:27 -05:00
Jamie Bliss
20704f5d1a Merge pull request #2131 from xonsh/envev
Event on_envvar
2017-02-01 22:09:38 -05:00
Anthony Scopatz
8b97b1af72 version bump to 0.5.3 2017-02-01 10:32:33 -05:00
Konstantinos Tsakiltzidis
897469fea1 Merge pull request #2137 from xonsh/badpty
Bad PTY
2017-02-01 14:24:56 +02:00
Anthony Scopatz
350f90cc63 yet another fix 2017-01-31 18:26:29 -05:00
Gil Forsyth
eaa12f9bff ignore vc aliases in command_cache
I don't *think* this will have any side effects.

When we build the ``$PROMPT``, we lazily check for ``git`` and ``hg``
binaries to see if we should generate a ``<branch>`` field.

At the same time ``lazy_locate_binary`` doesn't return the path to a
command if it detects that that command is an alias (since aliases won't
have a path).

In the case that ``git`` or ``hg`` is aliased (the specific case here
was replacing ``git`` with ``hub``), ``lazy_locate_binary`` will return
``None`` because the command is an alias.

This breaks the logic in the branch detection. We don't want to change
the logic in the branch detection since there are many potential impacts
on prompt generation speed, which makes for a bad user experience.

So, this is a mildly ugly hack, but it's the best option I could come up
with in order to preserve prompt speed and still keep the branch
information available for this slightly weird edge case.

I'm all ears to alternative solutions.
2017-01-31 18:11:19 -05:00
laerus
cd21c83e09 split on_envvar to on_envvar_new & on_envvar_change 2017-01-31 12:13:50 +02:00
Andre Weltsch
383596dc57 Merge remote-tracking branch 'origin/master' into traceback_logfile_expand_path. 2017-01-31 09:12:38 +01:00
Sardorbek Imomaliev
eebb5ba55d +news 2017-01-31 13:54:16 +07:00
Morten Enemark Lund
150d12673e Merge pull request #2113 from xonsh/jk
potential fix for jupyter
2017-01-30 18:46:50 +01:00
laerus
d3227a3f14 event on_envvar 2017-01-30 14:45:35 +02:00
Morten Enemark Lund
86f30316f2 Merge pull request #2118 from xonsh/endrtn
Endrtn
2017-01-29 22:10:37 +01:00
Anthony Scopatz
4eb865ca00 Merge branch 'master' into pybg 2017-01-29 10:52:14 -05:00
laerus
487366592d history indexing replaced namedtuple with SimpleNamespace 2017-01-29 15:22:46 +02:00
laerus
e88735807b Merge branch 'master' into hist 2017-01-29 14:12:30 +02:00
Anthony Scopatz
1ae53aa063 Merge pull request #2116 from xonsh/strip_pygments
Remove strict pygments dependency
2017-01-28 22:05:22 -05:00
Anthony Scopatz
a6046f7f03 why did this just work! 2017-01-28 22:00:31 -05:00
Gil Forsyth
ba877aa040 Merge pull request #2121 from xonsh/gvim
added gvim to unthreadable predictors
2017-01-28 21:05:04 -05:00
Gil Forsyth
3ed598b8c2 Merge pull request #2087 from xonsh/intrpt
PopenThread SIGINT fix
2017-01-28 21:04:44 -05:00
Anthony Scopatz
d5c449df7b added gvim 2017-01-28 15:28:36 -05:00
Anthony Scopatz
f77872bae6 added telnet to unthreadable predictors 2017-01-28 14:46:31 -05:00
Anthony Scopatz
e45677489c news 2017-01-28 14:01:01 -05:00
Jamie Bliss
ebddc5c56b Update news & docs. 2017-01-27 22:06:35 -05:00