Commit graph

136 commits

Author SHA1 Message Date
Rasmus Karlsson 66b4c7d14c Remove lib/CMakeLists.txt file as it's no longer needed 2021-03-07 11:12:09 +01:00
Rasmus Karlsson 5577117f20 Update qtkeychain to chatterino-cmake branch
This branch ensures that `qtkeychain` can be built directly as a
submodule in Chatterino
2021-03-07 11:12:09 +01:00
Rasmus Karlsson 94a4252cae Bump version of libcommuni-cmake 2021-03-07 11:12:09 +01:00
Rasmus Karlsson 98e108710a Add libcommuni-cmake library
This is based off AnotherFoxGuy's fork, with some further additions to
the CMakeLists.txt file allowing for simpler building

Currently on the `chatterino-cmake` branch
2021-03-07 11:12:09 +01:00
Rasmus Karlsson 2082b1b4c8 Update settings dependency to use the chatterino-cmake-build branch 2021-03-07 11:12:08 +01:00
Edgar dc383b97ed 🎉 Added install target 2021-03-07 11:12:08 +01:00
Edgar 082b5e8b90 🔧 Cleanup build without conan 2021-03-07 11:08:13 +01:00
Edgar 1a75f15498 🎉 Added support for building without Conan 2021-03-07 11:08:13 +01:00
Edgar 2df55138f8 🔧 Replaced find_libs with conan 2021-03-07 11:08:13 +01:00
Edgar 2c8e0d1ec0 🎉 Added QtKeychain conan pkg 2021-03-07 11:08:13 +01:00
Edgar 95b6879661 🚧 cmake build 2021-03-07 11:08:13 +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