Commit Graph

203 Commits

Author SHA1 Message Date
Matthias Beyer be79f6373e Import crate for imag-habit 2017-12-22 14:40:01 +01:00
Matthias Beyer 7c752e8ef3 Update list of library todos 2017-12-20 14:45:26 +01:00
Matthias Beyer 872dbb91e0 Update todo-list of crates which are done 2017-12-20 14:45:02 +01:00
Matthias Beyer 167511afec Fix formatting and adjust module/lib documentation
Also add symlink in module implementation to lib-documentation.
2017-12-08 14:54:40 +01:00
Matthias Beyer 5661dd8e35 Add CHANGELOG entry for imag-contact 2017-11-09 11:25:56 +01:00
Matthias Beyer eaa9ad5993 Add basic documentation on how the lib works 2017-10-31 19:09:43 +01:00
Matthias Beyer 4250241f18 Try to get RTP from IMAG_RTP 2017-10-31 15:30:29 +01:00
Matthias Beyer eca7219039 Rewrite configuration providing in runtime
Before the configuration object (the raw TOML object) was provided via a
wrapper object `Configuration`. This was ugly and not very nice to use.

Now, we only have the `toml::Value` object we lend out from
`Runtime::config()`.

The changes included libimagrt internal rewrites, which are not visible
to the user. Anyways, this change changes the API for config-fetching
from the runtime, so fixes for all other crates may follow.

The changes also removed the support for reading the "editor" setting
from the configuration file, which was not used anyways (in the example
imagrc.toml file).
The CLI-reading and ENV-reading are still supported, though.
2017-10-31 09:25:14 +01:00
Matthias Beyer a5042ba80c Add changelog entry 2017-10-16 14:43:21 +02:00
Matthias Beyer a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
Matthias Beyer cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
Matthias Beyer 16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
Matthias Beyer 6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
Matthias Beyer b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
Matthias Beyer 106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
Matthias Beyer 01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
Matthias Beyer 5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
Matthias Beyer 2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
Matthias Beyer fcd30a80ad Revisit doc on entry version
We don't have that concept anymore, remove docs for it.
2017-10-14 15:29:41 +02:00
Matthias Beyer 704c01b2c9 Merge pull request #1130 from matthiasbeyer/imag-annotate/init
Imag annotate/init
2017-10-13 16:20:57 +02:00
Matthias Beyer 1d270ee1cf Add changelog entry 2017-10-13 14:53:57 +02:00
Matthias Beyer 23f4d7948f Fix Store::entries() to not yield directories
Before the iterator did also yield storeids for directories, which was a
bug.

This change introduces a new if_file() function in the store-internal
backend, which is needed to check whether a path actually points to a
File, be it inmemory or on the real filesystem.

That's because tests might fail if they check via PathBuf::is_file() as
in tests, the entries only exist inmemory.
2017-10-13 14:26:06 +02:00
Matthias Beyer d4633d466e Add changelog entry 2017-10-12 22:15:13 +02:00
Kai Sickeler 1f84643486 Dump all StoreIds
Add StoreId Dump changes
2017-10-09 12:18:27 +02:00
Matthias Beyer f266791142 Add multi-destination logging to logger
The logger was not able to handle multiple destinations before. Now it
is possible for the logger.

The file must be held behind an Arc<Mutex<_>> so we can use the logging
from multiple threads but also because we need to borrow mutably, so
that bit changes whith this commit.
2017-10-08 18:08:51 +02:00
Matthias Beyer 969211174a Rewrite imag-view
The imag-view command was redesigned with this change. It now looks up
view-templates in the config and calls them with the "in" subcommand.

This way, an entry can be viewed with editor, browser or whatever one
likes.

Compiling markdown is not supported yet.
2017-10-08 15:08:27 +02:00
Matthias Beyer d9add138d2 Use positional argument for id 2017-10-08 13:02:56 +02:00
Matthias Beyer c5ad59e96f Initial import of imag-mv 2017-10-01 10:07:29 +02:00
Matthias Beyer 643db0df3a Remove libimagcounter / imag-counter 2017-09-28 22:41:23 +02:00
Matthias Beyer 73f6016221 Update version strings: 0.4.0 -> 0.5.0 2017-09-24 13:05:01 +02:00
Matthias Beyer 8a15aba1d0 Update month in doc 2017-09-23 22:18:28 +02:00
Matthias Beyer 5ed5392193 Finalize changelog 2017-09-23 21:24:46 +02:00
Matthias Beyer 2f2f606924 Add missing changelog entry for imag-gps 2017-09-23 21:19:27 +02:00
Matthias Beyer 441e59753a Merge pull request #1105 from matthiasbeyer/minor
Minor
2017-09-22 16:06:23 +02:00
Matthias Beyer fbbb26b737 Initial import 2017-09-21 19:01:36 +02:00
Matthias Beyer 5cf4df474a Doc: Todo: Fix indent 2017-09-21 12:29:27 +02:00
Matthias Beyer e5135aa9d5 Add imag-grep in todo-list, sort 2017-09-21 12:26:28 +02:00
Matthias Beyer 94674841a0 Fix doc: Header structure 2017-09-21 12:21:32 +02:00
Matthias Beyer 8bbaeeef45 Fix: Store::delete() should check FS as well
This patch fixes a problem where the Store::delete() function only
checked the store-internal cache whether an entry exists, but not the
Filesystem. After this patch is applied, the Store::delete() function
also checks the filesystem whether the entry exists.
2017-09-20 22:24:59 +02:00
Matthias Beyer 9b2ceb31cc Merge pull request #1093 from matthiasbeyer/libimagentrylist/rip-out-cli-mod
libimagentrylist: Remove unused module
2017-09-20 22:00:34 +02:00
Matthias Beyer 19c3bc829a Remove unused module 2017-09-20 18:41:54 +02:00
Matthias Beyer e000957722 Ensure that all arguments are passed to the subcommand 2017-09-20 17:13:04 +02:00
Matthias Beyer b853e35a05 Merge pull request #1071 from matthiasbeyer/imag-grep
imag-grep: Add new crate
2017-09-15 23:21:18 +02:00
Matthias Beyer 922ed445d4 imag-grep: Add new crate 2017-09-15 21:16:02 +02:00
Matthias Beyer 1ffc45a4c0 Use positional args 2017-09-15 21:07:01 +02:00
Matthias Beyer cefe58ffd4 Add changelog 2017-09-15 13:53:30 +02:00
Matthias Beyer 2f0fa2b6ca Merge pull request #1068 from matthiasbeyer/imag-timetrack/fix-track-command
Fix: Let the track command parse the start/end time more intelligently
2017-09-15 12:38:42 +02:00
Matthias Beyer e049559bed Fix: Let the track command parse the start/end time more intelligently
It understands "now" from this point and can parse dates or date-times
(whereas dates get normalized to date + hour 0, minute 0, second 0).
2017-09-14 20:49:10 +02:00
Matthias Beyer bcb6c7b52d Add changelog entry 2017-09-14 20:06:22 +02:00
Matthias Beyer 8aa5c2d82d Fix header locations
Also change that the implementation uses toml_query::set instead of
toml_query::insert.

Inserting values creates intermediate tables, set doesn't. And we really
want that convenience here, as the code is complex enough on its own.
2017-09-09 16:36:21 +02:00