Commit graph

4494 commits

Author SHA1 Message Date
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
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
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
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
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
Morten Enemark Lund
f1ac29a45a Add new entry 2016-08-02 22:03:54 +02:00
Morten Enemark Lund
cdb969d434 Remove files and references related to Anaconda Build... 2016-08-02 21:43:50 +02:00
Anthony Scopatz
f0993f56b3 source files in XONSH_ENCODING 2016-08-01 20:04:54 -04:00
Konstantinos Tsakiltzidis
df00f02baf Merge pull request #1516 from SirNickolas/master
Fix #1515
2016-08-01 18:13:49 +00:00
Anthony Scopatz
74f6fbbd49 Merge branch 'santagada-fix-xon.sh-python' 2016-07-31 17:07:49 -04:00
Anthony Scopatz
37259d99e5 Merge branch 'fix-xon.sh-python' of https://github.com/santagada/xonsh into santagada-fix-xon.sh-python 2016-07-31 17:04:47 -04:00
Gil Forsyth
d2b614096d Merge pull request #1473 from laerus/hist_ref
history refactor
2016-07-31 14:25:20 -04:00
laerus
2a10da739f news 2016-07-31 03:32:03 +03:00
laerus
0d7f43d55b bringing back the path.join 2016-07-31 03:22:41 +03:00
laerus
9a233e0c95 docs fix/old test tweak 2016-07-31 02:22:26 +03:00
laerus
c063bff450 Merge branch 'master' into hist_ref 2016-07-31 01:32:40 +03:00
laerus
72909ec220 cleanup 2016-07-31 01:32:12 +03:00
laerus
a7406bdaa8 _zsh_hist_parser fix/datetime arguments 2016-07-31 01:25:30 +03:00
laerus
c1d392c4f2 _find_histfile_var ref 2016-07-31 00:43:11 +03:00
laerus
1a362c600b cleanup, fix for new test case 2016-07-30 23:29:53 +03:00
laerus
dd61db0751 argparser not cool 2016-07-30 22:18:33 +03:00
Leonardo Santagada
080408ee2a code review adjustments and news entry 2016-07-30 20:38:18 +02:00
Nickolay Bukreyev
34a64b0a97 Flake8 fix 2016-07-30 20:21:29 +07:00
Nickolay Bukreyev
1f88ee9cb4 Fix #1515 2016-07-30 19:08:59 +07:00
Nickolay Bukreyev
ab8fca0850 Make --version print a str rather than a tuple 2016-07-30 18:34:31 +07:00
Anthony Scopatz
2c028f5d41 Merge pull request #1514 from astronouth7303/vox-fix-path
Fix #1513
2016-07-30 01:32:18 -07:00
Jamie Bliss
c305592c0b Remove leftover debugging statement 2016-07-30 03:36:59 -04:00
Jamie Bliss
9d727652c7 Fix #1513
Forgot to copy a mutated value on save. Added a test to prevent
regression.
2016-07-30 03:35:39 -04:00
Anthony Scopatz
1034612eca Merge pull request #1511 from astronouth7303/add-xontrib-z
Submitting xontrib-z
2016-07-29 15:48:10 -07:00
Jamie Bliss
77d509c33d Mis-paste 2016-07-29 13:49:49 -04:00
Jamie Bliss
b0a594cbd3 Submitting xontrib-z 2016-07-29 13:43:42 -04:00
laerus
80a9798981 cleanup 2016-07-29 19:42:00 +03:00
laerus
14f37adf20 new failing tests for _hist_parse_args 2016-07-29 19:24:08 +03:00
Leonardo Santagada
1d71395f6b fix xon.sh to make it take the current python and not a generic python3 2016-07-29 17:49:06 +02:00
laerus
40abd407cd numerate option 2016-07-29 15:30:39 +03:00
laerus
0cb77dfdfe cleanup/numerate p1 2016-07-29 14:56:14 +03:00
laerus
75583056db _all_xonsh_parser ref 2016-07-29 14:15:14 +03:00
laerus
31ed4baaf6 pep8 a horror story, a good one though 2016-07-29 00:51:08 +03:00