summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.5010: the terminal debugger uses various global variablesv8.2.5010Bram Moolenaar2022-05-233-48/+134
| | | | | Problem: The terminal debugger uses various global variables. Solution: Add a dictionary to hold the terminal debugger preferences.
* patch 8.2.5009: fold may not be closeable after appendingv8.2.5009Brandon Simmons2022-05-233-0/+22
| | | | | Problem: Fold may not be closeable after appending. Solution: Set the fd_small flag to MAYBE. (Brandon Simmons, closes #10471)
* patch 8.2.5008: when 'formatoptions' contains "/" wrongly wrapping commentv8.2.5008Bram Moolenaar2022-05-235-7/+29
| | | | | | Problem: When 'formatoptions' contains "/" wrongly wrapping a long trailing comment. Solution: Pass the OPENLINE_FORMAT flag.
* patch 8.2.5007: spell suggestion may use uninitialized memoryv8.2.5007Bram Moolenaar2022-05-233-4/+24
| | | | | Problem: Spell suggestion may use uninitialized memory. (Zdenek Dohnal) Solution: Avoid going over the end of the word.
* patch 8.2.5006: asan warns for undefined behaviorv8.2.5006Bram Moolenaar2022-05-224-3/+6
| | | | | Problem: Asan warns for undefined behavior. Solution: Cast the shifted value to unsigned.
* patch 8.2.5005: compiler warning for uninitialized variablev8.2.5005Bram Moolenaar2022-05-222-6/+7
| | | | | Problem: Compiler warning for uninitialized variable. (John Marriott) Solution: Initialize the pointer to NULL.
* patch 8.2.5004: right shift on negative number does not work as documentedv8.2.5004Bram Moolenaar2022-05-227-19/+26
| | | | | Problem: Right shift on negative number does not work as documented. Solution: Use a uvarnumber_T type cast.
* patch 8.2.5003: cannot do bitwise shiftsv8.2.5003Yegappan Lakshmanan2022-05-2211-160/+554
| | | | | Problem: Cannot do bitwise shifts. Solution: Add the >> and << operators. (Yegappan Lakshmanan, closes #8457)
* patch 8.2.5002: deletebufline() may change Visual selectionv8.2.5002LemonBoy2022-05-223-0/+22
| | | | | Problem: deletebufline() may change Visual selection. Solution: Disable Visual mode when using another buffer. (closes #10469)
* patch 8.2.5001: checking translations affects the search pattern historyv8.2.5001Bram Moolenaar2022-05-222-3/+5
| | | | | Problem: Checking translations affects the search pattern history. Solution: Use "keeppatterns". (Doug Kearns)
* patch 8.2.5000: no patch for documentation updatesv8.2.5000Bram Moolenaar2022-05-229-39/+37
| | | | | Problem: No patch for documentation updates. Solution: Update documentation files.
* patch 8.2.4999: filetype test table is not properly sortedv8.2.4999Bram Moolenaar2022-05-222-30/+33
| | | | | Problem: Filetype test table is not properly sorted. Solution: Sort by filetype. (Doug Kearns)
* patch 8.2.4998: Vim9: crash when using multiple funcref()v8.2.4998Bram Moolenaar2022-05-223-1/+48
| | | | | Problem: Vim9: crash when using multiple funcref(). Solution: Check if varargs type is NULL. (closes #10467)
* patch 8.2.4997: Python: changing hidden buffer can cause display mess upv8.2.4997Bram Moolenaar2022-05-223-1/+41
| | | | | | | Problem: Python: changing hidden buffer can cause the display to be messed up. Solution: Do not mark changed lines when using another buffer. (Paul Ollis, closes #10437, closes #7972)
* patch 8.2.4996: setbufline() may change Visual selectionv8.2.4996Bram Moolenaar2022-05-223-0/+21
| | | | | Problem: setbufline() may change Visual selection. (Qiming Zhao) Solution: Disable Visual mode when using another buffer. (closes #10466)
* patch 8.2.4995: still a compiler warning for possibly uninitialized variablev8.2.4995Bram Moolenaar2022-05-212-2/+4
| | | | | | Problem: Still a compiler warning for possibly uninitialized variable. (Tony Mechelynck) Solution: Initialize variables.
* patch 8.2.4994: tests are using legacy functionsv8.2.4994Bram Moolenaar2022-05-212-504/+521
| | | | | Problem: Tests are using legacy functions. Solution: Convert a few tests to use :def functions.
* patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993Bram Moolenaar2022-05-2127-508/+80
| | | | | | Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
* patch 8.2.4992: compiler warning for possibly uninitialized variablev8.2.4992Bram Moolenaar2022-05-213-3/+5
| | | | | | Problem: Compiler warning for possibly uninitialized variable. (Tony Mechelynck) Solution: Initialize variable in the caller instead of in the function.
* patch 8.2.4991: no test for hwat patch 8.1.0535 fixesv8.2.4991zeertzjq2022-05-212-0/+22
| | | | | Problem: No test for hwat patch 8.1.0535 fixes. Solution: Add a test. (closes #10462)
* patch 8.2.4990: memory leak when :defcompile failsv8.2.4990Bram Moolenaar2022-05-212-0/+3
| | | | | Problem: Memory leak when :defcompile fails. Solution: Free fname when returning early.
* patch 8.2.4989: cannot specify a function name for :defcompilev8.2.4989Bram Moolenaar2022-05-218-64/+126
| | | | | Problem: Cannot specify a function name for :defcompile. Solution: Implement a function name argument for :defcompile.
* Update runtime files.Bram Moolenaar2022-05-2123-4064/+8166
|
* patch 8.2.4988: textprop in wrong position when replacing multi-byte charsv8.2.4988LemonBoy2022-05-213-1/+15
| | | | | Problem: Textprop in wrong position when replacing multi-byte chars. Solution: Adjust textprop position. (closes #10461)
* patch 8.2.4987: after deletion a small fold may be closablev8.2.4987Brandon Simmons2022-05-203-4/+43
| | | | | Problem: After deletion a small fold may be closable. Solution: Check for a reverse range. (Brandon Simmons, closes #10457)
* patch 8.2.4986: some github actions are outdatedv8.2.4986Philip H2022-05-204-8/+10
| | | | | Problem: Some github actions are outdated. Solution: Update CodeQl to v2, update checkout to v3. (closes #10450)
* patch 8.2.4985: PVS warns for possible array underrunv8.2.4985Bram Moolenaar2022-05-202-1/+3
| | | | | Problem: PVS warns for possible array underrun. Solution: Add a check for a positive value. (closes #10451)
* patch 8.2.4984: dragging statusline fails for window with winbarv8.2.4984zeertzjq2022-05-203-1/+31
| | | | | Problem: Dragging statusline fails for window with winbar. Solution: Fix off-by-one error. (closes #10448)
* patch 8.2.4983: colors test fails in the GUIv8.2.4983Bram Moolenaar2022-05-202-0/+3
| | | | | Problem: Colors test fails in the GUI. Solution: Reset g:terminal_ansi_colors.
* patch 8.2.4982: colors in terminal window are not 100% correctv8.2.4982LemonBoy2022-05-209-49/+204
| | | | | | 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.4981: it is not possible to manipulate autocommandsv8.2.4981Yegappan Lakshmanan2022-05-199-1/+801
| | | | | | Problem: It is not possible to manipulate autocommands. Solution: Add functions to add, get and set autocommands. (Yegappan Lakshmanan, closes #10291)
* patch 8.2.4980: when 'shortmess' contains 'A' loading session may still warnv8.2.4980Bram Moolenaar2022-05-183-2/+31
| | | | | | | Problem: When 'shortmess' contains 'A' loading a session may still warn for an existing swap file. (Melker Österberg) Solution: Keep the 'A' flag to 'shortmess' in the session file. (closes #10443)
* patch 8.2.4979: accessing freed memory when line is flushedv8.2.4979Bram Moolenaar2022-05-183-0/+18
| | | | | Problem: Accessing freed memory when line is flushed. Solution: Make a copy of the pattern to search for.
* patch 8.2.4978: no error if engine selection atom is not at the startv8.2.4978Christian Brabandt2022-05-186-1/+39
| | | | | Problem: No error if engine selection atom is not at the start. Solution: Give an error. (Christian Brabandt, closes #10439)
* patch 8.2.4977: memory access error when substitute expression changes windowv8.2.4977Bram Moolenaar2022-05-183-0/+26
| | | | | Problem: Memory access error when substitute expression changes window. Solution: Disallow changing window in substitute expression.
* patch 8.2.4976: Coverity complains about not restoring a saved valuev8.2.4976Bram Moolenaar2022-05-182-3/+6
| | | | | Problem: Coverity complains about not restoring a saved value. Solution: Restore value before handling error.
* patch 8.2.4975: recursive command line loop may cause a crashv8.2.4975Bram Moolenaar2022-05-173-0/+26
| | | | | Problem: Recursive command line loop may cause a crash. Solution: Limit recursion of getcmdline().
* patch 8.2.4974: ":so" command may read after end of bufferv8.2.4974Bram Moolenaar2022-05-173-1/+15
| | | | | Problem: ":so" command may read after end of buffer. Solution: Compute length of text properly.
* patch 8.2.4973: Vim9: type error for list unpack mentions argumentv8.2.4973Bram Moolenaar2022-05-178-10/+20
| | | | | Problem: Vim9: type error for list unpack mentions argument. Solution: Mention variable. (close #10435)
* patch 8.2.4972: Vim9: compilation fails when using dict member when skippingv8.2.4972Bram Moolenaar2022-05-173-1/+10
| | | | | Problem: Vim9: compilation fails when using dict member when skipping. Solution: Do not generate ISN_USEDICT when skipping. (closes #10433)
* patch 8.2.4971: Vim9: interpolated string seen as rangev8.2.4971Bram Moolenaar2022-05-173-4/+13
| | | | | | Problem: Vim9: interpolated string seen as range. Solution: Recognize an interpolated string at the start of a command line. (closes #10434)
* patch 8.2.4970: "eval 123" gives an error, "eval 'abc'" does notv8.2.4970Bram Moolenaar2022-05-173-2/+25
| | | | | Problem: "eval 123" gives an error, "eval 'abc'" does not. Solution: Also give an error when evaluating only a string. (closes #10434)
* patch 8.2.4969: changing text in Visual mode may cause invalid memory accessv8.2.4969Bram Moolenaar2022-05-166-11/+44
| | | | | Problem: Changing text in Visual mode may cause invalid memory access. Solution: Check the Visual position after making a change.
* patch 8.2.4968: reading past end of the line when C-indentingv8.2.4968Bram Moolenaar2022-05-163-1/+10
| | | | | Problem: Reading past end of the line when C-indenting. Solution: Check for NUL.
* patch 8.2.4967: MS-Windows GUI: mouse event test sometimes failsv8.2.4967Bram Moolenaar2022-05-162-2/+4
| | | | | Problem: MS-Windows GUI: mouse event test sometimes fails. Solution: Ignore one move event only if there is an extra event.
* patch 8.2.4966: MS-Windows GUI: mouse event test gets extra eventv8.2.4966Bram Moolenaar2022-05-162-0/+7
| | | | | Problem: MS-Windows GUI: mouse event test gets extra event. Solution: Ignore one move event.
* patch 8.2.4965: GUI: testing mouse move event depends on screen cell sizev8.2.4965Bram Moolenaar2022-05-164-20/+38
| | | | | Problem: GUI: testing mouse move event depends on screen cell size. Solution: Multiply the row and column with the screen cell size.
* patch 8.2.4964: MS-Windows GUI: mouse event test is flakyv8.2.4964Bram Moolenaar2022-05-162-28/+33
| | | | | Problem: MS-Windows GUI: mouse event test is flaky. Solution: Add a short delay after generating a mouse event.
* patch 8.2.4963: expanding path with "/**" may overrun end of bufferv8.2.4963Bram Moolenaar2022-05-162-4/+8
| | | | | Problem: Expanding path with "/**" may overrun end of buffer. Solution: Use vim_snprintf().
* patch 8.2.4962: files show up in git statusv8.2.4962shane.xb.qian2022-05-163-4/+9
| | | | | | Problem: Files show up in git status. Solution: Adjust the list of ignored files. Clean up more test files. (Shane xb Qian, closes #9929)