fish-shell/src
ridiculousfish 5eade35257 Stop buffering deferred function processes
If a function process is deferred, allow it to be unbuffered.
This permits certain simple cases where functions are piped to external
commands to execute without buffering.

This is a somewhat-hacky stopgap measure that can't really be extended
to more general concurrent processes. However it is overall an improvement
in user experience that might help flush out some bugs too.
2019-03-24 21:23:26 -07:00
..
widecharwidth Migrate to widechar_wcwidth 2018-07-09 20:31:16 -07:00
autoload.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
autoload.h Introduce class environment_t 2019-01-10 20:29:10 -08:00
builtin_argparse.cpp builtin_argparse: use std::swap 2019-03-14 16:47:23 -07:00
builtin_argparse.h
builtin_bg.cpp Clean up job flags, status helpers, and instance helper methods 2018-10-27 18:01:38 -05:00
builtin_bg.h
builtin_bind.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
builtin_bind.h Add separation of "preset" bindings 2018-09-30 16:54:56 +02:00
builtin_block.cpp Event blocks just block all events 2019-02-23 13:02:07 -08:00
builtin_block.h
builtin_builtin.cpp Add builtin -q 2019-02-12 20:34:19 +01:00
builtin_builtin.h
builtin_cd.cpp Instantize env_get 2019-01-10 20:07:53 -08:00
builtin_cd.h
builtin_command.cpp Let command -q work 2019-02-12 20:34:19 +01:00
builtin_command.h
builtin_commandline.cpp Switch input_function_get_code() to return maybe_t 2019-03-23 23:31:22 -07:00
builtin_commandline.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_complete.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
builtin_complete.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_contains.h
builtin_disown.cpp Prevent zombie processes after disowned child procs exit 2018-11-18 15:27:58 -06:00
builtin_disown.h
builtin_echo.cpp Mark a null variable const in builtin_echo 2018-10-01 09:47:45 -07:00
builtin_echo.h
builtin_emit.cpp
builtin_emit.h
builtin_exit.cpp Clean up and clarify reader_exit() 2019-02-24 13:24:03 -08:00
builtin_exit.h
builtin_fg.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_fg.h
builtin_function.cpp Cleanup events 2019-02-23 13:33:12 -08:00
builtin_function.h Functions to store nodes 2018-02-12 10:49:22 -08:00
builtin_functions.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_functions.h
builtin_history.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_history.h
builtin_jobs.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_jobs.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_math.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
builtin_math.h
builtin_printf.cpp printf: Don't die on incomplete conversions 2019-03-17 17:00:55 +01:00
builtin_printf.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_pwd.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_pwd.h
builtin_random.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_random.h
builtin_read.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_read.h
builtin_realpath.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_realpath.h
builtin_return.cpp Mark short_options as const everywhere 2018-09-29 00:18:36 -04:00
builtin_return.h
builtin_set_color.cpp Factor color and terminal sequence outputting into outputter_t 2019-02-23 20:07:29 -08:00
builtin_set_color.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_set.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_set.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_source.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_source.h
builtin_status.cpp Promote job_control_t to an enum class 2019-03-24 12:12:44 -07:00
builtin_status.h
builtin_string.cpp Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
builtin_string.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_test.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
builtin_test.h
builtin_ulimit.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
builtin_ulimit.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_wait.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
builtin_wait.h
builtin.cpp [count] Allow counting lines from stdin 2019-03-15 14:31:36 +01:00
builtin.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
color.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
color.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
common.cpp Remove INPUT_COMMON_BASE 2019-03-23 23:31:37 -07:00
common.h Remove INPUT_COMMON_BASE 2019-03-23 23:31:37 -07:00
complete.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
complete.h Cleanup common.h 2019-02-03 18:22:38 -08:00
enum_set.h Add sighupint topic 2019-02-17 13:01:59 -08:00
env_universal_common.cpp Don't truncate hostnames over 32 characters 2019-03-23 12:34:48 -07:00
env_universal_common.h Remove fish_mutex_t wrapper around std::mutex 2018-12-30 20:37:36 -06:00
env.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
env.h Remove extra semicolons 2019-02-19 16:50:58 -08:00
event.cpp Fix switch nesting in handler_matches 2019-03-12 15:27:13 -07:00
event.h Cleanup events 2019-02-23 13:33:12 -08:00
exec.cpp Stop buffering deferred function processes 2019-03-24 21:23:26 -07:00
exec.h std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
expand.cpp Remove some unused variables 2019-03-15 20:21:05 -07:00
expand.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
fallback.cpp Use is_console_session() to signal using system wcwidth() 2019-03-20 21:47:34 -05:00
fallback.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
fish_indent.cpp Use a real struct type in fish_indent pending node stack 2019-03-18 09:13:36 -07:00
fish_key_reader.cpp Remove R_EOF 2019-03-23 23:11:23 -07:00
fish_tests.cpp Rename all readline commands to lowercase and remove R_ prefix 2019-03-23 23:31:35 -07:00
fish_version.cpp Eliminate some mutable global variables 2018-09-29 00:20:50 -04:00
fish_version.h
fish.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
function.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
function.h Cleanup events 2019-02-23 13:33:12 -08:00
future_feature_flags.cpp Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
future_feature_flags.h Add string-replace-fewer-backslashes feature 2019-03-15 15:18:19 +01:00
highlight.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
highlight.h Switch highlight_spec_t to a struct 2019-03-03 18:04:22 -08:00
history.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
history.h Switch some uses of env_get to instanced environment_t 2019-01-10 20:07:31 -08:00
input_common.cpp Introduce char_event_type_t::readline 2019-03-23 23:31:18 -07:00
input_common.h Remove INPUT_COMMON_BASE 2019-03-23 23:31:37 -07:00
input.cpp Rename all readline commands to lowercase and remove R_ prefix 2019-03-23 23:31:35 -07:00
input.h Switch readline commands to readline_cmd_t enum class 2019-03-23 23:31:25 -07:00
intern.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
intern.h
io.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
io.h Introduce the notion of a deferred process 2019-03-24 14:27:23 -07:00
iothread.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
iothread.h Introduce topic monitoring 2019-02-17 13:01:59 -08:00
kill.cpp Minor cleanup of kill ring 2019-03-23 23:31:24 -07:00
kill.h Minor cleanup of kill ring 2019-03-23 23:31:24 -07:00
lru.h This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
maybe.h Switch readline commands to readline_cmd_t enum class 2019-03-23 23:31:25 -07:00
output.cpp Fix junk memory read introduced in 1cd5b2f4e1 2019-03-20 20:51:22 -05:00
output.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
pager.cpp Fix 32-bit build 2019-03-13 07:44:05 -07:00
pager.h
parse_constants.h Switch tokenizer_error back to just an error code 2018-09-27 21:40:51 -04:00
parse_execution.cpp Promote process_type_t to an enum class 2019-03-24 12:29:25 -07:00
parse_execution.h Teach each job about its parent 2018-11-04 01:40:07 -08:00
parse_grammar_elements.inc Rework 'and' and 'or' to be "job decorators" 2018-03-05 13:41:36 -08:00
parse_grammar.h Remove extra semicolons 2019-02-19 16:50:58 -08:00
parse_productions.cpp Bring some consistency and rationale to debug log levels 2018-10-27 18:01:38 -05:00
parse_productions.h
parse_tree.cpp parser: try to avoid some strings being copied 2019-03-23 12:34:48 -07:00
parse_tree.h parser: try to avoid some strings being copied 2019-03-23 12:34:48 -07:00
parse_util.cpp Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
parse_util.h Teach parse_util_escape_string_with_quote about tildes 2018-02-17 15:18:43 -08:00
parser_keywords.cpp parser_keywords: Pre-create "begin" and "else" wcstrings 2018-12-01 23:03:41 +01:00
parser_keywords.h
parser.cpp parser: try to avoid some strings being copied 2019-03-23 12:34:48 -07:00
parser.h parser: try to avoid some strings being copied 2019-03-23 12:34:48 -07:00
path.cpp std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
path.h Instantize env_get 2019-01-10 20:07:53 -08:00
postfork.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
postfork.h Cleanup handle_builtin_output 2019-02-17 14:17:44 -08:00
print_help.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
print_help.h
proc.cpp Promote process_type_t to an enum class 2019-03-24 12:29:25 -07:00
proc.h Promote process_type_t to an enum class 2019-03-24 12:29:25 -07:00
reader.cpp Rename all readline commands to lowercase and remove R_ prefix 2019-03-23 23:31:35 -07:00
reader.h Switch wait command to use topics 2019-03-02 16:58:27 -08:00
redirection.cpp Add dup2_list_t::fd_for_target_fd 2019-02-17 13:01:59 -08:00
redirection.h Add dup2_list_t::fd_for_target_fd 2019-02-17 13:01:59 -08:00
sanity.cpp Remove some empty code 2019-02-24 13:14:36 -08:00
sanity.h
screen.cpp Allow the omitted new line character to be more than one char 2019-03-20 21:47:34 -05:00
screen.h std::vector<wcstring> is wcstring_list_t 2019-03-14 11:17:26 -07:00
signal.cpp Clean up and clarify reader_exit() 2019-02-24 13:24:03 -08:00
signal.h Remove the last of the signal blocking and checks 2019-02-23 14:07:35 -08:00
tinyexpr.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
tinyexpr.h [tinyexpr] Port to C++ 2018-12-30 19:34:06 +01:00
tnode.cpp Rework 'and' and 'or' to be "job decorators" 2018-03-05 13:41:36 -08:00
tnode.h Fix crash when nodeptr is null and node->get_source() is called 2018-09-26 21:03:55 -05:00
tokenizer.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
tokenizer.h remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
topic_monitor.cpp Introduce topic monitoring 2019-02-17 13:01:59 -08:00
topic_monitor.h Use "internal" processes to write buffered output 2019-02-17 13:05:20 -08:00
utf8.cpp
utf8.h
util.cpp wcsfilecmp: sort - after everything else 2019-03-16 01:31:56 -07:00
util.h Remove mini() and maxi() 2019-03-12 23:25:15 -07:00
wcstringutil.cpp This commit changes wchar.h includes to cwchar, and uses std:: 2019-03-12 15:09:36 -07:00
wcstringutil.h Add overload of wcstringutil::trim that automatically trims whitespace 2018-10-01 17:12:18 -05:00
wgetopt.cpp Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00
wgetopt.h Clean up bits of wgetopter_t interface 2018-08-25 16:09:04 -07:00
wildcard.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
wildcard.h Simplify wildcard_complete prototype 2018-10-16 15:43:42 -07:00
wutil.cpp remove some wcstring -> wchar_t* -> wcstring conversions 2019-03-14 15:21:08 -07:00
wutil.h Switches over to cstring from string.h. 2019-03-12 15:09:36 -07:00