monero/src/common
jethro e1f3dfccc8 Add readline support to cli
This PR adds readline support to the daemon and monero-wallet-cli. Only
GNU readline is supported (e.g. not libedit) and there are cmake checks
to ensure this.

There is a cmake variable, Readline_ROOT_DIR that can specify a
directory to find readline, otherwise some default paths are searched.

There is also a cmake option, USE_READLINE, that defaults to ON. If set
to ON, if readline is not found, the build continues but without
readline support.

One negative side effect of using readline is that the color prompt in
the wallet-cli now has no color and just uses terminal default. I know
how to fix this but it's quite a big change so will tackle another time.
2017-06-18 10:08:37 -04:00
..
base58.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
base58.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
boost_serialization_helper.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
CMakeLists.txt changed crypto to cncrypto so it generated libcncrypto 2017-05-23 07:45:40 -04:00
command_line.cpp Add readline support to cli 2017-06-18 10:08:37 -04:00
command_line.h use const references in catch blocks 2017-03-18 12:56:07 +00:00
common_fwd.h Add server auth to monerod, and client auth to wallet-cli and wallet-rpc 2017-02-06 01:15:41 -05:00
dns_utils.cpp wallet-rpc: enable openalias 2017-03-17 10:42:10 +09:00
dns_utils.h wallet-rpc: enable openalias 2017-03-17 10:42:10 +09:00
download.cpp download: check available disk space before downloading 2017-03-05 16:59:32 +00:00
download.h download: async API 2017-03-05 16:58:48 +00:00
http_connection.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
i18n.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
i18n.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
int-util.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
json_util.h wallet: fix some "may be used uninitialized" warnings 2016-08-28 21:30:44 +01:00
password.cpp Add readline support to cli 2017-06-18 10:08:37 -04:00
password.h Add server auth to monerod, and client auth to wallet-cli and wallet-rpc 2017-02-06 01:15:41 -05:00
perf_timer.cpp Change logging to easylogging++ 2017-01-16 00:25:46 +00:00
perf_timer.h Change logging to easylogging++ 2017-01-16 00:25:46 +00:00
pod-class.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
rpc_client.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
scoped_message_writer.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
stack_trace.cpp Fixup choice of easylogging++ vs libunwind stack trace code 2017-02-12 13:59:21 +00:00
stack_trace.h Print stack trace on exceptions 2016-04-28 23:34:51 +01:00
task_region.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
task_region.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
thread_group.cpp update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
thread_group.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
unordered_containers_boost_serialization.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00
updates.cpp updates: fix user/auto url split 2017-02-22 13:04:07 +00:00
updates.h updates: remove testnet case 2017-02-22 11:20:44 +00:00
util.cpp core: protect precomputed block hashes with SHA256 2017-02-23 23:18:10 +00:00
util.h core: protect precomputed block hashes with SHA256 2017-02-23 23:18:10 +00:00
varint.h update copyright year, fix occasional lack of newline at line end 2017-02-21 19:38:18 +02:00