Skip to content

Commit

Permalink
Cumulative update: Wayland grabber (pipewire/portal) read more...
Browse files Browse the repository at this point in the history
* New: Portal version 4 protocol persistent authentication support for Pipewire grabber
* New: Performance information panel in the overview tab
    * New: CPU performance and RAM usage (excluding Apple M1)
    * New: CPU temperature reading (Linux only, when sensor is present)
    * New: Under-voltage detection (Raspberry Pi OS only)
    * New: USB grabber performance
    * New: Instance input mages to LED colors performance
    * New: LED device output performance
* New: Philips Hue automatic connection resumption when the UDP SSL stream is broken
* Fix another LED on/off race condition (network devices that was turned off for a moment could not be turn on again)
* Fix looped communication in the remote tab
* Update MBEDTLS to v3.1.0
* Fix restart issue of X11 software screen grabber (fixes awawa-dev#167)
* Fix memory leaks reported by Valgrind
* Fix inter-thread communication
* Fix LED devices state synchronization
* Windows: switch project and documentation to Visual Studio 2022
* Refactoring: Remove unnecessary 'latch time' in LED devices configuration
  • Loading branch information
awawa-dev authored and chbartsch committed Nov 29, 2022
1 parent 91f12c1 commit 0d53e9f
Show file tree
Hide file tree
Showing 719 changed files with 25,657 additions and 21,582 deletions.
2 changes: 1 addition & 1 deletion .ci/ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ elif [[ $CI_NAME == *"mingw64_nt"* || "$CI_NAME" == 'windows_nt' ]]; then
echo "Number of Cores $NUMBER_OF_PROCESSORS"
mkdir build || exit 1
cd build
cmake -G "Visual Studio 16 2019" -A x64 -DPLATFORM=${PLATFORM} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_GITHUB_ACTION=1 ../ || exit 2
cmake -G "Visual Studio 17 2022" -A x64 -DPLATFORM=${PLATFORM} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_GITHUB_ACTION=1 ../ || exit 2
cmake --build . --target package --config Release -- -nologo -v:m -maxcpucount || exit 3
exit 0;
exit 1 || { echo "---> Hyperhdr compilation failed! Abort"; exit 5; }
Expand Down
4 changes: 2 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ indent_size = 4

# js and webui
[*.{ts,js,html}]
indent_style = space
indent_size = 2
indent_style = tab
indent_size = 4

# version file
[version]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on: [push]

env:
USE_CACHE: "1"
RESET_CACHE: "0"

jobs:

Expand All @@ -17,19 +18,24 @@ jobs:

strategy:
matrix:
debian: [ bullseye ]
dockerImage: [ x86_64, rpi012-armv6l, rpi34-armv7l, arm-aarch64 ]
include:
include:
- dockerImage: x86_64
dockerName: Debian Buster (x86_64)
debian: bullseye
dockerName: Debian Bullseye (x86_64)
platform: linux
- dockerImage: rpi012-armv6l
dockerName: Debian Buster (Raspberry Pi ZERO, 1 & 2)
debian: bullseye
dockerName: Debian Bullseye (Raspberry Pi ZERO, 1 & 2)
platform: rpi
- dockerImage: rpi34-armv7l
dockerName: Debian Buster (Raspberry Pi 3 & 4)
debian: bullseye
dockerName: Debian Bullseye (Raspberry Pi 3 & 4)
platform: rpi
- dockerImage: arm-aarch64
dockerName: Debian Buster (ARM aarch64)
debian: bullseye
dockerName: Debian Bullseye (ARM aarch64)
platform: rpi

steps:
Expand All @@ -49,20 +55,21 @@ jobs:

# download cache
- name: ccache cache files
if: env.USE_CACHE == '1'
if: ( env.USE_CACHE == '1' )
uses: actions/cache@v1.1.0
with:
path: .ccache
key: ${{ matrix.dockerImage }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: ${{ matrix.dockerImage }}-ccache-
key: ${{ matrix.debian }}-${{ matrix.dockerImage }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: ${{ matrix.debian }}-${{ matrix.dockerImage }}-ccache-

- name: Build packages
env:
DOCKER_IMAGE: ${{ matrix.dockerImage }}
DOCKER_TAG: buster
DOCKER_TAG: ${{ matrix.debian }}
DOCKER_NAME: ${{ matrix.dockerName }}
PLATFORM: ${{ matrix.platform }}
USE_CCACHE: ${{ env.USE_CACHE }}
RESET_CACHE: ${{ env.RESET_CACHE }}
shell: bash
run: ./.ci/ci_build.sh

Expand All @@ -78,7 +85,7 @@ jobs:
if: (startsWith(github.event.ref, 'refs/tags') != true)
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.dockerImage }}
name: Linux-${{ matrix.debian }}-${{ matrix.dockerImage }}-DEB-installer
path: deploy/Hyper*.deb

######################
Expand All @@ -87,7 +94,7 @@ jobs:

macOS:
name: macOS
runs-on: macos-latest
runs-on: macOS-10.15
steps:
# Checkout
- uses: actions/checkout@v1
Expand All @@ -105,7 +112,7 @@ jobs:

# Download cache
- name: ccache cache files
if: env.USE_CACHE == '1'
if: ( env.USE_CACHE == '1' )
uses: actions/cache@v1.1.0
with:
path: .ccache
Expand All @@ -115,13 +122,14 @@ jobs:
# Install deps
- name: Install deps
shell: bash
run: brew update && brew install qt@5 xz ccache
run: brew update && brew install qt@6 xz ccache protobuf

# Build process
- name: Build packages
env:
PLATFORM: osx
USE_CCACHE: ${{ env.USE_CACHE }}
RESET_CACHE: ${{ env.RESET_CACHE }}
shell: bash
run: ./.ci/ci_build.sh

Expand All @@ -137,7 +145,7 @@ jobs:
if: (startsWith(github.event.ref, 'refs/tags') != true)
uses: actions/upload-artifact@v2
with:
name: macOS_x64
name: Apple_macOS_x64_DMG_installer
path: build/Hyper*.dmg

######################
Expand All @@ -146,10 +154,10 @@ jobs:

windows:
name: Windows
runs-on: windows-latest
runs-on: windows-2022
env:
VCINSTALLDIR: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC'
QT_VERSION: 5.15.2
VCINSTALLDIR: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
QT_VERSION: 6.2.2
steps:
- name: Checkout
uses: actions/checkout@v1
Expand All @@ -162,15 +170,13 @@ jobs:
with:
path: ${{ runner.workspace }}/Qt
key: ${{ runner.os }}-Qt.${{ env.QT_VERSION }}

- name: Install QT
if: steps.cache-qt-windows.outputs.cache-hit != 'true'
run: |
pip install aqtinstall
aqt install-qt -O ${{ runner.workspace }}/Qt windows desktop ${{ env.QT_VERSION }} win64_msvc2019_64 -m qtserialport

- name: Install Qt
uses: jurplel/install-qt-action@v2
with:
version: ${{ env.QT_VERSION }}
target: 'desktop'
arch: 'win64_msvc2019_64'
cached: ${{ steps.cache-qt-windows.outputs.cache-hit }}

- name: Set up x64 build architecture environment
shell: cmd
run: call "${{env.VCINSTALLDIR}}\Auxiliary\Build\vcvars64.bat"
Expand All @@ -182,8 +188,10 @@ jobs:
- name: Build packages
env:
PLATFORM: windows
CMAKE_PREFIX_PATH: "${{ runner.workspace }}/Qt/${{ env.QT_VERSION }}/msvc2019_64/lib/cmake/"
shell: bash
run: ./.ci/ci_build.sh
run: |
./.ci/ci_build.sh

# upload artifacts (only on tagged commit)
- name: Upload artifacts
Expand All @@ -197,9 +205,9 @@ jobs:
if: (startsWith(github.event.ref, 'refs/tags') != true)
uses: actions/upload-artifact@v2
with:
name: windows
name: Windows_x64_setup
path: build/Hyper*.exe

################################
###### Publish Releases ########
################################
Expand Down
26 changes: 5 additions & 21 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,9 @@ jobs:

strategy:
matrix:
debian: [ buster, bullseye ]
debian: [ bullseye ]
dockerImage: [ x86_64, rpi012-armv6l, rpi34-armv7l, arm-aarch64 ]
include:
- dockerImage: x86_64
debian: buster
dockerName: Debian Buster (x86_64)
platform: linux
- dockerImage: rpi012-armv6l
debian: buster
dockerName: Debian Buster (Raspberry Pi ZERO, 1 & 2)
platform: rpi
- dockerImage: rpi34-armv7l
debian: buster
dockerName: Debian Buster (Raspberry Pi 3 & 4)
platform: rpi
- dockerImage: arm-aarch64
debian: buster
dockerName: Debian Buster (ARM aarch64)
platform: rpi
include:
- dockerImage: x86_64
debian: bullseye
dockerName: Debian Bullseye (x86_64)
Expand Down Expand Up @@ -170,10 +154,10 @@ jobs:

windows:
name: Windows
runs-on: windows-latest
runs-on: windows-2022
env:
VCINSTALLDIR: 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC'
QT_VERSION: 6.2.0
VCINSTALLDIR: 'C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC'
QT_VERSION: 6.2.2
steps:
- name: Checkout
uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ CMakeCache.txt
compile_commands.json

# Autogenerated by flatbuffers
libsrc/flatbufserver/hyperion_reply_generated.h
libsrc/flatbufserver/hyperion_request_generated.h
sources/flatbufserver/hyperhdr_reply_generated.h
sources/flatbufserver/hyperhdr_request_generated.h

# Kdevelop project files
*.kdev*
Expand Down

0 comments on commit 0d53e9f

Please sign in to comment.