Nicholas Marriott
dd3c72f132
Merge branch 'master' into sixel
2019-12-18 20:24:26 +00:00
Nicholas Marriott
54efe33799
Add back utempter code, reported by Peter Schellenbach.
2019-12-18 15:58:06 +00:00
Thomas Adam
d0cd68d5e4
Merge branch 'obsd-master'
2019-12-18 08:01:23 +00:00
nicm
ef54a08080
Do not rely on errno after glob(3) fails.
2019-12-18 07:48:56 +00:00
Thomas Adam
4223293ed8
Merge branch 'obsd-master'
2019-12-17 12:01:24 +00:00
nicm
f8cb759bdb
Use the message that has already been built rather than the va_list.
2019-12-17 11:43:23 +00:00
Nicholas Marriott
3879509426
Define FNM_CASEFOLD to 0 for AIX, from Eric N Vander Weele.
2019-12-16 21:34:36 +00:00
Nicholas Marriott
479d411dda
Remove imsg.h.
2019-12-16 20:01:26 +00:00
Thomas Adam
52b6ca5706
Merge branch 'obsd-master'
2019-12-16 18:01:31 +00:00
nicm
1bdd4828bd
If /dev/fd/X is a symlink and realpath() expands symlinks, /dev/fd/X
...
ends up pointing to the wrong place before it is passed to the client.
The path is only used internally so there is no real need for
realpath(), remove it and move the get_path function to file.c where all
the callers are.
2019-12-16 16:39:03 +00:00
nicm
b4520aaf2c
Need to include message size in the maximum buffer calculation.
2019-12-16 16:09:28 +00:00
nicm
eaa58d28dc
Instead of using large buffers in imsgs, add the data or path onto the end.
2019-12-16 15:48:50 +00:00
Nicholas Marriott
e6b02dec19
Add to CHANGES.
2019-12-13 11:31:53 +00:00
Thomas Adam
00723f1f5c
Merge branch 'obsd-master'
2019-12-13 10:01:24 +00:00
nicm
21f9b39f06
Show UTF-8 in choose-buffer mode. From KOIE Hidetaka.
2019-12-13 09:15:13 +00:00
Thomas Adam
e24e9867ec
Merge branch 'obsd-master'
2019-12-13 08:01:24 +00:00
nicm
6ce943f4d9
Need to check in the error callback also.
2019-12-13 07:00:22 +00:00
nicm
828001ecc5
Do not spin waiting for exit, instead check in the write callback.
2019-12-13 06:55:12 +00:00
Thomas Adam
58908b045b
Merge branch 'obsd-master'
2019-12-12 15:38:33 +00:00
nicm
dcf41ec927
Do not crash in tree modes if the pane is only 1 in width, reported by
...
KOIE Hidetaka in GitHub issue 2015.
2019-12-12 15:03:13 +00:00
nicm
2b2b193791
Add function to the right file.
2019-12-12 15:01:54 +00:00
Thomas Adam
7922f4ee7b
Merge branch 'obsd-master'
2019-12-12 14:33:47 +00:00
nicm
5134666702
Change source-file to use new file code which allows it to read from
...
stdin.
2019-12-12 12:49:36 +00:00
nicm
268f2b047a
Do not check if client is dead if it is NULL.
2019-12-12 11:51:32 +00:00
nicm
c284ebe0ad
Rewrite the code for reading and writing files. Now, if the client is
...
not attached, the server process asks it to open the file, similar to
how works for stdin, stdout, stderr. This makes special files like
/dev/fd/X work (used by some shells). stdin, stdout and stderr and
control mode are now just special cases of the same mechanism. This will
also make it easier to use for other commands that read files such as
source-file.
2019-12-12 11:39:56 +00:00
Thomas Adam
0d99519c3d
Merge branch 'obsd-master'
2019-12-11 20:01:25 +00:00
nicm
64fb7e472a
Tweak previous to check the wrapped flag and stop if not set.
2019-12-11 18:30:29 +00:00
nicm
ab630f72ed
Allow search across wrapped lines and fix some inconsistencies in how th
...
position is represented, GitHub issue 2014 from Anindya Mukherjee.
2019-12-11 18:23:34 +00:00
Thomas Adam
96abf400a5
Merge branch 'obsd-master'
2019-12-11 14:01:25 +00:00
nicm
f733d3f3eb
Do not set cursor colour to default unless it has been changed, GitHub
...
issue 2013.
2019-12-11 12:13:37 +00:00
Nicholas Marriott
6aeb679066
Add to CHANGES.
2019-12-10 19:02:27 +00:00
Nicholas Marriott
1a0e5fe933
Merge branch 'master' into sixel
2019-12-10 16:34:11 +00:00
Nicholas Marriott
15d7e564dd
Add ~/.config/tmux/tmux.conf to the default search path for configuration files
...
(in Makefile.am, so portable tmux only).
2019-12-10 16:31:01 +00:00
Thomas Adam
5b2048fbb9
Merge branch 'obsd-master'
2019-12-10 16:01:25 +00:00
nicm
55eb3e4773
Make TMUX_CONF a list of files and expand leading $FOO or ~.
2019-12-10 14:22:15 +00:00
Nicholas Marriott
cf071ffecd
Remove images when reflow happens.
2019-12-09 15:41:56 +00:00
Nicholas Marriott
2006b7a563
More invalidation of images.
2019-12-05 09:27:15 +00:00
Nicholas Marriott
b642eac450
Redraw and scroll images and part of invalidating them.
2019-12-05 09:11:24 +00:00
Nicholas Marriott
7566e37a46
Call sixel_scale with the right number of arguments.
2019-12-05 08:51:24 +00:00
Nicholas Marriott
62c0280b23
Correctly remove when not visible.
2019-12-05 08:48:58 +00:00
Nicholas Marriott
86c5098a88
Add helpers to scroll image up and a flag to copy the colours.
2019-12-05 08:32:25 +00:00
Nicholas Marriott
49f2f0a8f1
Store images, currently at most 10.
2019-12-05 00:02:55 +00:00
Nicholas Marriott
3aebcc6709
Merge branch 'master' into sixel
2019-12-04 19:27:16 +00:00
Nicholas Marriott
92ecd611f6
Check each _PATH_* define individually (Solaris has paths.h but not all of the
...
defines). From Eric N Vander Weele.
2019-12-03 18:53:23 +00:00
Thomas Adam
875139f5fa
Merge branch 'obsd-master'
2019-12-03 12:01:26 +00:00
nicm
7826d40ff9
Style nits in function arguments.
2019-12-03 10:47:22 +00:00
Thomas Adam
edf96b06a5
Merge branch 'obsd-master'
2019-12-02 20:01:24 +00:00
nicm
ec1b8e5f05
Remove client menu, I don't think it adds anything.
2019-12-02 19:25:52 +00:00
Nicholas Marriott
2173365f4f
Fix keys in CHANGES.
2019-12-01 21:15:21 +00:00
Nicholas Marriott
7836779e21
Merge branch '3.0a-rc'
2019-12-01 09:00:46 +00:00