Skip to content

Commit

Permalink
5.4.6.0, 2024-03-02, leisure, "Miss Piggy"
Browse files Browse the repository at this point in the history
Added
 - contrib: add nix file for compilation environment #2660 (@div72)
 - gui: Make main Gridcoin window geometry save unique to datadir location #2661 (@jamescowens)
 - build: Initial CMake support #2676 (@CyberTailor)
 - util: Add `-shutdownnotify` and `startupnotify` options from upstream #2688 (@barton2526)
 - gui, staking: Implement facilities for mandatory sidestakes and sidestake GUI #2704 (@jamescowens)
 - gui, voting: Implement poll result caching and poll stale indicator #2709 (@jamescowens)
 - gui, projects: Implement greylist state for projects in GUI projects table #2715 (@jamescowens)
 - gui, poll: Implement poll expiration reminders #2716 (@jamescowens)
 - serialize: allow variants to be serialized #2729 (@div72)
 - gui: Implement poll field length limiters in GUI forms #2742 (@jamescowens)

Changed
 - consensus, contract, scraper, protocol, project, beacon, rpc: Replace remaining appcache sections with native structures #2639 (@jamescowens)
 - build: update libsecp256k1 to v0.3.0 #2655 (@div72)
 - build: Replace $(AT) with .SILENT #2674 (@barton2526)
 - build: allow system bdb #2675 (@div72)
 - Resize Header Column with Additional Text #2683 (@PrestackI)
 - rpc: use RPCErrorCode everywhere #2687 (@Pythonix)
 - wallet: SecureString to allow null characters #2690 (@barton2526)
 - random: port some upstream changes #2696 (@div72)
 - depends: Bump dependencies #2692 (@barton2526)
 - doc: Update link to Discord server #2693 (@adriaanjoubert)
 - rpc: Change capitalization, remove whitespace of rpc keys #2711 (@Pythonix)
 - ci: bump MacOS version to 12 #2713 (@div72)
 - depends: no-longer nuke libc++abi.so* in native_clang package #2719 (@div72)
 - doc: update windows `-fstack-clash-protection` doc #2720 (@div72)
 - Silence `-Wcast-function-type` warning #2721 (@div72)
 - build: Use newest `config.{guess,sub}` available #2722 (@div72)
 - refactor: use the try_lock result in TryEnter #2723 (@div72)
 - Updates for file src/qt/locale/bitcoin_en.ts in pt_PT #2726 (@gridcoin-community)
 - ci: do not silently fail #2727 (@div72)
 - Properly include Boost Array header #2730 (@theMarix)
 - build: Update depends zlib to 1.3.1 #2734 (@jamescowens)
 - util: Enhance Fraction class overflow resistance #2735 (@jamescowens)
 - refactor: Fix compilation warnings #2737 (@jamescowens)
 - gui, util: Improve upgrade dialog #2738 (@jamescowens)
 - util: Improve allocation class #2740 (@jamescowens)
 - translations: translation updates for Miss Piggy release #2745 (@jamescowens)

Removed
 - gui: Disable snapshot GUI action #2700 (@jamescowens)
 - build, crypto, script: remove most of OpenSSL usage #2705 (@div72)
 - util: remove WSL 1 workaround in fs #2717 (@div72)

Fixed
 - diagnostics: fix missing arg in ETTS warning #2684 (@div72)
 - misc: fix include guard in netaddress.h #2695 (@div72)
 - gui: Fix expired pending beacon display #2698 (@jamescowens)
 - consensus: Fix 20230904 testnet forking issue #2703 (@jamescowens)
 - gui: Fix filter by type in Transaction View #2708 (@jamescowens)
 - depends: make fontconfig build under clang-16 #2718 (@div72)
 - diag: fix researcher mode check #2725 (@div72)
 - gui: Add missing switch cases for ALREADY_IN_MEMPOOL #2728 (@jamescowens)
 - beacon, registry: Fix beacon history stall #2731 (@jamescowens)
 - build: Implement comp_double comparison function in certain tests #2741 (@jamescowens)
 - ci: change Qt path in CMake CI #2743 (@div72)
 - net: Correct -tor argument handling #2744 (@jamescowens)
  • Loading branch information
jamescowens committed Mar 2, 2024
2 parents 1c6227b + ef2d2b0 commit 3044941
Show file tree
Hide file tree
Showing 335 changed files with 25,153 additions and 7,062 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: bug

<!-- For general questions about Gridcoin or wallet recovery please use one of the various communities:
* Gridcoin on reddit https://www.reddit.com/r/gridcoin/
* Discord https://discord.gg/jf9XX4a -->
* Discord https://discord.gg/UMWUnMjN4x -->

<!-- ISSUES MISSING IMPORTANT INFORMATION MAY BE CLOSED WITHOUT INVESTIGATION. -->

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: Gridcoin Discord
url: https://discord.gg/jf9XX4a
url: https://discord.gg/UMWUnMjN4x
about: Please go here if you have any general issues that are not bug reports. We can assist you much faster there.
- name: Gridcoin Subreddit
url: https://reddit.com/r/gridcoin
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ labels: enhancement

