summaryrefslogtreecommitdiff
path: root/src/common
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3712Riccardo Spagni2018-04-281-0/+1
|\ | | | | | | 4b89d877 Adding required library (dependency of boost::this_thread::sleep_for) (Gene Peters)
| * Adding required library (dependency of boost::this_thread::sleep_for)Gene Peters2018-04-261-0/+1
| |
* | util: log stack trace on crashmoneromooo-monero2018-04-121-0/+39
|/
* common: make this build with unbound 1.4.20moneromooo-monero2018-04-102-2/+5
| | | | Common on currently used distros
* Merge pull request #3313Riccardo Spagni2018-03-051-8/+15
|\ | | | | | | 43026822 Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windows (rbrunner7)
| * Wallet2 + CLI wallet: UTF-8 support for filenames and paths under Windowsrbrunner72018-02-251-8/+15
| |
* | Merge pull request #3277Riccardo Spagni2018-03-051-12/+60
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 0e7ad2e2 Wallet API: generalize 'bool testnet' to 'NetworkType nettype' (stoffu) af773211 Stagenet (stoffu) cc9a0bee command_line: allow args to depend on more than one args (stoffu) 55f8d917 command_line::get_arg: remove 'required' for dependent args as they're always optional (stoffu) 450306a0 command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318 (stoffu) 9f9e095a Use `genesis_tx` parameter in `generate_genesis_block`. #3261 (Jean Pierre Dudey)
| * | command_line: allow args to depend on more than one argsstoffu2018-03-051-9/+57
| | |
| * | command_line::get_arg: remove 'required' for dependent args as they're ↵stoffu2018-03-051-3/+3
| | | | | | | | | | | | always optional
| * | command line: allow has_arg to handle arg_descriptor<bool,false,true> #3318stoffu2018-03-051-4/+4
| |/
* / Correct spelling mistakes.Edward Betts2018-03-051-2/+2
|/
* Merge pull request #3249Riccardo Spagni2018-02-173-6/+17
|\ | | | | | | a4b50a6f handle ^D and ^C while password prompting (Jethro Grassie)
| * handle ^D and ^C while password promptingJethro Grassie2018-02-103-6/+17
| |
* | common: implement dynamic option dependencies mechanismwhythat2018-02-161-14/+11
| |
* | common: implement dependent option descriptorwhythat2018-02-161-5/+45
| |
* | Merge pull request #3226Riccardo Spagni2018-02-163-5/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4646379 keccak: fix mdlen bounds sanity checking (moneromooo-monero) 2e3e90ac pass large parameters by const ref, not value (moneromooo-monero) 61defd89 blockchain: sanity check number of precomputed hash of hash blocks (moneromooo-monero) 9af6b2d1 ringct: fix infinite loop in unused h2b function (moneromooo-monero) 8cea8d0c simplewallet: double check a new multisig wallet is multisig (moneromooo-monero) 9b98a6ac threadpool: catch exceptions in dtor, to avoid terminate (moneromooo-monero) 24803ed9 blockchain_export: fix buffer overflow in exporter (moneromooo-monero) f3f7da62 perf_timer: rewrite to make it clear there is no division by zero (moneromooo-monero) c6ea3df0 performance_tests: remove add_arg call stray extra param (moneromooo-monero) fa6b4566 fuzz_tests: fix an uninitialized var in setup (moneromooo-monero) 03887f11 keccak: fix sanity check bounds test (moneromooo-monero) ad11db91 blockchain_db: initialize m_open in base class ctor (moneromooo-monero) bece67f9 miner: restore std::cout precision after modification (moneromooo-monero) 1aabd14c db_lmdb: check hard fork info drop succeeded (moneromooo-monero)
| * | threadpool: catch exceptions in dtor, to avoid terminatemoneromooo-monero2018-02-022-1/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an exception is thrown, it is ignored. While this may hide a bug, this should only be system exceptions in boost, which is pretty unlikely. Morever, wait should be called manually before the dtor anyway. Add an error message if the dtor has to wait in case some such cases creep in so they get fixed. Coverity 182538
| * | perf_timer: rewrite to make it clear there is no division by zeromoneromooo-monero2018-02-021-4/+3
| |/ | | | | | | | | | | | | It could have happened if epee::misc_utils::get_ns_count is buggy, at a push Coverity 182561
* | Merge pull request #3225Riccardo Spagni2018-02-162-10/+20
|\ \ | | | | | | | | | 71806327 dns: change default DNS to a worldwide selection (moneromooo-monero)
| * | dns: change default DNS to a worldwide selectionmoneromooo-monero2018-02-082-10/+20
| |/ | | | | | | DNSSEC aware servers picked from https://wiki.ipfire.org/dns/public-servers
* | Merge pull request #3217Riccardo Spagni2018-02-161-2/+0
|\ \ | | | | | | | | | fde4489e wipeable_string: call memwipe directly (moneromooo-monero)
| * | wipeable_string: call memwipe directlymoneromooo-monero2018-01-311-2/+0
| |/ | | | | | | | | since the original reason for the indirect call (that memwipe was not in contrib) is now gone
* | Merge pull request #3180Riccardo Spagni2018-02-161-0/+9
|\ \ | | | | | | | | | | | | 1dfed567 Fixed #if instead of #ifdef (Matt Little) 7c442453 Support building cncrypto lib with msvc (Matt Little)
| * | Fixed #if instead of #ifdefMatt Little2018-01-271-3/+3
| | |
| * | Support building cncrypto lib with msvcMatt Little2018-01-251-0/+9
| | |
* | | rpc_client: Fix error handlingErik de Castro Lopo2018-01-291-8/+8
| |/ |/| | | | | | | Previous code was unable to distingush between a connection error and a communication error.
* | Merge pull request #3120Riccardo Spagni2018-01-272-9/+80
|\ \ | | | | | | | | | | | | 6cf56682 perf_timer: add faster x86_64 timers, and pause/resume (moneromooo-monero) 411da337 perf_timer: use std::unique_ptr instead of new/delete (moneromooo-monero)
| * | perf_timer: add faster x86_64 timers, and pause/resumemoneromooo-monero2018-01-152-7/+77
| | |
| * | perf_timer: use std::unique_ptr instead of new/deletemoneromooo-monero2018-01-151-2/+3
| |/
* | Readd copyright starting datexmr-eric2018-01-2612-12/+12
| |
* | Update 2018 copyrightxmr-eric2018-01-2635-35/+35
| |
* | Merge pull request #3084Riccardo Spagni2018-01-251-0/+17
|\ \ | | | | | | | | | 5f5a51a6 util: warn if unbound was not built with threads (moneromooo-monero)
| * | util: warn if unbound was not built with threadsmoneromooo-monero2018-01-081-0/+17
| | | | | | | | | | | | This can causes crashes in libunbound
* | | Merge pull request #3052Riccardo Spagni2018-01-251-9/+1
|\ \ \ | | | | | | | | | | | | d507167f Removed unused mac-specific output folder path (Maxithi)
| * | | Removed unused mac-specific output folder pathMaxithi2018-01-041-9/+1
| |/ /
* | | Merge pull request #3013Riccardo Spagni2018-01-251-0/+2
|\ \ \ | |_|/ |/| | | | | fe436eca apply_permutation.h: add #pragma once (moneromooo-monero)
| * | apply_permutation.h: add #pragma oncemoneromooo-monero2017-12-271-0/+2
| | |
* | | Merge pull request #3061Riccardo Spagni2018-01-101-1/+2
|\ \ \ | | | | | | | | | | | | fc041b58 common cmake: make sure translation_files.h is generated for i18n.cpp (stoffu)
| * | | common cmake: make sure translation_files.h is generated for i18n.cppstoffu2018-01-041-1/+2
| | |/ | |/|
* | | move memwipe to epee to avoid common<->crypto circular dependenciesmoneromooo-monero2018-01-104-197/+1
| | |
* | | epee: remove dependency on commonmoneromooo-monero2018-01-101-0/+1
|/ /
* | Merge pull request #2977Riccardo Spagni2018-01-021-1/+7
|\ \ | | | | | | | | | c70e8daa threadpool: fix deadlock in recursive waiter usage (moneromooo-monero)
| * | threadpool: fix deadlock in recursive waiter usagemoneromooo-monero2017-12-231-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a queued job uses a waiter, then we want to run that waiter's jobs in the current thread if all threads are busy, even if the queue is empty, since there is no guarantee that any thread will free up to take care of that new job, since all the threads might be running a job which spawns such a recursive job and will block till that recursive job is done, which it will never be since it relies on the queue being polled by one of those blocked threads.
* | | Merge pull request #2934Riccardo Spagni2018-01-021-13/+30
|\ \ \ | | | | | | | | | | | | db2bc965 Embed the translation files in the binary (Guillaume LE VAILLANT)
| * | | Embed the translation files in the binaryGuillaume LE VAILLANT2017-12-151-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a translation file exists in a "translations" directory located in the same directory as the binary, it is used in priority (this can be useful when working on translations as you don't have to recompile the whole program all the time), and if no such file is found the embedded translation file is used (if it exists).
* | | | only include the easylogging++ stack trace code when neededmoneromooo-monero2017-12-261-0/+3
| |_|/ |/| |
* | | Merge pull request #2929Riccardo Spagni2017-12-251-7/+49
|\ \ \ | | | | | | | | | | | | | | | | ae55bacd resumption support for updates using range requests (moneromooo-monero) fe0fae50 epee: add a get_file_size function (moneromooo-monero)
| * | | resumption support for updates using range requestsmoneromooo-monero2017-12-151-7/+49
| |/ /
* | | Merge pull request #2922Riccardo Spagni2017-12-252-3/+4
|\ \ \ | | | | | | | | | | | | | | | | a1d44f27 updates: use https for updates (moneromooo-monero) 472a93c8 download: SSL suport (moneromooo-monero)
| * | | updates: use https for updatesmoneromooo-monero2017-12-141-1/+1
| | | |