385 Commits

Author SHA1 Message Date
j-berman
c01e1fa288 Fix logging deadlock 2025-11-11 10:43:39 -08:00
tobtoht
b591866fcf Merge pull request #10065
179c924 Fix logging lock, future optimizations may needed (Lee *!* Clagett)
2025-09-24 20:53:02 +00:00
selsta
b74ca72bad cmake: set minimum to 3.10 to fix warnings 2025-09-08 20:12:45 +02:00
Lee *!* Clagett
179c924c51 Fix logging lock, future optimizations may needed 2025-09-02 11:18:45 -04:00
tobtoht
b81b387606 easylogging: replace NULL with empty string literal 2025-03-27 10:48:51 +01:00
tobtoht
7ea8bcdc91 Merge pull request #9808
446d9622f logging: Generalize terminal color detection (iamamyth)
2025-03-24 14:06:18 +00:00
iamamyth
446d9622f8 logging: Generalize terminal color detection
Assume the terminal supports color codes if TERM ends with `-color` or
`-256color`, rather than special-casing a handful of such terminals.

Add tests for terminal color detection.

Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
2025-03-24 11:07:33 -07:00
tobtoht
f2d765afc4 Merge pull request #9809
8c43e33e3 logging: Fix easylogging++ init with blank config (iamamyth)
2025-03-24 03:02:46 +00:00
iamamyth
8c43e33e35 logging: Fix easylogging++ init with blank config
The upstream version of el::base::TypedConfigurations::unsafeGetConfigByRef
accesses uninitialized memory if a key doesn't exist.
Commit b2c59af84d patched the library to
throw in this case, avoiding the invalid access, but the more suitable
pattern, both logically, and as evidenced by the behavior of
unsafeGetConfigByVal, would be to return a const reference to a
default-initialized value with static storage duration.
2025-02-19 15:02:08 -08:00
tobtoht
e250841a35 cmake: remove msvc 2025-02-09 11:43:57 +01:00
tobtoht
e38c175d92 gtest: add submodule 2025-01-19 12:31:02 +01:00
tobtoht
ad72b1307f trezor: vendor trezor-common 2025-01-16 13:03:58 +01:00
tobtoht
5cffab8dd6 miniupnpc: fix build with gcc 14 2025-01-07 15:59:07 +01:00
copyCat
341771ac3e copyright: bump to 2024 2024-05-21 16:29:33 +00:00
luigi1111
053ba2cf07 Merge pull request #9026
9dc10bb Update RandomX to 1.2.1 (tevador)
2023-10-25 21:40:59 -04:00
luigi1111
829c8f0ff9 Merge pull request #8972
f70d65c ea_config: define ELPP_FEATURE_CRASH_LOG for freebsd (teknosquet)
2023-10-25 21:36:09 -04:00
tevador
9dc10bb223 Update RandomX to 1.2.1 2023-10-20 20:46:36 +02:00
Dusan Klinec
c444a7e002 trezor: support v2.5.2+, add more trezor tests, fix chaingen and tests
- passphrase logic: remove backward compatibility for 2.4.3, code cleanup.
- fix LibUSB cmake for static builds on OSX
- tests: all tests now work with passphrase logic enabled. Passphrase test added with different passphrase. no_passphrase test added, Trezor pin test added. Testing wallet opening with correct and incorrect passphrase. Trezor test chain revamp, cleanup. Smaller chain, chain file versioning added.
- tests: Trezor tests support TEST_MINING_ENABLED, TEST_MINING_TIMEOUT env vars to change mining-related tests behaviour.
- requires protobuf@21 on osx for now (c++14), building with unlinked protobuf: `CMAKE_PREFIX_PATH=$(find /opt/homebrew/Cellar/protobuf@21 -maxdepth 1 -type d -name "21.*" -print -quit) \
make debug-test-trezor -j8`
2023-09-30 09:01:10 +02:00
teknosquet
f70d65c8bc ea_config: define ELPP_FEATURE_CRASH_LOG for freebsd
Signed-off-by: teknosquet <teknosquet@danwin1210.de>
2023-08-14 02:36:14 -05:00
luigi1111
9bf06ea75d Merge pull request #8698
5b4fea7 Copyright: Update to 2023 (mj-xmr)
2023-04-25 11:12:56 -04:00
mj-xmr
5b4fea72cf Copyright: Update to 2023
Co-authored-by: plowsof <plowsof@protonmail.com>
extra files
2023-01-16 13:00:18 +01:00
moneromooo-monero
bfd7c00ced heed NO_COLOR environment variable 2023-01-01 10:24:46 +00:00
selsta
85e697fa7b randomx: update submodule 2022-07-24 17:38:59 +02:00
luigi1111
aa0b4fc7cc Merge pull request #8358
fb3f7ce clang warning fix for #8338 (Jeffrey Ryan)
2022-07-03 17:28:13 -05:00
luigi1111
30a9183091 Merge pull request #7774
ade464a ITS#9385 fix using MDB_NOSUBDIR with nonexistent file (Kris Zyp)
033a32a Remove check is_directory check on lmdb path (Howard Chu)
b096e16 Revert 'db_lmdb: test for mmap support at init time' (Howard Chu)
493577a Silence spurious fallthru warning (Howard Chu)
b46a60e Fix rawpart flag collision (Howard Chu)
4e7586c More RAWPART support (Howard Chu)
747f5d3 Preliminary raw partition support (Howard Chu)
2022-07-03 17:24:47 -05:00
Kris Zyp
ade464a5a0 ITS#9385 fix using MDB_NOSUBDIR with nonexistent file 2022-06-03 16:46:59 +01:00
Howard Chu
493577a6cd Silence spurious fallthru warning 2022-06-03 16:46:18 +01:00
Howard Chu
b46a60e390 Fix rawpart flag collision 2022-06-03 16:46:04 +01:00
Howard Chu
4e7586c9e4 More RAWPART support
Use mmap to read and initialize the meta pages, raw device
may not support read/write syscalls.
2022-06-03 16:45:49 +01:00
Howard Chu
747f5d3594 Preliminary raw partition support
Autodetects that a block device is being used.
2022-06-03 16:45:39 +01:00
Jeffrey Ryan
fb3f7cebbf clang warning fix for #8338
Unlike some other warnings, clang does not have a `stringop-overflow` group so it doesn't recognize the `#pragma GCC ...` directive in #8338
2022-05-27 20:27:46 -05:00
Jeffrey Ryan
5858f05f9b GCC: Fix -Wstringop-overflow= warnings
Resolves #8320
2022-05-16 19:13:02 -05:00
Howard Chu
c1d47eb476 Update randomx: fix Mac linking error
Also silence randomx malloc exceptions
2022-05-10 21:05:55 +01:00
selsta
c68d78dde0 randomx: update submodule 2022-04-06 07:22:14 +02:00
Jethro Grassie
22b891c80e Update RandomX 2021-11-20 00:01:30 -05:00
tevador
e0a5dce14f Update RandomX to v1.1.10 2021-11-08 20:51:50 +01:00
luigi1111
6b824c9ed0 Merge pull request #7945
4afd9a7 cmake: set required C/C++ standard to 11 (selsta)
2021-09-23 22:22:42 -05:00
moneromooo-monero
807cbcdbf8 easylogging++: fix missing logs 2021-09-23 20:29:22 +00:00
selsta
4afd9a7a9e cmake: set required C/C++ standard to 11
Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
2021-09-16 10:44:25 +02:00
luigi1111
acfe3f8ded Merge pull request #7828
b2c59af EasyLogging++: new anti-UB test and propagating exception (mj-xmr)
2021-09-09 15:16:06 -04:00
selsta
ae85ec0285 external: remove unbound submodule 2021-09-03 07:47:35 +02:00
mj-xmr
b2c59af84d EasyLogging++: new anti-UB test and propagating exception 2021-08-03 17:10:21 +02:00
luigi1111
e028591336 Merge pull request #7380
8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
2021-06-24 13:57:53 -05:00
luigi1111
4e07c8cbbc Merge pull request #7733
cd8901c randomx: bump submodule to v1.1.9 (selsta)
2021-06-16 14:39:51 -05:00
selsta
cd8901cc01 randomx: bump submodule to v1.1.9 2021-05-22 23:12:23 +02:00
mj-xmr
a4a154b0e2 CMake: glob missing headers for easylogging 2021-05-14 14:18:16 +02:00
selsta
cbd54ea524 cmake: set 3.5 as minimum version 2021-04-27 11:02:05 +02:00
luigi1111
215976beba Merge pull request #7656
5fe22ac ITS#9496 fix mdb_env_open bug from #8704 (hyc)
2021-04-22 01:43:18 -04:00
luigi1111
6d7bb2b8ba Merge pull request #7643
19ed7ab Test: Enable coverage for external repositories (mj-xmr)
2021-04-22 01:34:26 -04:00
luigi1111
4ca80bd312 Merge pull request #7641
a16328e easylogging++: in place log sanitization (moneromooo-monero)
2021-04-16 12:49:00 -05:00