Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-09 | Move server_fill_environ into environ.c and move some other common code | nicm | |
into it. | |||
2017-02-09 | Instead of numbering session groups, give them a name which may be given | nicm | |
to -t instead of a target session. Also allow them to contain only one session. | |||
2017-02-03 | Cache status line position to reduce option lookups during output. | nicm | |
2016-10-19 | Alerts are too slow, so rather than walking all sessions and windows, | nicm | |
add a link of winlinks to each window and a pointer to the session to each winlink. Also rewrite the alerts processing to return to the old behaviour (alert in any window sets the flag on any winlink). | |||
2016-10-19 | Move session-create hook out of session_create so it works with grouped ↵ | nicm | |
sessions. | |||
2016-10-16 | Use the notify name string instead of going via an enum and change | nicm | |
existing hooks to use notifys instead. | |||
2016-10-15 | Give window_create and window_create1 better names. | nicm | |
2016-10-15 | Rename a function for consistency and some spacing nits. | nicm | |
2016-10-13 | Remove the set-remain-on-exit option, it was always a hack and can now | nicm | |
be done with hooks instead. | |||
2016-10-11 | Add static in window-*.c and move some internal functions out of tmux.h. | nicm | |
2016-10-10 | Loads more static, except for cmd-*.c and window-*.c. | nicm | |
2016-01-19 | I no longer use my SourceForge address so replace it. | nicm | |
2015-12-08 | Add hooks infrastructure, basic commands (set-hook, show-hooks) and a | nicm | |
couple of not very useful client hooks. This will eventually let commands be run at various points and on notifications. Joint work with Thomas Adam. | |||
2015-11-18 | Use __unused rather than rolling our own. | nicm | |
2015-11-18 | Don't update activity time twice for new sessions, and add some logging. | nicm | |
2015-10-31 | Because pledge(2) does not allow us to pass directory file descriptors | nicm | |
around, we can't use file descriptors for the working directory because we will be unable to pass it to a privileged process to tell it where to read or write files or spawn children. So move tmux back to using strings for the current working directory. We try to check it exists with access() when it is set but ultimately fall back to ~ if it fails at time of use (or / if that fails too). | |||
2015-10-28 | Like options, move the environ struct into environ.c. | nicm | |
2015-10-27 | Move struct options into options.c. | nicm | |
2015-09-01 | Fix a spelling error, sesson -> session. | nicm | |
2015-08-29 | Move alerts onto events rather than checking every loop. | nicm | |
2015-08-28 | Don't leak name when freeing session, from Kuang-che Wu. | nicm | |
2015-08-28 | Per-session timers for locking, and remove the global one-second timer. | nicm | |
2015-08-28 | Make session_update_activity more useful and use it in more places. | nicm | |
2015-06-05 | Similarly, for sessions use a callback to free rather than checking | nicm | |
every loop. | |||
2015-05-06 | Add a format window_linked which is 1 if a window has been linked | nicm | |
multiple times, also remove the default space in window_flags and use a conditional to add it in window-status-format (this means additional flags can be added in the option without extra spaces). From Thomas Adam with tweaks by me. | |||
2015-04-25 | Move the functions to convert ids from strings into session.c and window.c. | nicm | |
2015-04-22 | Make session_has return a flag, returning the first winlink found is a | nicm | |
recipe for errors. | |||
2014-10-22 | Fix some spacing nits. | nicm | |
2014-10-22 | Merge unlink-window into kill-window. | nicm | |
2014-05-13 | If multiple arguments are given to new-session, new-window, | nicm | |
split-window, respawn-window or respawn-pane, pass them directly to execvp() to help avoid quoting problems. One argument still goes to "sh -c" like before. Requested by many over the years. Patch from J Raynor. | |||
2014-04-17 | Set PATH explicitly, either from client or session | nicm | |
environment. Previously it came from the session environment. From J Raynor. | |||
2014-01-22 | Do not permit periods in session names (colons are already banned). From | nicm | |
J Raynor. | |||
2013-10-10 | Alter how tmux handles the working directory to internally use file | nicm | |
descriptors rather than strings. - Each session still has a current working directory. - New sessions still get their working directory from the client that created them or its attached session if any. - New windows are created by default in the session working directory. - The -c flag to new, neww, splitw allows the working directory to be overridden. - The -c flag to attach let's the session working directory be changed. - The default-path option has been removed. To get the equivalent to default-path '.', do: bind c neww -c $PWD To get the equivalent of default-path '~', do: bind c neww -c ~ This also changes the client identify protocol to be a set of messages rather than one as well as some other changes that should make it easier to make backwards-compatible protocol changes in future. | |||
2013-10-10 | Renumber windows: Lookup lastw via window not index | nicm | |
When calling 'movew -r' on a session to reorder the winlinks, ensure when adding back in the information for the lastw stack that we look up the winlink based on the window and not its index. Using the index doesn't make sense here because when comparing it to the old set, it will never match since the winlink has been renumbered. Bug reported by Ben Boeckel. Patch by Thomas Adam. | |||
2013-10-10 | Grouped sessions were being leaked on destroy, correctly free them. | nicm | |
2013-03-25 | Rename session idx to session id throughout and add $ prefix to targets | Nicholas Marriott | |
to use it, extended from a diff from George Nachman. | |||
2013-03-22 | Add session_set_current helper function, extracted from a diff from | Nicholas Marriott | |
Aaron Jensen. | |||
2012-07-10 | xfree is not particularly helpful, remove it. From Thomas Adam. | Nicholas Marriott | |
2012-07-08 | Clear flags across all sessions, from Thomas Adam. | Nicholas Marriott | |
2012-04-29 | Add a flag to move-window to renumber the windows in a session (closing | Nicholas Marriott | |
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam. | |||
2012-03-17 | Add notify hooks for various events, the functions are currently empty | Nicholas Marriott | |
stubs but will be filled in for control mode later. From George Nachman. | |||
2011-08-16 | Correctly skip existing numbers when generating the name for a new | Nicholas Marriott | |
session. | |||
2011-04-06 | Change so that an empty session name always means the current sessions | Nicholas Marriott | |
even if given with, for example, -t '', and explicitly forbid empty session names and those containing a : when they are created. | |||
2011-01-25 | Check if the index is in use and fail before creating the child process, | Nicholas Marriott | |
rather than leaving a stray child on failure. | |||
2011-01-13 | Er, fix next and previous session functions to actually work, part 2. | Nicholas Marriott | |
2011-01-13 | Fix next and previous session functions to actually work. | Nicholas Marriott | |
2011-01-01 | Don't reset the activity timer for unattached sessions every second, | Nicholas Marriott | |
this screws up the choice of most-recently-used. Instead, break the time update into a little function and do it when the session is attached. Pointed out by joshe@. | |||
2010-12-30 | Change from a per-session stack of buffers to one global stack which is | Nicholas Marriott | |
much more convenient and also simplifies lot of code. This renders copy-buffer useless and makes buffer-limit now a server option. By Tiago Cunha. | |||
2010-12-21 | Store sessions in an RB tree by name rather than a list, this is tidier | Nicholas Marriott | |
and allows them to easily be shown sorted in various lists (list-sessions/choose-sessions). Keep a session index which is used in a couple of places internally but make it an ever-increasing number rather than filling in gaps with new sessions. | |||
2010-12-20 | Fix another stray addition that was too early. Oops. | Nicholas Marriott | |