Skip to content

Commit 5162822

Browse files
committed
patch 8.0.0118
Problem: "make proto" adds extra function prototype. Solution: Add #ifdef.
1 parent cf49790 commit 5162822

File tree

15 files changed

+86
-62
lines changed

15 files changed

+86
-62
lines changed

runtime/doc/change.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*change.txt* For Vim version 8.0. Last change: 2016 Oct 02
1+
*change.txt* For Vim version 8.0. Last change: 2016 Nov 19
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -684,6 +684,7 @@ g& Synonym for `:%s//~/&` (repeat last substitute with
684684
*:s_flags*
685685
The flags that you can use for the substitute commands:
686686

687+
*:&&*
687688
[&] Must be the first one: Keep the flags from the previous substitute
688689
command. Examples: >
689690
:&&

runtime/doc/channel.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*channel.txt* For Vim version 8.0. Last change: 2016 Nov 07
1+
*channel.txt* For Vim version 8.0. Last change: 2016 Dec 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -480,11 +480,6 @@ This depends on the system (on Unix this happens because closing the write end
480480
of a pipe causes the read end to get EOF). To avoid this make the job sleep
481481
for a short while before it exits.
482482

483-
Note that if the job exits before you read the output, the output may be lost.
484-
This depends on the system (on Unix this happens because closing the write end
485-
of a pipe causes the read end to get EOF). To avoid this make the job sleep
486-
for a short while before it exits.
487-
488483
The handler defined for "out_cb" will not receive stderr. If you want to
489484
handle that separately, add an "err_cb" handler: >
490485
let job = job_start(command, {"out_cb": "MyHandler",
@@ -549,7 +544,7 @@ You will want to do something more useful than "echomsg".
549544

550545
To start another process without creating a channel: >
551546
let job = job_start(command,
552-
\ {"in_io": "null", "out_io": "null", "err_io": "null"})
547+
\ {"in_io": "null", "out_io": "null", "err_io": "null"})
553548
554549
This starts {command} in the background, Vim does not wait for it to finish.
555550

@@ -611,6 +606,10 @@ See |job_setoptions()| and |ch_setoptions()|.
611606
"close_cb": handler Callback for when the channel is closed. Same as
612607
"close_cb" on |ch_open()|, see |close_cb|.
613608
*job-exit_cb*
609+
"drop" Specifies when to drop messages. Same as "drop" on
610+
|ch_open()|, see |channel-drop|. For "auto" the
611+
exit_cb is not considered.
612+
614613
"exit_cb": handler Callback for when the job ends. The arguments are the
615614
job and the exit status.
616615
Vim checks up to 10 times per second for jobs that
@@ -644,7 +643,7 @@ See |job_setoptions()| and |ch_setoptions()|.
644643
"channel": {channel} Use an existing channel instead of creating a new one.
645644
The parts of the channel that get used for the new job
646645
will be disconnected from what they were used before.
647-
If the channel was still use by another job this may
646+
If the channel was still used by another job this may
648647
cause I/O errors.
649648
Existing callbacks and other settings remain.
650649

@@ -662,7 +661,7 @@ See |job_setoptions()| and |ch_setoptions()|.
662661
"out_io": "null" disconnect stdout (goes to /dev/null)
663662
"out_io": "pipe" stdout is connected to the channel (default)
664663
"out_io": "file" stdout writes to a file
665-
"out_io": "buffer" stdout appends to a buffer (see below)
664+
"out_io": "buffer" stdout appends to a buffer (see below)
666665
"out_name": "/path/file" the name of the file or buffer to write to
667666
"out_buf": number the number of the buffer to write to
668667
"out_modifiable": 0 when writing to a buffer, 'modifiable' will be off
@@ -675,7 +674,7 @@ See |job_setoptions()| and |ch_setoptions()|.
675674
"err_io": "null" disconnect stderr (goes to /dev/null)
676675
"err_io": "pipe" stderr is connected to the channel (default)
677676
"err_io": "file" stderr writes to a file
678-
"err_io": "buffer" stderr appends to a buffer (see below)
677+
"err_io": "buffer" stderr appends to a buffer (see below)
679678
"err_name": "/path/file" the name of the file or buffer to write to
680679
"err_buf": number the number of the buffer to write to
681680
"err_modifiable": 0 when writing to a buffer, 'modifiable' will be off

runtime/doc/editing.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*editing.txt* For Vim version 8.0. Last change: 2016 Sep 27
1+
*editing.txt* For Vim version 8.0. Last change: 2016 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -977,12 +977,12 @@ WRITING WITH MULTIPLE BUFFERS *buffer-write*
977977

978978
*:wa* *:wall*
979979
:wa[ll] Write all changed buffers. Buffers without a file
980-
name or which are readonly are not written. {not in
981-
Vi}
980+
name cause an error message. Buffers which are
981+
readonly are not written. {not in Vi}
982982

983983
:wa[ll]! Write all changed buffers, even the ones that are
984984
readonly. Buffers without a file name are not
985-
written. {not in Vi}
985+
written and cause an error message. {not in Vi}
986986

987987

988988
Vim will warn you if you try to overwrite a file that has been changed

runtime/doc/eval.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 8.0. Last change: 2016 Nov 04
1+
*eval.txt* For Vim version 8.0. Last change: 2016 Nov 29
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -3084,7 +3084,7 @@ ch_log({msg} [, {handle}]) *ch_log()*
30843084
|ch_logfile()|.
30853085
When {handle} is passed the channel number is used for the
30863086
message.
3087-
{handle} can be Channel or a Job that has a Channel. The
3087+
{handle} can be a Channel or a Job that has a Channel. The
30883088
Channel must be open for the channel number to be used.
30893089

30903090
ch_logfile({fname} [, {mode}]) *ch_logfile()*

runtime/doc/motion.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 8.0. Last change: 2016 Jul 12
1+
*motion.txt* For Vim version 8.0. Last change: 2016 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -915,6 +915,7 @@ was made yet in the current file.
915915
then the position can be near the end of what the
916916
command changed. For example when inserting a word,
917917
the position will be on the last character.
918+
To jump to older changes use |g;|.
918919
{not in Vi}
919920

920921
*'(* *`(*

runtime/doc/options.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 8.0. Last change: 2016 Oct 12
1+
*options.txt* For Vim version 8.0. Last change: 2016 Nov 26
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -242,7 +242,7 @@ opt+=val" the expansion is done before the adding or removing.
242242
Handling of local options *local-options*
243243

244244
Some of the options only apply to a window or buffer. Each window or buffer
245-
has its own copy of this option, thus can each have their own value. This
245+
has its own copy of this option, thus each can have its own value. This
246246
allows you to set 'list' in one window but not in another. And set
247247
'shiftwidth' to 3 in one buffer and 4 in another.
248248

@@ -3871,6 +3871,8 @@ A jump table for the options with a short description can be found at |Q_op|.
38713871

38723872
The format of this option is like that of 'statusline'.
38733873
'guitabtooltip' is used for the tooltip, see below.
3874+
The expression will be evaluated in the |sandbox| when set from a
3875+
modeline, see |sandbox-option|.
38743876

38753877
Only used when the GUI tab pages line is displayed. 'e' must be
38763878
present in 'guioptions'. For the non-GUI tab pages line 'tabline' is
@@ -5699,6 +5701,8 @@ A jump table for the options with a short description can be found at |Q_op|.
56995701
and |+postscript| features}
57005702
Expression used to print the PostScript produced with |:hardcopy|.
57015703
See |pexpr-option|.
5704+
This option cannot be set from a |modeline| or in the |sandbox|, for
5705+
security reasons.
57025706

57035707
*'printfont'* *'pfn'*
57045708
'printfont' 'pfn' string (default "courier")
@@ -7818,7 +7822,7 @@ A jump table for the options with a short description can be found at |Q_op|.
78187822
Amiga console, Win32 console, all GUI versions and terminals with a
78197823
non-empty 't_ts' option).
78207824
When Vim was compiled with HAVE_X11 defined, the original title will
7821-
be restored if possible |X11|.
7825+
be restored if possible, see |X11|.
78227826
When this option contains printf-style '%' items, they will be
78237827
expanded according to the rules used for 'statusline'.
78247828
Example: >

