Matthias Beyer
bfa6f593b6
Fix: Re-writing content of String in edit_in_tmpfile()
2016-06-07 14:25:06 +02:00
Matthias Beyer
88e89d7927
Merge pull request #456 from matthiasbeyer/libimagstore/errors-to-identify-store-api-call
...
Add a set of error kinds to identify the store call the error came from
2016-06-06 18:28:48 +02:00
schwente
11b0622804
Fixed the store.delete(...) Return Problem
2016-06-06 14:16:53 +02:00
Matthias Beyer
0318117b6c
Add missing imports
2016-06-04 15:34:02 +02:00
Matthias Beyer
14a4b786e8
Enable lints
2016-06-04 15:34:02 +02:00
Matthias Beyer
ef86c5e1ff
Add config module
2016-06-04 15:34:02 +02:00
Matthias Beyer
0363a6a4d4
Add Diary type
2016-06-04 15:34:02 +02:00
Matthias Beyer
97c710baf8
Add modules in lib.rs
2016-06-04 15:34:02 +02:00
Matthias Beyer
2f3a52b2ab
Add IsInDiary trait
2016-06-04 15:34:02 +02:00
Matthias Beyer
f1be77081c
Add diary iterator
2016-06-04 15:34:02 +02:00
Matthias Beyer
6067ccb46a
Add result module
2016-06-04 15:34:02 +02:00
Matthias Beyer
fa370facf3
Add error module
2016-06-04 15:34:02 +02:00
Matthias Beyer
735fcc93c5
Add Entry type
2016-06-04 15:34:02 +02:00
Matthias Beyer
41f0f63c67
Add DiaryId type
2016-06-04 15:34:02 +02:00
Matthias Beyer
243aeb5e72
Add dependencies
2016-06-04 15:34:02 +02:00
Matthias Beyer
6f31e0f821
libimagdiary: init
2016-06-04 15:34:02 +02:00
Matthias Beyer
f400c77784
Merge pull request #455 from kbknapp/makefiles
...
Adds a Makefile for building modules
2016-06-04 15:32:42 +02:00
Kevin K
f0dcfb1f4b
Deduplicates the Makefile
2016-06-04 07:58:44 -04:00
Kevin K
6a30e67411
Adds a Makefile for building modules
...
One can now type:
```
$> make
```
Which builds all the modules and places them in a `out/` directory of the project root for easy
finding.
Alternatively one can type:
```
$> make $module
```
Where `$module` is one of the `imag-$module` names, such as `counter`, `link`, etc.
To clean up the `out/` directory it's `$> make clean`
2016-06-03 22:14:09 -04:00
Yase
7dbf7e7d39
cmd query
2016-06-01 16:05:43 +02:00
Roman Schemenau
41dfd51f8b
Implement Read
2016-06-01 13:01:19 +02:00
schwente
d5dd55820a
Do the changes for the Delete function
2016-06-01 12:54:33 +02:00
schwente
03ee6e6838
Delete Function
2016-05-31 13:34:50 +02:00
Matthias Beyer
b98ccbbc01
Merge pull request #452 from matthiasbeyer/libimagtimeui/clap-ui
...
Libimagtimeui/clap ui
2016-05-29 10:36:04 +02:00
Matthias Beyer
ea5319812d
Merge pull request #439 from matthiasbeyer/libimagstore/fle-and-entry-have-storeid
...
Remove duplicated StoreId member in FileLockEntry, use member from Entry
2016-05-29 02:15:26 +02:00
Matthias Beyer
b3554f4fd1
Add cli module for building clap components
2016-05-29 01:49:42 +02:00
Matthias Beyer
d7700a38f1
Add dependency clap = 2.1.1
2016-05-29 01:49:42 +02:00
Matthias Beyer
9d37ffef91
Merge pull request #454 from matthiasbeyer/libimagstore/hook-exec-error-fix
...
Libimagstore/hook exec error fix
2016-05-29 01:31:17 +02:00
Matthias Beyer
8c00723db4
Merge pull request #453 from matthiasbeyer/libimagrt/config-finding-fix
...
Libimagrt/config finding fix
2016-05-29 01:31:11 +02:00
Matthias Beyer
55e5255293
Remove duplicated StoreId member in FileLockEntry, use member from Entry
2016-05-29 00:01:05 +02:00
Matthias Beyer
1fd95c9ccd
Merge pull request #451 from matthiasbeyer/imag-notes/get
...
Imag notes/get
2016-05-28 23:59:41 +02:00
Matthias Beyer
ce12a22ef5
Merge pull request #440 from matthiasbeyer/libimagstore/load-unload-hooks
...
Libimagstore/load unload hooks
2016-05-28 23:59:32 +02:00
Matthias Beyer
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
Matthias Beyer
812379c46d
Hook data accessors should implement Debug
2016-05-28 23:47:13 +02:00
Matthias Beyer
d85f747066
Add a set of error kinds to identify the store call the error came from
2016-05-28 23:30:50 +02:00
Matthias Beyer
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
Matthias Beyer
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
Matthias Beyer
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
Matthias Beyer
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
Matthias Beyer
e416c1be96
Merge pull request #449 from matthiasbeyer/libimagtimeui/init
...
Libimagtimeui/init
2016-05-28 21:54:12 +02:00
Matthias Beyer
bbad841a60
Rewrite edit_entry() to use Store::get()
2016-05-28 21:27:55 +02:00
Matthias Beyer
8caeb17729
Add Note::get()
2016-05-28 21:26:05 +02:00
Matthias Beyer
10409703d8
Rewrite UI to use Store::get() which does not implicitely create entries
2016-05-28 21:19:29 +02:00
Matthias Beyer
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
Matthias Beyer
6c7d6c29ea
Rewrite pre-hook execution
2016-05-28 21:08:55 +02:00
Matthias Beyer
eb80714402
HookError: Add optional non-aborting mode
2016-05-28 21:08:07 +02:00
Matthias Beyer
ff82300746
Impl Parse::parse for DateTime
2016-05-28 20:53:30 +02:00
Matthias Beyer
3d066e6633
Impl DateTime
2016-05-28 20:53:30 +02:00
Matthias Beyer
1eb59e3142
Add tests for Time
2016-05-28 20:53:30 +02:00
Matthias Beyer
f2da7ce4a9
Implement Time
2016-05-28 20:53:30 +02:00