fish-shell/tests/pexpects
ridiculousfish a32248277f Make commandline state thread safe
Today the reader exposes its internals directly, e.g. to the commandline
builtin. This is of course not thread safe. For example in concurrent
execution, running `commandline` twice in separate threads would cause a
race and likely a crash.

Fix this by factoring all the commandline state into a new type
'commandline_state_t'. Make it a singleton (there is only one command
line
after all) and protect it with a lock.

No user visible change here.
2021-07-21 11:51:46 -07:00
..
bind.py tests/bind: Skip on Github macOS 2021-05-23 19:46:04 +02:00
bind_mode_events.py Tests: Skip cancel tests on CI 2021-07-12 18:54:40 +02:00
cancel_event.py Tests: Skip cancel tests on CI 2021-07-12 18:54:40 +02:00
commandline.py Make commandline state thread safe 2021-07-21 11:51:46 -07:00
complete.py Reset the readline loop state when setting the buffer 2021-02-25 16:19:28 +01:00
disable_mouse.py Simplify event_queue_peeker_t 2021-04-17 16:43:27 -07:00
exit.py Reformat 2020-11-22 14:39:48 +01:00
exit_handlers.py Add a test that fish_exit handlers run on receipt of SIGHUP 2020-08-30 15:09:34 -07:00
exit_nohang.py tests: Increase how long exit_nohang tries 2021-04-14 18:55:11 +02:00
fg.py Restore terminal modes after running key bindings with external commands 2021-03-10 22:36:33 -08:00
fkr.py Tests: Yet another delay change 2020-11-11 19:20:55 +01:00
generic.py type: Add missing newline 2021-01-03 17:48:25 +01:00
histfile.py Another formatting run 2020-06-24 20:43:56 +02:00
history.py Make history search smartcase 2020-09-22 16:13:24 +02:00
isatty.py Reformat 2020-11-22 14:39:48 +01:00
job_summary.py Reformat 2020-11-22 14:39:48 +01:00
pipeline.py Restyle codebase 2020-12-06 15:39:54 +01:00
postexec.py Reformat 2020-11-22 14:39:48 +01:00
private_mode.py Allow fish_private_mode to change at runtime 2021-01-02 22:01:47 -08:00
read.py Port read tests to expect 2020-06-13 15:21:40 +02:00
set_color.py Fix crash with set_color --print-colors --background normal 2021-03-09 13:46:08 +01:00
sigint.py Correctly propagate signals from cancelled jobs into parse_execution_context 2020-08-13 15:30:15 -07:00
signals.py tests: Add yet another sleep 2020-09-27 09:22:45 +02:00
terminal.py Update termsize before a sigwinch handler 2021-04-14 17:27:53 +02:00
tty_ownership.py Reformat 2020-11-22 14:39:48 +01:00
undo.py Add simple pexpect test for undo 2021-01-07 23:53:31 +01:00
wait.py tests: Increase another timeout 2020-11-06 17:56:38 +01:00