summaryrefslogtreecommitdiffstats
path: root/src/channel.c
AgeCommit message (Collapse)Author
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-09patch 8.2.3763: when editing the cmdline a callback may cause a scroll upv8.2.3763Bram Moolenaar
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-05patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar
Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
2021-11-21patch 8.2.3640: freeze when calling term_wait() in a close callbackv8.2.3640Bram Moolenaar
Problem: Freeze when calling term_wait() in a close callback. Solution: Set a "closing" flag to tell term_wait() to return. (closes #9152)
2021-09-08patch 8.2.3415: Vim9: not all function argument types are properly checkedv8.2.3415Yegappan Lakshmanan
Problem: Vim9: Not all function argument types are properly checked. Solution: Add and improve argument type checks. (Yegappan Lakshmanan, closes #8839)
2021-08-09patch 8.2.3320: some local functions are not staticv8.2.3320Yegappan Lakshmanan
Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
2021-08-02patch 8.2.3274: macro for printf format check can be simplifiedv8.2.3274Bram Moolenaar
Problem: Macro for printf format check can be simplified. Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
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-24patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan
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-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
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-10patch 8.2.3135: Vim9: builtin function arguments not checked at compile timev8.2.3135Yegappan Lakshmanan
Problem: Vim9: builtin function arguments not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8539)
2021-07-01patch 8.2.3082: a channel command "echoerr" does not show anythingv8.2.3082Bram Moolenaar
Problem: A channel command "echoerr" does not show anything. Solution: Do not use silent errors when using an "echoerr" command. (closes #8494)
2021-06-30patch 8.2.3081: cannot catch errors in a channel commandv8.2.3081Alisue
Problem: Cannot catch errors in a channel command. Solution: Instead of skipping the error make it silent. (closes #8477)
2021-06-27patch 8.2.3069: error messages are spread outv8.2.3069Bram Moolenaar
Problem: Error messages are spread out. Solution: Move some error messages to errors.h. Use clearer names.
2021-06-05patch 8.2.2944: Vim9: no error when using job or channel as a stringv8.2.2944Bram Moolenaar
Problem: Vim9: no error when using job or channel as a string. Solution: Be more strict about conversion to string. (closes #8312)
2021-03-27patch 8.2.2666: Vim9: not enough function arguments checked for stringv8.2.2666Bram Moolenaar
Problem: Vim9: not enough function arguments checked for string. Solution: Check in ch_logfile(), char2nr() and others.
2020-09-11patch 8.2.1661: cannot connect to 127.0.0.1 for host with only IPv6 addressesv8.2.1661Bram Moolenaar
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-10patch 8.2.1654: when job writes to hidden buffer current window is wrongv8.2.1654Bram Moolenaar
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-05patch 8.2.1597: the channel source file is too bigv8.2.1597Bram Moolenaar
Problem: The channel source file is too big. Solution: Move job related code to a new source file.
2020-09-04patch 8.2.1588: cannot read back the prompt of a prompt bufferv8.2.1588Bram Moolenaar
Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
2020-08-30patch 8.2.1545: ch_logfile() is unclear about closing when forkingv8.2.1545Bram Moolenaar
Problem: ch_logfile() is unclear about closing when forking. Solution: Adjust the log messages.
2020-08-23patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513Bram Moolenaar
Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
2020-08-17patch 8.2.1475: Vim9: can't use v:true for option flagsv8.2.1475Bram Moolenaar
Problem: Vim9: can't use v:true for option flags. Solution: Add tv_get_bool_chk(). (closes #6725)
2020-07-20patch 8.2.1255: cannot use a lambda with quickfix functionsv8.2.1255Bram Moolenaar
Problem: Cannot use a lambda with quickfix functions. Solution: Add support for lambda. (Yegappan Lakshmanan, closes #6499)
2020-06-07patch 8.2.0928: many type casts are used for vim_strnsave()v8.2.0928Bram Moolenaar
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-05-30patch 8.2.0842: MS-Windows: channel tests failv8.2.0842Bram Moolenaar
Problem: MS-Windows: channel tests fail. Solution: Adjust #ifdefs. (closes #6162)
2020-05-29patch 8.2.0837: compiler warning for value set but not usedv8.2.0837Bram Moolenaar
Problem: Compiler warning for value set but not used. Solution: Move variable inside #ifdef.
2020-05-24patch 8.2.0816: terminal test fails when compiled with Athenav8.2.0816Bram Moolenaar
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-13patch 8.2.0751: Vim9: performance can be improvedv8.2.0751Bram Moolenaar
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-13patch 8.2.0747: cannot forcefully close all popupsv8.2.0747Bram Moolenaar
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-07patch 8.2.0709: MS-Windows: compiler warning for int vs size_tv8.2.0709Bram Moolenaar
Problem: MS-Windows: compiler warning for int vs size_t. Solution: Add type cast. (Mike Williams)
2020-05-03patch 8.2.0694: Haiku: channel and terminal do not workv8.2.0694Bram Moolenaar
Problem: Haiku: channel and terminal do not work. Solution: Close files when the job has finished. (Ozaki Kiichi, closes #6039)
2020-05-03patch 8.2.0689: when using getaddrinfo() the error message is unclearv8.2.0689Bram Moolenaar
Problem: When using getaddrinfo() the error message is unclear. Solution: Use gai_strerror() to get the message. (Ozaki Kiichi, closes #6034)
2020-04-18patch 8.2.0594: MS-Windows: cannot build with WINVER set to 0x0501v8.2.0594Bram Moolenaar
Problem: MS-Windows: cannot build with WINVER set to 0x0501. Solution: Only use inet_ntop() when available. (Ozaki Kiichi, closes #5946)
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2020-04-12patch 8.2.0557: no IPv6 support for channelsv8.2.0557Bram Moolenaar
Problem: No IPv6 support for channels. Solution: Add IPv6 support. (Ozaki Kiichi, closes #5893)
2020-04-02patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar
Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
2020-03-28patch 8.2.0466: not parsing messages recursively breaks the govim pluginv8.2.0466Bram Moolenaar
Problem: Not parsing messages recursively breaks the govim plugin. Solution: When called recursively do handle messages but do not close channels.
2020-03-26patch 8.2.0455: cannot set the highlight group for a specific terminalv8.2.0455Bram Moolenaar
Problem: Cannot set the highlight group for a specific terminal. Solution: Add the "highlight" option to term_start(). (closes #5818)
2020-03-26patch 8.2.0452: channel_parse_messages() fails when called recursivelyv8.2.0452Bram Moolenaar
Problem: channel_parse_messages() fails when called recursively. Solution: Return for a recursive call. (closes #5835)
2020-03-24patch 8.2.0442: channel contents might be used after being freedv8.2.0442Bram Moolenaar
Problem: Channel contents might be used after being freed. Solution: Reset the job channel before freeing the channel.
2020-03-23patch 8.2.0435: channel contents might be freed twicev8.2.0435Bram Moolenaar
Problem: Channel contents might be freed twice. Solution: Call either channel_free_channel() or channel_free(), not both. (Nobuhiro Takasaki, closes #5835)
2020-01-30patch 8.2.0181: problems parsing :term argumentsv8.2.0181Bram Moolenaar
Problem: Problems parsing :term arguments. Solution: Improve parsing, fix memory leak, add tests. (Ozaki Kiichi, closes #5536)
2020-01-29patch 8.2.0173: build fails with old compilerv8.2.0173Bram Moolenaar
Problem: Build fails with old compiler. Solution: Do not use anonymous unions. (John Marriott)
2020-01-27patch 8.2.0159: non-materialized range() list causes problemsv8.2.0159Bram Moolenaar
Problem: Non-materialized range() list causes problems. (Fujiwara Takuya) Solution: Materialize the list where needed.
2020-01-26patch 8.2.0149: maintaining a Vim9 branch separately is more workv8.2.0149Bram Moolenaar
Problem: Maintaining a Vim9 branch separately is more work. Solution: Merge the Vim9 script changes.
2020-01-23patch 8.2.0143: Coverity warning for possible use of NULL pointerv8.2.0143Bram Moolenaar
Problem: Coverity warning for possible use of NULL pointer. Solution: Check argv is not NULL.
2020-01-20patch 8.2.0138: memory leak when starting a job failsv8.2.0138Bram Moolenaar
Problem: Memory leak when starting a job fails. Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
2019-12-23patch 8.2.0035: saving and restoring called_emsg is clumsyv8.2.0035Bram Moolenaar
Problem: Saving and restoring called_emsg is clumsy. Solution: Count the number of error messages.
2019-12-22patch 8.2.0032: MS-Windows: test for blank job failsv8.2.0032Bram Moolenaar
Problem: MS-Windows: test for blank job fails Solution: Check before escaping.