Commit Graph

1362 Commits

Author SHA1 Message Date
bbdc08780c Merge branch 'obsd-master' 2015-10-18 22:01:08 +01:00
174a2ad731 Pass current directory as a string rather than a file descriptor because
pledge doesn't let us pass directory file descriptors.
2015-10-18 20:42:42 +00:00
20c3adca41 Merge branch 'obsd-master' 2015-09-25 18:01:09 +01:00
28f23f18e9 Free the history when it is cleared, based on a diff from Carlo Cannas. 2015-09-25 15:53:07 +00:00
a3bce7a322 Merge branch 'obsd-master' 2015-09-17 00:01:08 +01:00
a4b4b29987 Rename cmd_q dead flag to a general flags bitmask (will be more flags later). 2015-09-16 22:24:54 +00:00
4afe26fa82 Merge branch 'obsd-master' 2015-09-14 14:01:09 +01:00
8da6de3e66 Style nit, int for flags not u_int. 2015-09-14 11:57:22 +00:00
74b958ecbe Merge branch 'obsd-master'
Conflicts:
	Makefile
2015-09-14 12:42:19 +01:00
af16ce6ad9 When the active pane changes, redraw panes if the style has
changed. From Cam Hutchison.
2015-09-14 11:34:50 +00:00
16efa84838 Make refresh-client force update of jobs, from Sina Siadat. 2015-09-14 10:25:52 +00:00
901c2eb20a Add copy-mode -e to exit copy mode when scrolling off the bottom, useful
for quick view of history, from Cam Hutchison.
2015-09-13 13:31:40 +00:00
a3de5dbab1 Merge delete-buffer into cmd-set-buffer.c and change the paste buffer
API so it has one paste_free() rather than free_top and free_name
(everywhere that uses it already has the right pointer).
2015-09-11 14:41:50 +00:00
66c4ed98d6 Fix bad merge. 2015-09-10 14:59:16 +01:00
1fd756066c Merge branch 'obsd-master' 2015-09-10 12:01:08 +01:00
cfabe30bec Add session_last_attached time and format, from Sina Siadat. 2015-09-10 08:58:14 +00:00
76688d2040 Merge branch 'obsd-master'
Conflicts:
	cfg.c
	tmux.c
2015-09-06 20:47:50 +01:00
38e3baab2a A one line helper function is a little silly. 2015-09-02 17:43:25 +00:00
8121127606 We no longer need the terminal service class, so don't bother asking for it. 2015-09-02 17:37:54 +00:00
69a2d46ee5 Remove dead_clients which is no longer used. 2015-09-01 11:13:39 +00:00
952ba84611 Work out config file when needed not at startup. 2015-09-01 10:10:59 +00:00
83157c02d6 Move initial conf load into cfg.c. 2015-09-01 10:01:56 +00:00
2a836bc306 All the cmd_*_entry declarations do not need to be in tmux.h. 2015-09-01 09:48:34 +00:00
6a539c00df Path from $TMUX does not need to be global anymore. 2015-08-30 22:56:36 +00:00
c6e9160c67 Login shell can be a client flag, and move the exec code into client.c. 2015-08-30 22:40:25 +00:00
dd92b6e83d Event base does not need to be global. 2015-08-30 22:19:07 +00:00
cb89f2f2a1 Merge branch 'obsd-master'
Conflicts:
	Makefile
	format.c
2015-08-30 21:44:01 +01:00
5047670693 Remove some old prototypes and unused functions. 2015-08-29 23:55:55 +00:00
52bbac506c struct args_entry can go into arguments.c. 2015-08-29 23:19:52 +00:00
373ef850e0 paste_send_pane can be merged into cmd-paste-buffer.c now. 2015-08-29 09:36:46 +00:00
b569585000 Move struct paste_buffer out of tmux.h. 2015-08-29 09:25:00 +00:00
b5aaefc727 Move alerts onto events rather than checking every loop. 2015-08-29 08:30:54 +00:00
b7861f34ba Better take on reducing the name timer. Again check for name changes in
the main loop after events that may have changed the pane, but do so at
most once every 500 millis. If the pane changed too soon, use a timer to
ensure that a check happens later.
2015-08-29 00:29:15 +00:00
55b8d74561 Revert previous; we do need a timer, until I have a better idea. We
can't do the name check every loop, because that is too expensive, and
we can't make sure it only happens infrequently because we have no idea
when the next change will happen.
2015-08-28 16:10:46 +00:00
e2100c5f5f We now only checking for name changes when the active pane has changed,
but that can only happen when we have already been woken up by a read
event, so there is no need for a timer, we can just check the changed
flag on the end of that read event (we already loop over the windows to
check for bells etc anyway).
2015-08-28 15:51:48 +00:00
486421ceff Merge branch 'obsd-master' 2015-08-28 16:01:09 +01:00
f6a0f8730e Per-session timers for locking, and remove the global one-second timer. 2015-08-28 13:12:20 +00:00
84eabb2658 Merge branch 'obsd-master' 2015-08-28 14:01:11 +01:00
57cc4d45d5 Make session_update_activity more useful and use it in more places. 2015-08-28 13:01:03 +00:00
6419f66523 Give clock mode its own timer. 2015-08-28 12:25:42 +00:00
75d10058a4 Run status update on a per-client timer at status-interval. 2015-08-28 12:16:28 +00:00
b6618b631b Move format job cleanup onto its own timer. 2015-08-28 11:38:27 +00:00
031d7ce840 Merge branch 'obsd-master' 2015-08-28 10:01:08 +01:00
fc58e44f89 Only do the automatic-rename dance if the pane has changed (seen output,
or new active pane).
2015-08-28 07:49:24 +00:00
73b4d098ce Merge branch 'obsd-master' 2015-07-29 14:01:09 +01:00
5ec3621101 status_out and associated data structures are no longer used. 2015-07-29 11:56:02 +00:00
a568aaa0c0 Merge branch 'obsd-master' 2015-07-28 18:01:08 +01:00
b254115acd Tidy up the way terminals are described and move some structs out of tmux.h. 2015-07-28 15:18:10 +00:00
18a64ad52d Merge branch 'obsd-master' 2015-07-20 18:01:10 +01:00
92af3766ec Add an option (history-file) for a file to save/restore command prompt
history, from Olof-Joachim Frahm.
2015-07-20 15:50:04 +00:00