| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 11 days | Move header check to loadconfig. | Sunil Nimmagadda | |
| 11 days | Pack first in memory and then write. | Sunil Nimmagadda | |
| 11 days | Honor these segment options as well. | Sunil Nimmagadda | |
| 11 days | Pack before opening the file for write. | Sunil Nimmagadda | |
| Any pack errors shouldn't cause partial writes. Assemble binary in memory before opening the out file. | |||
| 11 days | Disable this for now. | Sunil Nimmagadda | |
| 11 days | Make it a proper module and call main accordingly. | Sunil Nimmagadda | |
| 11 days | Make the sample recognizable. | Sunil Nimmagadda | |
| 11 days | Guard against invalid class. | Sunil Nimmagadda | |
| Though, class is validated in header normalize, make the code robust if used independently in pieces. | |||
| 11 days | Initialize it to nil. | Sunil Nimmagadda | |
| 11 days | Honor these user specified header fields. | Sunil Nimmagadda | |
| 12 days | Separate lua code and wrapper script. | Sunil Nimmagadda | |
| 12 days | emmylua_ls has trouble working without the suffix. | Sunil Nimmagadda | |
| 12 days | Leave another TODO. | Sunil Nimmagadda | |
| 12 days | Consistent comma. | Sunil Nimmagadda | |
| 12 days | Error message instead of a backtrace. | Sunil Nimmagadda | |
| 12 days | Leave a TODO. | Sunil Nimmagadda | |
| 12 days | Moved it to mkelf. | Sunil Nimmagadda | |
| 12 days | Make mkelf an executable script. | Sunil Nimmagadda | |
| 12 days | Refactor loadconfig. | Sunil Nimmagadda | |
| Split up setting haeader, segments and sections into smaller functions. | |||
| 12 days | Error out if multiple headers are specified. | Sunil Nimmagadda | |
| 12 days | Rectify check for header. | Sunil Nimmagadda | |
| 12 days | Refactor normalize() to prevent in-place mutation. | Sunil Nimmagadda | |
| We would need to distinguish user configuration options from normalization. Let normalize() return a new table instead of in-place update. Split annotations into xxxOptions and xxx for header, segments and sections, delineating optional vs normalized table. Leave header, segments and sections as just a data table for now and stop trying to make them objects. Leave data alone. | |||
| 12 days | Let's tune luafmt to mimic editorconfig. | Sunil Nimmagadda | |
| emmylua_ls has a built-in formatter that has slightly different defaults and lua_ls. | |||
| 12 days | Annotate these as readonly. | Sunil Nimmagadda | |
| 12 days | Some negative test blocks. | Sunil Nimmagadda | |
| 12 days | Annotate this as enum as well. | Sunil Nimmagadda | |
| 14 days | This reads better. | Sunil Nimmagadda | |
| 2026-10-31 | Rectify docstring. | Sunil Nimmagadda | |
| 2026-10-31 | Provide an index in the error message. | Sunil Nimmagadda | |
| 2026-10-30 | Make sure a valid header is specified. | Sunil Nimmagadda | |
| 2026-10-30 | Better place to check them is loadconfig. | Sunil Nimmagadda | |
| Can't setmetatable() in loadconfig without the type check. These are redundant here now. | |||
| 2026-10-30 | Don't unconditionally overwrite phnum/shnum | Sunil Nimmagadda | |
| Honor values given in the config. | |||
| 2026-10-30 | Type check individual segment/section entry. | Sunil Nimmagadda | |
| 2026-10-30 | Some well known Machine constants. | Sunil Nimmagadda | |
| 2026-10-30 | section: Some missing constants. | Sunil Nimmagadda | |
| 2026-10-30 | Fill in shnum. | Sunil Nimmagadda | |
| 2026-10-30 | Indent. | Sunil Nimmagadda | |
| 2026-10-30 | Return the correct table from loadconfig. | Sunil Nimmagadda | |
| 2026-10-30 | Update sample config with valid sections. | Sunil Nimmagadda | |
| 2026-10-30 | section: Normalize and have stub name to index function. | Sunil Nimmagadda | |
| 2026-10-30 | header: Set some correct defaults. | Sunil Nimmagadda | |
| 2026-10-30 | Don't take a detour to reach constants. | Sunil Nimmagadda | |
| 2026-10-30 | Untangle segment vs segments. | Sunil Nimmagadda | |
| Let the elf module handle just a single segment/section while the wrapper does the iteration. | |||
| 2026-10-30 | Type check user config for tables. | Sunil Nimmagadda | |
| 2026-10-29 | Start packing sections. | Sunil Nimmagadda | |
| 2026-10-29 | Define some section related enums. | Sunil Nimmagadda | |
| 2026-10-29 | Move type checks to normalize. | Sunil Nimmagadda | |
| Let validate() check for valid values. | |||
| 2026-10-27 | Move error checks here. | Sunil Nimmagadda | |
| We already check for these missing fields with a nice source line highlighting in config with error(). Better than assert(). | |||
| 2026-10-27 | Make sure segment fields are all present. | Sunil Nimmagadda | |
| 2026-10-27 | Make sure all fields are accounted. | Sunil Nimmagadda | |
| By the time normalize() finishes there shouldn't be a need to check for individual fields defined or not. | |||
