aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #3313Riccardo Spagni2018-03-051-1/+2
|\ | | | | | | 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-1/+2
| |
* | Correct spelling mistakes.Edward Betts2018-03-051-1/+1
| |
* | Code modifications to integrate Ledger HW device into monero-wallet-cli.cslashm2018-03-041-0/+9
|/ | | | | | | | | | | | | | | | | | | The basic approach it to delegate all sensitive data (master key, secret ephemeral key, key derivation, ....) and related operations to the device. As device has low memory, it does not keep itself the values (except for view/spend keys) but once computed there are encrypted (with AES are equivalent) and return back to monero-wallet-cli. When they need to be manipulated by the device, they are decrypted on receive. Moreover, using the client for storing the value in encrypted form limits the modification in the client code. Those values are transfered from one C-structure to another one as previously. The code modification has been done with the wishes to be open to any other hardware wallet. To achieve that a C++ class hw::Device has been introduced. Two initial implementations are provided: the "default", which remaps all calls to initial Monero code, and the "Ledger", which delegates all calls to Ledger device.
* Merge pull request #3195Riccardo Spagni2018-02-161-7/+21
|\ | | | | | | 9017084a cmake: add -DHAVE_ defines to the command line (moneromooo-monero)
| * cmake: add -DHAVE_ defines to the command linemoneromooo-monero2018-01-281-7/+21
| | | | | | | | since there's no config.h here
* | Update 2018 copyrightxmr-eric2018-01-261-1/+1
|/
* epee: detect strptime, use std::get_time as fallbackmoneromooo-monero2018-01-111-0/+4
|
* Merge pull request #3062Riccardo Spagni2018-01-101-1/+5
|\ | | | | | | f035478d Fix translations header generation when cross-compilating (Guillaume LE VAILLANT)
| * Fix translations header generation when cross-compilatingGuillaume LE VAILLANT2018-01-041-1/+5
| | | | | | | | | | | | Define generate_translations_header as an external project to be able to use the compilation toolchain for the host instead of the toolchain for the target.
* | Merge pull request #3007Riccardo Spagni2018-01-101-1/+1
|\ \ | | | | | | | | | 0281f634 cmake: fix boost version detection (moneromooo-monero)
| * | cmake: fix boost version detectionmoneromooo-monero2017-12-261-1/+1
| | |
* | | Merge pull request #2993Riccardo Spagni2018-01-101-7/+83
|\ \ \ | |_|/ |/| | | | | 776b44f1 Add misc hardening flags to the cmake machinery (moneromooo-monero)
| * | Add misc hardening flags to the cmake machinerymoneromooo-monero2017-12-311-7/+83
| |/ | | | | | | See https://wiki.debian.org/Hardening#User_Space
* | Merge pull request #2934Riccardo Spagni2018-01-021-0/+4
|\ \ | |/ |/| | | db2bc965 Embed the translation files in the binary (Guillaume LE VAILLANT)
| * Embed the translation files in the binaryGuillaume LE VAILLANT2017-12-151-0/+4
| | | | | | | | | | | | | | | | 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).
* | fuzz_testing: build with ASAN (assumed to be available)moneromooo-monero2017-12-231-0/+10
| |
* | add a memwipe functionmoneromooo-monero2017-11-271-0/+8
|/ | | | | | It's meant to avoid being optimized out memory_cleanse lifted from bitcoin
* Merge pull request #2793Riccardo Spagni2017-11-251-1/+1
|\ | | | | | | 3501ed1f Do not require libatomic on FreeBSD (Vasil Dimov)
| * Do not require libatomic on FreeBSDVasil Dimov2017-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f3e09f36 hooked a dependency on libatomic on 32 bit machines if Clang is used because compilation failed with: `std::__atomic_base<unsigned long long>::load(std::memory_order) const': /usr/bin/../lib/gcc/i686-pc-linux-gnu/6.1.1/../../../../include/c++/6.1.1/bits/atomic_base.h:396: undefined reference to `__atomic_load_8' But that does not happen on FreeBSD. The problem is likely that on Linux Clang tries to use GCC-provided C++11 library. Further, __atomic_load_8() (for 8-byte integers) is not readily available on 32 bit machines. From https://gcc.gnu.org/wiki/Atomic/GCCMM: "When lock free instructions are not available (either through hardware or OS support) atomic operations are left as function calls to be resolved by a library."
* | Merge pull request #2736Riccardo Spagni2017-11-141-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d9c0db9 Do not build against epee_readline if it was not built (Howard Chu) 178014c9 split off readline code into epee_readline (moneromooo-monero) a9e14a19 link against readline only for monerod and wallet-wallet-{rpc,cli} (moneromooo-monero) 437421ce wallet: move some scoped_message_writer calls from the libs (moneromooo-monero) e89994e9 wallet: rejig to avoid prompting in wallet2 (moneromooo-monero) ec5135e5 move input_line from command_line to simplewallet (moneromooo-monero) 082db75f move cryptonote command line options to cryptonote_core (moneromooo-monero)
| * | Do not build against epee_readline if it was not builtHoward Chu2017-11-141-0/+1
| | |
| * | link against readline only for monerod and wallet-wallet-{rpc,cli}moneromooo-monero2017-11-141-1/+0
| |/
* / make this build on SunOS/SolarisPavel Maryanov2017-11-141-0/+6
|/
* Merge pull request #2694Riccardo Spagni2017-11-091-2/+0
|\ | | | | | | | | 11e0deef cmake: add dep of version lib on version.cpp (redfish) 35340259 .gitignore: do not ignore cmake source files (redfish)
| * cmake: add dep of version lib on version.cppredfish2017-10-201-2/+0
| | | | | | | | Also, move cmake source files into cmake/ to keep them together.
* | Merge pull request #2689Riccardo Spagni2017-11-011-0/+8
|\ \ | | | | | | | | | 6a90506a Link against libpgm/libnorm if found, optional libzmq ldependencies (moneromooo-monero)
| * | Link against libpgm/libnorm if found, optional libzmq ldependenciesmoneromooo-monero2017-10-211-0/+8
| |/
* / epee: use boost type for SSL error coderedfish2017-10-171-0/+5
|/ | | | | | | | | | | | | | | Fixes compile error when building with OpenSSL v1.1: contrib/epee/include/net/net_helper.h: In member function ‘void epee::net_utils::blocked_mode_client::shutdown_ssl()’: contrib/epee/include/net/net_helper.h:579:106: error: ‘SSL_R_SHORT_READ’ was not declared in this scope if (ec.category() == boost::asio::error::get_ssl_category() && ec.value() != ERR_PACK(ERR_LIB_SSL, 0, SSL_R_SHORT_READ)) ^ contrib/epee/include/net/net_helper.h:579:106: note: suggested alternative: ‘SSL_F_SSL_READ’ See boost/asio/ssl/error.hpp. Boost handles differences between OpenSSL versions. cmake: fail if Boost is too old for OpenSSL v1.1
* Merge pull request #2613Riccardo Spagni2017-10-151-9/+3
|\ | | | | | | 2051f89f cmake: build tests last (redfish)
| * cmake: build tests lastredfish2017-10-081-9/+3
| | | | | | | | Keep -Werror for src, contrib and do not pass it for tests/
* | Merge pull request #2600Riccardo Spagni2017-10-151-1/+4
|\ \ | | | | | | | | | 885c773a cmake: print which stack trace lib is used (redfish)
| * | cmake: print which stack trace lib is usedredfish2017-10-071-1/+4
| |/ | | | | | | | | To avoid the suprize of stack tracing being enabled but libunwind not being linked in.
* | Merge pull request #2583Riccardo Spagni2017-10-151-1/+5
|\ \ | | | | | | | | | 27fdaaa4 Fix building with -DARCH=default -DNO_AES=ON (moneromooo-monero)
| * | Fix building with -DARCH=default -DNO_AES=ONmoneromooo-monero2017-10-061-1/+5
| |/
* | epee http_client SSL supportJaquee2017-10-151-1/+1
| |
* | CMakeLists.txt - Add openssl include dirJaquee2017-10-151-0/+2
|/
* Merge pull request #2486Riccardo Spagni2017-09-251-7/+7
|\ | | | | | | 8b1acc9a Fix OpenSSL 1.1 detection for static builds (hyc)
| * Fix OpenSSL 1.1 detection for static buildshyc2017-09-201-7/+7
| |
* | Merge pull request #2485Riccardo Spagni2017-09-251-1/+6
|\ \ | | | | | | | | | a3691ae3 daemon: fix static building with libzmq (iDunk5400)
| * | daemon: fix static building with libzmqiDunk54002017-09-231-1/+6
| |/
* | Merge pull request #2442Riccardo Spagni2017-09-251-1/+1
|\ \ | | | | | | | | | e29282d2 build: auto update version info without manually deleting version.h (stoffu)
| * | build: auto update version info without manually deleting version.hstoffu2017-09-211-1/+1
| |/
* | cmake: make warning about headers not fatalredfish2017-09-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning issued on older boost and/or OS: In file included from /usr/include/boost/asio/detail/socket_types.hpp:61:0, from /usr/include/boost/asio/detail/epoll_reactor.hpp:30, from /usr/include/boost/asio/detail/reactor.hpp:21, from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24, from /usr/include/boost/asio/detail/task_io_service.hpp:198, from /usr/include/boost/asio/impl/io_service.hpp:71, from /usr/include/boost/asio/io_service.hpp:767, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket.hpp:20, from /usr/include/boost/asio/basic_datagram_socket.hpp:20, from /usr/include/boost/asio.hpp:21, from /home/vagrant/slave/monero-static-alpine-3_5-x86_64/build/src/common/download.cpp:32: /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp] #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
* | cmake: fix setting of -Werrorredfish2017-09-241-12/+6
|/ | | | | | | | | | | | | | | Setting COMPILE_FLAGS (or COMPILE_OPTIONS) property directly does not end up on the command line (even though it should because add_compile_options does just that). Also, set -Werror for tests as well, because no warnings now. Not set for 'external' only because simply moving add_compile_options above add_subdirectory(external) doesn't do it, and moving add_usbdirectory down is too big of a change (it will pick up new flags). -Werror set only for GCC on Linux, since warnings not yet cleared for other compilers/systems.
* Fix various oversights/bugs in ZMQ RPC server codeThomas Winget2017-09-051-0/+8
| | | | | | | | | - Add some RPC commands (and touch up a couple others) - some bounds checking - some better pointer management - const correctness and error handling -- Thanks @vtnerd for type help with serialization and CMake changes
* json serialization for rpc-relevant monero typesThomas Winget2017-09-051-0/+2
| | | | | | | | | | | Structured {de-,}serialization methods for (many new) types which are used for requests or responses in the RPC. New types include RPC requests and responses, and structs which compose types within those. # Conflicts: # src/cryptonote_core/blockchain.cpp
* CMakeLists.txt - ios/xcode fixJaquee2017-08-051-0/+3
|
* enable monero build on ppc64le architectureRoberto Oliveira2017-06-271-1/+9
| | | | | | Fix wrong flags for ppc64le: -maes - not avaiable -march - changed by -mcpu that does the same for powerpc
* Add readline support to clijethro2017-06-181-0/+13
| | | | | | | | | | | | | | | | | 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.