Commit graph

4531 commits

Author SHA1 Message Date
Konstantinos Tsakiltzidis
65bd18c752 Merge pull request #1557 from xonsh/ptkeof
EOF fix for prompt-toolkit.
2016-08-15 04:31:08 +03:00
Anthony Scopatz
5fc7f0eaef EOF fix 2016-08-13 19:48:26 -04:00
Gil Forsyth
371418c736 Merge pull request #1551 from xonsh/pcrash
pip crash fix
2016-08-12 08:32:23 -04:00
Morten Enemark Lund
02c2738176 Merge pull request #1552 from xonsh/impacc
import hooks access check
2016-08-12 13:21:28 +02:00
Anthony Scopatz
b3af85f649 Merge pull request #1520 from laerus/hist_ts
history show filter by timestamps
2016-08-12 14:30:25 +10:00
Anthony Scopatz
eec3443602 Merge pull request #1544 from Carreau/fix-importhook
Fix importhook
2016-08-12 14:27:03 +10:00
Anthony Scopatz
610277d2dc Merge branch 'Carreau-paste-mode' 2016-08-12 00:23:55 -04:00
Anthony Scopatz
bddd7e43ab Merge branch 'paste-mode' of https://github.com/Carreau/xonsh into Carreau-paste-mode 2016-08-12 00:22:14 -04:00
Anthony Scopatz
1310e9210a logic error 2016-08-12 00:13:08 -04:00
Anthony Scopatz
55b4251672 import hooks access check 2016-08-11 22:23:06 -04:00
Anthony Scopatz
3d36b2f846 pip crash fix 2016-08-11 19:10:00 -04:00
Konstantinos Tsakiltzidis
bd9d77140e Merge pull request #1538 from xonsh/fix_color_indexes
Fix color indexes on Windows
2016-08-11 17:18:05 +03:00
Konstantinos Tsakiltzidis
b612048c60 news entry 2016-08-11 14:01:52 +03:00
Anthony Scopatz
8b8ec2b1e6 Merge pull request #1546 from Carreau/docs
Improve documentation and messaging.
2016-08-11 18:22:55 +08:00
Matthias Bussonnier
9e9c76e50a Improve documentation and messaging.
Develop info for aliases, and tell user that on first launch that if
they decide to configure now they can resume anytime.
2016-08-10 21:43:24 -07:00
Matthias Bussonnier
8d175d7d1b Add option for carriage return to not autoindent.
Cannot be controlled through the $INDENT option as there is also the
copy_margin kwarg.

Mostly useful when programmatically inserting text in prompt_toolkit
from already indented source.

remove the `indent_` variable and lookup dynamically the $INDENT
variable as well for consistency and reflect the user config at any
instant.

`carriage_return`  now takes the kwonly: `autoindent=True[|False]`
2016-08-10 21:22:45 -07:00
Matthias Bussonnier
bb3492e814 Add copy-margin everywhere 2016-08-10 21:21:03 -07:00
Matthias Bussonnier
414ccc3379 Don't always lookup document 2016-08-10 21:20:28 -07:00
Matthias Bussonnier
3c7753f4be Fix tests, document, and make install_hook() install only once. 2016-08-10 18:20:54 -07:00
Matthias Bussonnier
619073573e Reintroduce importhook for developer install
Also to avoid flake8 to tag that as "unused import" also make the
install of the hook explicit. It is anyway a better idea as "explicit is
better than implicit"

