Commit graph

49 commits

Author SHA1 Message Date
fourtf 8ae9abb250 refactored IgnoredController 2020-02-23 20:01:35 +01:00
fourtf e2c493f369 removed compat aliases for SignalVector 2020-02-23 19:37:02 +01:00
fourtf 843e2ad994 refactored HighlightController 2020-02-23 19:31:43 +01:00
fourtf 4a5dc80bc6 some more refactoring 2020-02-23 17:45:59 +01:00
fourtf e1838154ff refactored SignalVector 2020-02-23 17:11:15 +01:00
Leon Richardt d0839ac36e
Make pre-defined highlight columns unselectable
Fixes #1539.
2020-02-20 00:10:10 +01:00
Leon Richardt 497ce2d2f2 Better Highlights: Fix Unintentional Color Update (#1522)
* HighlightPhrase: Fix wrong documentation

* Use right constructor for new HighlightPhrases

* Fix preset highlights changing unintentionally

Prior to this commit, the callback for reacting to user input on the
highlight table (namely, `HighlightingPage::tableCellClicked`) only
checked for the row number in order to determine whether preset
highlights (self highlights, whispers, and subscriptions) need to be
updated. Hence, changing rows 0 through 2 in the "User Highlights" tab
would also update the preset highlights.

This commit adds a check to determine whether the callback was triggered
by the "Messages" highlight tab, or not.
2020-01-27 00:16:09 +01:00
Leon Richardt 5957551d06 Better Highlights (#1320)
* Support for user-defined sounds and colors

* Make color & sound columns selectable

* Add custom row for subscription highlights

* Add subscriptions to custom highlights and centrally manage highlight colors

* Dynamically update message highlight colors
2020-01-25 11:03:10 +01:00
fourtf 9874bd779a formatted all files with clang 9 2019-09-26 00:51:05 +02:00
Leon Richardt b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
Leon Richardt a62b7ac094 Add setting for case-sensitivity in highlights 2019-09-07 19:01:52 +02:00
fourtf fff979b3c0 lock SignalVector with shared_lock to allow reading on other threads 2019-07-31 22:50:12 +02:00
apa420 aca95788d0 Fixed the highlighted user saving the name after chatterino closes #921 2019-01-19 15:45:25 +01:00
Rasmus Karlsson ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00
fourtf e259b9e39f added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
apa420 c3065db16d highlighting whispers works better and looks better 2018-08-29 01:21:36 +02:00
fourtf af7b742a23 changed .clang-format 2018-08-15 22:46:20 +02:00
fourtf f6414c9d7e remove settings and paths from Application 2018-08-12 12:56:28 +02:00
fourtf 44f5a15da3 turning a lot of includes into forward declares 2018-08-11 22:23:06 +02:00
fourtf cf9560508c improving code quality 2018-08-10 20:53:13 +02:00
fourtf f71ff08e68 changed to 80 max column 2018-08-06 21:17:03 +02:00
fourtf c71795da17 Merge branch '4tf' 2018-08-06 18:41:30 +02:00
fourtf c2e2dfb577 this commit is too big 2018-08-02 14:23:27 +02:00
apa420 f33cc884b2 Fixed issue with Excluded users not saving from the highlights tab (#624) 2018-07-16 17:09:29 +02:00
fourtf c609a9fd37 started to refactor Application 2018-07-07 11:41:13 +02:00
fourtf 535c0616a3 Applied project style to multiple files 2018-07-06 18:10:21 +02:00
fourtf d925704aa9 renamed file to fix compiling 2018-07-05 16:09:08 +02:00
DatGuy1 9c7c99928f Add highlighting of all messages from a certain user (#564)
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
Rasmus Karlsson 4ea613503e Remove unused include 2018-07-04 11:45:10 +00:00
Rasmus Karlsson 03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
fourtf 6013591730 renamed files SignalVector -> SimpleSignalVector and SingalVector2 -> SignalVector 2018-06-28 20:25:37 +02:00
fourtf 2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf 5604ae6a67 removed functions from SettingsManager that shouldn't be there 2018-06-28 19:38:57 +02:00
fourtf 08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf 54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf 2df0566492 removed namespaces 2018-06-26 16:37:59 +02:00
fourtf 15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00
fourtf 0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
Rasmus Karlsson e1f2cb3355 Enable full unicode support in Highlight phrases
Fix #509
2018-06-24 13:42:22 +00:00
fourtf 8c9be20f9b changed AccountManager to AccountController 2018-05-26 20:25:00 +02:00
fourtf 48e94a1169 added code for a notification system 2018-05-23 22:27:29 +02:00
Rasmus Karlsson 732d0374be Simplify optional member reading in HighlightPhrase setting deserialization 2018-05-13 19:25:12 +02:00
fourtf c2363e17e7 minor fixes 2018-05-06 15:39:03 +02:00
fourtf 34a58021bc added basic alternating messages backgrounds 2018-05-06 14:39:27 +02:00
fourtf b95388107f added regex highlights 2018-05-06 12:52:47 +02:00
fourtf ba4173822e created base for all the list based settings 2018-05-06 00:32:45 +02:00