| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
initialise things Ensure that pointers, structs and variables used as outparams are initialised. (some of variable types were obscured by typedefs) | 3 个月前 | |
Fix constness ``` key/commands.c:368:13: error: passing 'const struct MenuDefinition *' to parameter of type 'struct MenuDefinition *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 368 | km_bind(md_generic, "<enter>", OP_GENERIC_SELECT_ENTRY, NULL, NULL, NULL); | ^~~~~~~~~~ key/commands.h:34:56: note: passing argument to parameter 'md' here 34 | enum CommandResult km_bind (struct MenuDefinition *md, const char *key_str, int op, char *macro, char *desc, struct Buffer *err); | ^ ``` | 3 个月前 | |
refactor: upgrade macro flags to enum flags Turn #define'd flags into enums. Enums provide: - debugger visibility - compiler diagnostics - symbol scoping by convention - easier navigation/search - cleaner documentation generation - type grouping Naming: - enum has singular ending, e.g. Flag - typedef wrapper has plural ending, e.g. Flags Suffix `_NO_FLAGS` has been renamed to `_NONE` for consistency. | 4 个月前 | |
key: convert km_get_func_array to MenuDefinition | 7 个月前 | |
iwyu: fix includes | 3 个月前 | |
module: pass data into helpers Update helper functions reached from module init/cleanup paths so callers pass the module-owned fields they use, or the module data pointer when several fields are needed. This removes extra neomutt_get_module_data() lookups from attach, autocrypt, color, conn, gui, history, hooks, key, menu, ncrypt, and sidebar helpers, and updates the affected tests to match. | 5 个月前 | |
split up variable definitions clang-tidy warns: 'warning: multiple declarations in a single statement reduces readability' | 3 个月前 | |
refactor: upgrade macro flags to enum flags Turn #define'd flags into enums. Enums provide: - debugger visibility - compiler diagnostics - symbol scoping by convention - easier navigation/search - cleaner documentation generation - type grouping Naming: - enum has singular ending, e.g. Flag - typedef wrapper has plural ending, e.g. Flags Suffix `_NO_FLAGS` has been renamed to `_NONE` for consistency. | 4 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
iwyu: fix includes | 3 个月前 | |
key: move globals to KeyModuleData Move MacroEvents, UngetKeyEvents, AbortKey, MenuDefs, SubMenus, and KeyNames into KeyModuleData struct. | 5 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
Fix constness ``` key/commands.c:368:13: error: passing 'const struct MenuDefinition *' to parameter of type 'struct MenuDefinition *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] 368 | km_bind(md_generic, "<enter>", OP_GENERIC_SELECT_ENTRY, NULL, NULL, NULL); | ^~~~~~~~~~ key/commands.h:34:56: note: passing argument to parameter 'md' here 34 | enum CommandResult km_bind (struct MenuDefinition *md, const char *key_str, int op, char *macro, char *desc, struct Buffer *err); | ^ ``` | 3 个月前 | |
tidy code - tidy include guards - drop unused menu refs | 1 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
iwyu: fix includes | 3 个月前 | |
menu: refactor MenuDefinition, SubMenu Move MenuDefinition and SubMenu into a separate file. Let them handle new/free. | 3 个月前 | |
key: add notifications to km_dokey() Add notificiations to km_dokey() so that partially typed keybindings can be observed. | 5 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 个月前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 7 个月前 | ||
| 3 个月前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 5 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 1 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 3 个月前 | ||
| 5 个月前 |