mirror-chatterino2/src/widgets/helper
Daniel Sage 46f43f3ce8
Automatically load recent messages on reconnect (#3878)
* Add working reconnect recent messages

* Rename method to messagesUpdated

* Use audo declarations

* Add docs to new LimitedQueue methods

* Add more documentation, try atomic loading flag

* Update CHANGELOG.md

* Remove unused include

* Rename 'reconnected' signal to 'connected'

* Reserve before filtering on arbitrary update

* Extract recent messages fetching to own class

* Use std::atomic_flag instead of std::atomic_bool

* Add PostToThread include

* Add chatterino.recentmessages logging

* Remove unneeded parameters, lambda move capture

* Remove TwitchChannel::buildRecentMessages

* Add documentation, use more clear method name

* Reword changelog entry

I think it sounds better like this :)

* Rework how filling in missing messages is handled

This should hopefully prevent issues with filtered channels with old messages
that no longer exist in the underlying channel

* Check existing messages when looking for reply

* Clean up string distribution in file

* Try to improve documentation

* Use std::function for RecentMessagesApi

* Only trigger filledInMessages if we inserted

* Remove old unused lines

* Use make_shared<MessageLayout> instead of new MessageLayout

* Alphabetize QLogging categories

* Reorder CHANGELOG.md
2022-08-06 18:18:34 +02:00
..
Button.cpp clang-tidy: use std::move where applicable (#2605) 2021-04-10 12:34:40 +00:00
Button.hpp downscale images in button 2020-09-26 15:40:43 +02:00
ChannelView.cpp Automatically load recent messages on reconnect (#3878) 2022-08-06 18:18:34 +02:00
ChannelView.hpp Automatically load recent messages on reconnect (#3878) 2022-08-06 18:18:34 +02:00
ColorButton.cpp Better Highlights (#1320) 2020-01-25 11:03:10 +01:00
ColorButton.hpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
ComboBoxItemDelegate.cpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
ComboBoxItemDelegate.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
CommonTexts.hpp Add 'open in mod view' button to split context menu (#2321) 2021-01-02 17:25:27 +01:00
DebugPopup.cpp Chore: Proper Lambda Formatting (#2167) 2020-11-08 12:02:19 +01:00
DebugPopup.hpp Use Qt's dialog where applicable (#1843) 2020-10-31 16:42:48 +01:00
EditableModelView.cpp Prevent user from entering incorrect characters in Live Notifications channels list (#3715) 2022-05-08 10:27:25 +00:00
EditableModelView.hpp Prevent user from entering incorrect characters in Live Notifications channels list (#3715) 2022-05-08 10:27:25 +00:00
EffectLabel.cpp removed appbase directory 2019-10-07 15:46:41 +02:00
EffectLabel.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
Line.hpp moved last message line in settings and changed defaults 2021-03-13 12:33:54 +01:00
NotebookButton.cpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
NotebookButton.hpp moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
NotebookTab.cpp Add the ability to lock NotebookTab layout (#3627) 2022-03-26 14:16:45 +01:00
NotebookTab.hpp Update Settings and Signals version (#3398) 2021-12-19 14:57:56 +00:00
QColorPicker.cpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
QColorPicker.hpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
RegExpItemDelegate.cpp Fix: ignore whitespaces pasted in EmotePopup search (#3730) 2022-05-16 09:42:17 +00:00
RegExpItemDelegate.hpp Prevent user from entering incorrect characters in Live Notifications channels list (#3715) 2022-05-08 10:27:25 +00:00
ResizingTextEdit.cpp Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled (#3838) 2022-06-26 16:53:09 +00:00
ResizingTextEdit.hpp Fix split focusing being broken in certain circumstances when the "Show input when it's empty" setting was disabled (#3838) 2022-06-26 16:53:09 +00:00
ScrollbarHighlight.cpp Overhaul highlight system (#3399) 2022-06-05 15:40:57 +00:00
ScrollbarHighlight.hpp Fix 'First Message' scrollbar highlights not being disabled (#3325) 2021-10-30 13:24:38 +02:00
SearchPopup.cpp Added support for Twitch's Chat Replies (#3722) 2022-07-31 10:45:25 +00:00
SearchPopup.hpp Added support for Twitch's Chat Replies (#3722) 2022-07-31 10:45:25 +00:00
SettingsDialogTab.cpp Fix incorrect spacing of settings icons at high DPI (#3698) 2022-04-30 10:04:45 +00:00
SettingsDialogTab.hpp fix crash 2020-02-28 19:05:50 +01:00
SignalLabel.cpp added category navigation to general settings 2020-10-22 23:20:07 +02:00
SignalLabel.hpp Fixed deprecated method QFlags::Zero (#2508) 2021-03-13 16:27:13 +01:00
TitlebarButton.cpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
TitlebarButton.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
TrimRegExpValidator.cpp Fix: ignore whitespaces pasted in EmotePopup search (#3730) 2022-05-16 09:42:17 +00:00
TrimRegExpValidator.hpp Fix: ignore whitespaces pasted in EmotePopup search (#3730) 2022-05-16 09:42:17 +00:00