Commit graph

4821 commits

Author SHA1 Message Date
Nicolas Werner
2a4eac04b9
Fix unread bar size 2022-12-18 05:57:40 +01:00
Nicolas Werner
2ac3be1a18
Fix weird QQC2 crash in alias dialog
Backtrace:

Thread 1 "nheko" received signal SIGSEGV, Segmentation fault.
containerWidget (w=w@entry=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:2467
2467        if (const QAbstractScrollArea *sa = qobject_cast<const QAbstractScrollArea *>(w->parentWidget())) {
(gdb) bt
 #0  containerWidget(QWidget const*) (w=w@entry=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:2467
 #1  0x00007ffff4aa0ad6 in QStyleSheetStyle::drawPrimitive(QStyle::PrimitiveElement, QStyleOption const*, QPainter*, QWidget const*) const (this=0x555559917900, pe=<optimized out>, opt=0x55555ea4b5c0, p=0x7fffffffcfd0, w=0x0) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/styles/qstylesheetstyle.cpp:4452
 #2  0x00007fff61d4a86b in KQuickStyleItem::paint(QPainter*) (this=this@entry=0x55555ea4a1e0, painter=painter@entry=0x7fffffffcfd0) at /usr/src/debug/kde-frameworks/qqc2-desktop-style-5.101.0/qqc2-desktop-style-5.101.0/plugin/kquickstyleitem.cpp:1667
 #3  0x00007fff61d4b22a in KQuickStyleItem::updatePolish() (this=0x55555ea4a1e0) at /usr/src/debug/kde-frameworks/qqc2-desktop-style-5.101.0/qqc2-desktop-style-5.101.0/plugin/kquickstyleitem.cpp:1928
 #4  0x00007ffff57717c2 in QQuickWindowPrivate::polishItems() (this=0x55555ea2e760) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/items/qquickwindow.cpp:393
 #5  0x00007ffff570f4ef in QSGThreadedRenderLoop::polishAndSync(QSGThreadedRenderLoop::Window*, bool) (this=this@entry=0x5555598eb770, w=w@entry=0x7fffe000aef0, inExpose=inExpose@entry=true) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1576
 #6  0x00007ffff5710a8e in QSGThreadedRenderLoop::handleExposure(QQuickWindow*) (this=0x5555598eb770, window=<optimized out>) at /usr/src/debug/dev-qt/qtdeclarative-5.15.7-r1/qtdeclarative-everywhere-src-5.15.7/src/quick/scenegraph/qsgthreadedrenderloop.cpp:1374
 #7  0x00007ffff43d2b45 in QWindow::event(QEvent*) (this=0x7fffe0006eb0, ev=<optimized out>) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qwindow.cpp:2450
 #8  0x00007ffff49ee481 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fffe0006eb0, e=0x7fffffffd460) at /usr/src/debug/dev-qt/qtwidgets-5.15.7/qtbase-everywhere-src-5.15.7/src/widgets/kernel/qapplication.cpp:3637
 #9  0x00007ffff3e2d618 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffe0006eb0, event=0x7fffffffd460) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qcoreapplication.cpp:1064
 #10 0x00007ffff43c8368 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) (e=0x55555f648b30) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qguiapplication.cpp:3261
 #11 0x00007ffff43a55ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/gui/kernel/qwindowsysteminterface.cpp:1169
 #12 0x00007fffef102622 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at /usr/src/debug/dev-qt/qtgui-5.15.7-r1/qtbase-everywhere-src-5.15.7/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
 #13 0x00007ffff386d030 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
 #14 0x00007ffff386d2d8 in  () at /usr/lib64/libglib-2.0.so.0
 #15 0x00007ffff386d36f in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
 #16 0x00007ffff3e80e55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5555596a4770, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/src/corelib/kernel/qeventdispatcher_glib.cpp:423
 #17 0x00007ffff3e2c00b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffd700, flags=..., flags@entry=...) at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:69
 #18 0x00007ffff3e344ea in QCoreApplication::exec() () at /usr/src/debug/dev-qt/qtcore-5.15.7/qtbase-everywhere-src-5.15.7/include/QtCore/../../src/corelib/global/qflags.h:121
 #19 0x00005555594a5c43 in main(int, char**) (argc=2, argv=0x7fffffffdab8) at /home/nicolas/Dokumente/devel/open-source/nheko/src/main.cpp:401
(gdb) p w
$1 = (const QWidget *) 0x0
2022-12-17 05:50:44 +01:00
Nicolas Werner
e8e475956b
Fix confetti in the sidebar 2022-12-17 01:11:19 +01:00
Nicolas Werner
1a9f7860d4
Fix sending confetti 2022-12-16 17:24:52 +01:00
Nicolas Werner
0d0c6187c0
Bump mtxclient version 2022-12-16 15:36:33 +01:00
Nicolas Werner
6762032c53
Fix copy and paste again 2022-12-14 19:04:08 +01:00
Nicolas Werner
eefa6379f9
I don't see why this would have detached, but make clazy happy 2022-12-13 23:47:08 +01:00
Nicolas Werner
8730586cfd
Focus text field on key press (swallows first though...) 2022-12-13 18:09:34 +01:00
Nicolas Werner
593d08fd2e
Revert "Disable keyboard selection for text by default"
This reverts commit 0035c359ce.
2022-12-13 17:53:48 +01:00
Nicolas Werner
8356746ea4
Fix image cache pruning interval 2022-12-13 06:05:29 +01:00
Nicolas Werner
95d898e09d
Add cache pruning for old image files 2022-12-13 06:02:07 +01:00
Nicolas Werner
952827d629
Add a button to room the upgraded room in the timeline 2022-12-13 05:08:22 +01:00
Nicolas Werner
0035c359ce
Disable keyboard selection for text by default 2022-12-13 05:08:21 +01:00
Loren Burkholder
fa0c14b846
confetti (#1243)
* 🎉 (confetti) message support.  Thanks @LorenDB !
2022-12-10 10:17:15 -05:00
Weblate
c2eb2f7ad1 Translated using Weblate (French)
Currently translated at 75.0% (642 of 855 strings)

Translated using Weblate (French)

Currently translated at 75.0% (642 of 855 strings)

Translated using Weblate (French)

Currently translated at 75.0% (642 of 855 strings)

Co-authored-by: GitEz-code <aandrowindows@gmail.com>
Co-authored-by: Guillaume Girol <symphorien+github@xlumurb.eu>
Co-authored-by: lascapi <pascal.isman@keleo-solutions.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/fr/
Translation: Nheko/nheko
2022-12-09 23:08:14 -05:00
Nicolas Werner
40a7d58ce1
fix squish 2022-12-07 13:09:41 +01:00
Nicolas Werner
283d6361e8
Properly check for target room encryption 2022-12-07 12:47:03 +01:00
DeepBlueV7.X
575294971d
Merge pull request #1239 from q234rty/master
Fix more blurry icons under HiDPI
2022-12-05 19:53:34 +01:00
q234rty
93291abfdf
Fix downscale 2022-12-06 01:49:42 +08:00
q234rty
4b8709598b
Fix people icon blurriness 2022-12-06 01:48:06 +08:00
Nicolas Werner
59703d3c25
Implement MSC3664, pushrules for related events 2022-12-05 18:39:47 +01:00
Weblate
ea5984a575 Translated using Weblate (Chinese (Simplified))
Currently translated at 90.0% (770 of 855 strings)

Co-authored-by: ling <xll520yzl@gmail.com>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/zh_Hans/
Translation: Nheko/nheko
2022-12-03 21:20:06 -05:00
Nicolas Werner
f440b41195
Fix stack overflow when filtering timeline 2022-11-22 19:18:10 +01:00
Nicolas Werner
329b4310b3
Fix cmark warning 2022-11-20 04:30:42 +01:00
Nicolas Werner
5b929c9d1a
Enable http/3 support 2022-11-20 03:51:58 +01:00
Weblate
30bbfeaea6 Translated using Weblate (German)
Currently translated at 92.7% (793 of 855 strings)

Co-authored-by: fnetX (aka fralix) <github@fralix.ovh>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/de/
Translation: Nheko/nheko
2022-11-17 10:23:51 -05:00
Weblate
5f554aa5cc Translated using Weblate (Japanese)
Currently translated at 9.1% (78 of 855 strings)

Co-authored-by: Max Harmathy <harmathy@secure.mailbox.org>
Translate-URL: https://weblate.nheko.im/projects/nheko/nheko-master/ja/
Translation: Nheko/nheko
2022-11-17 10:23:51 -05:00
Joseph Donofry
802ba78fea
Only play macOS notification sounds when pushrules dictate it 2022-11-15 19:04:38 -05:00
Nicolas Werner
ed889c32fc
Change margins because people nagged me 2022-11-10 00:43:05 +01:00
Nicolas Werner
3576589ea7
Fix crash in slash completer 2022-11-09 16:38:17 +01:00
Nicolas Werner
485babba14
Implement a completer for commands
fixes #429
2022-11-09 04:59:06 +01:00
DeepBlueV7.X
0cc1c6eddc
Merge pull request #1224 from Nheko-Reborn/settingsfromroomlist
Get room settings from room list
2022-11-09 03:03:52 +01:00
Loren Burkholder
fe02e0dd91 Add room settings in room list 2022-11-07 19:26:42 -05:00
Nicolas Werner
725b5e0383
Try to fix clang-tidy 2022-11-06 04:02:14 +01:00
Nicolas Werner
537fa437e2
Store secrets (apart from the pickle key) in the database 2022-11-06 03:36:56 +01:00
Nicolas Werner
1f77e1c810
Prompt before deleting the database 2022-11-06 01:06:41 +01:00
DeepBlueV7.X
eb4994ea87
Merge pull request #1223 from Nheko-Reborn/dbusVersion
Bump micro version
2022-11-05 22:03:48 +01:00
Loren Burkholder
b622604c47 Bump micro version 2022-11-05 16:38:12 -04:00
DeepBlueV7.X
a81aaa182a
Merge pull request #1222 from Nheko-Reborn/dbusStatus
Add status message to D-Bus API
2022-11-05 18:32:17 +01:00
Loren Burkholder
de3cdd590f Add status message to D-Bus API 2022-11-05 13:13:18 -04:00
DeepBlueV7.X
314785d05c
Merge pull request #1221 from LordMZTE/invert-enter
Add invert enter key setting
2022-11-04 23:54:14 +01:00
LordMZTE
9a15b0ea20
Move invert enter key setting 2022-11-04 23:53:36 +01:00
LordMZTE
80270e1f01
Add invert enter key setting 2022-11-04 23:42:35 +01:00
Joe Donofry
a6f53699f5 Merge branch 'macos_notification_actions' into 'master'
Add ability to respond to notifications on macOS

See merge request nheko-reborn/nheko!21
2022-11-04 16:42:09 +00:00
Joe Donofry
07e8f64903 Add ability to respond to notifications on macOS 2022-11-04 16:42:09 +00:00
Nicolas Werner
76347f1c6f
Continue fetching past messages when searching 2022-11-03 23:26:59 +01:00
Nicolas Werner
56a4e97296
Make the higlight ring a bit less in your face 2022-11-03 14:45:00 +01:00
Nicolas Werner
0ae29d8bfc
Fix content rules matching everything
fixes #1218
2022-11-02 19:35:07 +01:00
Nicolas Werner
40ac55ddd9
Highlight higlight tweaks in the timeline
fixes #400
fixes #1136
2022-11-01 23:26:21 +01:00
Nicolas Werner
231bebba44
The hybris of committing a line without linting 2022-11-01 21:26:31 +01:00