aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | We accidentally haven't been using $TMUX to work out the session for a whileNicholas Marriott2013-10-06
| | | | | | | | | | | | | | | 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.Nicholas Marriott2013-10-06
| | |
* | | Don't boke when figuring out working directory from configuration file.Nicholas Marriott2013-10-06
| | |
* | | Show session name in detached message. Requested by somebody a few months agoNicholas Marriott2013-10-06
| | | | | | | | | | | | who didn't bother testing it. But it works for me anyway.
* | | Don't look at string[length - 1] if length == 0.Nicholas Marriott2013-10-06
| | |
* | | Alter how tmux handles the working directory to internally use file descriptorsNicholas Marriott2013-10-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 '#{pane_current_path}' The equivalent of default-path '~' is left as an exercise for the reader. 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 /.Nicholas Marriott2013-10-06
| | |
* | | Similarly for MSG_COMMAND - allow full imsg limit not arbitrary 2048.Nicholas Marriott2013-10-06
| | |
* | | Instead of fixed size buffers for some messages, send only the string length.Nicholas Marriott2013-10-06
| | |
* | | retcode -> retval for exit message.Nicholas Marriott2013-10-06
| | |
* | | Merge IDENTIFY_* flags with CLIENT_* flags.Nicholas Marriott2013-10-06
| | |
* | | Bump protocol version and add new message types.Nicholas Marriott2013-10-06
| | |
* | | Remove CMD_SENDENVIRON.Nicholas Marriott2013-10-06
| | |
* | | Ignore .dirstamp filesThomas Adam2013-10-05
| | | | | | | | | | | | | | | GNU automake 1.14+ uses these files for subdir-option detection. We don't want to accidentally commit these. They're not useful to us.
* | | Check setupterm() in libtinfo alsoThomas Adam2013-10-05
| | | | | | | | | | | | | | | | | | | | | | | | Some ncurses packages have build time configuration options to separate its different parts into separate libraries. Some Linux distributions in particular separate out the terminfo routines in to libtinfo. This change teaches configure that setupterm() can also be found there.
* | | Add subdir-objects to shut automake upThomas Adam2013-10-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automake 1.14 onwards has started emitting lots of warnings about this option: automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. So enable this in AM_INIT_AUTOMAKE. This doesn't seem to break older automake versions.
* | | Fix previous not to lead fd on failure.Nicholas Marriott2013-10-05
| | |
* | | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-10-05
|\ \ \
| * | | mouse-resize-pane: Only resize on border selectThomas Adam2013-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Use open(".")/fchdir() to save and restore current directory rather thanNicholas Marriott2013-10-05
|/ / / | | | | | | | | | getcwd()/chdir().
* | | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-10-01
|\ \ \
| * | | Make cmdq->client_exit a tristate (-1 means "not set") so that if explicitlyNicholas Marriott2013-10-01
| | | | | | | | | | | | | | | | | | | | 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.
| * | | Restore missing key binding for %, from Chris Johnsen.Nicholas Marriott2013-10-01
| | | |
| * | | First period not last for host_short, from Michael Scholz.Nicholas Marriott2013-10-01
| | | |
| * | | layout-resize-pane-mouse: Consider visible panes onlyThomas2013-09-30
| | | | | | | | | | | | | | | | | | | | | | | | When a pane is maximized, and text is selected, we end up checking if a pane switch is needed. This therefore means we might end up selecting panes which aren't visible.
| * | | Don't treat TMUX_TMPDIR as a potential fileThomas2013-09-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Mark flags as optional and mutually exclusive.Tiago Cunha2013-08-31
| | | |
* | | | Support -c for new-session, based on code from J Raynor.Nicholas Marriott2013-10-01
|/ / /
* | | Add entry about smaller clients based on text from Thomas Adam.Nicholas Marriott2013-08-31
| | |
* | | No space in lsw -a targets.Nicholas Marriott2013-08-28
| | |
* | | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-08-23
|\ \ \
| * | | A couple of manpage fixes from Tiago Cunha.Nicholas Marriott2013-08-22
| | | |
| * | | Trivial style and spacing nits.Nicholas Marriott2013-08-21
| | | |
| * | | Remove from TODO.Nicholas Marriott2013-08-21
| | | |
| * | | ++ to TODO.Nicholas Marriott2013-08-21
| | | |
| * | | + to TODO.Nicholas Marriott2013-08-21
| | | |
| * | | Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-codeNicholas Marriott2013-08-21
| |\ \ \
| | * | | Clear window->flags when clearing winlinksThomas2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 therfore introduces WINDOW_ALERTFLAGS to help with this.
| * | | | Remove the barely-used and unnecessary command check() function.Nicholas Marriott2013-08-21
| | | | |
* | | | | Set EVENT_NOEPOLL on Linux again.Nicholas Marriott2013-08-23
| |/ / / |/| | |
* | | | choose-tree: Reset top when toggling itemsThomas2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 indexThomas Adam2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Assign mouse x/y coords before checking themThomas2013-08-20
| | | | | | | | | | | | | | | | | | | | | | | | When receiving mouse 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.
* | | | Accept multiple parameters to SM/RM/DECSET/DECRST, based on a diff from HayakiNicholas Marriott2013-08-19
|/ / / | | | | | | | | | Saito.
* | | Add automatic-rename-format option allowing automatic rename to use somethingNicholas Marriott2013-08-19
| | | | | | | | | | | | other than pane_current_command.
* | | Allow nested format expansion.Nicholas Marriott2013-08-19
| | |
* | | Add length limit operator for formats.Nicholas Marriott2013-08-03
| | |
* | | + to TODO.Nicholas Marriott2013-08-02
| | |
* | | Handle input mouse positions <33 (we already can generate them).Nicholas Marriott2013-08-02
| | |
* | | Only include actual trailing spaces not unused cells with capturep -J, fromNicholas Marriott2013-08-01
| | | | | | | | | | | | George Nachman.