Commit graph

1339 commits

Author SHA1 Message Date
34ce278af3 Merge pull request #283 from matthiasbeyer/libimagrt/warning-to-error
Libimagrt/warning to error
2016-03-26 13:56:36 +01:00
7c276d541d Merge pull request #279 from matthiasbeyer/libimagstore/rewrite-file
Truncate file to zero size before writing new content, so we do not p…
2016-03-26 13:56:06 +01:00
0a181479c8 Merge pull request #277 from matthiasbeyer/libimagstore/remove-unused-aspects
Libimagstore/remove unused aspects
2016-03-26 13:55:46 +01:00
9575c8fddb Merge pull request #278 from matthiasbeyer/libimagtag/unique-tags
Make tags unique before writing
2016-03-26 13:55:36 +01:00
93d7b81dc5 Merge pull request #276 from matthiasbeyer/libimagstore/config-getter
Store::config() added, mainly for debugging use
2016-03-26 13:55:11 +01:00
b2329c323a Merge pull request #275 from matthiasbeyer/libimagrt/config-file-search-filter-bug
Fix Config-file searching filter bug
2016-03-26 13:55:02 +01:00
4fc365409a Merge pull request #274 from matthiasbeyer/libimagrt/config-file-path-builder-bug
Fix path building bug
2016-03-26 13:54:52 +01:00
c03625dfae Merge pull request #271 from matthiasbeyer/libimagstore/debugging
Libimagstore/debugging
2016-03-26 13:54:38 +01:00
c53cc56d0c Enable warning-to-error deny!() 2016-03-25 16:23:51 +01:00
87fa9bab13 Make result used 2016-03-25 16:19:57 +01:00
cdad750e02 Make result used by try!()ing 2016-03-25 16:19:21 +01:00
d523c432c3 Use unused result 2016-03-25 16:01:42 +01:00
876a5ad78c Remove unneeded keyword "mut" 2016-03-25 16:01:11 +01:00
3e760d6dff Remove unused import 2016-03-25 15:59:18 +01:00
ab417a17d0 Truncate file to zero size before writing new content, so we do not partially write the file 2016-03-25 15:39:26 +01:00
2e2c6e19fa Make tags unique before writing 2016-03-25 15:34:47 +01:00
Kai Sickeler
cdbc0ceae5 Removed unused functions 2016-03-25 15:22:45 +01:00
Kai Sickeler
797a707c8e removed unused Pre- / PostRead aspects 2016-03-25 15:22:45 +01:00
ad18091b88 Store::config() added, mainly for debugging use 2016-03-25 15:15:37 +01:00
97c0d4c057 Fix Config-file searching filter bug 2016-03-25 15:15:22 +01:00
94e56108e8 Fix path building bug 2016-03-25 15:15:13 +01:00
c5c60cf36d impl Debug for Store 2016-03-25 13:30:26 +01:00
22052ba9f0 Add some more error types to be more specific about what happened 2016-03-25 13:30:16 +01:00
9f8a648600 Merge pull request #269 from matthiasbeyer/libimagstore/hook/position-clonable
Make HookPosition clonable
2016-03-25 13:01:05 +01:00
a96ca837c6 Make HookPosition clonable 2016-03-24 17:57:19 +01:00
8ed1ad6785 Merge pull request #263 from matthiasbeyer/libimagrt/edit
Libimagrt/edit
2016-03-24 14:23:55 +01:00
fc9c786df7 We can match for true/false instead of true/_ 2016-03-24 12:30:31 +01:00
c12001a574 Remove unwraphell and replace by try!() 2016-03-24 12:29:55 +01:00
ba0d952333 Impl From<IOError> for RuntimeError 2016-03-24 12:29:42 +01:00
75ff2c742f Add edit codebase 2016-03-24 11:50:37 +01:00
e3bb5e3797 Add error types for edit functionality 2016-03-24 11:50:26 +01:00
eb74b4b1dc Add dep: tempfile = 2.1.1 2016-03-24 11:50:14 +01:00
be551feb83 Merge pull request #262 from matthiasbeyer/libimagstore/warn-to-err
Libimagstore/warn-to-err
2016-03-23 18:25:35 +01:00
958171fc54 Merge pull request #261 from matthiasbeyer/libimagrt/editor
Add editor()
2016-03-23 18:25:04 +01:00
2deb98d764 Add deny() so we turn some warnings into errors 2016-03-22 19:44:04 +01:00
c59ed7d2fe Use unused result when file.write_all() and return error 2016-03-22 19:44:04 +01:00
dc7a212278 Use unused result which must be used when file.seek()ing 2016-03-22 19:44:04 +01:00
a45571e299 Remove unused function AspectConfig::config() 2016-03-22 19:44:04 +01:00
8e852384bd Remove unused function from Store 2016-03-22 19:44:04 +01:00
a9eddb088a Remove unused functions from LazyFile
- Remove uses of LazyFile::new() from tests
    - Use LazyFile::get_file_mut() in test as we want the file mut anyways
2016-03-22 19:43:48 +01:00
af161394ad Remove dead code in configuration.rs 2016-03-22 19:43:48 +01:00
a4c820d308 Remove unused keyword "mut" 2016-03-22 19:43:48 +01:00
8aa3f31970 Remove unused variables 2016-03-22 19:43:48 +01:00
2fb59b3ae6 Remove unused imports 2016-03-22 19:43:48 +01:00
Kai Sickeler
b315cb7fd0 Add editor()
Signed-off-by: Kai Sickeler <k.sickeler@gmail.com>
2016-03-21 11:29:06 +01:00
fcfeb7ff48 Merge pull request #260 from matthiasbeyer/libimagtag/ui-names
Add helper functions to get names of arguments/subcommands
2016-03-19 18:54:34 +01:00
36ecafad4d Add helper functions to get names of arguments/subcommands 2016-03-19 17:52:21 +01:00
791271c988 Merge pull request #255 from matthiasbeyer/imag-counter/list
Imag counter/list
2016-03-19 16:10:16 +01:00
1aae2dccf9 Merge pull request #221 from matthiasbeyer/imag-link/init
Imag link/init
2016-03-19 15:48:24 +01:00
2e340acbb7 Implement list() for imag-counter 2016-03-19 15:40:01 +01:00