<!-- For general questions about Gridcoin or wallet recovery please use one of the various communities:
* Gridcoin on reddit https://www.reddit.com/r/gridcoin/
* Discord https://discord.gg/jf9XX4a -->
* Discord https://discord.gg/UMWUnMjN4x -->

# Feature Request

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
run: |
./ci/test_run_all.sh
test-macos:
name: macOS 11 native [GOAL install] [GUI] [no depends]
runs-on: macos-11
name: macOS 12 native [GOAL install] [GUI] [no depends]
runs-on: macos-12
env:
DANGER_RUN_CI_ON_HOST: true
CI_USE_APT_INSTALL: no
Expand Down
194 changes: 194 additions & 0 deletions .github/workflows/cmake-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
name: CMake CI
on:
- push
- pull_request
- workflow_dispatch

jobs:
test-linux:
runs-on: ubuntu-latest
env:
CCACHE_DIR: ${{github.workspace}}/ccache
CCACHE_MAXSIZE: 400M
CCACHE_COMPILERCHECK: content
strategy:
matrix:
tag:
- minimal
- no-asm
- gui-full
- system-libs
include:
- tag: no-asm
deps: null
options: -DENABLE_PIE=ON -DUSE_ASM=OFF
- tag: gui-full
deps: >-
libminiupnpc-dev
libqrencode-dev
qtbase5-dev
qttools5-dev
options: >-
-DENABLE_GUI=ON
-DENABLE_QRENCODE=ON
-DENABLE_UPNP=ON
-DUSE_DBUS=ON
- tag: system-libs
deps: >-
libdb5.3++-dev
libleveldb-dev
libsnappy-dev
libsecp256k1-dev
libunivalue-dev
xxd
options: >-
-DSYSTEM_BDB=ON
-DSYSTEM_LEVELDB=ON
-DSYSTEM_UNIVALUE=ON
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: |
${{matrix.deps}}
ccache
libcurl4-openssl-dev
libzip-dev
ninja-build
zipcmp
zipmerge
ziptool
version: ${{matrix.tag}}
- name: Install Boost dependencies
run: |
sudo apt-get install -y --no-install-recommends \
libboost-dev \
libboost-date-time-dev \
libboost-exception-dev \
libboost-filesystem-dev \
libboost-iostreams-dev \
libboost-serialization-dev \
libboost-test-dev \
libboost-thread-dev
- name: Configure
run: |
cmake -B ${{github.workspace}}/build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
${{matrix.options}} \
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-linux-${{matrix.tag}}-${{github.run_id}}
restore-keys: |
ccache-linux-${{matrix.tag}}-
- name: Build
run: |
cmake --build ${{github.workspace}}/build -v -j $(nproc)
- name: Save cache
uses: actions/cache/save@v3
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-linux-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: |
ctest --test-dir ${{github.workspace}}/build -j $(nproc)
- name: Upload test logs
uses: actions/upload-artifact@v3
if: always()
with:
name: testlog-linux-${{matrix.tag}}
path: ${{github.workspace}}/build/Testing/Temporary/LastTest.log
retention-days: 7

test-macos:
runs-on: macos-latest
env:
CCACHE_DIR: ${{github.workspace}}/ccache
CCACHE_MAXSIZE: 400M
CCACHE_COMPILERCHECK: content
strategy:
matrix:
tag:
- minimal
- no-asm
- gui-full
- system-libs
include:
- tag: no-asm
deps: null
options: -DENABLE_PIE=ON -DUSE_ASM=OFF
- tag: gui-full
deps: >-
miniupnpc
qrencode
qt@5
options: >-
-DENABLE_GUI=ON
-DQt5_DIR=/usr/local/opt/qt@5/lib/cmake/Qt5
-DENABLE_QRENCODE=ON
-DENABLE_UPNP=ON
- tag: system-libs
deps: >-
berkeley-db@5
secp256k1
vim
options: >-
-DSYSTEM_BDB=ON
-DBerkeleyDB_INCLUDE_DIR=/usr/local/opt/berkeley-db@5/include
-DBerkeleyDB_CXX_LIBRARY=/usr/local/opt/berkeley-db@5/lib/libdb_cxx.dylib
-DSYSTEM_SECP256K1=ON
-DSYSTEM_XXD=ON
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies
run: |
brew install boost ccache ninja ${{matrix.deps}}
- name: Configure
run: |
PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig:${PKG_CONFIG_PATH}"
export PKG_CONFIG_PATH
pushd src
../contrib/nomacro.pl
popd
cmake -B ${{github.workspace}}/build -G Ninja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
${{matrix.options}} \
-DENABLE_TESTS=ON
- name: Restore cache
uses: actions/cache/restore@v3
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-macos-${{matrix.tag}}-${{github.run_id}}
restore-keys: |
ccache-macos-${{matrix.tag}}-
- name: Build
run: |
cmake --build ${{github.workspace}}/build -v -j $(sysctl -n hw.logicalcpu)
- name: Save cache
uses: actions/cache/save@v3
if: always()
with:
path: ${{env.CCACHE_DIR}}
key: ccache-macos-${{matrix.tag}}-${{github.run_id}}
- name: Run tests
run: |
ctest --test-dir ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
- name: Upload test logs
uses: actions/upload-artifact@v3
if: always()
with:
name: testlog-macos-${{matrix.tag}}
path: ${{github.workspace}}/build/Testing/Temporary/LastTest.log
retention-days: 7
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ src/test/test_gridcoin.log
src/test/test_gridcoin.trs