runtime/doc/starting.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*starting.txt* For Vim version 8.0. Last change: 2016 Sep 09
1+
*starting.txt* For Vim version 8.0. Last change: 2016 Nov 24
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar

runtime/doc/tags

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
13571357
--servername remote.txt /*--servername*
13581358
--socketid starting.txt /*--socketid*
13591359
--startuptime starting.txt /*--startuptime*
1360+
--ttyfail starting.txt /*--ttyfail*
13601361
--version starting.txt /*--version*
13611362
--windowid starting.txt /*--windowid*
13621363
-A starting.txt /*-A*
@@ -1844,6 +1845,7 @@ $VIM_POSIX vi_diff.txt /*$VIM_POSIX*
18441845
:$ cmdline.txt /*:$*
18451846
:% cmdline.txt /*:%*
18461847
:& change.txt /*:&*
1848+
:&& change.txt /*:&&*
18471849
:' cmdline.txt /*:'*
18481850
:, cmdline.txt /*:,*
18491851
:. cmdline.txt /*:.*
@@ -5248,6 +5250,7 @@ catch-text eval.txt /*catch-text*
52485250
cc change.txt /*cc*
52495251
ceil() eval.txt /*ceil()*
52505252
ch.vim syntax.txt /*ch.vim*
5253+
ch_canread() eval.txt /*ch_canread()*
52515254
ch_close() eval.txt /*ch_close()*
52525255
ch_close_in() eval.txt /*ch_close_in()*
52535256
ch_evalexpr() eval.txt /*ch_evalexpr()*
@@ -5295,6 +5298,7 @@ channel-close channel.txt /*channel-close*
52955298
channel-close-in channel.txt /*channel-close-in*
52965299
channel-commands channel.txt /*channel-commands*
52975300
channel-demo channel.txt /*channel-demo*
5301+
channel-drop channel.txt /*channel-drop*
52985302
channel-functions usr_41.txt /*channel-functions*
52995303
channel-mode channel.txt /*channel-mode*
53005304
channel-more channel.txt /*channel-more*

runtime/doc/todo.txt

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 8.0. Last change: 2016 Nov 17
1+
*todo.txt* For Vim version 8.0. Last change: 2016 Dec 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -35,22 +35,7 @@ there will not be repeated below, unless there is extra information.
3535
*known-bugs*
3636
-------------------- Known bugs and current work -----------------------
3737

38-
Test_help_complete sometimes fails on MS-Windows:
39-
function RunTheTest[9]..Test_help_complete line 22: Expected ['h test-char@ab',
40-
'h test-char@en', 'h test-col@ab', 'h test-col@en'] but got ['h test-char@en', '
41-
h test-char@en\t', 'h test-col@ab', 'h test-col@en']
42-
Appears to be related to calling feedkeys() with exactly 8 characters.
43-
44-
Patch for GTK3: Kazunobu Kuriyama, 14 Nov.
45-
46-
Patch for fix breakindent bug (Christian, Nov 15)
47-
4838
+channel:
49-
- Skip checking if job ended if there aren't any. (ichizok, 2016 Nov 7, #1196)
50-
- problem with channel callback getting job, while the job was already
51-
deleted. #1242. Fix in #1245 (ichizok), but is that correct?
52-
Perhaps just replace job_still_alive() with job_still_useful()?
53-
That's not sufficient.
5439
- Problem with stderr on Windows? (Vincent Rischmann, 2016 Aug 31, #1026)
5540
- Add 'cwd' argument to start_job(): directory to change to in the child.
5641
check for valid directory before forking.
@@ -115,25 +100,26 @@ Regexp problems:
115100
- Difference between two engines: ".*\zs\/\@>\/" on text "///"
116101
(Chris Paul, 2016 Nov 13) New engine not greedy enough?
117102

118-
Patch to support nested namespace syntax. (Pauli, 2016 Oct 30, #1214)
119-
120-
Patch to fix popup menu positioning. (Hirohito Higashi, 2016 Nov 7, #1241)
121-
122-
Patch to make help tag jumps keep language. (Tatsuki, #1249)
123-
Test by Hirohito Higashi.
103+
'] mark invalid after undoing insert "hello".
124104

125105
Make html indent file use javascript indent, now that it's not just cindent.
126106
#1220
127107

108+
Use __sun instead of sun define check. #1296
109+
128110
Patch to use buffer id for system() and systemlist() (LemonBoy, 2016 Nov 7,
129111
#1240)
130112

113+
When using symbolic links, a package path will not be inserted at the right
114+
position in 'runtimepath'. (Dugan Chen, 2016 Nov 18)
115+
131116
json_encode(): should convert to utf-8. (Nikolai Pavlov, 2016 Jan 23)
132117
What if there is an invalid character?
133118

134119
Bug: ":earlier 100d" doesn't work after using undo file.
135120
(Pavol Juhas, 2016 Nov 15, #1254)
136121
Fix by Christian, but lacks a test.
122+
Test by Pavol Juhas, Nov 22.
137123

138124
Bug: Json with same key should not give internal error. (Lcd, 2016 Oct 26)
139125
Make dict_add give a duplicate key error.
@@ -162,6 +148,9 @@ Error in test_startup_utf8 on Solaris. (Danek Duvall, 2016 Aug 17)
162148
Screen updated delayed when using CTRL-O u in Insert mode.
163149
(Barlik, #1191) Perhaps because status message?
164150

151+
Patch to fix that empty first tab is not in session.
152+
(Hirohito Higashi, 2016 Nov 25, #1282)
153+
165154
Patch for restoring wide characters in the console buffer.
166155
(Ken Takata, 2016 Jun 7)
167156

@@ -187,6 +176,11 @@ Is there another solution?
187176
On MS-Windows with 'clipboard' set to "unnamed" this doesn't work to double
188177
lines: :g/^/normal yyp On Unix it works OK. (Bryce Orgill, 2016 Nov 5)
189178

179+
Patch for wrong cursor position on wrapped line, involving breakindent.
180+
(Ozaki Kiichi, 2016 Nov 25)
181+
182+
Patch for 'cursorlinenr' option. (Ozaki Kiichi, 2016 Nov 30)
183+
190184
Invalid behavior with NULL list. (Nikolai Pavlov, #768)
191185
E.g. deepcopy(test_null_list())
192186

@@ -195,6 +189,13 @@ Patch to make it possible to extend a list with itself.
195189

196190
Patch to add Zstandard compressed file support. (Nick Terrell, 2016 Oct 24)
197191

192+
Patch to add trim() function. (Bukn, 2016 Nov 25, #1280)
193+
194+
Patch to add MODIFIED_BY to MSVC build file. (Chen Lei, 2016 Nov 24, #1275)
195+
196+
On Windows buffer completion sees backslash as escape char instead of path
197+
separator. (Toffanim, 2016 Nov 24, #1274)
198+
198199
min() and max() spawn lots of error messages if sorted list/dictionary
199200
contains invalid data (Nikolay Pavlov, 2016 Sep 4, #1039)
200201

@@ -272,6 +273,9 @@ Lakshmanan, 2016 Aug 25)
272273
MS-Windows: use WS_HIDE instead of SW_SHOWMINNOACTIVE in os_win32.c?
273274
Otherwise task flickers in taskbar.
274275

276+
Bogus characters inserted when triggering indent while changing test.
277+
(Vitor Antunes, 2016 Nov 22, #1269)
278+
275279
Should make ":@r" handle line continuation. (Cesar Romani, 2016 Jun 26)
276280
Also for ":@.".
277281

@@ -280,6 +284,9 @@ Repeating 'opfunc' in a function only works once. (Tarmean, 2016 Jul 15, #925)
280284
Have a way to get the call stack, in a function and from an exception.
281285
#1125
282286

287+
Patch to add 'pythonhome' and 'pythonthreehome' options. (Kazuki Sakamoto,
288+
2016 Nov 21, #1266)
289+
283290
Second problem in #966: ins_compl_add_tv() uses get_dict_string() multiple
284291
times, overwrites the one buffer. (Nikolay Pavlov, 2016 Aug 5)
285292

@@ -1306,6 +1313,7 @@ With "tw=55 fo+=a" typing space before ) doesn't work well. (Scott Mcdermott,
13061313

13071314
Patch to add random number generator. (Hong Xu, 2010 Nov 8, update Nov 10)
13081315
Alternative from Christian Brabandt. (2010 Sep 19)
1316+
New one from Yasuhiro Matsumoto, #1277.
13091317

13101318
Messages in message.txt are highlighted as examples.
13111319

runtime/doc/usr_41.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*usr_41.txt* For Vim version 8.0. Last change: 2016 Sep 01
1+
*usr_41.txt* For Vim version 8.0. Last change: 2016 Nov 29
22

33
VIM USER MANUAL - by Bram Moolenaar
44

@@ -930,6 +930,7 @@ Testing: *test-functions*
930930
test_null_string() return a null String
931931

932932
Inter-process communication: *channel-functions*
933+
ch_canread() check if there is something to read
933934
ch_open() open a channel
934935
ch_close() close a channel
935936
ch_close_in() close the in part of a channel

0 commit comments

Comments
 (0)