Commit graph

1693 commits

Author SHA1 Message Date
Anthony Scopatz
4087fc95a8
Merge pull request #3925 from daniel-shimon/command-pipeline-raw-out
procs: Add CommandPipeline.raw_out for retreival of the raw stdout bytes
2020-11-10 10:07:27 -06:00
Anthony Scopatz
996892aec8
Merge pull request #3933 from dyuri/ptk_support_for_themes
PTK support for custom themes (second try)
2020-11-09 22:09:06 -06:00
Daniel Shimon
97d076855b procs: Allow bytes objects in the @() operator 2020-11-06 18:33:27 +02:00
Daniel Shimon
fb9b5eb709 procs: Add CommandPipeline.raw_out and raw_err for retreival of the raw stdout/err bytes 2020-11-06 15:38:34 +02:00
Bob Hyman
b44dc70af7
Add $COMPLETION_MODE='menu-complete' to enable readline menu-complete (#3876)
* Add $COMPLETION_MODE='menu-complete' to enablereadline menu-complete -like behavor in completion.

* Tests

Co-authored-by: Bob Hyman <bob.hyman@bobssoftwareworks.com>
2020-11-05 16:12:15 -05:00
Gyuri Horak
e2701cb134
ansi color fix + unit tests extended with new (non-pygments) values 2020-10-27 17:28:19 +01:00
Gyuri Horak
31dd811ef0
re-apply original changes 2020-10-27 15:23:58 +01:00
Anthony Scopatz
f99bfe1c94
Revert "PTK support for custom themes" 2020-10-26 10:48:00 -05:00
Gyuri Horak
68504b6ec5
master merge 2020-10-25 18:17:45 +01:00
Anthony Scopatz
25099360f8
Merge pull request #3923 from jnoortheen/update-test-vc-branch
test: update vc-branch test. default branch could be main as well
2020-10-23 17:07:08 -05:00
Gyuri Horak
39b2a50e7d
style override support for readline/ansi 2020-10-23 17:10:54 +02:00
Gyuri Horak
f18f45bcab
color_token_by_name behaves strangely in unit tests, color name related test removed 2020-10-23 16:54:34 +02:00
Gyuri Horak
07217abc45
pygments.Token != xonsh.ptk_shell.Token 2020-10-23 16:32:44 +02:00
Gyuri Horak
89b6253c14
PTK style overrides without pygments 2020-10-23 16:04:57 +02:00
David Strobach
1ee8e38fba
Merge pull request #3677 from daniel-shimon/exec-aliases-on-io-operators
Create ExecAlias for aliases that contain IO operators
2020-10-23 15:18:01 +02:00
Daniel Shimon
cf87c2fdc8 aliases: Create ExecAlias for aliases that contain IO operators 2020-10-23 15:45:31 +03:00
Noortheen Raja
c4ee058e6e test: update vc-branch test. default branch could be main as well 2020-10-23 17:58:34 +05:30
Anthony Scopatz
c18b3e1ca9
Merge pull request #3913 from anki-code/commands_cache_speed
Reading the directory from PATH and the symlink to this directory from PATH only once while create CommandCache
2020-10-21 08:59:01 -05:00
a
982ce976ec fix 2020-10-21 03:52:31 +03:00
Anthony Scopatz
3afd5430a0
Procs Initial Refactor (#3897)
* refectored builtins

* refectored posix and readers

* refectored posix and readers

* proxies

* pipelines

* basic procs import cleanup

* fixed / refactored tests

* procs docs

* amalgamate

* XONSH_DEBUG=1 in tests

* exclude xonsh.procs mypy

* Use `pip install` instead of `python setup.py install`

* Update docs/api/procs/pipelines.rst

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-10-20 10:21:11 -04:00
anki-code
3e59c45653
xonfig xontribs (#3894)
* xonfig xontribs

* news

* news

* black

* v2

* v2

* v2

* simpler condition

* xontribs_loaded

* isinstance

* test

* v3

Co-authored-by: a <a>
2020-10-19 11:48:55 -04:00
David Strobach
164e2fd728
Merge pull request #3883 from xonsh/get-repo-url
get_repo_url() test
2020-10-16 18:34:16 +02:00
Gyuri Horak
120fc0a154
merge with upstream 2020-10-14 15:09:24 +02:00
Gyuri Horak
a2213d614c
unit tests for xonsh.tools.register_custom_style 2020-10-14 15:03:30 +02:00
Anthony Scopatz
8fada74d64 get_repo_url() test 2020-10-13 16:33:53 -05:00
Gyuri Horak
4076ee1177
pyghooks.register_custom_style renamed to pyghooks.register_custom_pygments_style to avoid confusion 2020-10-13 22:21:27 +02:00
Gyuri Horak
10a21aa9b9
unit tests for register_custom_ansi_style 2020-10-13 21:48:47 +02:00
Gyuri Horak
024021882c
unit test for custom theme registration 2020-10-12 17:30:54 +02:00
Noortheen Raja
a930134ccf fix: env handle optional values
handle None value for ASYNC_PROMPT_THREAD_WORKERS

fixes #3858
2020-10-10 22:14:30 +05:30
a
d88fdc6609 simple_random_choice 2020-10-09 22:08:10 +03:00
a
87ce6bfc4d test 2020-10-09 19:12:48 +03:00
a
04df5c75ad env path 2020-10-07 19:22:02 +03:00
a
9f3170dbe3 fix 3818: Env variables wrong substitution 2020-10-05 13:56:44 +03:00
a
b53df868ce windows tests to the god of windows tests 2020-10-01 00:09:48 +03:00
a
7049c250b4 Merge branch 'master' of https://github.com/xonsh/xonsh into env_get_path 2020-09-30 23:44:37 +03:00
a
85fc912cf7 tests to the god of tests 2020-09-30 23:34:51 +03:00
Anthony Scopatz
7b1b5d2874
Merge pull request #3793 from cafehaine/master
Change the behavior of NO_COLOR, add RESET
2020-09-30 13:30:38 -07:00
a
fb4c52a5ef Fix register 2020-09-30 21:36:59 +03:00
cafehaine
f3bf1d287f Fix tests 2020-09-23 21:15:37 +02:00
Anthony Scopatz
17e2cb0d03
Merge pull request #3748 from bobhy/environment_fixes
Environment fixes
2020-09-23 10:36:25 -07:00
Bob Hyman
f07d016995 Merge branch 'master' into xonfig-kernel 2020-09-23 04:41:31 -04:00
Bob Hyman
88bba37c3a Merge branch 'master' into environment_fixes 2020-09-23 04:40:26 -04:00
Bob Hyman
48238beec1 more mocks for test_xonfig_kernel 2020-09-23 04:35:44 -04:00
Anthony Scopatz
089fb90b0b
Merge pull request #3785 from Eadaen/history_testing-ead
Commands to easily manage deletion of history from the current session.
2020-09-22 09:10:04 -07:00
Eadaen1
3933b74278 Improve comments in tests 2020-09-20 19:28:54 +01:00
Gyuri Horak
ef6634097b
ANSI OSC - tests, news item 2020-09-20 18:55:01 +02:00
Eadaen1
d7141856ae add docs, bugfixes, misc changes 2020-09-17 14:22:41 +01:00
Bob Hyman
a7e6511381 fix test failure on linux only. 2020-09-17 03:37:23 -04:00
Bob Hyman
9b2827ee80 Merge branch 'master' into environment_fixes 2020-09-17 03:05:14 -04:00
Bob Hyman
2f3a7a4e72 Merge branch 'master' into xonfig-kernel 2020-09-17 02:57:19 -04:00