Commit graph

5427 commits

Author SHA1 Message Date
3b97db5c25 Fix: Duplicated printing of entries with "show --all"
The problem was that the used `Diary::diary_names()` iterator does not
call `unique()` on its output.
That decision was made because the return type would get more
complicated with that feature.

Now that rustc 1.26 with Impl Trait is out, we can refactor the return
types of these functions (so also with `Diary::diary_names()`) to
automatically do this.
2018-05-11 15:45:50 +02:00
7c44bc1aa3
Merge pull request #1493 from matthiasbeyer/fix-rustc-126
Fix comment for rustc 1.26
2018-05-11 15:45:36 +02:00
2e41656d1a Fix comment for rustc 1.26 2018-05-11 14:55:23 +02:00
30d5837950
Merge pull request #1485 from matthiasbeyer/post-release-patches
Post release patches
2018-05-10 08:38:58 +02:00
1b764d90ce Move to appropriate position in release script 2018-05-09 11:39:33 +02:00
664edc7943 Update version string: 0.8.0 -> 0.9.0 2018-05-09 11:39:33 +02:00
8071496dcf
Merge pull request #1484 from matthiasbeyer/prepare-0.8.0
Prepare for 0.8.0
2018-05-09 10:26:35 +02:00
be0c8c658b Update date 2018-05-08 21:37:19 +02:00
31e320e2e5 Add changelog for 0.8.0 2018-05-08 21:37:19 +02:00
a0d7f8321f
Merge pull request #1483 from matthiasbeyer/readme-vacation-notice
Readme vacation notice
2018-05-04 13:23:27 +02:00
dd3adcd08d
Merge pull request #1482 from matthiasbeyer/libimagrt/cli-validation
libimagrt: cli validation
2018-05-04 13:13:33 +02:00
16dafb17f4
Merge pull request #1481 from matthiasbeyer/imag-category/init
imag-category: Initial import
2018-05-04 12:05:47 +02:00
794eb4faeb Add github pull request/issue template 2018-05-04 11:51:11 +02:00
3f9c98a851 Add vacation notice 2018-05-04 11:46:41 +02:00
c65a3d1af9 Add CLI validators in default CLI setup 2018-05-04 11:21:49 +02:00
9bf3f6da1b Update help 2018-05-04 11:20:09 +02:00
23c3a4b863 Update help, clap does the rest here 2018-05-04 11:19:47 +02:00
61d0136c26 imag-category: Initial import 2018-05-04 11:09:20 +02:00
2e2bce77a0 Add functionality to remove categories 2018-05-04 11:09:20 +02:00
9c36fc8ac0
Merge pull request #1468 from matthiasbeyer/imag-ids/filters
imag-ids: filters
2018-05-03 10:22:20 +02:00
33b52cc928
Merge pull request #1480 from matthiasbeyer/imag-contact/allow-non-absolut-pathes
Revert "Deny non-absolut import pathes"
2018-05-02 21:05:13 +02:00
846de028cf Add trace output in filtering process 2018-05-02 20:42:56 +02:00
191f049ea8 Add language documentation in commandline help 2018-05-02 20:42:56 +02:00
f618026305 Add store cache flushing after each 100st entry 2018-05-02 20:42:56 +02:00
c27349e94f Implement header filter language 2018-05-02 20:42:56 +02:00
f4e1c0864c Implement 'where' subcommand 2018-05-02 20:42:56 +02:00
d518322401 Add notes how the filter language should look like 2018-05-02 20:42:56 +02:00
74c982984c Move collection filter to new module 2018-05-02 20:42:56 +02:00
f85dc02db6 Revert "Deny non-absolut import pathes"
This reverts commit b90abfb868.

Because `libimagcontact` is not based on `libimagentryref` anymore (as
of 2b10ab0b36), and thus does not put
pathes into the header, we can allow non-absolute pathes here.
2018-05-02 19:42:38 +02:00
eb20a9d881
Merge pull request #1477 from matthiasbeyer/libimagstore/remove-walk
Remove Store::walk()
2018-05-02 18:39:11 +02:00
0dbef993c1 Adapt "imag store verify" implementation for removed Store::walk() 2018-05-02 17:46:45 +02:00
258d9f90d3 Remove Store::walk()
This patch removes the Store::walk() interface.

It was cumbersome and unused anyways.
2018-05-02 17:46:45 +02:00
b52cb0d697
Merge pull request #1479 from matthiasbeyer/libimagstore/fix-fa-iter-checkfileexists
Fix: Do not check whether path exists - check whether its a file
2018-05-02 15:19:44 +02:00
888b31377e Fix: Do not check whether path exists - check whether its a file
This fixes a bug introduced in 195d921218
where we didn't check whether the path is actually a file.
2018-05-02 14:04:59 +02:00
c4d10c7e4f
Merge pull request #1457 from matthiasbeyer/minor
Minor
2018-05-02 11:41:30 +02:00
8f3b725b43 Show revision which merged the change in generated changelog 2018-05-01 22:32:02 +02:00
2bf09e7737 Only create directory if it does not exist 2018-05-01 22:29:46 +02:00
84f426297e Add debug output 2018-05-01 22:29:46 +02:00
b27b392f4b Add trace output 2018-05-01 22:29:46 +02:00
9f99783c6e Add importer for ioverlander into imag-wiki 2018-05-01 22:29:46 +02:00
9efa4c715f Add changelog for 0.7.1 2018-05-01 22:29:46 +02:00
eebe51b68e Add usage example 2018-05-01 22:29:46 +02:00
a35ebce73a Add helper to find contacts with imag-contact in mutt 2018-05-01 22:29:46 +02:00
08ce39989f Remove duplicated script: scripts/gen-changelog exists 2018-05-01 22:29:46 +02:00
be62843608 Fix description 2018-05-01 22:29:46 +02:00
195d921218
Merge pull request #1471 from matthiasbeyer/libimagstore/store-entries-do-not-collect
libimagstore: Do not collect in Iterators
2018-05-01 22:14:26 +02:00
972327e35e Remove Store::reset_backend() 2018-05-01 21:09:51 +02:00
2f0a557068 Fix for passing Arc<_> to store interface instead of Box<_> 2018-05-01 21:08:57 +02:00
42e2f18fb3 Pass around Arc<FileAbstraction> internally
Because the iterators need to be able to check whether the file exists
_in the backend_ (not on disk, but in the backend, because of in-memory
test for example), we need to be able to pass the backend to the
iterator intermediate type.

This patch implements this. It does so by changing the internal backend
member of the store from `Box<FileAbstraction>` to
`Arc<FileAbstraction>`, which gives us the ability to clone the
reference to the backend easily without needing to rely on lifetimes
here, because of the Arc.

Also, less boxes are always good.
2018-05-01 21:08:57 +02:00
b86ed2ffa9 Refactor imag-wiki to new store iterator interface 2018-05-01 17:44:20 +02:00