Commit graph

5654 commits

Author SHA1 Message Date
3aa2e6edec Add iterator helper for filtering 2018-02-01 16:46:57 +01:00
06cb8d50fb Make StoreId::is_in_collection() generic over AsRef<str> 2018-02-01 16:46:57 +01:00
eb6ab8f029 Add IsInCollection helper type 2018-02-01 16:46:57 +01:00
da0c1fa594 Rewrite From<> implementations for habit iterators
to be generic over all iterators over StoreIds, so they can be build
directly from them.
2018-02-01 16:46:38 +01:00
3c1a0a51c9 Transform iterator to forget Store reference here 2018-02-01 16:46:38 +01:00
b3f546129a Add StoreIdIteratorWithStore::without_store() 2018-02-01 16:46:38 +01:00
8e931cd79f Change calls to into_get_iter() to not take argument 2018-02-01 16:46:38 +01:00
3b01a9eb2f Add API in StoreIdIteratorWithStore to get acting iterators
This patch adds API functions in the StoreIdIteratorWithStore iterator
type to transform it into a iterator which _does_ something (as in the
`libimagstore::iter` API).

It mimics the API which is offered by `libimagstore::iter`.
2018-02-01 15:47:39 +01:00
030e32e44f Provide StoreId Iterator which has a ref to the Store
This change is needed so we can refactor the "get" iterator to not take
an argument (the store) later, which improves the API.
2018-02-01 15:47:39 +01:00
da4b823048
Merge pull request #1219 from matthiasbeyer/minor
Minor patches
2018-02-01 13:18:31 +01:00
44c62b061e Fix typo 2018-02-01 10:35:07 +01:00
3215311bc9 Add missing bugfixes in the changelog 2018-02-01 10:35:07 +01:00
60aac1a8a0
Merge pull request #1225 from matthiasbeyer/date-string-conversion-util-to-libimagutil
Date string conversion util to libimagutil
2018-02-01 10:34:33 +01:00
92c04c606c Refactor to use AsRef<str> 2018-02-01 09:26:33 +01:00
7e53ad9f78 Add datetime <-> string conversion utility 2018-02-01 09:26:33 +01:00
4d94791b1f Move date <-> string conversion utility to libimagutil 2018-02-01 09:26:33 +01:00
7ecaad830c Refactor to use Iterator::fold() 2018-01-29 09:38:32 +01:00
30ef3bf0d3 Comment type fixed 2018-01-29 09:38:32 +01:00
164b6b7f10 Move documentation to appropriate place 2018-01-29 09:38:32 +01:00
fdf038ac18 We don't have to specify the src here 2018-01-29 09:38:32 +01:00
7731b88c97 Remove map_err_trace_exit() calls in favour of map_err_trace_exit_unwrap() 2018-01-29 09:38:32 +01:00
e43812d262 Ignore Intellij-IDEA dotfiles 2018-01-29 09:38:32 +01:00
82b67115e6 Refactor: Minify
Pull in new dependencies for minification
2018-01-29 09:38:32 +01:00
4bd156fdb3 Remove unecessary String instantiation 2018-01-29 09:38:32 +01:00
2c133de5bc Update contributing guide 2018-01-29 09:38:32 +01:00
e8ebe8f88b Update README 2018-01-29 09:38:32 +01:00
113c4b1f7f Ensure build script is exited early when failures happen 2018-01-29 09:38:32 +01:00
5319d20636 Remove verbosity flag for less cluttered CI logs 2018-01-29 09:38:32 +01:00
74f58d6c06 Remove unused imports 2018-01-29 09:38:32 +01:00
0913afd368 Add script to add a new crate 2018-01-29 09:38:32 +01:00
2618e245c2 Add commit template 2018-01-29 09:38:32 +01:00
8c4407415d Fix wrong version-number 2018-01-29 09:38:32 +01:00
20f9c99c83
Merge pull request #1220 from matthiasbeyer/imag-timetrack/stop-all
imag-timetrack: Implement stopping all tags which are started
2018-01-29 09:36:07 +01:00
53bf1a513b Implement stopping all tags which are started 2018-01-28 20:51:20 +01:00
3735fbac2f
Merge pull request #1166 from matthiasbeyer/log-0-4-0
Dependency update: log 0.4.0
2018-01-18 15:40:50 +01:00
fcfc397fc8 env_logger: 0.5.0-rc.2 -> 0.5 2018-01-18 14:15:40 +01:00
d5569cea63
Merge pull request #1217 from matthiasbeyer/imag-timetrack/table-list
Change list command to use a table for output
2018-01-16 16:26:25 +01:00
45ac9b4132 Change list command to use a table for output 2018-01-16 14:48:48 +01:00
2b0dfec457
Merge pull request #1218 from matthiasbeyer/imag-timetrack/default-command
imag-timetrack: default command
2018-01-15 13:01:25 +01:00
8d9c7dce4f env_logger: 0.5.0-rc.1 -> 0.5.0-rc.2 2018-01-15 11:22:09 +01:00
635d000344 log: 0.4.0-rc.1 -> 0.4.0 2018-01-15 11:21:52 +01:00
c45130ddd0 env_logger: 0.4.* -> 0.5.0-rc.1 2018-01-15 11:20:27 +01:00
0aba7d2939 Adapt libimagrt for new log setup 2018-01-15 11:20:07 +01:00
f209e12410 Update dependency: log: 0.3.* -> 0.4.0-rc.1 2018-01-15 11:20:07 +01:00
5beadbbf5b Call default command if no command is passed 2018-01-13 14:36:31 +01:00
284f12e8cb Refactor: Split actual list implementation from argument processing 2018-01-13 14:36:31 +01:00
184a6882b7
Merge pull request #1215 from matthiasbeyer/defaultnix-add-libtool
Add libtool in default.nix
2018-01-13 02:44:34 +01:00
bb6ab1888a
Merge pull request #1213 from matthiasbeyer/update-toml-query
Update dependency: toml-query -> 0.6
2018-01-13 02:04:17 +01:00
fcede9f7d4 Add libtool in default.nix
Remove duplicated entry.
2018-01-13 01:23:08 +01:00
68fedfb13a libimagentryutil: Replace read with typed read 2018-01-13 01:14:03 +01:00