zneix
bbecb5a56b
Merge remote-tracking branch 'origin/master' into zneix/feature/qt6
2021-08-08 17:14:25 +02: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
pajlada
d0f817a60b
Add basic benchmark ( #3038 )
...
* Add basic benchmark
* Add basic documentation for how to run and add tests/benchmarks
* Update benchmark example output
* Add changelog entry
Co-authored-by: zneix <zneix@zneix.eu>
2021-08-08 14:16:30 +02:00
sando
7309fd8668
Strip leading @ and trailing , from /user and /usercard commands ( #3143 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-08 11:23:54 +00:00
James Upjohn
6151cd5b05
Show system message when reloading subscriber emotes ( #3135 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-08-08 10:59:28 +00:00
Paweł
d0d32583a2
Prepare CMake for Qt6 ( #3103 )
2021-08-08 12:37:37 +02:00
apa420
359db17386
Added links to discussions when trying to create an issue ( #3145 )
2021-08-07 23:59:25 +02:00
pajlada
54f6e4f9e9
Remove twitchemotes.com-related functionality ( #3136 )
...
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-07 11:13:05 +00:00
nilyt
961803deba
Allow building against Qt 5.11 ( #3105 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-07 10:37:02 +00:00
Tal Neoran
5cb1022ccf
Fix badge highlights using the same color ( #3134 )
...
Co-authored-by: Paweł <zneix@zneix.eu>
2021-08-07 11:30:56 +02:00
Paweł
cd7758a28e
Ensure we don't attempt to index an empty array ( #3122 )
2021-08-07 09:01:22 +00:00
Tal Neoran
9d90de6b8c
Handle moderation mode and filters in split popup ( #3130 )
2021-08-07 00:04:09 +02:00
fourtf
4e5170799f
updated version number to v2.3.4
2021-08-05 10:44:30 +02:00
Paweł
de4f6a9d51
Rate limit outgoing JOIN messages ( #3115 )
...
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
Co-authored-by: Tal Neoran <talneoran@gmail.com>
2021-08-04 21:18:34 +00:00
Paweł
0c5abb8149
Deprecated /(un)follow commands and respective usercard action ( #3078 )
...
/(un)follow commands are marked as deprecated and link to the issue this PR is closing.
follow button on the usercard is removed completely
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
2021-08-04 20:41:27 +00:00
pajlada
28dcdb238b
Remove JOINs from write connection ( #3112 )
...
Co-authored-by: zneix <zneix@zneix.eu>
2021-08-03 15:55:04 +00:00
pajlada
95044efeed
Fix filter crash introduced in #3092 ( #3110 )
2021-08-03 07:39:27 +00:00
pajlada
784fdd28b2
Check for ignored phrases/users in channel point redemptions ( #3102 )
2021-08-01 13:44:04 +00:00
Mm2PL
77f683577f
Use double spaces instead of Chatterino character when possible ( #3081 )
2021-08-01 12:38:07 +00:00
Mm2PL
d7e8f4eabd
Add channel.live filter variable ( #3092 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-08-01 12:08:03 +00:00
zneix
a51d995f43
Fixes to QtConcurrent::run()
...
We now use `QFuture::result()` to get the underlying type in
QtConcurrent::run() now returns `QFuture<T>` instead of just the underlying type T
To get the underlying type from QFuture, we need to use .result()
NOTE: No idea if .results() wouldn't be better in some cases, gotta investigate this.
Reference:
- https://doc.qt.io/qt-5/qfuture.html#result
- https://doc.qt.io/qt-6/concurrent-changes-qt6.html#qtconcurrent-run
2021-07-31 23:04:25 +02:00
zneix
adfef8146e
Follow-up to text encoding-related changes from 1330076
...
Reference:
- https://doc.qt.io/qt-6/qtextstream.html#setEncoding
2021-07-31 22:59:59 +02:00
zneix
e2f59d2e61
Use QApplication::screens().first() instead of deprecated methods
...
Also follows-up moving away from QDesktop widget from c99f12e8fe
Note: `QScreen::availableGeometry()` doesn't take the parent argument as opposed to `QDesktopWidget::availableGeometry(QWidget &xd)` - no idea if not passing an argument breaks anything, but just for the sake of having Chatterino compile I didn't mind it that much while fixing compilation.
Reference:
- https://doc.qt.io/qt-6/widgets-changes-qt6.html#qdesktopwidget-and-qapplication-desktop
2021-07-31 22:51:34 +02:00
zneix
d6450a8f78
Specify QPoint in QWidget::mapToGlobal(QPoint &pos)
...
There's now both QPoint and QPointF overloads
Reference:
- https://doc.qt.io/qt-6/qwidget.html#mapToGlobal
2021-07-31 22:47:00 +02:00
zneix
2a8daaea05
Include QFile that is now necessary I think
2021-07-31 22:46:26 +02:00
zneix
bddd5b021c
QStyleOption::init() -> QStyleOption::initFrom()
...
Reference:
- https://doc.qt.io/qt-5/qstyleoption-obsolete.html#init
2021-07-31 22:41:15 +02:00
zneix
0839e36177
Follow-up to 52ef16418d
2021-07-31 22:40:29 +02:00
zneix
850869bb0f
Follow-up to 4ba4a2f33c
2021-07-31 22:34:47 +02:00
zneix
e7b89e61e8
Move QAction to QtGui on Qt6
...
Reference:
- https://doc.qt.io/qt-6/widgets-changes-qt6.html#qaction-qactiongroup
2021-07-31 22:32:47 +02:00
zneix
fa31c57dc9
Replaced QLayout::setMargin with QLayout::setContentsMargins
...
It's been already deprecated in Qt5, removed from Qt6 completely
Reference:
- https://doc.qt.io/qt-5/qlayout-obsolete.html
2021-07-31 19:45:17 +02:00
zneix
c99f12e8fe
Removed unused QDesktopWidget includes
...
Also made the overlooked deprecation fixes (which is now a necessary fix because deprecation warning became a compilation error now), Extends #2647
2021-07-31 18:50:35 +02:00
zneix
0ea7db094e
Follow-up to 52ef16418d
2021-07-31 18:13:38 +02:00
zneix
a0228fbd6d
Merge remote-tracking branch 'origin/master' into zneix/feature/qt6
2021-07-31 17:34:13 +02:00
apa420
3cb1e5158a
Added the ability to add nicknames for users ( #2981 )
...
Co-authored-by: Mm2PL <mm2pl+gh@kotmisia.pl>
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
2021-07-31 16:15:43 +02:00
ALazyMeme
3238d1f801
Add ALazyMeme to the contributor list ( #3097 )
...
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
2021-07-31 13:24:56 +00:00
xHeaveny
0f0b0c03b8
Adding xHeaveny to Contributor List ( #3072 )
2021-07-31 12:47:56 +00:00
Niko
bbe7849240
Fixes some basic grammatical mistakes ( #3053 )
2021-07-31 13:03:07 +02:00
zneix
6c6edc10bb
QLatin1Literal no longer exists (?)
...
QStringLiteral seems like a fine workaround
2021-07-31 12:43:04 +02:00
zneix
4958a13240
QMediaPlayer::setMedia -> QMediaPlayer::setSource
...
References:
- https://doc.qt.io/qt-5/qmediaplayer.html#setMedia
- https://doc-snapshots.qt.io/qt6-dev/qmediaplayer.html#setSource
2021-07-31 12:27:27 +02:00
zneix
4ba4a2f33c
Follow-up to 32f81a668f
...
Also, rather use `static_cast<int>(stuff)` than `int(stuff)`.
See https://cdn.zneix.eu/JjHk5U4.png
2021-07-31 02:28:00 +02:00
zneix
52ef16418d
More QStringRef -> QStringView
...
Follow-up to stuff that was originally added in 1330076d5d
2021-07-31 02:17:54 +02:00
zneix
32f81a668f
QList::{size,length}() changed fron inline int to qsizetype
...
References:
- https://doc.qt.io/qt-6/qlist.html#length
- https://www.qt.io/blog/qlist-changes-in-qt-6
2021-07-31 02:00:20 +02:00
zneix
19a2b2eb61
You can no longer just append int to a QString
2021-07-31 01:59:57 +02:00
zneix
efc376138a
Replace QPixmap == comparison with QImage ==
...
Reference:
- b39685d4c2
2021-07-31 01:41:21 +02:00
zneix
347a1b9ed6
Follow-up to d010a7d48b
2021-07-31 00:57:45 +02:00
zneix
3757784f73
Follow-up to 0933d68111
2021-07-31 00:35:19 +02:00
zneix
d010a7d48b
Update QWidget::enterEvent() override
...
References:
- https://doc.qt.io/qt-6/qwidget.html#enterEvent
2021-07-31 00:31:15 +02:00
zneix
0933d68111
Update to Qt::SkipEmptyParts
2021-07-31 00:25:39 +02:00
zneix
1520398984
Merge remote-tracking branch 'origin/master' into zneix/feature/qt6
2021-07-30 20:11:35 +02: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