Commit graph

9480 commits

Author SHA1 Message Date
Anthony Scopatz
97d0d0592a
Merge pull request #3831 from anki-code/tutorial_literal
Added "Advanced String Literals" to the "Tutorial".
2020-10-05 14:42:00 -05:00
Anthony Scopatz
da6fcaca25
Merge pull request #3832 from anki-code/fix_env_subst
Fix env variables wrong substitution
2020-10-05 14:40:19 -05:00
Anthony Scopatz
c77acc2570
Merge pull request #3814 from anki-code/exit
Added exit to builtins in not interactive mode
2020-10-05 14:36:18 -05:00
Anthony Scopatz
7c414d8521
Merge pull request #3822 from anki-code/patch-13
Syntax highlighting for xsh on Github
2020-10-05 14:34:10 -05:00
a
362ad1d738 "Add xsh syntax highlighting on Github" to wishlist 2020-10-05 22:17:27 +03:00
a
2c2ecef844 restored the line and commented 2020-10-05 22:03:20 +03:00
a
9f3170dbe3 fix 3818: Env variables wrong substitution 2020-10-05 13:56:44 +03:00
a
9ed8c6b9e3 Advanced String Literals 2020-10-04 18:49:54 +03:00
a
d406fd2919 Advanced String Literals 2020-10-04 18:48:51 +03:00
a
fbeb3f18d4 Advanced String Literals 2020-10-04 18:47:12 +03:00
a
02be19096e Advanced String Literals 2020-10-04 18:39:51 +03:00
a
6cfe169de1 gh xsh 2020-10-01 23:38:25 +03:00
anki-code
66fe4ef33e
Create gh_xsh.rst 2020-10-01 23:35:15 +03:00
anki-code
387340d435
Syntax highlighting for xsh on Github 2020-10-01 23:33:19 +03:00
Anthony Scopatz
580b675f1a
Merge pull request #3813 from anki-code/env_get_path
Improved getting typed registered variables and path type changed
2020-09-30 16:48:13 -07:00
a
99ae3ff00d docs 2020-10-01 01:36:08 +03:00
a
3d308f4733 clean 2020-10-01 01:26:04 +03:00
a
1f2202c3cf news 2020-10-01 01:24:23 +03:00
a
759bf8dec5 exit ctx in non interactive 2020-10-01 01:13:12 +03:00
a
27d36f7853 Merge branch 'master' of https://github.com/xonsh/xonsh into exit 2020-10-01 00:16:55 +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
Anthony Scopatz
57730b900b
Merge pull request #3811 from jnoortheen/add-docs-for-ptk-updator
docs: add api-docs for ptk_shell.updator module
2020-09-30 13:28:50 -07:00
a
2e4d6196f1 typo 2020-09-30 21:48:12 +03:00
a
6fc243a908 uups it's from another feature :) 2020-09-30 21:43:46 +03:00
a
fb4c52a5ef Fix register 2020-09-30 21:36:59 +03:00
a
332e486d09 Merge branch 'master' of https://github.com/xonsh/xonsh into master 2020-09-30 20:17:02 +03:00
Anthony Scopatz
f3fabc26f0
Merge pull request #3812 from jnoortheen/add-flake8-docstrings
feat: integrate flake8-docstring
2020-09-30 09:24:10 -07:00
Noortheen Raja
64efb3b3df feat: integrate flake8-docstring
most of the rules are disabled since it will take longer to fix them all

maybe in future version we can fix them one by one
2020-09-30 16:07:58 +05:30
Noortheen Raja
9b68407d79 docs: add api-docs for ptk_shell.updator module 2020-09-30 13:11:50 +05:30
Anthony Scopatz
6b0a81a2e8
Merge pull request #3758 from jnoortheen/feat-threaded-prompt
feat: use threads to offload prompt sections
2020-09-29 17:45:31 -07:00
Anthony Scopatz
7fad190952
Merge pull request #3802 from anki-code/patch-11
Fixed xpg xontrib link and sort xontribs alphabetically
2020-09-29 17:44:48 -07:00
Anthony Scopatz
4aae3705e0
Merge pull request #3796 from anki-code/patch-9
"Bash to Xonsh Translation Guide" improvements and added commands to bashisms xontrib
2020-09-29 17:42:12 -07:00
Anthony Scopatz
4125d3ac2e
Merge branch 'master' into patch-11 2020-09-29 17:35:14 -07:00
Anthony Scopatz
31d0979680
Merge pull request #3803 from dyuri/xontrib_powerline_binding
xontrib-powerline-binding added to xontrib list
2020-09-29 17:33:59 -07:00
Anthony Scopatz
40e3f496e3
Update formatter.rst 2020-09-29 17:30:25 -07:00
Anthony Scopatz
4d7d701c20
Merge pull request #3805 from dannysepler/dwd-bugfix
Fix logic in working directory check
2020-09-29 17:27:20 -07:00
Danny Sepler
042efed94d Fix logic in working directory check 2020-09-28 12:05:00 -04:00
Noortheen Raja
3c2f9b5a38 feat: use threads to offload prompt sections
resolves #2803

- update1: handle optional prompts correctly
- update2: split PromptFormatter._format_prompt
- update3: get number of workers from env
- update4: now it supports setting async prompt after initing the
session
- update5: keep track of futures<->token index to avoice looping over
all token items

refactor: cache thread results between calls

if there is not much update between calls, then it will not glitch

also applied code review suggestions

refactor: clean old running features

refactor: async-prompt handle clearing futures from container

refactor: add more docstrings and apply review changes

docs: add doc hook

refactor: change %s to string concat

docs: update title in formatter api doc

feat: style cached result as faded

refactor: update shell functions after osc_ascii PR merged

refactor: split code into updator.py to handle async updates
2020-09-27 21:53:53 +05:30
anki-code
be0e25c655
Update xontribs.json 2020-09-26 22:25:28 +03:00
anki-code
8758c1169c
Create fix_xontrib_link.rst 2020-09-26 22:22:50 +03:00
Gyuri Horak
bffb4fcbc3
don't know what's the problem with the external links... 2020-09-26 20:30:35 +02:00
Gyuri Horak
4f5738c901
xontrib-powerline-binding added to xontrib list 2020-09-26 20:09:25 +02:00
anki-code
79b6a27d7b
fix link 2020-09-26 20:28:00 +03:00
cafehaine
aad30339a0 Add news entry for no_color deprecation 2020-09-26 15:18:39 +02:00
cafehaine
1c7e841da0 Remove reference to NO_COLOR in docs 2020-09-26 15:11:43 +02:00
Jamie Bliss
6546748499
Merge pull request #3799 from anki-code/patch-10
Added xontrib-onepath
2020-09-25 16:59:21 -04:00
a
ab397fe81b master 2020-09-25 22:09:51 +03:00