Bram Moolenaar
6ed8819822
patch 8.1.1319: computing function length name in many places
...
Problem: Computing function length name in many places.
Solution: compute name length in call_func().
2019-05-11 18:37:44 +02:00
Bram Moolenaar
4ca41534b7
patch 8.1.1312: Coverity warning for using uninitialized variable
...
Problem: Coverity warning for using uninitialized variable.
Solution: Clear exarg_T.
2019-05-09 21:48:37 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
ad3ec76bb8
patch 8.1.1194: typos and small problems in source files
...
Problem: Typos and small problems in source files.
Solution: Small fixes.
2019-04-21 00:00:13 +02:00
Bram Moolenaar
04af19637c
patch 8.1.1158: json encoded string is sometimes missing the final NUL
...
Problem: Json encoded string is sometimes missing the final NUL.
Solution: Add the NUL. Also for log messages.
2019-04-12 21:19:04 +02:00
Bram Moolenaar
2c519cf3bf
patch 8.1.1032: warnings from clang static analyzer
...
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2019-03-21 21:45:34 +01:00
Bram Moolenaar
772153f8d8
patch 8.1.0993: ch_read() may return garbage if terminating NL is missing
...
Problem: ch_read() may return garbage if terminating NL is missing.
Solution: Add terminating NUL. (Ozaki Kiichi, closes #4065 )
2019-03-04 12:09:49 +01:00
Bram Moolenaar
8caa43d815
patch 8.1.0960: when using ConPTY garbage collection has undefined behavior
...
Problem: When using ConPTY garbage collection has undefined behavior.
Solution: Free the channel in a better way. (Nobuhiro Takasaki, closes #4020 )
2019-02-20 22:45:06 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
6524068ff3
patch 8.1.0889: MS-Windows: a channel write may hang
...
Problem: MS-Windows: a channel write may hang.
Solution: Check for WriteFile() not writing anything. (Yasuhiro Matsumoto,
closes #3920 )
2019-02-10 22:23:26 +01:00
Bram Moolenaar
c6ddce3f2c
patch 8.1.0880: MS-Windows: inconsistent selection of winpty/conpty
...
Problem: MS-Windows: inconsistent selection of winpty/conpty.
Solution: Name option 'termwintype', use ++type argument and "term_pty" for
term_start(). (Hirohito Higashi, closes #3915 )
2019-02-08 12:47:03 +01:00
Bram Moolenaar
aa5df7e312
patch 8.1.0870: Vim doesn't use the new ConPTY support in Windows 10
...
Problem: Vim doesn't use the new ConPTY support in Windows 10.
Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794 )
2019-02-03 14:53:10 +01:00
Bram Moolenaar
b3051ce82f
patch 8.1.0863: cannot see what signal caused a job to end
...
Problem: Cannot see what signal caused a job to end.
Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786 )
2019-01-31 15:52:11 +01:00
Bram Moolenaar
2a4857a1fc
patch 8.1.0845: having job_status() free the job causes problems
...
Problem: Having job_status() free the job causes problems.
Solution: Do not actually free the job or terminal yet, put it in a list and
free it a bit later. Do not use a terminal after checking the job
status. (closes #3873 )
2019-01-29 22:29:07 +01:00
Bram Moolenaar
dec01206b2
patch 8.1.0838: compiler warning for type conversion
...
Problem: Compiler warning for type conversion.
Solution: Add a type cast. (Mike Williams)
2019-01-28 20:04:24 +01:00
Bram Moolenaar
1ecc5e4a99
patch 8.1.0824: SunOS/Solaris has a problem with ttys
...
Problem: SunOS/Solaris has a problem with ttys.
Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi,
closes #3865 )
2019-01-26 15:12:55 +01:00
Bram Moolenaar
240583869a
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
...
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823 )
2019-01-24 23:11:49 +01:00
Bram Moolenaar
31faed60bf
patch 8.1.0796: MS-Windows 7: problem with named pipe on channel
...
Problem: MS-Windows 7: problem with named pipe on channel.
Solution: Put back the disconnect/connect calls. (Yasuhiro Matsumoto,
closes #3833 )
2019-01-22 23:01:40 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
b091f30bf3
patch 8.1.0777: Win32: using pipes for channel does not work well
...
Problem: Win32: using pipes for channel does not work well.
Solution: Use a larger buffer and handle overlaps. (Yasuhiro Matsumoto,
closes #3782 )
2019-01-19 14:37:00 +01:00
Bram Moolenaar
1ac56c2d11
patch 8.1.0770: inconsistent use of ELAPSED_FUNC
...
Problem: Inconsistent use of ELAPSED_FUNC.
Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a
typedef. (Ozaki Kiichi, closes #3815 )
2019-01-17 22:28:22 +01:00
Bram Moolenaar
e40742526e
patch 8.1.0762: compiler warning
...
Problem: Compiler warning.
Solution: Add type cast. (Mike Williams)
2019-01-17 14:31:14 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
6e5ea8d2a9
patch 8.1.0735: cannot handle binary data
...
Problem: Cannot handle binary data.
Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638 )
2019-01-12 22:47:31 +01:00
Bram Moolenaar
8b62d87e42
patch 8.1.0692: if a buffer was deleted a channel can't write to it
...
Problem: If a buffer was deleted a channel can't write to it.
Solution: When the buffer exists but was unloaded, prepare it for writing.
(closes #3764 )
2019-01-05 00:02:57 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
cd1a62d468
patch 8.1.0590: when a job ends the closed channels are not handled
...
Problem: When a job ends the closed channels are not handled.
Solution: When a job is detected to have ended, check the channels again.
(closes #3530 )
2018-12-14 21:32:02 +01:00
Bram Moolenaar
42a4ea10af
patch 8.1.0486: can't build in MS-Windows
...
Problem: Can't build in MS-Windows.
Solution: Put mch_access() call inside #ifdef
2018-10-19 17:36:01 +02:00
Bram Moolenaar
839e81e12d
patch 8.1.0485: term_start() does not check if directory is accessible
...
Problem: term_start() does not check if directory is accessible.
Solution: Add mch_access() call. (Jason Franklin)
2018-10-19 16:53:39 +02:00
Bram Moolenaar
42335f50bc
patch 8.1.0377: xdiff doesn't use the Vim memory allocation functions
...
Problem: Xdiff doesn't use the Vim memory allocation functions.
Solution: Change the xdl_ defines. Check for out-of-memory. Rename
"ignored" to "vim_ignored".
2018-09-13 15:33:43 +02:00
Bram Moolenaar
0b1468884a
patch 8.1.0350: Vim may block on ch_sendraw()
...
Problem: Vim may block on ch_sendraw() when the job is sending data back to
Vim, which isn't read yet. (Nate Bosch)
Solution: Add the "noblock" option to job_start(). (closes #2548 )
2018-09-06 16:27:24 +02:00
Bram Moolenaar
4b16ee743e
patch 8.1.0263: channel log doesn't show part of channel
...
Problem: Channel log doesn't show part of channel.
Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303 )
2018-08-09 22:15:34 +02:00
Bram Moolenaar
c89d4b3530
patch 8.1.0167: lock flag in new dictitem is reset in many places
...
Problem: Lock flag in new dictitem is reset in many places.
Solution: Always reset the lock flag.
2018-07-08 17:19:02 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +02:00
Bram Moolenaar
0e5979a6d4
patch 8.1.0069: cannot handle pressing CTRL-C in a prompt buffer
...
Problem: Cannot handle pressing CTRL-C in a prompt buffer.
Solution: Add prompt_setinterrupt().
2018-06-17 19:36:33 +02:00
Bram Moolenaar
493359eb3b
patch 8.1.0050: $VIM_TERMINAL is also set when not in a terminal window
...
Problem: $VIM_TERMINAL is also set when not in a terminal window.
Solution: Pass a flag to indicate whether the job runs in a terminal.
2018-06-12 20:25:52 +02:00
Bram Moolenaar
f273245f64
patch 8.1.0027: difficult to make a plugin that feeds a line to a job
...
Problem: Difficult to make a plugin that feeds a line to a job.
Solution: Add the nitial code for the "prompt" buftype.
2018-06-03 14:47:35 +02:00
Bram Moolenaar
e65fffd9b4
patch 8.0.1828: get no clue why :gui does not fork
...
Problem: Get no clue why :gui does not fork.
Solution: Add a channel log message.
2018-05-13 14:40:15 +02:00
Bram Moolenaar
b2ed680ba7
patch 8.0.1827: compiler warning for signed/unsigned char pointers
...
Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani)
Solution: Change the type of jv_argv.
2018-05-13 14:05:18 +02:00
Bram Moolenaar
b0b98d5230
patch 8.0.1795: lose contact with jobs when :gui forks
...
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
2018-05-05 21:01:00 +02:00
Bram Moolenaar
850d427f07
patch 8.0.1775: MS-Windows: warning for unused variable
...
Problem: MS-Windows: warning for unused variable.
Solution: Move declaration inside #ifdef. (Mike Williams)
2018-04-30 10:38:40 +02:00
Bram Moolenaar
4e9d443a25
patch 8.0.1761: job in terminal window with no output channel is killed
...
Problem: Job in terminal window with no output channel is killed.
Solution: Keep the job running when the input is a tty. (Ozaki Kiichi,
closes #2734 )
2018-04-24 20:54:07 +02:00
Bram Moolenaar
ebe74b7367
patch 8.0.1747: MS-Windows: term_start() does not set job_info() cmd
...
Problem: MS-Windows: term_start() does not set job_info() cmd.
Solution: Share the code from job_start() to set jv_argv.
2018-04-21 23:34:43 +02:00
Bram Moolenaar
a69b39511d
patch 8.0.1746: MS-Windows: channel tests fail
...
Problem: MS-Windows: channel tests fail.
Solution: Make a copy of the command before splitting it.
2018-04-21 23:00:27 +02:00
Bram Moolenaar
2060892028
patch 8.0.1745: build failure on MS-Windows
...
Problem: Build failure on MS-Windows.
Solution: Build job arguments for MS-Windows. Fix allocating job twice.
2018-04-21 22:30:08 +02:00
Bram Moolenaar
e1fc51558d
patch 8.0.1742: cannot get a list of all the jobs
...
Problem: Cannot get a list of all the jobs. Cannot get the command of
the job.
Solution: When job_info() is called without an argument return a list of
jobs. Otherwise, include the command that the job is running.
(Yegappan Lakshmanan)
2018-04-21 19:49:08 +02:00
Bram Moolenaar
2e324950b8
patch 8.0.1709: some non-C89 code may slip through
...
Problem: Some non-C89 code may slip through.
Solution: Enforce C89 in configure. Fix detected problems. (James McCoy,
closes #2735 )
2018-04-14 14:37:07 +02:00
Bram Moolenaar
f59c6e8cee
patch 8.0.1685: can't set ANSI colors of a terminal window
...
Problem: Can't set ANSI colors of a terminal window.
Solution: Add term_setansicolors(), term_getansicolors() and
g:term_ansi_colors. (Andy Massimino, closes #2747 )
2018-04-10 15:59:11 +02:00
Bram Moolenaar
e80757c154
patch 8.0.1681: the format attribute fails with MinGW
...
Problem: The format attribute fails with MinGW. (John Marriott)
Solution: Don't use the format attribute with MinGW.
2018-04-10 12:42:44 +02:00
Bram Moolenaar
4ac2e8d8e6
patch 8.0.1676: no compiler warning for wrong printf format
...
Problem: No compiler warning for wrong printf format.
Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique
Pelle, closes #2789 )
2018-04-08 12:38:26 +02:00