Commit graph

9648 commits

Author SHA1 Message Date
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
anki-code
de8d7bbac1
Create onepath.rst 2020-09-25 22:01:42 +03:00
anki-code
e84fba75c9
Update xontribs.json 2020-09-25 21:59:08 +03:00
anki-code
796ae284c2
xontrib-onepath 2020-09-25 21:58:25 +03:00
a
b618e1ffb3 Bash to xonsh 2020-09-25 10:27:14 +03:00
a
56b1dda6df Bash to xonsh 2020-09-25 10:20:04 +03:00
a
40a95a65ac Bash to xonsh 2020-09-25 10:14:23 +03:00
a
65d5948929 Merge branch 'patch-9' of github.com:anki-code/xonsh into patch-9 2020-09-25 09:57:51 +03:00
a
19ea4d3af9 Bashisms shopt, complete 2020-09-25 09:57:36 +03:00
anki-code
2d4137240e
Update bashisms.rst 2020-09-25 04:07:53 +03:00
a
9eef76fcad bash2xonsh 2020-09-25 03:31:30 +03:00
a
1f67c7c80d bash2xonsh 2020-09-25 03:24:03 +03:00
a
2c7f09a29b bash2xonsh 2020-09-25 03:14:12 +03:00
a
32b3688057 bash2xonsh 2020-09-25 03:13:43 +03:00
a
6c3f2a5865 bash2xonsh 2020-09-25 03:11:50 +03:00
a
c7b36f2019 bash2xonsh 2020-09-25 03:04:40 +03:00
a
5d9c64d853 bash2xonsh 2020-09-25 02:57:41 +03:00
a
12cda5f148 bash2xonsh 2020-09-25 02:50:22 +03:00
a
4b4fe47cfe Fix whole_word_jumping 2020-09-25 00:25:01 +03:00
a
3e63b0aac3 new 2020-09-25 00:21:53 +03:00
a
48e16455b8 new 2020-09-25 00:16:49 +03:00
a
033c8c6009 new 2020-09-25 00:15:55 +03:00
a
c3eb629912 new 2020-09-25 00:00:56 +03:00
a
eadebdc920 new 2020-09-24 23:54:11 +03:00
a
5b694cf948 new 2020-09-24 23:47:18 +03:00
a
30bfe190c2 new 2020-09-24 23:42:39 +03:00
a
4227be366d new 2020-09-24 23:41:02 +03:00
a
588b1b7b52 docs 2020-09-24 23:39:36 +03:00
a
b00cf677ad Mr. Black 2020-09-24 23:28:41 +03:00
anki-code
526bccef36
bashisms set 2020-09-24 23:13:20 +03:00
cafehaine
ab971376a8 Print to stderr instead of using warn() 2020-09-24 12:14:52 +02:00
cafehaine
f3bf1d287f Fix tests 2020-09-23 21:15:37 +02:00
cafehaine
c198093b85 Add a deprecation warning 2020-09-23 20:29:03 +02:00