1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

7623 Commits

Author SHA1 Message Date
Ivan Sorokin
52f0e2db94 fix: fix uninitialized variable
undefined behavior sanitizer complained about uninitialized variable:
src/widget/form/chatform.cpp:781:9: runtime error: load of value 190, which is not a valid value for type 'bool'
2019-02-15 04:11:57 +03:00
sudden6
089d6a8e7a
chore(flatpak): add dependency for flatpak icon verifier 2019-02-09 21:09:21 +01:00
sudden6
489027ea1e
fix(flatpak): use SVG for icon
Flatpak doesn't allow compressed SVGs as icons because this is against
the specification.
2019-02-09 12:02:56 +01:00
Anthony Bilinski
d2508e7eac
fix(groups): check for label in timer audio playing timer callback
If peer quits the group and they were just playing audio, their label will be removed but their timer will still be running. Unguarded update of label causes segfault.

Fix #5511
2019-01-29 11:20:15 -08:00
Anthony Bilinski
13afbf7ec6
fix(groups): avoid having to lookup peer pk
Caused race where peer plays audio, then is removed from group, then we
process audio played signal and lookup their peerId in core where it
doesn't exist. Now Group will effectively contain the peer until the
peer list changed slot is processed.

Partial fix for #5511
2019-01-29 08:30:39 -08:00
Anthony Bilinski
013771c13a
feat(build): remove timestamps from build to allow reproducible builds
avoid Qt embedding timestamps into translations after copying .ts to .qm to work towards reproducible builds. Now reproducible locally as long as there is absolutely no change to environment.
2019-01-28 23:53:33 -08:00
TriKriSta
d0e8ba8b9c feat: show date in chat log 2019-01-28 21:15:52 +02:00
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
Avoid implicit casting and invalid arithmetic.
2019-01-28 10:58:54 -08:00
Anthony Bilinski
8422c09f6a
fix(groups): don't invalidate all audio sources when peer list changes
Fix #5508
2019-01-27 23:13:11 -08:00
Anthony Bilinski
093962e3ec
fix(groups): don't freeze when opening AV settings during group call
Fix #5510
2019-01-27 17:55:24 -08:00
Anthony Bilinski
d6abf76a27
fix(groups): correctly show peers in the call after joining call
Fix #5506
2019-01-27 17:05:31 -08:00
Anthony Bilinski
ec07fd7291
feat(groups): show who is in a group call before joining
Fix #5507
2019-01-27 15:57:38 -08:00
Anthony Bilinski
5289c99962
feat(core): add send message error handling
remove unused sendMessageResult signal
2019-01-27 04:52:36 -08:00
sudden6
5b83667aba
chore(build): add sha256sum for MacOS deployments 2019-01-25 22:53:45 +01:00
sudden6
4e997b71de
chore(deploy): add sha256sum for linux deployments 2019-01-25 22:53:45 +01:00
sudden6
af58f614d1
chore(deploy): publish hashes of windows setup files 2019-01-25 22:53:41 +01:00
sudden6
5afa78cd4d
refactor(ipc): cleanup and improve debug messages 2019-01-25 11:16:06 +01:00
sudden6
49507d76d8
Merge pull request #5500
crypto-universe (1):
      feat(chatfom): make magnet links clickable
2019-01-18 09:54:50 +01:00
crypto-universe
5b1bc7e523 feat(chatfom): make magnet links clickable
Add one more rergular expression that should match magnet links.
Unfortunately, magnet links may contain a lot of spaces, so
the message after the link may also be treated as a part of link.
2019-01-17 20:00:34 +01:00
sudden6
f5aa07f569
Merge pull request #5499
Teemu Ikonen (1):
      fix(ui): provide context when emitting friendWidgetRenamed()
2019-01-16 23:59:32 +01:00
sudden6
0f90abebdd
perf(smileys): create global regex object
This prevents recompiling the regex for every message
2019-01-16 15:53:33 +01:00
sudden6
58f8a14a48
perf(smileys): use one big regex instead of constructing many small ones 2019-01-16 15:53:23 +01:00
Anthony Bilinski
67ddd849f0
Merge pull request #5494
Teemu Ikonen (1):
      fix(video): support UYVY camera pixel format
2019-01-16 03:01:23 -08:00
Teemu Ikonen
0b6d6d7715 fix(ui): provide context when emitting friendWidgetRenamed()
Qt5 documentation at http://doc.qt.io/qt-5/signalsandslots.html
explains:

"[...] we provide /this/ as context in the call to connect(). The
context object provides information about in which thread the receiver
should be executed. This is important, as providing the context ensures
that the receiver is executed in the context thread."

