Commit Graph

5749 Commits

Author SHA1 Message Date
e7de2fe552 Merge branch 'obsd-master' 2016-04-29 14:01:09 +01:00
65e4c57d3a Only assume width 1 when wcwidth() returns -1 on non-OpenBSD platforms. 2016-04-29 12:47:15 +01:00
a9d501e975 Merge branch 'obsd-master' 2016-04-29 12:01:09 +01:00
97417a1813 Fix keys parsing again to correctly accept Unicode when not prefixed
with Escape.
2016-04-29 10:42:16 +00:00
7abdfbe20e OpenBSD wcwidth() is sensible and complete so if it returns -1 it means
that a character is not printable, so return to ignoring such
characters.
2016-04-29 09:11:19 +00:00
7a02910feb Merge branch 'obsd-master' 2016-04-28 10:01:10 +01:00
dd8ba0b5a8 memmove() the right size when expanding tree. 2016-04-28 07:20:26 +00:00
36976ce5e6 After unlock, Update activity time after recalculate_sizes() so that the
session attached flag is correct.
2016-04-28 06:51:56 +00:00
bac7a68023 Merge branch 'obsd-master' 2016-04-27 20:01:10 +01:00
fc70ac4d59 Apply backspace check after working out the actual key, so that M-BSpace
can work.
2016-04-27 16:46:21 +00:00
fb4585bbe0 Merge branch 'master' of github.com:tmux/tmux 2016-04-27 13:10:55 +01:00
61f231a496 Add to TODO. 2016-04-27 13:10:34 +01:00
55fdaab365 Merge branch 'obsd-master' 2016-04-27 12:01:10 +01:00
1cedf78284 Add next/previous paragraph, from J Raynor. 2016-04-27 09:39:09 +00:00
23fdbc9ea6 Loads of platforms appear to have old or broken Unicode character type
information and are missing widths for relatively common Unicode
characters (so mbtowc() works, but wcwidth() fails). So if wcwidth()
returns -1, assume a width of 1 instead of ignoring the character.
2016-04-27 09:36:25 +00:00
394589d493 Merge branch 'obsd-master' 2016-04-27 00:01:09 +01:00
d3546cc85c Simplify next key matching and fix problems with meta and Unicode keys. 2016-04-26 22:19:22 +00:00
447ead940e No more array.h. 2016-04-26 12:06:35 +01:00
7b9c0ced21 Merge branch 'obsd-master' 2016-04-26 12:01:09 +01:00
fb1c929dc6 Remove last uses of array.h. 2016-04-26 10:18:57 +00:00
819ad1a007 Merge branch 'obsd-master' 2016-04-26 10:01:16 +01:00
d303e55258 Log wcwidth() and mbtowc() failure to make it easier to debug a Unicode
codepoint not appearing.
2016-04-26 07:33:36 +00:00
3b833a0c01 Merge branch 'obsd-master' 2016-04-25 20:01:10 +01:00
6bf2a43e67 Don't overwrite modifiers in the buffer when making UTF-8 strings,
append instead.
2016-04-25 17:05:53 +00:00
5391342b08 Start working on 2.3 2016-04-11 01:07:07 +01:00
9a4b45dc0f Add CHANGES notes for 2.2 release 2.2 2016-04-11 01:00:35 +01:00
ad2532c3f4 Merge branch 'obsd-master' 2016-04-04 18:01:11 +01:00
075c086d29 fatalx() not fatal(). 2016-04-04 16:19:43 +00:00
7b8dcbaa86 Merge branch 'master' of github.com:tmux/tmux 2016-04-03 23:55:56 +01:00
75b2c1693e Add --disable-utempter to build without it. 2016-04-03 23:55:38 +01:00
1394420c37 Merge branch 'obsd-master' 2016-03-30 16:01:19 +01:00
ec82fcdfea Bump the listen() backlog up, some people have scripts that run up a lot
of clients quickly.
2016-03-30 13:20:07 +00:00
5658b628b9 Look for utempter_add_record to be sure we have the new utempter API, the old
utempter API was also using utempter.h.
2016-03-26 20:17:17 +00:00
b429a00cce Add to TODO. 2016-03-20 08:14:14 +00:00
410ccce4a3 Merge branch 'obsd-master' 2016-03-18 16:01:15 +00:00
312a7a1e62 Make scrolling behaviour more sensible and maintain cursor position, as
if the same had been done line-by-line. From Michal Mazurek.
2016-03-18 14:27:24 +00:00
ed598e9fe1 Merge branch 'obsd-master' 2016-03-18 08:01:18 +00:00
fa97b0a95b Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.
2016-03-18 07:28:27 +00:00
3dfc79fb09 Tweak a comment. 2016-03-17 15:11:40 +00:00
5fc5c03dad Merge branch 'obsd-master'
Conflicts:
	tmux.c
2016-03-05 17:58:12 +00:00
0d6de44a37 If setlocale("en_US.UTF-8") succeeds, then don't do the check for UTF-8
locale since if it isn't UTF-8 the system is broken anyway. If it fails,
try "" and check for UTF-8 with nl_langinfo(CODESET) rather than
wcwidth(). Based on a diff from schwarze@, nl_langinfo also suggested by
stsp@.
2016-03-05 16:08:38 +00:00
81f78f0da7 Merge branch 'obsd-master' 2016-03-05 10:01:09 +00:00
c38e0a4bbc Do not use c->cwd or s->cwd if it is NULL, found by Ben Boeckel. 2016-03-05 07:47:52 +00:00
1f0b317088 Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale,
so check with wcwidth() on a UTF-8 character after setlocale().
2016-03-05 07:44:31 +00:00
6c35d17800 Merge branch 'obsd-master' 2016-03-03 16:01:11 +00:00
df0983af39 show-* and set-* need to handle a missing target. 2016-03-03 14:15:22 +00:00
fa81d838da Accept clients as sessions in cmd_find_get_session. 2016-03-03 14:14:46 +00:00
45d62482da Merge branch 'obsd-master' 2016-03-03 14:01:10 +00:00
bcb41a09b3 RGB colours shouldn't be mixed up with aixterm colours, return before
that happens when working out if they are supported.
2016-03-03 12:58:15 +00:00
9e2fbb31ec +wchar.h 2016-03-02 18:19:13 +00:00