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
Rasmus Karlsson
8bf9fc92c3
Add a != operator to match the Prefix's == operator
2019-05-11 14:17:52 +02:00
Rasmus Karlsson
ee9b0f4c12
Fix tab completion
...
Fixes #813
This has the "quirk" of not updating names that are already there, which
means that display names might not always be used, instead the users
lowercase name might just be there and stick
2019-05-11 14:17:24 +02:00
Rasmus Karlsson
2492a0ba21
reformat usernamset
2019-05-11 13:59:03 +02:00
Rasmus Karlsson
8c46cbf571
add chatterino icon to linux install script
2019-05-11 00:01:32 +02:00
Rasmus Karlsson
3bbee62f32
add missing .desktop file
...
this is used for linux desktops
2019-05-10 23:33:30 +02:00
Rasmus Karlsson
1a7a5409ab
do a full reformat according to our current .clang-format
2019-05-10 23:31:10 +02:00
Rasmus Karlsson
fa6c9f2fba
make paths cachedirectory formatting nicer
2019-05-10 23:28:05 +02:00
apa420
834b1f3c53
Option to hide system moderation messages ( #1066 )
2019-05-10 23:16:34 +02:00
apa420
3ea496a99b
Added boldness adjustment for fonts ( #1057 )
...
* Added boldness adjustment for fonts
* Moved setting and changed description of it
2019-05-10 22:37:44 +02:00
hemirt
c43c1dc207
Adds option to mute ping sound for specific channels ( #990 )
...
Co-Authored-By: hemirt <hemirt@hemirt.com>
2019-05-10 22:36:37 +02:00
23rd
9654650bee
Renamed variables to clear some warnings.
2019-05-10 22:18:05 +02:00
23rd
efec76df5b
Removed unused local vars. Slightly refactored code.
2019-05-10 22:18:05 +02:00
Ruben Anders
2d21bb0695
Add libboost-filesystem-dev to ubuntu dependencies, closes #957
2019-05-09 19:44:40 +02:00
hemirt
411502de44
fix comments
2019-05-07 20:28:01 +02:00
hemirt
4f5e3f6a27
fixes #1058
2019-05-07 20:28:01 +02:00
hemirt
23921f3fed
show whispers notices
2019-05-07 20:28:01 +02:00
hemirt
bc8175d9ce
fix #1053
2019-05-07 20:28:01 +02:00
hemirt
add312b609
fix #1062
2019-05-07 19:35:56 +02:00
Rasmus Karlsson
536e86f919
add a reasonable default installation path
...
modifiable in qmake with the PREFIX argument
i.e. qmake PREFIX=/usr
2019-05-07 11:08:50 +02:00
Alexandr Kondratev
14eb302c3d
Close search popup window on Escape pressed
2019-05-06 21:16:40 +02:00
23rd
a3f6d2b773
Fixed display of text in Go to Bottom button for Retina screen.
2019-05-04 11:55:41 +02:00
TranRed
cff1aa0959
changed some variables to const
2019-05-04 11:40:52 +02:00
TranRed
7ad6db550d
made links in system messages clickable
...
needed to make sub ticket in sub only chat accessible.
2019-05-04 11:40:52 +02:00
Rasmus Karlsson
30430b0fb3
this ctor was used to create a system message
...
we now only use the ctor that takes an explicit SystemMessageTag
2019-05-02 00:28:53 +02:00
TranRed
b5efe12f56
renamed enum ToastReactions to ToastReaction (singular)
2019-05-02 00:01:18 +02:00
TranRed
cd1f717c36
deleted dead code
...
not needed anymore since latest commit
2019-05-02 00:01:18 +02:00
TranRed
a592a3e882
Connected ComboBox to currentIndexChanged
...
implemented proper connection to combobox (currentIndexChanged instead of currentTextChanged)
Thanks, pajlada! FeelsGoodMan
2019-05-02 00:01:18 +02:00
TranRed
2a590adba7
Implemented requested changes
...
changed setting from String to int.
changed EnumCase
I used createComboBox only has an implementation that handles stringsettings. I implemented my own combobox to handle the ToastsSettings now. Not sure if this is the best way. Won't come up with something smarter for now.
2019-05-02 00:01:18 +02:00
TranRed
c20629c165
Refactored opening from toasts
...
implemented maps and map look up functions
2019-05-02 00:01:18 +02:00
TranRed
2be81aa877
Update chatterino.pro
2019-05-02 00:01:18 +02:00
TranRed
724ad2118b
Update chatterino.pro
2019-05-02 00:01:18 +02:00
TranRed
d749a4771a
made CommonTexts.hpp look like other headers
2019-05-02 00:01:18 +02:00
TranRed
f76df80575
creates common texts for opening streams
...
Texts for opening streams were used in multiple locations. Created a file to store GUI texts like this and replaced were applicable
2019-05-02 00:01:18 +02:00
pajlada
01082b123f
Merge pull request #1050 from apa420/apa-pubsub-fix
...
Changed to ref for better performance #1049
2019-05-01 22:36:32 +02:00
pajlada
8aa2d42ca9
Merge pull request #1045 from TranRed/patch-3
...
Added {message} parameter for moderation buttons
2019-05-01 22:35:07 +02:00
apa420
8d80eab649
Changed to ref for better performance
2019-05-01 22:28:46 +02:00
pajlada
216b21e0c3
Merge pull request #1049 from apa420/apa-pubsub-fix
...
Pubsub messages now go into the correct channel
2019-05-01 22:22:03 +02:00
Rasmus Karlsson
effe91badc
clean up magic message suffix stuff
2019-05-01 22:10:51 +02:00
apa420
c60b717b98
Pubsub messages now go into the correct channel
2019-05-01 21:46:53 +02:00
pajlada
cf3612c19a
Merge pull request #1047 from apa420/patch-1
...
Update BUILDING_ON_WINDOWS.md add step with required dll's
2019-05-01 21:42:14 +02:00
apa420
7266ae2856
Merge pull request #1 from RAnders00/patch-2
...
Correct indent
2019-05-01 20:33:07 +02:00
Ruben Anders
91ade0d078
Correct indent
2019-05-01 20:30:14 +02:00
apa420
4a7856d997
Update BUILDING_ON_WINDOWS.md
2019-05-01 20:25:55 +02:00
Rasmus Karlsson
9d8838149f
Merge remote-tracking branch 'origin/master' into nightly
2019-05-01 19:58:43 +02:00
TranRed
b33478d8c6
stored original message text in message
2019-05-01 16:43:52 +02:00
TranRed
bbf649bf70
Added {message} parameter for moderation buttons
2019-05-01 16:08:45 +02:00
pajlada
5e7a1c4eb9
Merge pull request #1044 from tsoding/nixos
...
Add NixOS Building Instructions
2019-05-01 15:57:01 +02:00
rexim
0644134f7c
Add NixOS Building Instructions
2019-05-01 20:18:29 +07:00
TranRed
34f820be18
implemented fallback logic for corrupted window layout ( #1039 )
...
* fallback logic for corrupted window layout
1. before saving the window-layout a backup will created to avoid corruption due to crashes while saving
2. when starting chatterino and the window-layout file returns and empty window layout (due to corruptio) the backup will be read and the layout will be build from this data
* Update WindowManager.hpp
* used QSaveFile instead of crude custom implementation
* implemented suggested feedback from review
* proper method call
was tired and slightly drunk Kapp
2019-05-01 09:58:13 +02:00