Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Chatterino/chatterino2 into featu…
Browse files Browse the repository at this point in the history
…re/lua-completion-api-v2
  • Loading branch information
Mm2PL committed Dec 9, 2023
2 parents 0789921 + 401e097 commit b4e13b9
Show file tree
Hide file tree
Showing 14 changed files with 64 additions and 53 deletions.
6 changes: 3 additions & 3 deletions .CI/chatterino-nightly.flatpakref
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Flatpak Ref]
Name=com.chatterino.chatterino
Branch=nightly
Branch=beta
Title=com.chatterino.chatterino from flathub
IsRuntime=false
Url=https://dl.flathub.org/repo/
SuggestRemoteName=flathub
Url=https://dl.flathub.org/beta-repo/
SuggestRemoteName=flathub-beta
GPGKey=mQINBFlD2sABEADsiUZUOYBg1UdDaWkEdJYkTSZD68214m8Q1fbrP5AptaUfCl8KYKFMNoAJRBXn9FbE6q6VBzghHXj/rSnA8WPnkbaEWR7xltOqzB1yHpCQ1l8xSfH5N02DMUBSRtD/rOYsBKbaJcOgW0K21sX+BecMY/AI2yADvCJEjhVKrjR9yfRX+NQEhDcbXUFRGt9ZT+TI5yT4xcwbvvTu7aFUR/dH7+wjrQ7lzoGlZGFFrQXSs2WI0WaYHWDeCwymtohXryF8lcWQkhH8UhfNJVBJFgCY8Q6UHkZG0FxMu8xnIDBMjBmSZKwKQn0nwzwM2afskZEnmNPYDI8nuNsSZBZSAw+ThhkdCZHZZRwzmjzyRuLLVFpOj3XryXwZcSefNMPDkZAuWWzPYjxS80cm2hG1WfqrG0Gl8+iX69cbQchb7gbEb0RtqNskTo9DDmO0bNKNnMbzmIJ3/rTbSahKSwtewklqSP/01o0WKZiy+n/RAkUKOFBprjJtWOZkc8SPXV/rnoS2dWsJWQZhuPPtv3tefdDiEyp7ePrfgfKxuHpZES0IZRiFI4J/nAUP5bix+srcIxOVqAam68CbAlPvWTivRUMRVbKjJiGXIOJ78wAMjqPg3QIC0GQ0EPAWwAOzzpdgbnG7TCQetaVV8rSYCuirlPYN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y0HK/CUEJmiZEmpNiXecl4vPIIuyF0zgSCztQtKoMr+injpmQGC/rF/ELBVZTUSLNB350S0Ztvw0FKWDAJSxFmoxt3xycqvvt47rxTrhi78nkk6jATKGyvP55sO+K7Q7Wh0DXA69hvPrYW2eu8jGCdVGxi6HX7L1qcfEd0378S71dZ3g9o6KKl1OsDWWQ6MJ6FGBZedl/ibRfs8p5+sbCX3lQSjEFy3rx6n0rUrXx8U2qb+RCLzJlmC5MNBOTDJwHPcX6gKsUcXZrEQALmRHoo3SrewO41RCr+5nUlqiqV3AohBMhnQbGzyHf2+drutIaoh7Rj80XRh2bkkuPLwlNPf+bTXwNVGse4bej7B3oV6Ae1N7lTNVF4Qh+1OowtGjmfJPWo0z1s6HFJVxoIof9z58Msvgao0zrKGqaMWaNQ6LUeC9g9Aj/9Uqjbo8X54aLiYs8Z1WNc06jKP+gv8AWLtv6CR+l2kLez1YMDucjm7v6iuCMVAmZdmxhg5I/X2+OM3vBsqPDdQpr2TPDLX3rCrSBiS0gOQ6DwN5N5QeTkxmY/7QO8bgLo/Wzu1iilH4vMKW6LBKCaRx5UEJxKpL4wkgITsYKneIt3NTHo5EOuaYk+y2+Dvt6EQFiuMsdbfUjs3seIHsghX/cbPJa4YUqZAL8C4OtVHaijwGo0ymt9MWvS9yNKMyT0JhN2/BdeOVWrHk7wXXJn/ZjpXilicXKPx4udCF76meE+6N2u/T+RYZ7fP1QMEtNZNmYDOfA6sViuPDfQSHLNbauJBo/n1sRYAsL5mcG22UDchJrlKvmK3EOADCQg+myrm8006LltubNB4wWNzHDJ0Ls2JGzQZCd/xGyVmUiidCBUrD537WdknOYE4FD7P0cHaM9brKJ/M8LkEH0zUlo73bY4XagbnCqve6PvQb5G2Z55qhWphd6f4B6DGed86zJEa/RhS
RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Minor: All sound capabilities can now be disabled by setting your "Sound backend" setting to "Null" and restarting Chatterino. (#4978)
- Minor: Add an option to use new experimental smarter emote completion. (#4987)
- Minor: Add `--safe-mode` command line option that can be used for troubleshooting when Chatterino is misbehaving or is misconfigured. It disables hiding the settings button & prevents plugins from loading. (#4985)
- Minor: Updated the flatpakref link included with nightly builds to point to up-to-date flathub-beta builds. (#5008)
- Minor: Add a new completion API for experimental plugins feature. (#5000)
- Bugfix: Fixed an issue where certain emojis did not send to Twitch chat correctly. (#4840)
- Bugfix: Fixed capitalized channel names in log inclusion list not being logged. (#4848)
Expand Down Expand Up @@ -46,14 +47,17 @@
- Bugfix: Fixed lookahead/-behind not working in _Ignores_. (#4965)
- Bugfix: Fixed Image Uploader accidentally deleting images with some hosts when link resolver was enabled. (#4971)
- Bugfix: Fixed rare crash with Image Uploader when closing a split right after starting an upload. (#4971)
- Bugfix: Hide the Usercard button in the User Info Popup when in special channels. (#4972)
- Bugfix: Fixed support for Windows 11 Snap layouts. (#4994)
- Bugfix: Fixed some windows appearing between screens. (#4797)
- Bugfix: Fixed a bug on Wayland where tooltips would spawn as separate windows instead of behaving like tooltips. (#4998)
- Dev: Run miniaudio in a separate thread, and simplify it to not manage the device ourselves. There's a chance the simplification is a bad idea. (#4978)
- Dev: Change clang-format from v14 to v16. (#4929)
- Dev: Fixed UTF16 encoding of `modes` file for the installer. (#4791)
- Dev: Temporarily disable High DPI scaling on Qt6 builds on Windows. (#4767)
- Dev: Tests now run on Ubuntu 22.04 instead of 20.04 to loosen C++ restrictions in tests. (#4774)
- Dev: Do a pretty major refactor of the Settings classes. List settings (e.g. highlights) are most heavily modified, and should have an extra eye kept on them. (#4775)
- Dev: conan: Update Boost to 1.83 & OpenSSL to 3.2.0. (#5007)
- Dev: Remove `boost::noncopyable` use & `boost_random` dependency. (#4776)
- Dev: Fix clang-tidy `cppcoreguidelines-pro-type-member-init` warnings. (#4426)
- Dev: Immediate layout for invisible `ChannelView`s is skipped. (#4811)
Expand Down
4 changes: 2 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class Chatterino(ConanFile):
name = "Chatterino"
requires = "boost/1.81.0"
requires = "boost/1.83.0"
settings = "os", "compiler", "build_type", "arch"
default_options = {
"with_benchmark": False,
Expand All @@ -24,7 +24,7 @@ def requirements(self):
self.requires("benchmark/1.7.1")

if self.options.get_safe("with_openssl3", False):
self.requires("openssl/3.1.0")
self.requires("openssl/3.2.0")
else:
self.requires("openssl/1.1.1t")

Expand Down
2 changes: 1 addition & 1 deletion lib/crashpad
Submodule crashpad updated 115 files
7 changes: 0 additions & 7 deletions src/widgets/BaseWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include "widgets/helper/EffectLabel.hpp"
#include "widgets/helper/TitlebarButtons.hpp"
#include "widgets/Label.hpp"
#include "widgets/TooltipWidget.hpp"
#include "widgets/Window.hpp"

#include <QApplication>
Expand Down Expand Up @@ -468,11 +467,6 @@ EffectLabel *BaseWindow::addTitleBarLabel(std::function<void()> onClicked)

void BaseWindow::changeEvent(QEvent *)
{
if (this->isVisible())
{
TooltipWidget::instance()->hide();
}

#ifdef USEWINSDK
if (this->ui_.titlebarButtons)
{
Expand All @@ -497,7 +491,6 @@ void BaseWindow::changeEvent(QEvent *)

void BaseWindow::leaveEvent(QEvent *)
{
TooltipWidget::instance()->hide();
}

void BaseWindow::moveTo(QPoint point, widgets::BoundsChecking mode)
Expand Down
6 changes: 0 additions & 6 deletions src/widgets/TooltipWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@

namespace chatterino {

TooltipWidget *TooltipWidget::instance()
{
static TooltipWidget *tooltipWidget = new TooltipWidget();
return tooltipWidget;
}

TooltipWidget::TooltipWidget(BaseWidget *parent)
: BaseWindow({BaseWindow::TopMost, BaseWindow::DontFocus,
BaseWindow::DisableLayoutSave},
Expand Down
4 changes: 1 addition & 3 deletions src/widgets/TooltipWidget.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ class TooltipWidget : public BaseWindow
Q_OBJECT

public:
static TooltipWidget *instance();

TooltipWidget(BaseWidget *parent = nullptr);
TooltipWidget(BaseWidget *parent);
~TooltipWidget() override = default;

void setOne(const TooltipEntry &entry,
Expand Down
14 changes: 13 additions & 1 deletion src/widgets/dialogs/UserInfoPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,10 @@ UserInfoPopup::UserInfoPopup(bool closeAutomatically, QWidget *parent,
user.emplace<QCheckBox>("Block").assign(&this->ui_.block);
user.emplace<QCheckBox>("Ignore highlights")
.assign(&this->ui_.ignoreHighlights);
auto usercard = user.emplace<EffectLabel2>(this);
// visibility of this is updated in setData

auto usercard =
user.emplace<EffectLabel2>(this).assign(&this->ui_.usercardLabel);
usercard->getLabel().setText("Usercard");
auto mod = user.emplace<Button>(this);
mod->setPixmap(getResources().buttons.mod);
Expand Down Expand Up @@ -739,6 +742,15 @@ void UserInfoPopup::setData(const QString &name,
this->updateLatestMessages();
}
// If we're opening by ID, this will be called as soon as we get the information from twitch

auto type = this->channel_->getType();
if (type == Channel::Type::TwitchLive ||
type == Channel::Type::TwitchWhispers || type == Channel::Type::Irc ||
type == Channel::Type::Misc)
{
// not a normal twitch channel, the url opened by the button will be invalid, so hide the button
this->ui_.usercardLabel->hide();
}
}

void UserInfoPopup::updateLatestMessages()
Expand Down
3 changes: 3 additions & 0 deletions src/widgets/dialogs/UserInfoPopup.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "widgets/DraggablePopup.hpp"
#include "widgets/helper/EffectLabel.hpp"

#include <pajlada/signals/scoped-connection.hpp>
#include <pajlada/signals/signal.hpp>
Expand Down Expand Up @@ -80,6 +81,8 @@ class UserInfoPopup final : public DraggablePopup

Label *noMessagesLabel = nullptr;
ChannelView *latestMessages = nullptr;

EffectLabel2 *usercardLabel = nullptr;
} ui_;

class TimeoutWidget : public BaseWidget
Expand Down
39 changes: 21 additions & 18 deletions src/widgets/helper/ChannelView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ ChannelView::ChannelView(BaseWidget *parent, Split *split, Context context,
, highlightAnimation_(this)
, context_(context)
, messages_(messagesLimit)
, tooltipWidget_(new TooltipWidget(this))
{
this->setMouseTracking(true);

Expand Down Expand Up @@ -1632,7 +1633,7 @@ void ChannelView::enterEvent(QEvent * /*event*/)

void ChannelView::leaveEvent(QEvent * /*event*/)
{
TooltipWidget::instance()->hide();
this->tooltipWidget_->hide();

this->unpause(PauseReason::Mouse);

Expand All @@ -1653,7 +1654,6 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
this->pause(PauseReason::Mouse);
}

auto *tooltipWidget = TooltipWidget::instance();
std::shared_ptr<MessageLayout> layout;
QPoint relativePos;
int messageIndex;
Expand All @@ -1662,7 +1662,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (!tryGetMessageAt(event->pos(), layout, relativePos, messageIndex))
{
this->setCursor(Qt::ArrowCursor);
tooltipWidget->hide();
this->tooltipWidget_->hide();
return;
}

Expand Down Expand Up @@ -1700,14 +1700,14 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (layout->flags.has(MessageLayoutFlag::Collapsed))
{
this->setCursor(Qt::PointingHandCursor);
tooltipWidget->hide();
this->tooltipWidget_->hide();
return;
}

if (hoverLayoutElement == nullptr)
{
this->setCursor(Qt::ArrowCursor);
tooltipWidget->hide();
this->tooltipWidget_->hide();
return;
}

Expand All @@ -1721,7 +1721,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (element->getTooltip().isEmpty() ||
(isLinkValid && isNotEmote && !getSettings()->linkInfoTooltip))
{
tooltipWidget->hide();
this->tooltipWidget_->hide();
}
else
{
Expand All @@ -1739,7 +1739,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)

if (emoteElement)
{
tooltipWidget->setOne({
this->tooltipWidget_->setOne({
showThumbnail
? emoteElement->getEmote()->images.getImage(3.0)
: nullptr,
Expand Down Expand Up @@ -1798,12 +1798,12 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
auto style = layeredEmotes.size() > 2
? TooltipStyle::Grid
: TooltipStyle::Vertical;
tooltipWidget->set(entries, style);
this->tooltipWidget_->set(entries, style);
}
}
else if (badgeElement)
{
tooltipWidget->setOne({
this->tooltipWidget_->setOne({
showThumbnail
? badgeElement->getEmote()->images.getImage(3.0)
: nullptr,
Expand Down Expand Up @@ -1834,7 +1834,7 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (thumbnailSize == 0)
{
// "Show thumbnails" is set to "Off", show text only
tooltipWidget->setOne({nullptr, element->getTooltip()});
this->tooltipWidget_->setOne({nullptr, element->getTooltip()});
}
else
{
Expand All @@ -1851,21 +1851,24 @@ void ChannelView::mouseMoveEvent(QMouseEvent *event)
if (element->getThumbnailType() ==
MessageElement::ThumbnailType::Link_Thumbnail)
{
tooltipWidget->setOne({std::move(thumb),
element->getTooltip(), thumbnailSize,
thumbnailSize});
this->tooltipWidget_->setOne({
std::move(thumb),
element->getTooltip(),
thumbnailSize,
thumbnailSize,
});
}
else
{
tooltipWidget->setOne({std::move(thumb), ""});
this->tooltipWidget_->setOne({std::move(thumb), ""});
}
}
}

tooltipWidget->moveTo(event->globalPos() + QPoint(16, 16),
widgets::BoundsChecking::CursorPosition);
tooltipWidget->setWordWrap(isLinkValid);
tooltipWidget->show();
this->tooltipWidget_->moveTo(event->globalPos() + QPoint(16, 16),
widgets::BoundsChecking::CursorPosition);
this->tooltipWidget_->setWordWrap(isLinkValid);
this->tooltipWidget_->show();
}

// check if word has a link
Expand Down
3 changes: 3 additions & 0 deletions src/widgets/helper/ChannelView.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "messages/Selection.hpp"
#include "util/ThreadGuard.hpp"
#include "widgets/BaseWidget.hpp"
#include "widgets/TooltipWidget.hpp"

#include <pajlada/signals/signal.hpp>
#include <QMenu>
Expand Down Expand Up @@ -333,6 +334,8 @@ class ChannelView final : public BaseWidget
MessagePreferences messagePreferences_;

void scrollUpdateRequested();

TooltipWidget *const tooltipWidget_{};
};

} // namespace chatterino
3 changes: 0 additions & 3 deletions src/widgets/splits/Split.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
#include "widgets/splits/SplitHeader.hpp"
#include "widgets/splits/SplitInput.hpp"
#include "widgets/splits/SplitOverlay.hpp"
#include "widgets/TooltipWidget.hpp"
#include "widgets/Window.hpp"

#include <QApplication>
Expand Down Expand Up @@ -993,8 +992,6 @@ void Split::leaveEvent(QEvent *event)

this->overlay_->hide();

TooltipWidget::instance()->hide();

this->handleModifiers(QGuiApplication::queryKeyboardModifiers());
}

Expand Down
20 changes: 11 additions & 9 deletions src/widgets/splits/SplitHeader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ namespace chatterino {
SplitHeader::SplitHeader(Split *split)
: BaseWidget(split)
, split_(split)
, tooltipWidget_(new TooltipWidget(this))
{
this->initializeLayout();

Expand Down Expand Up @@ -948,23 +949,24 @@ void SplitHeader::enterEvent(QEvent *event)
{
auto *channel = this->split_->getChannel().get();

auto *tooltip = TooltipWidget::instance();
tooltip->setOne({nullptr, this->tooltipText_});
tooltip->setWordWrap(true);
tooltip->adjustSize();
auto pos = this->mapToGlobal(this->rect().bottomLeft()) +
QPoint((this->width() - tooltip->width()) / 2, 1);
this->tooltipWidget_->setOne({nullptr, this->tooltipText_});
this->tooltipWidget_->setWordWrap(true);
this->tooltipWidget_->adjustSize();
auto pos =
this->mapToGlobal(this->rect().bottomLeft()) +
QPoint((this->width() - this->tooltipWidget_->width()) / 2, 1);

tooltip->moveTo(pos, widgets::BoundsChecking::CursorPosition);
tooltip->show();
this->tooltipWidget_->moveTo(pos,
widgets::BoundsChecking::CursorPosition);
this->tooltipWidget_->show();
}

BaseWidget::enterEvent(event);
}

void SplitHeader::leaveEvent(QEvent *event)
{
TooltipWidget::instance()->hide();
this->tooltipWidget_->hide();

BaseWidget::leaveEvent(event);
}
Expand Down
2 changes: 2 additions & 0 deletions src/widgets/splits/SplitHeader.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "widgets/BaseWidget.hpp"
#include "widgets/TooltipWidget.hpp"

#include <boost/signals2.hpp>
#include <pajlada/settings/setting.hpp>
Expand Down Expand Up @@ -68,6 +69,7 @@ class SplitHeader final : public BaseWidget

Split *const split_{};
QString tooltipText_{};
TooltipWidget *const tooltipWidget_{};
bool isLive_{false};
QString thumbnail_;
QElapsedTimer lastThumbnail_;
Expand Down

0 comments on commit b4e13b9

Please sign in to comment.