Commit graph

199 commits

Author SHA1 Message Date
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
fourtf
9f52564b9c fixes tab and split header title text size 2019-10-06 21:31:59 +02:00
fourtf
16b2b2458c Fixes #1331 emote picker out of bounds 2019-10-05 18:17:29 +02:00
fourtf
f0e818065c Revert "test #8"
This reverts commit 1b0e9a6689.
2019-10-05 16:13:18 +02:00
fourtf
1b0e9a6689 test #8 2019-10-05 15:45:45 +02:00
fourtf
9e7d3f50ef fixed #1335 light mode no good 2019-09-25 23:54:56 +02:00
fourtf
88d8bf7cec renamed members in Helpers.cpp 2019-09-18 16:32:07 +02:00
fourtf
5ca0fc0c8f
Merge branch 'master' into moderation 2019-09-18 16:14:45 +02:00
fourtf
3ab7362304 Merge branch 'master' into irc-support 2019-09-18 13:03:16 +02:00
fourtf
63126899ec added pause while key is down 2019-09-16 10:43:20 +02:00
fourtf
358e3a5cfa added new websocketpp 2019-09-15 17:15:00 +02:00
fourtf
36e0dde911 removed websocketpp 2019-09-15 17:13:46 +02:00
fourtf
0219cb0c36 added Chatterino/qtkeychain to fix compilation 2019-09-10 17:06:58 +02:00
fourtf
fe67bda136 moved .clang-format into src directory so submodules don't get formatted 2019-09-10 17:00:23 +02:00
fourtf
de956d2b95 deleted qtkeychain submodule 2019-09-10 16:46:02 +02:00
fourtf
d0e10a937e fixed qtkeychain dependency 2019-09-10 15:53:45 +02:00
fourtf
99b92bf820 moved communi namespace define into libcommuni.pri 2019-09-09 22:19:20 +02:00
fourtf
8241ce7097 added qtkeychain dependency 2019-09-09 22:18:56 +02:00
Leon Richardt
b6f632701f Fix merge conflicts 2019-09-08 22:58:17 +02:00
Leon Richardt
b06eb9df83 Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
fourtf
3404cc503c fixed compile on unix 2019-09-08 22:01:14 +02:00
fourtf
4f356f80cf BaseWindow smol refactor 2019-09-08 21:45:46 +02:00
fourtf
3158ed4085 fixed user popup size issues 2019-09-08 20:05:40 +02:00
fourtf
9d2665ab17 fixed minimized and maximized size not saving on windows 2019-09-08 14:25:01 +02:00
fourtf
37dd66f7ad fixed missing return statement 2019-09-01 14:26:40 +02:00
fourtf
00c1de54b9 fixed compilation on non-windows 2019-09-01 14:15:36 +02:00
fourtf
19960b5d8f Fixes #1261 size on startup 2019-09-01 14:06:30 +02:00
fourtf
d796517eb3 Fixes #1266 tabs too wide after zoom 2019-09-01 13:26:06 +02:00
fourtf
5c0f81defd Fixed stuff in user popup 2019-09-01 13:06:56 +02:00
fourtf
4dc4a37360 fixed fullscreen window margin 2019-08-26 22:29:54 +02:00
fourtf
20e978ad85 changed up settings 2019-08-26 13:18:23 +02:00
fourtf
dd33e4e09e Changed border color to grey 2019-08-22 14:54:56 +02:00
fourtf
c81e1929c9 Fixes #1159 No tooltip foreground transparency. 2019-08-21 02:37:10 +02:00
fourtf
f3e48c1325 smoll changes 2019-08-21 00:07:59 +02:00
fourtf
23f1dd4646 update 2.1.0 2019-08-18 21:21:48 +02:00
Vilgot Fredenberg
352d5729cc Removed unused variable (#1206) 2019-08-16 21:17:30 +02:00
Rasmus Karlsson
7bf6cd5324 Remove bad include 2019-08-11 20:02:44 +02:00
Rasmus Karlsson
381aaaa2d8 add old warnings.pri file (copied from appbase project) 2019-08-10 23:21:12 +02:00
Rasmus Karlsson
ebef87f085 Clean up a few warnings 2019-08-10 13:47:17 +02:00
fourtf
e7d9422431 fixes for last commit 2019-08-01 13:30:58 +02:00
fourtf
a85e5821ba Remove appbase as an external dependency. 2019-07-23 23:55:31 +02:00
Rasmus Karlsson
98611b46f3 update appbase version again 2019-06-10 12:35:15 +02:00
Rasmus Karlsson
ccf6623a0d update version of appbase 2019-06-10 12:29:25 +02:00
Rasmus Karlsson
de7243c3d9 update appbase version 2019-01-25 22:58:55 +01:00
fourtf
a618b01c03 updated appbase 2018-12-02 19:51:20 +01:00
fourtf
bdbdfe3db3 updated appbase version 2018-12-02 19:23:23 +01:00
fourtf
fa24a2acd0 updated appbase version 2018-12-02 18:39:45 +01:00
fourtf
52dcc2130e moved more stuff into appbase 2018-11-25 21:14:42 +01:00
fourtf
0b94d0f763 made appbase compile standalone 2018-11-25 15:02:48 +01:00
fourtf
a9ca33f431 moved stuff from chatterino to appbase 2018-11-23 17:51:55 +01:00
fourtf
41a07a43af added switch for appbase standalone 2018-11-23 12:08:24 +01:00
fourtf
45617226db updated appbase 2018-11-23 10:21:19 +01:00
fourtf
38b23d77ce moved BaseWindow and related files into appbase 2018-11-22 22:10:29 +01:00
fourtf
0f8a1a3ff8 added appbase submodule 2018-11-22 19:36:58 +01:00
fourtf
5c720242e4 removed unused dependencies 2018-11-22 19:11:26 +01:00
Rasmus Karlsson
ac4a496a06 Update to latest settings library version 2018-11-03 13:00:07 +01:00