mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Chat client for https://twitch.tv
cdf85c5084
This ensures that the layout will survive for the lifetime of the menu, so any of the menu actions can with confidence do things with the layout, not having to worry whether it's dead or not. This means that the user, while having the message menu open, could have one extra MessageLayout alive. I have ensured that when the menu dies the reference to the shared pointer dies with it. |
||
---|---|---|
.CI | ||
.docker | ||
.github | ||
docs | ||
lib | ||
resources | ||
src | ||
tests/src | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
_.travis.yml | ||
appveyor.yml | ||
BUILDING_ON_FREEBSD.md | ||
BUILDING_ON_LINUX.md | ||
BUILDING_ON_MAC.md | ||
BUILDING_ON_WINDOWS.md | ||
CHANGELOG.md | ||
chatterino.pro | ||
CMakeLists.txt | ||
conanfile.txt | ||
CONTRIBUTING.md | ||
ISSUE_TEMPLATE.md | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
update_filelist.py |
Chatterino 2
Chatterino 2 is the second installment of the Twitch chat client series "Chatterino".
Download
Current releases are available at https://chatterino.com.
Nightly build
You can download the latest Chatterino 2 build over here
You might also need to install the VC++ 2017 Redistributable 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
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://releases.llvm.org/9.0.0/LLVM-9.0.0-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.