summaryrefslogtreecommitdiff
path: root/src/job.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.1196: code is indented more than necessaryv9.0.1196Yegappan Lakshmanan2023-01-141-50/+50
| | | | | | Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11813)
* patch 9.0.0990: callback name argument is changed by setqflist()v9.0.0990Bram Moolenaar2022-12-021-20/+23
| | | | | | Problem: Callback name argument is changed by setqflist(). Solution: Use the expanded function name for the callback, do not store it in the argument. (closes #11653)
* patch 8.2.5138: various small issuesv8.2.5138Bram Moolenaar2022-06-201-1/+2
| | | | | Problem: Various small issues. Solution: Various small improvments.
* patch 8.2.5107: some callers of rettv_list_alloc() check for not OKv8.2.5107Bram Moolenaar2022-06-161-1/+1
| | | | | | Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van Willegen) Solution: Use "==" instead of "!=" when checking the return value.
* patch 8.2.4982: colors in terminal window are not 100% correctv8.2.4982LemonBoy2022-05-201-2/+2
| | | | | | Problem: Colors in terminal window are not 100% correct. Solution: Use g:terminal_ansi_colors as documented. (closes #10429, closes #7227 closes #10347)
* patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar2022-05-091-1/+1
| | | | | Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
* patch 8.2.4909: MODE_ enum entries names are too genericv8.2.4909Bram Moolenaar2022-05-071-6/+6
| | | | | Problem: MODE_ enum entries names are too generic. Solution: use CH_MODE_.
* patch 8.2.4648: handling LSP messages is a bit slowv8.2.4648Yegappan Lakshmanan2022-03-301-0/+2
| | | | | | Problem: Handling LSP messages is a bit slow. Solution: Included support for LSP messages. (Yegappan Lakshmanan, closes #10025)
* patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar2022-01-081-2/+2
| | | | | Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
* patch 8.2.4012: error messages are spread outv8.2.4012Bram Moolenaar2022-01-051-4/+4
| | | | | Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar2021-12-311-36/+36
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3763: when editing the cmdline a callback may cause a scroll upv8.2.3763Bram Moolenaar2021-12-091-1/+1
| | | | | | | 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)
* patch 8.2.3756: might crash when callback is not validv8.2.3756Yegappan Lakshmanan2021-12-071-2/+3
| | | | | Problem: might crash when callback is not valid. Solution: Check for valid callback. (Yegappan Lakshmanan, closes #9293)
* patch 8.2.3750: error messages are everywherev8.2.3750Bram Moolenaar2021-12-051-3/+5
| | | | | Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
* patch 8.2.3589: failure when "term_rows" of term_start() is an unusual valuev8.2.3589Bram Moolenaar2021-11-131-0/+5
| | | | | | Problem: Failure when the "term_rows" argument of term_start() is an unusual value. Solution: Limit to range of zero to 1000. (closes #9116)
* patch 8.2.3585: crash when passing float to "term_rows" of term_start()v8.2.3585Bram Moolenaar2021-11-121-1/+5
| | | | | | Problem: Crash when passing float to "term_rows" in the options argument of term_start(). (Virginia Senioria) Solution: Bail out if the argument is not a number. (closes #9116)
* patch 8.2.3562: cannot add color namesv8.2.3562Drew Vogel2021-10-241-1/+1
| | | | | Problem: Cannot add color names. Solution: Add the v:colornames dictionary. (Drew Vogel, closes #8761)
* patch 8.2.3379: crash when using NULL jobv8.2.3379Bram Moolenaar2021-08-281-1/+4
| | | | | Problem: Crash when using NULL job. Solution: Copy static string into buffer. (issue #8260)
* patch 8.2.3320: some local functions are not staticv8.2.3320Yegappan Lakshmanan2021-08-091-1/+1
| | | | | | Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-2/+16
| | | | | | 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)
* patch 8.2.3211: Vim9: argument types are not checked at compile timev8.2.3211Yegappan Lakshmanan2021-07-241-0/+8
| | | | | | 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)
* patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan2021-07-231-0/+6
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
* patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan2021-07-211-1/+1
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-201-5/+15
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3173: Vim9: argument types are not checked at compile timev8.2.3173Yegappan Lakshmanan2021-07-171-0/+7
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8581)
* patch 8.2.2944: Vim9: no error when using job or channel as a stringv8.2.2944Bram Moolenaar2021-06-051-0/+30
| | | | | Problem: Vim9: no error when using job or channel as a string. Solution: Be more strict about conversion to string. (closes #8312)
* patch 8.2.2118: dead code in the job supportv8.2.2118Bram Moolenaar2020-12-091-3/+6
| | | | | Problem: Dead code in the job support. (Dominique Pellé) Solution: Define USE_ARGV before checking for it.
* patch 8.2.2014: using CTRL-O in a prompt buffer moves cursor to startv8.2.2014Bram Moolenaar2020-11-191-1/+1
| | | | | Problem: Using CTRL-O in a prompt buffer moves cursor to start of the line. Solution: Do not move the cursor when restarting edit. (closes #7330)
* patch 8.2.1857: Vim9: using job_status() on an unused var gives an errorv8.2.1857Bram Moolenaar2020-10-171-4/+13
| | | | | Problem: Vim9: using job_status() on an unused var gives an error. Solution: Return "fail". (closes #7158)
* patch 8.2.1627: Vim9: cannot pass "true" to submatch/term_gettty/term_startv8.2.1627Bram Moolenaar2020-09-061-1/+1
| | | | | | Problem: Vim9: cannot pass "true" to submatch(), term_gettty() and term_start() Solution: Use tv_get_bool_chk(). (closes #6888, closes #6890, closes #6889)
* patch 8.2.1597: the channel source file is too bigv8.2.1597Bram Moolenaar2020-09-051-0/+1918
Problem: The channel source file is too big. Solution: Move job related code to a new source file.