Commit graph

2367 commits

Author SHA1 Message Date
adam j hartz
c110a0b034 environment variable to control capturing standard input 2016-03-11 00:13:39 -05:00
adam j hartz
99e55d275a more natural interface to commands cache 2016-03-11 00:12:24 -05:00
adam j hartz
0a88cbff75 move commandscache out of completer so it can be used elsewhere 2016-03-11 00:05:04 -05:00
adam j hartz
c03034bcf6 new syntax for hidden completedcommand objects 2016-03-10 23:54:56 -05:00
adam j hartz
c767042c28 add hidden completedprocess object 2016-03-10 23:48:14 -05:00
adam j hartz
0ede146452 much more elegant way of initializing CompletedCommand, from scopatz 2016-03-10 23:14:52 -05:00
adam j hartz
0a06e080b9 many PEP8 changes 2016-03-10 22:05:00 -05:00
adam j hartz
c5887cc319 add __hash__ to CompletedProcess to allow checks for being 'in' sets and dicts 2016-03-10 21:56:57 -05:00
adam j hartz
072ae8599e merge from master 2016-03-10 21:55:09 -05:00
Gil Forsyth
a049c224c2 Merge pull request #725 from scopatz/bw
black and white color map updates
2016-03-09 10:35:31 -05:00
Gil Forsyth
a80643f6f0 Merge pull request #720 from scopatz/timefix
push fix for namespaces
2016-03-08 06:04:19 -05:00
Anthony Scopatz
79e99f1305 black and white color map updates 2016-03-07 18:12:36 -05:00
Anthony Scopatz
9125e0d68d Merge pull request #714 from scopatz/win_unicode_console
Add optional dependency on the win_unicode_console library
2016-03-07 12:42:00 -05:00
Gil Forsyth
46f5a5ac18 Merge pull request #723 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.rst
2016-03-07 11:52:55 -05:00
The Gitter Badger
2d210b9a4e Add Gitter badge 2016-03-07 16:48:24 +00:00
adam j hartz
72cd7d4fd9 fix typo 2016-03-07 05:43:58 -05:00
adam j hartz
f170dd1fa8 little docstrings 2016-03-06 23:52:51 -05:00
adam j hartz
e132927b73 changelog 2016-03-06 23:38:55 -05:00
adam j hartz
da18135906 rename completed process -> completed command 2016-03-06 23:27:02 -05:00
adam j hartz
afa7353882 hack to allow CompletedCommand to capture stdin :) 2016-03-06 23:24:25 -05:00
Morten Enemark Lund
24753fcc5a Small typo 2016-03-06 22:21:58 +01:00
Morten Enemark Lund
76bd9c66c6 Add section on win_unicode_console to windiws.rst 2016-03-06 22:20:30 +01:00
Morten Enemark Lund
2061157597 Remove the suggestion to alias ls to dir
It only cause confusion to alias ls to dir as the two commands behave very different. It can also cause trouble if the user later installs the UNIX tools through for example 'git for Windows'
2016-03-06 21:59:34 +01:00
Morten Enemark Lund
7c040f59cc Update CHANGELOG.rst 2016-03-06 21:52:54 +01:00
adam j hartz
0dceeb00d9 modify when title is set to avoid capturing it 2016-03-06 15:34:50 -05:00
adam j hartz
f4e9fc6bbe store more information in run_subproc 2016-03-06 15:26:07 -05:00
adam j hartz
1ddf5e21cd slight update to CompletedProcess 2016-03-06 15:23:05 -05:00
Anthony Scopatz
a417f67b2d push fix for namespaces 2016-03-06 13:21:04 -05:00
Anthony Scopatz
19707c75c9 Merge pull request #719 from gforsyth/ptk_pass_collision
fix collision with ptk multiline dedent and `pass`
2016-03-06 12:28:03 -05:00
adam j hartz
a718b71827 small temporary update 2016-03-06 12:25:29 -05:00
Gil Forsyth
381a872481 update multiline tests
only dedent when not on first line of document
2016-03-06 12:16:24 -05:00
adam j hartz
c9eb179ec3 Merge branch 'subproc_return_values' of https://github.com/adqm/xonsh into subproc_return_values 2016-03-06 11:58:19 -05:00
Gil Forsyth
e8b7003ee2 fix collision with ptk multiline dedent and pass
This is a bit of an edge case, but the password manager `pass` causes a
few headaches with the multiline carriage return logic.  Specifically,
because `pass` is a `DEDENT_TOKEN` when running `pass` as the password
manager the prompt will delete one indent-length's worth of characters
on a `<ENTER>` press.  This is a one-line fix to make sure that people
 can use `pass` in the PTK shell.
Just running `pass` will be interpreted as a Pythonic `pass`, but
commands like `pass git init` will work.

If someone has a xsh script that uses `pass` it should be wrapped in
`$[]`.
2016-03-04 10:26:18 -05:00
adam j hartz
d3795eaeac Merge pull request #718 from scopatz/nohup
lstrip before $[$[ check
2016-03-03 14:21:12 -05:00
Anthony Scopatz
9cb1a135ae lstrip before $[$[ check 2016-03-03 13:29:46 -05:00
Anthony Scopatz
033e767078 Merge branch 'adqm-fix_double_wrapping_check' 2016-03-03 13:00:35 -05:00
Anthony Scopatz
ad21481f46 Merge branch 'fix_double_wrapping_check' of github.com:adqm/xonsh into adqm-fix_double_wrapping_check 2016-03-03 12:59:56 -05:00
adam j hartz
4f6bab539b add pass-through attribute getters to CompletedProcess 2016-03-02 22:07:44 -05:00
adam j hartz
05e762aadd fix test case 2016-03-02 22:01:44 -05:00
adam j hartz
083605cf06 small typo 2016-03-02 22:01:36 -05:00
adam j hartz
eb46771eee another place to put ?( in parser 2016-03-02 22:00:35 -05:00
adam j hartz
48dca6afa8 add captured_object subproc mode 2016-03-02 22:00:12 -05:00
adam j hartz
8e84d0ee8e add new captured subproc type to parser 2016-03-02 21:44:28 -05:00
adam j hartz
e770e90fe7 make sure parens can match ?( 2016-03-02 21:44:12 -05:00
adam j hartz
c7a61c3728 add ?( token to lexer 2016-03-02 21:38:05 -05:00
adam j hartz
0d3519f954 revert some changes 2016-03-02 21:37:31 -05:00
adam j hartz
989238eeaa Merge branch 'master' into subproc_return_values 2016-03-02 21:31:57 -05:00
adam j hartz
5ca7d340e8 oops 2016-03-02 17:42:34 -05:00
adam j hartz
340b70999c better check for avoiding double-wrapping 2016-03-02 16:45:43 -05:00
Morten Enemark Lund
98e04122a8 Fixed problem where 'WIN_UNICODE_CONSOLE' was missing when running tests with mocked environment.
Added default value when getting 'WIN_UNICODE_CONSOLE' envvar.
2016-03-02 12:51:07 +01:00