Commit graph

9158 commits

Author SHA1 Message Date
David Strobach
5c2e5a3d8d vox: Restore vox functionality
After the recent changes in environment defaults, the vox xontrib
could not "see" the virtual environments and work with them.
2020-08-23 11:16:26 +02:00
Morten Enemark Lund
be68670f1c
Merge pull request #3708 from xonsh/thread-docs
more docs about thread_subprocs
2020-08-23 07:15:01 +02:00
Anthony Scopatz
d5223f34fd more docs 2020-08-22 19:37:29 -05:00
David Strobach
eb738994ca
Merge pull request #3705 from xonsh/nothreadrc
THREAD_SUBPROCS=None for xonshrc files
2020-08-23 01:40:30 +02:00
Anthony Scopatz
7f8b20cc28
Merge pull request #3707 from laloch/docs-fix-index-panes
index.html: Activate correct pane in Recent Update Area
2020-08-21 13:00:31 -05:00
David Strobach
a2ec70749f index.html: Activate correct pane in Recent Update Area 2020-08-21 19:31:57 +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
David Strobach
5edd851feb Fix literal whitespace being deleted from f-strings
Fixes an issue with
 f"$HOME       = {$HOME}"
resulting in
 "$HOME= /home/foobar"
2020-08-20 05:41:28 +02:00
David Strobach
289fb15774 fstring_adaptor: Address issues found by reviewer 2020-08-20 04:21:34 +02:00
David Strobach
c3a354781b Finalize f-string handler transition
- Moves the f-string handler into a separate FStringAdaptor class.
- Removes helper dictionary mapping int ID to f-string field.
  The f-string fields are now rather patched early directly into the
  AST as an argument to eval_fstring_field. This solves the problems
  with f-string fields lifespan management.
2020-08-17 13:41:11 +02:00
Morten Enemark Lund
32aa45b265
Merge pull request #3696 from xonsh/enviter
Env.rawkeys()
2020-08-17 07:53:23 +02:00
David Strobach
9879fce927 Support Python 3.8 self-documenting f-string expressions 2020-08-17 04:57:39 +02:00
David Strobach
03fa6d27e9 Add changelog entry 2020-08-17 04:57:39 +02:00
David Strobach
12c8990e53 Fix f-string tests 2020-08-17 04:57:39 +02:00
David Strobach
dcedf4ac64 Improve handling of f-strings 2020-08-17 04:57:39 +02:00
Anthony Scopatz
43e7827a9a fix tests 2020-08-16 19:13:35 -05: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
Gyuri Horak
a4b61f5fc1
Moved tokenize_ansi into ptk_shell.shell, added unit tests for ANSI tokenization. 2020-08-16 20:13:07 +02:00
Anthony Scopatz
d6bc66a0e5 news 2020-08-16 13:06:12 -05:00
Anthony Scopatz
7d1a7ea9cb fixed pip install && setup.py sdist to include generated files 2020-08-16 13:03:57 -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
David Strobach
a04261c2a5 Add $HOSTNAME and $HOSTTYPE environment variables 2020-08-15 19:28:30 +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
David Strobach
9ba2eb5934 abbrevs: Allow for setting cursor position within expanded abbrev 2020-08-13 14:12:16 +02:00
David Strobach
98fb262fbb
Merge pull request #3684 from xonsh/remove_appveyor
Remove unused appveyor scripts [no news file needed]
2020-08-13 11:56:51 +02:00
Morten Enemark Lund
8aaf7c3c72 Remove unused appveyor scripts 2020-08-13 08:37:53 +02:00
Jamie Bliss
d3e4ae0fc1
Merge pull request #3679 from laloch/env-yield-str
Only return string keys while iterating over __xonsh__.env
2020-08-12 15:33:03 -04:00
Morten Enemark Lund
ea828ec0a5
Merge pull request #3674 from das-g/fix-grammar
Fix grammar on new landing page
2020-08-12 20:33:15 +02:00
David Strobach
4a528cae7f
Merge pull request #3683 from xonsh/single_ci_runs
Only run ci once per PR / push
2020-08-12 16:59:25 +02:00
Morten Enemark Lund
57eb347111 Only run CI once for black and elm 2020-08-12 15:47:27 +02:00
Morten Enemark Lund
23a1f0a88a dummy commit to trigger CI 2020-08-12 15:43:46 +02:00
Morten Enemark Lund
a0d366ca83 Only run ci once per PR / push 2020-08-12 15:34:54 +02:00
David Strobach
bdfbc4e398
Merge pull request #3682 from xonsh/add_all_ptk_packages
Fix vended prompt_toolkit packages not beeing installed with pip
2020-08-12 15:24:18 +02:00
Morten Enemark Lund
441c0a0c0a Fix vended prompt_toolkit packages not beeing installed with pip 2020-08-12 14:56:26 +02:00
David Strobach
8d778d64ed
Merge pull request #3680 from xonsh/ptk_vend_bug
Fix small issue when checking PTK version
2020-08-12 12:59:18 +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
Morten Enemark Lund
05ab4962f4 fix small issue when checking PTK version 2020-08-12 12:29:02 +02:00
David Strobach
3c20e4e1e8 Changelog entry 2020-08-12 03:34:40 +02:00
David Strobach
3a45923b83 Only return string keys while iterating over __xonsh__.env 2020-08-12 03:34:34 +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
40436e3a97 Add walrus tests 2020-08-11 18:26:40 +02:00