Closes #1543 and closes #1535
2016-08-10 17:26:20 -07:00
Jamie Bliss
35fca07db6 Test loading of xsh-based xontribs 2016-08-10 17:26:20 -07:00
Gil Forsyth
cdd2a341c8 Merge pull request #1532 from astronouth7303/xontribs-useall
Use `__all__` in the included xontribs
2016-08-10 20:25:10 -04:00
Konstantinos Tsakiltzidis
ac14dca51e flake8tify 2016-08-10 17:29:02 +03:00
Konstantinos Tsakiltzidis
6a44cf7f25 show timestamps option 2016-08-10 17:20:33 +03:00
Konstantinos Tsakiltzidis
f362165491 ensure_timestamp basic 2016-08-10 16:49:06 +03:00
Konstantinos Tsakiltzidis
733d871770 datetime_format arg 2016-08-09 21:26:08 +03:00
Morten Enemark Lund
51e2c272c3 Merge pull request #1529 from ericmharris/master
s.strip needs to be method call, 's.strip()', for the example to work
2016-08-07 21:04:10 +02:00
Morten Enemark Lund
95833137d0 Add try except block to handle to different editions of the code. Not the nicest solution... 2016-08-07 13:29:08 +02:00
Morten Enemark Lund
0f087b35f2 Add changelog entry 2016-08-07 13:24:12 +02:00
Morten Enemark Lund
fd14cb15b0 This accommodates a refactor in Prompt_toolkit which broke the windows colors hacks 2016-08-07 13:20:50 +02:00
Konstantinos Tsakiltzidis
c92211a453 Merge pull request #1534 from xonsh/lazy_intersection
add __or__ to lazyobject
2016-08-05 19:11:46 +03:00
Gil Forsyth
1524a78a93 add news entry 2016-08-05 11:27:24 -04:00
Gil Forsyth
e6fa716da2 add __or__ to lazyobject 2016-08-05 11:24:19 -04:00
Jamie Bliss
311b53b56f pep8 2016-08-04 22:31:45 -04:00
Jamie Bliss
1fb5ee1757 flake8 2016-08-04 22:28:21 -04:00
Jamie Bliss
9456620991 Use __all__ in the included xontribs 2016-08-04 19:19:28 -04:00
Konstantinos Tsakiltzidis
03adc942e2 Merge pull request #1519 from xonsh/srcenc
Source files in XONSH_ENCODING
2016-08-05 02:02:38 +03:00
Eric Harris
0fe1092b2e s.strip needs to be method call, 's.strip()', for the example to work
correctly.  While not necessary, adding the newline ('world\n') puts 'hello
world' on its own line of output instead of having the xonsh prompt
appended to it.
2016-08-04 10:37:26 -07:00
Konstantinos Tsakiltzidis
f5f83ea3a0 -f option for datetime format 2016-08-04 15:22:19 +03:00
Konstantinos Tsakiltzidis
115cf7cd18 new %Y-%m-%d %H:%M envvar 2016-08-04 14:43:33 +03:00
Konstantinos Tsakiltzidis
c390021089 ensure_slice fix for -1 2016-08-04 14:14:22 +03:00
Konstantinos Tsakiltzidis
4ef9322054 _hist_parse_args ref/fix for some cases 2016-08-04 14:10:44 +03:00
Morten Enemark Lund
ff0603721a Merge pull request #1527 from astronouth7303/fix-appveyor
Point at the right appveyor
2016-08-04 08:12:29 +02:00
Jamie Bliss
25e4750b40 Point at the right appveyor 2016-08-04 01:04:48 -04:00
Anthony Scopatz
26ab42232a Merge pull request #1524 from astronouth7303/xontrib-all
Add support for `__all__` in xontribs
2016-08-03 10:22:21 -07:00
Jamie Bliss
5816059c3c Some fixes from the PR 2016-08-03 11:57:20 -04:00
Jamie Bliss
aac8db471a Fixed a flaw in the test setup. Tests pass now. 2016-08-03 00:42:36 -04:00
Jamie Bliss
ef51910d2e Add some tests (which are failing) 2016-08-03 00:33:39 -04:00
Jamie Bliss
f24f60f946 Add support for __all__ in xontribs. 2016-08-03 00:05:08 -04:00
Anthony Scopatz
81558020e4 Merge pull request #1523 from xonsh/remove_anaconda_build
Remove anaconda build
2016-08-02 13:19:50 -07:00