aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Added features to epee::span<T> :Lee Clagett2018-08-031-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | - Support for classes - Added `remove_prefix` function - Added `to_mut_span` and `as_mut_byte_span`
* | | | Merge pull request #4306Riccardo Spagni2018-09-183-2/+21
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 56b50faa wallet: use wipeable_string in more places where a secret is used (moneromooo-monero) 07ec748c wipeable_string: add hex_to_pod function (moneromooo-monero)
| * | | | wipeable_string: add hex_to_pod functionmoneromooo-monero2018-09-123-2/+21
| | | | |
* | | | | Merge pull request #3430Riccardo Spagni2018-09-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 42397359 Fixup 32bit arm build (TheCharlatan) a06d2581 Fix Windows build (TheCharlatan) ecaf5b3f Add libsodium to the packages, the arm build was complaining about it. (TheCharlatan) cbbf4d24 Adapt translations to upstream changes (TheCharlatan) db571546 Updated pcsc url (TheCharlatan) f0ba19fd Add lrelease to the depends (TheCharlatan) cfb30462 Add Miniupnp submodule (TheCharlatan) 5f7da005 Unbound is now a submodule. Adapt depends for this. (TheCharlatan) d6b9bdd3 Update readmes to reflect the usage of depends (TheCharlatan) 56b6e41e Add support for apple and arm building (TheCharlatan) 29311fd1 Disable stack unwinding for mingw32 depends build. (TheCharlatan) 8db3d573 Modify depends for monero's dependencies (TheCharlatan) 0806a23a Initial depends addition (TheCharlatan)
| * | | | | Modify depends for monero's dependenciesTheCharlatan2018-09-101-1/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add readline, ldns, graphviz, unbound to depends packages Add a cmake toolchain file to depends that is uniquely created for every build and placed in triple/share/toolchain.cmake This file is then passed to cmake with -DCMAKE_TOOLCHAIN_FILE=/path/to/triple/share/toolchain.cmake Add the boost locale package to depends In the depends cmake toolchain file, a DEPENDS flag is added to exclude, or change cmake checks done that are required for depends Link miniupnpc and unwind from depends and not external Add libiconv and icu4c to depends, required for mingw32 builds. Headers (winsock) need to be lower case in order to compile on unix systems. This should not affect building on windows.
* | | | | Merge pull request #4307Riccardo Spagni2018-09-141-4/+20
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | 4469b0c4 abstract_tcp_server2: fix binding to the wrong IP (moneromooo-monero) 8eab6147 epee: use the socket::bind variant which does not throw (moneromooo-monero)
| * | | | abstract_tcp_server2: fix binding to the wrong IPmoneromooo-monero2018-09-091-4/+4
| | | | |
| * | | | epee: use the socket::bind variant which does not throwmoneromooo-monero2018-08-271-2/+18
| |/ / / | | | | | | | | | | | | | | | | When this throws in a loop, stack trace generation can take a significant amount of CPU
* | | | Merge pull request #4270luigi11112018-09-042-1/+14
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 29dea03 epee: resize vectors where possible in serialization (moneromooo-monero) 76affd9 epee: some speedup in parsing (moneromooo-monero) dc6c069 db_lmdb: speedup the get_output_distribution common case (moneromooo-monero) 76ac5a8 wallet2: ask for a binary output distribution, for speed (moneromooo-monero)
| * | | epee: some speedup in parsingmoneromooo-monero2018-08-191-1/+8
| | | |
| * | | epee: resize vectors where possible in serializationmoneromooo-monero2018-08-171-0/+6
| | | | | | | | | | | | | | | | to avoid unnecessary repeated reallocation
* | | | Merge pull request #4179luigi11112018-08-221-1/+3
|\ \ \ \ | | | | | | | | | | | | | | | 262e391 mlog: handle filenames without parent directories (moneromooo-monero)
| * | | | mlog: handle filenames without parent directoriesmoneromooo-monero2018-07-261-1/+3
| | |/ / | |/| | | | | | | | | | | | | | | | | | eg, --log-file=foo.log This would otherwise throw and crash with a stack overflow
* | | | common: add a class to safely wrap mlock/munlockmoneromooo-monero2018-08-164-1/+277
| | | | | | | | | | | | | | | | | | | | | | | | This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks.
* | | | store secret keys encrypted where possiblemoneromooo-monero2018-08-161-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The secret spend key is kept encrypted in memory, and decrypted on the fly when needed. Both spend and view secret keys are kept encrypted in a JSON field in the keys file. This avoids leaving the keys in memory due to being manipulated by the JSON I/O API.
* | | | wallet: wipe seed from memory where appropriatemoneromooo-monero2018-08-165-6/+194
| |/ / |/| |
* | | Merge pull request #4177luigi11112018-08-151-0/+1
|\ \ \ | | | | | | | | | | | | e7c0fcd epee: set jsonrpc to '2.0' in parse error return data (moneromooo-monero)
| * | | epee: set jsonrpc to "2.0" in parse error return datamoneromooo-monero2018-07-251-0/+1
| |/ /
* | | Merge pull request #4130luigi11112018-08-152-1/+9
|\ \ \ | | | | | | | | | | | | 979105b abstract_tcp_server2: fix race on shutdown (moneromooo-monero)
| * | | abstract_tcp_server2: fix race on shutdownmoneromooo-monero2018-07-152-1/+9
| |/ /
* | | Merge pull request #4090luigi11112018-08-151-5/+13
|\ \ \ | | | | | | | | | | | | | | | | 42f3b7c http_protocol_handler: catch invalid numbers when parsing (moneromooo-monero) 0a4a7da http_protocol_handler: fix HTTP/x.y parsing (moneromooo-monero)
| * | | http_protocol_handler: fix HTTP/x.y parsingmoneromooo-monero2018-07-031-1/+1
| | | | | | | | | | | | | | | | It was accepting any character for the dot (yeah, massive big I know)
| * | | http_protocol_handler: catch invalid numbers when parsingmoneromooo-monero2018-07-031-4/+12
| | | |
* | | | memwipe: don't call the workhorse for 0 bytesmoneromooo-monero2018-07-101-3/+5
| |/ / |/| | | | | | | | Some of them don't like it
* | | Merge pull request #4080Riccardo Spagni2018-07-031-2/+2
|\ \ \ | | | | | | | | | | | | dead780f abstract_tcp_server2: fix use after free (moneromooo-monero)
| * | | abstract_tcp_server2: fix use after freemoneromooo-monero2018-06-291-2/+2
| |/ /
* | | Merge pull request #3997Riccardo Spagni2018-07-031-4/+19
|\ \ \ | |/ / |/| | | | | 1a526ed5 abstract_tcp_server2: restart async accept on error (moneromooo-monero)
| * | abstract_tcp_server2: restart async accept on errormoneromooo-monero2018-06-181-4/+19
| |/
* | epee.string_tools: add conversion between UTF-8 and UTF-16stoffu2018-06-282-15/+45
| |
* | Merge pull request #3972luigi11112018-06-251-1/+2
|\ \ | | | | | | | | | 8766528 epee: fallback to a counter if gmtime fails when rotating logs (moneromooo-monero)
| * | epee: fallback to a counter if gmtime fails when rotating logsmoneromooo-monero2018-06-091-1/+2
| |/
* | Merge pull request #3971luigi11112018-06-251-1/+1
|\ \ | | | | | | | | | 4ecf714 epee: fix include for ofstream (moneromooo-monero)
| * | epee: fix include for ofstreammoneromooo-monero2018-06-091-1/+1
| |/
* | Merge pull request #3962luigi11112018-06-254-19/+75
|\ \ | | | | | | | | | 55c7fb8 epee: adaptive connection timeout system (moneromooo-monero)
| * | epee: adaptive connection timeout systemmoneromooo-monero2018-06-104-19/+75
| |/ | | | | | | | | | | | | | | | | | | | | a connection's timeout is halved for every extra connection from the same host. Also keep track of when we don't need to use a connection anymore, so we can close it and free the resource for another connection. Also use the longer timeout for non routable local addresses.
* | Merge pull request #3902luigi11112018-06-201-1/+1
|\ \ | | | | | | | | | | | | f8dd433 epee: fix detection of 172.16.0.0/172.31.255.255 local IP range (moneromooo-monero) 5db9e3c unit_tests: add tests for local IP range detection (moneromooo-monero)
| * | epee: fix detection of 172.16.0.0/172.31.255.255 local IP rangemoneromooo-monero2018-06-011-1/+1
| |/
* | Merge pull request #3897luigi11112018-06-202-3/+53
|\ \ | | | | | | | | | 63d0ab0 mlog: --max-log-files to set the max number of rotated log files (stoffu)
| * | mlog: --max-log-files to set the max number of rotated log filesstoffu2018-06-132-3/+53
| |/
* | Merge pull request #3878luigi11112018-06-191-3/+3
|\ \ | | | | | | | | | 5a412b7 disable file size sanity check when loading the wallet cache (moneromooo-monero)
| * | disable file size sanity check when loading the wallet cachemoneromooo-monero2018-05-281-3/+3
| | |
* | | Merge pull request #3821luigi11112018-06-191-1/+1
|\ \ \ | | | | | | | | | | | | | | | | 558d05b epee: log type name when a container size check fails (moneromooo-monero) a2566db object_sizes: add a few useful types (moneromooo-monero)
| * | | epee: log type name when a container size check failsmoneromooo-monero2018-05-171-1/+1
| |/ /
* | / wallet-rpc: added IPs to error logging in simple_http_connection_handlerjcktm2018-06-132-18/+18
| |/ |/|
* | http_protocol_handler: limit the number of starting newlinesmoneromooo-monero2018-05-273-1/+12
| |
* | abstract_tcp_server2: timeout on RPC connectionsmoneromooo-monero2018-05-262-1/+68
| |
* | http_protocol_handler: speedup newline discardingmoneromooo-monero2018-05-261-2/+5
| |
* | console_handler: fix start_default_console use of prompt parametermoneromooo-monero2018-05-261-3/+21
|/ | | | It had not been updated to the function type change
* Merge pull request #3667Riccardo Spagni2018-04-282-2/+4
|\ | | | | | | 53a1962d epee: Drop deprecated Boost.Thread header (Jan Beich)
| * epee: Drop deprecated Boost.Thread headerJan Beich2018-04-192-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from src/cryptonote_basic/hardfork.cpp:33: In file included from src/blockchain_db/blockchain_db.h:42: In file included from src/cryptonote_basic/hardfork.h:31: contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/rpc/daemon_handler.cpp:29: In file included from src/rpc/daemon_handler.h:36: In file included from src/p2p/net_node.h:41: In file included from contrib/epee/include/net/levin_server_cp2.h:32: In file included from contrib/epee/include/net/abstract_tcp_server2.h:324: contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found #include <boost/thread/v2/thread.hpp> // TODO ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ contrib/epee/include/math_helper.h: In member function 'bool epee::math_helper::average<val, default_base>::set_base()': contrib/epee/include/syncobj.h:227:56: error: 'sleep_for' is not a member of 'boost::this_thread' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~ contrib/epee/include/syncobj.h:227:56: note: suggested alternative: 'sleep' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^ contrib/epee/include/syncobj.h:227:56: note: in definition of macro 'CRITICAL_REGION_LOCAL' #define CRITICAL_REGION_LOCAL(x) {boost::this_thread::sleep_for(boost::chrono::milliseconds(epee::debug::g_test_dbg_lock_sleep()));} epee::critical_region_t<decltype(x)> critical_region_var(x) ^~~~~~~~~