fish-shell/src
ridiculousfish 3506274ccf Make in_foreground an explicit param to continue_job
This moves us slightly closer towards fish code in the background. The idea is
that a background job may still have "foreground" sub-jobs, example:

    begin ; sleep 5 ; end &

The begin/end job runs in the background but should wait for `sleep`.

Prior to this fix, fish would see the overall job group is in the background
and not wait for any of its processes. With this change we detach waiting from
is_foreground.
2020-07-27 15:56:24 -07:00
..
widecharwidth Update to latest widecharwidth 2020-01-30 21:17:37 -08:00
ast_node_types.inc Introduce a new fish ast 2020-07-04 14:58:02 -07:00
ast.cpp Make ast::node_t non-virtual 2020-07-12 16:57:30 -07:00
ast.h Make ast::node_t non-virtual 2020-07-12 16:57:30 -07:00
autoload.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
autoload.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_argparse.cpp argparse: Only print stacktrace when it's an error in argparse usage 2020-06-17 20:05:48 +02:00
builtin_argparse.h
builtin_bg.cpp Make in_foreground an explicit param to continue_job 2020-07-27 15:56:24 -07:00
builtin_bg.h
builtin_bind.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_bind.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
builtin_block.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_block.h
builtin_builtin.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_builtin.h
builtin_cd.cpp fix(cd): remove duplicated comment introducing the cd builtin 2020-03-10 18:24:07 +01:00
builtin_cd.h
builtin_command.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_command.h
builtin_commandline.cpp commandline: Don't complain if insert mode has nothing to insert 2020-04-23 17:17:19 +02:00
builtin_commandline.h Reformat all files 2019-05-05 12:09:25 +02:00
builtin_complete.cpp Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
builtin_complete.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_contains.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_contains.h
builtin_disown.cpp proc: disown PIDs, not just PGIDs 2020-07-25 20:38:59 -05:00
builtin_disown.h
builtin_echo.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_echo.h
builtin_emit.cpp Use a pager to view long outputs of builtin --help 2019-10-28 18:36:07 +01:00
builtin_emit.h
builtin_eval.cpp Rename job_tree to job_group 2020-05-30 14:22:44 -07:00
builtin_eval.h Re-implement eval as a regular builtin 2019-04-12 07:04:15 -05:00
builtin_exit.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_exit.h
builtin_fg.cpp Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
builtin_fg.h
builtin_function.cpp Adopt the new AST in parse_execution 2020-07-04 14:58:05 -07:00
builtin_function.h Adopt the new AST in parse_execution 2020-07-04 14:58:05 -07:00
builtin_functions.cpp Remove trailing ", " in functions output 2020-07-12 19:14:35 -05:00
builtin_functions.h
builtin_history.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_history.h
builtin_jobs.cpp Migrate job pgid from job to job tree 2020-05-30 14:22:44 -07:00
builtin_jobs.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_math.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_math.h
builtin_printf.cpp Fix a compiler warning in builtin_printf 2020-07-19 16:51:11 -07:00
builtin_printf.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_pwd.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_pwd.h
builtin_random.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_random.h
builtin_read.cpp Don't fire fish_prompt when read is used 2020-05-26 15:24:31 -05:00
builtin_read.h
builtin_realpath.cpp [clang-tidy] C to C++ headers 2019-11-25 14:17:49 -08:00
builtin_realpath.h
builtin_return.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_return.h
builtin_set_color.cpp fixup! set_color: Don't error with "-b" and no argument 2020-06-26 19:46:23 -05:00
builtin_set_color.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_set.cpp Another formatting run 2020-06-24 20:43:56 +02:00
builtin_set.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_source.cpp Clean up reader_read 2020-01-28 11:39:26 -08:00
builtin_source.h
builtin_status.cpp Add status dirname and status basename convenience commands 2020-06-04 18:23:32 +02:00
builtin_status.h
builtin_string.cpp builtin_string: Remove redundant condition in handle_flag_f 2020-06-07 15:56:51 -07:00
builtin_string.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_test.cpp Apply clang-format 10 and selected lints from "make lint-all" 2020-07-01 00:44:06 +02:00
builtin_test.h
builtin_ulimit.cpp remove unreachable break statements 2020-04-12 17:02:17 -07:00
builtin_ulimit.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin_wait.cpp Merge sigint_checker_t generalizations from #7060 2020-06-20 11:27:15 -05:00
builtin_wait.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
builtin.cpp Add an "_" builtin to call into gettext (#7036) 2020-05-29 20:53:44 +02:00
builtin.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
color.cpp Another formatting run 2020-06-24 20:43:56 +02:00
color.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
common.cpp Merge sigint_checker_t generalizations from #7060 2020-06-20 11:27:15 -05:00
common.h Revert "Remove unnecessary owning_lock usages" 2020-07-12 18:56:39 -07:00
complete.cpp Add early abortion of completion match attempt 2020-07-06 23:08:19 -05:00
complete.h Introduce operation_context_t 2020-01-16 15:21:28 -08:00
enum_set.h [cppcheck] add some std::move 2020-03-14 15:07:54 -07:00
env_dispatch.cpp Eliminate the termsize handling from common.h 2020-06-07 20:00:42 -07:00
env_dispatch.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
env_universal_common.cpp Apply clang-format 10 and selected lints from "make lint-all" 2020-07-01 00:44:06 +02:00
env_universal_common.h Continued adoption of autoclose_fd_t and exec_close 2020-01-29 14:16:16 -08:00
env.cpp Only perform universal barriers for the principal env stack 2020-07-16 16:16:03 -07:00
env.h Convert var_table_t to an unordered_map 2020-06-25 00:56:49 -05:00
event.cpp Make the list of blocked events const 2020-07-19 12:03:10 -07:00
event.h [cppcheck] add some std::move 2020-03-14 15:07:54 -07:00
exec.cpp Make in_foreground an explicit param to continue_job 2020-07-27 15:56:24 -07:00
exec.h Improve commenting in exec_job 2020-07-26 10:45:02 -07:00
expand.cpp Clean up expand_cmdsubst somewhat 2020-07-14 15:19:10 -07:00
expand.h [clang-tidy] remove redundant string initialization 2020-04-05 10:13:13 +02:00
fallback.cpp Remove lrand48 checks and support 2020-07-08 11:00:12 -07:00
fallback.h Remove lrand48 checks and support 2020-07-08 11:00:12 -07:00
fd_monitor.cpp [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
fd_monitor.h Include sys/select.h for fd_set 2020-02-12 22:02:32 +01:00
fish_indent.cpp Make parse_token_type_t an enum class 2020-07-09 14:22:04 -07:00
fish_key_reader.cpp Exit key reader normally on help, version 2020-05-05 12:33:22 +08:00
fish_test_helper.cpp Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
fish_tests.cpp Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
fish_version.cpp Reformat all files 2019-05-05 12:09:25 +02:00
fish_version.h
fish.cpp Modest cleanup of profiling 2020-07-24 11:53:07 -07:00
flog.cpp Print warning on failure to match debug category 2020-05-19 21:07:33 +02:00
flog.h Remove the old parser bits 2020-07-04 14:58:05 -07:00
function.cpp Adopt the new AST in parse_execution 2020-07-04 14:58:05 -07:00
function.h Remove the old parser bits 2020-07-04 14:58:05 -07:00
future_feature_flags.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
future_feature_flags.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
global_safety.h Run clang-format on all files 2019-10-13 15:50:48 -07:00
highlight.cpp Use parse_util_locate_cmdsubst_range in highlighting 2020-07-14 15:27:14 -07:00
highlight.h highlight: normalize path when validating path for cd 2020-04-19 07:01:25 +02:00
history_file.cpp [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
history_file.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
history.cpp Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
history.h Avoid forming owning_lock of incomplete type in history 2020-05-22 13:36:46 -07:00
input_common.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
input_common.h Make cancel-commandline actual bind function 2020-07-01 20:56:56 +02:00
input.cpp Make cancel-commandline actual bind function 2020-07-01 20:56:56 +02:00
input.h [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
intern.cpp Remove a few less useful debug messages 2020-01-19 14:22:50 +01:00
intern.h
io.cpp fixup! Recover from bad redirections in the middle of a job pipeline 2020-05-30 10:37:46 -05:00
io.h Rename job_tree to job_group 2020-05-30 14:22:44 -07:00
iothread.cpp Guard thread_local 2020-05-22 13:41:05 -07:00
iothread.h Introduce debounce_t 2020-03-06 17:15:21 -08:00
job_group.cpp Factor job groups into their own file 2020-07-19 16:42:29 -07:00
job_group.h Factor job groups into their own file 2020-07-19 16:42:29 -07:00
kill.cpp [clang-tidy] Use C++ using instead of C typedef 2019-11-29 23:46:51 -08:00
kill.h fix typos 2019-10-23 19:38:44 +02:00
lru.h Fix some build warnings in fish_tests 2020-07-12 11:41:06 -07:00
maybe.h Reformat all files 2019-05-05 12:09:25 +02:00
null_terminated_array.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
null_terminated_array.h Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
operation_context.cpp Introduce operation_context_t 2020-01-16 15:21:28 -08:00
operation_context.h Rename job_tree to job_group 2020-05-30 14:22:44 -07:00
output.cpp Make some variables local which did not need to be static 2020-07-05 12:15:18 -07:00
output.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
pager.cpp Adopt termsize_t in the pager 2020-06-07 20:00:42 -07:00
pager.h Adopt termsize_t in the pager 2020-06-07 20:00:42 -07:00
parse_constants.h Make parse_token_type_t an enum class 2020-07-09 14:22:04 -07:00
parse_execution.cpp Modest cleanup of profiling 2020-07-24 11:53:07 -07:00
parse_execution.h parsed_source_t to hold an ast directly instead of through unique_ptr 2020-07-07 16:16:45 -07:00
parse_tree.cpp Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
parse_tree.h Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
parse_util.cpp More clean up of parse_util_detect_errors_in_argument 2020-07-14 15:51:12 -07:00
parse_util.h Reduce copying in parse_util_detect_errors 2020-07-12 16:57:30 -07:00
parser_keywords.cpp clang-format C++ files 2019-12-29 14:25:42 -08:00
parser_keywords.h
parser.cpp Modest cleanup of profiling 2020-07-24 11:53:07 -07:00
parser.h Modest cleanup of profiling 2020-07-24 11:53:07 -07:00
path.cpp Restyle 2020-03-26 20:45:40 +01:00
path.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
postfork.cpp Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
postfork.h Bravely remove reclaim... param from continue_job, and rework tcsetpgrp calls 2020-07-27 14:51:37 -07:00
print_help.cpp Run clang-format on all files 2019-10-13 15:50:48 -07:00
print_help.h
proc.cpp Make in_foreground an explicit param to continue_job 2020-07-27 15:56:24 -07:00
proc.h Make in_foreground an explicit param to continue_job 2020-07-27 15:56:24 -07:00
reader.cpp Have the pager use the correct prefix for case-corrected completions 2020-07-20 00:38:01 +02:00
reader.h Allow fish_exit to run even on fish SIGHUP 2020-07-05 22:18:21 -05:00
redirection.cpp Collapse io_data switch statements 2019-12-29 15:51:22 -08:00
redirection.h dup2_list_t::resolve_chain to stop returning maybe 2019-12-29 14:49:05 -08:00
sanity.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
sanity.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
screen.cpp Correct pager size when command line soft-wraps 2020-07-05 08:55:17 +02:00
screen.h Correct pager size when command line soft-wraps 2020-07-05 08:55:17 +02:00
signal.cpp Rework how signals trigger cancellation 2020-07-12 12:16:01 -07:00
signal.h Rework how signals trigger cancellation 2020-07-12 12:16:01 -07:00
termsize.cpp Apply clang-format 10 and selected lints from "make lint-all" 2020-07-01 00:44:06 +02:00
termsize.h Eliminate the termsize handling from common.h 2020-06-07 20:00:42 -07:00
timer.cpp [clang-tidy] performance 2020-04-05 10:13:13 +02:00
timer.h Make "time" a job prefix 2020-01-03 01:07:49 -06:00
tinyexpr.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
tinyexpr.h math: Complain about unknown *function*, not *variable* 2020-02-07 17:43:22 +01:00
tokenizer.cpp Remove preceding_escaped_nl 2020-07-07 13:48:35 -07:00
tokenizer.h Remove preceding_escaped_nl 2020-07-07 13:48:35 -07:00
topic_monitor.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
topic_monitor.h Amend typos and grammar errors 2019-11-25 13:07:15 +01:00
trace.cpp [cppcheck] add const in several places 2020-03-14 15:07:54 -07:00
trace.h Add support for fish_trace variable to trace execution 2019-11-02 14:40:57 -07:00
utf8.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
utf8.h [clang-tidy] Fix inconsistent declarations 2019-11-25 14:13:33 -08:00
util.cpp [clang-tidy] numeric literals to uppercase 2020-04-05 10:13:13 +02:00
util.h Return glob ordering to pre-3.1 state 2020-02-14 19:06:19 +01:00
wcstringutil.cpp Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wcstringutil.h Migrate a bunch of code out of common.h 2020-01-15 13:16:43 -08:00
wgetopt.cpp Change C casts to C++ ones 2020-05-01 13:30:56 -07:00
wgetopt.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00
wildcard.cpp Apply clang-format 10 and selected lints from "make lint-all" 2020-07-01 00:44:06 +02:00
wildcard.h Correct the speeling of sentinel 2020-02-29 15:56:52 -08:00
wutil.cpp Remove ASSERT_IS_NOT_FORKED_CHILD from open_cloexec 2020-06-07 19:58:52 -07:00
wutil.h [clang-tidy] change several member functions to const 2020-04-05 10:13:13 +02:00