653db333e6
Fix imag-view for new view_entry() interface
2018-04-24 16:46:23 +02:00
55d9b5456f
Adapt to new libimagentryview interface
...
And properly implement Viewer for DiaryViewer
2018-04-24 16:46:15 +02:00
780dd90c8f
Rewrite libimagentryview interface
...
In the previous versions, the sink (where the entries should be written
to) was not passed.
This did conflict with the libimagrt holding the stdout/stderr handles,
because it automatically writes to stdout (which we don't want to do in
some cases).
Passing the sink is way nicer. This patch changes libimagentryview so
that the sink is passed to the viewer.
2018-04-24 16:46:15 +02:00
726e4c515f
Merge pull request #1422 from matthiasbeyer/imag-git/init
...
imag-git: init
2018-04-24 15:26:19 +02:00
1fcd4f93ae
Merge pull request #1416 from matthiasbeyer/libimagstore/remove-retrieve-for-module
...
Remove: Store::retrieve_for_module
2018-04-24 15:26:10 +02:00
5666ef12d0
Rewrite to not use Store::retrieve_for_module()
2018-04-24 14:01:40 +02:00
470b061fad
Add imag-git in release script
2018-04-24 13:56:11 +02:00
8a5abb22f4
Generate completion for imag-git
2018-04-24 13:56:11 +02:00
055a55c9f0
Add imag-git command
2018-04-24 13:56:11 +02:00
2c52957b63
Replace call to retrieve_for_module() with entries()
...
The iterator type handles everything else.
2018-04-24 13:40:42 +02:00
09d34783cb
Fix imag-mail to list from appropriate collection
2018-04-24 13:40:42 +02:00
190da895f9
Do not use Store::retrieve_for_module() anymore here
2018-04-24 13:40:42 +02:00
22fb26dc12
Replace Store::retrieve_for_module() with own iterator type
2018-04-24 13:40:42 +02:00
007c02c2f1
Rewrite all_category_names() for removed Store::retrieve_for_module()
2018-04-24 13:40:42 +02:00
255f4211c9
Rewrite use of iterator with own iterator implementation
2018-04-24 13:40:42 +02:00
bae9188a08
Remove GlobStoreIdIterator helper iterator type
2018-04-24 13:40:42 +02:00
d70092d691
Remove: Store::retrieve_for_module
2018-04-24 13:40:42 +02:00
cbdfb02423
Merge pull request #1441 from matthiasbeyer/fix-tmpcommit-detection-script
...
Fix checker script for travis
2018-04-24 11:25:21 +02:00
7e078108ba
Fix tmpcommit-detection script for travis
2018-04-23 14:52:20 +02:00
7d3224a258
Merge pull request #1437 from matthiasbeyer/imag/fix-doubled-output
...
Fix: Do not inherit stdout here
2018-04-22 16:12:32 +02:00
9303a72a28
Merge pull request #1436 from matthiasbeyer/imag-log/show-ordered
...
Fix: imag-log show should order by datetime
2018-04-22 15:55:25 +02:00
c3fe934119
Merge pull request #1435 from matthiasbeyer/imag-view/fix-autowrapping
...
Fix: Do not automatically wrap text
2018-04-22 15:55:19 +02:00
93226ce987
Merge pull request #1434 from matthiasbeyer/libimagdiary/fix-youngest-entry
...
Fix: get_youngest_entry_id()
2018-04-22 15:06:26 +02:00
32a14db059
Merge pull request #1426 from matthiasbeyer/remove-version-dependency
...
Do not depend on "version" crate
2018-04-22 14:39:15 +02:00
909240fc24
Fix: Do not inherit stdout here
...
This caused us to print funny output. But we want to catch the output
and print a nice list ourselves here.
2018-04-22 14:37:56 +02:00
ee75d2309c
Fix: imag-log show should order by datetime
2018-04-22 14:33:53 +02:00
10b71864f6
Fix: Do not automatically wrap text
...
We must use `ArgMatches::occurrences_of` here to check whether the
argument was actually passed.
If it was not passed, we do not wrap at all.
2018-04-22 14:17:12 +02:00
86b60295ee
Fix: get_youngest_entry_id()
...
We need to reverse the iterator for getting the _youngest_ entry here.
Also seems to fix the issue that imag-diary edit -d <date> did not work
properly.
2018-04-22 14:11:19 +02:00
bfbb1dfb74
Integrate version-updated script
2018-04-22 13:38:24 +02:00
ededece3f7
Add script for CI check if version is updated
2018-04-22 13:38:24 +02:00
c6dc6d2bee
Modify release script to enforce version updated
2018-04-22 13:38:24 +02:00
19940d3e1c
Set version string by hand here if we do not build with cargo
2018-04-22 13:38:24 +02:00
a343a2ab90
Do not use version crate in build script
2018-04-22 11:09:31 +02:00
d742e15763
Do not depend on "version" crate
...
We should not depend on the version crate, as it is GPL licensed.
We removed the usage of this crate before, but it was still in the
Cargo.toml files (despite being used in the source).
2018-04-22 11:09:31 +02:00
495ad62be6
Merge pull request #1425 from matthiasbeyer/libimagrt/update-log
...
Update dependency: log: 0.4.0-rc.1 -> 0.4
2018-04-20 22:53:49 +02:00
8262de29fe
Update dependency: log: 0.4.0-rc.1 -> 0.4
2018-04-20 20:19:02 +02:00
c6dd1ab56d
Merge pull request #1423 from matthiasbeyer/add-changelog-script
...
Add script to print changelog for a specific range
2018-04-20 10:35:47 +02:00
d7ba28d5ac
Add script to print changelog for a specific range
2018-04-20 09:35:16 +02:00
d08a5ab536
Merge pull request #1417 from matthiasbeyer/libimagrt/suggest-imag-init
...
Suggest imag-init if no config is found
2018-04-20 09:24:44 +02:00
ca5e150f3a
Merge pull request #1421 from matthiasbeyer/imag-view/wrapping
...
imag-view: wrapping
2018-04-20 09:24:14 +02:00
e0decb7294
Merge pull request #1419 from matthiasbeyer/imag-diary/list-diaries
...
Add functionality to list diaries
2018-04-20 09:24:07 +02:00
705c6a33f1
Merge pull request #1420 from matthiasbeyer/imag-tag/read-ids-from-stdin
...
imag-tag: Read ids from stdin
2018-04-20 09:23:49 +02:00
e820f8bfb2
Add functionality to read storeids from stdin
2018-04-19 22:08:34 +02:00
36bc517524
Add support for tagging/untagging multiple entries with one call
2018-04-19 22:08:34 +02:00
e80bf7b57d
Add feature for wrapping output
2018-04-19 21:55:27 +02:00
91a72709f8
Add wrapping functionality to StdoutViewer
2018-04-19 21:54:39 +02:00
6e80f603d6
Add functionality to list diaries
2018-04-19 21:36:22 +02:00
808689cc05
Suggest imag-init if no config is found
2018-04-19 10:57:13 +02:00
bed49b6ece
Merge pull request #1415 from matthiasbeyer/post-release-changes
...
Post release changes
2018-04-19 10:56:10 +02:00
68a5a70246
Fix crate path
2018-04-19 10:05:53 +02:00