ObserverOfTime
44ff25d524
PyPA manifest files are not recognized ( #12707 )
...
Problem: PyPA manifest files are not recognized.
Solution: Add a pattern to match PyPA manifest files.
2023-08-09 16:52:33 +02:00
Anton Parkhomenko
7159ac7fec
Unison support ( #12715 )
2023-08-09 16:50:52 +02:00
Gergő Sályi
a13eb2b147
Add WebGPU Shading Language (WGSL) filetype ( #12723 )
...
The current W3C Working Draft for the WebGPU Shading Language (WGSL) specifies
'text/wgsl' media type for WGSL modules with the '.wgsl' file extension:
https://www.w3.org/TR/WGSL/#text-wgsl-media-type
It has also been registered at the Internet Assigned Numbers Authority (IANA):
https://www.iana.org/assignments/media-types/text/wgsl
Neovim's nvim-lspconfig already associates wgsl language servers
with 'filetype wgsl':
https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#wgsl_analyzer
However currenly setting 'filetype wgsl' for *.wgsl files by defalut in Neovim
is blocked by adding this filetype to the vim project first:
https://github.com/neovim/neovim/pull/23331
This commit adds this missing wgsl filetype.
2023-08-09 16:49:01 +02:00
Christian Brabandt
84bc00e9b5
patch 9.0.1679: Cleanup Tests from leftover files
...
Problem: Tests may leave leftover files around
Solution: Clean up tests and remove files
There were a few failures in 'linux (huge, gcc, testgui, true, true)'
e.g. here: https://github.com/vim/vim/actions/runs/5497376153/jobs/10018060156
,----
| Error detected while processing command line..script /home/runner/work/vim/vim/src/testdir/runtest.vim[585]..function RunTheTest[54]..Test_lvimgrep_crash[16]..TestTimeout[12]..VimLeavePre Autocommands for "*"..function EarlyExit[7]..FinishTesting:
| line 70:
| E445: Other window contains changes
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txt
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txt
| E937: Attempt to delete a buffer that is in use: Xtest_stable_xxd.txtmalloc(): unsorted double linked list corrupted
`----
Which is puzzling, because the Xtest_stable_xxd file should have been
long gone after test_crypt.vim is run (and definitely no longer be
staying around in test_quickfix.vim).
So try to clean up properly after a test script is run, just in case any
X<file> is still around. During testing, a found a few leftover files,
which I also fixed in the relevant test-file.
Unfortunately, the test workflow 'linux (huge, gcc, testgui, true,
true)' now seems to fail with 'E1230: Encryption: sodium_mlock()' in
test_crypt.vim. Hopefully this is only temporary.
2023-08-08 20:39:55 +02:00
ObserverOfTime
ad34abee25
patch 9.0.1678: blade files are not recognized
...
Problem: Blade files are not recognized.
Solution: Add a pattern for Blade files. (closes #12650 )
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2023-08-07 03:24:20 +09:00
Bram Moolenaar
16abd997c9
patch 9.0.1676: warning for buffer in use when exiting early
...
Problem: Warning for buffer in use when exiting early.
Solution: Change file names to be able to see what buffer is in use when
exiting.
2023-07-08 00:54:06 +01:00
Bram Moolenaar
7c2beb48ef
patch 9.0.1675: test may run into timeout when using valgrind
...
Problem: Test may run into timeout when using valgrind.
Solution: Use a longer timeout when using valgrind.
2023-07-08 00:25:56 +01:00
Bram Moolenaar
80adaa8ae8
patch 9.0.1673: cannot produce a status 418 or 503 message
...
Problem: Cannot produce a status 418 or 503 message.
Solution: Add err_teapot().
2023-07-07 18:57:40 +01:00
zeertzjq
d392a74c5a
patch 9.0.1672: tabline highlight wrong after truncated double width label
...
Problem: Tabline highlight wrong after truncated double width label.
Solution: Fill up half a double width character later. (closes #12614 )
2023-07-01 20:24:40 +01:00
Bram Moolenaar
bf5f189e44
patch 9.0.1670: resetting local option to global value is inconsistent
...
Problem: Resetting local option to global value is inconsistent.
Solution: Handle "<" specifically for 'scrolloff' and 'sidescrolloff'.
(closes #12594 )
2023-06-27 21:51:07 +01:00
Christian Brabandt
19e6c4fd2d
patch 9.0.1669: Crash syncing swapfile in new buffer when using sodium crypt
...
Problem: Crash syncing swapfile in new buffer when using sodium crypt.
(James McCoy)
Solution: Add checks for sodium encryption. (Christian Brabandt,
closes #12591 , closes #12585 )
2023-06-27 18:57:10 +01:00
ObserverOfTime
0256d76a33
patch 9.0.1668: PEM files are not recognized
...
Problem: PEM files are not recognized.
Solution: Add patterns to match PEM files. (closes #12582 )
2023-06-26 22:05:37 +01:00
zeertzjq
e429893741
patch 9.0.1667: regression test doesn't fail when fix is reverted
...
Problem: Regression test doesn't fail when fix is reverted.
Solution: Add "n" to 'cpoptions' instead of using :winsize. (closes #12587 ,
issue #12528 )
2023-06-26 19:02:43 +01:00
Christian Brabandt
590aae3557
patch 9.0.1665: empty CmdlineEnter autocommand causes errors in Ex mode
...
Problem: Empty CmdlineEnter autocommand causes errors in Ex mode.
Solution: Save and restore ex_pressedreturn. (Christian Brabandt,
closes # 12581, closes #12578 )
2023-06-25 22:34:22 +01:00
fullwaywang
8154e642aa
patch 9.0.1664: divide by zero when scrolling with 'smoothscroll' set
...
Problem: Divide by zero when scrolling with 'smoothscroll' set.
Solution: Avoid using a negative width. (closes #12540 , closes #12528 )
2023-06-24 21:58:09 +01:00
Bram Moolenaar
4e2406c7a9
patch 9.0.1662: crash when using a class member twice
...
Problem: Crash when using a class member twice. (Christian J. Robinson)
Solution: Make a copy of the value.
2023-06-24 19:22:21 +01:00
Son Luong Ngoc
b46e0f3263
patch 9.0.1661: BUCK files are not recognized
...
Problem: BUCK files are not recognized.
Solution: Recognize BUCK files as "bzl". (Son Luong Ngoc, closes #12564 )
2023-06-24 17:11:04 +01:00
Yegappan Lakshmanan
2d8e998544
patch 9.0.1660: error for using matchfuzzy() returning a list of dicts
...
Problem: Error for using matchfuzzy() in Vim9 script returning a list of
dicts.
Solution: Make return type of matchfuzzy() list<any>. (Yegappan Lakshmanan,
closes #12574 )
2023-06-24 16:42:25 +01:00
Bram Moolenaar
813b7a85f2
patch 9.0.1654: MS-Windows: test for default 'viewdir' fails
...
Problem: MS-Windows: test for default 'viewdir' fails.
Solution: Escape the pattern.
2023-06-23 22:56:47 +01:00
Christian Brabandt
b8b1c8ebd4
patch 9.0.1653: Amiga: default 'viewdir' may not work
...
Problem: Amiga: default 'viewdir' may not work.
Solution: Use "home:" instead of "$VIM". Add a test. (Christian Brabandt,
closes #12576 )
2023-06-23 22:23:01 +01:00
=?UTF-8?q?Dominique=20Pell=C3=A9?=
2b994da57a
patch 9.0.1645: zserio files are not recognized
...
Problem: zserio files are not recognized.
Solution: Add a pattern for zserio files. (Dominique Pellé,
closes #12544 )
2023-06-22 14:36:39 +01:00
smjonas
bd087ae8f0
patch 9.0.1644: not all filetype file name matches are tested
...
Problem: Not all filetype file name matches are tested.
Solution: Add more file names to test with. (Jonas Strittmatter,
closes #12569 )
2023-06-22 12:41:19 +01:00
Bram Moolenaar
c12e4eecbb
patch 9.0.1643: filetype detection fails if file name ends in many '~'
...
Problem: Filetype detection fails if file name ends in many '~'.
Solution: Strip multiple '~' at the same time. (closes #12553 )
2023-06-22 12:18:57 +01:00
zeertzjq
094dd152fe
patch 9.0.1636: expanding a pattern interferes with cmdline completion
...
Problem: Expanding a pattern interferes with command line completion.
Solution: Set the file index only when appropriate. (closes #12519 )
2023-06-15 22:51:57 +01:00
Bram Moolenaar
da51ad51bf
patch 9.0.1635: error message is cleared when removing mode message
...
Problem: Error message is cleared when removing mode message.
Solution: Also reset flags when the message is further down.
2023-06-15 18:44:50 +01:00
Bram Moolenaar
800cdbb7ca
patch 9.0.1634: message is cleared when removing mode message
...
Problem: Message is cleared when removing mode message (Gary Johnson).
Solution: Do not clear the command line after displaying a message.
2023-06-15 16:40:02 +01:00
Marcin Szamotulski
166cd7b801
patch 9.0.1632: not all cabal config files are recognized
...
Problem: Not all cabal config files are recognized.
Solution: Add a couple of patterns. (Marcin Szamotulski, closes #12463 )
2023-06-14 19:45:43 +01:00
zeertzjq
4c7cb372c1
patch 9.0.1631: passing wrong variable type to option gives multiple errors
...
Problem: Passing a wrong variable type to an option gives multiple errors.
Solution: Bail out early on failure. (closes #12504 )
2023-06-14 16:39:54 +01:00
Yegappan Lakshmanan
95707037af
patch 9.0.1629: having utf16idx() rounding up is inconvenient
...
Problem: Having utf16idx() rounding up is inconvenient.
Solution: Make utf16idx() round down. (Yegappan Lakshmanan, closes #12523 )
2023-06-14 13:10:15 +01:00
Bram Moolenaar
f578ca2c8f
patch 9.0.1626: Visual area not shown when using 'showbreak'
...
Problem: Visual area not shown when using 'showbreak' and start of line is
not visible. (Jaehwang Jung)
Solution: Adjust "fromcol" for the space taken by 'showbreak'.
(closes #12514 )
2023-06-10 19:40:30 +01:00
Bram Moolenaar
ce723f3918
patch 9.0.1625: "super" is not considered a reserved name
...
Problem: "super" is not considered a reserved name.
Solution: Add "super" to the list of reserved names. (closes #12515 )
2023-06-10 19:00:12 +01:00
Bram Moolenaar
5ca05fa59e
patch 9.0.1624: crash when calling object constructor
...
Problem: Crash when calling object constructor from legacy script. (Israel
Chauca Fuentes)
Solution: Pass a pointer for "ufunc". (closes #12502 )
2023-06-10 16:45:13 +01:00
Christoph Sax
740df76c90
patch 9.0.1622: filetype name t32 is a bit obscure
...
Problem: Filetype name t32 is a bit obscure.
Solution: Rename t32 to trace32. (Christoph Sax, closes #12512 )
2023-06-09 19:20:04 +01:00
Bram Moolenaar
19548c6a74
patch 9.0.1620: Nix files are not recognized from the hashbang line
...
Problem: Nix files are not recognized from the hashbang line.
Solution: Add a hashbang check. (issue #12507 )
2023-06-08 21:27:13 +01:00
Christoph Sax
7fbcee6f92
patch 9.0.1618: Trace32 files are not recognized
...
Problem: Trace32 files are not recognized.
Solution: Add patterns for the t32 filetype. (Christoph Sax, closes #12505 )
2023-06-08 17:57:19 +01:00
Yegappan Lakshmanan
577922b917
patch 9.0.1617: charidx() result is not consistent with byteidx()
...
Problem: charidx() and utf16idx() result is not consistent with byteidx().
Solution: When the index is equal to the length of the text return the
lenght of the text instead of -1. (Yegappan Lakshmanan,
closes #12503 )
2023-06-08 17:09:45 +01:00
Shane Harper
5bf042810b
patch 9.0.1616: quickfix text field is truncated
...
Problem: Quickfix text field is truncated.
Solution: Fix output of text field after pattern field in quickfix buffer.
(Shane Harper, closes #12498 )
2023-06-07 19:09:57 +01:00
ObserverOfTime
cdb7b4c508
patch 9.0.1615: URL shortcut files are not recognized
...
Problem: URL shortcut files are not recognized.
Solution: Add a pattern for URL shortcut files. (closes #12474 )
2023-06-07 18:27:01 +01:00
zeertzjq
59f7038536
patch 9.0.1614: strlen() called too often for :spellrepall
...
Problem: strlen() called too often for :spellrepall.
Solution: Store the result in a variable. (closes #12497 )
2023-06-06 15:59:59 +01:00
Gregory Anders
d1911a8e2b
patch 9.0.1613: some make output gets picked up by 'errorformat'
...
Problem: Some make output gets picked up by 'errorformat'.
Solution: Ignore make output by default. (Gregory Anders, closes #12481 )
2023-06-05 21:52:46 +01:00
Bram Moolenaar
15d4747ffd
patch 9.0.1612: "skipcol" not reset when using multi-byte characters
...
Problem: "skipcol" not reset when using multi-byte characters.
Solution: Compare with w_virtcol instead of w_cursor.col. (closes #12457 )
2023-06-05 20:44:55 +01:00
Bram Moolenaar
16d2c02c80
patch 9.0.1611: v:maxcol can be changed in a :for loop
...
Problem: v:maxcol can be changed in a :for loop.
Solution: Check for read-only loop variable. (closes #12470 )
2023-06-05 19:46:18 +01:00
zeertzjq
d9a92dc70b
patch 9.0.1610: display is wrong when 'smoothscroll' is set
...
Problem: Display is wrong when 'smoothscroll' is set and scrolling multiple
lines.
Solution: Redraw with UPD_NOT_VALID when "skipcol" is or was set.
(closes #12490 , closes #12468 )
2023-06-05 18:41:35 +01:00
Bram Moolenaar
f7ca56f719
patch 9.0.1609: crash when an object indirectly references itself
...
Problem: Crash when an object indirectly references itself.
Solution: Avoid clearing an object while it is already being cleared.
(closes #12494 )
2023-06-05 16:53:25 +01:00
zeertzjq
55daae3921
patch 9.0.1607: screenpos() returns wrong row with diff filler lines
...
Problem: screenpos() returns wrong row with diff filler lines.
Solution: Only add filler lines when appropriate. Also don't add the
'smoothscroll' marker when w_skipcol is zero. (closes #12485 ,
closes #12484 )
2023-06-04 19:29:22 +01:00
zeertzjq
58e1e01045
patch 9.0.1606: using freed memory when 'foldcolumn' is set
...
Problem: Using freed memory when 'foldcolumn' is set.
Solution: Save extra pointer to free it later. (closes #12492 )
2023-06-04 18:46:28 +01:00
Ernie Rael
114ec813b3
patch 9.0.1605: crash when calling method on super in child constructor
...
Problem: Crash when calling method on super in child constructor. (Israel
Chauca Fuentes)
Solution: Clear the type list. (Ernie Rael, closes #12489 , closes #12471 )
2023-06-04 18:11:35 +01:00
Bram Moolenaar
abc8130d6a
patch 9.0.1604: errors from the codestyle test are a bit confusing
...
Problem: Errors from the codestyle test are a bit confusing.
Solution: Use assert_report() with a clearer message. Avoid a warning for
an existing swap file.
2023-06-04 16:55:27 +01:00
zeertzjq
3c80227760
patch 9.0.1603: display wrong if scrolling multiple lines with 'smoothscroll'
...
Problem: Display wrong when scrolling multiple lines with 'smoothscroll'
set.
Solution: Redraw when w_skipcol changed. (closes #12477 , closes #12468 )
2023-06-03 22:08:33 +01:00
zeertzjq
ecb87dd7d3
patch 9.0.1602: stray character visible if marker on top of double-wide char
...
Problem: Stray character is visible if 'smoothscroll' marker is displayed
on top of a double-wide character.
Solution: When overwriting a double-width character with the 'smoothscroll'
marker clear the second half. (closes #12469 )
2023-06-03 19:45:06 +01:00