imag/lib/domain/libimagdiary
Matthias Beyer 8c37fb865a Rebuild DiaryEntryIterator to be based on StoreIdIterator
This patch rebuilds DiaryEntryIterator to be a wrapper around
StoreIdIterator and thus `Diary::entries()` to use `Store::entries` and
not `Store::retrieve_for_module()`.

The `Store::retrieve_for_module()` function is somehow buggy and loads
contents of the files into memory and _somehow_ causes the entries to be
rewritten without newlines.

This bug is fixed by moving away from `Store::retrieve_for_module()`.
2018-03-02 21:25:48 +01:00
..
src Rebuild DiaryEntryIterator to be based on StoreIdIterator 2018-03-02 21:25:48 +01:00
Cargo.toml Rebuild DiaryEntryIterator to be based on StoreIdIterator 2018-03-02 21:25:48 +01:00
README.md Fix broken README symlinks 2017-08-27 15:13:25 +02:00

libimagdiary

This library crates implements a full diary.

One can have one or more diaries in the store, each diary can have unlimited entries.

Future plans

The diary should be able to provide daily, hourly and even minutely diary entries, so one can use the diary as normal "Dear diary, today..."-diary, or more fine-grained and more like a journal.

The internal file format as well as the store-path generation for this module is prepared for such functionality.