forked from gridcoin-community/Gridcoin-Research
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added - net: Add and document network messages in protocol.h (backport) gridcoin-community#2533 (@Pythonix) - Define MAX_DIGITS_BTC for magic number in BitcoinUnits::format gridcoin-community#2555 (@barton2526) - rpc: Implementation of getmrcinfo gridcoin-community#2570 (@jamescowens) - init: Add init error message if -printtoconsole and -daemon specified simultaneously gridcoin-community#2571 (@jamescowens) - rpc: getmrcinfo part 2 - add calculated minimum fees and fee boosting and by CPID reporting gridcoin-community#2575 (@jamescowens) - fs: fully initialize `_OVERLAPPED` for win32 gridcoin-community#2587 (@div72) - util: Diagnose Lib Version #1 gridcoin-community#2573 (@MinaFarhan) - util: Implement core diagnostics #2 (@jamescowens) - util: modify Win32LockedPageAllocator to query windows for limit. gridcoin-community#2536 (@div72) - gui, voting: Implement information for wallet holder's votes on poll info cards gridcoin-community#2605 (@jamescowens) Changed - scripted-diff: Drop Darwin version for better maintainability gridcoin-community#2557 (@barton2526) - build: Require gcc8 on Ubuntu Bionic to enable C++17 features gridcoin-community#2579 (@barton2526) - util: Replace use of locale dependent atoi(…) with locale-independent std::from_chars(…) (C++17) gridcoin-community#2564 (@barton2526) - translation: Translation updates gridcoin-community#2581 (@jamescowens) - depends: update urls for dmg tools gridcoin-community#2583 (@div72) - Use ReadLE64 in uint256::GetUint64 instead of duplicating logic gridcoin-community#2586 (@div72) - util: Make Parse{Int,UInt}{32,64} use locale independent std::from_chars(…) (C++17) instead of locale dependent strto{l,ll,ul,ull} gridcoin-community#2592 (@barton2526) - build: don't set PORT=no in config.site gridcoin-community#2593 (@barton2526) - build: Replace `which` command with `command -v` gridcoin-community#2595 (@barton2526) - build: update ax_cxx_compile_stdcxx to serial 14 gridcoin-community#2596 (@barton2526) - gui: Changed the unlocked for staking only icons to green gridcoin-community#2598 (@delta1513) - gui: Translation updates gridcoin-community#2599 (@jamescowens) - build: update CI for linter and actions version gridcoin-community#2606 (@jamescowens) - gui: Update translations gridcoin-community#2608 (@jamescowens) Removed - refactor: remove unused c-string variant of atoi64() gridcoin-community#2562 (@barton2526) - refactor: Remove unused CDataStream::rdbuf method gridcoin-community#2585 (@div72) Fixed - net: Fix some benign races (backport) gridcoin-community#2532 (@Pythonix) - rpc: fix invalid parameter error codes for {sign,verify}message RPCs gridcoin-community#2556 (@barton2526) - build: Fix x86_64 <-> arm64 cross-compiling for macOS gridcoin-community#2560 (@barton2526) - rpc, mrc: Fix field name and initialization of mrc_fees_to_staker gridcoin-community#2567 (@jamescowens) - gui: Add missing resizeTableColumns to fix send address book column widths gridcoin-community#2569 (@jamescowens) - accrual: rebuild snapshot registry on corruption instead of crashing gridcoin-community#2577 (@div72) - doc: Fix link to MurmurHash3.cpp (moved from Google Code to Github) gridcoin-community#2584 (@div72) - fix help text for `revokebeacon` command gridcoin-community#2591 (@Pythonix) - util: Fix spelling error in gridcoinresearchd.cpp gridcoin-community#2590 (@jamescowens) - depends: always use correct ar for win qt build gridcoin-community#2588 (@div72) - util: Fix some bugs due to new implementation and change in BOINC dir handling (@jamescowens) - util: Diagnose lib - Implement changes to solve crash on some Boost 1.66 machines gridcoin-community#2597 (@jamescowens) - contrib: Check for `patch` command, Check for `wget` command gridcoin-community#2594 (@barton2526) - build: Check std::system for -[alert|block|wallet]notify gridcoin-community#2582 (@barton2526) - gui: Changed the wording on the tooltip for the address book gridcoin-community#2602 (@delta1513) - build: pass win32-dll to LT_INIT() gridcoin-community#2601 (@barton2526) - build: minor cleanups to native_clang package gridcoin-community#2600 (@barton2526) - util: restore translations to diagnostics gridcoin-community#2603 (@jamescowens) - refactor: Fix problems found by valgrind gridcoin-community#2607 (@jamescowens)
- Loading branch information
Showing
147 changed files
with
15,464 additions
and
11,060 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,8 @@ | |
# | ||
# Check for baseline language coverage in the compiler for the specified | ||
# version of the C++ standard. If necessary, add switches to CXX and | ||
# CXXCPP to enable support. VERSION may be '11' (for the C++11 standard) | ||
# or '14' (for the C++14 standard). | ||
# CXXCPP to enable support. VERSION may be '11', '14', '17', or '20' for | ||
# the respective C++ standard version. | ||
# | ||
# The second argument, if specified, indicates whether you insist on an | ||
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. | ||
|
@@ -36,13 +36,14 @@ | |
# Copyright (c) 2016, 2018 Krzesimir Nowak <[email protected]> | ||
# Copyright (c) 2019 Enji Cooper <[email protected]> | ||
# Copyright (c) 2020 Jason Merrill <[email protected]> | ||
# Copyright (c) 2021 Jörn Heusipp <[email protected]> | ||
# | ||
# Copying and distribution of this file, with or without modification, are | ||
# permitted in any medium without royalty provided the copyright notice | ||
# and this notice are preserved. This file is offered as-is, without any | ||
# warranty. | ||
|
||
#serial 12 | ||
#serial 14 | ||
|
||
dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro | ||
dnl (serial version number 13). | ||
|
@@ -51,6 +52,7 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl | |
m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], | ||
[$1], [14], [ax_cxx_compile_alternatives="14 1y"], | ||
[$1], [17], [ax_cxx_compile_alternatives="17 1z"], | ||
[$1], [20], [ax_cxx_compile_alternatives="20"], | ||
[m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl | ||
m4_if([$2], [], [], | ||
[$2], [ext], [], | ||
|
@@ -69,12 +71,12 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl | |
[AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], | ||
[ax_cv_cxx_compile_cxx$1=yes], | ||
[ax_cv_cxx_compile_cxx$1=no])]) | ||
if test "$ax_cv_cxx_compile_cxx$1" = "yes"; then | ||
if test x$ax_cv_cxx_compile_cxx$1 = xyes; then | ||
ac_success=yes | ||
fi]) | ||
m4_if([$2], [noext], [], [dnl | ||
if test "$ac_success" = "no"; then | ||
if test x$ac_success = xno; then | ||
for alternative in ${ax_cxx_compile_alternatives}; do | ||
switch="-std=gnu++${alternative}" | ||
cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) | ||
|
@@ -98,7 +100,7 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl | |
fi]) | ||
m4_if([$2], [ext], [], [dnl | ||
if test "$ac_success" = "no"; then | ||
if test x$ac_success = xno; then | ||
dnl HP's aCC needs +std=c++11 according to: | ||
dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf | ||
dnl Cray's crayCC needs "-h std=c++11" | ||
|
@@ -122,18 +124,18 @@ AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl | |
break | ||
fi | ||
done | ||
if test "$ac_success" = "yes"; then | ||
if test x$ac_success = xyes; then | ||
break | ||
fi | ||
done | ||
fi]) | ||
AC_LANG_POP([C++]) | ||
if test "$ax_cxx_compile_cxx$1_required" = "true"; then | ||
if test "$ac_success" = "no"; then | ||
if test x$ax_cxx_compile_cxx$1_required = xtrue; then | ||
if test x$ac_success = xno; then | ||
AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) | ||
fi | ||
fi | ||
if test "$ac_success" = "no"; then | ||
if test x$ac_success = xno; then | ||
HAVE_CXX$1=0 | ||
AC_MSG_NOTICE([No compiler with C++$1 support was found]) | ||
else | ||
|
@@ -151,20 +153,31 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11], | |
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | ||
) | ||
|
||
|
||
dnl Test body for checking C++14 support | ||
|
||
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14], | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14 | ||
) | ||
|
||
dnl Test body for checking C++17 support | ||
|
||
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17], | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_17 | ||
) | ||
|
||
dnl Test body for checking C++20 support | ||
|
||
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_20], | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_11 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_14 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_17 | ||
_AX_CXX_COMPILE_STDCXX_testbody_new_in_20 | ||
) | ||
|
||
|
||
dnl Tests for new features in C++11 | ||
|
||
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[ | ||
|
@@ -960,3 +973,33 @@ namespace cxx17 | |
#endif // __cplusplus < 201703L | ||
]]) | ||
|
||
|
||
dnl Tests for new features in C++20 | ||
|
||
m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_20], [[ | ||
#ifndef __cplusplus | ||
#error "This is not a C++ compiler" | ||
#elif __cplusplus < 202002L | ||
#error "This is not a C++20 compiler" | ||
#else | ||
#include <version> | ||
namespace cxx20 | ||
{ | ||
// As C++20 supports feature test macros in the standard, there is no | ||
// immediate need to actually test for feature availability on the | ||
// Autoconf side. | ||
} // namespace cxx20 | ||
#endif // __cplusplus < 202002L | ||
]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.