kylo252
d15a66d803
ci(windows): config and build before publish step ( #19416 )
...
Problem: Windows package step failed (silently).
Solution: Make sure to configure cmake before attempting to build the package target.
2022-07-18 15:18:15 +02:00
kylo252
9f4b19b6d0
ci: refactor build.ps1 #19336
...
Refactor `build.ps1` into a more modular design
https://github.com/neovim/neovim/blob/9728f3b558c8cf9bd2bc331de8a5cc80ba0d3797/.github/workflows/ci.yml#L283-L296
- Separate CI steps.
- Remove unneeded code related to setting up CMake.
- Use parallel/incremental builds.
- Fix github's cache.
- Clear the way for the possibility of replacing this file with a cmake-preset:
https://github.com/neovim/neovim/pull/19128
2022-07-17 15:07:35 -07:00
kylo252
912dbbdd77
build: gracefully handle error in git-version #19289
...
- only update git-version if both of these conditions are met:
- `git` command succeeds
- `versiondef_git.h` would change (SHA1-diff)
- else print a status/warning message
also move version generation out of Lua into cmake.
2022-07-14 00:12:27 -07:00
kylo252
837360868b
fix(tests): missing clear() #18927
...
This was caught in #18674 since it allows test isolation
2022-06-13 04:05:17 -07:00
kylo252
3da3cfc864
feat(autocmds): retrieve lua callback ( #18642 )
...
add a new `callback` field to `nvim_get_autocmds`
2022-06-09 07:18:56 -06:00
kylo252
84d8cc3ae5
ci: use python3 explicitly to fix macos warnings #18837
...
> DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020
Testing `pynvim` compatibility with python2 should not be done in core,
and there's only a provider_spec for python3 either way.
2022-06-03 08:15:45 -07:00
kylo252
e86901eb68
docs(clang-format): one space in directives indent ( #18800 )
...
PPIndentWidth
The number of columns to use for indentation of preprocessor statements.
When set to -1 (default) IndentWidth is used also for preprocessor statements.
2022-05-30 23:49:11 +08:00
kylo252
7b952793d5
refactor: missing parenthesis may cause unexpected problems ( #17443 )
...
related vim-8.2.{4402,4639}
2022-05-26 10:49:25 +08:00
kylo252
55246d44f9
fix(autocmds): separate command from desc ( #18617 )
2022-05-21 15:55:48 +02:00
kylo252
a2d4b862f1
ci(bsd): conditional runs for faster builds #18439
...
(undocumented) sourcehut feature for conditionally running consequent tasks.
ref:
https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C3cd90a91b7ce113bb3c5f07898c77543%40hacktivista.com%3E
https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/tasks.go#L196-198
2022-05-11 18:26:07 -07:00
kylo252
3e3e9c3125
ci(bsd): conditional runs for faster builds #18434
...
sourcehut undocumented feature for conditionally running tasks.
The current condition is based on git's pathspec, see `man gitglossary(7)`, to
skip commits that only changed files under `.github/*`.
refs
- https://git-scm.com/docs/gitglossary#Documentation/gitglossary.txt-aiddefpathspecapathspec
- https://lists.sr.ht/~sircmpwn/sr.ht-discuss/%3C3cd90a91b7ce113bb3c5f07898c77543%40hacktivista.com%3E
- https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/tasks.go#L196-198
2022-05-05 09:35:14 -07:00
kylo252
651b595271
build: bump msgpack to 4.0.0
...
see https://github.com/msgpack/msgpack-c/releases/tag/c-4.0.0
2022-05-01 13:40:10 +02:00
kylo252
eecc6535eb
fix(handlers): more specific error messages ( #16772 )
...
Specify which message, or request, was last received in case of an error
instead of the same generic message
2022-04-30 13:55:26 +02:00
kylo252
0d41c4dee1
refactor(build): remove unused includes #17078
...
Remove unused includes in src/nvim/buffer.c|h using the IWYU library.
Yet another step towards #6371 and #549
2022-04-26 21:38:12 -07:00
kylo252
39d149752f
fix(build): missing definitions for sizeof macros #16393
...
Verified with -Wundef
Fixes #16392
2022-04-26 19:41:11 -07:00
kylo252
4fed1bf7e5
vim-patch:8.1.2005: the regexp.c file is too big
...
Problem: The regexp.c file is too big.
Solution: Move the backtracking engine to a separate file. (Yegappan
Lakshmanan, closes vim/vim#4905 )
https://github.com/vim/vim/commit/6d7d7cf750bca5d641e464f6a3af5ee5b99a5ac8
vim-patch:8.1.2010: new file uses old style comments
Problem: New file uses old style comments.
Solution: Change to new style comments. (Yegappan Lakshmanan, closes vim/vim#4910 )
https://github.com/vim/vim/commit/9490b9a61cf1f1f3fa9758663a33124ea9f71c87
2022-03-10 10:09:28 +08:00
kylo252
ac91c56085
chore: align clang-format configuration with clint
...
Some additional tweaks to make clang-format more compatible with
`clint.py` rules.
This is especially useful for range-formatting with `clangd`.
2022-03-09 19:44:03 +08:00
kylo252
2abd17813e
fix(build): install luajit modules on windows ( #16658 )
2021-12-18 10:53:27 -07:00
kylo252
5e1320708d
refactor(build): remove unused includes
2021-12-12 19:05:50 +01:00
kylo252
47dd6c4f47
fix(lint): remove redundant ternary operator
...
The value of `new_len` will never be '0' since `replacement.size`
is checked against that early on.
2021-10-06 18:21:43 +02:00
kylo252
09307e64df
fix(docs): uncrustify.cfg location #15817
2021-10-02 14:32:18 -07:00
kylo252
39c886551b
refactor(Makefile): use built-in make commands #15708
...
Changes to the main Makefile:
- add `MAKEFILE_PATH` and `MAKEFILE_DIR` that are set with native commands
- add `NVIM_PRG`
- rename `BUILD_TYPE` to `CMAKE_GENERATOR` to align with CMake naming
- remove the misleading `BUILD_CMD` and use `BUILD_TOOL` instead
Add the following phony target to quickly test the changes
```make
debug-print:
@echo makefile path: $(MAKEFILE_PATH)
@echo makefile dir: $(MAKEFILE_DIR)
@echo build dir: $(BUILD_DIR)
@echo cmake generator tool: $(CMAKE_GENERATOR)
@echo build-tool: $(BUILD_TOOL)
@echo nvim-prg: $(NVIM_PRG)
```
2021-09-19 15:53:48 -07:00