summaryrefslogtreecommitdiffstats
path: root/notify.c
AgeCommit message (Collapse)Author
2023-06-30Merge branch 'obsd-master'Thomas Adam
2023-06-30Get rid of some warnings with GCC 10, from Thomas Klausner.nicm
2022-10-28Merge branch 'obsd-master'Thomas Adam
2022-10-28Add paste-buffer-deleted notification and fix name of paste-buffer-changed.nicm
2022-08-15Merge branch 'obsd-master'Thomas Adam
2022-08-15Notify when a paste buffer is deleted, GitHub issue 3302 from Georgenicm
Nachman.
2022-05-30Spacing/style nits.nicm
2022-04-06Some style nits.Nicholas Marriott
2022-03-09Merge branch 'obsd-master' into masterThomas Adam
2022-03-08Fix user hooks (which are strings not arrays).nicm
2021-08-12Merge branch 'obsd-master' into masterThomas Adam
2021-08-12Do not dereference pane when it is NULL, fixes a crash when creating anicm
hook from the config, GitHub issue 2820.
2021-08-12Move hook format setup earlier and add a hook_client, GitHub issue 2809.nicm
2021-03-16Merge branch 'obsd-master' into masterThomas Adam
2021-03-16Add client-detached notification in control mode, from Mohsin Kaleem.nicm
2020-05-21Merge branch 'obsd-master'Thomas Adam
2020-05-21Support code for control mode flow control: allow clients to havenicm
separate offsets (used and acknowleged) into the pane buffers; turn off reading from panes when no clients can accept the data; and add a -A flag to refresh-client to let clients turn receiving a pane on and off.
2020-04-14Merge branch 'obsd-master'Thomas Adam
2020-04-14Provide an accessor for the running queue item and use it to not letnicm
hooks recurse.
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13When adding a list of commands to the queue, instead of automaticallynicm
creating a new state for each group of commands, require the caller to create one and use it for all the commands in the list. This means the current target works even with list with multiple groups (which can happen if they are defined with newlines).
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Rename cmdq_shared to cmdq_state which will better reflect what it isnicm
(going to be) used for.
2020-04-13Move the NOHOOKS flag into the shared flags.nicm
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Also move cmdq_item and cmdq_list into cmd-queue.c (this is to make itsnicm
use more clearly defined and preparation for some future work).
2020-04-13Merge branch 'obsd-master'Thomas Adam
2020-04-13Change so that the appropriate hooks for windows and panes belong tonicm
pane/window options rather than all being session options. This is useful for example to create a pane that is automatically closed on some condition. From Anindya Mukherjee.
2019-12-19Merge branch 'obsd-master'Thomas Adam
2019-12-19When adding a list with multiple commands to the queue, the next item tonicm
insert after needs to be the last one added, not the first. Reported by Jason Kim in GitHub issue 2023.
2019-05-07Merge branch 'obsd-master'Thomas Adam
2019-05-07Do not use evbuffer_add_buffer because it is destructive and doesn'tnicm
work in newer libevent.
2019-04-27Merge branch 'obsd-master'Thomas Adam
2019-04-26Merge hooks into options and make each one an array option. This allowsnicm
multiple commands to be easily bound to one hook. set-hook and show-hooks remain but they are now variants of set-option and show-options. show-options now has a -H flag to show hooks (by default they are not shown).
2018-07-04Merge branch 'obsd-master'Thomas Adam
2018-07-04Add set-hook -R to run a hook immediately (useful to set multiple hooksnicm
to the same thing).
2017-08-30Merge branch 'obsd-master'Thomas Adam
2017-08-30Pass flags into cmd_find_from_* to fix prefer-unattached, reported bynicm
Thomas Sattler.
2017-05-04Merge branch 'obsd-master'Thomas Adam
2017-05-04Some new notifications, mainly for active pane and current window andnicm
session: pane-mode-changed window-pane-changed client-session-changed session-window-changed From Joshua Brot.
2017-04-28Merge branch 'obsd-master'Thomas Adam
2017-04-28Log what is happening with window and session reference counts much morenicm
obviously.
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21Make the cmd_find_* functions more obvious when looking for a client,nicm
rather than having it inside other functions. Should be no change to the way targets are resolved just yet.
2017-04-21Merge branch 'obsd-master'Thomas Adam
2017-04-21More unnecessary arguments now winlink points back to session.nicm
2017-01-11Merge branch 'obsd-master'Thomas Adam
2017-01-11Some tidying and tweaks to options code.nicm
2016-10-17Merge branch 'obsd-master'Thomas Adam
2016-10-16Use notifys for alerts too.nicm