Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(treesitter): make tests for memoize more robust | bfredl | 2024-04-29 |
| | | | | | | | | | | | | Instead of painfully messing with timing to determine if queries were reparsed, we can simply keep a counter next to the call to ts_query_new Also memoization had a hidden dependency on the garbage collection of the the key, a hash value which never is kept around in memory. this was done intentionally as the hash does not capture all relevant state for the query (external included files) even if actual query objects still would be reachable in memory. To make the test fully deterministic in CI, we explicitly control GC. | ||
* | refactor: move Arena and ArenaMem to memory_defs.h (#26240) | zeertzjq | 2023-11-27 |
| | |||
* | 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. | ||
* | refactor: format header files with uncrustify #15877 | dundargoc | 2021-10-09 |
| | | | | | | * refactor: format header files with uncrustify * fixup(justin): skip formatting of terminfo_defs.h * fixup: force winsock2 to be included first * fixup: simplify disable/enable directive to "uncrustify:off/on" | ||
* | tree-sitter: fix lint, delete "demo" plugin (replaced by functional tests) | Björn Linse | 2019-09-28 |
| | |||
* | tree-sitter: rename tree_sitter => treesitter for consistency | Björn Linse | 2019-09-28 |