src/build.h
src/obj
src/obj/build.h
src/qt/forms/*.h
src/qt/forms/voting/*.h
src/qt/moc_*.cpp
Expand Down Expand Up @@ -99,7 +99,6 @@ config.status
configure
libtool
src/config/gridcoin-config.h
src/config/gridcoin-config.h.in
src/config/stamp-h1
share/setup.nsi
share/qt/Info.plist
Expand Down
61 changes: 61 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,67 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [5.4.6.0], 2024-03-02, leisure, "Miss Piggy"

### Added
- contrib: add nix file for compilation environment #2660 (@div72)
- gui: Make main Gridcoin window geometry save unique to datadir location #2661 (@jamescowens)
- build: Initial CMake support #2676 (@CyberTailor)
- util: Add `-shutdownnotify` and `startupnotify` options from upstream #2688 (@barton2526)
- gui, staking: Implement facilities for mandatory sidestakes and sidestake GUI #2704 (@jamescowens)
- gui, voting: Implement poll result caching and poll stale indicator #2709 (@jamescowens)
- gui, projects: Implement greylist state for projects in GUI projects table #2715 (@jamescowens)
- gui, poll: Implement poll expiration reminders #2716 (@jamescowens)
- serialize: allow variants to be serialized #2729 (@div72)
- gui: Implement poll field length limiters in GUI forms #2742 (@jamescowens)

### Changed
- consensus, contract, scraper, protocol, project, beacon, rpc: Replace remaining appcache sections with native structures #2639 (@jamescowens)
- build: update libsecp256k1 to v0.3.0 #2655 (@div72)
- build: Replace $(AT) with .SILENT #2674 (@barton2526)
- build: allow system bdb #2675 (@div72)
- Resize Header Column with Additional Text #2683 (@PrestackI)
- rpc: use RPCErrorCode everywhere #2687 (@Pythonix)
- wallet: SecureString to allow null characters #2690 (@barton2526)
- random: port some upstream changes #2696 (@div72)
- depends: Bump dependencies #2692 (@barton2526)
- doc: Update link to Discord server #2693 (@adriaanjoubert)
- rpc: Change capitalization, remove whitespace of rpc keys #2711 (@Pythonix)
- ci: bump MacOS version to 12 #2713 (@div72)
- depends: no-longer nuke libc++abi.so* in native_clang package #2719 (@div72)
- doc: update windows `-fstack-clash-protection` doc #2720 (@div72)
- Silence `-Wcast-function-type` warning #2721 (@div72)
- build: Use newest `config.{guess,sub}` available #2722 (@div72)
- refactor: use the try_lock result in TryEnter #2723 (@div72)
- Updates for file src/qt/locale/bitcoin_en.ts in pt_PT #2726 (@gridcoin-community)
- ci: do not silently fail #2727 (@div72)
- Properly include Boost Array header #2730 (@theMarix)
- build: Update depends zlib to 1.3.1 #2734 (@jamescowens)
- util: Enhance Fraction class overflow resistance #2735 (@jamescowens)
- refactor: Fix compilation warnings #2737 (@jamescowens)
- gui, util: Improve upgrade dialog #2738 (@jamescowens)
- util: Improve allocation class #2740 (@jamescowens)
- translations: translation updates for Miss Piggy release #2745 (@jamescowens)

### Removed
- gui: Disable snapshot GUI action #2700 (@jamescowens)
- build, crypto, script: remove most of OpenSSL usage #2705 (@div72)
- util: remove WSL 1 workaround in fs #2717 (@div72)

### Fixed
- diagnostics: fix missing arg in ETTS warning #2684 (@div72)
- misc: fix include guard in netaddress.h #2695 (@div72)
- gui: Fix expired pending beacon display #2698 (@jamescowens)
- consensus: Fix 20230904 testnet forking issue #2703 (@jamescowens)
- gui: Fix filter by type in Transaction View #2708 (@jamescowens)
- depends: make fontconfig build under clang-16 #2718 (@div72)
- diag: fix researcher mode check #2725 (@div72)
- gui: Add missing switch cases for ALREADY_IN_MEMPOOL #2728 (@jamescowens)
- beacon, registry: Fix beacon history stall #2731 (@jamescowens)
- build: Implement comp_double comparison function in certain tests #2741 (@jamescowens)
- ci: change Qt path in CMake CI #2743 (@div72)
- net: Correct -tor argument handling #2744 (@jamescowens)

## [5.4.5.0] 2023-04-23, leisure

### Added
Expand Down
Loading

0 comments on commit 3044941

Please sign in to comment.