Commit graph

4303 commits

Author SHA1 Message Date
Rasmus Karlsson cd85a1a9de refactor: make Application::plugins private
and add a getter for it
2024-01-19 17:26:32 +01:00
Rasmus Karlsson 56b8396f77 refactor: make Application::highlights private 2024-01-19 17:26:32 +01:00
Rasmus Karlsson 89190af47d refactor: make Application::notifications private 2024-01-19 17:26:32 +01:00
Rasmus Karlsson fc942ab102 refactor: make Application::commands private 2024-01-19 17:26:32 +01:00
Rasmus Karlsson 807ba5e44e refactor: make Application::crashHandler private 2024-01-19 17:26:32 +01:00
Rasmus Karlsson e63a105d94 refactor: make Application::seventvAPI private 2024-01-19 17:26:32 +01:00
Rasmus Karlsson 7629190589 refactor: make Application::imageUploader private 2024-01-19 17:26:31 +01:00
Rasmus Karlsson 51cfb8d369 refactor: make Application::toasts private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 6f6fb7c2b8 refactor: make Application::themes private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson b05efd4e86 refactor: make Application::fonts private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 51134a6371 refactor: make Application::accounts private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 0c42370da9 refactor: make Application::hotkeys private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 3d942b2d8f refactor: make Application::ffzBadges private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 8d717e5cf4 refactor: make Application::seventvBadges private
With this change, we no longer assert that getSeventvBadges is only
called in the GUI thread.
2024-01-19 17:26:05 +01:00
Rasmus Karlsson 94c1084bde refactor: make Application::userData private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson d969d9bf93 refactor: make Application::sound private 2024-01-19 17:26:05 +01:00
Rasmus Karlsson 00066cb6e5 refactor: make Application::windows private 2024-01-19 17:26:05 +01:00
pajlada 326a402710
refactor: Make ChatterinoBadges less of a singleton (#5103) 2024-01-19 17:25:52 +01:00
nerix 5bf1a5a7dd
fix: ignore channel name when copying message (#5106)
Fixes #5101
2024-01-19 13:11:25 +01:00
nerix 4f2ca3b174
fix: assert for GUI thread in getters instead of get(I)App (#5102) 2024-01-18 19:50:57 +00:00
dependabot[bot] 6fed9dc42a
chore(deps): bump lib/settings from 87ed4d9 to 7e99623 (#5099)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 04:15:46 +00:00
dependabot[bot] f508a2c92d
chore(deps): bump lib/lua/src from 6baee9e to 7923dbb (#4983)
Bumps [lib/lua/src](https://github.com/lua/lua) from `6baee9e` to `7923dbb`.
- [Release notes](https://github.com/lua/lua/releases)
- [Commits](6baee9ef9d...7923dbbf72)

---
updated-dependencies:
- dependency-name: lib/lua/src
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2024-01-18 02:11:18 +00:00
dependabot[bot] 70b2b9a1c3
chore(deps): bump actions/cache from 3 to 4 (#5098)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 00:54:17 +00:00
dependabot[bot] 2582e34734
chore(deps): bump ZedThree/clang-tidy-review from 0.15.1 to 0.16.0 (#5097)
Bumps [ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review) from 0.15.1 to 0.16.0.
- [Release notes](https://github.com/zedthree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zedthree/clang-tidy-review/compare/v0.15.1...v0.16.0)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-18 00:29:23 +00:00
pajlada 11838c8e16
refactor: Move TwitchBadges to Application (#5096)
* refactor: Move TwitchBadges to Application

* refactor: Use named initializers

* refactor: Use `empty()` instead of `size() > 0`

* refactor: use emplace instead of push into the callback queue
2024-01-17 23:53:10 +01:00
pajlada 7d5967c248
Use the same input padding between light & dark themes (#5095) 2024-01-17 20:34:01 +00:00
pajlada 9eeea8f203
refactor: Fix a bunch of minor things (#5094) 2024-01-17 21:05:44 +01:00
pajlada 718696db53
refactor: Un-singletonize Paths & Updates (#5092) 2024-01-16 20:56:43 +00:00
pajlada 7f935665f9
refactor: Remove the NullablePtr class (#5091) 2024-01-15 21:30:34 +00:00
pajlada 47a14c9041
clang-tidy: Make protected & private suffix underscore optional (#5090) 2024-01-15 21:31:40 +01:00
pajlada 93e2bc18fa
refactor: move Network files from src/common/ to src/common/network/ (#5089) 2024-01-15 21:28:44 +01:00
dependabot[bot] ad69755bbb
chore(deps): bump lib/signals from ca452a8 to d067706 (#5084)
Bumps [lib/signals](https://github.com/pajlada/signals) from `ca452a8` to `d067706`.
- [Commits](ca452a811d...d06770649a)

---
updated-dependencies:
- dependency-name: lib/signals
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-01-15 16:53:35 +00:00
dependabot[bot] 547ff372e1
chore(deps): bump lib/serialize from bbf0a34 to 17946d6 (#5086)
Bumps [lib/serialize](https://github.com/pajlada/serialize) from `bbf0a34` to `17946d6`.
- [Commits](bbf0a34260...17946d65a4)

---
updated-dependencies:
- dependency-name: lib/serialize
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-01-15 16:16:02 +00:00
dependabot[bot] 4681fb1117
chore(deps): bump ZedThree/clang-tidy-review from 0.15.0 to 0.15.1 (#5087)
Bumps [ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/zedthree/clang-tidy-review/releases)
- [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zedthree/clang-tidy-review/compare/v0.15.0...v0.15.1)

---
updated-dependencies:
- dependency-name: ZedThree/clang-tidy-review
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2024-01-15 15:42:46 +00:00
dependabot[bot] 451e5f0bf9
chore(deps): bump lib/settings from f92bc7b to 7a0e373 (#5085)
* chore(deps): bump lib/settings from `f92bc7b` to `7a0e373`

Bumps [lib/settings](https://github.com/pajlada/settings) from `f92bc7b` to `7a0e373`.
- [Commits](f92bc7bc49...7a0e373f34)

---
updated-dependencies:
- dependency-name: lib/settings
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-15 16:15:25 +01:00
pajlada 5b6675abb4
refactor: fix clang-tidy auto*, const&, and curly braces (#5083) 2024-01-14 17:54:52 +01:00
nerix 292f9b9734
fix: ignore save requests after closing all windows (#5081) 2024-01-14 12:37:03 +00:00
pajlada 13ff11ea75
refactor: SplitOverlay (#5082) 2024-01-14 13:09:07 +01:00
nerix c4c62f2796
fix: restore focus of last split when restoring (#5080) 2024-01-14 12:06:52 +01:00
dependabot[bot] 1554d7b6a4
chore(deps): bump ZedThree/clang-tidy-review from 0.14.0 to 0.15.0 (#5078)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-12 21:18:04 +00:00
fraxx 06f950a55b
Improve Streamlink documentation (#5076)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-12 15:15:42 -05:00
nerix 5c9747e08f
fix: button hover state-change not visible in some cases (#5077) 2024-01-11 23:31:33 +01:00
nerix fa5648fd9a
refactor: NetworkPrivate (#5063)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-09 00:37:15 +01:00
nerix f42ae07408
dev: Add RecentMessages benchmark (#5071)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-07 12:15:36 +00:00
nerix 78a7ebb9f9
Improve color selection and display (#5057)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 20:52:29 +00:00
iProdigy 693d4f401d
feat: add badges, emotes, and filters for suspicious messages (#5060)
* feat: show chat badges on suspicious user messages

* feat: display emotes in suspicious user messages

* feat: add search filters for suspicious messages

* chore: update changelog

* refactor: resolve initial nits

* fix: finish adding new filter identifier

* Comment the new message flags

* Add a list of known issues to low trust update messages

* fix: Keep shared-pointerness of the channel

Without this change, we would have the possibility of using the
TwitchChannel after the Channel itself has gone out of scope, albeit not
realistically since we just post this to a thread and parse it - there's
no networking or big delays involved. but this shows the intent better

---------

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 13:22:00 +00:00
pajlada 416806bb0a
refactor: Twitch PubSub client (#5059)
* Remove unused `setAccountData` function

* Move PubSub out of TwitchIrcServer and into Application

* Add changelog entry

* fix: assert feedback

* Add PubSub::unlistenPrefix as per review suggestion

* Fix tests

* quit pubsub on exit

might conflict with exit removal, so can be reverted but this shows it's possible

* Don't manually call stop on clients, it's called when the connection is closed

* nit: rename `mainThread` to `thread`

* Join in a thread!!!!!!!!
2024-01-06 13:18:37 +01:00
nerix e48d868e8c
fix: Avoid duplicate scale in settings dialog (#5069) 2024-01-06 11:28:06 +00:00
nerix 1192393039
fix: Avoid unnecessary NotebookTab updates (#5068)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2024-01-06 11:04:04 +00:00
pajlada 99b537ffd9
Add some tests for NotebookTab (#5070)
* EmptyApplication: Add asserts to rest of getters (except for getSeventvAPI)

* Theme: make getTheme call getIApp()->getThemes() instead

this allows it to be used in tests
realistically this should be deprecated & users of it should just call
getIApp()->getThemes() directly

* Use getIApp() instead of getApp() in a few places
2024-01-06 11:42:45 +01:00