Commit graph

3515 commits

Author SHA1 Message Date
adam j hartz
d00a6fcf2a hotfix for broken python completer 2016-06-05 20:31:40 -04:00
Anthony Scopatz
67b6d2abe9 suppress syntax warnings thrown by compile 2016-06-05 20:01:26 -04:00
adam j hartz
1272880ad9 CHANGELOG 2016-06-05 19:05:31 -04:00
adam j hartz
5d5a1d2cee CHANGELOG entry 2016-06-05 19:03:26 -04:00
adam j hartz
c5b99cc93d add flag to enable/disable syntax highlighting in ptk shell 2016-06-05 18:57:02 -04:00
adam j hartz
afacea12de add flags to enable/disable pretty printing and coloring of results 2016-06-05 18:48:03 -04:00
adam j hartz
ae3dd2b946 store result of wrapped subprocess call in _ 2016-06-05 18:35:00 -04:00
Anthony Scopatz
bb5c420446 more context function tests 2016-06-05 18:34:37 -04:00
Anthony Scopatz
6e387e521b functional tests 2016-06-05 18:25:52 -04:00
Anthony Scopatz
a1d3b73a71 many closing test 2016-06-05 17:49:12 -04:00
Anthony Scopatz
9fab87a743 ending close paren 2016-06-05 17:44:21 -04:00
Rahiel Kasim
10e31c9d06 CONTRIBUTING: render as RST on GitHub 2016-06-05 23:04:44 +02:00
Anthony Scopatz
b5d90b5a88 block test refactor 2016-06-05 17:02:10 -04:00
adam j hartz
e9afa9b551 Merge pull request #1116 from nicolasavru/fix-completion
return empty set instead of None when no python completions match
2016-06-05 16:58:07 -04:00
Morten Enemark Lund
c70d813642 Merge pull request #1115 from scopatz/fix_contributing
make CONTRIBUTING a hard link
2016-06-05 22:44:49 +02:00
Nicolas Avrutin
eeca87ed1a Return empty set instead of None when no python completions match.
This avoids this error when (for example) completing "rm":
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib/python3.5/site-packages/prompt_toolkit/interface.py", line 759, in run
    completions = list(buffer.completer.get_completions(document,complete_event))
  File "/usr/lib/python3.5/site-packages/xonsh/ptk/completer.py", line 36, in get_completions
    self.ctx)
  File "/usr/lib/python3.5/site-packages/xonsh/completer.py", line 41, in complete
    out = func(prefix, line, begidx, endidx, ctx)
  File "/usr/lib/python3.5/site-packages/xonsh/completers/base.py", line 21, in complete_base
    complete_command(prefix, line, start, end, ctx))
TypeError: unsupported operand type(s) for |: 'NoneType' and 'set'
2016-06-05 16:31:54 -04:00
Anthony Scopatz
1643e1692e oh, yeah, blocks 2016-06-05 16:25:43 -04:00
Gil Forsyth
0cb90f2ecd make CONTRIBUTING a hard link
GitHub is weird about symlinks and I think this better represents the
desired behavior (if you click CONTRIBUTING, you should see the dev
guide)
2016-06-05 16:22:05 -04:00
Morten Enemark Lund
33a5208702 Merge pull request #1114 from scopatz/update_osx_docs
add brew install instructions to docs
2016-06-05 22:05:00 +02:00
Gil Forsyth
b4633c60b7 add brew install instructions to docs 2016-06-05 15:48:46 -04:00
Anthony Scopatz
ec66276538 some updates 2016-06-05 15:31:50 -04:00
Anthony Scopatz
c73476cd37 comma 2016-06-05 15:28:26 -04:00
Anthony Scopatz
0ebb1ca057 potentially functional, but probably broken 2016-06-05 15:25:03 -04:00
Anthony Scopatz
b354c3f81b stubbed it out 2016-06-05 15:14:56 -04:00
Gil Forsyth
70eb47b859 Merge pull request #1113 from rahiel/master
environ.py: fix typo
2016-06-05 12:08:12 -07:00
Rahiel Kasim
e6b5c57d8b environ.py: fix typo 2016-06-05 21:00:56 +02:00
Anthony Scopatz
d1ec37f914 not working yet 2016-06-05 14:32:59 -04:00
Anthony Scopatz
fe5fc96dc9 wrap_subprocs to transform 2016-06-05 12:07:28 -04:00
Hugo Wang
6af4114025 updated comments 2016-06-05 17:48:58 +08:00
Anthony Scopatz
d80c6185c5 Merge branch 'master' into dist 2016-06-05 03:14:40 -04:00
Anthony Scopatz
f65b33e838 Merge branch 'ns' 2016-06-05 03:12:02 -04:00
Anthony Scopatz
785bcc3ed6 more edits 2016-06-05 03:11:11 -04:00
Anthony Scopatz
802f5e729d hotfix for #1108 2016-06-05 02:30:14 -04:00
Anthony Scopatz
f7f80f9f2d a bit more context stuff 2016-06-05 02:15:24 -04:00
Hugo Wang
9c89453d3a made defines separated of _send_signal 2016-06-05 14:12:05 +08:00
Hugo Wang
07277e7bf2 remove unused imports 2016-06-05 11:51:33 +08:00
Hugo Wang
6503e93308 changed to use solution from @Carreau 2016-06-05 11:48:35 +08:00
adam j hartz
d22ca695e4 add changelog entry 2016-06-04 23:07:22 -04:00
Anthony Scopatz
0dcd929392 Merge branch 'VHarisop-master' 2016-06-04 23:04:13 -04:00
Hugo Wang
1668d7aecb prevent killpg PermissionError crash on OSX 2016-06-05 10:56:42 +08:00
VHarisop
0dda15e303
Fixes shell_type override in #1072 2016-06-05 05:48:00 +03:00
Anthony Scopatz
655e4970a3 People xonshtantly mispronounce these things. 2016-06-04 22:37:51 -04:00
Anthony Scopatz
ee9c10101f taco shell 2016-06-04 22:34:27 -04:00
Anthony Scopatz
5cd0638112 moar hooks 2016-06-04 22:28:36 -04:00
Anthony Scopatz
7a72bcd505 Merge branch 'wjwwood-fix_missing_bash_comp_dirs' 2016-06-04 22:06:27 -04:00
Anthony Scopatz
bab68d29aa init distributed 2016-06-04 22:05:23 -04:00
William Woodall
2e230c8bc3 do not require directories in BASH_COMPLETIONS to exist 2016-06-04 18:56:20 -07:00
Anthony Scopatz
e9a2b96ddb Merge pull request #1037 from arielf/master
xonsh/history.py: apply os.path.expanduser to XONSH_DATA_DIR in history
2016-06-04 17:39:44 -07:00
Anthony Scopatz
231c7f0a6e add completer API doc hooks 2016-06-04 20:05:55 -04:00
Anthony Scopatz
08483fdcc3 Merge branch 'adqm-faster_bash_completers' 2016-06-04 19:38:20 -04:00