Commit Graph

  • 00445ebadd Merge branch 'obsd-master' Thomas Adam 2016-12-14 20:01:11 +00:00
  • e36f932f62 Fix up winlink lists after swap-window. nicm 2016-12-14 17:38:59 +00:00
  • dda701d95f Merge branch 'obsd-master' Thomas Adam 2016-12-12 02:01:27 +00:00
  • b851c628f4 -N without arguments needs to set prefix count for the mode command, so that M-1 etc work. Reported by Theo Buehler. nicm 2016-12-11 22:55:25 +00:00
  • a64b7cfe5d Merge branch 'obsd-master' Thomas Adam 2016-12-10 00:01:11 +00:00
  • bee95bf378 Spacing nits. nicm 2016-12-09 21:39:27 +00:00
  • 75135ded09 Merge branch 'obsd-master' Thomas Adam 2016-12-09 00:01:12 +00:00
  • 2a7b4bb017 Fix send-keys with UTF-8. nicm 2016-12-08 22:15:37 +00:00
  • d3ede11212 Merge branch 'obsd-master' Thomas Adam 2016-12-08 00:01:10 +00:00
  • 5819d2a9d7 Do not clear the prompt when a message is shown, just leave it around and return to it when the message is finished. nicm 2016-12-07 23:03:04 +00:00
  • b9fa8f12d7 Merge branch 'obsd-master' Thomas Adam 2016-12-07 10:01:12 +00:00
  • 5ea143f521 Only skip moving the cursor if it is already in the last position _on the same line_, fixes redraw bug reported by patrick keshishian. nicm 2016-12-07 09:16:55 +00:00
  • a8f3ad4487 Make prefix work in all tables (except the prefix table). Users who want to avoid this can set prefix to "none" and bind send-prefix themselves. Allows C-b t be bound in the copy mode tables again, pointed out by millert@. nicm 2016-12-07 09:16:13 +00:00
  • 6749a30a6e Merge branch 'obsd-master' Thomas Adam 2016-11-30 14:01:11 +00:00
  • 1a6156d8fd Fix check for cursor at end of line. nicm 2016-11-30 13:20:02 +00:00
  • 1fccfd7be5 Merge branch 'obsd-master' Thomas Adam 2016-11-29 14:01:11 +00:00
  • 6b46c62bb4 Make send -N work for all keys, not just in copy mode. From Artem Fokin. nicm 2016-11-29 12:54:46 +00:00
  • d7837cca52 Merge branch 'obsd-master' Thomas Adam 2016-11-28 20:01:10 +00:00
  • 9fc925ac51 When comparing ocy to orlower in tty_cmd_cell, there is no need to add yoff (because they are both already relative to the pane). Also fix some other minor nits. nicm 2016-11-28 17:50:00 +00:00
  • 2864a31311 Merge branch 'obsd-master' Thomas Adam 2016-11-24 20:01:10 +00:00
  • 6f8cedb1bc The mouse valid flag needs to be correct before we fire the dragging callback, so move the callback outside of server_client_check_mouse and use a new special key code to indicate it. nicm 2016-11-24 18:45:45 +00:00
  • a02d95a313 Merge branch 'obsd-master' Thomas Adam 2016-11-24 16:01:11 +00:00
  • 84319aa8f0 If in the middle of a drag, don't use an invalid key, just use KEYC_MOUSE as a placeholder. Reported by Artem Fokin. nicm 2016-11-24 14:38:55 +00:00
  • 0d1be2e328 Fix so that we work out the right pane from mouse events - we were doing so too early, before the mouse event was necessarily valid, so could end up using the pane from the previous mouse event, or the active pane. nicm 2016-11-24 13:46:50 +00:00
  • 7e6c2cb238 Make the selection able to exist independent of the cursor position, so that it is not affected by scrolling. If MouseDragEnd1Pane is bound to the new "stop-selection" command: nicm 2016-11-24 13:38:44 +00:00
  • 8a8001350d Merge branch 'obsd-master' Thomas Adam 2016-11-23 18:01:19 +00:00
  • 6de466cf8b For mouse keys, use the mouse pane as the default current pane. nicm 2016-11-23 17:01:24 +00:00
  • 24916f2f6e Error on invalid modifier keys. nicm 2016-11-23 16:44:42 +00:00
  • 442e49f51c Merge branch 'obsd-master' Thomas Adam 2016-11-17 12:01:10 +00:00
  • 3cf19d6dd0 Key running commands for #() by the unexpanded command, and run them again if the expanded form changes (otherwise at most once per second as usual). Fixes issues reported by Gregory Pakosz. nicm 2016-11-17 10:06:08 +00:00
  • 759953cb8d Merge branch 'obsd-master' Thomas Adam 2016-11-16 14:01:11 +00:00
  • ddf7ac5ae4 Fix calculation of whether we need a region for drawing a cell (only if full width and at the edge of the region), otherwise clear the region entirely. nicm 2016-11-16 13:31:22 +00:00
  • 06fd3b00ff Merge branch 'obsd-master' Thomas Adam 2016-11-16 12:01:11 +00:00
  • a8e2d851fe Don't error if renaming a session to its current name, from shik dot chen at gmail dot com. nicm 2016-11-16 11:41:17 +00:00
  • 81f1d625af Do not stop dragging when the wheel is pressed, from Artem Fokin. nicm 2016-11-16 11:37:16 +00:00
  • 0f5b7814b5 Merge branch 'obsd-master' Thomas Adam 2016-11-16 10:01:10 +00:00
  • 5636d38a9d Initialize modeprefix to 1 properly in window_pane_create, from Artem Fokin. nicm 2016-11-16 09:22:16 +00:00
  • 12c49fa3bd Merge branch 'obsd-master' Thomas Adam 2016-11-16 02:01:11 +00:00
  • e88b74350f The target validity check used window_pane_visible but that may be false if the pane is zoomed, so instead add a new function to just check if the pane is actually on screen (most commands still want to accept panes invisible by zoom). Also reject panes outside the window for various special targets. Problem reported by Sean Haugh. nicm 2016-11-16 00:24:03 +00:00
  • 1afe9e98de Merge branch 'obsd-master' Thomas Adam 2016-11-15 16:01:10 +00:00
  • c34a79b152 Turn on margins, with a couple of fixes (only limit to the pane for line feeds, and do not move cursor to end for full width panes). nicm 2016-11-15 15:17:28 +00:00
  • d81a5c630f And of course I just find a bug, disable previous for now. nicm 2016-11-15 14:08:27 +00:00
  • 0ace779cde Initial attempt to make use of left and right margins if the terminal supports them (that is, if it advertises itself as a VT420 - probably just xterm). These are the vertical equivalent of the scroll region and allow much faster scrolling of panes that do not take up the full width of the terminal. nicm 2016-11-15 14:02:32 +00:00
  • fe7d9af331 Merge branch 'obsd-master' Thomas Adam 2016-11-15 12:01:18 +00:00
  • 9fe43d6acb Add copy-pipe-and-cancel, from Artem Fokin. nicm 2016-11-15 09:53:23 +00:00
  • 9908681ba8 Merge branch 'obsd-master' Thomas Adam 2016-11-14 18:01:13 +00:00
  • afbf0d42a7 rotate-window needs to unzoom, problem reported by Sean Haugh. nicm 2016-11-14 16:27:12 +00:00
  • 7177eeaa42 Merge branch 'obsd-master' Thomas Adam 2016-11-12 20:01:10 +00:00
  • db2412e2ac Apply the right fix for run -b, used the wrong diff before. nicm 2016-11-12 19:05:53 +00:00
  • b7398a4918 Do not execute commands for a client until it has identified, fixes problem reported by Frank Terbeck. nicm 2016-11-12 19:04:41 +00:00
  • afdef6d122 Merge branch 'obsd-master' Thomas Adam 2016-11-11 12:01:11 +00:00
  • 36f8fa316d Do not crash with run-shell -b and no window pane available, reported by Sergei Dyshel. nicm 2016-11-11 11:37:25 +00:00
  • 13f1a922e1 Merge branch 'obsd-master' Thomas Adam 2016-11-04 20:01:11 +00:00
  • f947d25c9d Do not try to set the CHANGED flag on windows with no active pane, fixes problem reported by Nelo-T Wallus. nicm 2016-11-04 18:56:25 +00:00
  • 1de107c405 Merge branch 'obsd-master' Thomas Adam 2016-11-04 16:01:11 +00:00
  • 353439acee enum values need to fit in 32 bits; we only use enum for numbering and Unicode characters fit in 24 bits, so we can leave key_code as 64 bits and change KEYC_BASE down to 0x10000000. nicm 2016-11-04 14:47:38 +00:00
  • a44024a795 Note about TERM. Nicholas Marriott 2016-11-04 13:18:09 +00:00
  • 15b6774f9b Merge branch 'obsd-master' Thomas Adam 2016-11-02 14:01:10 +00:00
  • 382e09bed1 Make an empty state on error rather than leaving something partially created (which now is now a fatal() later). nicm 2016-11-02 13:35:36 +00:00
  • 5da94182ae Merge branch 'obsd-master' Thomas Adam 2016-11-01 10:01:10 +00:00
  • c83feeb6f8 Clear window alert flags after setting winlink alert flags, fixes problem reported by Tommy Allen. nicm 2016-11-01 09:07:18 +00:00
  • 178894b0fe Do not force symbols to width 1, from Yen Chi Hsuan. Nicholas Marriott 2016-10-28 19:58:14 +01:00
  • 4dbbcff72b Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-10-27 18:28:53 +01:00
  • 4aa5dd0ee0 Add a CONTRIBUTING file with some information on opening issues. Nicholas Marriott 2016-10-27 18:28:21 +01:00
  • b6f00a3945 Merge branch 'obsd-master' Thomas Adam 2016-10-26 14:01:13 +01:00
  • abea17afd9 Buffer name can be NULL, check before strdup(). nicm 2016-10-26 11:48:07 +00:00
  • f523fddf6a Merge branch 'obsd-master' Thomas Adam 2016-10-25 10:01:09 +01:00
  • 99946aaaaf Do not handle activity or silence alerts in the current window, reported by jasper@. nicm 2016-10-25 07:24:10 +00:00
  • 5f9ba2f223 Merge branch 'obsd-master' Thomas Adam 2016-10-21 16:01:11 +01:00
  • 8084a2c9e6 Add %%% to substitute with quotes escaped (convert " to \"). Use this for the prompts in copy mode. Fixes problems with jumping to ' reported by Theo Buehler. nicm 2016-10-21 13:51:59 +00:00
  • b951f0621c Put AM_* back, but this time do a dance in configure.ac so that we can keep using CFLAGS for the tests. Nicholas Marriott 2016-10-19 15:20:21 +01:00
  • 28a31201d3 Merge branch 'obsd-master' Thomas Adam 2016-10-19 12:01:11 +01:00
  • 99c262b7d0 Do not have a default binding for C-b in copy-mode-vi or it conflicts with the default prefix. Reported by natano@. nicm 2016-10-19 09:24:57 +00:00
  • 899e629bf0 Alerts are too slow, so rather than walking all sessions and windows, 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). nicm 2016-10-19 09:22:07 +00:00
  • 4c6eb6cc2f Merge branch 'obsd-master' Thomas Adam 2016-10-19 10:01:10 +01:00
  • bc27451e15 Move session-create hook out of session_create so it works with grouped sessions. nicm 2016-10-19 08:17:11 +00:00
  • 1fbb7f1a41 Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-10-18 23:23:49 +01:00
  • 3742f66abb Revert the AM_* change, I can't find a way to make AC_CHECK_HEADER use LIBEVENT_CFLAGS. Nicholas Marriott 2016-10-18 23:15:49 +01:00
  • 3a6beea064 Merge branch 'obsd-master' Thomas Adam 2016-10-18 22:01:12 +01:00
  • e0e9a54a32 Clear cell entry with grid_default_entry not grid_default_cell. nicm 2016-10-18 19:52:49 +00:00
  • ec47907772 I don't remember why we have make clean in dist-hook; remove it. Nicholas Marriott 2016-10-18 20:41:31 +01:00
  • bd1dc89a5d *.h can go in dist_tmux_SOURCES, from Dilyan Palauzov. Nicholas Marriott 2016-10-18 20:34:18 +01:00
  • fb109ae97d xterm-keys was in the wrong place in the list; Dilyan Palauzov. nicm 2016-10-18 19:25:26 +00:00
  • 66d637be3d Merge branch 'master' of github.com:tmux/tmux Nicholas Marriott 2016-10-18 20:21:13 +01:00
  • ba9f47c544 Rename found_debug to enable_debug. Nicholas Marriott 2016-10-18 20:19:24 +01:00
  • 9b991a7301 Merge branch 'obsd-master' Thomas Adam 2016-10-18 18:01:11 +01:00
  • 0041e40ca8 Merge branch 'obsd-master' Thomas Adam 2016-10-18 16:01:11 +01:00
  • a0998e42b7 Make grid_clear_cell set up the entry properly for 256 and RGB cells. nicm 2016-10-18 14:56:17 +00:00
  • cf7289662f Tweak a couple of log statements. nicm 2016-10-18 12:51:26 +00:00
  • 8576ecaf32 Merge branch 'obsd-master' Thomas Adam 2016-10-18 12:01:10 +01:00
  • b3ab39c4d9 Merge branch 'obsd-master' Thomas Adam 2016-10-18 10:01:11 +01:00
  • 2e5c49a1fd Give each item on queue a name for better logging. nicm 2016-10-18 08:46:43 +00:00
  • 8763bced76 Zero dirty count after flushing. nicm 2016-10-18 08:39:18 +00:00
  • c2f88373e7 Store the right size in the pipe offset for pipe-pane. nicm 2016-10-18 07:38:16 +00:00
  • 7d5fd5fcd0 Preserve existing AM_CPPFLAGS and AM_LDFLAGS values. Nicholas Marriott 2016-10-17 21:51:21 +01:00
  • f6c49cecc1 One extra empty line not in OpenBSD, and tweak a #define style. Nicholas Marriott 2016-10-17 19:25:45 +01:00
  • 7ba845297f CFLAGS/CPPFLAGS/LDFLAGS -> AM_*, requested by Dilyan Palauzov. Nicholas Marriott 2016-10-17 19:14:56 +01:00
  • 733185d0a9 Can use enable_* rather than adding our own found_* variables, from Dilyan Palauzov. Nicholas Marriott 2016-10-17 19:09:38 +01:00
  • d54e990c4f Merge branch 'obsd-master' Thomas Adam 2016-10-17 00:01:11 +01:00
  • fe106842c8 Use notifys for alerts too. nicm 2016-10-16 22:18:04 +00:00