Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add --all/-a to dump all records. Output is affected by --dump-* argumentsHEADmaster | Joseph Hunkeler | 2022-06-17 | 2 | -5/+27 |
| | |||||
* | Update README.md | Joseph Hunkeler | 2022-02-03 | 1 | -1/+17 |
| | |||||
* | Let the user modify the journal storage path with the WEEKLY_JOURNAL_ROOT ↵ | Joseph Hunkeler | 2022-02-03 | 1 | -1/+14 |
| | | | | | | environment variable. * Now that the path can be modified at random an existence check was added before calling dump_week(...) | ||||
* | Open with binary mode so Windows can seek properly | Joseph Hunkeler | 2022-02-03 | 2 | -2/+2 |
| | |||||
* | Bug fixes: | Joseph Hunkeler | 2022-02-02 | 1 | -8/+9 |
| | | | | | * Allocate memory for the exact record size. BUFSIZ turned out to be insufficient. * Fix a strncmp length inconsistency for matching "## " in the header data | ||||
* | Make argument macros a little easier to understand | Joseph Hunkeler | 2022-01-28 | 1 | -1/+2 |
| | |||||
* | Initialize do_style to prevent random inability to run the program without ↵ | Joseph Hunkeler | 2022-01-28 | 1 | -15/+12 |
| | | | | arguments | ||||
* | Refactor project structure | Joseph Hunkeler | 2022-01-18 | 8 | -538/+573 |
| | |||||
* | Add vim example image | Joseph Hunkeler | 2022-01-18 | 1 | -0/+0 |
| | |||||
* | Documentation | Joseph Hunkeler | 2022-01-18 | 2 | -3/+119 |
| | | | | | * Update README * Fix missing short option in usage statement | ||||
* | Improvements: | Joseph Hunkeler | 2022-01-18 | 1 | -57/+295 |
| | | | | | | | | * Add -s/--dump-style facilities (long, short, csv, dict) * Records are stored using SOH, SOT, and EOT ASCII control codes to make parsing easier * Weekly journal entries are read individually and formatted before being dumped * Variable name cleanup: uweek -> user_week, and so on * When writing to the journal succeeds but removing its temporary files fails, keep going | ||||
* | Fix windows | Joseph Hunkeler | 2022-01-14 | 1 | -4/+7 |
| | |||||
* | Fix linux | Joseph Hunkeler | 2022-01-14 | 1 | -19/+33 |
| | |||||
* | Add MSVC and MINGW support | Joseph Hunkeler | 2022-01-14 | 2 | -43/+229 |
| | |||||
* | Fix program_name in usage statement | Joseph Hunkeler | 2022-01-14 | 1 | -3/+6 |
| | |||||
* | Initial commit | Joseph Hunkeler | 2022-01-14 | 5 | -0/+471 |