mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6 (#4856)
* Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6 * always enable precompiled headers on windows
This commit is contained in:
parent
2fc7fdd91a
commit
467e36767c
|
@ -2,7 +2,7 @@
|
||||||
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
#define MyAppName "Chatterino"
|
#define MyAppName "Chatterino"
|
||||||
#define MyAppVersion "2.4.5"
|
#define MyAppVersion "2.4.6"
|
||||||
#define MyAppPublisher "Chatterino Team"
|
#define MyAppPublisher "Chatterino Team"
|
||||||
#define MyAppURL "https://www.chatterino.com"
|
#define MyAppURL "https://www.chatterino.com"
|
||||||
#define MyAppExeName "chatterino.exe"
|
#define MyAppExeName "chatterino.exe"
|
||||||
|
|
75
.github/workflows/build.yml
vendored
75
.github/workflows/build.yml
vendored
|
@ -5,6 +5,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
- "bugfix-release/*"
|
||||||
|
- "release/*"
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
merge_group:
|
merge_group:
|
||||||
|
@ -14,7 +16,7 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
C2_ENABLE_LTO: ${{ github.ref == 'refs/heads/master' }}
|
C2_ENABLE_LTO: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/bugfix-release/') || startsWith(github.ref, 'refs/heads/release/') }}
|
||||||
CHATTERINO_REQUIRE_CLEAN_GIT: On
|
CHATTERINO_REQUIRE_CLEAN_GIT: On
|
||||||
C2_BUILD_WITH_QT6: Off
|
C2_BUILD_WITH_QT6: Off
|
||||||
# Last known good conan version
|
# Last known good conan version
|
||||||
|
@ -27,13 +29,6 @@ jobs:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, macos-latest]
|
|
||||||
qt-version: [5.15.2, 6.5.0]
|
|
||||||
force-lto: [false]
|
|
||||||
plugins: [false]
|
|
||||||
skip-artifact: [false]
|
|
||||||
skip-crashpad: [false]
|
|
||||||
clang-tidy-review: [false]
|
|
||||||
include:
|
include:
|
||||||
# Ubuntu 20.04, Qt 5.12
|
# Ubuntu 20.04, Qt 5.12
|
||||||
- os: ubuntu-20.04
|
- os: ubuntu-20.04
|
||||||
|
@ -59,12 +54,28 @@ jobs:
|
||||||
skip-artifact: false
|
skip-artifact: false
|
||||||
skip-crashpad: false
|
skip-crashpad: false
|
||||||
clang-tidy-review: false
|
clang-tidy-review: false
|
||||||
# Test for disabling crashpad on Windows
|
# macOS
|
||||||
|
- os: macos-latest
|
||||||
|
qt-version: 5.15.2
|
||||||
|
force-lto: false
|
||||||
|
plugins: false
|
||||||
|
skip-artifact: false
|
||||||
|
skip-crashpad: false
|
||||||
|
clang-tidy-review: false
|
||||||
|
# Windows
|
||||||
|
- os: windows-latest
|
||||||
|
qt-version: 6.5.0
|
||||||
|
force-lto: false
|
||||||
|
plugins: false
|
||||||
|
skip-artifact: false
|
||||||
|
skip-crashpad: false
|
||||||
|
clang-tidy-review: false
|
||||||
|
# Windows 7/8
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
qt-version: 5.15.2
|
qt-version: 5.15.2
|
||||||
force-lto: false
|
force-lto: false
|
||||||
plugins: false
|
plugins: false
|
||||||
skip-artifact: true
|
skip-artifact: false
|
||||||
skip-crashpad: true
|
skip-crashpad: true
|
||||||
clang-tidy-review: false
|
clang-tidy-review: false
|
||||||
|
|
||||||
|
@ -114,6 +125,26 @@ jobs:
|
||||||
cache-key-prefix: ${{ runner.os }}-QtCache-${{ matrix.qt-version }}-v2
|
cache-key-prefix: ${{ runner.os }}-QtCache-${{ matrix.qt-version }}-v2
|
||||||
version: ${{ matrix.qt-version }}
|
version: ${{ matrix.qt-version }}
|
||||||
|
|
||||||
|
- name: Install Qt 6.5.3 imageformats
|
||||||
|
if: startsWith(matrix.qt-version, '6.')
|
||||||
|
uses: jurplel/install-qt-action@v3.3.0
|
||||||
|
with:
|
||||||
|
cache: false
|
||||||
|
modules: qtimageformats
|
||||||
|
set-env: false
|
||||||
|
version: 6.5.3
|
||||||
|
extra: --noarchives
|
||||||
|
|
||||||
|
- name: Find Qt 6.5.3 Path
|
||||||
|
if: startsWith(matrix.qt-version, '6.') && startsWith(matrix.os, 'windows')
|
||||||
|
shell: pwsh
|
||||||
|
id: find-good-imageformats
|
||||||
|
run: |
|
||||||
|
cd "$Env:RUNNER_WORKSPACE/Qt/6.5.3"
|
||||||
|
cd (Get-ChildItem)[0].Name
|
||||||
|
cd plugins/imageformats
|
||||||
|
echo "PLUGIN_PATH=$(pwd)" | Out-File -Path "$Env:GITHUB_OUTPUT" -Encoding ASCII
|
||||||
|
|
||||||
- name: Install Qt6
|
- name: Install Qt6
|
||||||
if: startsWith(matrix.qt-version, '6.')
|
if: startsWith(matrix.qt-version, '6.')
|
||||||
uses: jurplel/install-qt-action@v3.3.0
|
uses: jurplel/install-qt-action@v3.3.0
|
||||||
|
@ -184,16 +215,13 @@ jobs:
|
||||||
- name: Build (Windows)
|
- name: Build (Windows)
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
env:
|
|
||||||
# Enable PCH on Windows when crashpad is enabled
|
|
||||||
C2_WINDOWS_USE_PCH: ${{ matrix.skip-crashpad && 'OFF' || 'ON' }}
|
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
cmake `
|
cmake `
|
||||||
-G"NMake Makefiles" `
|
-G"NMake Makefiles" `
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo `
|
||||||
-DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" `
|
-DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" `
|
||||||
-DUSE_PRECOMPILED_HEADERS=${{ env.C2_WINDOWS_USE_PCH }} `
|
-DUSE_PRECOMPILED_HEADERS=ON `
|
||||||
-DBUILD_WITH_CRASHPAD="$Env:C2_ENABLE_CRASHPAD" `
|
-DBUILD_WITH_CRASHPAD="$Env:C2_ENABLE_CRASHPAD" `
|
||||||
-DCHATTERINO_LTO="$Env:C2_ENABLE_LTO" `
|
-DCHATTERINO_LTO="$Env:C2_ENABLE_LTO" `
|
||||||
-DCHATTERINO_PLUGINS="$Env:C2_PLUGINS" `
|
-DCHATTERINO_PLUGINS="$Env:C2_PLUGINS" `
|
||||||
|
@ -213,13 +241,24 @@ jobs:
|
||||||
cp bin/crashpad/crashpad_handler.exe Chatterino2/crashpad/crashpad_handler.exe
|
cp bin/crashpad/crashpad_handler.exe Chatterino2/crashpad/crashpad_handler.exe
|
||||||
7z a bin/chatterino-Qt-${{ matrix.qt-version }}.pdb.7z bin/chatterino.pdb
|
7z a bin/chatterino-Qt-${{ matrix.qt-version }}.pdb.7z bin/chatterino.pdb
|
||||||
|
|
||||||
- name: Package (windows)
|
- name: Prepare build dir (windows)
|
||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
run: |
|
run: |
|
||||||
cd build
|
cd build
|
||||||
windeployqt bin/chatterino.exe --release --no-compiler-runtime --no-translations --no-opengl-sw --dir Chatterino2/
|
windeployqt bin/chatterino.exe --release --no-compiler-runtime --no-translations --no-opengl-sw --dir Chatterino2/
|
||||||
cp bin/chatterino.exe Chatterino2/
|
cp bin/chatterino.exe Chatterino2/
|
||||||
echo nightly > Chatterino2/modes
|
echo nightly > Chatterino2/modes
|
||||||
|
|
||||||
|
- name: Fix Qt6 (windows)
|
||||||
|
if: startsWith(matrix.qt-version, '6.') && startsWith(matrix.os, 'windows')
|
||||||
|
working-directory: build
|
||||||
|
run: |
|
||||||
|
cp ${{ steps.find-good-imageformats.outputs.PLUGIN_PATH }}/qwebp.dll Chatterino2/imageformats/qwebp.dll
|
||||||
|
|
||||||
|
- name: Package (windows)
|
||||||
|
if: startsWith(matrix.os, 'windows')
|
||||||
|
working-directory: build
|
||||||
|
run: |
|
||||||
7z a chatterino-windows-x86-64-Qt-${{ matrix.qt-version }}.zip Chatterino2/
|
7z a chatterino-windows-x86-64-Qt-${{ matrix.qt-version }}.zip Chatterino2/
|
||||||
|
|
||||||
- name: Upload artifact (Windows - binary)
|
- name: Upload artifact (Windows - binary)
|
||||||
|
@ -467,10 +506,10 @@ jobs:
|
||||||
# Rename the macos build to indicate that it's for macOS 10.15 users
|
# Rename the macos build to indicate that it's for macOS 10.15 users
|
||||||
mv chatterino-macos-Qt-5.15.2.dmg Chatterino-macOS-10.15.dmg
|
mv chatterino-macos-Qt-5.15.2.dmg Chatterino-macOS-10.15.dmg
|
||||||
|
|
||||||
# Mark all Qt6 builds as EXPERIMENTAL
|
|
||||||
mv Chatterino-ubuntu-22.04-x86_64.deb EXPERIMENTAL-Chatterino-ubuntu-22.04-Qt-6.2.4.deb
|
mv Chatterino-ubuntu-22.04-x86_64.deb EXPERIMENTAL-Chatterino-ubuntu-22.04-Qt-6.2.4.deb
|
||||||
mv chatterino-windows-x86-64-Qt-6.5.0.zip EXPERIMENTAL-chatterino-windows-x86-64-Qt-6.5.0.zip
|
|
||||||
mv chatterino-Qt-6.5.0.pdb.7z EXPERIMENTAL-chatterino-Qt-6.5.0.pdb.7z
|
# Mark all Windows Qt5 builds as old
|
||||||
|
mv chatterino-windows-x86-64-Qt-5.15.2.zip chatterino-windows-old-x86-64-Qt-5.15.2.zip
|
||||||
working-directory: release-artifacts
|
working-directory: release-artifacts
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
|
14
.github/workflows/create-installer.yml
vendored
14
.github/workflows/create-installer.yml
vendored
|
@ -5,7 +5,10 @@ on:
|
||||||
workflows: ["Build"]
|
workflows: ["Build"]
|
||||||
types: [completed]
|
types: [completed]
|
||||||
# make sure this only runs on the default branch
|
# make sure this only runs on the default branch
|
||||||
branches: [master]
|
branches:
|
||||||
|
- master
|
||||||
|
- "bugfix-release/*"
|
||||||
|
- "release/*"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -15,9 +18,7 @@ jobs:
|
||||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
qt-version: [5.15.2, 6.5.0]
|
qt-version: ["6.5.0"]
|
||||||
env:
|
|
||||||
VARIANT_SUFFIX: ${{ startsWith(matrix.qt-version, '6.') && '.EXPERIMENTAL-Qt6' || '' }}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -28,6 +29,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
workflow: build.yml
|
workflow: build.yml
|
||||||
name: chatterino-windows-x86-64-Qt-${{ matrix.qt-version }}.zip
|
name: chatterino-windows-x86-64-Qt-${{ matrix.qt-version }}.zip
|
||||||
|
commit: ${{ github.sha }}
|
||||||
path: build/
|
path: build/
|
||||||
|
|
||||||
- name: Unzip
|
- name: Unzip
|
||||||
|
@ -52,5 +54,5 @@ jobs:
|
||||||
- name: Upload installer
|
- name: Upload installer
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: build/${{ steps.build-installer.outputs.C2_INSTALLER_BASE_NAME }}${{ env.VARIANT_SUFFIX }}.exe
|
path: build/${{ steps.build-installer.outputs.C2_INSTALLER_BASE_NAME }}.exe
|
||||||
name: ${{ steps.build-installer.outputs.C2_INSTALLER_BASE_NAME }}${{ env.VARIANT_SUFFIX }}.exe
|
name: ${{ steps.build-installer.outputs.C2_INSTALLER_BASE_NAME }}.exe
|
||||||
|
|
|
@ -30,6 +30,12 @@
|
||||||
- Dev: Laid the groundwork for advanced input completion strategies. (#4639, #4846)
|
- Dev: Laid the groundwork for advanced input completion strategies. (#4639, #4846)
|
||||||
- Dev: Fixed flickering when running with Direct2D on Windows. (#4851)
|
- Dev: Fixed flickering when running with Direct2D on Windows. (#4851)
|
||||||
|
|
||||||
|
## 2.4.6
|
||||||
|
|
||||||
|
- Minor: Migrate to the new Get Channel Followers Helix endpoint, fixing follower count not showing up in usercards. (#4809)
|
||||||
|
- Bugfix: Update Qt version, fixing a security issue with webp loading (see https://www.qt.io/blog/two-qt-security-advisorys-gdi-font-engine-webp-image-format) (#4843)
|
||||||
|
- Dev: Temporarily disable High DPI scaling on Qt6 builds on Windows. (#4767)
|
||||||
|
|
||||||
## 2.4.5
|
## 2.4.5
|
||||||
|
|
||||||
- Major: AutoMod term management messages (e.g. testaccount added "noob" as a blocked term on AutoMod.) are now hidden in Streamer Mode if you have the "Hide moderation actions" setting enabled. (#4758)
|
- Major: AutoMod term management messages (e.g. testaccount added "noob" as a blocked term on AutoMod.) are now hidden in Streamer Mode if you have the "Hide moderation actions" setting enabled. (#4758)
|
||||||
|
|
|
@ -8,7 +8,7 @@ list(APPEND CMAKE_MODULE_PATH
|
||||||
"${CMAKE_SOURCE_DIR}/cmake/sanitizers-cmake/cmake"
|
"${CMAKE_SOURCE_DIR}/cmake/sanitizers-cmake/cmake"
|
||||||
)
|
)
|
||||||
|
|
||||||
project(chatterino VERSION 2.4.5)
|
project(chatterino VERSION 2.4.6)
|
||||||
|
|
||||||
option(BUILD_APP "Build Chatterino" ON)
|
option(BUILD_APP "Build Chatterino" ON)
|
||||||
option(BUILD_TESTS "Build the tests for Chatterino" OFF)
|
option(BUILD_TESTS "Build the tests for Chatterino" OFF)
|
||||||
|
|
|
@ -32,6 +32,9 @@
|
||||||
<binary>chatterino</binary>
|
<binary>chatterino</binary>
|
||||||
</provides>
|
</provides>
|
||||||
<releases>
|
<releases>
|
||||||
|
<release version="2.4.6" date="2023-09-30">
|
||||||
|
<url>https://github.com/Chatterino/chatterino2/releases/tag/v2.4.6</url>
|
||||||
|
</release>
|
||||||
<release version="2.4.5" date="2023-08-26">
|
<release version="2.4.5" date="2023-08-26">
|
||||||
<url>https://github.com/Chatterino/chatterino2/releases/tag/v2.4.5</url>
|
<url>https://github.com/Chatterino/chatterino2/releases/tag/v2.4.5</url>
|
||||||
</release>
|
</release>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* - 2.4.0-alpha.2
|
* - 2.4.0-alpha.2
|
||||||
* - 2.4.0-alpha
|
* - 2.4.0-alpha
|
||||||
**/
|
**/
|
||||||
#define CHATTERINO_VERSION "2.4.5"
|
#define CHATTERINO_VERSION "2.4.6"
|
||||||
|
|
||||||
#if defined(Q_OS_WIN)
|
#if defined(Q_OS_WIN)
|
||||||
# define CHATTERINO_OS "win"
|
# define CHATTERINO_OS "win"
|
||||||
|
|
Loading…
Reference in a new issue