Commit graph

1424 commits

Author SHA1 Message Date
0cc50691b6 Rewrite process_rw_result()
It did not cover the aspect that the passed toml `Value` object was an
Array in the first place and assumed that it is an `String` instead,
which caused the function always to return an Result::Err, which was
obviousely buggy.

This is almost a rewrite of the process_rw_result() function which takes
the additional layer (Array(String)) into account and therefor fixes
this issue.
2016-04-12 22:00:40 +02:00
92b471bb13 Merge pull request #328 from matthiasbeyer/imag-link/fix-ui
Remove "show" argument, as the short key "s" was duplicated
2016-04-09 15:42:35 +02:00
cd2bc0bba4 Merge pull request #325 from matthiasbeyer/libimaglink/internal-linking-use-storeid
Libimaglink/internal linking use storeid
2016-04-09 15:35:15 +02:00
93f5453c5c Remove "show" argument, as the short key "s" was duplicated 2016-04-09 14:46:46 +02:00
8d9d6651fb Refactor common pattern into function 2016-04-09 14:43:11 +02:00
77fa6d71b3 Rewrite internal linking to use StoreId instead of String as Link type 2016-04-08 23:57:16 +02:00
1fc7b64171 Merge pull request #310 from matthiasbeyer/libimagentrylist/cli
Libimagentrylist/cli
2016-04-06 17:09:39 +02:00
3e9bf44127 Merge pull request #322 from matthiasbeyer/libimagrt/debug-log-line-and-file
logger: Print file and line on debug printing
2016-04-06 16:58:22 +02:00
db82a121c4 Merge pull request #323 from matthiasbeyer/libimagrt/edit-for-string
Implement Edit for String
2016-04-06 15:06:07 +02:00
b305b3c693 Implement Edit for String 2016-04-06 14:40:54 +02:00
a41d037bcf Add lister helper function 2016-04-06 11:49:03 +02:00
ecfdbab947 Add default arguments for builtin lister backends 2016-04-06 11:42:23 +02:00
9a9b7fcc58 Add cli submodule for building and parsing CLI subcomponents 2016-04-06 11:35:22 +02:00
19f89c5864 Add dependency: clap = 2.1.1 2016-04-06 11:32:29 +02:00
b30cde474d Merge pull request #319 from matthiasbeyer/libimagrt/std-hook-register-error-only-debugoutput
Libimagrt/std hook register error only debugoutput
2016-04-06 11:14:44 +02:00
a4d77bb89a Merge pull request #321 from matthiasbeyer/libimagrt/fix-logger-init
Partially revert 7f1a671
2016-04-06 11:14:13 +02:00
f28bfadf8d logger: Print file and line on debug printing 2016-04-05 17:53:09 +02:00
9a094fcd94 Partially revert 7f1a671
Removed the logger initialization, which was not caught by review
somehow.

This patch re-adds the appropriate lines.
2016-04-05 17:48:21 +02:00
4f391d0e04 Spit out the traceback for hook registration errors only in debug mode
This patch is added because this error occours only if there is no
configuration file with the appropriate settings available.

There will still be a warning about hook registration failed, but the
traceback will only be visitible in `--debug` mode.
2016-04-05 16:50:17 +02:00
ee61d079bd Merge pull request #295 from matthiasbeyer/libimagrt/config-for-everyone
Libimagrt/config for everyone
2016-03-26 21:29:40 +01:00
1bcc05a855 Add Runtime::config() 2016-03-26 20:48:32 +01:00
86929c819c impl Deref for Configuration 2016-03-26 20:48:28 +01:00
e7a0eed1c1 Merge pull request #296 from matthiasbeyer/libimagnotes/deref-note
impl Deref for Note
2016-03-26 20:41:03 +01:00
cdbb71cea2 impl Deref for Note 2016-03-26 19:52:30 +01:00
144e2db92d Merge pull request #265 from matthiasbeyer/libimagstorestdhook/init
Libimagstorestdhook/init
2016-03-26 19:51:19 +01:00
a36c213cec Merge pull request #192 from matthiasbeyer/libimagnotes/init
Libimagnotes/init
2016-03-26 18:22:52 +01:00
7f1a671e4d Add debug hook 2016-03-26 18:20:12 +01:00
15dc163504 Add option to edit after creating 2016-03-26 16:43:33 +01:00
272243a125 Implement edit() 2016-03-26 16:43:33 +01:00
ded011b5b6 lib: impl Edit for Note 2016-03-26 16:43:33 +01:00
97d436db22 lib: Remove unneeded "mut" keywords 2016-03-26 16:43:33 +01:00
8213b6c08f lib: Add missing setting of text content 2016-03-26 16:43:33 +01:00
97ac047df5 lib: Remove unused imports 2016-03-26 16:43:33 +01:00
506cebf594 Remove warnings 2016-03-26 16:43:33 +01:00
c7c092be93 Move cli-name-extracting into helper function 2016-03-26 16:43:33 +01:00
8ee4a7ff50 Initial import for imag-notes 2016-03-26 16:43:33 +01:00
6e74145739 Add dependencies 2016-03-26 16:35:57 +01:00
d20220b57e Initial import 2016-03-26 16:35:57 +01:00
64e0841a8f Merge pull request #292 from matthiasbeyer/libimagrt/create-logger-on-runtime-setup
Move logger initialization to earliest possible point
2016-03-26 16:23:59 +01:00
06af6b3303 Merge pull request #272 from matthiasbeyer/libimagrt/toml-parser-error-printing
Enhance error printing on config file parsing errors
2016-03-26 16:20:38 +01:00
1a145d8320 Merge pull request #273 from matthiasbeyer/libimagstore/config-error-printing
Enhance store config errors by printing (println)
2016-03-26 16:09:15 +01:00
2ed64d5b2e Merge pull request #267 from matthiasbeyer/libimagentrylist/init
Libimagentrylist/init
2016-03-26 16:06:50 +01:00
4a1fd4230e Merge pull request #270 from matthiasbeyer/libimagutil/trace-newline
Add another missing newline character
2016-03-26 15:29:56 +01:00
d6aa42bd60 Move logger initialization to earliest possible point 2016-03-26 15:29:24 +01:00
6a407365bd Enhance store config errors by printing (println) 2016-03-26 15:28:35 +01:00
c5d5c17208 Enhance error printing on config file parsing errors 2016-03-26 15:28:25 +01:00
fdc7e2c391 Add LineLister 2016-03-26 15:28:18 +01:00
5fe843e5d6 Add simple PathLister type 2016-03-26 15:28:18 +01:00
52eb81a6f7 Add initial codebase 2016-03-26 15:28:18 +01:00
8b1c36a86e Add dependencies 2016-03-26 15:28:18 +01:00