Chat client for https://twitch.tv
Go to file
Alexey Kutepov 00414eb779 Synchronize Clipboard with Primary Selection on Linux when copying (#1502)
* Introduce crossPlatformCopy()

It sets the text of the clipboard and also syncs it with the selection
clipboard if it is supported. Such behaviour is pretty common for X11
application on Unix-like Operating Systems.

* Fix clang-format remarks

* Fix weird clang-format config discrepancy between my machine and CI

* Remove clipboard argument from crossPlatformCopy

* Fix clang-format remarks
2020-01-24 21:36:51 +01:00
.CI Add GitHub Actions support (#1463) 2019-12-28 14:54:03 +01:00
.docker remove check-format dockerfile 2019-11-02 12:13:01 +01:00
.github 👷 Cache conan packages (#1487) 2020-01-23 09:21:01 +01:00
docs allow customizing twitch server parameters through environment variables (#1449) 2019-12-21 10:11:23 +01:00
lib Remove FMT dependency (#1472) 2020-01-03 20:51:37 +01:00
resources Remove FMT dependency (#1472) 2020-01-03 20:51:37 +01:00
src Synchronize Clipboard with Primary Selection on Linux when copying (#1502) 2020-01-24 21:36:51 +01:00
tests/src Add tests for the UsernameSet and Prefix classes 2019-05-11 14:17:52 +02:00
tools add dockerfile for checking formatting 2019-11-02 11:59:04 +01:00
.gitattributes Add .gitattributes file to normalize line endings 2019-09-08 22:01:12 +02:00
.gitignore Update .gitignore build ignores so it only ignores folders 2019-07-21 12:18:41 +02:00
.gitmodules switch to using our own fork of libcommuni where we've fixed an sasl issue 2019-11-02 14:17:44 +01:00
.travis.yml Export TRAVIS_TAG alongside GIT_TAG for Travis CI builds 2020-01-04 04:21:19 +01:00
appveyor.yml changed appveyor version back to 5.13 2019-12-26 23:32:14 +01:00
BUILDING_ON_LINUX.md Clean up build instructions for Fedora (#1403) 2019-11-02 02:21:50 -07:00
BUILDING_ON_MAC.md Document minimum Qt 5.10 requirement 2018-10-19 22:41:59 +02:00
BUILDING_ON_WINDOWS.md Correct indent 2019-05-01 20:30:14 +02:00
chatterino.pro Synchronize Clipboard with Primary Selection on Linux when copying (#1502) 2020-01-24 21:36:51 +01:00
CMakeLists.txt Add tests for the UsernameSet and Prefix classes 2019-05-11 14:17:52 +02:00
conanfile.txt 📦 Switch to packages from conan-center && updated packages (#1429) 2019-12-14 12:27:36 +01:00
CONTRIBUTING.md UPDATED CONTRIBUTING.md (#1395) 2019-10-29 21:09:42 +01:00
ISSUE_TEMPLATE.md Create ISSUE_TEMPLATE.md 2018-01-07 00:16:26 +01:00
Jenkinsfile run distclean before making 2018-08-11 14:16:59 +02:00
LICENSE Add LICENSE file (#130) 2017-10-13 21:57:43 +02:00
README.md http -> https in README 2020-01-12 18:41:02 +01:00
update_filelist.py Sort file list before writing to project file 2019-09-23 13:24:24 +02:00

alt text 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

Building on Windows

Building on Linux

Building on Mac

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://releases.llvm.org/9.0.0/LLVM-9.0.0-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.