Rivoreo Source Code Repositories
src.rivoreo.one
/
tmux
/
3.0
/
cmd-source-file.c
tag
1a741808bfff317dbe94ffb8a343926584ae5f6a
tagger
Nicholas Marriott <nicholas.marriott@gmail.com>
Fri Jun 14 16:22:30 2019 +0100
object
c22470bd14ba1cdc523e0bfbb0180c75a9db1819
3.0
b836050
Merge branch 'obsd-master'
by Thomas Adam
· 5 years ago
299d4f3
Exit 1 correctly if source-file fails.
by nicm
· 5 years ago
0ec4106
Allow source-file to take multiple arguments.
by nicm
· 5 years ago
75aeb73
Merge branch 'obsd-master'
by Thomas Adam
· 5 years ago
723010b
Replace the split parser code (cfg.c and cmd-string.c) with a single
by nicm
· 5 years ago
98ee93b
Merge branch 'obsd-master'
by Thomas Adam
· 5 years ago
87d8217
Fix ordering of source-file with multiple files and add flags to load_cfg.
by nicm
· 5 years ago
7448b38
Merge branch 'obsd-master'
by Thomas Adam
· 6 years ago
b9a6162
Make server_client_get_cwd used (almost) everywhere we need to work out
by nicm
· 6 years ago
3385159
Merge branch 'obsd-master'
by Thomas Adam
· 7 years ago
f184c6f
load_cfg returns < 0 on error, not != 0. Problem reported by Kaushal Modi.
by nicm
· 7 years ago
2b4c144
Remove vis.h.
by Nicholas Marriott
· 8 years ago
e340df2
Make source-file look for files relative to the client working directory
by nicm
· 8 years ago
b6099f3
Add -n to break-pane.
by nicm
· 8 years ago
561b5c6
source-file -q needs to apply to glob(3) too.
by nicm
· 8 years ago
5330a2a
Run the source-file pattern through glob(3).
by nicm
· 8 years ago
b342bd0
Mass rename struct cmd_q to struct cmdq_item and related.
by nicm
· 8 years ago
ddc4512
Rewrite command queue handling. Each client still has a command queue,
by nicm
· 8 years ago
1721d19
source-file and some other commands can recurse back into cmdq_continue,
by nicm
· 8 years ago
4289a1e
Trying to do hooks generically is way too complicated and unreliable and
by nicm
· 8 years ago
a81685b
Add static in cmd-* and fix a few other nits.
by nicm
· 8 years ago
fdd368a
- Rework load_cfg() error handling a little.
by tim
· 8 years ago
0d84fdd
Final parts of command hooks, add before- and after- hooks to each command.
by nicm
· 8 years ago
ecfeee2
Use member names in cmd_entry definitions so I stop getting confused
by nicm
· 9 years ago
4a4daf1
Instead of every command resolving the target (-t or -s) itself, prepare
by nicm
· 9 years ago
b496b1f
Move cfg_causes local into cfg.c and remove struct causelist.
by nicm
· 10 years ago
45dfc5a
Instead of setting up the default keys by building the key struct
by nicm
· 10 years ago
fc54bfe
Make cmdq->client_exit a tristate (-1 means "not set") so that if
by nicm
· 11 years ago
caa8290
Copy the client into the new cmdq in source-file so commands that work
by Nicholas Marriott
· 12 years ago
e9cef8b
Continue the parent cmdq after sourcing a file.
by Nicholas Marriott
· 12 years ago
20636d9
Add a command queue to standardize and simplify commands that call other
by Nicholas Marriott
· 12 years ago
9b8998a
Correctly aggregate together errors from nested config files (with
by Nicholas Marriott
· 12 years ago
ede8312
Make command exec functions return an enum rather than -1/0/1 values and
by Nicholas Marriott
· 12 years ago
df912e3
xfree is not particularly helpful, remove it. From Thomas Adam.
by Nicholas Marriott
· 12 years ago
7502cb3
Clean up and simplify tmux command argument parsing.
by Nicholas Marriott
· 14 years ago
230e39e
Allow the config file parser and source-file to return "don't exit" to
by Nicholas Marriott
· 14 years ago
4651180
Use the array.h code for the causes list.
by Nicholas Marriott
· 15 years ago
8aba77b
Instead of bailing out on the first configuration file error, carry on,
by Nicholas Marriott
· 15 years ago
4ca857e
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
by Nicholas Marriott
· 15 years ago
76ef877
Get rid of the ugly CMD_CHFLAG macro and use a const string (eg "dDU") in the
by Nicholas Marriott
· 15 years ago
6fab9a3
Use KEYC_NONE constant instead of 0 on init.
by Nicholas Marriott
· 15 years ago
c7394ac
When using source-file, run the commands in the context of the source-file
by Nicholas Marriott
· 15 years ago
34a82e7
Make all messages sent between the client and server fixed size.
by Nicholas Marriott
· 15 years ago
5f108d9
Having fixed flags for single-character getopt options is a bit hard to
by Nicholas Marriott
· 15 years ago
35876ea
Import tmux, a terminal multiplexor allowing (among other things) a single
by Nicholas Marriott
· 15 years ago