Commit graph

3504 commits

Author SHA1 Message Date
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
Morten Enemark Lund
81e3b467bd Fix locate_binary assuming path is a list 2016-06-12 23:32:32 +02:00
Paul Goelz
e246ced5fc Do not throw an exception on 'completer list' if a completer has no docstring. 2016-06-12 23:27:52 +02:00
Anthony Scopatz
b25b057b28 Merge pull request #1210 from cryzed/clean-up-premain
Clean up argument parsing in premain by removing undo_args hack
2016-06-11 21:29:52 -04:00
Anthony Scopatz
a05eb5dd25 Merge pull request #1196 from adqm/anon_aliases
Proposal: Bare and Anonymous Aliases
2016-06-11 21:24:02 -04:00
cryzed
433822d7fa Add changelog news file 2016-06-12 03:18:14 +02:00
cryzed
ad403ee9f5 Merge branch 'master' into clean-up-premain 2016-06-12 03:14:57 +02:00
adam j hartz
2346b8800d move windows fix to correct version number 2016-06-11 21:13:02 -04:00
adam j hartz
fdc73acfa7 merge from master 2016-06-11 21:08:32 -04:00
cryzed
62ad28d909 Removed vertical whitespace as requested 2016-06-12 03:07:16 +02:00
adam j hartz
4a53fb71cd add a few test cases 2016-06-11 21:02:28 -04:00
adam j hartz
7db65f7eb6 update docs 2016-06-11 20:52:47 -04:00
Gil Forsyth
3da1a78b4a Merge pull request #1209 from xonsh/news
News files
2016-06-11 20:08:15 -04:00