James McCoy
e0f32abb1c
Merge pull request #19518 from dundargoc/build/openbsd/no-versions
...
ci(openbsd): don't specify versions for dependencies if possible
2022-07-27 06:27:51 -04:00
James McCoy
cbfae548e8
Merge pull request #19512 from dundargoc/build/version-fix
...
build: fix version generation to its previous behavior
2022-07-26 06:47:56 -04:00
James McCoy
88c6e02c12
Merge pull request #19508 from ii14/fix_older_cmake_makefiles
...
build: fix git version generation on makefiles with older cmake versions
2022-07-25 21:41:03 -04:00
James McCoy
871ff8d62f
Merge pull request #19428 from jamessan/deps-cmake-version
...
build: bump minimum CMake version in cmake.deps
2022-07-19 08:52:14 -04:00
James McCoy
0a716fc776
build: bump minimum CMake version in cmake.deps
...
The minimum version for the main project was bumped in 035d82e0d3 .
Align cmake.deps to the same version for consistency.
2022-07-19 07:02:51 -04:00
James McCoy
08a50f6690
Merge pull request #19395 from jamessan/flaky-job-test
...
test(job_spec): accept alternate messages for "append environment" tests
2022-07-16 21:24:06 -04:00
James McCoy
bcb5b7b3f6
test(job_spec): accept alternate messages for "append environment" tests
...
These tests commonly fail in Debian with
[ ERROR ] test/functional/core/job_spec.lua @ 81: jobs append environment with pty #env
test/functional/helpers.lua:198:
==============================================================================
test/helpers.lua:73: Expected objects to be the same.
Passed in:
(table: 0x2aa4bcc1040) {
*[1] = {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'hello world abc' } } } }
Expected:
(table: 0x2aa4bcc0d70) {
*[1] = {
[1] = 'notification'
[2] = 'stdout'
*[3] = {
[1] = 0
*[2] = {
[1] = 'hello world abc'
*[2] = '' } } } }
Since the test is validating the "hello world abc" message, not the
newlines, accept either set of message sequences.
2022-07-16 14:08:27 -04:00
James McCoy
41785b1b0c
Merge pull request #19223 from lewis6991/ghaction
...
build: add github action annotations for clint
2022-07-05 09:53:41 -04:00
James McCoy
c5720c7221
Merge pull request #18904 from jamessan/no-parser-ci
...
ci: run tests with no treesitter parsers installed
2022-06-08 21:55:05 -04:00
James McCoy
a4e1b76f55
test: allow running CI without ts parsers installed
2022-06-08 21:10:49 -04:00
James McCoy
950ab00c2b
ci: run tests with no treesitter parsers installed
2022-06-08 21:10:34 -04:00
James McCoy
8a70c53dad
Merge pull request #18903 from jamessan/skip-test-parsers
...
test(ts): skip test if C parser is not available
2022-06-08 21:10:01 -04:00
James McCoy
10291bb854
Merge pull request #18788 from dundargoc/ci/api-docs/color
...
ci(api-docs): show required changes with color
2022-06-08 19:55:51 -04:00
James McCoy
6b0595d7cc
test(ts): skip test if C parser is not available
2022-06-08 18:04:25 -04:00
James McCoy
e9803e1de6
Merge pull request #18789 from dundargoc/ci/api-docs/run-in-drafts
...
ci(api-docs): run in drafts as well
2022-05-29 09:51:18 -04:00
James McCoy
840b7576e9
Merge pull request #18786 from jamessan/latest-ci
...
ci: use ubuntu-latest for vim-patches and coverity-scan
2022-05-28 14:43:47 -04:00
James McCoy
a3df012845
ci: use ubuntu-latest for vim-patches and coverity-scan
...
Since we're not running tests or other things that are more sensitive to
changes in the VM environment, use ubuntu-latest to avoid the busy work
of updating the VM image.
2022-05-28 14:22:42 -04:00
James McCoy
6db3f3f624
Merge pull request #18748 from dundargoc/ci/msvc
...
ci(mingw): only enable -municode for MinGW
2022-05-25 19:43:34 -04:00
James McCoy
eebd682221
Merge pull request #18728 from dundargoc/ci/api/upgrade-to-ubuntu-22
...
ci(api-docs): upgrade to ubuntu 22 and remove conda dependency
2022-05-24 07:20:40 -04:00
James McCoy
d7e45ee4b9
Merge pull request #18626 from dundargoc/ci/shallow-clone
...
ci(api-docs): add comment explaining why full clone is needed
2022-05-24 07:20:04 -04:00
James McCoy
4fab52908b
Merge pull request #18607 from dundargoc/build/mingw
...
restore mingw in cmake
2022-05-24 07:19:12 -04:00
James McCoy
47d9a393de
fix(cid/352839): USE_AFTER_FREE in create_user_command #18669
2022-05-22 10:29:15 -07:00
James McCoy
b3453ea4a6
Merge pull request #18648 from jamessan/coverity-fixes
2022-05-20 14:22:15 -04:00
James McCoy
3e627f9e55
ci(coverity): run every day instead of once/week
...
Neovim currently falls in the 100 kLOC - 500 kLOC bucket, which can scan
3x/day.
2022-05-20 08:17:47 -04:00
James McCoy
83f42e086a
perf(cid/350479): avoid copying ExtmarkInfo when calling extmark_to_array()
2022-05-20 08:17:39 -04:00
James McCoy
501ee06d3a
fix(cid/352782): assert str->items is non-NULL to hint static analyzers
...
The earlier vsnprintf() call checks whether str->items is NULL, sets of
the "possible NULL" spidey sense. kv_ensure_space() guarantees
str->items is non-NULL but since it doesn't use NULL checks to decide
whether to alloc, static analyzers can't tell this code path is safe.
2022-05-20 08:17:33 -04:00
James McCoy
d31e68d5d0
fix(cid/348314): free user_copy, not user
...
user is passed in by the caller, which we internally copy. We should be
freeing our copy, not the caller's string.
2022-05-20 08:15:13 -04:00
James McCoy
f15122e8a2
fix(cid/351940): free compl_arg in create_user_commands()'s error path exit
2022-05-20 08:15:07 -04:00
James McCoy
6954c0ba0d
ci(coverity): annotate register_cfunc as leaking memory
...
register_cfunc allocates a ufunc_T, but doesn't store the pointer
anywhere before returning. The uf_name member variable is stored in a
hashtable and used to lookup the ufunc_T later, but that's too much for
Coverity to track.
Adding the annotation ensures that any new callers to register_cfunc
don't pop up as new "leaks" in the Coverity scans.
2022-05-20 08:14:37 -04:00
James McCoy
1da7e2b8ca
ci(coverity): model our allocation functions
...
Coverity was reporting false positives, particularly around for non-NUL
terminated strings around uses of xmemdupz(). The updated model
ensures Coverity understands xmemdupz allocates an extra byte and sets it
to NUL as well as the main details of our other allocation related
wrappers.
2022-05-20 08:14:20 -04:00
James McCoy
f1bc321b56
Merge pull request #18444 from zeertzjq/ci-unsigned-char
...
ci: add a check with -funsigned-char
2022-05-06 22:47:24 -04:00
James McCoy
c051ea83dd
refactor(lua): replace hard-coded gsub with vim.pesc() ( #18407 )
2022-05-04 08:13:01 +02:00
James McCoy
a1542b091d
Merge pull request #18353 from jamessan/ft-match-fix
2022-05-02 11:01:51 -04:00
James McCoy
88595fbb21
fix(filetype.lua): escape expansion of ~ when used as a pattern
2022-05-02 08:38:35 -04:00
James McCoy
af53fa0663
Merge pull request #18342 from kylo252/msgpack-bump
...
build: bump msgpack to 4.0.0
2022-05-02 08:10:51 -04:00
James McCoy
e5f6f20968
Merge pull request #18356 from dundargoc/ci/gen_vimdoc/conda-edge-case
...
build(gen_vimdoc): handle conda edge case when parsing doxygen version
2022-05-02 06:24:54 -04:00
James McCoy
371dfb1746
Merge pull request #18294 from mhinz/mac/simpler-locale-fallback
...
fix(mac): use same $LANG fallback mechanism as Vim
2022-05-01 19:15:11 -04:00
James McCoy
c04b979331
Merge pull request #18348 from dundargoc/build/abort-if-old-doxygen
...
build(gen_vimdoc): abort if doxygen version is too old
2022-05-01 18:47:43 -04:00
James McCoy
dbcb76bd7a
Merge pull request #17888 from dundargoc/ci/remove-reviewers-when-drafting
2022-03-31 15:38:26 -04:00
James McCoy
68c0e90189
Merge pull request #17906 from dundargoc/test/skip-nvimlog-on-success
2022-03-31 15:36:18 -04:00
James McCoy
e55ba16a0e
Merge pull request #17891 from casswedson/label-as-build
...
ci: label changes to Makefiles as build
2022-03-28 06:14:26 -04:00
James McCoy
a201dd265f
Merge pull request #17887 from dundargoc/ci/commitlint
...
ci(commitlint): use -u NONE instead of --clean
2022-03-27 17:11:11 -04:00
James McCoy
b66cc0f569
Merge pull request #17873 from muniter/jl-apidocs-improvementes
...
ci(doc): improve missing docs workflow
2022-03-27 16:21:02 -04:00
James McCoy
66fff788f2
Merge pull request #17857 from muniter/jl-breaking-change-label
...
ci: automatic breaking change label
2022-03-26 09:45:54 -04:00
James McCoy
04d2476d3a
Merge pull request #17813 from muniter/jl-ci-api-docs-permissions
...
fix(ci): provide necessary permissions for calling workflow
2022-03-22 06:52:09 -04:00
James McCoy
0c02e8a62b
Merge pull request #17768 from muniter/jl-genvimdoc-ci
2022-03-21 11:41:19 -04:00
James McCoy
50f3bb7e57
Merge pull request #17491 from neovim/marvim/api-doc-update/master
2022-03-21 11:40:56 -04:00
James McCoy
463738938d
Merge pull request #17785 from muniter/jl-fix-doxygen-destroyer
...
docs: properly escape to avoid doxygen weirdness
2022-03-20 10:35:27 -04:00
James McCoy
746a29c580
Merge pull request #17707 from tesaguri/refactor-gen_vimdoc
2022-03-16 16:13:59 -04:00
James McCoy
abbc9148db
Merge pull request #17665 from clason/bump-libuv
...
build(deps): bump libuv to 1.44.1
2022-03-10 18:45:12 -05:00
James McCoy
8a5f0559cc
Merge pull request #17604 from dundargoc/ci/better-error-output
...
Better CI error output
2022-03-10 18:42:02 -05:00
James McCoy
4632729459
Merge pull request #17585 from zeertzjq/ci-freebsd-oldtests
2022-03-08 14:42:56 -05:00
James McCoy
bcda54b30e
Merge pull request #17642 from dundargoc/ci/macos/reduce-brew-output
...
ci(macos): minimize log output from brew update
2022-03-07 18:59:50 -05:00
James McCoy
26e713797b
Merge pull request #17635 from dundargoc/ci/freebsd/bump-to-latest
2022-03-07 16:47:14 -05:00
James McCoy
caffee0b67
Merge pull request #17641 from dundargoc/ci/document-jobs
2022-03-07 14:21:36 -05:00
James McCoy
57fee60c76
Merge pull request #17636 from bfredl/luacrash
2022-03-07 14:05:20 -05:00
James McCoy
5760cf87b6
Merge pull request #17626 from dundargoc/ci/openbsd/bump-to-latest
...
ci(openbsd): use latest image
2022-03-06 20:06:36 -05:00
James McCoy
a7c999523d
Merge pull request #17630 from kchibisov/fix-underline-regression
...
fix(api): highlight attribute for underline
2022-03-06 18:43:02 -05:00
James McCoy
5400017020
Merge pull request #17628 from jamessan/bsd-gdb
...
ci(bsd): install gdb to get backtraces from cores
2022-03-06 16:09:39 -05:00
James McCoy
0b53645596
test(sr.ht): skip luamod-dev test which crashes nvim
2022-03-06 15:44:54 -05:00
James McCoy
ee1112f1b7
ci(bsd): install gdb to get backtraces from cores
2022-03-06 13:58:21 -05:00
James McCoy
8ed9c84481
Merge pull request #17597 from dundargoc/build/cmake/fix-warnings
...
fix cmake warnings
2022-03-05 15:02:01 -05:00
James McCoy
c365de1d22
Merge pull request #17589 from kchibisov/add-dashed-dotted-underline
...
Add support for double, dashed, and dotted underlines
2022-03-05 15:00:07 -05:00
James McCoy
228ea78622
Merge pull request #17611 from zeertzjq/vim-patch-pr-args
...
feat(vim-patch.sh): support additional args for -s
2022-03-05 11:04:30 -05:00
James McCoy
83fc914337
Merge pull request #17601 from dundargoc/revert/libuv
2022-03-04 11:04:17 -05:00
James McCoy
6b6e64dfeb
Merge pull request #17598 from dundargoc/ci/reviewer/update-reviewers
...
ci(reviews): update reviewers
2022-03-04 06:18:14 -05:00
James McCoy
13cabfedb2
Merge pull request #17568 from groves/respect_os_proc_children_rv
2022-03-03 12:27:37 -05:00
James McCoy
0733f72616
Merge pull request #17564 from dundargoc/ci/freebsd/remove-deprecated-port
...
ci(freebsd): remove deprecated package sha to fix warning
2022-03-03 10:32:52 -05:00
James McCoy
051a0514dc
Merge pull request #17579 from zeertzjq/ci-win-fail
...
ci: show failed message on Windows
2022-03-02 20:21:13 -05:00
James McCoy
482ea0cc17
Merge pull request #17575 from zeertzjq/pty-did-eof
...
fix(pty_process_win/wait_eof_timer_cb): also check for proc->out.did_eof
2022-03-02 11:57:19 -05:00
James McCoy
770b9f3c3b
Merge pull request #17542 from dundargoc/ci/skip-oldtest-on-windows
2022-03-01 11:37:50 -05:00
James McCoy
243869658e
Merge pull request #17540 from jamessan/luv-bump-fix
...
ci(lint): use bundled luv until system packages are updated
2022-02-27 09:16:50 -05:00
James McCoy
97ed3effff
ci(lint): re-add building of third-party
2022-02-27 09:07:11 -05:00
James McCoy
8d8288461a
ci(lint): use bundled luv until system packages are updated
2022-02-27 09:07:11 -05:00
James McCoy
55ab76a1c0
build: bump minimum version of luv to 1.43.0
...
This is required for the recent addition of lua loop threading
(luv_set_thread).
2022-02-27 09:06:55 -05:00
James McCoy
84812bcc2c
Merge pull request #17531 from dundargoc/refactor/coverity/big-parameter-passed-by-value
2022-02-26 19:41:22 -05:00
James McCoy
e47cdb4268
Merge pull request #17535 from dundargoc/test/ci-fold
2022-02-26 19:39:51 -05:00
James McCoy
c26ef6bcd4
Merge pull request #17532 from dundargoc/ci/add-timeout
...
ci: add timeout to all jobs
2022-02-26 12:32:37 -05:00
James McCoy
005a7aa167
Merge pull request #17467 from dundargoc/ci/remove-failing-windows
...
ci: remove failing windows CI tests
2022-02-25 07:10:29 -05:00
James McCoy
73da7cef7b
Merge pull request #17390 from RenFraser/feature/packaging
...
ci: improve cpack packaging
2022-02-24 06:46:07 -05:00
James McCoy
fc7fc14bd2
Merge pull request #17484 from dundargoc/ci/skip-ci-on-doc-changes
...
ci: skip ci workflow on only documentation changes
2022-02-21 06:39:59 -05:00
James McCoy
4b3fb4b177
Merge pull request #17469 from jamessan/use-sysdeps-for-lint-ci
...
Use system dependencies for lint CI
2022-02-20 07:35:35 -05:00
James McCoy
13b13dcaa0
Merge pull request #17470 from dundargoc/ci/remove-success
...
ci: remove success check since it's the default
2022-02-20 07:34:50 -05:00
James McCoy
2550212b25
ci(win): use vswhere to automatically setup required vsdev env vars
2022-02-20 10:18:45 +01:00
James McCoy
921162a4b1
ci: bump Windows image to windows-2019
...
The VS 2019 CMake generator no longer has different generator types for
different architectures. Now, the architecture is specified via CMake's
`-A` switch. However, this requires we also propagate
`${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the
same architecture as Nvim.
2022-02-20 10:18:45 +01:00
James McCoy
2446b25c6b
ci: only cache third-party deps if they exist
2022-02-19 20:36:29 -05:00
James McCoy
0adbe58bb2
ci: ensure ~/.cache exists
2022-02-19 20:36:29 -05:00
James McCoy
0c4c384ed1
ci(lint): explicity build nvim
...
“make clint-full” bypasses the normal mechanisms used to communicate
build flags in the CI jobs, so explicitly build nvim before running the
lint jobs.
2022-02-19 20:35:05 -05:00
James McCoy
34cb26011e
ci(lint): build against system deps
2022-02-19 20:35:04 -05:00
James McCoy
8cd4c11494
ci(lint): install deps via apt instead of building from third-party
2022-02-19 20:35:04 -05:00
James McCoy
5cb45dffba
Merge pull request #17454 from dundargoc/ci/labeler/test
...
ci(labeler): change "tests" to "test"
2022-02-18 16:55:41 -05:00
James McCoy
720bb5844d
Merge pull request #17445 from dundargoc/ci/review/use-checkout
2022-02-18 08:36:45 -05:00
James McCoy
ac480ef6b4
Merge pull request #17404 from dundargoc/ci/put-each-test-in-separate-step
...
ci: run each test suite in a separate github step
2022-02-18 06:42:32 -05:00
James McCoy
3fb9987eef
Merge pull request #17450 from dundargoc/ci/lint/fix-key
...
ci(lint): simplify cache key
2022-02-18 06:14:53 -05:00
James McCoy
df0fae2ff7
Merge pull request #17430 from dundargoc/test/remove-travis
2022-02-17 17:25:58 -05:00
James McCoy
d1e3d8abd6
Merge pull request #17427 from dundargoc/ci/lint/remove-unnecessary-steps
2022-02-17 16:54:11 -05:00
James McCoy
387f6a9824
Merge pull request #17442 from dundargoc/ci/refactor/move-reviews
2022-02-17 15:56:47 -05:00
James McCoy
9ef5696132
Merge pull request #17418 from dundargoc/revert/ci/run-functionaltest-on-draft
...
revert: "ci: run functionaltest-lua on drafts as well"
2022-02-15 19:02:54 -05:00
James McCoy
e29ba986f5
Merge pull request #17409 from dundargoc/ci/disable-sync
...
ci(labeler): disable sync that interferes with other jobs
2022-02-15 06:15:15 -05:00
James McCoy
89bff49570
Merge pull request #17405 from dundargoc/ci/add-more-reviewers
...
ci: add more reviewers
2022-02-15 06:10:41 -05:00