Commit Graph

23 Commits

Author SHA1 Message Date
Matthias Beyer 638e48197b This function does not need to be public 2017-02-23 12:38:40 +01:00
Matthias Beyer a1b210fc14 Remove unused imports from libimaginteraction 2017-02-04 11:05:57 +01:00
Matthias Beyer 846c2d0325 Create history file if it does not exist 2016-10-06 18:40:14 +02:00
Matthias Beyer 734826a2cd Add initial readline backend implementation 2016-10-06 18:40:14 +02:00
Matthias Beyer 858f310fda Add error kinds for readline errors 2016-10-06 18:39:21 +02:00
Matthias Beyer 33f02fd776 Add dependencies 2016-10-06 18:39:21 +02:00
Matthias Beyer 6b809a5a27 libimaginteraction: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
Matthias Beyer 12e7544a2a Move code from libimagentryselect to libimaginteraction 2016-09-17 19:26:06 +02:00
Gavin Thomas Claugus 0bb34b4777 libimaginteraction: Deny warnings
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-26 16:29:32 -04:00
Matthias Beyer 426fe45577 Fix bug when newline is in the input 2016-07-07 18:46:15 +02:00
Matthias Beyer d2fa853a08 libimaginteraction: use generate_error_module!() macro and reexport generated types 2016-05-19 20:32:23 +02:00
Matthias Beyer 81d46f9e74 libimaginteraction: Replace error module imports with macro helper 2016-05-19 18:22:03 +02:00
Matthias Beyer 841d26fdd0 libimaginteraction: Replace error code with code generator macro 2016-05-17 00:26:36 +02:00
Andre Bogus 981707c9c9 more style adaptations
again following clippy
2016-05-13 22:27:53 +02:00
Matthias Beyer a3f3cd3e00 Implement ask_select_from_list() 2016-04-12 16:40:41 +02:00
Matthias Beyer c2e2fca8eb Add result type 2016-04-12 16:40:32 +02:00
Matthias Beyer 6f3b3d6b83 Add error module 2016-04-12 16:40:25 +02:00
Matthias Beyer 6b0535aaca Remove ask_enum() 2016-04-09 19:48:08 +02:00
Matthias Beyer 47d08224db Add implementation for ask_string() 2016-04-06 18:26:28 +02:00
Matthias Beyer 860888c06f Implement ask_uint() including tests 2016-04-06 18:05:49 +02:00
Matthias Beyer 747324ae85 Move real implementation to helper, so we can test.
Tests were added, and yes I'm doing some `assert!((foo == true)` here,
so it is easier to spot what happens here, as a `!` is overlooked
sometimes.
2016-04-06 17:54:11 +02:00
Matthias Beyer 253d080625 Add initial codebase for ask_() functions 2016-04-06 17:54:11 +02:00
Matthias Beyer b9769f4fe6 Initial import 2016-04-06 17:54:11 +02:00