Commit graph

12 commits

Author SHA1 Message Date
Edgar b1604a5acf 🎉 Added ccache and git values back 2021-03-07 11:12:08 +01:00
Edgar 0fe0a58373 👷 Fix CI build 2021-03-07 11:12:08 +01:00
Edgar d5c886c8ee Added Emojis test back 2021-03-07 11:08:13 +01:00
Edgar 9d8a607c4d 🎉 Added test back 2021-03-07 11:08:13 +01:00
pajlada 46f1347e4b
Don't use designated initializers (#2457)
they are a C++20 feature, we aim to support C++17.
2021-02-14 12:59:29 +01:00
pajlada 6b0ce396d6
Update to Emoji v13 (2020) (#1555) 2021-02-13 19:17:22 +01:00
Leon Richardt 0542b81a03
feat: add a finally callback to NetworkRequests (#2350)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-01-16 18:25:56 +01:00
pajlada 0e66b17ff0
Add Network tests (#2304)
Also changes the way timeouts happen, since right now if a timeout was met (which it mostly wasn't), it would run the error callback twice causing potentially undefined behaviour
2020-12-26 12:42:39 +01:00
fanway 38966e2b19
Add option for truecase username autocompletion (#1883)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2020-12-20 16:43:35 +01:00
pajlada f02e6acc27
[Tests] Make tests build again (ctor of HighlightPhrase changed) (#2273) 2020-12-13 13:19:22 +01:00
pajlada 0cbddf7e9b
Fix/be respectful of special characters like exclamation marks in highlight phrases since they are also word boundaries (#1890)
* Add missing includes

We would normally have these included in another file already, or even
the precompiled headers, but having the files included here too makes
testing single parts easier.

* Modify the regex building of highlight phrases for non-regex phrases

For phrases like !test, the word boundary checking we did before was not
enough, so we now check for either a word boundary, a whitespace
character, or the line start/end.

* Add tests for ensuring I haven't fully broken the highlight system

* Add changelog entry
2020-08-22 15:37:03 +02:00
Rasmus Karlsson cbd93f9537 Add tests for the UsernameSet and Prefix classes
How to build test:
mkdir build_test
cd build_test
cmake -DBUILD_TESTS=ON ..
make -j
Then to run the tests, use either:
make test
ctest
./chatterino-test
2019-05-11 14:17:52 +02:00