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
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
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
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
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
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
Diadlo
9129f256fa
refactor: Rewrite widget exists check
2018-12-27 09:15:24 +03:00
Diadlo
b806f9e7e3
refactor: Rewrite focus{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
...
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
2018-12-27 09:15:24 +03:00
Diadlo
7ad8607c43
refactor: Create ContentDialogManager
...
Move all static methods from ContentDialog to ContentDialogManger. Make
if singletone for the first time. Also move some methods to avoid
compile errors.
2018-12-27 09:15:24 +03:00
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
...
It duplicates logic on Widget::openNewDialog
2018-12-27 09:15:24 +03:00
sudden6
e1d912bbeb
Merge pull request #5472
...
Diadlo (1):
fix: Store groupId in D&D mime data
2018-12-26 23:37:35 +01:00
Monsterovich
96ad27f644
fix(core): ignore mentioning users with empty nicknames
2018-12-26 19:51:32 +02:00
Monsterovich
2000bf55f2
fix(core): fix for users without nicknames
2018-12-26 19:15:43 +02:00
Monsterovich
01f79b0d08
fix(core): update group peerLists on local changes
2018-12-26 19:15:37 +02:00
Monsterovich
feee0e767f
fix(core): support user aliases
2018-12-26 19:15:30 +02:00
Monsterovich
9b261fd870
fix(core): this fixes displaying nickname refreshes in groups
2018-12-26 19:15:00 +02:00
Monsterovich
c136a17ff0
fix(core): fix formatting
2018-12-26 19:15:23 +02:00
Monsterovich
8c239c8ef6
fix(core): simplify the code
2018-12-26 19:15:17 +02:00
Monsterovich
6872ead850
fix(core): fixed Timestamps
2018-12-26 19:15:10 +02:00
Monsterovich
cabed6def3
feat(core): print a chat log entry when a user joins/leaves the group chat
2018-12-26 19:15:00 +02:00
Diadlo
8499a71092
fix: Store groupId in D&D mime data
...
Fix drag and drop for groups
2018-12-26 14:29:38 +03:00
TriKriSta
c3095ab150
fix: check valid date in getDateWhereFindPhrase
2018-12-22 00:36:38 +02:00
sudden6
ea9f429838
Merge pull request #5457
...
TriKriSta (4):
refactor: edit default theme
refactor: add colors to QTabBar
refactor: rename a css file.
style: add spaces in the resources file
2018-12-17 11:27:08 +01:00
Anthony Bilinski
f2e8567b21
Merge pull request #5366
...
Mick Sayson (2):
fix(transfer): Accurately represent pause state in UI
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 14:51:02 -08:00
Mick Sayson
3615425234
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 13:51:04 -08:00
Mick Sayson
293a1d615c
fix(transfer): Accurately represent pause state in UI
...
Toxcore has a 3 state pause, us, them, or both. Currently our UI
messes up if both parties pause. This changeset changes our UI behavior
to show whether we're paused, or if we are waiting on the remote to
unpause.
2018-12-16 13:51:03 -08:00
TriKriSta
147cec3312
refactor: rename a css file.
2018-12-15 13:33:51 +02:00
Anthony Bilinski
8db744a505
feat(core): set group title for loaded groups
...
Replace double static_cast of pointer with reinterpret_cast.
reinterpret_cast in unsafe because the underlying data may be
meaningless in the new type, static cast to void then to a new pointer
type has exactly the same problem. This is our intention here.
2018-12-14 09:19:50 -08:00
Anthony Bilinski
cbf2a1801f
Merge pull request #5354
...
Anthony Bilinski (2):
feat(db): add file hash to file history
refactor(files): change ToxFile's fileName to QString
Mick Sayson (5):
refactor(files): Refactor FileTransferWidget
feat(db): Support schema version upgrades
feat(db): Database support for file history
feat(db): Hookup file history to the rest of the system
feat(db): File transfer history review comments
2018-12-14 08:34:53 -08:00
Anthony Bilinski
84362244da
refactor(files): change ToxFile's fileName to QString
2018-12-14 00:33:27 -08:00
Anthony Bilinski
c8ffa1f921
fix(settings): repair saved invalid proxy type due to #5311
2018-12-09 15:10:21 -08:00
TriKriSta
61720c1591
refactor: edit default theme
2018-12-09 18:38:14 +02:00
Anthony Bilinski
e80dbe2d83
fix(db): use SQLCipher 3.x crypto even with SQLCipher 4.x
...
Fix #5451
2018-12-08 11:30:49 -08:00
Mick Sayson
25005c5c19
feat(db): File transfer history review comments
2018-12-05 21:15:14 -08:00
sudden6
2ff649e80d
Merge pull request #5449
...
yangfl (1):
chore(cmake): let CMake choose which platform dependent code to compile
2018-12-04 18:38:58 +01:00
yangfl
6d0885f396
chore(cmake): let CMake choose which platform dependent code to compile
...
Macros can be hard to manipulate and vary among different compilers and
platforms. For example, GNU Hurd has `__MACH__` defined but not
`__APPLE__`.
Let CMake choose them during configuration.
2018-12-03 16:06:33 +08:00
Anthony Bilinski
8427be6678
feat(db): add file hash to file history
...
Not currently used, but there are plans to display if a transfered file
has been modified, which the file hash will be needed for. Adding file
hash at the same time as file history also saves a db schema update.
2018-12-02 14:40:54 -08:00
Mick Sayson
d9b39b3102
feat(db): Hookup file history to the rest of the system
2018-12-02 14:40:53 -08:00
Mick Sayson
567ddfb203
feat(db): Database support for file history
2018-12-02 14:35:18 -08:00
Mick Sayson
fb805b9cdb
feat(db): Support schema version upgrades
2018-12-02 14:35:04 -08:00
Mick Sayson
157be30b11
refactor(files): Refactor FileTransferWidget
...
Rational here is that the current FileTransferWidget is quite
entangled with core logic. If we are going to instantiate the
FileTransferWidget without an active file transfer the widget needs to
behave sanely without getting messages from toxcore. This changeset is
an attempt to allow us to move from any FileTransferWidget state to any
other state without having to go through the appropriate state
transitions.
2018-12-02 14:35:04 -08:00
sudden6
f188409b8c
fix(autocomplete): don't auto-complete own nick
...
In the process also remove the dependency of the auto completer on Core.
2018-11-22 17:52:54 +01:00
sudden6
a82eb6f36e
feat(core): prepare qTox for groupchat saving
...
This change creates groups on startup of Core. We need this once
https://github.com/TokTok/c-toxcore/pull/1156 is merged to load existing
groups.
2018-11-22 08:11:18 +01:00
sudden6
c3363a1fea
feat: add class to retrieve bootstrap nodes from nodes.tox.chat
...
This is not yet hooked up to be actually used.
2018-11-19 16:52:02 +01:00
sudden6
562ef28ab0
refactor(friend): remove Core dependency
2018-11-15 10:33:37 +01:00
sudden6
6cce0dae83
fix(toxoptions): handle nullptr in parameters
...
Use the c-toxcore default settings in case we don't have own settings.
2018-11-14 15:06:43 +01:00
sudden6
c6a197feca
refactor: re-format and cleanup
2018-11-14 13:58:24 +01:00
sudden6
0ea409054a
fix(paths): fix bugs uncovered while developing test cases
...
There was one directory separator too much in the path. Also improved
the documentation.
2018-11-14 11:02:21 +01:00
sudden6
3ee8c665df
feat(paths): create class to combine all qTox managed paths
...
This will be the central location for all of qTox managed directories.
2018-11-14 11:02:17 +01:00
Anthony Bilinski
e1201f901f
chore(core): improve failed decryption error handling
2018-11-05 10:59:50 -08:00
sudden6
5c1fe52010
fix(video): correctly align data passed to toxcore
...
fixes #5402
c-toxcore requires each plane to be aligned at 1 byte boundaries.
Because of this bug we alligned it at 32 byte boundaries if the height
and width were a multiple of 8.
2018-11-03 15:14:15 +01:00
sudden6
9ecb6da051
Merge pull request #5415
...
Patrick (1):
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
2018-11-02 00:50:44 +01:00
sudden6
d93648c225
refactor: remove unneccessary Nexus includes
2018-11-01 10:22:36 +01:00
sudden6
acc7058e65
refactor: remove another function from Nexus
2018-11-01 10:22:20 +01:00
sudden6
de773efec7
refactor: remove another function from Nexus
2018-10-31 01:59:22 +01:00
sudden6
6097c3f94f
refactor: remove Nexus::quit() and replace with qApp->quit()
...
They are doing the same.
2018-10-31 01:51:20 +01:00
sudden6
a3344a127f
refactor: remove unneeded busy waiting code
2018-10-31 01:47:45 +01:00
sudden6
bc3d3b3b13
fix(main): register IPC handlers only after starting up
2018-10-31 01:46:33 +01:00
Patrick
37e5b6ce8b
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
2018-10-31 00:02:19 +01:00
sudden6
a1a50b4bed
Merge pull request #5413
...
Mick Sayson (2):
refactor(settings): Consolidate friendProp insert logic
fix(settings): Add mutex locks for consistency
2018-10-29 23:05:40 +01:00
sudden6
eae3074aa7
Merge pull request #5404
...
Monsterovich (6):
feat(ui): Added feature to generate colors for user names in tox groups
fix(ui): groupcolors fix1
fix(ui): groupcolors fix2
fix(ui): fix anything
fix(ui): oops
fix(ui): remove useless variable
2018-10-29 00:04:16 +01:00
Mick Sayson
24f8bbf35a
fix(settings): Add mutex locks for consistency
...
* Risk is low here since we use a recusrive mutex
2018-10-28 14:39:52 -07:00
Mick Sayson
4af88a3775
refactor(settings): Consolidate friendProp insert logic
2018-10-28 14:39:52 -07:00
sudden6
d776e6c34f
fix: fix memory leak in CoreAV and missuse of std::uniqe_ptr
2018-10-25 08:06:31 +02:00
sudden6
7fa2dfead5
refactor(coreav): move CoreAV to the factory pattern too
...
- clean up error handling during construction of the Core
- prevent leaks by using unique_ptr
2018-10-25 08:06:19 +02:00
sudden6
2ab081b4a9
refactor: remove support for c-toxcore < 0.2.0
...
This code is only a maintainance burden and not used anymore.
2018-10-25 07:48:21 +02:00
Monsterovich
2557f5e045
fix(ui): remove useless variable
2018-10-25 02:44:11 +02:00
Monsterovich
d54e21064c
fix(ui): oops
2018-10-25 02:38:43 +02:00