Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | build(clint): don't allow INIT() in non-header files (#27407) | zeertzjq | 2024-02-10 |
| | |||
* | refactor(IWYU): fix headers | dundargoc | 2024-01-11 |
| | | | | | | Remove `export` pramgas from defs headers as it causes IWYU to believe that the definitions from the defs headers comes from main header, which is not what we really want. | ||
* | build: remove clint checks and style text covered by uncrustify | dundargoc | 2023-12-24 |
| | |||
* | refactor: remove CPO_TO_CPO_FLAGS() (#26718) | zeertzjq | 2023-12-23 |
| | | | | | Just pass p_cpo to replace_termcodes() directly. This allows removing option_vars.h from keycodes.h, and also avoids the mistake of passing 0 as cpo_flags. | ||
* | refactor(IWYU): move evalarg_T to eval_defs.h (#26716) | zeertzjq | 2023-12-23 |
| | |||
* | refactor(options): generate BV_ and WV_ constants (#26705) | zeertzjq | 2023-12-22 |
| | |||
* | refactor: run IWYU on entire repo | dundargoc | 2023-12-21 |
| | | | | Reference: https://github.com/neovim/neovim/issues/6371. | ||
* | refactor(IWYU): move decor provider types to decoration_defs.h (#26692) | zeertzjq | 2023-12-21 |
| | |||
* | refactor: split WIN_EXECUTE() into two functions (#26627) | zeertzjq | 2023-12-18 |
| | |||
* | refactor: move some anonymous enums back to non-defs headers (#26622) | zeertzjq | 2023-12-18 |
| | | | | | | | | | | It isn't really useful to put anonymous enums only used as arguments to functions calls in _defs.h headers, as they will only be used by a file that calls those functions, which requires including a non-defs header. Also move os_msg() and os_errmsg() back to message.h, as on Windows they are actual functions instead of macros. Also remove gettext.h and globals.h from private/helpers.h. | ||
* | refactor: move non-symbols to defs.h headers | dundargoc | 2023-12-17 |
| | |||
* | docs: fix links | dundargoc | 2023-12-13 |
| | |||
* | refactor(IWYU): move marktree types to marktree_defs.h (#26402) | zeertzjq | 2023-12-05 |
| | |||
* | refactor(IWYU): fix includes for highlight_group.h (#26340) | zeertzjq | 2023-12-01 |
| | |||
* | refactor(IWYU): create {ex_getln,rbuffer,os/fileio}_defs.h (#26338) | zeertzjq | 2023-12-01 |
| | |||
* | refactor(IWYU): fix includes for cmdhist.h (#26324) | zeertzjq | 2023-11-30 |
| | |||
* | refactor(IWYU): move typedefs out of globals.h (#26322) | zeertzjq | 2023-11-30 |
| | |||
* | refactor: move extern variables out of _defs.h files (#26320) | zeertzjq | 2023-11-30 |
| | |||
* | refactor(IWYU): move UI and LineFlags to ui_defs.h (#26318) | zeertzjq | 2023-11-30 |
| | |||
* | refactor: move function macros out of vim_defs.h (#26300) | zeertzjq | 2023-11-29 |
| | |||
* | refactor: move some constants out of vim_defs.h (#26298) | zeertzjq | 2023-11-29 |
| | |||
* | refactor(IWYU): create normal_defs.h (#26293) | zeertzjq | 2023-11-29 |
| | |||
* | refactor: fix headers with IWYU | dundargoc | 2023-11-28 |
| | |||
* | refactor(IWYU): fix includes for ugrid.h (#26267) | zeertzjq | 2023-11-28 |
| | |||
* | refactor: move hashtab types to hashtab_defs.h (#26262) | zeertzjq | 2023-11-28 |
| | |||
* | refactor: fix runtime_defs.h (#26259) | zeertzjq | 2023-11-28 |
| | |||
* | refactor: fix includes for api/autocmd.h | dundargoc | 2023-11-27 |
| | |||
* | refactor: fix includes for iconv.h | dundargoc | 2023-11-27 |
| | |||
* | refactor: create runtime_defs.h | dundargoc | 2023-11-27 |
| | |||
* | build(IWYU): fix includes for undo_defs.h | dundargoc | 2023-11-27 |
| | |||
* | build(IWYU): replace most private mappings with pragmas (#26247) | zeertzjq | 2023-11-27 |
| | |||
* | refactor: move Arena and ArenaMem to memory_defs.h (#26240) | zeertzjq | 2023-11-27 |
| | |||
* | refactor: move autocmd types to autocmd_defs.h (#26239) | zeertzjq | 2023-11-27 |
| | |||
* | build(IWYU): replace public-to-public mappings with pragmas (#26237) | zeertzjq | 2023-11-27 |
| | |||
* | build(clint): more precise check for "defs" headers (#26236) | zeertzjq | 2023-11-27 |
| | |||
* | build(IWYU): fix headers for arabic.h | dundargoc | 2023-11-26 |
| | |||
* | refactor: move garray_T to garray_defs.h (#26227) | zeertzjq | 2023-11-26 |
| | |||
* | build: sync IWYU and clint to ignore the same headers (#26228) | dundargoc | 2023-11-26 |
| | | | Also fix headers for autocmd.c. | ||
* | build: add check to clint to prevent non-defs header includes | dundargoc | 2023-11-26 |
| | | | | | | Also enable iwyu on headers, but add an ignore for each file separately. Work on https://github.com/neovim/neovim/issues/6371. | ||
* | refactor: enable formatting for ternaries | dundargoc | 2023-11-20 |
| | | | | | | This requires removing the "Inner expression should be aligned" rule from clint as it prevents essentially any formatting regarding ternary operators. | ||
* | refactor: replace manual header guards with #pragma once | dundargoc | 2023-11-12 |
| | | | | | It is less error-prone than manually defining header guards. Pretty much all compilers support it even if it's not part of the C standard. | ||
* | build(lint): remove unnecessary clint.py rules | dundargoc | 2023-10-23 |
| | | | | | Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py. | ||
* | refactor(map): avoid duplicated khash_t types for values | bfredl | 2023-05-17 |
| | | | | | | | | | | | | | | | | | | | | | This reduces the total number of khash_t instantiations from 22 to 8. Make the khash internal functions take the size of values as a runtime parameter. This is abstracted with typesafe Map containers which are still specialized for both key, value type. Introduce `Set(key)` type for when there is no value. Refactor shada.c to use Map/Set instead of khash directly. This requires `map_ref` operation to be more flexible. Return pointers to both key and value, plus an indicator for new_item. As a bonus, `map_key` is now redundant. Instead of Map(cstr_t, FileMarks), use a pointer map as the FileMarks struct is humongous. Make `event_strings` actually work like an intern pool instead of wtf it was doing before. | ||
* | build(clint): fix deprecation and linter warnings | dundargoc | 2023-04-26 |
| | | | `sre_compile` is deprecated in python 11, and gives warning when is used. | ||
* | build(lint): remove clint.py rules for braces #20880 | dundargoc | 2022-11-01 |
| | | | | | Uncrustify is the source of truth where possible. Remove any redundant checks from clint.py. See also https://github.com/neovim/neovim/pull/18563 | ||
* | fix(clint): disable whitespace/newline #20619 | Lewis Russell | 2022-10-12 |
| | | | This rule is already mostly covered by uncrustify. | ||
* | docs: various #12823 | Justin M. Keyes | 2022-10-09 |
| | | | | | | | | | | | | - increase python line-length limit from 88 => 100. - gen_help_html: fix bug in "tag" case (tbl_count => tbl_contains) ref #15632 fix #18215 fix #18479 fix #20527 fix #20532 Co-authored-by: Ben Weedon <ben@weedon.email> | ||
* | docs: fix typos (#20394) | dundargoc | 2022-09-30 |
| | | | | | Co-authored-by: Raphael <glephunter@gmail.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: zeertzjq <zeertzjq@outlook.com> | ||
* | refactor: move definitions from `typval.h` to `typval_defs.h` (#20194) | Famiu Haque | 2022-09-14 |
| | | | Taken from #20187. | ||
* | ci(clint): remove "Inner expression indentation should be 4" rule (#20047) | dundargoc | 2022-09-03 |
| | | | It completely breaks down in shada.c and is generally useless. |