Commit graph

156 commits

Author SHA1 Message Date
pajlada 8fd975270a
Update macOS build instructions & fix release artifacts (#4545) 2023-04-15 14:23:33 +02:00
nerix bf6350ad79
Add macOS, Windows, & Ubuntu 22.04 Qt6 builds (#4522)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-15 13:25:51 +02:00
nerix 4e3433e966
Store Themes as JSON files (#4471)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-08 09:05:55 +00:00
nerix 5c08e996c6
Refactor Windows CI and Conan Usage (#4513) 2023-04-04 21:29:49 +02:00
Mm2PL 5ba809804e
Add basic lua scripting capabilities (#4341)
The scripting capabilities is locked behind a cmake flag, and is not enabled by default.

Co-authored-by: nerix <nerixdev@outlook.de>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-04-02 15:31:53 +02:00
nerix 281bddb4cf
Upgrade from Conan 1.x to 2.x (#4417)
Conan 1.x is no longer supported - upgrade if you used it for dependency management

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-04-02 10:48:22 +00:00
dependabot[bot] 7aaec5f5c6
Bump ZedThree/clang-tidy-review from 0.12.1 to 0.12.2 (#4484)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.12.1 to 0.12.2.
- [Release notes](https://github.com/ZedThree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ZedThree/clang-tidy-review/compare/v0.12.1...v0.12.2)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 08:08:49 +02:00
dependabot[bot] 1797b04329
Bump ZedThree/clang-tidy-review from 0.10.1 to 0.12.1 (#4482)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-03-27 12:42:16 +02:00
Mm2PL f7ac526c35
CI: Make prettier print the diff on error (#4479)
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2023-03-26 13:42:04 +02:00
nerix 19cc72f927
Respect PCH Setting in Windows CI (#4472) 2023-03-23 23:04:16 +01:00
pajlada 1dc2bcc445
Install conan v1.58.0 (#4427) 2023-03-04 12:35:48 +00:00
pajlada 7e005ba661
Fix AppImage not containing all SSL dependencies (#4400)
This means the AppImage is built on Ubuntu 20.04 using Qt 5.12
2023-02-21 09:47:18 +01:00
dependabot[bot] 621b5d9163
Bump jurplel/install-qt-action from 3.0.0 to 3.1.0 (#4395)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-20 12:21:57 +01:00
pajlada c95a65c153
Fix Qt6 building (#4393) 2023-02-19 20:19:18 +01:00
pajlada d3499e814e
Fix the brew cask action (#4394)
It previously tried to bump the version from 2.4.0 to v2.4.1
the action didn't strip the v, but it does now
2023-02-19 16:08:32 +00:00
Ilya Zlobintsev da97079877
Add flatpakref file to artifacts (#4388)
The .flatpakref file format definition can be read about here https://man7.org/linux/man-pages/man5/flatpak-flatpakref.5.html
or just `man flatpak-flatpakref`
2023-02-17 20:01:47 +00:00
nerix 9bfd12ba3c
Fix builds from CI showing up as modified (#4384)
This change also adds a new environment variable used while building: `CHATTERINO_REQUIRE_CLEAN_GIT` which, if set, will error out during your build's GIT stage.
This is used in CI to ensure we don't accidentally introduce a change that would result in builds showing up as "modified" again.

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2023-02-16 13:56:20 +00:00
Wissididom df9836f59e
Automatically update nightly-build tag every nightly release (#4374)
This is done by CI force pushing the `nightly-build` tag - the `nightly-build` tag should never be relied on other than for GitHub releases.
2023-02-13 19:11:48 +00:00
pajlada 56adaf81ac
Fix .deb & pdb release uploads (#4373) 2023-02-13 10:33:25 +00:00
pajlada ef3a607af5
Upload both Ubuntu .deb packages & Windows .pdb symbols in releases (#4372) 2023-02-13 09:34:40 +00:00
nerix e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
Wissididom 8e24a29c85
Fix Ubuntu builds preventing create-release from building (#4368) 2023-02-12 00:20:54 +01:00
Wissididom 98c2ff5607
Separate Ubuntu .deb packages per Ubuntu release (#4357)
Our .deb packages are now very Ubuntu-specific and are packages based on our CI builds.
2023-02-11 22:50:01 +00:00
dependabot[bot] 6defee0615
Bump ilammy/msvc-dev-cmd from 1.12.0 to 1.12.1 (#4359)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 02:29:20 +00:00
pajlada d313342f20
Change pubsub test server from master branch to the latest stable tag (#4346) 2023-01-31 12:33:17 +01:00
Wissididom fe77e9162f
Removed libgstreamer-plugins-base from build workflow (#4344) 2023-01-31 09:10:53 +01:00
nerix b80d41c327
Use CMakeDeps and CMakeToolchain as Generators on Conan (#4335)
* deps(conan): use `CMakeDeps` as generator

* chore: add changelog entry

* deps(conan): add `CMakeToolchain` generator

* fix: use generated toolchain file

* docs: mention toolchain as well

* fix: spelling

* fix: formatting

* revert: use nmake

* docs: fix documentation
2023-01-29 13:10:39 +00:00
pajlada adf58d2770
Clean up clang-tidy action checks (#4331)
* clang-tidy action: Exclude lib & tests dir for clang-tidy CI checks

The lib dir is obvious, but the tests dir is disabled because gtest has
a million different thing that clang-tidy doesn't like, while they're in
reality perfectly reasonable

* clang-tidy-action: Disable the LGTM comment
2023-01-26 19:47:32 +01:00
nerix 904749cf62
feat: Add Live Emote Updates for BTTV (#4147)
This feature is enabled by default and can be disabled in settings with the "Enable BTTV live emotes updates" setting.

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-01-21 14:06:55 +00:00
Felanbird e15a5727ad
Update actionsx/prettier from v2 to e90ec54 (#4318)
This finishes the migrations of all workflows that used node12
2023-01-20 22:28:48 +01:00
nerix 2233b46512
Format YAML and JSON Files With Prettier (#4304)
* ci: format yaml and json files with prettier

* chore: add changelog entry

* fix: format everything

* ci: run pretter on all files

* ci: rename prettier step
2023-01-15 17:27:41 +01:00
pajlada 83dfb08aed
Enable LTO support for Chatterino builds (#4258)
This is disabled by default, and can be enabled by passing `-DCHATTERINO_LTO=On` to your cmake invocation.
2022-12-24 18:42:59 +01:00
pajlada 2de1437bdf
Retry tests 3 times to lessen chance of complete job failure due to flaky tests (#4241) 2022-12-18 13:53:17 +01:00
dependabot[bot] f062c793e4
Bump ncipollo/release-action from 1.11.2 to 1.12.0 (#4229)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-17 12:26:47 +01:00
nerix 34824957cf
fix: don't run push-aur.yml on pull requests (#4226) 2022-12-08 14:30:08 +00:00
Wissididom e68a3fcd30
Change ubuntu-latest to ubuntu-20.04 in CI builds (#4219) 2022-12-07 12:53:50 +01:00
pajlada 2e1667c348
Fix Ubuntu CI builds (#4212) 2022-12-02 19:30:28 +00:00
pajlada 1dd0693318
Fix Homebrew cask update workflow (#4203) 2022-11-29 11:12:44 +01:00
pajlada 032f290767
Sort and force grouping of includes (#4172)
This change enforces strict include grouping using IncludeCategories

In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:

    In ChatterSet.hpp, I changed lrucache to a <>include
    In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
    In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
    In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
    clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
dependabot[bot] 9fbdb936ab
Bump ncipollo/release-action from 1.11.1 to 1.11.2 (#4150)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 10:16:46 +01:00
nerix 39f7d8ac4c
feat: Live Emote Updates for 7TV (#4090)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-11-13 12:07:41 +01:00
Wissididom 3c10fc12e6
Release with actual commit message (#4130) 2022-11-09 14:47:42 +00:00
pajlada 42bca5f8c7
Switch to ncipollo/release-action for generating our Nightly releases (#4125) 2022-11-08 22:07:44 +00:00
pajlada 7714237531
Update pajlada/create-release action to v2.0.4 (#4123) 2022-11-08 16:41:24 +00:00
pajlada fcf3f2d88b
Update jurplel/install-qt-action GitHub Action from v2 to v3 (#4106) 2022-11-03 20:03:16 +01:00
nerix ff684fc7ed
feat: Basic PubSub Manager for Live Emote Updates (#4087)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-10-29 14:01:01 +02:00
dependabot[bot] dd39bd66a0
Bump ZedThree/clang-tidy-review from 0.10.0 to 0.10.1 (#4083)
Bumps [ZedThree/clang-tidy-review](https://github.com/ZedThree/clang-tidy-review) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/ZedThree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ZedThree/clang-tidy-review/compare/v0.10.0...v0.10.1)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-29 11:47:27 +02:00
dependabot[bot] 62b689e746
Bump ilammy/msvc-dev-cmd from 1.11.0 to 1.12.0 (#4063)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-10-16 15:55:14 +00:00
pajlada f6f0bc8ab5
Swap back to main branch of ZedThree's clang-tidy-review (#4059) 2022-10-15 13:54:25 +02:00
Felanbird 7337e93a27
Remove comment suggesting Build Qt is a Linux only build step (#3955)
* Remove comment suggesting `Build Qt` is a Linux only build step

* I forgot to no ci

[no ci]

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-08 21:19:13 +02:00