Commit graph

3516 commits

Author SHA1 Message Date
adam j hartz
f94ef0cb94 oops; more fixes in built_ins 2016-06-16 01:01:22 -04:00
adam j hartz
caad772382 rearrange path search functions 2016-06-16 01:01:22 -04:00
adam j hartz
8395216a67 remove reference to PATH_SEARCH_FUNCS in docs 2016-06-16 00:59:58 -04:00
adam j hartz
2adddd6ea4 changelog 2016-06-16 00:59:58 -04:00
adam j hartz
a241d7a962 fix bad merge 2016-06-16 00:59:57 -04:00
adam j hartz
9ccf7f939c update tutorial based on search function changes 2016-06-16 00:59:57 -04:00
adam j hartz
b7baa64abd fixes for search funcs 2016-06-16 00:59:57 -04:00
adam j hartz
638ad3a10a update tests 2016-06-16 00:59:57 -04:00
adam j hartz
40840f4015 restructure extra search functions 2016-06-16 00:59:57 -04:00
adam j hartz
f378fa5dfa include empty prefix 2016-06-16 00:59:57 -04:00
adam j hartz
b1d41c6c17 change regex for SearchPath token 2016-06-16 00:59:57 -04:00
adam j hartz
9bdc8af1b3 small docs updates 2016-06-16 00:59:57 -04:00
adam j hartz
78f6f92d37 make globsearch do the right thing on empty and respect CASE_SENSITIVE_COMPLETIONS 2016-06-16 00:59:57 -04:00
adam j hartz
2841c126df update tests, add some new tests 2016-06-16 00:59:57 -04:00
adam j hartz
21b0f669fb attempt to fix pygments for new syntax 2016-06-16 00:59:25 -04:00
adam j hartz
bf1d3ad8fe document new features 2016-06-16 00:59:25 -04:00
adam j hartz
78a8572e4d fix SearchPath 2016-06-16 00:59:25 -04:00
adam j hartz
af646a8a91 allow users to specify their own search functions 2016-06-16 00:59:25 -04:00
adam j hartz
e37279ee64 add search_functions to builtins 2016-06-16 00:59:25 -04:00
adam j hartz
2dd927ddf7 allow more general searching for paths 2016-06-16 00:59:25 -04:00
adam j hartz
f561fe0ae8 change name regexpath -> searchpath everywhere 2016-06-16 00:58:47 -04:00
Gil Forsyth
2c6640f2c2 Merge pull request #1245 from xonsh/remedy_env_defaults
Use env._defaults
2016-06-15 16:56:05 -04:00
Morten Enemark Lund
f9bd793991 Make _is_in_env() use the ENV._defaults 2016-06-15 22:41:00 +02:00
Morten Enemark Lund
c0d489013a Merge pull request #1242 from xonsh/quick_wizard_fix
point xonfig wizard to hidden docs attribute
2016-06-15 20:47:02 +02:00
Gil Forsyth
ffff589f76 point xonfig wizard to hidden docs attribute 2016-06-15 14:08:28 -04:00
Anthony Scopatz
916dc2a6d4 Merge pull request #1230 from xonsh/source_cmd_prompt
Source cmd prompt
2016-06-15 11:52:06 -04:00
Anthony Scopatz
3d239b134a Merge pull request #1239 from xonsh/vi_mode_change
enable character selection in vi_mode
2016-06-15 11:35:29 -04:00
Gil Forsyth
aa1c9e2279 pep8 to the dome 2016-06-15 11:20:17 -04:00
Gil Forsyth
f543412c07 Merge pull request #1231 from xonsh/simplify_env_repr
Simplify Env.__repr__
2016-06-15 07:30:39 -04:00
Gil Forsyth
06ec4cbd46 enable character selection in vi_mode
When `open_in_editor` is enabled, the `VI_MODE` binding to open the
editor is `v`, which is unexpected, as `v` should be character
selection.

The `open_in_editor` option has been disabled, but the `Ctrl-X Ctrl-E`
shortcut to open the current buffer in an editor has been explicitly
enabled, so there shouldn't be any change of behavior for anyone except
those who were using `v` to open an editor in `VI_MODE` (which I think
is no one).
2016-06-15 07:20:43 -04:00
Morten Enemark Lund
42022b8cb2 Make defaults, ensures and docs to private attributes of the environment class 2016-06-15 08:37:00 +02:00
Morten Enemark Lund
67fd98b366 Add change log entry 2016-06-14 20:33:09 +02:00
Morten Enemark Lund
c557aeaefc Simplify Env.__repr__. This prevents the whole environment dictionary from being printed when the repr is called. 2016-06-14 20:28:51 +02:00
Morten Enemark Lund
54d3c19e97 Added changelog entry 2016-06-14 19:54:55 +02:00
Morten Enemark Lund
010098f2b2 Reset prompt environement before source *.bat files. The xonsh prompt template string is not useable by cmd.exe and it just makes output where 'Echo ON' is enabled look very strange. 2016-06-14 19:52:22 +02:00
Anthony Scopatz
a00775bae2 Merge pull request #1219 from xonsh/replace_prompt
Windows: Reset the PROMPT environment variable before starting subprocesses
2016-06-13 15:33:44 -04:00
Anthony Scopatz
d0a46610ee Merge branch 'adqm-completer' 2016-06-13 15:26:05 -04:00
Anthony Scopatz
23612853fd Merge branch 'completer' of https://github.com/adqm/xonsh into adqm-completer 2016-06-13 15:22:07 -04:00
Gil Forsyth
2c7c10e86d Merge pull request #1222 from adqm/hotfix_alias_loading
possible fix for incorrect alias loading
2016-06-13 14:33:30 -04:00
adam j hartz
9e27b1cb9e only do subsequence and fuzzy matching if no normal matches found 2016-06-13 14:27:46 -04:00
adam j hartz
faacb0a155 possible fix for incorrect alias loading 2016-06-13 14:09:04 -04:00
Morten Enemark Lund
9ce59a8795 Add changelog entry 2016-06-13 16:32:27 +02:00
Morten Enemark Lund
3d015aaf86 Reset the PROMPT environment variable before starting subprocesses on windows. This avoids that the xonsh prompt template string is shown everywhere batch files runs commands with ECHO ON activated. 2016-06-13 16:13:24 +02:00
adam j hartz
64ca8f1af6 hotfix for trace quitting after displaying help 2016-06-12 22:59:52 -04:00
adam j hartz
213768a3c9 Merge pull request #1216 from pgoelz/master
Do not throw an exception on 'completer list' if a completer has no docstring
2016-06-12 18:46:35 -04:00
Paul Goelz
94abe59a5a Add changelog. 2016-06-13 00:37:14 +02:00
Paul Goelz
6071fc57ab Add missing parantheses. 2016-06-13 00:24:44 +02:00
Gil Forsyth
3d9e844f55 Merge pull request #1215 from xonsh/path_tuple
Fix locate_binary assuming path is a list
2016-06-12 18:21:17 -04:00
Paul Goelz
87282ffdb3 Prevent ValueError on 'completer list' if no completer registered. 2016-06-13 00:21:11 +02:00
Morten Enemark Lund
af50d8c2ec Added change log entry 2016-06-12 23:32:57 +02:00