Commit graph

6966 commits

Author SHA1 Message Date
Anthony Scopatz
99d529ae2c emacslient no longer threadable 2017-11-09 20:41:19 -05:00
Gil Forsyth
559e53fc10
Merge pull request #2527 from xonsh/histcor
fixed JSON history corruption
2017-11-09 09:20:16 -05:00
Gil Forsyth
7876c117b2
Merge pull request #2528 from xonsh/openparen
updated python completer to allow for initial open paren
2017-11-09 09:17:20 -05:00
Anthony Scopatz
65c80f94c1 updated python completer to allow for initial open paren 2017-11-08 21:42:58 -05:00
Anthony Scopatz
5a958bfe71 fixed JSON history corruption 2017-11-08 21:27:28 -05:00
Anthony Scopatz
88647b4a8f
Merge pull request #2434 from xonsh/no_rc_for_scripts
Don't load xonshrc is xonsh is running a script
2017-11-07 21:33:38 -05:00
Gil Forsyth
2bc22c9d18
Merge pull request #2516 from nilehmann/add_fstrings_to_check_quotes
Allow f-strings in check_quotes
2017-11-06 18:40:52 -05:00
Jamie Bliss
e26585ffda
Merge pull request #2522 from Danmou/improved_autopair
Improvements to 'autopair' behavior
2017-11-06 15:15:50 -05:00
Nico Lehmann
808b42e5ef Fix news entry 2017-11-06 10:52:14 -08:00
Nico Lehmann
acb9b0028f Adding news entry 2017-11-06 09:14:41 -08:00
Gil Forsyth
6a4b10adda
Merge pull request #2507 from chronitis/numeric_underscores
PEP-515 Support (Underscores in Numeric Literals)
2017-11-06 10:01:03 -05:00
Danmou
249da1322e Further improvement for autopair in nested brackets 2017-11-04 18:43:35 +01:00
Danmou
db527c47c9 Update changelog 2017-11-03 08:55:30 +01:00
Danmou
36274228ff Implements #2520 2017-11-02 23:16:54 +01:00
Nico Lehmann
0b27206d50 Allow fstrings in check_quotes 2017-10-27 23:58:25 -07:00
Jamie Bliss
f0ee71a0db Merge pull request #2508 from ahundt/patch-2
bash_to_xsh.rst add command line args to table
2017-10-09 12:38:13 -04:00
Andrew Hundt
3f6a780b5e bash_to_xsh.rst add command line args to table 2017-10-09 12:09:29 -04:00
Gordon Ball
e763b913aa Fix continuation line indent for flake8 2017-10-09 13:51:12 +00:00
Gordon Ball
bd2bcdc291 Skip parser tests if python < 3.6 2017-10-09 13:36:34 +00:00
Gordon Ball
8ab20981ab Add news/numeric_underscores.rst 2017-10-09 13:24:49 +00:00
Gordon Ball
d45daf97e4 Test numeric underscores in parser, lexer 2017-10-09 13:13:28 +00:00
Gordon Ball
69fd9091b0 Allow numbers containing underscores
This adds support for PEP-515 (underscores in numeric literals). Support
is added unconditionally on underlying python version by patching the
tokenizer with the regexes used in cpython 3.6, then modifying the
parser to unconditionally remove underscores before evaluating numeric
literals, which avoids needing to check for the underlying version.
2017-10-09 13:04:17 +00:00
Morten Enemark Lund
9ecdfe34e8 Merge pull request #2506 from ahundt/patch-1
tutorial.rst command line arguments / parameters
2017-10-06 10:32:06 +02:00
Andrew Hundt
c1d6bdfee3 tutorial.rst command line arguments / parameters
added keywords so http://xon.sh/tutorial.html#executing-commands-and-scripts is more searchable
2017-10-05 18:00:51 -04:00
Gil Forsyth
2c6852767e Merge pull request #2493 from jb-leger/predictor_libgpm
Adding `libgpm` in pattern used for bin analysis in default backgroundable predictors
2017-09-27 20:17:55 -04:00
Gil Forsyth
12362d7dd5 Resolve behavior between script call and -i 2017-09-27 19:16:14 -04:00
Gil Forsyth
14df0792de Preserve xonsh interactive flag when running scripts 2017-09-27 19:16:14 -04:00
Gil Forsyth
60f1d7ad35 Add news entry 2017-09-27 19:16:14 -04:00
Gil Forsyth
1f464fb193 Don't load xonshrc is xonsh is running a script
As per discussions with @asmeurer -- if xonsh is being used to launch a script,
e.g.

