Patrick Lodder
06e4040717
refactor: remove DEBUG_LOCKORDER undefined behavior
...
Removes undefined behavior by refactoring the way we destruct
objects that track mutexes when debugging.
1. Prevent UB from LockData custom destructor by making it implicit
2. Replace the thread_specific_ptr holding the lock stack with a
static map that stores it per thread.
Also cleans up the aliasing to make the code better readable.
Backported from: 458992b0
8d8921ab
f511f61d
58e6881b
26c093a9
Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Co-authored-by: Wladimir J. van der Laan <laanwj@protonmail.com>
2024-04-17 09:56:15 -04:00
chromatic
27b08e8fd1
Merge pull request #3517 from patricklodder/ci/codeql-v3-dev
...
ci: update codeql to v3
2024-04-13 22:42:55 -07:00
Patrick Lodder
73d977b4d5
ci: update codeql to v3
2024-04-11 16:54:16 -04:00
Old Dip Tracker
497c6026fc
Merge pull request #3506 from danielw86dev/1.15.0-dev-fix-rebrand-koinu
...
fix: missing koinu string
2024-04-07 16:11:04 +02:00
chromatic
672018c33c
Merge pull request #3499 from danielw86dev/1.15.0-dev-add-rpc-uptime
...
rpc: add uptime (backport)
2024-04-03 17:49:28 -07:00
danielw86dev
45dd454e25
fix: mising koinu rebrand
2024-04-02 19:32:55 +02:00
Ricardo Velhote
69a7fc7cd6
[RPC] Add an uptime command that displays the amount of time that bitcoind has been running
...
Cherry-picked from: c07475294a
Resolved conflict:
- change path to qa\rpc-tests\uptime.py and qa\pull-tester\rpc-tests.py
- src\util.cpp
Manually executed:
- qa\rpc-tests\uptime.py: overridden setup_network(), skip connecting nodes
- doc\rpc-maturity.md: add uptime rpc
Co-Authored-By: danielw86dev <67072678+danielw86dev@users.noreply.github.com>
2024-04-02 13:37:27 +02:00
chromatic
6c0095bed1
Merge pull request #3488 from patricklodder/1.15-fs-wrapper
...
backport: fs wrapper
2024-03-27 16:03:22 -07:00
chromatic
3738a5311a
Merge pull request #3490 from patricklodder/1.15.0-const-comparator-operator
...
net: make IteratorComparator's operator const
2024-03-27 12:32:08 -07:00
chromatic
aefb848ef4
Merge pull request #3492 from patricklodder/1.15-ci-cxx14-experimental
...
ci: run experimental CIs with c++14
2024-03-27 11:58:40 -07:00
Old Dip Tracker
e249afc03e
Merge pull request #3362 from edtubbs/1.14.7-dev-freetype
...
depends: updated to freetype 2.11.0
2024-03-27 01:55:02 +01:00
Patrick Lodder
9134d9e090
ci: run experimental CIs with c++14
2024-03-25 21:16:00 -04:00
Ed Tubbs
97c64ffdba
depends: updated to freetype 2.11.0
2024-03-25 22:49:29 +00:00
Patrick Lodder
bcdcf24f35
net: make IteratorComparator's operator const
...
Although this is okay to be sloppy on c++11, it is not okay when
using c++17. See: https://cplusplus.github.io/LWG/issue2542
2024-03-24 22:24:06 -04:00
Wladimir J. van der Laan
b16ff7152c
torcontrol: Use fs::path instead of std::string for private key path
...
Cherry-picked from: 75594bd7f
2024-03-24 16:38:08 -04:00
Wladimir J. van der Laan
d1dba0ac38
Use fsbridge for fopen and freopen
...
Abstracts away how a path is opened to a `FILE*`.
Reduces the number of places where path is converted to a string
for anything else but printing.
Cherry-picked from: 2a5f5747
Conflicts:
- additional instances in bitcoin-tx.cpp and test/script_tests.cpp
2024-03-24 16:38:08 -04:00
Patrick Lodder
a2caaf1f99
rewire calls to boost::filesystem to use the fs wrapper
...
* replaces boost/filesystem includes with fs.h
* replaces boost::filesystem:: with fs::
* removes file-local fs namespace aliases
* removes unused includes from:
* net.h
* src/wallet/walletdb.cpp
* adds missing includes in:
* rpc/protocol.cpp
* test/dbwrapper_tests.cpp
* wallet/rpcutil.cpp
2024-03-24 16:38:08 -04:00
Wladimir J. van der Laan
e044c640b3
Add fs.cpp/h
...
Cherry-picked from: 19e36bbef
2024-03-24 16:38:04 -04:00
Old Dip Tracker
5eaff1e096
Merge pull request #3480 from spencerlepine/1.15.0-dev-typos
...
fix: minor typo corrections
2024-03-15 01:07:17 +01:00
Old Dip Tracker
fbc0c28b8b
Merge pull request #3479 from TailsFanLOL/patch-1
...
Fix a minor formatting mistake in build-unix.md
2024-03-14 15:31:42 +01:00
Spencer Lepine
346a51ca0a
fix: minor typo corrections
2024-03-13 15:07:17 -07:00
ApertureUA
1282bdbe66
Fix a minor formatting mistake in build-unix.md
...
[Minor Spelling Mistake, I Win](https://github-production-user-asset-6210df.s3.amazonaws.com/96183936/284324285-d9adcb91-4aa2-4fa1-bccc-c1a9235d4109.webm )
2024-03-13 15:49:34 +02:00
chromatic
ba6480d3c6
Merge pull request #3456 from patricklodder/1.15.0-iwyu-bench-1
...
bench: iwyu cleanup on non-test sources
2024-03-10 18:25:06 -07:00
Old Dip Tracker
ff8f573941
Merge pull request #3446 from slightlyskepticalpotat/1.14.7-dev
...
check numerus format in check-translations.py
2024-03-10 22:26:45 +01:00
Anthony Chen
b4d92e1062
add numerus format check to check-translations.py (translation linter)
...
[squash] check for child elements/lack thereof under translation elements
[squash] add context for changes
2024-03-08 20:11:50 -05:00
Old Dip Tracker
5a23f008fa
Merge pull request #3462 from chromatic/1.15.0-dev-remove-qt4-ifdefs
...
Remove Qt 4 ifdefs
2024-03-09 01:01:28 +01:00
chromatic
0b67cfb0dd
Merge pull request #3465 from patricklodder/1.15.0-remove-qt4-m4
...
build: remove qt4 from macros
2024-03-08 14:39:56 -08:00
Old Dip Tracker
30990b082e
Merge pull request #3473 from cuinix/master
...
fix some typos in comments
2024-03-08 21:24:36 +01:00
chromatic
3e18b4c002
Remove Qt 4 ifdefs
...
Everything that remains should assume at least Qt 5.0 now.
2024-03-07 14:31:45 -08:00
cuinix
aab8209f14
fix some typos in comments
...
Signed-off-by: cuinix <915115094@qq.com>
2024-03-07 13:54:32 +08:00
chromatic
36b8b7a618
Merge pull request #3467 from patricklodder/1.15.0-update-ci-internals
...
ci: update actions to v4
2024-03-04 23:10:20 -08:00
chromatic
bab1bfc398
Merge pull request #3458 from patricklodder/1.15.0-choose-std
...
build: allow c++14 standard to be used for compilation
2024-03-03 18:56:41 -08:00
Patrick Lodder
6c1ef79fc6
ci: update actions to v4
...
see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
2024-03-02 16:54:45 -05:00
Patrick Lodder
303d9217cf
build: remove qt4
...
Removes qt4 from bitcoin_qt.m4, so that the build fails at
configuration when no qt5 is found.
2024-03-02 14:02:48 -05:00
chromatic
800e7b8217
Merge pull request #3453 from patricklodder/1.15.0-open
...
open 1.15.0 for development
2024-02-29 17:19:18 -08:00
Patrick Lodder
b99be14963
build: allow c++14 standard to be used for compilation
...
This will allow testing the codebase against newer standards and
increase compatibility with newer dependencies.
2024-02-29 10:43:32 -05:00
Patrick Lodder
02bdb6f300
bench: iwyu cleanup on non-test sources
2024-02-28 16:07:04 -05:00
Patrick Lodder
fc01ebd202
open 1.15.0 for development
2024-02-28 14:04:25 -05:00
chromatic
a6d1220136
Merge pull request #3448 from patricklodder/1.14.7-fixate
...
fixate 1.14.7 for release
v1.14.7
2024-02-27 13:43:13 -08:00
chromatic
4578a5da20
Merge pull request #3442 from patricklodder/1.14.7-initial-release-notes
...
1.14.7 release notes
2024-02-27 10:58:08 -08:00
Patrick Lodder
2fd8d58ad5
fixate 1.14.7 for release
2024-02-27 11:13:31 -05:00
Patrick Lodder
2bcf85c6f7
1.14.7 release notes
2024-02-27 10:26:20 -05:00
Old Dip Tracker
09ef9f15e6
Merge pull request #3441 from daank-c/translate-fr_CA
...
Update to French-Canadian Translations
2024-02-27 02:35:48 +01:00
Old Dip Tracker
9bda86eb3f
Merge pull request #3411 from chromatic/update-windows-build-guide
...
Add minor WSL building updates
2024-02-27 02:20:57 +01:00
chromatic
f0cdbf9e01
Merge pull request #3447 from patricklodder/1.14.7-update-copyright
...
update in-line copyright years
2024-02-26 12:08:39 -08:00
Old Dip Tracker
50a1a00aca
Merge pull request #3431 from danielw86dev/1.14.7-dev-translate-pl
...
Update of Polish Translation
2024-02-26 00:51:40 +01:00
Old Dip Tracker
8edc66c35b
Merge pull request #3434 from FierceSkit/Update-build-fedora.md
...
Update build fedora.md
2024-02-26 00:50:55 +01:00
shibe
4c34f9591f
Update to French-Canadian Translations
...
- Initial update to bitcoin_fr_CA.ts
- Small fixes, including typos and minor syntax errors
- Improved translation to better reflect common usage in French-Canadian context
- Minor improvements to translation, including fixing a typo and updating wording
2024-02-25 19:03:48 -04:00
Patrick Lodder
bf80b6d843
add missing copyright headers
2024-02-25 13:13:40 -05:00
Patrick Lodder
7237da74b8
update inline copyright years
...
adds a line when no copyright for Dogecoin Core Developers exists
but the file has been edited by us, to the last year found in git
log, or extends the year range on an existing line when a file
has been modified since the year previously listed.
Excludes subtrees.
2024-02-25 13:12:26 -05:00