=?UTF-8?q?Dundar=20G=C3=B6c?=
420fabcd4f
patch 8.2.4241: some type casts are redundant
...
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes #9643 )
2022-01-28 15:28:04 +00:00
Bram Moolenaar
04935fb17e
patch 8.2.4043: using int for second argument of ga_init2()
...
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-08 16:19:22 +00:00
Bram Moolenaar
d82a47dd04
patch 8.2.4012: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move the last error messages to errors.h.
2022-01-05 20:24:39 +00:00
Bram Moolenaar
d88be5be80
patch 8.2.4003: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-04 19:57:55 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
e50507126f
patch 8.2.3763: when editing the cmdline a callback may cause a scroll up
...
Problem: When editing the command line a FocusLost callback may cause the
screen to scroll up.
Solution: Do not redraw at the last line but at the same place where the
command line was before. (closes #9295 )
2021-12-09 10:51:05 +00:00
Bram Moolenaar
40bcec1bac
patch 8.2.3750: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 22:19:27 +00:00
Bram Moolenaar
eea32afdb8
patch 8.2.3640: freeze when calling term_wait() in a close callback
...
Problem: Freeze when calling term_wait() in a close callback.
Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152 )
2021-11-21 14:51:13 +00:00
Yegappan Lakshmanan
fc3b775055
patch 8.2.3415: Vim9: not all function argument types are properly checked
...
Problem: Vim9: Not all function argument types are properly checked.
Solution: Add and improve argument type checks. (Yegappan Lakshmanan,
closes #8839 )
2021-09-08 14:57:42 +02:00
Yegappan Lakshmanan
8ee52affe7
patch 8.2.3320: some local functions are not static
...
Problem: Some local functions are not static.
Solution: Add "static". Move snprintf() related code to strings.c.
(Yegappan Lakshmanan, closes #8734 )
2021-08-09 19:59:06 +02:00
Bram Moolenaar
952d9d827e
patch 8.2.3274: macro for printf format check can be simplified
...
Problem: Macro for printf format check can be simplified.
Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635 )
2021-08-02 18:07:18 +02:00
Yegappan Lakshmanan
4490ec4e83
patch 8.2.3229: Vim9: runtime and compile time type checks are not the same
...
Problem: Vim9: runtime and compile time type checks are not the same.
Solution: Add more runtime type checks for builtin functions. (Yegappan
Lakshmanan, closes #8646 )
2021-07-27 22:00:44 +02:00
Yegappan Lakshmanan
7973de35ba
patch 8.2.3211: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks. Fix type check for matchaddpos().
(Yegappan Lakshmanan, closes #8619 )
2021-07-24 16:16:15 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Yegappan Lakshmanan
5b73992d8f
patch 8.2.3135: Vim9: builtin function arguments not checked at compile time
...
Problem: Vim9: builtin function arguments not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539 )
2021-07-10 13:15:41 +02:00
Bram Moolenaar
b836f631db
patch 8.2.3082: a channel command "echoerr" does not show anything
...
Problem: A channel command "echoerr" does not show anything.
Solution: Do not use silent errors when using an "echoerr" command.
(closes #8494 )
2021-07-01 22:11:28 +02:00
Alisue
11a632d60b
patch 8.2.3081: cannot catch errors in a channel command
...
Problem: Cannot catch errors in a channel command.
Solution: Instead of skipping the error make it silent. (closes #8477 )
2021-06-30 22:01:02 +02:00
Bram Moolenaar
108010aa47
patch 8.2.3069: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move some error messages to errors.h. Use clearer names.
2021-06-27 22:03:33 +02:00
Bram Moolenaar
1328bde9d4
patch 8.2.2944: Vim9: no error when using job or channel as a string
...
Problem: Vim9: no error when using job or channel as a string.
Solution: Be more strict about conversion to string. (closes #8312 )
2021-06-05 20:51:38 +02:00
Bram Moolenaar
c580943965
patch 8.2.2666: Vim9: not enough function arguments checked for string
...
Problem: Vim9: not enough function arguments checked for string.
Solution: Check in ch_logfile(), char2nr() and others.
2021-03-27 21:23:30 +01:00
Bram Moolenaar
c6a67c92bc
patch 8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addresses
...
Problem: Cannot connect to 127.0.0.1 for host with only IPv6 addresses.
Solution: pass AI_V4MAPPED flag to getaddrinfo. (Filipe Brandenburger,
closes #6931 )
2020-09-11 19:28:19 +02:00
Bram Moolenaar
ad9ec5e799
patch 8.2.1654: when job writes to hidden buffer current window is wrong
...
Problem: When job writes to hidden buffer current window has display
errors. (Johnny McArthur)
Solution: Use aucmd_prepbuf() instead of switch_to_win_for_buf().
(closes #6925 )
2020-09-10 21:25:45 +02:00
Bram Moolenaar
8b5866ded6
patch 8.2.1597: the channel source file is too big
...
Problem: The channel source file is too big.
Solution: Move job related code to a new source file.
2020-09-05 15:48:51 +02:00
Bram Moolenaar
077cc7aa0e
patch 8.2.1588: cannot read back the prompt of a prompt buffer
...
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851 )
2020-09-04 16:35:35 +02:00
Bram Moolenaar
76603baac5
patch 8.2.1545: ch_logfile() is unclear about closing when forking
...
Problem: ch_logfile() is unclear about closing when forking.
Solution: Adjust the log messages.
2020-08-30 17:24:37 +02:00
Bram Moolenaar
0981c8729e
patch 8.2.1513: cannot interrupt shell used for filename expansion
...
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770 )
2020-08-23 14:28:37 +02:00
Bram Moolenaar
36967b32fd
patch 8.2.1475: Vim9: can't use v:true for option flags
...
Problem: Vim9: can't use v:true for option flags.
Solution: Add tv_get_bool_chk(). (closes #6725 )
2020-08-17 21:41:02 +02:00
Bram Moolenaar
d43906d2e5
patch 8.2.1255: cannot use a lambda with quickfix functions
...
Problem: Cannot use a lambda with quickfix functions.
Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499 )
2020-07-20 21:31:32 +02:00
Bram Moolenaar
df44a27b53
patch 8.2.0928: many type casts are used for vim_strnsave()
...
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633 ) Remove some type casts.
2020-06-07 20:49:05 +02:00
Bram Moolenaar
208534d9ae
patch 8.2.0842: MS-Windows: channel tests fail
...
Problem: MS-Windows: channel tests fail.
Solution: Adjust #ifdefs. (closes #6162 )
2020-05-30 13:07:39 +02:00
Bram Moolenaar
b60db8ba14
patch 8.2.0837: compiler warning for value set but not used
...
Problem: Compiler warning for value set but not used.
Solution: Move variable inside #ifdef.
2020-05-29 21:38:42 +02:00
Bram Moolenaar
87202264f8
patch 8.2.0816: terminal test fails when compiled with Athena
...
Problem: Terminal test fails when compiled with Athena.
Solution: Do give an error when the GUI is not running. (hint by Dominique
Pelle, closes #5928 , closes #6132 )
2020-05-24 17:23:45 +02:00
Bram Moolenaar
7e9f351b2e
patch 8.2.0751: Vim9: performance can be improved
...
Problem: Vim9: performance can be improved.
Solution: Don't call break. Inline check for list materialize. Make an
inline version of ga_grow().
2020-05-13 22:44:22 +02:00
Bram Moolenaar
03a9f84817
patch 8.2.0747: cannot forcefully close all popups
...
Problem: Cannot forcefully close all popups.
Solution: Add the "force" argument to popup_clear(). Use it after running a
test. Put back the check for a popup when editing a file.
2020-05-13 13:40:16 +02:00
Bram Moolenaar
ea554ca4fa
patch 8.2.0709: MS-Windows: compiler warning for int vs size_t
...
Problem: MS-Windows: compiler warning for int vs size_t.
Solution: Add type cast. (Mike Williams)
2020-05-07 17:46:59 +02:00
Bram Moolenaar
80a8d3889b
patch 8.2.0694: Haiku: channel and terminal do not work
...
Problem: Haiku: channel and terminal do not work.
Solution: Close files when the job has finished. (Ozaki Kiichi,
closes #6039 )
2020-05-03 22:57:32 +02:00
Bram Moolenaar
a38b2b737e
patch 8.2.0689: when using getaddrinfo() the error message is unclear
...
Problem: When using getaddrinfo() the error message is unclear.
Solution: Use gai_strerror() to get the message. (Ozaki Kiichi,
closes #6034 )
2020-05-03 17:03:29 +02:00
Bram Moolenaar
b6fb0516ec
patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501
...
Problem: MS-Windows: cannot build with WINVER set to 0x0501.
Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946 )
2020-04-18 18:24:18 +02:00
Bram Moolenaar
a80faa8930
patch 8.2.0559: clearing a struct is verbose
...
Problem: Clearing a struct is verbose.
Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12 19:37:17 +02:00
Bram Moolenaar
bfe13ccc58
patch 8.2.0557: no IPv6 support for channels
...
Problem: No IPv6 support for channels.
Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893 )
2020-04-12 17:53:12 +02:00
Bram Moolenaar
aeea72151c
patch 8.2.0500: using the same loop in many places
...
Problem: Using the same loop in many places.
Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339 )
2020-04-02 18:50:46 +02:00
Bram Moolenaar
09c569038c
patch 8.2.0466: not parsing messages recursively breaks the govim plugin
...
Problem: Not parsing messages recursively breaks the govim plugin.
Solution: When called recursively do handle messages but do not close
channels.
2020-03-28 18:06:31 +01:00
Bram Moolenaar
83d4790a04
patch 8.2.0455: cannot set the highlight group for a specific terminal
...
Problem: Cannot set the highlight group for a specific terminal.
Solution: Add the "highlight" option to term_start(). (closes #5818 )
2020-03-26 20:34:00 +01:00
Bram Moolenaar
a9c3a30891
patch 8.2.0452: channel_parse_messages() fails when called recursively
...
Problem: channel_parse_messages() fails when called recursively.
Solution: Return for a recursive call. (closes #5835 )
2020-03-26 16:03:45 +01:00
Bram Moolenaar
71658f74ae
patch 8.2.0442: channel contents might be used after being freed
...
Problem: Channel contents might be used after being freed.
Solution: Reset the job channel before freeing the channel.
2020-03-24 20:35:19 +01:00
Bram Moolenaar
dbbb0ef729
patch 8.2.0435: channel contents might be freed twice
...
Problem: Channel contents might be freed twice.
Solution: Call either channel_free_channel() or channel_free(), not both.
(Nobuhiro Takasaki, closes #5835 )
2020-03-23 22:01:17 +01:00
Bram Moolenaar
21109272f5
patch 8.2.0181: problems parsing :term arguments
...
Problem: Problems parsing :term arguments.
Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi,
closes #5536 )
2020-01-30 16:27:20 +01:00
Bram Moolenaar
0ff6aad393
patch 8.2.0173: build fails with old compiler
...
Problem: Build fails with old compiler.
Solution: Do not use anonymous unions. (John Marriott)
2020-01-29 21:27:21 +01:00
Bram Moolenaar
50985eb1f0
patch 8.2.0159: non-materialized range() list causes problems
...
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya)
Solution: Materialize the list where needed.
2020-01-27 22:09:39 +01:00