6860c7007e
The rendering of selections was not aligned to the actual selection that took place for newlines at the end of messages, if they were the only part that was selected of that message. In addition to that fix, we've already refactored the MessageLayoutContainer to try to make it a little bit more sane to work with in the future. Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com> |
||
---|---|---|
.CI | ||
.docker | ||
.github | ||
.patches | ||
.sanitizers | ||
benchmarks | ||
cmake | ||
docs | ||
lib | ||
mocks | ||
resources | ||
src | ||
tests | ||
tools | ||
.cirrus.yml | ||
.clang-tidy | ||
.dockerignore | ||
.git-blame-ignore-revs | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.prettierignore | ||
.prettierrc | ||
BUILDING_ON_FREEBSD.md | ||
BUILDING_ON_LINUX.md | ||
BUILDING_ON_MAC.md | ||
BUILDING_ON_WINDOWS.md | ||
BUILDING_ON_WINDOWS_WITH_VCPKG.md | ||
CHANGELOG.md | ||
CMakeLists.txt | ||
conanfile.py | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md | ||
vcpkg.json |
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 with vcpkg
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
- Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.5/LLVM-15.0.5-win64.exe
- During the installation, make sure to add it to your path
- In QT Creator, select
Help
>About Plugins
>C++
>Beautifier
to enable the plugin - Restart QT Creator
- Select
Tools
>Options
>Beautifier
- Under
General
selectTool: ClangFormat
and enableAutomatic Formatting on File Save
- Under
Clang Format
selectUse predefined style: File
andFallback 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.