aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * Calculate the space available for the prompt buffer and the cursor positionNicholas Marriott2009-07-26
| | | | | | | | | | | | correctly, and make it work when the screen is not wide enough. Noticed by Kalle Olavi Niemitalo.
| * Go to the next if the current best process is replaced, don't keep comparing itNicholas Marriott2009-07-26
| | | | | | | | with itself. Also fix process name comparison.
| * Make all messages sent between the client and server fixed size.Nicholas Marriott2009-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first of two changes to make the protocol more resilient and less sensitive to other changes in the code, particularly with commands. The client now packs argv into a buffer and sends it to the server for parsing, rather than doing it itself and sending the parsed command data. As a side-effect this also removes a lot of now-unused command marshalling code. Mixing a server without this change and a client with or vice versa will cause tmux to hang or crash, please ensure that tmux is entirely killed before upgrading.
| * Set the active pane when respawning a window - fixes problems when respawning aNicholas Marriott2009-07-24
| | | | | | | | window with multiple panes.
| * Use the full range of ACS line drawing characters to draw pane borders,Nicholas Marriott2009-07-24
| | | | | | | | including intersections.
| * cmd_find_index should return -2 on error.Nicholas Marriott2009-07-24
| |
| * Simplify screen redrawing by drawing the border and background together ratherNicholas Marriott2009-07-24
| | | | | | | | | | than border separately, and consolidating all the drawing characters into one string.
| * Accept lowercase c- and m- prefix as well as C- and M-.Nicholas Marriott2009-07-24
| |
| * Permit commands to be bound to key presses without the prefix key first. TheNicholas Marriott2009-07-24
| | | | | | | | | | new -n flag to bind-key and unbind-key sets or removes these bindings, and list-key shows them in []s.
| * up-pane and down-pane no longer auto-repeat; update the description ofStuart Henderson2009-07-24
| | | | | | | | | | | | | | | | | | repeat-time accordingly. ok nicm@ if you prefer old behaviour; bind -r Up up-pane bind -r Down down-pane
| * None of the server message functions return anything but 0, so make them allNicholas Marriott2009-07-23
| | | | | | | | | | | | void. Also remove a leftover variable in client.c.
| * Tidy client message return slightly: convert flags into an enum, and mergeNicholas Marriott2009-07-23
| | | | | | | | error string into struct client_ctx as well.
| * Redraw after starting selection to correctly remove any existing selection.Nicholas Marriott2009-07-23
| |
| * Revert r1.5, I don't like it, new sessions should start off identically - withNicholas Marriott2009-07-23
| | | | | | | | the defaults.
| * C-d is delete as well in emacs mode.Nicholas Marriott2009-07-23
| |
| * Both of cmdclient and curclient CAN be NULL - if the command is executed fromNicholas Marriott2009-07-23
| | | | | | | | | | the configuration file. In this case, attach-session can't do much, and new-session should just assume -d.
| * If there is a current session, use its default path and working directory forNicholas Marriott2009-07-22
| | | | | | | | the initial window when creating a new session.
| * Pass a set of flags into client_init rather than just a start_serverNicholas Marriott2009-07-22
| | | | | | | | variable. Only one flag now but more to come later.
| * window_add_pane cannot fail, so remove the unused cause argument and don'tNicholas Marriott2009-07-22
| | | | | | | | bother to check for a NULL return.
| * Tidy the target parsing code a bit and correct the behaviour so that as beforeNicholas Marriott2009-07-22
| | | | | | | | | | | | | | | | a string with no colon as a target window is first looked up as a window then as a session, noted by Iain Morgan. Also attempt to clarify the description of the target specification in the man page.
| * tty_write is relatively short and the only function left in tty-write.c so moveNicholas Marriott2009-07-22
| | | | | | | | it into tty.c.
| * More tty code tidying: move the saved cursor/region position (from before theNicholas Marriott2009-07-22
| | | | | | | | screen was updated) out of struct screen and into struct tty_ctx.
| * log_debug3 no longer exists, change the sole use in GRID_DEBUG to log_debug2.Nicholas Marriott2009-07-22
| |
| * enum tty_cmd is only used as an index into the array of command functionNicholas Marriott2009-07-22
| | | | | | | | | | pointers, so remove it and use the function pointers directly to represent themselves.
| * There are relatively few arguments to tty_cmd_* functions now, so tidy them upNicholas Marriott2009-07-22
| | | | | | | | by using a struct rather than hiding everything with varargs.
| * tty_cmd_raw is only used once, for raw UTF-8 output, so rename it toNicholas Marriott2009-07-22
| | | | | | | | tty_cmd_utf8character and eliminate the size argument.
| * Adjust field width to fit longest key when listing.Nicholas Marriott2009-07-21
| |
| * Remove leftover debug logging of password.Nicholas Marriott2009-07-21
| |
| * Make some functions which return unused values void (mostly found by lint) andNicholas Marriott2009-07-21
| | | | | | | | tweak a redundant expression in window_pane_set_mode.
| * Nix a few unused attributes on arguments which are no longer unused.Nicholas Marriott2009-07-21
| |
| * Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found byNicholas Marriott2009-07-21
| | | | | | | | lint.
| * __progname is not const, pointed out by deraadt.Nicholas Marriott2009-07-21
| |
| * Tidy up keys: use an enum for the key codes, and remove the macros which justNicholas Marriott2009-07-21
| | | | | | | | wrap flag sets/clears/tests.
| * Now that #P could be in the status line, flag it for redraw when the activeNicholas Marriott2009-07-20
| | | | | | | | pane changes.
| * Tweak unbind-key language very slightly.Nicholas Marriott2009-07-20
| |
| * Display the number of failed password attempts (if any) when the server isNicholas Marriott2009-07-20
| | | | | | | | locked. From Tom Doherty.
| * Add a status-justify option to allow the window list in the status line to beNicholas Marriott2009-07-20
| | | | | | | | positioned at the left, centre, or right.
| * New options, window-status-current-{fg,bg,attr}, to set the fg, bg andNicholas Marriott2009-07-20
| | | | | | | | | | attributes with which the current window is shown in the status line. From Johan Friis, thanks.
| * Kill some dead stores and fix a null pointer deref, found by clang.Nicholas Marriott2009-07-20
| |
| * Move the offsets as well when swapping panes.Nicholas Marriott2009-07-20
| |
| * tweak previous;Jason McIntyre2009-07-19
| |
| * Improved layout code.Nicholas Marriott2009-07-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Add three new session options: visual-activity, visual-bell, visual-content. IfNicholas Marriott2009-07-18
| | | | | | | | | | | | | | | | | | these are enabled (and the monitor-activity, bell-actio 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.
| * Make it so using kill-pane to destroy the last pane in a window destroys theNicholas Marriott2009-07-17
| | | | | | | | window instead of being an error.
| * - New command display-message (alias display) to display a message in theNicholas Marriott2009-07-17
| | | | | | | | | | | | | | | | | | | | status line (bound to "i" and displays the current window and time by default). The same substitutions are applied as for status-left/right. - Add support for including the window index (#I), pane index (#P) and window name (#W) in the message, and status-left or status-right. - Bump protocol version. From Tiago Cunha, thanks!
| * 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.
| * Tidy up new-session and attach-session and change them to work from insideNicholas Marriott2009-07-17
| | | | | | | | | | | | tmux, switching the current client to the new or requested session. Written with Josh Elsasser.
| * Remove a duplicate key binding, and turn off autorepeat for up/down as it isNicholas Marriott2009-07-17
| | | | | | | | kind of annoying by default.
| * If -u is specified or UTF-8 is otherwise detected when the server is started,Nicholas Marriott2009-07-17
| | | | | | | | | | 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.
| * Oops, it is always a good idea to get arguments the right way round.Nicholas Marriott2009-07-17
| |