aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | mlog: default to msgwriter logs only for log level 1moneromooo-monero2017-07-241-1/+1
|/ | | | There might be privacy issues doing it by default
* Merge pull request #2159Riccardo Spagni2017-07-191-16/+55
|\ | | | | | | 6955976b Add various readline related fixes (Jethro Grassie)
| * Add various readline related fixesJethro Grassie2017-07-091-16/+55
| | | | | | | | | | | | | | | | | | | | - Add missing unbind key - Fix colored messages - Add command completion - Preserve last command input - Fix cursor position issues - Fix trailing whitespace in commands - Synchronize set_prompt
* | Merge pull request #2157Riccardo Spagni2017-07-191-0/+1
|\ \ | | | | | | | | | 6a23cd07 Add notification on stop (Jethro Grassie)
| * | Add notification on stopJethro Grassie2017-07-071-0/+1
| |/
* | Merge pull request #2173Riccardo Spagni2017-07-191-1/+1
|\ \ | | | | | | | | | a02d7458 mlog: make MONERO_LOGS env var understand N,logs type spec (moneromooo-monero)
| * | mlog: make MONERO_LOGS env var understand N,logs type specmoneromooo-monero2017-07-151-1/+1
| |/
* / mlog: add msgwriter:INFO to log 0 and 1 defaultsmoneromooo-monero2017-07-061-2/+2
|/ | | | This ensures command output gets logged by default
* Merge pull request #2112Riccardo Spagni2017-07-031-5/+16
|\ | | | | | | | | | | 76043b17 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) a73a42a6 monero-wallet-cli: hang on exit in readline code (#2117) (moneromooo-monero) be9d4f04 Fix multiline wallet cli output with readline (Jethro Grassie)
| * monero-wallet-cli: hang on exit in readline code (#2117)moneromooo-monero2017-06-281-3/+2
| | | | | | | | | | | | | | | | readline_buffer: move a local to local scope Also limit the select fd limit to what we use Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
| * monero-wallet-cli: hang on exit in readline code (#2117)moneromooo-monero2017-06-281-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | readline_buffer: fix start/stop threads being starved by process process could run for quite some time re-acquiring the process lock, leaving start/stop starving. Yielding after unlock in process is much better but doesn't seem to be enough to reliably yield, so we sleep for a millisecond, which should be transparent for user input anyway. Signed-off-by: Jethro Grassie <jtg@xtrabass.com>
| * Fix multiline wallet cli output with readlineJethro Grassie2017-06-251-1/+5
| | | | | | | | | | | | monero-wallet-cli commands which have multine output sometimes causes issues with the readline support. This patch fixes show_transfers, payments and incoming_transfers.
* | Add readline improvementsJethro Grassie2017-06-241-2/+5
|/ | | | Color prompt now working and no reprompting on exit command.
* Merge pull request #2111Riccardo Spagni2017-06-241-1/+1
|\ | | | | | | 8261ba69 readline_buffer: fix busy wait (moneromooo-monero)
| * readline_buffer: fix busy waitmoneromooo-monero2017-06-231-1/+1
| | | | | | | | | | | | | | It'd eat up a core constantly, due to spending its time jumping back and forth between userland and kernel. We now wait for up to a millisecond in kernel, which will be transparent to the user and drop to idle most of the time.
* | readline: fix invalid memory accessmoneromooo-monero2017-06-211-1/+1
| | | | | | | | m_cout_buf was not initialized
* | readline_buffer: add a couple constmoneromooo-monero2017-06-211-1/+1
|/
* Add readline support to clijethro2017-06-182-1/+202
| | | | | | | | | | | | | | | | | 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.
* Fix PR#2039Howard Chu2017-05-311-1/+1
| | | | Missed a crypto -> cncrypto rename
* shared libs build (i.e. make debug)stoffu2017-05-171-2/+0
|
* Simplified the implementation and features of spanLee Clagett2017-04-111-5/+5
|
* Improvements for epee binary to hex functions:Lee Clagett2017-04-113-21/+85
| | | | | | | - Performance improvements - Added `span` for zero-copy pointer+length arguments - Added `std::ostream` overload for direct writing to output buffers - Removal of unused `string_tools::buff_to_hex`
* Merge pull request #1948Riccardo Spagni2017-04-111-4/+9
|\ | | | | | | 62efe5f6 mlog: direct log category changes to file only (moneromooo-monero)
| * mlog: direct log category changes to file onlymoneromooo-monero2017-04-011-4/+9
| | | | | | | | | | | | Because some people just won't even try to read what is written and freak out because the word FATAL is in here, despite the context making it clear it's not an error.
* | update easylogging++ to latest upstreammoneromooo-monero2017-04-101-0/+1
|/
* Fix freebsd buildLee Clagett2017-03-211-0/+1
|
* Merge pull request #1893Riccardo Spagni2017-03-191-2/+2
|\ | | | | | | 0effe196 Revert "Increase the log level for the info about log levels" (moneromooo-monero)
| * Revert "Increase the log level for the info about log levels"moneromooo-monero2017-03-191-2/+2
| | | | | | | | | | | | We want to know which log categories are active. This reverts commit 4f7bce6d20c72a1384289f7c35b7fe0ee796ed41.
* | Removed boost/asio.hpp include from epee/string_tools.hLee Clagett2017-03-182-2/+61
|/
* Merge pull request #1805Riccardo Spagni2017-03-031-1/+1
|\ | | | | | | b7f85a30 mlog: default net.cn to FATAL (moneromooo-monero)
| * mlog: default net.cn to FATALmoneromooo-monero2017-02-261-1/+1
| | | | | | | | | | Errors in this layer depend on how peers behave, and thus errors are expected
* | Increase the log level for the info about log levelsNano Akron2017-02-251-2/+2
|/
* Merge pull request #1766Riccardo Spagni2017-02-222-2/+2
|\ | | | | | | | | | | | | 72deb484 updated fallback nodes (Riccardo Spagni) 33329f5b update version to 0.10.2 (Riccardo Spagni) 04a50a7e update checkpoints.dat (Riccardo Spagni) c3599fa7 update copyright year, fix occasional lack of newline at line end (Riccardo Spagni)
| * update copyright year, fix occasional lack of newline at line endRiccardo Spagni2017-02-212-2/+2
| |
* | mlog: restrict net.p2p to FATAL by defaultmoneromooo-monero2017-02-211-1/+1
|/
* mlog: only silence errors for net by default, not net.*moneromooo-monero2017-02-201-1/+1
|
* mlog: move log level changes to global levelmoneromooo-monero2017-02-121-2/+2
| | | | Makes it more likely to show up
* mlog: s/Mew/New/ in logmoneromooo-monero2017-02-121-2/+2
|
* Merge pull request #1689Riccardo Spagni2017-02-111-1/+1
|\ | | | | | | ce7fcbb4 Add server auth to monerod, and client auth to wallet-cli and wallet-rpc (Lee Clagett)
| * Add server auth to monerod, and client auth to wallet-cli and wallet-rpcLee Clagett2017-02-061-1/+1
| |
* | extract some basic code from libcryptonote_core into libcryptonote_basickenshi842017-02-081-1/+9
|/
* Merge pull request #1670Riccardo Spagni2017-02-041-1/+6
|\ | | | | | | c3d7a198 mlog: probable fix for gmtime_r not being available on windows (moneromooo-monero)
| * mlog: probable fix for gmtime_r not being available on windowsmoneromooo-monero2017-02-041-1/+6
| |
* | mlog: fix default logging being not verbose enoughmoneromooo-monero2017-02-041-27/+27
|/
* GUI: Add install target for epeeJaquee2017-01-301-0/+10
|
* mlog: allow using numerical level as default prefixmoneromooo-monero2017-01-221-25/+37
| | | | eg, 2,foo:ERROR,bar:INFO
* Merge pull request #1613Riccardo Spagni2017-01-221-2/+2
|\ | | | | | | 13dd102e mlog: fix default level/category mapping (moneromooo-monero)
| * mlog: fix default level/category mappingmoneromooo-monero2017-01-221-2/+2
| | | | | | | | It was not matching the LOG_PRINT_Lx mapping for 2/3/4
* | Merge pull request #1604Riccardo Spagni2017-01-221-2/+2
|\ \ | | | | | | | | | a854cec3 Make stack trace show up in log file with default settings (moneromooo-monero)
| * | Make stack trace show up in log file with default settingsmoneromooo-monero2017-01-211-2/+2
| |/