aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
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
| * | Make msgwriter logs go to file onlymoneromooo-monero2017-07-241-0/+1
| |/ | | | | | | | | | | | | This was the case for monero-wallet-cli already, but not for monerod, which was making it pretty spammy as it was duplicating intended output. Since my original intent was to ensure logs included command output for debugging, this achieves both.
* | Merge pull request #2151Riccardo Spagni2017-08-071-1/+1
|\ \ | | | | | | | | | 13a8d64f epee: don't send the body of the response to a HEAD HTTP request (Guillaume LE VAILLANT)
| * | epee: don't send the body of the response to a HEAD HTTP requestGuillaume LE VAILLANT2017-07-051-1/+1
| | | | | | | | | | | | | | | | | | According to the HTTP spec: "The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response".
* | | Merge pull request #2153Riccardo Spagni2017-08-076-9/+9
|\ \ \ | |_|/ |/| | | | | 35d68b2c Fix spelling errors (Erik de Castro Lopo)
| * | Fix spelling errorsErik de Castro Lopo2017-07-056-9/+9
| |/
* | Merge pull request #2159Riccardo Spagni2017-07-193-16/+74
|\ \ | | | | | | | | | 6955976b Add various readline related fixes (Jethro Grassie)
| * | Add various readline related fixesJethro Grassie2017-07-093-16/+74
| |/ | | | | | | | | | | | | | | | | | | - 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
| |/
* | Merge pull request #2154Riccardo Spagni2017-07-191-2/+2
|\ \ | | | | | | | | | 97069380 mlog: add msgwriter:INFO to log 0 and 1 defaults (moneromooo-monero)
| * | 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 #2131Riccardo Spagni2017-07-191-3/+3
|\ \ | |/ |/| | | a04faf56 abstract_tcp_server2: guard against accessing lock on a destroyed object (moneromooo-monero)
| * abstract_tcp_server2: guard against accessing lock on a destroyed objectmoneromooo-monero2017-06-281-3/+3
| |
* | Merge pull request #2130Riccardo Spagni2017-07-031-15/+20
|\ \ | | | | | | | | | a0d2c745 Fix issue #2119 SEGV (Howard Chu)
| * | Fix issue #2119 SEGVHoward Chu2017-07-011-15/+20
| |/ | | | | | | | | Due to bad refactoring in PR #2073. timeout_handler() doesn't work as a virtual function.
* | Merge pull request #2122Riccardo Spagni2017-07-031-1/+0
|\ \ | | | | | | | | | a282c575 Fix #2071: remove declaration of unused variable "it" in epee (binaryFate)
| * | Fix #2071: remove declaration of unused variable "it" in epeebinaryFate2017-06-261-1/+0
| |/
* | 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.
* | Merge pull request #2098Riccardo Spagni2017-07-032-3/+10
|\ \ | | | | | | | | | fdccf7e6 Add readline improvements (Jethro Grassie)
| * | Add readline improvementsJethro Grassie2017-06-242-3/+10
| |/ | | | | | | Color prompt now working and no reprompting on exit command.
* / Remove typeid use in network_addressmoneromooo-monero2017-06-281-3/+2
|/ | | | | | Since I had to add an ID to the derived classes anyway, this can be used instead. This removes an apparently pointless warning from CLANG too.
* 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.
* | Merge pull request #2103Riccardo Spagni2017-06-242-4/+4
|\ \ | | | | | | | | | | | | 21b939e1 readline: fix invalid memory access (moneromooo-monero) 5f8f2905 readline_buffer: add a couple const (moneromooo-monero)
| * | readline: fix invalid memory accessmoneromooo-monero2017-06-211-1/+1
| | | | | | | | | | | | m_cout_buf was not initialized
| * | readline_buffer: add a couple constmoneromooo-monero2017-06-212-3/+3
| |/
* | Merge pull request #2073Riccardo Spagni2017-06-242-9/+49
|\ \ | | | | | | | | | | | | | | | 07c4276c Don't issue a new timedsync while one is already in progress (Howard Chu) cf3a376c Don't timeout a slow operation that's making progress (Howard Chu) 340830de Fix PR#2039 (Howard Chu)
| * | Don't issue a new timedsync while one is already in progressHoward Chu2017-06-151-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | A timedsync is issued every minute on a connection, but the input tineout is 2 minutes. This means a new sync request could be issued while a slow sync request was already in progress. The additional request will further clog the network on a slow connection, and cause a premature timeout.
| * | Don't timeout a slow operation that's making progressHoward Chu2017-06-151-9/+46
| | | | | | | | | | | | | | | If we got at least MIN_BYTES_WANTED (default 512) during any network poll, reset the timeout to allow more time for data to arrive.
| * | Fix PR#2039Howard Chu2017-06-151-1/+1
| | | | | | | | | | | | Missed a crypto -> cncrypto rename
* | | net_utils_base: added missing template keywordkenshi842017-06-191-1/+1
| |/ |/|
* | Add readline support to clijethro2017-06-184-1/+283
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #2052Riccardo Spagni2017-06-188-26/+122
|\ \ | | | | | | | | | 072102cf abstracted nework addresses (moneromooo-monero)
| * | abstracted nework addressesmoneromooo-monero2017-05-278-26/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All code which was using ip and port now uses a new IPv4 object, subclass of a new network_address class. This will allow easy addition of I2P addresses later (and also IPv6, etc). Both old style and new style peer lists are now sent in the P2P protocol, which is inefficient but allows peers using both codebases to talk to each other. This will be removed in the future. No other subclasses than IPv4 exist yet.
* | | 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
|/
* Removed some unused epee functionsLee Clagett2017-04-253-726/+2
|
* Simplified the implementation and features of spanLee Clagett2017-04-114-199/+142
|
* Improvements for epee binary to hex functions:Lee Clagett2017-04-116-49/+342
| | | | | | | - 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.
* | setThreadName moved in new version of easylogging++moneromooo-monero2017-04-101-1/+1
| |
* | update easylogging++ to latest upstreammoneromooo-monero2017-04-102-9/+1
|/
* Fix freebsd buildLee Clagett2017-03-211-0/+1
|