Commit graph

7257 commits

Author SHA1 Message Date
Anthony Scopatz
0d7ab3962c
Merge pull request #2694 from CJ-Wright/indir
add indir and subprocess tools
2018-07-05 16:18:47 -04:00
christopher
ec9631d047 add news for new standard lib, remove copyright, return returncode 2018-07-05 11:44:27 -04:00
Morten Enemark Lund
8a7e560e2a
Merge pull request #2701 from xonsh/bash_completion_spacetime_continuum
Bash completion spacetime continuum
2018-07-05 13:49:37 +02:00
Gil Forsyth
dabf2e4c64
Merge pull request #2700 from DNGros/ptk2fallback
Fallback to readline when launching with prompt toolkit 2.x installed
2018-07-04 20:19:17 -04:00
Gil Forsyth
8d1be1ca79 Add news entry 2018-07-04 20:13:22 -04:00
Gil Forsyth
3f9bb89614 Fix bash quote completion strip calculation
`xonsh.completers.bash_completion.bash_completions` was returning incorrect
prefix lengths depending on whether or not a user had typed a leading quote. Now
it should be agnostic to how the prefix is started (no quote, single quote, or
double quote).
2018-07-04 19:55:59 -04:00
Gil Forsyth
2349472f29 Look for leading double quotes for bash completion
This is in addition to looking for leading single quotes. There was
disparate behavior if users chose to prepend single vs. double quotes.
2018-07-04 19:27:53 -04:00
David Gros
9a0f41b692 minor formating update. Ref #2700 2018-07-04 15:54:43 -07:00
David Gros
10d87cf545 add missing changelog 2018-07-03 23:42:16 -07:00
christopher
4e7c50b073 fix style, use pushd/popd and return correct code for check_call 2018-07-03 12:48:57 -04:00
christopher
c6e46712bb flake8 2018-07-03 11:27:23 -04:00
christopher
5559c3f82a fix xonsh tests via remove fixtures 2018-07-03 11:22:58 -04:00
christopher
bdda27f657 remove importhooks from tests and add args/kwargs to pytest plugin 2018-07-03 10:58:14 -04:00
christopher
7b3f8dedb7 add comment for gitignore 2018-07-03 10:47:58 -04:00
christopher
bc869fff3d fix setup.py package_dir 2018-07-03 10:44:29 -04:00
Gil Forsyth
69eafb8e47
Merge pull request #2697 from DNGros/issue/2696-which-next
convert a next() statement in _which.py to python 3.x style.
2018-07-03 10:43:52 -04:00
christopher
851671d8fb add files and allow xonsh/lib in git 2018-07-03 10:37:44 -04:00
David Gros
b6662e2589 add fallback to readline if have ptk 2.0 installed. This is a quickfix until ptk 2.0 support can be added. See PR #2570 2018-07-02 23:25:11 -07:00
David Gros
62ce23b309 add missing changelog 2018-07-01 12:44:45 -07:00
David Gros
65baeb110a convert a next() statement in _which.py to python 3.x style. 2018-06-30 23:51:52 -07:00
Anthony Scopatz
17450e8a46 Updated CHANGELOG for 0.6.8 2018-06-28 22:51:35 -04:00
Anthony Scopatz
508de44544 bumped version to 0.6.8 2018-06-28 22:51:35 -04:00
Gil Forsyth
a88a485f0a
Merge pull request #2695 from xonsh/nllpr
no lazy load pkg_resources
2018-06-28 20:10:30 -04:00
Anthony Scopatz
524f5ff7d5 no lazy load plg_resources 2018-06-28 18:24:34 -04:00
christopher
b9c5b09937 WIP: make xonsh standard lib 2018-06-28 11:28:28 -04:00
christopher
447fa7b717 add tests 2018-06-27 21:55:40 -04:00
christopher
e5a9445cd9 add indir and subprocess tools 2018-06-27 21:33:38 -04:00
Gil Forsyth
ebd4e597a3
Merge pull request #2693 from robdefriesse/windows_redirection
Windows redirection bug fix
2018-06-26 06:45:34 -04:00
Robert DeFriesse
f4cf62dcab Fix formatting of news file. 2018-06-26 06:21:41 -04:00
Robert DeFriesse
c7f19e724d CHANGELOG info. 2018-06-25 16:45:05 -04:00
Robert DeFriesse
1b7da52294 Set file inheritance with fd based call. 2018-06-25 16:35:06 -04:00
Robert DeFriesse
fc926260ad Regression test for windows redirection bug fix. 2018-06-25 16:22:52 -04:00
Morten Enemark Lund
9b48934b84
Merge pull request #2687 from xonsh/ctypesutil
Ctypes.util fix
2018-06-21 22:04:37 +02:00
Anthony Scopatz
89677576a3
Merge pull request #2686 from xonsh/update_bash_completion
Update py-bash-completion with prefix length fix
2018-06-17 12:52:37 -04:00
Anthony Scopatz
c8e76d9727 added global ctypes 2018-06-17 12:41:59 -04:00
Anthony Scopatz
f67f405c70 fix linting 2018-06-17 12:23:18 -04:00
Anthony Scopatz
aa1db313e7 fixed typo 2018-06-17 12:11:40 -04:00
Gil Forsyth
2a2e20377a Update py-bash-completion with prefix length fix
Porting over from `xonsh/py-bash-completion`
2018-06-17 12:10:12 -04:00
Anthony Scopatz
4aa17f202b ctypes.util fix 2018-06-17 12:09:38 -04:00
Anthony Scopatz
bdf977132c
Merge pull request #2685 from xonsh/remove_dup_completer
Remove duplicate `pip` completer
2018-06-17 11:33:22 -04:00
Anthony Scopatz
083d51d582 add docstring 2018-06-17 11:17:53 -04:00
Anthony Scopatz
91e3e2b2b0
Merge pull request #2683 from xonsh/cdpath_completion_fix
Fix `$CDPATH` completion misfire
2018-06-17 11:15:02 -04:00
Gil Forsyth
8187d56ed0 Remove duplicate pip completer
`xpip` just uses the regular `pip` completer and it doesn't need its own entry
in the `__xonsh_completers__` dict.  That will just run the same checks twice
and slow down completions overall.
2018-06-17 10:50:34 -04:00
Gil Forsyth
366089635c Fix $CDPATH completion misfire
The `path` completer runs for many commands (which is the correct
behavior) but we are adding in possible `CDPATH` completions for commands
other than `cd` which doesn't make any sense since only `cd` supports
path resolution via `CDPATH`.
2018-06-17 10:17:07 -04:00
Anthony Scopatz
3291fb75b5 Updated CHANGELOG for 0.6.7 2018-06-15 10:49:44 -04:00
Anthony Scopatz
7038bee704 bumped version to 0.6.7 2018-06-15 10:49:44 -04:00
Morten Enemark Lund
df31eaed5b
Merge pull request #2679 from xonsh/replit
Added repl.it to the docs
2018-06-14 08:02:08 +02:00
Gil Forsyth
b66f0614ee
Merge pull request #2681 from xonsh/raisesub
properly return terminal in interactive mode
2018-06-13 16:57:34 -04:00
Anthony Scopatz
0131ec54df properly return terminal in interactive mode when RAISE_SUBPROC_ERROR = True 2018-06-13 16:20:27 -04:00
Morten Enemark Lund
8092e02f3b
Merge pull request #2680 from xonsh/tncopy
copy tok_name prior to mutations
2018-06-13 21:24:17 +02:00