Chat client for https://twitch.tv
Go to file
nerix b975900043
refactor: Toast (#4899)
* Fixes a bug where avatars weren't loaded on fresh installations of Chatterino.
* Avatars now update every two weeks.
* Removes misleading `DownlaodManager` (now part of `Toasts.cpp`).
* Refactors usage of WinToast to be easier to read.
* Added version to AUMI.
* Removes manual `QString` → `std::wstring` conversions.
* Removes uses of implicit ASCII casts in `Toasts.cpp`, meaning it can be compiled with `QT_NO_CAST_FROM_ASCII`.
2023-10-17 01:50:18 +00:00
.CI Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6 (#4856) 2023-10-01 11:19:26 +02:00
.docker Fix input completion tests on Qt6 & run tests on 22.04 (#4774) 2023-08-27 11:11:59 +00:00
.github Bump ZedThree/clang-tidy-review from 0.13.4 to 0.14.0 (#4890) 2023-10-13 18:18:23 +02:00
.patches Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
.sanitizers Fix memory leaks & data races in tests (#4772) 2023-08-27 12:07:46 +00:00
benchmarks Fix emoji unified/non-qualified version for sending & parsing (#4840) 2023-10-07 10:21:30 +00:00
cmake Bump lib/WinToast from 5e441fd to 821c481 (#4894) 2023-10-13 18:49:12 +02:00
docs Release v2.4.5 (#4787) 2023-08-26 12:33:01 +02:00
lib Bump lib/crashpad from 432ff49 to 3182e3b (#4902) 2023-10-17 02:34:18 +02:00
mocks Test filters context map & message builder (#4886) 2023-10-13 15:41:23 +00:00
resources Update Nightly to 2.4.6 and get qt6-related-changes from 2.4.6 (#4856) 2023-10-01 11:19:26 +02:00
src refactor: Toast (#4899) 2023-10-17 01:50:18 +00:00
tests Add some more filter tests (#4897) 2023-10-14 10:41:10 +02:00
tools Replace boost::optional with std::optional (#4877) 2023-10-08 16:50:48 +00:00
.cirrus.yml Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
.clang-tidy Remove boost::noncopyable use & boost::random dependency (#4776) 2023-09-09 10:23:20 +00:00
.dockerignore Separate Ubuntu .deb packages per Ubuntu release (#4357) 2023-02-11 22:50:01 +00:00
.git-blame-ignore-revs Add .git-blame-ignore-revs (#4743) 2023-08-05 11:10:55 +00:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426) 2023-09-09 11:11:19 +00:00
.gitmodules Add basic lua scripting capabilities (#4341) 2023-04-02 15:31:53 +02:00
.prettierignore Store Themes as JSON files (#4471) 2023-04-08 09:05:55 +00:00
.prettierrc Format YAML and JSON Files With Prettier (#4304) 2023-01-15 17:27:41 +01:00
BUILDING_ON_FREEBSD.md Remove official support for QMake (#3839) 2022-07-23 14:04:29 +02:00
BUILDING_ON_LINUX.md fix fedora build dependencies (#4828) 2023-09-18 14:12:19 +02:00
BUILDING_ON_MAC.md Update macOS build instructions & fix release artifacts (#4545) 2023-04-15 14:23:33 +02:00
BUILDING_ON_WINDOWS.md Update Windows build instructions & contributing docs (#4858) 2023-10-09 18:30:27 +00:00
BUILDING_ON_WINDOWS_WITH_VCPKG.md Update Windows build documentation (#4413) 2023-03-04 12:09:20 +01:00
CHANGELOG.md refactor: Toast (#4899) 2023-10-17 01:50:18 +00:00
CMakeLists.txt Bump lib/WinToast from 5e441fd to 821c481 (#4894) 2023-10-13 18:49:12 +02:00
conanfile.py Upgrade from Conan 1.x to 2.x (#4417) 2023-04-02 10:48:22 +00:00
CONTRIBUTING.md Update Windows build instructions & contributing docs (#4858) 2023-10-09 18:30:27 +00:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md Fix Chatterino logo in readme (#4865) 2023-10-04 10:44:35 +00:00
vcpkg.json Update vcpkg to Qt6 (#4872) 2023-10-07 09:09:58 +00:00

chatterinoLogo Chatterino 2 GitHub Actions Build (Windows, Ubuntu, MacOS) Cirrus CI Build (FreeBSD only) Chocolatey Package Flatpak Package

Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.

Download

Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.

Nightly build

You can download the latest Chatterino 2 build over here

You might also need to install the VC++ Redistributables from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing, then you should install the VC++ 2013 Restributable.

Building

To get source code with required submodules run:

git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git

or

git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive

Building on Windows

Building on Windows with vcpkg

Building on Linux

Building on Mac

Building on FreeBSD

Git blame

This project has big commits in the history which for example update all line endings. To improve the output of git-blame, consider setting:

git config blame.ignoreRevsFile .git-blame-ignore-revs

This will ignore all revisions mentioned in the .git-blame-ignore-revs file. GitHub does this by default.

Code style

The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.

Get it automated with QT Creator + Beautifier + Clang Format

  1. Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.5/LLVM-15.0.5-win64.exe
  2. During the installation, make sure to add it to your path
  3. In QT Creator, select Help > About Plugins > C++ > Beautifier to enable the plugin
  4. Restart QT Creator
  5. Select Tools > Options > Beautifier
  6. Under General select Tool: ClangFormat and enable Automatic Formatting on File Save
  7. Under Clang Format select Use predefined style: File and Fallback style: None

Qt creator should now format the documents when saving it.

Doxygen

Doxygen is used to generate project information daily and is available here.