aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | Merge branch 'obsd-master' into mtempThomas2013-10-11
| |\|
| | * Don't leak file descriptors in the rare MSG_VERSION case. From Chrisnicm2013-10-11
| | | | | | | | | | | | Johnsen.
| | * Remove stray return, from Chris Johnsen.nicm2013-10-11
| | |
| | * And get it right this time... don't leak if it is an empty string either.nicm2013-10-11
| | |
| | * Bracket in the wrong place in description of c0-change-trigger.nicm2013-10-10
| | |
| | * Fix leak in format_get_command.nicm2013-10-10
| | |
| | * Remove the KERN_PROC_CWD the proc_current_path format (which is the onlynicm2013-10-10
| | | | | | | | | | | | thing that uses it now).
| | * Use format_get_command() and some spacing tweaks.nicm2013-10-10
| | |
| | * Pass -1 for cwd now not NULL.nicm2013-10-10
| | |
| | * We accidentally haven't been using $TMUX to work out the session for anicm2013-10-10
| | | | | | | | | | | | | | | | | | while and in fact it is less useful that using the client ttyname. So don't bother and don't pass it from the client. If we need it in future it is in c->environ.
| | * Remove now unused cmd_get_default_path.nicm2013-10-10
| | |
| | * Don't boke when figuring out working directory from configuration file.nicm2013-10-10
| | |
| | * Show session name in detached message. Requested by somebody a fewnicm2013-10-10
| | | | | | | | | | | | months ago who didn't bother testing it. But it works for me anyway.
| | * Don't look at string[length - 1] if length == 0.nicm2013-10-10
| | |
| | * Alter how tmux handles the working directory to internally use filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Make tilde expansion in command strings work even if it isn't terminated by /.nicm2013-10-10
| | |
| | * Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.nicm2013-10-10
| | |
| | * retcode -> retval for exit message.nicm2013-10-10
| | |
| | * Merge IDENTIFY_* flags with CLIENT_* flags.nicm2013-10-10
| | |
| | * Remove CMD_SENDENVIRON.nicm2013-10-10
| | |
| | * mouse-resize-pane: Only resize on border selectnicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current behaviour of mouse-resize-pane is such that if the mouse button is held down and a selection takes place within a pane, that if the mouse pointer then hits a border edge, that pane-resize would initiate. This seems counter-intuitive; instead, check for a resize condition if the border of a pane is selected, and in the case of mouse selection within a pane, no longer resize the pane if edge of the border is hit. By Thomas Adam.
| | * Support -c for new-session, based on code from J Raynor.nicm2013-10-10
| | |
| | * Make cmdq->client_exit a tristate (-1 means "not set") so that ifnicm2013-10-10
| | | | | | | | | | | | | | | explicitly set it can be copied from child to parent cmdq by if-shell and source-file. This fixes using attach or new. From Chris Johnsen.
| | * First period not last for host_short, from Michael Scholz.nicm2013-10-10
| | |
| | * Don't treat TMUX_TMPDIR as a potential filenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point of setting TMUX_TMPDIR is to then make any labels from -L go to that directory. In the case of makesocketpath() with no TMUX_TMPDIR set, would set both the path and the default socket to a file. The checking of the permissions on the file worked fine in that case, but when TMUX_TMPDIR is set, won't work on a directory. This fixes the problem by ensuring the check on the permissions is performed on directories only. By Thomas Adam.
| | * Mark flags as optional and mutually exclusive. From Tiago Cunha.nicm2013-10-10
| | |
| | * Trivial style and spacing nits.nicm2013-10-10
| | |
| | * Remove the barely-used and unnecessary command check() function.nicm2013-10-10
| | |
| | * Clear window->flags when clearing winlinksnicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | When clearing WINLINK_ALERTFLAGS for all sessions, we must also, for that window, clear the window->flags as well, otherwise sessions may well still see flags for winlinks long since cleared. This therefore introduces WINDOW_ALERTFLAGS to help with this.
| | * choose-tree: Reset top when toggling itemsnicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When choose-tree is told to expand/collapse items (especially when first rendering collapsed to just show sessions), ensure that in addition to setting the selected item, that the item itself appears on the bottom of the screen, rather than off screen. This was causing rendering glitches when a very small tmux window tried to render a list of items in choose-tree much larger than itself, and the selected item appeared off screen, and didn't show the selection until the selection had wrapped around to the top of the screen.
| | * Renumber windows: Lookup lastw via window not indexnicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Assign mouse x/y coords before checking them. When receiving mousenicm2013-10-10
| | | | | | | | | | | | | | | | | | inputs, we should set the x/y coordinates earlier than we currently do, so that we aren't off-by-one in the case when the statusbar is at the top of the screen. By Thomas Adam.
| | * Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff fromnicm2013-10-10
| | | | | | | | | | | | Hayaki Saito.
| | * Add automatic-rename-format option allowing automatic rename to usenicm2013-10-10
| | | | | | | | | | | | something other than pane_current_command.
| | * Allow nested format expansion.nicm2013-10-10
| | |
| | * Add length limit operator for formats.nicm2013-10-10
| | |
| | * Handle input mouse positions <33 (we already can generate them).nicm2013-10-10
| | |
| | * Only include actual trailing spaces not unused cells with capturep -J,nicm2013-10-10
| | | | | | | | | | | | from George Nachman.
| | * Allow the file descriptor received from the client to be -1.nicm2013-10-10
| | |
| | * Add formats for window flags.nicm2013-10-10
| | |
| | * Missing space in refresh-client synopsis.nicm2013-10-10
| | |
| | * Grouped sessions were being leaked on destroy, correctly free them.nicm2013-10-10
| | |
| | * Make recalculate_sizes() handle an empty window with no activenicm2013-10-10
| | | | | | | | | | | | | | | | | | | | | pane. This can happen when a window is in two sessions - it isn't destroyed immediately when the pane goes away but is left until the last session is destroyed. Fixes problems with grouped sessions reported by Daniel Ralston.
| | * Pass flags into cmdq_guard as an argument since sometimes cmdq->cmd cannicm2013-10-10
| | | | | | | | | | | | | | | be NULL. Avoids crash when a command in a command client can't be parsed.
| | * Change the default for the default-path option to ~. This is a quicknicm2013-10-05
| | | | | | | | | | | | | | | change to turn off the KERN_PROC_CWD code which is unpredictable. Later it will go away and there may be other changes to how this works.
| | * Fix previous not to leak fd on failure, whoops.nicm2013-10-05
| | |
| | * Use open(".")/fchdir() to save and restore current directory rather thannicm2013-10-05
| | | | | | | | | | | | getcwd()/chdir().
| | * use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze2013-07-16
| | |
* | | Add openat() to compat.Nicholas Marriott2013-10-10
| | |
* | | Pass -1 for cwd now not NULL.Nicholas Marriott2013-10-06
| | |