| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |
| | |
| | |
| | | |
There might be privacy issues doing it by default
|
| | |/
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
13a8d64f epee: don't send the body of the response to a HEAD HTTP request (Guillaume LE VAILLANT)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
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".
|
| |\ \ \
| |_|/
|/| |
| | | |
35d68b2c Fix spelling errors (Erik de Castro Lopo)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
6955976b Add various readline related fixes (Jethro Grassie)
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |\ \
| | |
| | |
| | | |
6a23cd07 Add notification on stop (Jethro Grassie)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
a02d7458 mlog: make MONERO_LOGS env var understand N,logs type spec (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
97069380 mlog: add msgwriter:INFO to log 0 and 1 defaults (moneromooo-monero)
|
| | |/
| |
| |
| | |
This ensures command output gets logged by default
|
| |\ \
| |/
|/|
| | |
a04faf56 abstract_tcp_server2: guard against accessing lock on a destroyed object (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
a0d2c745 Fix issue #2119 SEGV (Howard Chu)
|
| | |/
| |
| |
| |
| | |
Due to bad refactoring in PR #2073.
timeout_handler() doesn't work as a virtual function.
|
| |\ \
| | |
| | |
| | | |
a282c575 Fix #2071: remove declaration of unused variable "it" in epee (binaryFate)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |/
| |
| |
| |
| |
| | |
monero-wallet-cli commands which have multine output sometimes causes
issues with the readline support. This patch fixes show_transfers,
payments and incoming_transfers.
|
| |\ \
| | |
| | |
| | | |
fdccf7e6 Add readline improvements (Jethro Grassie)
|
| | |/
| |
| |
| | |
Color prompt now working and no reprompting on exit command.
|
| |/
|
|
|
|
| |
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.
|
| |\
| |
| |
| | |
8261ba69 readline_buffer: fix busy wait (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | |
| | | |
21b939e1 readline: fix invalid memory access (moneromooo-monero)
5f8f2905 readline_buffer: add a couple const (moneromooo-monero)
|
| | | |
| | |
| | |
| | | |
m_cout_buf was not initialized
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
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)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | |
| | |
| | | |
Missed a crypto -> cncrypto rename
|
| | |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| | |
| | |
| | | |
072102cf abstracted nework addresses (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |/
|/|
| |
| | |
Missed a crypto -> cncrypto rename
|
| |/ |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- 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`
|
| |\
| |
| |
| | |
62efe5f6 mlog: direct log category changes to file only (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| |/ |
|
| | |
|