aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add --all/-a to dump all records. Output is affected by --dump-* argumentsHEADmasterJoseph Hunkeler2022-06-172-5/+27
|
* Update README.mdJoseph Hunkeler2022-02-031-1/+17
|
* Let the user modify the journal storage path with the WEEKLY_JOURNAL_ROOT ↵Joseph Hunkeler2022-02-031-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 properlyJoseph Hunkeler2022-02-032-2/+2
|
* Bug fixes:Joseph Hunkeler2022-02-021-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 understandJoseph Hunkeler2022-01-281-1/+2
|
* Initialize do_style to prevent random inability to run the program without ↵Joseph Hunkeler2022-01-281-15/+12
| | | | arguments
* Refactor project structureJoseph Hunkeler2022-01-188-538/+573
|
* Add vim example imageJoseph Hunkeler2022-01-181-0/+0
|
* DocumentationJoseph Hunkeler2022-01-182-3/+119
| | | | | * Update README * Fix missing short option in usage statement
* Improvements:Joseph Hunkeler2022-01-181-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 windowsJoseph Hunkeler2022-01-141-4/+7
|
* Fix linuxJoseph Hunkeler2022-01-141-19/+33
|
* Add MSVC and MINGW supportJoseph Hunkeler2022-01-142-43/+229
|
* Fix program_name in usage statementJoseph Hunkeler2022-01-141-3/+6
|
* Initial commitJoseph Hunkeler2022-01-145-0/+471