summaryrefslogtreecommitdiffstats
path: root/.github
AgeCommit message (Collapse)Author
2024-04-14runtime(java): Recognise non-ASCII identifiers (#14543)Aliaksei Budavei
* runtime(java): Recognise non-ASCII identifiers Also: - Remove the already commented out and less general in its definition javaFuncDef alternative. - Stop recognising some bespoke {p,trace} debugging API. Non-ASCII identifiers have been supported from the outset of the Java language. > An _identifier_ is an unlimited-length sequence of _Java > letters_ and _Java digits_, the first of which must be a > Java letter. An identifier cannot have the same spelling > (Unicode character sequence) as a keyword . . . Boolean > literal . . . or the null literal . . . > . . . . . . . . > Letters and digits may be drawn from the entire Unicode > character set . . . > . . . . . . . . > A Java letter is a character for which the method > Character.isJavaLetter . . . returns true. A Java > letter-or-digit is a character for which the method > Character.isJavaLetterOrDigit . . . returns true. > . . . . . . . . > The Java letters include . . . for historical reasons, the > ASCII underscore (_) . . . and dollar sign ($) . . . (Separate syntax tests will be written when particular parts now touched will have been further improved.) Reference: https://javaalmanac.io/jdk/1.0/langspec.pdf [§3.8] * Take on the maintenance of Java filetype and syntax files Signed-off-by: Aliaksei Budavei <0x000c70@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-14CI: use explicit version tags for macos runners (#14548)Philip H
as we do on others like ubuntu Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-04-10runtime(vim): Improve Vim9 and legacy-script comment highlighting (#13104)dkearns
This is a first-pass attempt to limit matching of Vim9 and legacy-script comments to the appropriate syntactic contexts. Vim9-script comments are highlighted at top level in a Vim9-script file, in all :def functions, and in all :autocmd and :commmand command blocks. Legacy-script comments are highlighted at top level in a legacy script file, in all :func functions and in the Vim9-script preamble before the :vim9script marker command. Fixes #13047, #11307 and #9587. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-22CI: Fix for Sodium version 1.0.19 and MinGW (#14267)Restorer
Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-21CI: mingw complains about unknown escape sequence: '\l', fails with ↵Christian Brabandt
libsodium (#14259) Problem: CI: mingw complains about unknown escape sequence: '\l', fails with sodium v1.0.19 Solution: Use other slash instead, also revert sodium version to v1.0.18 Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-20patch 9.1.0191: Installer does not remove all filesv9.1.0191RestorerZ
Problem: Installer does not remove all files Solution: Update installer and delete all files on uninstall update Sodium library dependency, update Readme (RestorerZ) closes: #14214 Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-20runtime(deb822sources): Add minimal ftplugin (#14240)James McCoy
Set comment related options and avoid automatic line wrapping. Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-03-03translation(ru): Updated Russian installer translation (#14134)Restorer
* translation(ru): Updated Russian translation for NSIS * update CODEOWNERS Signed-off-by: RestorerZ <restorer@mail2k.ru> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-28CI: enable apt upgrade on github runners again to fix i386 buildPhilip H
This reverts commit 7f630e6f358275d0bce9fea2665a2763edbf6a0e which reverted 7349c5160ab63d0737050a6b4da3e407ab0cfeb0 Let's see how many more iterations of reverting a commit we can achieve... closes: #14113 Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-19CI: install gnudiff and enable `Test_diffmode` on macos-14 runner again (#14056)Linda_pp
Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-19runtime(misc): announce adoption of various runtime filesChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-14patch 9.1.0107: CI: Fix MacOS-14 testsv9.1.0107Yee Cheng Chin
Problem: CI: Fix MacOS-14 tests (after 9.1.0070) Solution: Re-enable sound tests by granting Mic access, disable Test_diff_screen because of buggy MacOS diff (non GNU version), re-enable Test_term_gettitle() (Yee Cheng Chin) macos-14 runner was turned on in #13943, but it had to turn off a few tests in order for CI to run. Re-enable them and fix the underlying issues. * `Test_diff_screen`: The test failure is due to a bug in Apple's diff utility. Apple introduced a new diff tool based on FreeBSD in macOS 13 and it has buggy behaviors when using unified diff (`-U0`) and the diff is on the first line of the file. Simply disable this test for now if we detect Apple diff (instead of the old GNU diff). Can re-enable this in the future if Apple fixes the issue. * `Test_play_event` / `Test_play_silent`: GitHub Actions currently has an issue with playing sound in CI in macos-14 runners. It for some reason triggers a microphone permission dialog popup which blocks the CI action (see https://github.com/actions/runner-images/issues/9330). To fix this, add a temporary step in macos-14 to manually allow microphone permissions in the runner. * `Test_term_gettitle`: I could not reproduce the failure, so I just turned it on and it seems to run just fine. Maybe it's a timing issue and whatnot but either way that should be fixed when we can reproduce the issue. closes: #14032 Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-09CI: Add Codecov token (#13999)K.Takata
codecov-action@4 requires a token. Add it to the repository secrets. See: https://github.com/vim/vim/pull/13978#issuecomment-1935336624 Signed-off-by: Ken Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-06CI: skip apt upgrade on github runners (#13975)Philip H
Revert: https://github.com/vim/vim/pull/13680 Fixed in: https://github.com/actions/runner-images/issues/9016 Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-06CI: Bump codecov/codecov-action from 3 to 4 (#13978)dependabot[bot]
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-02-01patch 9.1.0070: CI: testsuite not run on M1 Macv9.1.0070rhysd
Problem: CI: testsuite not run on M1 Mac Solution: Make it run on gh runners for M1, disable failing tests for now, until we figure the problem with the failings tests out (rhysd) closes: #13943 Signed-off-by: rhysd <lin90162@yahoo.co.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-31CI: get rid of snap and speed up CI (#13938)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-31CI: update clang to v18 (#13937)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-27runtime(ant): Update syntax file (#13926)dkearns
Remove invalid display option from syn-keyword commands. Take over maintenance of this file. Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-22runtime(chuck): include ChucK syntax file (#13895)Andrea C from The App
Co-authored-by: gacallea <gacallea@users.noreply.github.com> Signed-off-by: gacallea <gacallea@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-22CI: Bump actions/cache from 3 to 4 (#13897)dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-15CI: regenerate helptags, fix ci help tags job failingChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-14CI: Check help tags for errors (duplicates, missing, etc) (#13865)Christian Brabandt
- Run the doc make html awk script, which also checks, that all referenced help tags exists. - Run the doc maketags awk script, which checks for duplicates - in case of any error in the previous two steps, exit the CI with an error and show the errors.log file, that is generated by the previous 2 steps Signed-off-by: Christian Brabandt <cb@256bit.org>
2024-01-05patch 9.1.0013: Modula2 filetype support lackingv9.1.0013Doug Kearns
Problem: Modula2 filetype support lacking Solution: Improve the Modula-2 runtime support, add additional modula2 dialects, add compiler plugin, update syntax highlighting, include syntax tests, update Makefiles (Doug Kearns) closes: #6796 closes: #8115 Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Benjamin Kowarsch <trijezdci@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-19CI: change dependabot prefix to "CI" (#13724)zeertzjq
The default prefix of dependabot is "build(deps)". Change it to "CI". Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-18CI: bump github/codeql-action from 2 to 3 (#13716)dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-14CI: Fix i386 build (#13680)K.Takata
Fix the following error: ``` The following packages have unmet dependencies: binutils : Conflicts: binutils:i386 but 2.38-4ubuntu2.4 is to be installed binutils:i386 : Conflicts: binutils but 2.38-4ubuntu2.3 is to be installed binutils-common : Breaks: binutils-common:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed binutils-common:i386 : Breaks: binutils-common (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed libbinutils : Breaks: libbinutils:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed libbinutils:i386 : Breaks: libbinutils (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed libctf0 : Breaks: libctf0:i386 (!= 2.38-4ubuntu2.3) but 2.38-4ubuntu2.4 is to be installed libctf0:i386 : Breaks: libctf0 (!= 2.38-4ubuntu2.4) but 2.38-4ubuntu2.3 is to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. ``` Run `apt-get upgrade` before installing additional packages. Signed-off-by: K.Takata <kentkt@csc.jp> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-13CI: Fix labeler.yml (#13677)K.Takata
* CI: Fix labeler.yml Use `any-glob-to-any-file` instead of `any-glob-to-all-files` in most places. * Adjust indentation
2023-12-13CI: label.yml: fixup for v5 (#13673)Philip H
* label.yml: sync-labels true * fixup: remove unused lines Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: K.Takata <kentkt@csc.jp>
2023-12-12CI: bump actions/labeler from 4 to 5 (#13658)dependabot[bot]
Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-11CI: labeler.yml: update to v5 (#13664)Philip H
Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-10runtime(json): Add json formating plugin (Issue #11426) (#11506)Maxim Kim
related: #11426 Signed-off-by: Maxim Kim <habamax@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-04patch 9.0.2148: Vim does not detect pacman.log filev9.0.2148Ronan Pigott
Problem: Vim does not detect pacman.log file Solution: Detect pacmanlogs and add syntax highlighting pacman.log is a filetype common to Arch Liux and related distributions. Add some simple syntax highlighting for the pacmanlog filetype. closes: #13618 Signed-off-by: Ronan Pigott <ronan@rjp.ie> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-12-01CI: check that all files are listed in Filelist (#13601)Peter Simonyi
Sometimes patches add files that should be included in tarballs for distribution, but are not added to Filelist (used by Makefile to build the tar archive). This can break the build, or it can be silently ignored as runtime files are simply not included in the distribution. Add a CI check to ensure all files tracked in the repository are assigned to a variable in Filelist. A few files were not listed because they do not need to be included in builds and tarballs, so add an IGNORE variable for these exceptions. Co-authored-by: Peter Simonyi <pts@petersimonyi.ca> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-25patch 9.0.2128: runtime(swig): add syntax and filetype pluginsv9.0.2128Julien Marrec
Add syntax and filetype plugins for SWIG (Simplified Wrapper Interface Generator) description files. The default syntax for .i files highlights comments in a reverse color scheme which doesn't look well. This syntax builds on vim's c++ syntax by adding highlighting for common swig directives and user defined directives. For an alternative syntax, see vimscript #1247 (which I found after writing this). closes: #13562 Co-authored-by: Matěj Cepl <mcepl@cepl.eu> Co-authored-by: Julien Marrec <julien.marrec@gmail.com> Signed-off-by: Julien Marrec <julien.marrec@gmail.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11CI: labeler.yml use all instead of any for doc detection (#13507)Philip H
fixup: https://github.com/vim/vim/pull/13506#pullrequestreview-1722013761 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11patch 9.0.2098: No filetype support for xcompose filesv9.0.2098ObserverOfTime
Problem: No filetype support for xcompose files Solution: Add filetype detection closes: #13508 Signed-off-by: ObserverOfTime <chronobserver@disroot.org> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-11CI: labeler.yml: Add some more component detection rules (#13511)K.Takata
Add rules for `installer`, `platform-mac`, `platform-windows`, `xxd`. Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-11-09CI: labeler.yml: add documentation label (#13506)Philip H
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-26runtime(debian): update debian related runtime files (#13423)James McCoy
* Update Debian runtime files Add mantic as a supported Ubuntu release and move buster/kinetic to unsupported. Add syntax highlighting for deb822sources filetype. Add debsources ftplugin to set relevant comment options. Move common version information to shared/debversions.vim Closes #11934 Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Co-authored-by: James Addison <jay@jp-hosting.net> Co-authored-by: Viktor Szépe <viktor@szepe.net> Signed-off-by: James McCoy <jamessan@jamessan.com> * Add myself as codeowner for Debian-related runtime files Signed-off-by: James McCoy <jamessan@jamessan.com> --------- Signed-off-by: James McCoy <jamessan@jamessan.com> Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Co-authored-by: James Addison <jay@jp-hosting.net> Co-authored-by: Viktor Szépe <viktor@szepe.net> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-23please report security issues to the vim-security listChristian Brabandt
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-19runtime(json5): Add new ftplugin (#13385)dkearns
Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-19Remove mention of huntr.dev since they do no longer support usChristian Brabandt
They do no longer support us, since they are shifting away to AI/ML projects only. So remove any mentioned of using huntr.dev https://huntr.com/new-huntr-faq/ Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-30patch 9.0.1962: No support for writing extended attributesv9.0.1962Christian Brabandt
Problem: No support for writing extended attributes Solution: Add extended attribute support for linux It's been a long standing issue, that if you write a file with extended attributes and backupcopy is set to no, the file will loose the extended attributes. So this patch adds support for retrieving the extended attributes and copying it to the new file. It currently only works on linux, mainly because I don't know the different APIs for other systems (BSD, MacOSX and Solaris). On linux, this should be supported since Kernel 2.4 or something, so this should be pretty safe to use now. Enable the extended attribute support with normal builds. I also added it explicitly to the :version output as well as make it able to check using `:echo has("xattr")`, to have users easily check that this is available. In contrast to the similar support for SELINUX and SMACK support (which also internally uses extended attributes), I have made this a FEAT_XATTR define, instead of the similar HAVE_XATTR. Add a test and change CI to include relevant packages so that CI can test that extended attributes are correctly written. closes: #306 closes: #13203 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-29patch 9.0.1954: CI: change netrw label in labeller botv9.0.1954Ken Takata
Problem: CI: change netrw label in labeller bot Solution: Rename it to 'plugin-netrw' closes: #13217 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
2023-09-25patch 9.0.1943: CI not run with clang-17v9.0.1943Philip H
Problem: CI not run with clang-17 Solution: Update CI to use clang-17 closes: #12745 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Philip H <47042125+pheiduck@users.noreply.github.com>
2023-09-17runtime(kotlin): Add Kotlin runtime files (#13110)dkearns
Closes udalov/kotlin-vim#39 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-16patch 9.0.1903: CI fails because snd-dummy modules missingv9.0.1903Christian Brabandt
Problem: Github Actions fails because snd-dummy modules missing in current runner images Solution: ignore modprobe error related: actions/runner-images#8295 Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-11CI: Bump actions/checkout from 3 to 4 (#13072)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-09-05patch 9.0.1871: Github CI does not run i386 jobv9.0.1871James McCoy
Problem: Github CI does not run i386 job Solution: Add a i386 architecture Add CI testing for i386 message_test recently failed on i386, which exposed a gap in the CI testing. Convert the shadowdir job to one that runs on i386 so we get 32-bit test coverage. Since the GHA runners are x86_64, we can enable the i386 architecture in dpkg and install i386 packages for the i386 CI jobs. However, this can't currently be done with features=huge since that would require installing python3-dev:i386, which breaks the CI environment. closes: #12975 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: James McCoy <jamessan@jamessan.com>