aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Sync OpenBSD patchset 151:Tiago Cunha2009-07-22
| | | | | | Tidy up keys: use an enum for the key codes, and remove the macros which just wrap flag sets/clears/tests.
* OpenSolaris ioctl(TIOCSWINSZ) appears to be broken and can return EINVAL hereNicholas Marriott2009-07-22
| | | | | | despite sx, sy and fd being fine (an fcntl on the fd succeeds). No problems on other platforms so ignore the error under #ifdef __sun__.
* Sync OpenBSD patchset 150:Tiago Cunha2009-07-21
| | | | | | Now that #P could be in the status line, flag it for redraw when the active pane changes.
* Include .depend in GNUmakefile since GNU make does not include itNicholas Marriott2009-07-21
| | | | | | | automatically. Also remove .depend from clean target and add a clean-depend target.
* No paths.h in cmd.c; add _PATH_DEV for Solaris.Nicholas Marriott2009-07-21
|
* Update.Nicholas Marriott2009-07-21
|
* Sync OpenBSD patchset 149:Tiago Cunha2009-07-20
| | | | | Tweak unbind-key language very slightly.
* Update.Tiago Cunha2009-07-20
|
* Sync OpenBSD patchset 148:Tiago Cunha2009-07-20
| | | | | | Display the number of failed password attempts (if any) when the server is locked. From Tom Doherty.
* Sync OpenBSD patchset 147:Tiago Cunha2009-07-20
| | | | | | Add a status-justify option to allow the window list in the status line to be positioned at the left, centre, or right.
* Sync OpenBSD patchset 146:Tiago Cunha2009-07-20
| | | | | | | New options, window-status-current-{fg,bg,attr}, to set the fg, bg and attributes with which the current window is shown in the status line. From Johan Friis, thanks.
* Sync OpenBSD patchset 145:Tiago Cunha2009-07-20
| | | | | Kill some dead stores and fix a null pointer deref, found by clang.
* Sync OpenBSD patchset 144:Tiago Cunha2009-07-20
| | | | | Move the offsets as well when swapping panes.
* Sync OpenBSD patchset 143:Tiago Cunha2009-07-20
| | | | | tweak previous;
* Sync OpenBSD patchset 142:Tiago Cunha2009-07-20
| | | | | | | | | | | | | | | | | | | | | | | | Each window now has a tree of layout cells associated with it. In this tree, each node is either a horizontal or vertical cell containing a list of other cells running from left-to-right or top-to-bottom, or a leaf cell which is associated with a pane. The major functional changes are: - panes may now be split arbitrarily both horizontally (splitw -h, C-b %) and vertically (splitw -v, C-b "); - panes may be resized both horizontally and vertically (resizep -L/-R/-U/-D, bound to C-b left/right/up/down and C-b M-left/right/up/down); - layouts are now applied and then may be modified by resizing or splitting panes, rather than being fixed and reapplied when the window is resized or panes are added; - manual-vertical layout is no longer necessary, and active-only layout is gone (but may return in future); - the main-pane layouts now reduce the size of the main pane to fit all panes if possible. Thanks to all who tested.
* With gcc4, turn off unnecessart pointer sign warnings.Nicholas Marriott2009-07-20
|
* Add three new session options: visual-activity, visual-bell, visual-content.Tiago Cunha2009-07-19
| | | | | | | | | | If these are enabled (and the monitor-activity, bell-action and monitor-content options are configurated appropriately), when activity, a bell, or content is detected, a message is shown. Also tidy up the bell/activity/content code in server.c slightly and fix a couple of errors.
* Change a couple of screenshots which had screen in them now I've got rid ofNicholas Marriott2009-07-19
| | | | | screen on that box too :-).
* Add a -k flag to unlink-window which makes it behave the same as the oldTiago Cunha2009-07-19
| | | | | | kill-window - if a window is linked into only one session it unlinked and destroyed.
* Make it so using kill-pane to destroy the last pane in a window destroys theNicholas Marriott2009-07-18
| | | | | window instead of being an error.
* When resizing a screen smaller in alternate screen mode, all the lines neededNicholas Marriott2009-07-18
| | | | | | | could be consumed by deleting from the bottom, leaving none to be removed from the top. In this case, don't call grid_view_delete_lines with ny of 0 as this is incorrect and causes a bounds check to fatal error if built with -DDEBUG.
* Tidy up new-session and attach-session and change them to work from insideNicholas Marriott2009-07-18
| | | | | tmux, switching the current client to the new or requested session.
* Remove a duplicate key binding, and turn off autorepeat for up/down as it isNicholas Marriott2009-07-18
| | | | | kind of annoying by default.
* If -u is specified or UTF-8 is otherwise detected when the server is started,Nicholas Marriott2009-07-18
| | | | | | enable the utf8 and status-utf8 optons. While here, note in the man page that the server is started with the first session and exits when none remain.
* When resizing a screen smaller in alternate screen mode, all the lines neededNicholas Marriott2009-07-17
| | | | | | | could be consumed by deleting from the bottom, leaving none to be removed from the top. In this case, don't call grid_view_delete_lines with ny of 0 as this is incorrect and causes a bounds check to fatal error if built with -DDEBUG.
* - New command display-message (alias display) to display a message in theTiago Cunha2009-07-17
| | | | | | | | status line (bound to "i" by default). - Add support for including the window index, pane index, and window name in status-left, or status-right. - Bump protocol version.
* Update TODO.Nicholas Marriott2009-07-17
|
* Changed the wrong thing here.Nicholas Marriott2009-07-17
|
* Stupid cvsps.Nicholas Marriott2009-07-17
|
* A similar for fix for window_choose: don't rely on the callback always beingNicholas Marriott2009-07-17
| | | | | | called to free data, have a separate free callback and call it from the mode cleanup code.
* Oops, it is always a good idea to get arguments the right way round.Nicholas Marriott2009-07-17
|
* Memory could be leaked if a second prompt or message appeared while another wasNicholas Marriott2009-07-17
| | | | | | still present, so add a separate prompt free callback and make the _clear function responsible for calling it if necessary (rather than the individual
* Remove some duplicate code that was causing the status line to be redrawn evenNicholas Marriott2009-07-17
| | | | | when it hadn't changed.
* Fix arguments to switch-client.Nicholas Marriott2009-07-17
|
* Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrongNicholas Marriott2009-07-17
| | | | | place when copying UTF-8 data. Found by Dan Colish.
* Update TODO.Nicholas Marriott2009-07-16
|
* Typo in grid_duplicate_lines (sy for dy) causing it to write into the wrongNicholas Marriott2009-07-16
| | | | | place when copying UTF-8 data. Found by Dan Colish.
* Improved NetBSD current-process detection from Roy Marples.Nicholas Marriott2009-07-15
|
* Make status_message_set a variadic printf-like function. No functional change -Nicholas Marriott2009-07-15
| | | | | helpful for a couple of things coming soon.
* Return -1 not NULL on error, pointed out by Roy Marples.Nicholas Marriott2009-07-15
|
* Add a -k flag to unlink-window which makes it behave the same as the oldNicholas Marriott2009-07-15
| | | | | | kill-window - if a window is linked into only one session it unlinked and destroyed.
* The man page says that kill-window removes the window entirely, unlinking itNicholas Marriott2009-07-15
| | | | | | | | from any sessions. In fact the implementation only affected the current session, making it the same as unlink-window but destroying the window if it was linked into only one session (unlinkw gives an error). Change the behaviour to match what it documented and was originally intended.
* Having to update NSETOPTION/NSETWINDOWOPTION when adding new options is a bitNicholas Marriott2009-07-15
| | | | | | | annoying and it is only use for iterating, so use a sentinel to mark the end of each array instead. Different fix for a problem pointed out by Kalle Olavi Niemitalo.
* Add main-pane-height to the options list (was missed before).Nicholas Marriott2009-07-15
|
* For some reason when clearing status/message it was redrawing the entire clientNicholas Marriott2009-07-15
| | | | | | not just the status line. Changing this also revealed the check for the status line was incorrect when drawing the pane.
* Instead of faking up a status line in status_redraw, use the same code toNicholas Marriott2009-07-15
| | | | | redraw it as to draw the entire screen, just skip all lines but the last.
* Don't accept input to a window if it not visible.Nicholas Marriott2009-07-15
|
* The scroll region cannot be one line only, ignore attempts to make it so.Nicholas Marriott2009-07-15
|
* Get rid of the PANE_HIDDEN flag in favour of a function, and moving theNicholas Marriott2009-07-15
| | | | | | | | | decision for whether or not a pane should be drawn out of the layout code and into the redraw code. This is needed for the new layout design, getting it in now to make that easier to work on.
* Escape ~, pointed out by tcunha.Nicholas Marriott2009-07-14
|