Commit graph

210 commits

Author SHA1 Message Date
92d4a0237e Initial import: libimaglog 2017-12-25 21:46:04 +01:00
f3ba1791b9 Update version strings in doc 2017-12-25 19:17:07 +01:00
29bde7a68f Update date in documentation 2017-12-23 15:32:30 +01:00
261aac55f2 Finalize changelog 2017-12-23 15:25:08 +01:00
591046d1f6 Remove finished TODOs 2017-12-23 15:25:08 +01:00
552d963980 Add changelog entry 2017-12-23 14:20:46 +01:00
9ec5ed9b05 Rewrite imag-link commandline to be intelligent
This patch is a rewrite for the imag-link commandline to automatically
recognize whether an internal or an external link is about to be made
and automatically do the right thing.

The commandline got a lot easier and also smaller in size (as in number
of commands), but the functionality should remain the same.
2017-12-23 12:57:13 +01:00
be79f6373e Import crate for imag-habit 2017-12-22 14:40:01 +01:00
7c752e8ef3 Update list of library todos 2017-12-20 14:45:26 +01:00
872dbb91e0 Update todo-list of crates which are done 2017-12-20 14:45:02 +01:00
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
5661dd8e35 Add CHANGELOG entry for imag-contact 2017-11-09 11:25:56 +01:00
eaa9ad5993 Add basic documentation on how the lib works 2017-10-31 19:09:43 +01:00
4250241f18 Try to get RTP from IMAG_RTP 2017-10-31 15:30:29 +01:00
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
a5042ba80c Add changelog entry 2017-10-16 14:43:21 +02:00
a3de0f6712 Reword contributing guidelines 2017-10-15 10:56:39 +02:00
cd429a3116 Rewrite module section intro 2017-10-15 10:47:00 +02:00
16ebf52385 Revisit the documentation for the store 2017-10-14 21:52:16 +02:00
6068f2b52d Rephrase architecture doc. 2017-10-14 21:35:55 +02:00
b942b9702d Reword intro 2017-10-14 21:20:45 +02:00
106ba44d4a Update tool todo-list 2017-10-14 15:38:04 +02:00
01f527d7c4 Fix typos 2017-10-14 15:38:00 +02:00
5928968c8f Explain versioning conventions 2017-10-14 15:38:00 +02:00
2de3c512e3 Format markup 2017-10-14 15:37:53 +02:00
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
704c01b2c9 Merge pull request #1130 from matthiasbeyer/imag-annotate/init
Imag annotate/init
2017-10-13 16:20:57 +02:00
1d270ee1cf Add changelog entry 2017-10-13 14:53:57 +02:00
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
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
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
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
d9add138d2 Use positional argument for id 2017-10-08 13:02:56 +02:00
c5ad59e96f Initial import of imag-mv 2017-10-01 10:07:29 +02:00
643db0df3a Remove libimagcounter / imag-counter 2017-09-28 22:41:23 +02:00
73f6016221 Update version strings: 0.4.0 -> 0.5.0 2017-09-24 13:05:01 +02:00
8a15aba1d0 Update month in doc 2017-09-23 22:18:28 +02:00
5ed5392193 Finalize changelog 2017-09-23 21:24:46 +02:00
2f2f606924 Add missing changelog entry for imag-gps 2017-09-23 21:19:27 +02:00
441e59753a Merge pull request #1105 from matthiasbeyer/minor
Minor
2017-09-22 16:06:23 +02:00
fbbb26b737 Initial import 2017-09-21 19:01:36 +02:00
5cf4df474a Doc: Todo: Fix indent 2017-09-21 12:29:27 +02:00
e5135aa9d5 Add imag-grep in todo-list, sort 2017-09-21 12:26:28 +02:00
94674841a0 Fix doc: Header structure 2017-09-21 12:21:32 +02:00
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
9b2ceb31cc Merge pull request #1093 from matthiasbeyer/libimagentrylist/rip-out-cli-mod
libimagentrylist: Remove unused module
2017-09-20 22:00:34 +02:00
19c3bc829a Remove unused module 2017-09-20 18:41:54 +02:00
e000957722 Ensure that all arguments are passed to the subcommand 2017-09-20 17:13:04 +02:00
b853e35a05 Merge pull request #1071 from matthiasbeyer/imag-grep
imag-grep: Add new crate
2017-09-15 23:21:18 +02:00