pajlada
c8e1741e47
Remove CHATTERINO_TEST definition ( #4526 )
2023-04-09 12:18:56 +02:00
Daniel Sage
cf80ae8434
Disable ImageExpirationPool during testing ( #4363 )
...
* Disable ImageExpirationPool during testing
* Update CHANGELOG.md
---------
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2023-02-11 19:20:46 +00:00
nerix
1043f9f803
Remove Unnecessary Includes in Headers ( #4275 )
...
* refactor: remove unnecessary includes in headers
* fix: formatting
* chore: changelog
* fix: scrollbar
* fix: suggestions and old appbase remains
* fix: suggestion
* fix: missing Qt forward declarations
* fix: another qt include
* fix: includes for precompiled-headers=off
* Add missing `<memory>` includes
* Add missing `#pragma once`
* Fix tests
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-31 14:41:01 +00:00
nerix
448c8622e7
Remove unused operators in Image
( #4267 )
2022-12-28 19:24:14 +00:00
pajlada
032f290767
Sort and force grouping of includes ( #4172 )
...
This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
2022-11-27 19:32:53 +01:00
Daniel Sage
8ec032fc84
Periodically free memory from unused images ( #3915 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-09-04 11:23:14 +00:00
fourtf
ed6ef0b98e
add a maximum RAM usage for images
2021-06-24 22:54:36 +02:00
fourtf
6229b2f434
sync gif emotes of same length
2020-02-16 14:24:11 +01:00
fourtf
2fc799f85a
run destructor of Frames in gui thread
2019-10-07 20:03:15 +02:00
fourtf
da4714944d
small fixes in Image
2019-09-22 10:54:32 +02:00
Rasmus Karlsson
57ba829775
Remove previously added includes to Image
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
dbce128cc3
Remove "custom on success" logic from Image.
...
Create a new message element and message layout element type for mod badges.
2019-09-08 14:08:18 +02:00
Rasmus Karlsson
256a65a12e
Load mod badge information from the FFZ API instead of assuming the URL.
...
This lets us load all sizes of the emote if they are available.
Channel with all versions of the mod badge: https://api.frankerfacez.com/v1/room/pajlada
Channel with only one version of the mod badge: https://api.frankerfacez.com/v1/room/apa420
Channel with no mod badge: https://api.frankerfacez.com/v1/room/forsen
2019-09-08 14:08:18 +02:00
fourtf
dbc20baa65
fixed emote preview not using 3x images
2019-08-21 01:44:19 +02:00
fourtf
6274c05520
Fixed always loading 1x, 2x and 3x images
2019-08-13 13:51:27 +02:00
fourtf
e7d9422431
fixes for last commit
2019-08-01 13:30:58 +02:00
Rasmus Karlsson
641c5822d7
fix various warnings
2018-09-20 13:09:37 +02:00
fourtf
af7b742a23
changed .clang-format
2018-08-15 22:46:20 +02:00
fourtf
44f5a15da3
turning a lot of includes into forward declares
2018-08-11 22:23:06 +02:00
fourtf
c768bd9bd9
fixed image animations
2018-08-11 17:15:17 +02:00
fourtf
edfae49cc9
simplified Image
2018-08-10 18:56:17 +02:00
fourtf
6344fa6b23
loading images on their own thread
2018-08-09 20:46:58 +02:00
fourtf
f71ff08e68
changed to 80 max column
2018-08-06 21:17:03 +02:00
fourtf
defa7e41fa
simplified Image a bit
2018-08-06 20:00:04 +02:00
fourtf
35d462d1f1
worked on Image
2018-08-06 18:25:47 +02:00
fourtf
c2e2dfb577
this commit is too big
2018-08-02 14:23:27 +02:00
fourtf
2df0566492
removed namespaces
2018-06-26 16:37:59 +02:00
fourtf
c9722b9780
rename #2
2018-06-26 13:24:55 +02:00