Commit graph

154 commits

Author SHA1 Message Date
dependabot[bot] 3c73801d20
Bump lib/serialize from 7d37cbf to 1f99aa8 (#4418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 21:02:37 -05:00
dependabot[bot] ae7567121b
Bump lib/crashpad from 918fd31 to ec99257 (#4370)
Bumps [lib/crashpad](https://github.com/getsentry/crashpad) from `918fd31` to `ec99257`.
- [Release notes](https://github.com/getsentry/crashpad/releases)
- [Commits](918fd319d6...ec99257868)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 10:10:03 +01:00
nerix e377c30192
Add Crashpad Support on Windows (#4351)
* feat: crashpad on windows

* feat: inline it

* feat: more crashpad

* chore: remove qBreakpad

* fix: add mention to crashpad

* refactor: version string

* feat: add crashpad module

* refactor: build crashpad from source

* fix: minor adjustments

* chore: add changelog entry

* fix: formatting and include

* fix: format

* build: use flags similar to release profile

* ci: build with crashpad on windows

* ci: recurse submodules

* ci: always include crashpad

* fix: try 7z

for some reason zstd just doesn't run

* fix: wrong path for symbols

* fix: copy

pls don't build

* ci: use new cache key

* fix: missing pragma

* ci: add workflow without crashpad

* docs: elevate changelog entry

* fix: add link to cmake issue

* fix: windows include issue

Someone (crashpad) includes Windows.h before winsock2.h

* fix: working directory

* fix: another working directory
2023-02-12 20:36:58 +01:00
pajlada 4958d08036
Change sound backend from Qt to miniaudio (#4334)
Thanks Greenlandicsmiley, Nerixyz, Yoitsu, and helmak for helping debug & test this

* Remove QMediaPlayer includes

* Prefer local path when generating the sound path

* Update changelog entry number

* Disable pitch & spatialization control
2023-01-29 10:36:25 +01:00
pajlada bf5a5b839c
Fix version checking (#4329)
https://github.com/Neargye/semver

* Use semver library for version downgrade checking

* Add test validating our current version is valid semver
2023-01-26 19:22:48 +01:00
pajlada ff9f63c5e0
Bump libcommuni version (#4320)
This includes a Qt6-related fix that Nerixyz contributed to the main
repo but that hasn't been merged in yet.
2023-01-21 14:31:50 +00:00
nerix 86e71c8bd9
Migrate to C++ 20 & switch to websocketpp develop branch (#4252)
* feat: c++ 20

* fix: c++ 20 deprecations

* fix(msvc): warnings

* chore: add changelog entry

* fix: formatting

* Update websocketpp to the `develop` branch

* Specify other template type in FlagsEnum != operator

* Remove the user of simple template ids in our websocketpp template class

Also standardizes the file a bit by using nested namespaces, using
pragma once

* fix: turn `MAGIC_MESSAGE_SUFFIX` into a `QString`

* hacky unhacky hacky const char hack

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-12-24 11:56:11 +00:00
pajlada 2ba4da02ae
Update qtkeychain to e5b070831cf1ea3cb98c95f97fcb7439f8d79bd6 (#4250)
* Update qtkeychain to `e5b070831cf1ea3cb98c95f97fcb7439f8d79bd6`

* FreeBSD/Cirrus - use system qtkeychain - this ensures we don't have to install pkg-config to get libsecret built

* Set BUILD_SHARED_LIBS to OFF globally - this resolves the libcommuni build issue
2022-12-20 23:09:07 +01:00
pajlada 907554124d
Update Magic Enum to v0.8.2 (#4227) 2022-12-10 10:41:06 +00:00
dependabot[bot] b22c13d589
Bump lib/magic_enum from 4802f79 to f4ebb4f (#3916)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-08-11 22:14:19 +00:00
Daniel Sage bda060f42e
Delete .pri files, move warnings to src/CMakeLists.txt (#3883) 2022-07-30 12:39:13 +02:00
dependabot[bot] 0ab53d62ea
Bump lib/magic_enum from 6956c56 to 4802f79 (#3843)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-29 10:13:11 +02:00
pajlada 6e0852fb49
Update WinToast to the latest version available at 2022-06-25 (#3834)
Closes #3817
2022-06-25 10:31:54 +00:00
dependabot[bot] 64da34342c
Bump lib/magic_enum from 87190b8 to 6956c56 (#3783)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-30 03:05:39 +02:00
pajlada ec4b1627d7
Build GoogleTest & GoogleMock as submodules (#3760) 2022-05-22 15:43:41 +02:00
dependabot[bot] d6148381eb
Bump lib/magic_enum from b2ac762 to 87190b8 (#3723)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2022-05-14 11:43:15 +02:00
nerix f97780d84e
Improve Twitch PubSub connection reliability (#3643)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2022-05-07 15:22:39 +00:00
dependabot[bot] efcef61896
Bump lib/libcommuni from 95f0547 to a7b32cd (#3410)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-12-25 18:13:29 +00:00
pajlada 51ece94f58
Update Settings and Signals version (#3398)
Co-authored-by: zneix <zneix@zneix.eu>
2021-12-19 14:57:56 +00:00
pajlada d7fd08b1d6
Fix color @usernames sometimes not working at all (#3170)
Definitely memory fuckery involved - The comment from @lubieerror https://github.com/Chatterino/chatterino2/issues/2822#issuecomment-897252673 is finally what led me to adding tests and hopefully fixing this.
2021-08-21 10:38:38 +00:00
dependabot[bot] a216e11755
Bump lib/libcommuni from c613600 to 95f0547 (#3149)
Bumps [lib/libcommuni](https://github.com/Chatterino/libcommuni) from `c613600` to `95f0547`.
- [Release notes](https://github.com/Chatterino/libcommuni/releases)
- [Commits](c613600e6a...95f05478de)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-08 13:18:05 +00:00
dependabot[bot] 986b2937d7
Bump lib/libcommuni from a196c53 to c613600 (#3094)
Bumps [lib/libcommuni](https://github.com/Chatterino/libcommuni) from `a196c53` to `c613600`.
- [Release notes](https://github.com/Chatterino/libcommuni/releases)
- [Commits](a196c53829...c613600e6a)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 17:59:05 +00:00
dependabot[bot] 3f0db00360
Bump lib/libcommuni from ef8daa1 to a196c53 (#3091)
Bumps [lib/libcommuni](https://github.com/Chatterino/libcommuni) from `ef8daa1` to `a196c53`.
- [Release notes](https://github.com/Chatterino/libcommuni/releases)
- [Commits](ef8daa1494...a196c53829)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-30 09:54:26 +00:00
Paweł fa2fd4593b
Move away from websocketpp fork (#3016) 2021-07-17 17:50:22 +02:00
Paweł 2844c8e7e0
Bump lib/libcommuni from 05e9292 to ef8daa1 (#2982) 2021-07-08 21:24:03 +00:00
pajlada 91b0170241
Make tests use main chatterino project objects (#2840) 2021-06-13 11:49:59 +00:00
fourtf 3fddafb867
optimize chatter list (#2814)
* optimize chatter list

* changelog

* Fix tests

Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-05-24 10:13:59 +00:00
pajlada e00938dfde
Add support for CMake (buildsystem generator) (#2468)
Co-authored-by: Edgar <Edgar@AnotherFoxGuy.com>
2021-03-28 16:58:51 +02:00
fourtf 8a4ffc5f5b
added limit to cached username colors (#2515) 2021-03-13 15:34:11 +01:00
pajlada 714048a29e
Make qtkeychain fork up to date (#2469) 2021-02-20 21:02:43 +01:00
dependabot[bot] 277289db55
Bump lib/serialize from 130ffc3 to 7d37cbf (#2418)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-02-17 23:57:37 +01:00
pajlada 648757529d
Use dev version of settings (#2453) 2021-02-13 17:29:22 +01:00
dependabot[bot] eda5e2b504
Bump lib/signals from 6665cca to baf5bb0 (#2423)
Bumps [lib/signals](https://github.com/pajlada/signals) from `6665cca` to `baf5bb0`.
- [Release notes](https://github.com/pajlada/signals/releases)
- [Commits](6665ccad90...baf5bb04bd)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-30 15:07:58 +01:00
pajlada 5fa829202d
Remove humanize submodule (#2422) 2021-01-30 14:14:11 +01:00
pajlada 2a53ae49e0
Bump QtKeychain version (#2393) 2021-01-23 15:00:39 +01:00
pajlada 1a08282cae
Build multiple Qt versions in CI (#2349) 2021-01-10 13:23:34 +01:00
pajlada 11150ec5aa
Move away from libcommuni fork (#2327) 2021-01-02 14:00:15 +01:00
pajlada 0e66b17ff0
Add Network tests (#2304)
Also changes the way timeouts happen, since right now if a timeout was met (which it mostly wasn't), it would run the error callback twice causing potentially undefined behaviour
2020-12-26 12:42:39 +01:00
Steve Wills fe95f0aa45
Update version of libcommuni submodule (#2217)
Changes in the submodule:
 - c9c32474b5 (Avoid duplicate header inclusions)
2020-11-28 12:27:42 +01:00
Steve Wills cbcd5f3863
use packaged qtkeychain on FreeBSD (#1929) 2020-09-01 21:58:23 +02:00
Steve Wills 36b9466f89
fix clang check when clang++ is called c++ (#1924)
* fix clang check when clang++ is called c++

* fix syntax
2020-08-31 16:42:30 +02:00
pajlada 9ae79e650d
Update version of settings library (#1908)
This version handles symlinks properly

Relevant for commands saving and settings saving
2020-08-30 15:31:47 +02:00
Leon Richardt f1e12975d5
Revert changes to submodule libcommuni (#1864)
These have been introduced by accident in a9080ce.
2020-08-15 13:05:19 +02:00
Leon Richardt a9080ceb3c
Discord-like Quick Switcher (#1588)
* Proof of Concept for Quick Switcher

* Fix crash when suggestions are empty

* QuickSwitcher: Use tab name instead of a single channel

* Rebase later

* Add missing include for <functional>

* Move QuickSwitcher related classes into own subfolder

* Refactor switcher list items

Now, items are responsible for taking the right action when selected in
the switcher list. This should allow for more focused code and
responsibilities.

* Add note about memory management

* Add option to open channel in a new tab

* Add support for using the mouse

* Spawn switcher popup in the middle of the window

Works reliably on i3 at least. Might need some additional testing on
other WMs (and especially on Windows!).

* Add some icons for switcher items

Note that the final design of the list is not final but I do plan to
incorporate these in the future.

* Set Qt::Dialog window flag on switcher popup

Prevents tiling window managers like i3 from trying to tile the window.

* Rename "SwitcherItem" to "AbstractSwitcherItem"

* Add comments about what items are inserted

* Use custom model and view

Still missing: Currently selected item is not highlighted yet. You can
move between selected items with tab and arrow keys though.

* Add helper function to convert QVariant to AbstractSwitcherItem *

* Remove useless constant

* Highlight currently selected switcher item

* Use a different method for centering QuickSwitcherPopup window

* QuickSwitcherModel: Add documentation

* Add default parameter to QuickSwitcherModel::rowCount

* QuickSwitcherPopup: Add comments

* Remove outdated TODO

* QuickSwitcherModel: Init vector with default capacity

* Remove outdated comment

* Add comment about 0 ms timeout interval

* NewTabItem: Simplify interface

* Only fetch opened splits once

This is better than the prior approach since opened splits cannot change
anyways while the switcher is open.

* Use SplitContainer to pass information instead of custom type

* Allow searching for tab titles as well

Before this commit, only channel names could be searched.

* Refactor switcher item interface to be more flexible

Also show tab name and channel name in the switcher list.

* Add documentation for AbstractSwitcherItem

* Add documentation for NewTabItem

* Add comments about {begin,end}{Insert,Remove}Rows

* Remove unused method

* Replace magic size with named constant

* Add change log entry

Co-authored-by: fourtf <tf.four@gmail.com>
2020-08-13 19:25:51 +02:00
Jonas Schmitt 11b8948290
Add support for non-highlight channel point rewards (#1809) 2020-08-08 15:37:22 +02:00
pajlada 3c8992cac1
Remove FMT dependency (#1472)
All occurrences of log() have been replaced with qDebug()

bonus meme: remove a bunch of std::string usages in the pubsub client

Fixes #1467
2020-01-03 20:51:37 +01:00
pajlada 2cb2f679c2
Better support for compiling with system libraries (#1447) 2019-12-29 12:47:15 +01:00
Rasmus Karlsson 556c2aef2b update libcommuni version 2019-11-02 15:34:51 +00:00
Rasmus Karlsson 23898863df switch to using our own fork of libcommuni where we've fixed an sasl issue 2019-11-02 14:17:44 +01:00
fourtf b1cbf09427 removed appbase directory 2019-10-07 15:46:41 +02:00