Commit Graph

2233 Commits

Author SHA1 Message Date
7163907ab6 Sync OpenBSD patchset 684:
Catch SIGCHLD to avoid a zombie, from patrick keshishian.
2010-04-22 21:48:49 +00:00
02fc1fe0da Done. 2010-04-21 21:35:07 +00:00
8e67b07489 Don't set user and group with install, from Nicolas Pinto. 2010-04-21 21:22:06 +00:00
0ed80637e7 Sync OpenBSD patchset 683:
Fix typo in escape state table leading to fatal() when \033} or \033~
was entered, from Chris Johnsen.
2010-04-18 15:11:47 +00:00
b03418fc6b Sync OpenBSD patchset 682:
If remain-on-exit is set, both the error callback and a SIGCHLD could
destroy the same pane (because the first one doesn't remove it from the
list of panes), causing the pane bufferevent to be freed twice. So don't
free it if the fd has already been set to -1, from Romain Francoise.
2010-04-18 15:10:55 +00:00
c0f03afbac +. 2010-04-18 07:37:09 +00:00
0646b3caf2 Sync OpenBSD patchset 680:
Remove XXX comment and just close received fd if calloc() fails.

If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.

discussed with and ok eric
2010-04-12 21:45:18 +00:00
b2e752b384 Don't try to use a window-link that may have been freed.
In the case where a join-pane is performed from within a grouped session,
and the source pane had no siblings in the window (causing the window to
be destroyed), there was an invalid access of the destination window
link (which had been destroyed as part of the group session's
resynchronization with the original session, due to killing the
now-empty source window).
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	cmd-join-pane.c
CVS: ----------------------------------------------------------------------
2010-04-09 07:09:37 +00:00
08632b4f0a there can be only one rpathbuf 2010-04-08 07:54:43 +00:00
10b73b7a11 Sync nit. 2010-04-06 22:08:10 +00:00
cd0f22b96e Unbreak. Whoops. 2010-04-06 22:02:52 +00:00
610056abbe Man page sync. 2010-04-06 22:02:03 +00:00
3743238a86 From Bob Beck:
rather than using an empty "" as the default window title, put the hostname
of the machine we are running on in there.

makes my many green lines easier to deal with without using fiddly options to
set it.
2010-04-06 22:01:32 +00:00
531db321e3 -s src-pane. 2010-04-06 21:59:59 +00:00
642f549e4d Dead assignment. 2010-04-06 21:59:37 +00:00
0fc65537a3 Run job commands explicitly in the global enviroment (which can be
modified with setenv -g) rather than with the environment tmux started
with.
2010-04-06 21:59:19 +00:00
091db41bc9 Squash a function that is only called in a callback into the
callback function.
2010-04-06 21:58:33 +00:00
67300e9524 Stupid style nits. 2010-04-06 21:45:36 +00:00
f2a4ef5260 window-more.c is now defunct. 2010-04-06 10:53:41 +00:00
7dc1720522 +. 2010-04-05 22:28:56 +00:00
07dcf8610f FreeBSD kqueue is broken before 8. 2010-04-05 22:28:25 +00:00
2d74ce1d3a Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
5879e2a32b libevent needs librt on Linux, from Aaron Isotton. 2010-04-02 21:26:40 +00:00
1392fba63d Don't accept keys with modifiers as input. Fixes crash reported by Brian
R Landy.
2010-03-31 18:24:08 +00:00
1c6ab725f5 +. 2010-03-29 18:54:07 +00:00
4012917302 Nuke unused functions. 2010-03-27 15:12:56 +00:00
dd7abd9b4c -a flag to insert a window after an existing one, moving other windows
up as necessary.
2010-03-27 15:12:11 +00:00
51c776fe93 +. 2010-03-27 13:43:13 +00:00
9382e546df +. 2010-03-18 21:10:11 +00:00
659d15786a Reset output functions too when changing client after attaching. 2010-03-18 21:06:40 +00:00
2307b91ecb paste-buffer should be per pane, from C. Coutinho. 2010-03-18 21:02:41 +00:00
a2c87eb899 Unused variable. 2010-03-16 23:40:14 +00:00
33a90efc93 Minor Nazi style tweaks to previous, and man page rephrasery. 2010-03-16 17:51:32 +00:00
009d8d2ea7 Jump-forward, jump-backward in copy mode, based on vi's F and f commands. 2010-03-16 17:30:58 +00:00
aa8f9018ea Support up, down, left, right movement through panes with -UDLR flags to
select-pane.

Also remove up- and down-pane: equivalent behaviour is now available
using -t :.+ and -t :.-.
2010-03-15 22:03:38 +00:00
4de04fac2c Accept a full key match (not a partial) even if there is data left in
the buffer.
2010-03-15 20:44:51 +00:00
593bcbdd49 +. 2010-03-15 16:09:49 +00:00
9f5b9ba0d6 New input parser based on http://vt100.net/emu/dec_ansi_parser. 2010-03-15 12:51:23 +00:00
b1a3090877 + an item. 2010-03-14 23:46:52 +00:00
4271320bb7 Quick prioritise for 1.3. 2010-03-14 23:46:09 +00:00
51eab54102 Avoid use-after-free when cancelling copy mode. 2010-03-14 23:17:59 +00:00
51c135ed73 +. 2010-03-10 23:32:49 +00:00
f6d36e60cf Mention dependencies. 2010-03-10 22:13:17 +00:00
38bc7e87c5 Working on 1.3. 2010-03-10 15:44:13 +00:00
95c6d9d31d Done. 2010-03-10 15:18:49 +00:00
3d85d2be6a Update CHANGES, and NOTES for the 1.2 release. 2010-03-10 15:18:11 +00:00
6681db7af0 Bump VERSION. 2010-03-10 15:16:19 +00:00
b90e869b8b Prepare the tree for the 1.2 release. 2010-03-10 15:15:33 +00:00
de64913786 Plug memory leak, from Gregory Thiemonge. 2010-03-10 13:41:13 +00:00
b34c8f5f39 Sync OpenBSD patchset 658:
Permit keys in copy mode to be prefixed by a repeat count, entered with
[1-9] in vi mode, or M-[1-9] in emacs mode.

From Micah Cowan, tweaked a little by me.
2010-03-08 15:02:07 +00:00