Commit Graph

507 Commits

Author SHA1 Message Date
eb57cbcc29 Merge branch 'obsd-master' 2019-10-14 12:01:26 +01:00
68d59a16ce Memory leaks, from Igor Wong in GitHub issue 1934. 2019-10-14 08:38:07 +00:00
f8ad72b2ee Merge branch 'obsd-master' 2019-06-20 15:02:26 +01:00
5f92f92908 Add a per-pane option set. Pane options inherit from window options (so
there should be no change to existing behaviour) and are set and shown
with set-option -p and show-options -p.

Change remain-on-exit and window-style/window-active-style to be pane
options (some others will be changed later).

This makes select-pane -P and -g unnecessary so no longer document them
(they still work) and no longer document set-window-option and
show-window-options in favour of set-option -w and show-options -w.
2019-06-20 11:59:59 +00:00
5489796737 Merge branch 'obsd-master' 2019-04-27 20:09:07 +01:00
dfb7bb6830 Merge hooks into options and make each one an array option. This allows
multiple commands to be easily bound to one hook. set-hook and
show-hooks remain but they are now variants of set-option and
show-options. show-options now has a -H flag to show hooks (by default
they are not shown).
2019-04-26 11:38:51 +00:00
2977317243 Merge branch 'obsd-master' 2018-11-22 12:02:38 +00:00
3a7b9d5735 Do not use PWD unless it actually matches the real working directory. 2018-11-22 10:36:40 +00:00
84ddc72744 Merge branch 'obsd-master' 2018-01-17 11:26:10 +00:00
f32fd2df69 Improve error message if creating socket parent directory fails, from
Thomas Adam for GitHub issue 1215.
2018-01-12 10:22:02 +00:00
06684c93de Merge branch 'obsd-master' 2018-01-01 12:01:13 +00:00
d17c90583a Prefer PWD for current directory if present in client, from Wei Zhao in
GitHub issue 1183.
2018-01-01 11:19:08 +00:00
1076a2e26c Merge branch 'obsd-master'
Conflicts:
	cmd-pipe-pane.c
	proc.c
	tmux.c
	window.c
2017-07-12 13:43:08 +01:00
ed3cfaafb2 Make shell_command a global like other stuff rather than making it an
exception and using callback argument.
2017-07-12 09:21:25 +00:00
4e01036cb6 Merge branch 'obsd-master' 2017-07-03 10:01:14 +01:00
42285ac989 Try C.UTF-8 which is also a commonly useful locale on some platforms,
from Romain Francoise.
2017-07-03 08:08:30 +00:00
ae1a6c2fc5 Do not need getopt.h. 2017-04-22 12:08:41 +00:00
93062ad099 Fix after merge 2017-04-21 09:29:22 +01:00
22e594fcea Merge branch 'obsd-master'
Conflicts:
	Makefile.am
	pty.c
2017-04-21 09:25:07 +01:00
b723f50e65 Do not need getopt.h for getopt, from Eric N Vander Weele. 2017-04-20 20:35:11 +01:00
87997efe8d Use fdforkpty() instead of our own unwrapped versions. 2017-04-20 17:49:26 +00:00
5a551ac57f Merge branch 'obsd-master' 2017-04-19 16:01:14 +01:00
689f4bfac2 Style nits and a missing cast. 2017-04-19 12:44:29 +00:00
d912687be7 Merge branch 'obsd-master' 2017-04-16 22:01:19 +01:00
d566c780e5 Memory leak, from David CARLIER. 2017-04-16 20:33:46 +00:00
02ddd4ce70 Merge branch 'obsd-master' 2017-03-21 20:01:16 +00:00
04e17a7e11 Use uid_t for UID not u_int. 2017-03-21 19:28:03 +00:00
514a723f74 Solaris fixes, mostly from Dagobert Michelsen. 2017-03-09 15:39:13 +00:00
f734d81074 Merge branch 'obsd-master' 2017-02-16 12:01:21 +00:00
8b8d0963da Style nits. 2017-02-16 10:53:25 +00:00
a3d5bfcece Define away pledge() on !OpenBSD. 2017-01-23 12:27:58 +00:00
b3a724f30c Merge branch 'obsd-master'
Conflicts:
	Makefile
	tmux.c
2017-01-23 12:20:43 +00:00
98e7fbb2ac Open /dev/ptm before pledge() and save it to be used for PTMGET later
(this means inlining forkpty()).

ok deraadt
2017-01-23 10:09:43 +00:00
c9fcb76651 Merge branch 'obsd-master' 2017-01-15 22:01:11 +00:00
2b0bc9f1c5 Major tidy up and rework of options tree and set-option/show-options
commands this pushes more of the code into options.c and ties it more
closely to the options table rather than having an unnecessary
split. Also add support for array options (will be used later). Only
(intentional) user visible change is that show-options output is now
passed through vis(3) with VIS_DQ so quotes are escaped.
2017-01-15 20:48:41 +00:00
d4cb178249 Merge branch 'obsd-master' 2017-01-12 16:01:13 +00:00
24cba5907b Simplify appending to string options. 2017-01-12 15:36:35 +00:00
a64b7cfe5d Merge branch 'obsd-master' 2016-12-10 00:01:11 +00:00
bee95bf378 Spacing nits. 2016-12-09 21:39:27 +00:00
b9dc855016 Merge branch 'obsd-master'
Conflicts:
	format.c
	osdep-openbsd.c
2016-10-12 09:45:49 +01:00
e45401846f Add static in window-*.c and move some internal functions out of tmux.h. 2016-10-11 13:21:59 +00:00
c426e485e5 Loads more static, except for cmd-*.c and window-*.c. 2016-10-10 21:29:23 +00:00
5e9412608e No longer set __progname, we have getprogname(). 2016-05-30 10:02:08 +01:00
c10d83b4df __progname -> getprogname()
Fix fallout from recent use of getprogname(), which deprecates __progname.
2016-05-27 20:11:32 +01:00
a2e0db67cc Merge branch 'obsd-master' 2016-05-27 20:01:11 +01:00
fcb00a4161 Use getprogname() instead of __progname to make portability easier. 2016-05-27 17:05:42 +00:00
7411f21c5f Use osdep_event_init() so that LIBEVENT_NOEPOLL and so on are set to turn off
broken event methods. Reported by Suraj N Kurapati.
2016-05-20 07:54:30 +01:00
f4648c1ca1 Merge branch 'obsd-master' 2016-05-05 00:01:11 +01:00
9f045787a5 Fix up a couple of long lines. 2016-05-04 21:29:47 +00:00
5fc5c03dad Merge branch 'obsd-master'
Conflicts:
	tmux.c
2016-03-05 17:58:12 +00:00