Commit graph

1597 commits

Author SHA1 Message Date
David Strobach
1f2b92bd32 Changelog entry 2020-08-27 00:06:56 +02:00
Anthony Scopatz
17e56563a5
Merge pull request #3719 from laloch/return-star-expr
Add support for Python 3.8's starred expressions in return statement
2020-08-26 14:17:07 -05:00
David Strobach
fca19d13fe Changelog entry 2020-08-26 20:32:44 +02:00
Anthony Scopatz
5aed9ee5ca Updated CHANGELOG for 0.9.20 2020-08-26 11:58:11 -05:00
David Strobach
94246a2f8f Changelog entry 2020-08-25 01:35:05 +02:00
David Strobach
528d2f913a
Merge pull request #3700 from xonsh/unlocked
locked issue
2020-08-24 10:25:32 +02:00
David Strobach
2e3b56f799 Changelog entry 2020-08-23 11:24:34 +02:00
Anthony Scopatz
22610f48d6 THREAD_SUBPROCS=None for xonshrc files 2020-08-20 20:11:37 -05:00
Anthony Scopatz
70bd020858
Merge pull request #3660 from laloch/fstrings
Improve handling of f-strings
2020-08-20 15:25:42 -05:00
Anthony Scopatz
7dc4129560 locked issue 2020-08-17 22:00:36 -05:00
David Strobach
03fa6d27e9 Add changelog entry 2020-08-17 04:57:39 +02:00
Anthony Scopatz
0d1d3574ea Env.rawkeys() 2020-08-16 18:46:02 -05:00
David Strobach
8dd4c3e5c4
Merge pull request #3695 from xonsh/pip-files
fixed pip install && setup.py sdist to include generated files
2020-08-17 00:27:54 +02:00
Anthony Scopatz
3c816367bb Merge branch 'ansi_prompt' of https://github.com/dyuri/xonsh into dyuri-ansi_prompt 2020-08-16 17:25:03 -05:00
Anthony Scopatz
d6bc66a0e5 news 2020-08-16 13:06:12 -05:00
Gyuri Horak
bd9b3d6a9f
Support for mixed (xonsh + ANSI) prompt styling. 2020-08-16 17:56:02 +02:00
Anthony Scopatz
fc897fa55c
Merge pull request #3675 from laloch/walrus
Add Python 3.8 assignment expressions ("walrus"/PEP 572)
2020-08-16 10:28:54 -05:00
Anthony Scopatz
1df65ee369
Merge pull request #3688 from laloch/env-hostname
Add $HOSTNAME and $HOSTTYPE environment variables
2020-08-16 01:56:39 -05:00
David Strobach
3c5b999405 Changelog entry 2020-08-15 19:28:34 +02:00
Gyuri Horak
938109673d
ANSI escape code support in PROMPT/RIGHT_PROMPT 2020-08-14 18:04:42 +02:00
Anthony Scopatz
c482940c88
Merge pull request #3685 from laloch/abbrevs-set-cursor
Allow for setting cursor position within expanded abbrev
2020-08-13 23:44:58 -05:00
Anthony Scopatz
9d83bf9aba
Merge pull request #3559 from xxh/rever_appimage
xonsh AppImage to xonsh GitHub assets
2020-08-13 14:41:57 -04:00
David Strobach
2a9be599e6 Changelog entry 2020-08-13 14:23:05 +02:00
anki-code
6026e1a2a3 Merge branch 'master' of https://github.com/xonsh/xonsh into rever_appimage 2020-08-12 13:29:03 +03:00
David Strobach
3c20e4e1e8 Changelog entry 2020-08-12 03:34:40 +02:00
Anthony Scopatz
377ab8d9de
Merge pull request #3662 from bobhy/is_3661
drop dependence on py.exe on Windows
2020-08-11 20:12:01 -04:00
David Strobach
fbf6cf2410 Changelog entry 2020-08-11 15:21:46 +02:00
Anthony Scopatz
4bbd487af3 Merge branch 'master' into rever_appimage 2020-08-10 17:58:37 -05:00
Morten Enemark Lund
70da6af287 Merge branch 'fix_test_suite' into vend_ptk 2020-08-10 13:27:58 +02:00
Morten Enemark Lund
e6137e1a0e Add news item 2020-08-10 13:27:20 +02:00
Morten Enemark Lund
1acfeb771f Merge remote-tracking branch 'remotes/origin/master' into vend_ptk 2020-08-10 11:22:57 +02:00
Bob Hyman
39b4718f1b Merge branch 'master' into is_3661 2020-08-09 21:58:19 -04:00
Anthony Scopatz
2cb7e1bcef news 2020-08-09 18:03:39 -05:00
Anthony Scopatz
6befa8af6d Updated CHANGELOG for 0.9.19 2020-08-09 14:58:12 -05:00
Matthias Bussonnier
0431e6948a news item 2020-08-08 22:20:51 -07:00
Bob Hyman
91f1962d28 Enable xonsh-cat for invocation directly from OS shell. 2020-08-08 02:33:07 -04:00
Bob Hyman
f321ebf041 temp fix for #3666 2020-08-08 02:00:18 -04:00
Bob Hyman
d826d201cc Merge branch 'master' into is_3661 2020-08-07 20:03:18 -04:00
Bob Hyman
698b9d4d9b drop dependence on py.exe on Windows 2020-08-06 14:00:21 -04:00
Morten Enemark Lund
34c6549b13 Add news entry 2020-08-06 11:36:53 +02:00
Anthony Scopatz
8f131a089c
Merge pull request #3656 from daniel-shimon/print-mocks-correctly
Call repr() when pretty() fails in _pprint_displayhook
2020-08-05 12:54:07 -05:00
Anthony Scopatz
c40c9de9ad
Merge pull request #3627 from laloch/argv0
Set argv[0] of a subprocess to the command as inserted by the user
2020-08-05 10:41:48 -05:00
Anthony Scopatz
9ca0906793
Merge pull request #3563 from xonsh/fix-json-history
Fix json history
2020-08-05 10:39:30 -05:00
Daniel Shimon
d41e6ddf72 Call repr() when pretty() fails in _pprint_displayhook 2020-08-05 17:50:53 +03:00
David Dotson
a8d4a57f01
Environment variable registration, deregistration (addresses #3227) (#3377)
* First attempt at register/deregister machinery for envvars

* Added detailed docstring, simplified ensurers

Also added some type checking that became clear from docstring writing.

* Changes in response to @scopatz review

Simplified kwarg names.

* defaultval -> default

* Created new Var namedtuple, as well as DEFAULT_VARS

We should now delete DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS, and
refactor Env to use the new single namedtuple and the DEFAULT_VARS dict

* Removed DEFAULT_ENSURERS, DEFAULT_VALUES, DEFAULT_DOCS

Now need to edit Env to use new DEFAULT_VARS, Var namedtuple

* Finished updating Env object to use new combined Var

Also made corresponding changes elsewhere ensurer was used

* Working on test failures

* More fixes in light of test failures

* Set default values for Var in register.

There's a bit of duplication here, but makes for a cleaner function.

* Black reformatting on environ.py

* Removed history replay

* Added register tests

* Added addtional deregistration test

* Removed all replay references, in docs too

* Added news item for env-reg-dereg

* trigger rebuild

* doc fix

* more doc fixes

* again

* attr names

* reorder imports

* fix flake error

Co-authored-by: Anthony Scopatz <scopatz@gmail.com>
2020-08-05 10:39:11 -04:00
Matthias Bussonnier
784c5286ef
Remove most of Python 3.5 compatibility code. (#3654)
There  now should not be any remaining  3,5 conditinal code.
We now directly use inspect's getouterframes, so remove it from
inspector

The 3.5 parser get merged into 3.6 and a number of global vaiable
referring to 3.5/3.6 are now gone.

The only remaining mention is appveyor test, which are anyway failing
but not being seen as so by GitHub, so I'll leave them alone.
2020-08-05 10:29:31 -04:00
David Strobach
6e9d1063b5 News entry 2020-08-05 11:51:44 +02:00
Anthony Scopatz
40352638bf
Merge pull request #3623 from laloch/fix-help-def
Fix help operator not displaying definitions
2020-08-04 21:12:24 -05:00
Anthony Scopatz
a816084d44
Merge pull request #3650 from daniel-shimon/improve-completers
Add tests and fix bugs for RichCompletion and Jedi xontrib
2020-08-04 21:11:47 -05:00
Daniel Shimon
5f50b620b7 xontrib: jedi: Add jedi completer tests 2020-08-05 00:15:17 +03:00