RRichard Russonparse: always expand $var inside backticks
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
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 个月前 | |
drop config.h from headers only need it where there's a #if dependency or where config.h defines something like OFF_T | 7 个月前 | |
parse: always expand $var inside backticks Variable interpolation inside backticks was gated behind the opt-in TOKEN_BACKTICK_VARS flag, which only 'set', 'source' and 'sidebar' passed. Other commands (macro, alias, ...) therefore did not expand NeoMutt variables inside backticks, giving inconsistent behaviour. Make the recursive token extraction the default in parse_extract_token() so all commands expand $var inside backticks consistently. TOKEN_NOSHELL recursion semantics are preserved, leaving unknown/env variables for the shell. The now-unused TOKEN_BACKTICK_VARS flag is removed. | 3 个月前 | |
parse: always expand $var inside backticks Variable interpolation inside backticks was gated behind the opt-in TOKEN_BACKTICK_VARS flag, which only 'set', 'source' and 'sidebar' passed. Other commands (macro, alias, ...) therefore did not expand NeoMutt variables inside backticks, giving inconsistent behaviour. Make the recursive token extraction the default in parse_extract_token() so all commands expand $var inside backticks consistently. TOKEN_NOSHELL recursion semantics are preserved, leaving unknown/env variables for the shell. The now-unused TOKEN_BACKTICK_VARS flag is removed. | 3 个月前 | |
parse: change API to use ParseContext, ParseError | 7 个月前 | |
module: tidy cleanup Pass the Module Data to the Module on cleanup() | 4 个月前 | |
module: add Notify object to each globals Add a 'struct Notify *notify' member to every ModuleData struct. Create it with notify_new() in each Module.init() function, set its parent to NeoMutt->notify, and free it in Module.cleanup(). For modules that previously had commented-out init/cleanup code, uncomment the mod_data allocation and deallocation. | 5 个月前 | |
parse: add ParseContext, ParseError | 7 个月前 | |
parse: add ParseContext, ParseError | 7 个月前 | |
parse: add ParseContext, ParseError | 7 个月前 | |
parse: add ParseContext, ParseError | 7 个月前 | |
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 个月前 | |
parse: change API to use ParseContext, ParseError | 7 个月前 | |
parse: always expand $var inside backticks Variable interpolation inside backticks was gated behind the opt-in TOKEN_BACKTICK_VARS flag, which only 'set', 'source' and 'sidebar' passed. Other commands (macro, alias, ...) therefore did not expand NeoMutt variables inside backticks, giving inconsistent behaviour. Make the recursive token extraction the default in parse_extract_token() so all commands expand $var inside backticks consistently. TOKEN_NOSHELL recursion semantics are preserved, leaving unknown/env variables for the shell. The now-unused TOKEN_BACKTICK_VARS flag is removed. | 3 个月前 | |
parse: change API to use ParseContext, ParseError | 7 个月前 |