Commit graph

174 commits

Author SHA1 Message Date
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
Rasmus Karlsson
141fdc7ca8 update settings/signals version again 2018-09-30 13:56:58 +00:00
hemirt
3184234c19 Squashed commit of the following:
commit ea07bbef0b
Merge: 0b36f436 5cfcf114
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:05:14 2018 +0200

    Merge branch 'blacklist' into blacklistnew

commit 5cfcf114b6
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 20:00:16 2018 +0200

    rename second pattern to replacement

commit f08cc4cf88
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:30 2018 +0200

    delete out commented code

commit 1acb1278aa
Author: hemirt <hemirt@email.cz>
Date:   Sun Sep 23 19:52:03 2018 +0200

    fix replacement with emotes issues

commit 646268ab18
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 01:06:36 2018 +0200

    fix build

commit ad711b4c15
Merge: e8e059f8 8bcc9c48
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:52:38 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e8e059f847
Author: hemirt <hemirt@email.cz>
Date:   Sun Aug 19 00:25:58 2018 +0200

    add replaced emotes into twitchEmotes

commit a63454f00d
Merge: e7f2f397 63eaf3b9
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 22:38:16 2018 +0200

    Merge branch 'master' of https://github.com/fourtf/chatterino2 into blacklist

commit e7f2f39737
Author: hemirt <hemirt@email.cz>
Date:   Sat Aug 11 21:54:01 2018 +0200

    emotedata

commit f00d3da537
Author: hemirt <hemirt@email.cz>
Date:   Sat Jul 28 19:53:55 2018 +0200

    rename variables to fit better, emotes in capture groups from regex work

commit 00c9fa080a
Author: hemirt <hemirt@email.cz>
Date:   Mon Jul 9 19:53:53 2018 +0200

    add case sensitivity checkbox and fix validity issues due to isValid
    that checked regex

commit 4385fcd13f
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:09:14 2018 +0200

    remove commented code

commit 1834342f74
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 21:03:13 2018 +0200

    IgnorePhrase replacement

    also removes twitch emotes info about the matched and changed parts and
    shifts positions of other emotes from emote infos to the corresponding new
    position

commit d3b6e294ed
Author: hemirt <hemirt@email.cz>
Date:   Sun Jul 8 16:21:33 2018 +0200

    ignore phrases
2018-09-30 11:42:23 +00:00
Rasmus Karlsson
bad9d5e521 Add missing WinToast submodule 2018-09-16 20:01:28 +02:00
Rasmus Karlsson
a00921a220 update settings and signals library versions 2018-09-16 19:53:13 +02:00
Rasmus Karlsson
9bfbdefd2f Update settings library version 2018-07-15 14:30:04 +00:00
Rasmus Karlsson
bfe6b90877 update settings and signals library versions 2018-07-15 11:56:04 +00:00
Rasmus Karlsson
22bf008bdf Update new settings library version 2018-07-15 11:03:25 +00:00
pajlada
10df071077
Breakpad implementation (#535)
* qBreakpad simple implementation

* update chatterino.pro for linux

* Add breakpad building script for linux
2018-06-27 23:06:37 +00:00
Rasmus Karlsson
f76512c31e Remove authenticated get function from urlfetch
Implement twitch account emote getter function in TwitchAccount
2018-06-27 00:16:30 +00:00
Rasmus Karlsson
aba6d1b840 update settings version 2018-06-26 00:42:22 +00:00
fourtf
3c9c3493ae improved the extension 2018-05-30 17:17:27 +02:00
fourtf
fe3ab1f1b9 fixed linux compilation 2018-05-28 19:49:37 +02:00
fourtf
6bd787423d added template model/view magic for commands 2018-04-29 23:26:17 +02:00
Rasmus Karlsson
9bb7a3fa74 Update external settings lib version 2018-04-28 15:20:40 +02:00
fourtf
9426a9d633 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-28 13:48:49 +02:00
Rasmus Karlsson
25a7db7179 Update external settings lib version 2018-04-27 17:38:30 +02:00
fourtf
b176dc5295 switched up the settings pages 2018-04-25 20:35:32 +02:00
Rasmus Karlsson
0718277271 Update settings library version 2018-04-22 14:09:38 +02:00
pajlada
23cf8cc484
PubSub system (#346)
* Add websocketpp dependency

* Initial pubsub commit

Renamed selection min and max variables to selectionMin and selectionMax
to bypass windows min/max macros being stupid.

TwitchAccount is now initialized with its User ID. It cannot be changed
after it has been initialized.

* Update openssl folder

* Update installation instructions

* Split up websocketpp dependency to its own code only and openssl.pri

* Add missing include to asio steady_timer

* Update dependencies for linux
2018-04-15 15:09:31 +02:00
fourtf
ed50f1835f added debug information on F10 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
5433daa1ea Update settings library. make use of new define 2018-04-11 22:54:34 +02:00
fourtf
fc758846f6 made the code actually compile 2018-01-22 20:14:43 +01:00
fourtf
bd50b2ae79 Fixes #248 user color not normalized 2018-01-22 14:35:51 +01:00
Rasmus Karlsson
cb0d078648 windows builds now use rapidjson from a submodule 2018-01-07 03:32:03 +01:00
Rasmus Karlsson
dc9f1b96eb update settings library version 2018-01-04 00:11:00 +01:00