OnceFlag.waitFor (#7121)
In hopes to not land a PR for #7116, this increases the wait + timeout as described in https://github.com/Chatterino/chatterino2/issues/7116#issuecomment-5015316981. I think the issue is that macOS runners on GitHub Actions are so incredibly slow sometimes that we get these weird timings. And if that's the cause, the overhead (e.g. from switching tasks) should be constant. Then, if we increase the wait and timeout, we also increase the accepted jitter (timeout - wait) from 100ms to 1s. So if the lag we get is at about 150ms, that is now accepted. Reviewed-by: pajlada <rasmus.karlsson@pajlada.com>
Chatterino 2

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 macOS
- Building on FreeBSD
Git blame
This project has big commits in the history which touch most files while only doing stylistic changes. 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. Our configuration is found in the .clang-format file in the repository root directory.
For more contribution guidelines, take a look at the wiki.
Doxygen
Doxygen is used to generate project information daily and is available here.