Commit graph

130 commits

Author SHA1 Message Date
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