Fixes #5495.
2019-01-16 08:45:16 +02:00
Teemu Ikonen
4c42e0ea5b fix(video): support UYVY camera pixel format
Fixes #5479.
2019-01-15 13:36:09 +02:00
Anthony Bilinski
55ef1e0370
Merge pull request #5489
Teemu Ikonen (1):
      fix(ui): tighten idealSize() for chatlog Timestamps
2019-01-13 18:01:35 -08:00
sudden6
08f368da43
fix(widget): always force show window on activate event
fixes #5459
2019-01-13 23:59:34 +01:00
Teemu Ikonen
c9f3830bc2 fix(ui): tighten idealSize() for chatlog Timestamps
Make Text::idealSize() a virtual function and override it in the derived
class Timestamp. The idealSize() function for Timestamps now returns a
tighter size to enable better right-alignment of the timestamps in
chatlog.

Fixes #3957. Note that this change assumes that timestamps do not
contain RTL text.
2019-01-14 00:07:18 +02:00
Anthony Bilinski
23da95a983
chore(build): update toxcore to v0.2.9 2019-01-13 13:09:24 -08:00
Anthony Bilinski
266757ae5e
chore(build): add script to update toxcore version 2019-01-13 13:09:05 -08:00
Anthony Bilinski
fd7097222d
fix(build): show brew compilation progress to avoid being killed by Travis 2019-01-12 22:54:02 -08:00
Anthony Bilinski
c9cb5fefdd
fix(build): manually update brew to workaround autoupdate bug 2019-01-12 21:19:50 -08:00
Anthony Bilinski
92d3c959a1
fix(groups): only leave audio call if in a call
Removes debug log spam of leaving audio call every time someone joins a
text group.
2019-01-09 01:23:27 -08:00
Anthony Bilinski
51cf712a78
refactor(widget): call Settings::getInstance only once in Widget 2019-01-08 09:03:19 -08:00
Anthony Bilinski
8bf059bb2e
chore(ui): remove broken auto update
No need to keep it ifdef'd out in code, it can be re-added from git history instead once fixed.
2019-01-08 09:03:12 -08:00
Anthony Bilinski
6c9d7b59c1
feat(ui): add update notification enabled with -DUPDATE_CHECK
Fix #5335
2019-01-08 09:02:17 -08:00
Anthony Bilinski
52853485eb
Merge pull request #5480
Monsterovich (3):
      fix(core): this should resolve message handling in persistent groups
      fix(core): also print PKs in group userlist
      fix(core): if your username is empty, use toxPK instead in groups
2019-01-07 01:34:41 -08:00
Monsterovich
72bcc6acaf fix(core): if your username is empty, use toxPK instead in groups 2019-01-05 23:21:39 +02:00
Monsterovich
066bdc5cc1 fix(core): also print PKs in group userlist 2019-01-05 15:58:59 +02:00
Monsterovich
ee500703aa fix(core): this should resolve message handling in persistent groups 2019-01-05 15:50:06 +02:00
sudden6
aa83edf759
Merge pull request #5469
Monsterovich (10):
      feat(core): print a chat log entry when a user joins/leaves the group chat
      fix(core): fixed Timestamps
      fix(core): simplify the code
      fix(core): fix formatting
      fix(core): this fixes displaying nickname refreshes in groups
      fix(core): support user aliases
      fix(core): update group peerLists on local changes
      fix(core): fix for users without nicknames
      fix(core): ignore mentioning users with empty nicknames
      fix(core): fixed syntax
2019-01-04 14:56:55 +01:00
Monsterovich
7a437c7449 fix(core): fixed syntax 2018-12-27 12:48:04 +02:00
Diadlo
68bf26305c
style: Fix EOF, remove trailing space and add braces 2018-12-27 09:15:24 +03:00
Diadlo
3f5105d5c1
refactor: Connect ContentDialog::setStatusMessage to friend directly 2018-12-27 09:15:24 +03:00
Diadlo
52f8ba48c4
refactor: Remove using Manager from ContentDialog 2018-12-27 09:15:24 +03:00
Diadlo
65a5b5121d
refactor: Remove ContactInfo and it's usage 2018-12-27 09:15:24 +03:00
Diadlo
c11b3730c9
refactor: Rewrite isWidgetActive 2018-12-27 09:15:24 +03:00
Diadlo
4353468647
refactor: Rewrite update status message 2018-12-27 09:15:24 +03:00
Diadlo
8937f87f87
refactor: Rewrite update status 2018-12-27 09:15:24 +03:00
Diadlo
bb08d628fb
refactor: Rewrite getDialog 2018-12-27 09:15:24 +03:00