summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd.c
AgeCommit message (Expand)Author
2016-10-16Mass rename struct cmd_q to struct cmdq_item and related.Nicholas Marriott
2016-10-16Rewrite command queue handling. Each client still has a command queue,Nicholas Marriott
2016-10-13Some improvements and bug fixes for hooks:Nicholas Marriott
2016-10-05Allow cmd_mouse_at return arguments to be NULL.Nicholas Marriott
2016-03-01Remove some more unused variables, and use RB_FOREACH_SAFE inNicholas Marriott
2016-01-19Split out getting the current state from the target search so it can beNicholas Marriott
2016-01-19I no longer use my SourceForge address so replace it.Nicholas Marriott
2015-12-14Use cmd_find_clear_state instead of an extra function doing the same.Nicholas Marriott
2015-12-14Instead of combined flags for -c, -s, -t, split into different setsNicholas Marriott
2015-12-13Use member names in cmd_entry definitions so I stop getting confusedNicholas Marriott
2015-12-13Actually I thought cmd_get_state_client was unnecessary but it will beNicholas Marriott
2015-12-13-c needs to be able for fail for display-message.Nicholas Marriott
2015-12-13Remove an unnecessary function.Nicholas Marriott
2015-12-13Don't log an error when doing the first check for move-window.Nicholas Marriott
2015-12-13Use struct cmd_find_state directly and remove cmd_state_flag, alsoNicholas Marriott
2015-12-13Change cmd_find_target to use a state struct from the caller.Nicholas Marriott
2015-12-13Remove the cmd_find_{session,window,pane,index} functions (which areNicholas Marriott
2015-12-13Move logging into cmd_find_target rather than each function.Nicholas Marriott
2015-12-13Instead of every command resolving the target (-t or -s) itself, prepareNicholas Marriott
2015-12-08Add hooks infrastructure, basic commands (set-hook, show-hooks) and aNicholas Marriott
2015-11-27Do not set a limit on the length of commands when printing them.Nicholas Marriott
2015-09-01All the cmd_*_entry declarations do not need to be in tmux.h.Nicholas Marriott
2015-04-27Rewrite of the target resolution internals to be simpler and moreNicholas Marriott
2015-04-25Make message log a TAILQ.Nicholas Marriott
2015-04-25Move the functions to convert ids from strings into session.c and window.c.Nicholas Marriott
2015-04-24Convert clients list into a TAILQ.Nicholas Marriott
2015-04-21Look up indexes as number before name, makes more sense if windows areNicholas Marriott
2015-04-19Rewrite of tmux mouse support which was a mess. Instead of havingNicholas Marriott
2014-10-08Add xreallocarray and remove nmemb argument from xrealloc.Nicholas Marriott
2014-09-25Support using pane id as part of session or window specifier (so %1Nicholas Marriott
2014-09-25Support ! for last pane.Nicholas Marriott
2014-07-13Show an error if cmd_find_session can't find the current session, likeNicholas Marriott
2014-05-13If multiple arguments are given to new-session, new-window,Nicholas Marriott
2014-05-09Just use char ** for argv like normal people, not char *const *.Nicholas Marriott
2014-04-16Remove the choose-list command to prepare for some later choose-* work.Nicholas Marriott
2014-03-31Don't write into buffer if no arguments, reported by Filipe Rosset.Nicholas Marriott
2014-01-09Allow attach-session -t to accept a window and pane to select them onNicholas Marriott
2013-10-10We accidentally haven't been using $TMUX to work out the session for aNicholas Marriott
2013-10-10Remove now unused cmd_get_default_path.Nicholas Marriott
2013-10-10Support -c for new-session, based on code from J Raynor.Nicholas Marriott
2013-10-10Remove the barely-used and unnecessary command check() function.Nicholas Marriott
2013-05-15Reserve space for \0 in cmd_print, from George Nachman.Nicholas Marriott
2013-03-25Sort includes and fix spaces.Nicholas Marriott
2013-03-25Rename session idx to session id throughout and add $ prefix to targetsNicholas Marriott
2013-03-25Add a wait-for command which blocks a client on a named channel until itNicholas Marriott
2013-03-25tty.path can be NULL, don't dereference it. From George Nachman.Nicholas Marriott
2013-03-24Add a command queue to standardize and simplify commands that call otherNicholas Marriott
2013-03-24Fix error reporting for client commands by adding a flag toNicholas Marriott
2013-03-22Need to set clients in context before changing their reference count.Nicholas Marriott
2013-03-22Add functions to allocate and free command contexts rather than doing itNicholas Marriott