Thomas Adam
562af864bd
Merge branch 'obsd-master'
...
Conflicts:
Makefile
cmd-list-commands.c
cmd-suspend-client.c
job.c
tmux.h
xmalloc.c
2014-10-21 07:11:44 +01:00
nicm
0a1a88d63c
Better format for printf format attributes.
2014-10-20 23:57:13 +00:00
nicm
4c42381410
Move template defines back into .c files.
2014-10-20 23:35:28 +00:00
nicm
900f6fc17e
Tidy up some includes.
2014-10-20 23:27:14 +00:00
nicm
30bacf6f30
Move suspend-client code into detach-client.
2014-10-20 23:01:51 +00:00
nicm
8a5ceac3a9
Argh, meant to remove this file...
2014-10-20 22:45:37 +00:00
nicm
f5bc85591a
Move list-commands into list-keys.
2014-10-20 22:44:30 +00:00
nicm
7afe417a60
Missed a couple of cmd_entry struct members from previous.
2014-10-20 22:34:31 +00:00
nicm
45dfc5a074
Instead of setting up the default keys by building the key struct
...
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a
temporary cmd_q.
As well as being smaller, this will allow default bindings to be command
sequences which will probably be needed soon.
2014-10-20 22:29:25 +00:00
nicm
f0b69c7711
Fix description of Ss and Se.
2014-10-18 20:28:19 +00:00
nicm
a27ba6e380
Add xreallocarray and remove nmemb argument from xrealloc.
2014-10-08 17:35:58 +00:00
nicm
77efcf8bdd
Use xrealloc(NULL, n, m) instead of xmalloc(n * m) to get overflow
...
check.
2014-10-08 17:14:04 +00:00
nicm
6610e89689
Top function key is F12 now.
2014-10-02 14:21:06 +00:00
nicm
d306bbe11e
Take account of window-status-separator when checking window position,
...
based on diff from Balazs Kezes.
2014-10-02 10:39:43 +00:00
nicm
c011446e78
Update status when pane selected with mouse, from Balazs Kezes.
2014-10-02 09:31:30 +00:00
Nicholas Marriott
b6aef2490f
Ignore ENXIO on Solaris as well, from Peter Schow.
2014-10-02 09:47:00 +01:00
nicm
2f19df09b1
Copy ACS characters as UTF-8, from Balazs Kezes.
2014-10-02 08:36:26 +00:00
Nicholas Marriott
931c17ed4f
Merge branch 'master' of ssh://git.code.sf.net/p/tmux/tmux-code
2014-10-02 09:29:48 +01:00
Nicholas Marriott
24d9dc518d
Fix osdep_get_cwd on Solaris 11, from J Raynor.
2014-10-02 09:25:15 +01:00
nicm
045d0c3b9f
Call waitpid on SIGCHLD even if client not attached, it is possible (on
...
very slow platforms) for the first daemon() child to still be running
when client_attached is set so we end up with a zombie. From J Raynor.
2014-10-01 23:23:19 +00:00
nicm
a54b0055f6
Support using pane id as part of session or window specifier (so %1
...
means session-of-%1 or window-of-%1) and window id as part of session
(so @1 means session-of-@1).
2014-09-25 12:51:40 +00:00
nicm
304f86cdbb
Support ! for last pane.
2014-09-25 12:45:35 +00:00
Thomas Adam
2874a431c0
Merge branch 'obsd-master'
2014-09-25 11:29:54 +01:00
Nicholas Marriott
5e7f1b9f0a
Don't close random file descriptor on error, from J Raynor.
2014-09-25 10:53:29 +01:00
Nicholas Marriott
16670410ca
I broke last change, fix so it works, from J Raynor.
2014-09-23 10:50:11 +01:00
Nicholas Marriott
054a825ee2
cdefs.h -> types.h.
2014-09-23 10:46:46 +01:00
Nicholas Marriott
b2224947fa
Solaris doesn't have flock and fcntl is useless so make a no-op flock. Reported
...
by Dagobert Michelsen.
2014-09-23 10:44:45 +01:00
Nicholas Marriott
4d53fd98a6
Synchronize forkpty master and child to avoid hang on AIX with fast exiting
...
child and output left in the queue, from J Raynor.
2014-09-22 14:07:00 +01:00
nicm
21062d74d5
Fix some comments (c -> colour) and join unnecessary line splits.
2014-09-17 15:31:38 +00:00
Nicholas Marriott
938d91d2c3
Tweak www and add RELEASE variable for current release version so we don't need
...
to turn it back and forth when updating.
2014-09-16 04:33:34 +01:00
Nicholas Marriott
93fe1b8659
Stupid comment.
2014-09-08 23:33:41 +01:00
nicm
9bda7e881a
Add window_last_flag and window_zoomed_flag. From John Morrissey.
2014-09-08 14:29:05 +00:00
nicm
8a473b5757
Fix typo (paneas -> panes).
2014-09-01 22:00:42 +00:00
nicm
733cea8847
Wake up any clients waiting with the wait-for command when the server
...
exits.
2014-09-01 21:58:41 +00:00
nicm
4e956d545a
Various minor style and spacing nits.
2014-09-01 21:50:18 +00:00
nicm
e075198049
Don't allow pasting into input-disabled panes, from Anish R Athalye.
2014-08-25 13:13:19 +00:00
nicm
2b79d36652
No need to repeat other-end more than once, from Juho Pohjala. Also add
...
it to the commands list while here.
2014-08-11 22:39:57 +00:00
nicm
29d20a55b6
Fix two copy mode problems:
...
1. In vi mode the selection doesn't include the last character if you
moved the cursor up or left.
2. In emacs mode the selection includes the last character if you moved
the cursor to the left.
From Balazs Kezes.
2014-08-11 22:18:16 +00:00
nicm
f518a077b1
Add flags to selectp to enable and disable input to a pane, from Anish
...
Athalye.
2014-08-11 22:14:30 +00:00
Thomas Adam
72797074f3
Add compat/fparseln.c
2014-08-09 21:16:21 +01:00
Thomas Adam
fab8ca0737
SYNCING: Make a note about libutils
...
Don't forget that compat/* needs updating periodically as well.
2014-08-09 20:32:09 +01:00
Thomas Adam
0e23ab4cce
Sync libutil from OpenBSD (imsg)
...
Changes in the imsg API need to be reflected here as tmux wasn't creating
any clients because of it.
2014-08-09 20:32:01 +01:00
Thomas Adam
92997b781a
Add compat/fparseln() for non-BSD systems
...
Linux and friends don't natively have fparseln() so add it to compat/ and
ensure autotools can pick it up.
2014-08-09 20:31:48 +01:00
Thomas Adam
a131b82e95
Merge branch 'obsd-master'
...
Conflicts:
client.c
2014-08-09 20:31:36 +01:00
nicm
1ac96200a7
Remove support for the continuous reporting "any" mouse mode which never
...
really worked properly and is rarely used.
2014-08-09 07:33:37 +00:00
Thomas Adam
fd3b7f3572
FAQ: Mention Git before filing bug reports
...
It's tedious having to tell people all the time to try the Git version to
see if a given problem is reproducible; put this in the FAQ and hope people
read it.
2014-08-08 01:30:23 +01:00
nicm
b8b00aad5d
Revert the up/down wheel emulation for now, there will be a better way
...
to do this along later for those who want it.
2014-07-21 20:45:35 +00:00
nicm
8e4ae12b4d
lockf is entirely useless and it was a mistake to change to it, go back
...
to using flock which actually works sensibly. Also always retry the lock
to fix a potential race, and add some extra logging.
2014-07-21 10:52:48 +00:00
nicm
2056a9ef9e
Drop explicit support for F13-F20 and change to match the xterm terminfo
...
entry:
F13-F24 are S-F1 to S-F12
F25-F36 are C-F1 to C-F12
F37-F48 are C-S-F1 to C-S-F12
F49-F60 are M-F1 to M-F12
and F61-F63 are M-S-F1 to M-S-F3
This should be no difference for applications inside tmux, but means
that any key binding for F13 will need to be replaced by S-F1 and so on.
2014-07-21 10:25:48 +00:00
nicm
c5253ad8f7
Show an error if cmd_find_session can't find the current session, like
...
the other functions.
2014-07-13 20:57:46 +00:00