e61ccc9561
Fix: Entry::to_str() should return Result<_>
...
Because serializing might fail.
Also fixes all usages of the API.
2018-03-26 14:24:42 +02:00
ec2f87afad
Merge pull request #1372 from matthiasbeyer/libimagrt/edit-stdin-devtty
...
libimagrt: Pass /dev/tty as stdin to editor
2018-03-24 08:26:36 +01:00
7429754665
Rewrite edit_in_tmpfile() for new Runtime::editor() signature
2018-03-23 23:55:11 +01:00
ea38f2ffbf
Fix: Pass /dev/tty as stdin for editor
...
This fixes the issue that spawning the editor trashes the terminal.
The signature of the Runtime::editor() function changed, which has to be
fixed in using code.
2018-03-23 23:55:06 +01:00
0600f1d5f9
Merge pull request #1371 from matthiasbeyer/revert-1361-travis-do-not-cargobuild
...
Revert "Remove "build" job to speed up travis builds"
2018-03-23 22:20:52 +01:00
2d95a952a3
Revert "Remove "build" job to speed up travis builds"
2018-03-23 21:33:43 +01:00
7907ed96c7
Merge pull request #1368 from matthiasbeyer/imag-link/list-output-table
...
imag-link: Do table output by default
2018-03-23 19:37:13 +01:00
3416cf247b
Merge pull request #1361 from matthiasbeyer/travis-do-not-cargobuild
...
Remove "build" job to speed up travis builds
2018-03-23 19:28:15 +01:00
96b6beff5d
Merge pull request #1365 from matthiasbeyer/libimagentryedit/edit-header
...
imag-edit / libimagentryedit: edit header support
2018-03-23 19:26:54 +01:00
f627d22057
Add header editing support
2018-03-23 17:16:40 +01:00
13af364b76
Add header editing support
2018-03-23 17:16:40 +01:00
ed41922c2e
Merge pull request #1367 from matthiasbeyer/libimagstore/entry-replace-from-buffer
...
Add Entry::replace_from_buffer()
2018-03-23 16:46:00 +01:00
9c13c276fb
Do table output by default
2018-03-23 15:58:45 +01:00
9e0d0d9f6c
Add Entry::replace_from_buffer()
2018-03-23 15:44:34 +01:00
fd91662ed9
Merge pull request #1363 from matthiasbeyer/imag-init/create-store-dir
...
Fix: Create store directory as well
2018-03-23 13:41:10 +01:00
e93cf199ec
Merge pull request #1350 from matthiasbeyer/minor
...
Minor
2018-03-23 13:41:02 +01:00
8f1d3c4ffb
Fix: Create store directory as well
2018-03-23 10:12:39 +01:00
76abfbda81
Add changelog entry for habit template to instance linking fix
2018-03-23 10:06:11 +01:00
2b4e8880a4
Add changelog entry for Store::create() override fix
2018-03-23 10:06:11 +01:00
200864e2c6
Add changelog for "imag-habit" with "--done" flag
2018-03-23 10:06:11 +01:00
dacd231039
Add changelog for Habit::instance_exists_for_date()
2018-03-23 10:05:58 +01:00
aa32dd1ec2
Add debugging output if kairos fails to parse input
2018-03-23 10:05:58 +01:00
c31edd5cf4
Add changelog for hash buffer allocation fix in libimagentryref
2018-03-23 10:05:58 +01:00
6298cea4d7
Add changelog entry for Ref::make_ref()
2018-03-23 10:05:58 +01:00
6f33e4e322
Add debug output
2018-03-23 10:05:58 +01:00
bcdbb8197a
Use "ui" module in libimagtimeui
2018-03-23 10:05:58 +01:00
127681498f
Add debug output in tests
2018-03-23 10:05:58 +01:00
7e623f39b8
Add message why panic
...
So we see that when grepping the source for `unimplemented!()`.
2018-03-23 10:05:58 +01:00
c6f1c78597
Fix typo in changelog
2018-03-23 10:05:58 +01:00
835c003491
Merge pull request #1360 from matthiasbeyer/libimaghabit/create-vs-retrieve
...
Fix: Use retrieve in retrieve variant
2018-03-23 10:03:52 +01:00
96f4f93ed0
Merge pull request #1356 from matthiasbeyer/libimaghabit/link-new-instances
...
Fix: libimaghabit::habit::HabitTemplate should link created instances…
2018-03-23 10:03:44 +01:00
cde8a37e41
Remove "build" job to speed up travis builds
2018-03-22 22:16:42 +01:00
c39a1f82e2
Merge pull request #1355 from matthiasbeyer/libimagstore/create-semantic-fix
...
Fix: Store::create() should fail if the entry exists
2018-03-22 22:04:29 +01:00
30233456df
Fix: Use retrieve in retrieve variant
2018-03-22 21:34:00 +01:00
bcdfe3ceea
Use variable mutable, so we can create an instance
2018-03-22 21:32:58 +01:00
b62d7eab85
Fix: libimaghabit::habit::HabitTemplate should link created instances to the template
2018-03-22 21:32:58 +01:00
c857f97287
Merge pull request #1357 from matthiasbeyer/libimaghabit/create-vs-retrieve
...
Libimaghabit/create vs retrieve
2018-03-22 21:20:26 +01:00
41f7bab1c5
Fix: Store::create() should fail if the entry exists
2018-03-22 21:16:11 +01:00
58f50ac2f9
Merge pull request #1358 from matthiasbeyer/imag-habit/show-done
...
imag-habit: show done
2018-03-22 21:15:20 +01:00
cc9c746cb4
Merge pull request #1326 from matthiasbeyer/doc
...
Doc
2018-03-22 16:37:31 +01:00
00d485c3d3
Add parameter to show done habits
2018-03-22 14:36:51 +01:00
e4fc2e8010
Merge pull request #1354 from matthiasbeyer/libimaghabit/check-is-done-for-date
...
Add helper to check whether an instance exists for a date
2018-03-22 14:36:32 +01:00
d5231e6386
Add CI script for finding dead symlinks
2018-03-22 14:29:31 +01:00
247b9499a7
Refactor for less verbose code
2018-03-22 14:00:10 +01:00
2232f0153f
Dedup code
2018-03-22 13:54:15 +01:00
964b168f18
Add "retrieve" variants for retrieving instances
...
and fix create implementation to use `Store::create()`, which did the
wrong thing.
2018-03-22 13:51:12 +01:00
45fdeb4e18
Add helper to check whether an instance exists for a date
2018-03-22 13:44:41 +01:00
10ab36e247
Fix pandoc setup: Provide \passthrough
2018-03-21 18:06:08 +01:00
4be6d67dc0
Remove chapter
...
Was not that well written and we should rather explain this
functionality in the module explanation.
2018-03-21 18:06:08 +01:00
0ea85df3cc
Rewrite and fixup conventions chapter
2018-03-21 18:06:08 +01:00