summaryrefslogtreecommitdiffstatshomepage
path: root/src/nvim/api/private/validate.c
AgeCommit message (Collapse)AuthorFiles
2026-03-16fix(api): use standard error messagesJustin M. Keyes1
2026-03-05fix(build): glibc 2.43 happenedbfredl1
using the GNU compiler we just get a bunch of const warnings we can fix. clang, however, gets really upset that the standard library suddenly starts using a lot of c11 features, despite us being in -std=gnu99 mode. Basically, _GNU_SOURCE which we set is taken as a _carte blanche_ by the glibc headers to do whatever they please, and thus we must inform clang that everything is still OK.
2024-06-04fixup: apply the change on more filesJames Tirta Halim1
2023-11-28refactor: fix headers with IWYUdundargoc1
2023-11-12build: remove PVSdundargoc1
We already have an extensive suite of static analysis tools we use, which causes a fair bit of redundancy as we get duplicate warnings. PVS is also prone to give false warnings which creates a lot of work to identify and disable.
2023-09-30build(iwyu): add a few more _defs.h mappings (#25435)zeertzjq1
2023-02-14refactor(api): consistent VALIDATE messages #22262Justin M. Keyes1
Problem: Validation messages are not consistently formatted. - Parameter names sometimes are NOT quoted. - Descriptive names (non-parameters) sometimes ARE quoted. Solution: Always quote the `name` value passed to a VALIDATE macro _unless_ the value has whitespace.
2023-02-14refactor(api): VALIDATE macros #22256Justin M. Keyes1
- VALIDATE() takes a format string - deduplicate check_string_array - VALIDATE_RANGE - validate UI args