Skip to content

Commit de86bd5

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 549abc2 + 4140c4f commit de86bd5

86 files changed

Lines changed: 3381 additions & 2697 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
# You can use github users with @user or email addresses
4+
5+
# These owners will be the default owners for everything in the repo.
6+
* @brammool
7+
8+
# Order is important. The last matching pattern has the most precedence.
9+
# So if a pull request only touches javascript files, only these owners
10+
# will be requested to review.
11+
12+
src/libvterm/* @leonerd
13+
14+
runtime/autoload/getscript.vim @cecamp
15+
runtime/autoload/netrw.vim @cecamp
16+
runtime/autoload/netrwFileHandlers.vim @cecamp
17+
runtime/autoload/netrwSettings.vim @cecamp
18+
runtime/autoload/tar.vim @cecamp
19+
runtime/autoload/vimball.vim @cecamp
20+
runtime/autoload/zip.vim @cecamp
21+
runtime/doc/pi_getscript.txt @cecamp
22+
runtime/doc/pi_logipat.txt @cecamp
23+
runtime/doc/pi_netrw.txt @cecamp
24+
runtime/doc/pi_tar.txt @cecamp
25+
runtime/doc/pi_vimball.txt @cecamp
26+
runtime/doc/pi_zip.txt @cecamp
27+
runtime/plugin/getscriptPlugin.vim @cecamp
28+
runtime/plugin/logiPat.vim @cecamp
29+
runtime/plugin/netrwPlugin.vim @cecamp
30+
runtime/plugin/tarPlugin.vim @cecamp
31+
runtime/plugin/vimballPlugin.vim @cecamp
32+
runtime/plugin/zipPlugin.vim @cecamp
33+
runtime/plugin/amiga.vim @cecamp
34+
runtime/plugin/csh.vim @cecamp
35+
runtime/plugin/dcl.vim @cecamp
36+
runtime/plugin/wlmfilt.vim @cecamp
37+
runtime/plugin/exports.vim @cecamp
38+
runtime/plugin/lex.vim @cecamp
39+
runtime/plugin/lisp.vim @cecamp
40+
runtime/plugin/maple.vim @cecamp
41+
runtime/plugin/netrw.vim @cecamp
42+
runtime/plugin/rpcgen.vim @cecamp
43+
runtime/plugin/sh.vim @cecamp
44+
runtime/plugin/sm.vim @cecamp
45+
runtime/plugin/tags.vim @cecamp
46+
runtime/plugin/tex.vim @cecamp
47+
runtime/plugin/vim.vim @cecamp
48+
runtime/plugin/xmath.vim @cecamp
49+
runtime/plugin/xxd.vim @cecamp
50+
runtime/plugin/yacc.vim @cecamp

Filelist

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ SRC_ALL = \
1010
.travis.yml \
1111
.cirrus.yml \
1212
.github/workflows/ci-windows.yaml \
13+
.github/CODEOWNERS \
1314
appveyor.yml \
1415
ci/appveyor.bat \
1516
ci/if_ver*.vim \
@@ -74,6 +75,7 @@ SRC_ALL = \
7475
src/highlight.c \
7576
src/indent.c \
7677
src/insexpand.c \
78+
src/job.c \
7779
src/json.c \
7880
src/json_test.c \
7981
src/kword_test.c \
@@ -249,6 +251,7 @@ SRC_ALL = \
249251
src/proto/highlight.pro \
250252
src/proto/indent.pro \
251253
src/proto/insexpand.pro \
254+
src/proto/job.pro \
252255
src/proto/json.pro \
253256
src/proto/list.pro \
254257
src/proto/locale.pro \

runtime/doc/channel.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 8.2. Last change: 2020 Jul 10
1+
*channel.txt* For Vim version 8.2. Last change: 2020 Sep 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -608,6 +608,10 @@ ch_logfile({fname} [, {mode}]) *ch_logfile()*
608608
after every message, on Unix you can use "tail -f" to see what
609609
is going on in real time.
610610

611+
To enable the log very early, to see what is received from a
612+
terminal during startup, use |--cmd|: >
613+
vim --cmd "call ch_logfile('logfile', 'w')"
614+
<
611615
This function is not available in the |sandbox|.
612616
NOTE: the channel communication is stored in the file, be
613617
aware that this may contain confidential and privacy sensitive
@@ -1256,7 +1260,9 @@ After setting 'buftype' to "prompt" Vim does not automatically start Insert
12561260
mode, use `:startinsert` if you want to enter Insert mode, so that the user
12571261
can start typing a line.
12581262

1259-
The text of the prompt can be set with the |prompt_setprompt()| function.
1263+
The text of the prompt can be set with the |prompt_setprompt()| function. If
1264+
no prompt is set with |prompt_setprompt()|, "% " is used. You can get the
1265+
effective prompt text for a buffer, with |prompt_getprompt()|.
12601266

12611267
The user can go to Normal mode and navigate through the buffer. This can be
12621268
useful to see older output or copy text.

runtime/doc/eval.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2696,6 +2696,7 @@ popup_show({id}) none unhide popup window {id}
26962696
pow({x}, {y}) Float {x} to the power of {y}
26972697
prevnonblank({lnum}) Number line nr of non-blank line <= {lnum}
26982698
printf({fmt}, {expr1}...) String format text
2699+
prompt_getprompt({buf}) String get prompt text
26992700
prompt_setcallback({buf}, {expr}) none set prompt callback function
27002701
prompt_setinterrupt({buf}, {text}) none set prompt interrupt function
27012702
prompt_setprompt({buf}, {text}) none set prompt text
@@ -7847,6 +7848,17 @@ printf({fmt}, {expr1} ...) *printf()*
78477848
arguments an error is given. Up to 18 arguments can be used.
78487849

78497850

7851+
prompt_getprompt({buf}) *prompt_getprompt()*
7852+
Returns the effective prompt text for buffer {buf}. {buf} can
7853+
be a buffer name or number. |prompt-buffer|.
7854+
7855+
If the buffer doesn't exist or isn't a prompt buffer, an empty
7856+
string is returned.
7857+
7858+
Can also be used as a |method|: >
7859+
GetBuffer()->prompt_getprompt()
7860+
7861+
78507862
prompt_setcallback({buf}, {expr}) *prompt_setcallback()*
78517863
Set prompt callback for buffer {buf} to {expr}. When {expr}
78527864
is an empty string the callback is removed. This has only
@@ -7902,7 +7914,7 @@ prompt_setprompt({buf}, {text}) *prompt_setprompt()*
79027914
Can also be used as a |method|: >
79037915
GetBuffer()->prompt_setprompt('command: ')
79047916

7905-
prop_ functions are documented here: |text-prop-functions|.
7917+
prop_ functions are documented here: |text-prop-functions|
79067918

79077919
pum_getpos() *pum_getpos()*
79087920
If the popup menu (see |ins-completion-menu|) is not visible,

runtime/doc/usr_41.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,7 @@ Tags: *tag-functions*
11181118
settagstack() modify the tag stack of a window
11191119

11201120
Prompt Buffer: *promptbuffer-functions*
1121+
prompt_getprompt() get the effective prompt text for a buffer
11211122
prompt_setcallback() set prompt callback for a buffer
11221123
prompt_setinterrupt() set interrupt callback for a buffer
11231124
prompt_setprompt() set the prompt text for a buffer

src/Make_cyg_ming.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ OBJ += $(OUTDIR)/netbeans.o
870870
endif
871871

872872
ifeq ($(CHANNEL),yes)
873-
OBJ += $(OUTDIR)/channel.o
873+
OBJ += $(OUTDIR)/job.o $(OUTDIR)/channel.o
874874
LIB += -lwsock32 -lws2_32
875875
endif
876876

src/Make_mvc.mak

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ SOUND_LIB = winmm.lib
471471
!endif
472472

473473
!if "$(CHANNEL)" == "yes"
474-
CHANNEL_PRO = proto/channel.pro
475-
CHANNEL_OBJ = $(OBJDIR)/channel.obj
474+
CHANNEL_PRO = proto/job.pro proto/channel.pro
475+
CHANNEL_OBJ = $(OBJDIR)/job.obj $(OBJDIR)/channel.obj
476476
CHANNEL_DEFS = -DFEAT_JOB_CHANNEL -DFEAT_IPV6
477477
! if $(WINVER) >= 0x600
478478
CHANNEL_DEFS = $(CHANNEL_DEFS) -DHAVE_INET_NTOP
@@ -1673,6 +1673,8 @@ $(OUTDIR)/if_tcl.obj: $(OUTDIR) if_tcl.c $(INCL)
16731673
$(OUTDIR)/iscygpty.obj: $(OUTDIR) iscygpty.c $(CUI_INCL)
16741674
$(CC) $(CFLAGS_OUTDIR) iscygpty.c -D_WIN32_WINNT=0x0600 -DUSE_DYNFILEID -DENABLE_STUB_IMPL
16751675

1676+
$(OUTDIR)/job.obj: $(OUTDIR) job.c $(INCL)
1677+
16761678
$(OUTDIR)/json.obj: $(OUTDIR) json.c $(INCL)
16771679

16781680
$(OUTDIR)/list.obj: $(OUTDIR) list.c $(INCL)
@@ -1703,11 +1705,11 @@ $(OUTDIR)/mouse.obj: $(OUTDIR) mouse.c $(INCL)
17031705

17041706
$(OUTDIR)/move.obj: $(OUTDIR) move.c $(INCL)
17051707

1706-
$(OUTDIR)/mbyte.obj: $(OUTDIR) mbyte.c $(INCL)
1708+
$(OUTDIR)/mbyte.obj: $(OUTDIR) mbyte.c $(INCL)
17071709

1708-
$(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL) version.h
1710+
$(OUTDIR)/netbeans.obj: $(OUTDIR) netbeans.c $(NBDEBUG_SRC) $(INCL) version.h
17091711

1710-
$(OUTDIR)/channel.obj: $(OUTDIR) channel.c $(INCL)
1712+
$(OUTDIR)/channel.obj: $(OUTDIR) channel.c $(INCL)
17111713

17121714
$(OUTDIR)/normal.obj: $(OUTDIR) normal.c $(INCL)
17131715

src/Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ SRC = $(BASIC_SRC) \
17251725

17261726
EXTRA_SRC = if_lua.c if_mzsch.c auto/if_perl.c if_perlsfio.c \
17271727
if_python.c if_python3.c if_tcl.c if_ruby.c \
1728-
gui_beval.c netbeans.c channel.c \
1728+
gui_beval.c netbeans.c job.c channel.c \
17291729
$(GRESOURCE_SRC)
17301730

17311731
# Unittest files
@@ -1979,6 +1979,7 @@ PRO_AUTO = \
19791979
if_xcmdsrv.pro \
19801980
indent.pro \
19811981
insexpand.pro \
1982+
job.pro \
19821983
json.pro \
19831984
list.pro \
19841985
locale.pro \
@@ -3378,6 +3379,9 @@ objects/indent.o: indent.c
33783379
objects/insexpand.o: insexpand.c
33793380
$(CCC) -o $@ insexpand.c
33803381

3382+
objects/job.o: job.c
3383+
$(CCC) -o $@ job.c
3384+
33813385
objects/json.o: json.c
33823386
$(CCC) -o $@ json.c
33833387

@@ -4275,6 +4279,10 @@ objects/gui_at_fs.o: gui_at_fs.c vim.h protodef.h auto/config.h feature.h \
42754279
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
42764280
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
42774281
proto.h errors.h globals.h gui_at_sb.h
4282+
objects/job.o: job.c vim.h protodef.h auto/config.h feature.h os_unix.h \
4283+
auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
4284+
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \
4285+
proto.h errors.h globals.h
42784286
objects/json_test.o: json_test.c main.c vim.h protodef.h auto/config.h feature.h \
42794287
os_unix.h auto/osdef.h ascii.h keymap.h term.h macros.h option.h beval.h \
42804288
proto/gui_beval.pro structs.h regexp.h gui.h alloc.h ex_cmds.h spell.h \

src/auto/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8111,9 +8111,9 @@ fi
81118111
if test "$enable_channel" = "yes"; then
81128112
$as_echo "#define FEAT_JOB_CHANNEL 1" >>confdefs.h
81138113

8114-
CHANNEL_SRC="channel.c"
8114+
CHANNEL_SRC="job.c channel.c"
81158115

8116-
CHANNEL_OBJ="objects/channel.o"
8116+
CHANNEL_OBJ="objects/job.o objects/channel.o"
81178117

81188118
fi
81198119

0 commit comments

Comments
 (0)