```
xonsh run_my_cool_deploy.xsh
```

then it should not load the `xonshrc` file since this should be reserved for
interactive functionality and we don't want side effects in the script.

Basically, if you need a xontrib to be loaded for your script, load it in your
script
2017-09-27 19:16:14 -04:00
Jean-Benoist Leger
c839fcea0e adding test for libgpm used in background threadable predictors 2017-09-05 10:22:49 +02:00
Jean-Benoist Leger
aef71864eb Adding libgpm in pattern used for bin analysis in default backgroundable predictors 2017-09-05 10:17:59 +02:00
Gil Forsyth
c787f9ab3a Merge pull request #2483 from ahundt/sphinx-layout-improvements
Sphinx layout improvements
2017-08-15 18:10:57 -04:00
Andrew Hundt
fce093fd3b reverse build changes for travis 2017-08-15 13:10:20 -04:00
Andrew Hundt
9feedbf2e9 remove sphinx-readable-theme requirement 2017-08-15 11:25:24 -04:00
Andrew Hundt
80a43d8697 return to cloud_sptheme so new PR only has layout improvements 2017-08-15 11:16:05 -04:00
Andrew Hundt
0b324fdd08 Revert "remove "edit on github" banner since it needs to be replaced with something else"
This reverts commit 92c64ad23c.
2017-08-15 11:13:41 -04:00
Morten Enemark Lund
ad7928e7ac Merge branch 'sphinx-readable-theme-pypi' of https://github.com/ahundt/xonsh into ahundt-sphinx-readable-theme-pypi 2017-08-15 10:55:55 +02:00
Andrew Hundt
8f2db3f5ae requirements-docs.txt add cloud_sptheme back for travis 2017-08-14 17:40:18 -04:00
Andrew Hundt
92c64ad23c remove "edit on github" banner since it needs to be replaced with something else 2017-08-14 17:37:53 -04:00
Andrew Hundt
3fb8131cb7 ascii_conch_part_transparent_tight.png added and enabled in sphinx conf.py 2017-08-14 17:02:32 -04:00
Morten Enemark Lund
629d96e3f3 Add missing --deploy-repo xonsh/xonsh-docs 2017-08-14 22:15:00 +02:00
Morten Enemark Lund
5511bc8af4 Tweak travis.yml to build @ahundt docs suggestions 2017-08-14 22:06:49 +02:00
Andrew Hundt
afe51eb707 requirements-docs.txt updated with sphinx-readable-theme 2017-08-13 21:58:00 -04:00
Andrew Hundt
9557950cc4 Greatly improved webpage layout so it is easier to find what you need. (#2477) 2017-08-13 21:48:26 -04:00
Gil Forsyth
aa812cde6e Merge pull request #2471 from xonsh/logicerr
stupid file extension logic error
2017-08-10 08:50:13 -04:00
Anthony Scopatz
6cf20b25a9 stupid file extension logic error 2017-08-09 20:04:01 -07:00
Konstantinos Tsakiltzidis
090bfa2456 Merge pull request #2465 from xonsh/win_escape
Fixed `escape_windows_cmd_string` not handling ^ correctly
2017-08-06 12:35:25 +03:00
Morten Enemark Lund
876740b535 Fixed escape_windows_cmd_string not handling ^ correctly 2017-08-01 21:43:46 +02:00
Gil Forsyth
5cb3e8dd55 Merge pull request #2456 from xonsh/sub-pip-xip
Substitute xip for pip in places it should be used.
2017-07-25 18:44:20 -04:00
Jamie Bliss
fb9dfe8d1b Flake8 2017-07-25 15:06:18 -04:00