| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 6 days | section.normalize() tests. | Sunil Nimmagadda | |
| While here, move into tests/ sub-directory. | |||
| 7 days | Some segment.pack tests. | Sunil Nimmagadda | |
| 7 days | Some segment.normalize tests. | Sunil Nimmagadda | |
| 7 days | Consistently collect the parts. | Sunil Nimmagadda | |
| 7 days | nil is better here? let's see. | Sunil Nimmagadda | |
| 7 days | Let's fix that trailing comma. | Sunil Nimmagadda | |
| 7 days | Consistent name. | Sunil Nimmagadda | |
| 7 days | Align comments. | Sunil Nimmagadda | |
| 7 days | Do a flat table.concat. | Sunil Nimmagadda | |
| 7 days | Add some big endian testcases. | Sunil Nimmagadda | |
| 7 days | Indent properly. | Sunil Nimmagadda | |
| 7 days | Add a test case for ELF32. | Sunil Nimmagadda | |
| 7 days | Format it for visual inspection. | Sunil Nimmagadda | |
| While check, assert the header length against expected value too. | |||
| 7 days | Some header methods tests. | Sunil Nimmagadda | |
| Use table.concat and try to to retain line order for quick visual check between pack() and testcases. | |||
| 8 days | Start with some tests. | Sunil Nimmagadda | |
| 8 days | These need not be annotated as nodiscard. | Sunil Nimmagadda | |
| 9 days | Check close() error. | Sunil Nimmagadda | |
| While here leave a TODO to write to a tmp and atomic rename to outfn. | |||
| 10 days | Need to improve comments, wip. | Sunil Nimmagadda | |
| 10 days | Make it inspection friendly. | Sunil Nimmagadda | |
| 10 days | Section index in error message. | Sunil Nimmagadda | |
| 10 days | Move all the validations to correct place. | Sunil Nimmagadda | |
| 10 days | layout scaffolding. | Sunil Nimmagadda | |
| Make room for layout calculations. Prioritize user specified options first for layout calculations so that layout gets first hand decision if an option was specified or missing. This makes current normalize() just a dumb defaults setter that are not layout calculated or fell through. | |||
| 10 days | Will be handled in the upcoming layout function. | Sunil Nimmagadda | |
| 10 days | Wrap pack inside a pack and simplify error reporting. | Sunil Nimmagadda | |
| 10 days | Sections owns the content. | Sunil Nimmagadda | |
| 10 days | Close the Lua state. | Sunil Nimmagadda | |
| 11 days | Shorter loop variable name. Avoid repetition. | Sunil Nimmagadda | |
| 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. | |||
