Anthony Scopatz
41a600de51
Merge branch 'patch-1' of https://github.com/sfermigier/xonsh into vox-rm
2020-08-01 14:37:38 -05:00
Anthony Scopatz
8d676bd061
Merge pull request #3606 from laloch/xontrib-pdb
...
Add pdb xontrib
2020-08-01 13:34:20 -05:00
Anthony Scopatz
8b933da995
Merge pull request #3632 from dyuri/issue_3402
...
#3402 set the exit code for single commands
2020-08-01 12:34:40 -05:00
Anthony Scopatz
a65b940992
Merge pull request #3630 from laloch/fix-linecont
...
Fix ctx-free parser stripping the trailing newline
2020-08-01 12:34:06 -05:00
Gyuri Horak
549dee1f77
Merge branch 'master' into issue_3402
2020-08-01 18:28:46 +02:00
Anthony Scopatz
dbd9279a0c
Merge pull request #3634 from laloch/fix-alias-return
...
Fix TypeError triggered by unexpected return from callable alias
2020-08-01 11:12:37 -05:00
Anthony Scopatz
1391aa7721
Merge pull request #3649 from jaraco/goodbye-distutils
...
Remove distutils fallback.
2020-08-01 10:59:51 -05:00
Jason R. Coombs
ad3351462b
Declare build-time dependency
2020-07-29 17:08:56 -04:00
Jason R. Coombs
c63e1665a7
Add changelog entry
2020-07-29 15:57:14 -04:00
Jason R. Coombs
f67c6e83ec
Remove distutils fallback. Fixes #3638 .
...
Also remove Python 2 compatibility imports.
2020-07-29 15:53:13 -04:00
Gyuri Horak
a1a08386bc
Single command return code integration tests fixed for macOS ( #3402 )
2020-07-29 08:55:48 +02:00
Gyuri Horak
cf9bc3c82e
News entry rst fix ( #3402 )
2020-07-29 08:26:51 +02:00
Gyuri Horak
9c0ac6e406
News entry for single command exit code fix ( #3402 )
2020-07-28 22:08:15 +02:00
David Strobach
5ff57aee7f
changelog entry
2020-07-28 20:04:17 +02:00
David Strobach
1ad143f9a5
Fix TypeError triggered by unexpected return from callable alias
2020-07-28 20:04:11 +02:00
David Strobach
3d954cacae
tests: Fix line continuations test
2020-07-28 20:00:07 +02:00
David Strobach
7bec47bd19
changelog entry
2020-07-28 20:00:07 +02:00
David Strobach
b64d3b969d
Fix ctx-free parser stripping the trailing newline
2020-07-28 20:00:07 +02:00
Anthony Scopatz
b413d5ea70
Merge pull request #3643 from daniel-shimon/improve-completers
...
Improve completers and Jedi xontrib
2020-07-28 11:11:50 -05:00
Gyuri Horak
46143f2b6e
Integration tests for single command return codes #3402
2020-07-28 17:35:16 +02:00
Anthony Scopatz
acc5ddeaf7
make GH Actions more restartable ( #3646 )
2020-07-28 09:43:25 -04:00
Gyuri Horak
76cd2f543f
Merge branch 'master' into issue_3402
2020-07-28 11:26:53 +02:00
Anthony Scopatz
6d0e6ee1ae
Merge pull request #3524 from bobhy/failback_shell_env
...
Failback shell env
2020-07-27 21:21:32 -05:00
Daniel Shimon
34cb6e18c2
Add PR news for improve-completers
2020-07-28 02:58:33 +03:00
Daniel Shimon
f48b37939d
xontrib: jedi: Improve Jedi completer
...
* Use new Jedi API
* Replace the existing python completer
* Create rich completions with extra info
* Use entire multiline document if available
* Complete xonsh special tokens
* Be aware of _ (last result)
* Only show dunder attrs when prefix ends with '_'
2020-07-28 02:58:33 +03:00
Daniel Shimon
5686b94245
completers: Enable display and description texts with RichCompletion
2020-07-28 02:58:33 +03:00
Anthony Scopatz
674c41782c
Merge pull request #3636 from Achimh3011/pkg_resources_missing_methods
...
Provide the XonshImportEventLoader with all the functions that pkg_re…
2020-07-27 12:35:43 -05:00
Achim Herwig
d15cd6a184
Make black happy.
2020-07-27 18:46:48 +02:00
Daniel Shimon
c91aa689bd
completers: Enable access to ptk's multiline document
...
Completers can access the current multiline document when prompt_toolkit is used.
They can do this via xonsh.completers.tools.get_ptk_completer(),
and if it's not None, it's '.current_document' will contain the object.
2020-07-27 18:44:58 +03:00
Daniel Shimon
5b33427c61
base completer: Don't complete unnecessarily
2020-07-27 18:44:58 +03:00
Daniel Shimon
b7bba551e1
completer: Fix crash in completer
...
Fixed crash when completing the 'completer' command and the cursor is inside a word
I.E. 'completer some<TAB>thing'
2020-07-27 18:44:58 +03:00
Achim Herwig
3f9f08ceca
Use frozenset and provide NEWS entry as suggested by scopatz.
2020-07-27 16:54:16 +02:00
Anthony Scopatz
ebc756d6c6
Merge pull request #3614 from con-f-use/master
...
Expand xonshrc documentation
2020-07-27 09:43:12 -05:00
Anthony Scopatz
f4b317f867
Merge pull request #3575 from paugier/hg-get-branch-topic
...
get_hg_branch aware of topics
2020-07-27 09:41:53 -05:00
con-f-use
49615e9e49
add warning about JSON hack
2020-07-27 09:37:32 +02:00
Anthony Scopatz
6df0e9639f
Merge pull request #3600 from bobhy/is_3599
...
fix history gc for json backend
2020-07-26 19:58:52 -05:00
Daniel Shimon
1b7892186a
aliases: Fix typo in 'source' alias
2020-07-24 02:49:55 +03:00
Bob Hyman
7e6e47163f
perf tweaks per review
2020-07-21 19:00:22 -04:00
Achim Herwig
342d942227
Adress review comment...
2020-07-12 18:02:25 +02:00
Achim Herwig
9de03038c9
Shortened version that provides correct hasattr semantics.
2020-07-11 12:31:35 +02:00
Achim Herwig
9bd858e6b4
Provide the XonshImportEventLoader with all the functions that pkg_resources would expect.
...
Fixes #3607
Signed-off-by: Achim Herwig <achim.herwig@wodca.de>
2020-07-11 12:31:35 +02:00
con-f-use
dd3baf5835
fix typo in docs/xonshrc.rst
...
Co-authored-by: Burak Yigit Kaya <ben@byk.im>
2020-06-30 20:00:31 +02:00
Bob Hyman
de07c3ed37
Don't run test_integrations.py with XONSH_DEBUG=1
2020-06-28 14:21:53 -04:00
Bob Hyman
a4e696ad94
Display history size after first gc pass; (debug only) show progress enumerating history files
2020-06-28 14:08:30 -04:00
Bob Hyman
022972ee92
Wordsmith news to trigger another CI pass.
2020-06-26 20:47:54 -04:00
Bob Hyman
15f3d8852b
fix history gc for JSON backend; deal with large accumulations while this was broken
2020-06-26 20:47:54 -04:00
Bob Hyman
dde73ba72c
Xonsh failback to /usr/bin/bash in preference to /etc/shells
2020-06-25 19:49:04 -04:00
con-f-use
51671628e3
typo in docs/xonshrc.rst
...
Co-authored-by: Morten Enemark Lund <melund@gmail.com>
2020-06-26 00:54:38 +02:00
Morten Enemark Lund
3ee01444a9
Merge pull request #3613 from bobhy/is_3608
...
LS_COLORS add 'mh', 'ca', change 'rs' to 'fi', enable ln=target
2020-06-25 23:34:47 +02:00
Bob Hyman
6492a61171
test
2020-06-24 20:03:56 -04:00