Commit graph

2765 commits

Author SHA1 Message Date
1fd95c9ccd Merge pull request #451 from matthiasbeyer/imag-notes/get
Imag notes/get
2016-05-28 23:59:41 +02:00
ce12a22ef5 Merge pull request #440 from matthiasbeyer/libimagstore/load-unload-hooks
Libimagstore/load unload hooks
2016-05-28 23:59:32 +02:00
64e28f3c31 Fix C/P fail
The store executed the wrong hooks here, because of a C/P failure.

This fixes this bug.
2016-05-28 23:47:26 +02:00
812379c46d Hook data accessors should implement Debug 2016-05-28 23:47:13 +02:00
d85f747066 Add a set of error kinds to identify the store call the error came from 2016-05-28 23:30:50 +02:00
180dfbf0b1 Fix: Pass the confguration path as parameter for Configuration::new()
If there is none, fall back to the RTP.
2016-05-28 23:11:10 +02:00
d50f8b3d0d Fix: Test the RTP itself as well
This fixes the problem that the user sometimes passes the configuration
via the commandline. In this case, the "rtp" variable itself is the
configuration file path. With this fix applied, we check this value
before generating the variants and trying them.
2016-05-28 23:03:06 +02:00
ac89856e1c Merge pull request #370 from matthiasbeyer/libimagstore/hook-errors-not-aborting
Libimagstore/hook errors not aborting
2016-05-28 22:36:29 +02:00
93f78e694a Merge pull request #450 from matthiasbeyer/imag-tag/get
Rewrite UI to use Store::get() which does not implicitely create entries
2016-05-28 22:35:58 +02:00
e416c1be96 Merge pull request #449 from matthiasbeyer/libimagtimeui/init
Libimagtimeui/init
2016-05-28 21:54:12 +02:00
bbad841a60 Rewrite edit_entry() to use Store::get() 2016-05-28 21:27:55 +02:00
8caeb17729 Add Note::get() 2016-05-28 21:26:05 +02:00
10409703d8 Rewrite UI to use Store::get() which does not implicitely create entries 2016-05-28 21:19:29 +02:00
a42b6a10db Add error tracing support in Aspect implementation
This removes the parallelization feature from the Aspect codebase as
std::error::Error does not implement Send, so we cannot send the error
from a child thread to a parent thread.

This is clearly not an optimal implementation now, but we have hook
non-aborting-error tracing support, which is more important than
parallelization support, at least in this early stage of development.

An issue has to be opened for re-implementing parallelization of hooks.
2016-05-28 21:08:55 +02:00
6c7d6c29ea Rewrite pre-hook execution 2016-05-28 21:08:55 +02:00
eb80714402 HookError: Add optional non-aborting mode 2016-05-28 21:08:07 +02:00
ff82300746 Impl Parse::parse for DateTime 2016-05-28 20:53:30 +02:00
3d066e6633 Impl DateTime 2016-05-28 20:53:30 +02:00
1eb59e3142 Add tests for Time 2016-05-28 20:53:30 +02:00
f2da7ce4a9 Implement Time 2016-05-28 20:53:30 +02:00
4ea0b98cc2 Impl Date 2016-05-28 20:53:30 +02:00
fbb576d51a Impl Parse::parse for Time 2016-05-28 20:53:30 +02:00
e25ab854ee Impl Parse::parse for Date 2016-05-28 20:53:30 +02:00
d431d3cb84 Add time parse regex 2016-05-28 20:53:30 +02:00
57dcd4f991 Add Parse trait 2016-05-28 20:53:26 +02:00
cc448e4754 Add DateTime type 2016-05-28 20:53:10 +02:00
ef81d87d94 Add Time type 2016-05-28 20:52:52 +02:00
cc00e14cf7 Add Date type 2016-05-28 20:52:34 +02:00
42b79bb0ee Add ui simple helpers 2016-05-28 20:52:17 +02:00
b817f1ba46 Add dependencies 2016-05-28 20:31:22 +02:00
b71c511b8f Initial import 2016-05-28 20:04:32 +02:00
59152e6a52 Merge pull request #448 from matthiasbeyer/libimagstore/retieve_for_module_fix_glob
Fix glob() pattern
2016-05-28 18:17:28 +02:00
42289a085e Fix glob() pattern 2016-05-28 17:28:38 +02:00
eab439f96c Merge pull request #447 from matthiasbeyer/imag-store/get
Imag store/get
2016-05-28 11:35:15 +02:00
95c640c1e9 Implement get() functionality 2016-05-28 10:36:09 +02:00
203e649b4f Make print_entry() pub to be available in get() implementation 2016-05-28 10:36:09 +02:00
a2ea89e936 Add UI specification for get() functionality 2016-05-28 10:36:09 +02:00
a6200b67c0 Merge pull request #446 from matthiasbeyer/libimagstore/fix-get
Fix Store::get()
2016-05-28 10:35:42 +02:00
19aec6327f Fix Store::get() 2016-05-27 23:58:37 +02:00
3e4b339615 Merge pull request #438 from matthiasbeyer/libimagentrylink/link-type-pub
Add missing keyword "pub" for Link type
2016-05-27 12:36:36 +02:00
d83a0d8b32 Merge pull request #444 from matthiasbeyer/libimagentrytag/use-error-infrastructure
Use IntoError functionality to have less noise in the error construct…
2016-05-27 12:34:38 +02:00
7dc3c74306 Merge pull request #443 from matthiasbeyer/libimagrt/use-error-infrastructure
Libimagrt/use error infrastructure
2016-05-27 12:34:32 +02:00
efd569a138 Merge pull request #442 from matthiasbeyer/libimagentrylink/use-error-infrastructure
Use IntoError to have less noise in the error construction code
2016-05-27 12:34:26 +02:00
80aca436fe Merge pull request #441 from matthiasbeyer/libimagstore/use-error-infrastructure
Libimagstore/use error infrastructure
2016-05-27 12:34:21 +02:00
5fbfe63e1b Use IntoError functionality to have less noise in the error construction code 2016-05-27 10:44:37 +02:00
98b39bbfa8 Use IntoError to have less noise in the error construction code 2016-05-27 10:38:35 +02:00
e3db21b009 Use IntoError trait for less ugly code 2016-05-27 10:27:06 +02:00
70b6a4f587 Replace configuration error code with macro generator 2016-05-27 10:21:56 +02:00
3d9d5795e4 Rewrite hook error module with error macros 2016-05-27 10:15:29 +02:00
cb87b4b5d8 Remove old error code which is unused 2016-05-27 10:13:03 +02:00