sudden6
b7b9b58d42
refactor: make ToxCall non-moveable
...
We don't need move functionality and the code for it is complex and
error prone.
2019-03-17 19:32:34 +01:00
Anthony Bilinski
e489168775
fix(groups): add peers if already playing audio when netcam created
2019-03-08 09:08:29 -08:00
Anthony Bilinski
7c13b8b7db
fix(groups): don't add peers to netcam view until they play audio
...
Fix #5536
2019-03-08 09:08:29 -08:00
sudden6
86415cb71c
Merge pull request #5564
...
TriKriSta (1):
refactor: edit styles
2019-03-07 11:20:09 +01:00
sudden6
80f5cb5f7a
fix(audio): input device not closed under certain circumstances
...
fixes #3625
Input device was not closed after the following steps:
- Select "Disabled" for audio source
- Switch away from A/V settings
- Switch back to A/V settings
- Switch to some audio input device
- Switch away from A/V settings
-> audio input device still open, but unused
2019-03-04 23:20:36 +01:00
TriKriSta
f64bb48a92
refactor: edit styles
...
edit typing color and image,
move colors for background selected text and background searched text
in palette files
2019-03-02 01:58:58 +02:00
sudden6
acef759a58
feat: remove old boostrap nodes code
...
This commit replaces the bootstrap node list in the qtox.ini file with
the boostrapnodeupdater class.
2019-03-01 10:39:24 +01:00
sudden6
1f2bdf3a1b
feat: load bootstrap nodes directly from JSON
...
This allows us to easily update the list of bootstrap nodes.
2019-03-01 10:39:24 +01:00
sudden6
d6d433c617
Merge pull request #5558
...
TriKriSta (8):
style: add dark style
refactor: move palette colors in ini files
feat: edit reload themes
refactor: rename palette colors
style: edit styles
feat: add color for links in palette
refactor: edit variables for themes
fix: initialization theme
2019-02-26 18:20:28 +01:00
TriKriSta
d517c3a638
fix: initialization theme
2019-02-24 23:26:10 +02:00
TriKriSta
827e3b734c
refactor: edit variables for themes
2019-02-24 16:22:59 +02:00
sudden6
4fe6addb04
Merge pull request #5532
...
TriKriSta (1):
feat: show date in chat log
2019-02-24 11:59:14 +01:00
TriKriSta
d35dbcc870
feat: add color for links in palette
2019-02-23 19:40:59 +02:00
TriKriSta
9a82d8144f
style: edit styles
2019-02-23 19:00:50 +02:00
TriKriSta
c6142e4287
refactor: rename palette colors
2019-02-22 18:01:43 +02:00
TriKriSta
e146c11f0f
feat: edit reload themes
2019-02-21 15:53:31 +02:00
TriKriSta
5bc27b08bc
refactor: move palette colors in ini files
2019-02-20 15:42:53 +02:00
sudden6
4e76084c6f
fix(ui): add tooltip to about friend window
...
This is to explain what the public key can be used for and that it's not
a ToxID.
2019-02-19 22:44:57 +01:00
TriKriSta
87d6883a0f
style: add dark style
2019-02-19 16:21:44 +02:00
Ivan Sorokin
ea18b613ba
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 11:51:50 +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
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
Monsterovich
89cb24254d
fix(ui): fix anything
2018-10-25 02:38:43 +02:00
Monsterovich
a4a8e361d0
fix(ui): groupcolors fix2
2018-10-25 02:38:43 +02:00
Monsterovich
ab89ca2d8e
fix(ui): groupcolors fix1
2018-10-25 02:38:43 +02:00
Monsterovich
aaf5229ece
feat(ui): Added feature to generate colors for user names in tox groups
2018-10-25 02:38:43 +02:00
Anthony Bilinski
dec90ad84d
fix(ui): allow adding friends with Tox URI
...
Fix #5385
2018-10-24 13:22:54 -07:00
sudden6
cc4a6e421e
refactor(chatform): remove unused macro
2018-10-24 14:04:12 +02:00
sudden6
133ac8def8
feat(themes): make themes follow standard paths
2018-10-24 14:04:12 +02:00
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
...
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
2018-10-24 14:04:12 +02:00
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
...
Original work by tox-user.
The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux
Thanks to that it's no longer required to recompile the program to modify
the theme.
In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
sudden6
10a4b249bb
fix(core): remove pgc code
...
This code was needed for the pgc implementation, but is not needed for
minipgc
2018-10-24 13:27:16 +02:00
sudden6
2408e76d0c
refactor: remove unused includes and format code
2018-10-16 23:35:36 +02:00
Anthony Bilinski
13b15a87d7
fix(ui): require . in www.url regex matching
2018-10-13 12:40:15 -07:00
Anthony Bilinski
109a4ffd43
fix(core): set username and status on new profile
...
Fix #5369
2018-10-13 11:11:13 -07:00
Anthony Bilinski
aa7542f729
fix(ui): re-sort friends list on friend rename
...
Fix #5387
2018-10-12 16:48:26 -07:00
Anthony Bilinski
2ecfbf7f28
Merge pull request #5373
...
Mick Sayson (2):
refactor(files): clang-format generated whitespace changes
feat(files): Add maximum size to autoaccept downloads
2018-10-12 14:28:11 -07:00
Mick Sayson
c8716e9c45
feat(files): Add maximum size to autoaccept downloads
2018-10-12 11:12:20 -07:00
Mick Sayson
939f2c865a
refactor(files): clang-format generated whitespace changes
2018-10-12 11:12:20 -07:00
Anthony Bilinski
5f48fd4e10
fix(ui): only add chat message for call once
...
Fix #5370
2018-10-12 10:52:43 -07:00
sudden6
26206a35eb
fix(core): ensure QTimers are moved with the objects they belong to
...
We use the Qt parent/child model instead of unique_ptr to achieve this.
2018-10-07 20:12:33 +02:00
sudden6
48e722b535
Merge pull request #5355
...
sudden6 (2):
fix(video): workaround for webcams that provide no fps value
fix(video): don't pass invalid pixel format strings to ffmpeg
2018-10-05 08:38:21 +02:00
Jakie.OYMJ
e6d40be72e
fix: add remove history prompt, clear log area after remove
2018-10-05 10:24:39 +08:00
TriKriSta
8808c630f2
fix: show the date every new day ( fixes #5280 )
2018-09-30 00:07:17 +03:00
sudden6
9de40e5a97
fix(video): don't pass invalid pixel format strings to ffmpeg
2018-09-29 18:43:48 +02:00
sudden6
3746bd13bc
fix(video): workaround for webcams that provide no fps value
...
fixes #5082
2018-09-29 18:42:31 +02:00
sudden6
39dc6dacb8
Merge pull request #5352
...
Mick Sayson (1):
fix(core): Fix misuse of toxcore tox_file_send API
2018-09-24 18:06:51 +02:00
sudden6
a139a9933b
refactor(core): cleanup thread and timer destruction in Core and CoreAV
2018-09-24 16:57:53 +02:00
Mick Sayson
f988177a9b
fix(core): Fix misuse of toxcore tox_file_send API
2018-09-23 20:51:34 -07:00
sudden6
5d65ab3876
fix(audio): specify format for sounds and make sounds follow it
...
This should reduce the problem that some sounds are very silent and some are loud.
2018-09-20 17:15:44 +02:00
Anthony Bilinski
064dccf8b4
fix(ui): avatar highlight on hover in profile
2018-09-17 11:34:34 -07:00
Anthony Bilinski
cc6df2c294
chore(core): use new toxcore enum typenames
...
Fix #5287
2018-09-17 10:40:07 -07:00
Anthony Bilinski
0c757356d3
fix(avatar): set friend to identicon on empty avatar receipt
...
*All friend avatar changes and removals go through Profile, so that Profile can manage identicons
*Split the concept of "changed" and "removed" into "changed", "set", and "removed"
Fixes #4724
2018-09-17 02:30:45 -07:00
Anthony Bilinski
91bdd40f10
fix(ui): remove focus window option, fixing alert() on Windows
...
Fix #4762
2018-09-14 11:08:19 -07:00
Anthony Bilinski
7839a26083
fix(settings): save settings early on Windows shutdown
...
Need to save before top level window is closed.
Fix #1969
2018-09-14 10:26:23 -07:00
iphydf
52a5951d26
chore: Use nullptr
instead of 0
for NULL pointer constants.
2018-09-07 21:38:59 +00:00
Anthony Bilinski
d9e587e4f5
fix(chatform): don't attempt to send messages to offline friends
...
Stops critical error logs from toxcore.
2018-09-06 14:15:45 -07:00
Anthony Bilinski
dac1582b72
fix(ui): by default, don't grab focus on new message
...
Fix #5284
2018-09-06 11:47:58 -07:00
Anthony Bilinski
a2c44cbeda
fix(settings): set default proxy type to None, enabling UDP by default
...
Fix #5311
2018-08-28 20:36:03 -07:00
sudden6
5e9803eb4b
Merge pull request #5307
...
iphydf (1):
refactor: Improve toxcore-originated log messages.
2018-08-28 10:01:40 +02:00
iphydf
31f54d4d1c
refactor: Improve toxcore-originated log messages.
...
This changes ToxLogger to behave as if `qDebug()` were used inside
toxcore itself, i.e. with the correct file/line/func.
2018-08-26 17:22:28 +00:00
Anthony Bilinski
dc7ddbebad
fix(ui): don't scale avatar to point of cropping in chat form header
2018-08-25 23:31:37 -07:00
Anthony Bilinski
11131fa083
fix(ui): Display most recent group member's name instead of <Empty>
...
Fix #5294
2018-08-22 23:00:20 -07:00
sudden6
8cfc1f0bbb
Merge pull request #5291
...
Jakie.OYMJ (1):
fix(ui): fix the context menu enabled/disabled behaviors
2018-08-22 20:45:22 +02:00
TriKriSta
01281e87cb
Merge branch 'master' into search
2018-08-14 01:08:54 +03:00
TriKriSta
b6ab0ec2ca
refactor: add SearchDirection
2018-08-14 01:06:28 +03:00
Jakie.OYMJ
bc69c8c919
fix(ui): fix the context menu enabled/disabled behaviors
2018-08-12 20:38:10 +08:00
TriKriSta
4253301c56
feat: add message if text not found
2018-07-28 01:36:07 +03:00
TriKriSta
eb92ce15f1
refactor: change text and icons in search forms
2018-07-27 21:39:14 +03:00
Anthony Bilinski
7c496d425b
chore(review): address remaining review comments from #5098
...
use QStringBuilder
replace "Not sent" with "Pending"
2018-07-22 21:54:40 -07:00
pkev
ee0d4bb880
fix: correct format log files
...
- correct format of "save chat log"
- add date like in chat
- correct type dialog for export dialog
2018-07-22 21:49:32 -07:00
TriKriSta
81587d0fbb
refactor: add code for work in Qt5.5
2018-07-21 01:15:01 +03:00
sudden6
8741834b59
Merge pull request #5260
...
iphydf (1):
refactor: Give ChatFormHeader an out-of-line destructor.
2018-07-20 10:19:51 +02:00
sudden6
6b68b4344a
Merge pull request #5259
...
iphydf (1):
refactor: Remove unused lambda capture.
2018-07-20 10:19:06 +02:00
iphydf
4fa257bf66
refactor: Give ChatFormHeader an out-of-line destructor.
...
This makes the class more widely usable, since deallocating an object of
this class no longer needs to have the `CallConfirmWidget` definition
present. The header file forward-declares `CallConfirmWidget`, so it's
not a complete type if only `chatformheader.h` is included.
2018-07-19 21:17:24 +00:00
iphydf
945ed65ba7
refactor: Remove unused lambda capture.
2018-07-19 21:09:07 +00:00
Diadlo
8d10fe47ec
feat(ui): Add ui to setup spell checking
2018-07-19 20:31:57 +02:00
Diadlo
671b9456a8
feat: Add spell checking
...
Fix #1301
Spell checking implemented by KF5Sonnet
2018-07-19 20:31:52 +02:00
Pavel Karelin
0d54fae37b
chore: Fix warnings: remove unused variables
2018-07-18 15:25:07 +03:00
Diadlo
66fe7f2852
refactor(groupwidget): Create GroupChatroom
...
And move some logic in 'FriendChatroom' from 'onContextMenuCalled'
2018-07-18 01:06:47 +03:00
TriKriSta
7977c80a52
refactor: use Settings, add const
2018-07-15 23:13:57 +03:00
TriKriSta
706822123f
refactor: delete sqlite in travis, edit some functions
2018-07-14 00:58:35 +03:00
sudden6
291e86d9f9
fix(ui): don't emit filename change windows for every chat
2018-07-13 09:42:27 +02:00
Diadlo
059d0120be
refactor: Add FriendChatroom (model to FriendWidget)
2018-07-12 15:32:35 +03:00
sudden6
7a98ea2def
fix(logging): only log toxcore messages above TRACE level
2018-07-12 11:35:01 +02:00
sudden6
2e211d4201
Merge pull request #5222
...
ezavod (1):
fix(chatform): mark message with triple click
2018-07-10 23:41:34 +02:00
ezavod
2cdff7e9ed
fix(chatform): mark message with triple click
...
Fixes #5211 . Only trigger on triple clicks that are caused by the same
mouse button clicked successively.
2018-07-09 16:33:30 +02:00
TriKriSta
42f5ac67e7
refactor: edit generateFilterWordsOnly
2018-07-08 22:44:21 +03:00
TriKriSta
4b2942d51d
style: add labels.css
2018-07-08 16:01:22 +03:00
sudden6
aed820ba60
fix(profile): avoid deadlock with between main and core thread
...
The blocking connection was also blocking the callback holding the
coreLock.
2018-07-08 14:15:13 +02:00
TriKriSta
ea8bbfd8a5
refactor: use const and QStringLiteral
2018-07-08 14:02:03 +03:00
TriKriSta
17a97f1ff6
feat: add function for generating a filter for search word only
2018-07-08 12:33:37 +03:00
TriKriSta
60a2c5e651
refactor: change QRegExp on QRegularExpression for some search functions
2018-07-07 20:56:02 +03:00
sudden6
8e5598572a
refactor(profile): small style corrections
2018-07-06 12:39:58 +02:00
sudden6
24e7c4efd4
refactor(core): format code
2018-07-05 17:10:26 +02:00
sudden6
82a7141e31
refactor(core): reimplement restart and small cleanups
2018-07-05 17:05:41 +02:00
sudden6
5a6606e351
refactor(core): prepare for future error codes
2018-07-05 17:05:41 +02:00
sudden6
5ec983d8f5
refactor(core): remove unused return value and fix comment
2018-07-05 17:05:41 +02:00
sudden6
7f7b29e55e
refactor(core): use smart pointers instead of raw pointers
2018-07-05 17:05:41 +02:00
sudden6
6aa215e96f
refactor(core): protect the tox main loop with a mutex
2018-07-05 17:05:41 +02:00
sudden6
e5acc6726f
refactor(core): reimplement avatar transfers
...
In the process of this I used some ugly hacks, to finish this in time,
they should be changed as soon as possible.
2018-07-05 17:05:41 +02:00
sudden6
b647f9291e
refactor(core): reimplement profile saving
2018-07-05 17:05:40 +02:00
sudden6
e56ee4a134
refactor(core): fix bootstrapping
2018-07-05 17:05:40 +02:00
sudden6
a8494980da
refactor(core): fix error handling
2018-07-05 17:05:40 +02:00
sudden6
8574162949
refactor(core): cleanup Core class
...
- use a factory method to create it
- make it handle its own thread
- remove dependency on GUI
2018-07-05 17:05:40 +02:00
sudden6
977b7fc9a0
fix(settings): automatically disable UDP when a proxy is set
...
fixes : #5174
2018-07-02 22:46:26 +02:00
sudden6
40d30153ae
fix(audio): fix error introduced in 67f2605971
2018-07-02 15:34:24 +02:00
tox-user
0d3f061ba8
fix: remove full screen btn from audio group chat
...
Fixes : #5202
2018-07-01 22:17:35 +00:00
sudden6
a00af08777
fix(audio): connect the correct audio callbacks
2018-07-01 10:39:33 +02:00
sudden6
67f2605971
refactor(toxcall): move peer handling to ToxGroupCall
2018-07-01 10:16:21 +02:00
sudden6
811998b8df
refactor(toxcall): move alSource into ToxFriendCall
2018-06-30 22:11:19 +02:00
TriKriSta
74468fde32
docs: add documentation for some new functions
2018-06-29 23:10:14 +03:00
TriKriSta
4fdf73f2f0
refactor: remove commented code, use QStringLiteral
2018-06-29 19:31:34 +03:00
sudden6
20ca6c84c8
refactor(core): move Tox_Options handling to separate file
2018-06-27 18:34:59 +02:00
sudden6
c7ca261679
refactor(core): move logger to its own file
2018-06-27 18:34:55 +02:00
TriKriSta
8dd8347759
feat: add startButton in SearchForm
2018-06-25 00:44:22 +03:00
TriKriSta
3b7ba02324
feat: add functions for change title and info in LoadHistoryDialog
2018-06-24 21:20:49 +03:00
TriKriSta
610e04aa26
feat: use search settings
2018-06-24 21:11:20 +03:00
sudden6
dfd5232e2f
fix(settings): prevent segfault on wrong proxy settings
2018-06-23 14:07:40 +02:00
Pavel Karelin
9b6cd1c022
fix: Fix PR #5182 . Eliminating the 'new' operator at ToxOptionsWrapper
2018-06-23 03:36:39 +03:00
sudden6
26b59d3123
fix(Core): fix use after free of proxyAddrData
2018-06-22 08:12:08 +02:00
TriKriSta
87b340f4a1
feat: create widget for search settings
2018-06-16 13:41:31 +03:00
sudden6
2a8ab03e46
fix(file): don't clean the filenames of avatar transfer
...
also don't print the filenames to the log for privacy reasons
2018-06-14 22:39:23 +02:00
Diadlo
06ae7ead0c
fix: Fix usage of unitialized functions
2018-06-12 22:46:48 +03:00
Diadlo
daaa5518dd
fix(leak): Fix few memory leaks
2018-06-12 22:45:53 +03:00
Pavel Karelin
2cd65610fc
fix(build): Elimination the build warnings (Wunused-variable, Wreorder)
2018-06-06 23:05:06 +03:00
sudden6
83d4a21ef6
Merge pull request #5167
...
ezavod (1):
fix(chatform): name in window title and close detached chats
2018-06-06 08:19:19 +02:00
sudden6
4faab0750d
feat(core): put c-toxcore log messages in the qTox log
2018-06-06 00:57:37 +02:00
ezavod
39968a313d
fix(chatform): name in window title and close detached chats
...
This displays the name of the currently used account in the window title
of detached chats. Also closes all open chats when switching back to one
window.
2018-06-04 22:56:53 +02:00
tox-user
2fae2a30f7
feat(chat): add UI option to mute group peers
...
Implements #4596 , #4626 , #1007
Adds a context menu to every peer label in group chat with an
option to mute chosen peers, which adds them to the blacklist.
Mutes audio of blacklisted group peers.
2018-06-02 18:05:45 +00:00
ezavod
847f155b7b
refactor(chatform): Use QStringList instead of QVector<QString>
...
This replaces QVector<QString> with QStringList consistently across all files.
2018-05-31 21:32:58 +02:00
ezavod
4434253283
refactor(chatform): consistent usage of file dialogs
...
This makes the usage of QFileDialogs consistent by using he native
file picker in all cases. Also makes the usage of the last location
consistent. Furthermore this removes default parameter values and uses
Q_NULLPTR.
2018-05-29 12:51:50 +02:00
ezavod
757791eea4
fix(chatform): check for empty path when exporting profile
...
Fixes #5146 . If the filedialog is cancelled the returned path is empty.
Do not try to export the profile in this case.
2018-05-29 12:21:40 +02:00
sudden6
8461a373dd
Merge pull request #5142
...
Andrius Štikonas (1):
fix(wayland): Fix desktop file name in Qt properties
2018-05-15 22:57:22 +02:00
sudden6
3d7d791e5f
Merge pull request #5111
...
Alice (1):
fix(core): Clean illegal chars from filenames
2018-05-15 22:56:25 +02:00
sudden6
a3370173df
fix(audio): close the audio device after playing a sound
...
This bug was uncovered by 65896e4501
because this sound now happens after the call is closed, but doesn't
close the audio device.
2018-05-15 21:14:06 +02:00
sudden6
e55f86c6a5
fix(video): unsubscribe the video device correctly
...
fixes #5110
2018-05-15 20:29:47 +02:00
sudden6
50cee67f5f
chore: add more debugging when subscribing video
2018-05-15 20:29:42 +02:00
Alice
ab85716f00
fix(core): Clean illegal chars from filenames
...
Fixes : #1304
2018-05-14 16:16:16 -07:00
Andrius Štikonas
c1caeb585a
fix(wayland): Fix desktop file name in Qt properties
...
fixes #5141
2018-05-14 19:24:16 +01:00
Diadlo
aae567ed8e
feat: Add ability to remove dialog from content dialog with middle click
2018-05-14 09:18:48 +03:00
Diadlo
228c431c89
feat: Add ability to quit group with middle click
...
Fix #2605
2018-05-14 09:18:48 +03:00
Diadlo
65fc1dc266
feat: Add middle mouse clicked signal for GenericChatroom
2018-05-14 09:18:48 +03:00
sudden6
4acf884fb9
refactor: use ToxPk as identifier
...
fixes #5116 and #5117
2018-05-11 20:35:24 +02:00
tox-user
d6df8883e3
feat(chat): full screen video chat
...
Implements #2922 and #2514 .
This change adds:
- a button for enabling full screen mode
- a panel with buttons for controlling the chat in full screen mode
- a button to toggle video preview
- new icons
fix(chat): fix buttons in full screen video call
feat(chat): add hotkey for exiting full screen video
fix(chat): use screen res to position button panel
fix(chat): dont remove video widget on window close
2018-05-10 20:08:37 +00:00
Anthony Bilinski
ca32e77d74
feat(history): load set number of messages from history
...
Fix #3124
Fix #3004
Instead of loading a set 7 days of history. Better performance when there are lots of messages, and better context when friends haven't talked in over a week.
Removed historyBaselineDate, introduced in deb8440c6a
to fix duplicate messages, but duplicate messages were very likely fixed by https://github.com/qTox/qTox/pull/4607 .
Also refactored history loading.
2018-05-06 15:31:54 -07:00
Anthony Bilinski
dfd2de836e
fix(history): don't save both action prefix and displayed name
...
Displayed name is already added to action messages when added to ChatForm. Saving in history as well results in the display name being displayed twice when loaded from history.
2018-05-06 15:31:26 -07:00
sudden6
48179b6a19
fix: two crashes, uncovered by the persistent groupchat patch
2018-05-02 22:49:59 +02:00
sudden6
498c04ba50
refactor(group): store peer list in a more intelligent way
2018-04-30 01:19:34 +02:00
sudden6
0d74134dc1
refactor(group): use displayedNameChanged signal
2018-04-30 01:19:34 +02:00
Anthony Bilinski
1af3ad69e8
fix(login): start login screen on profile select by -p option
2018-04-26 13:43:10 -07:00
Anthony Bilinski
2d87999922
Merge pull request #5084
...
TriKriSta (1):
fix: delete double initialization callDuration
2018-04-26 13:42:01 -07:00
Anthony Bilinski
65896e4501
feat(call): add call end sound
...
Fix #4905
2018-04-26 12:49:58 -07:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
2018-04-25 17:33:38 -07:00
Anthony Bilinski
8ba8ce91f3
fix(theme): clear stylesheet cache on theme colour change
...
Fix #5092
2018-04-25 14:20:56 -07:00
Anthony Bilinski
7293151469
fix(ui): increase number of low res camera options
...
partially revert behaviour of 04ecfe3f34
to show any options that were shown before. Mentioned in comments of #5097 .
2018-04-24 13:51:24 -07:00
sudden6
441931765f
fix(build): make qTox compile with ffmpeg 4.0 and newer
2018-04-23 19:31:58 +02:00
Anthony Bilinski
6d9d26db65
perf(ui): cache stylesheets to reduce memory usage
...
Issue #5078
2018-04-17 19:41:23 -07:00
TriKriSta
dc1f5ea0a3
fix: delete double initialization callDuration
2018-04-15 19:04:02 +03:00
Anthony Bilinski
55d8922d69
fix(settings): connect enable LAN discovery checkbox
...
Checkbox and setting introduced in 9f8b0fed07
but not connected.
2018-04-13 00:18:16 -07:00
Anthony Bilinski
869036f3c6
fix(core): split messages on utf8 multibyte character boundary properly
...
Fix #4917
2018-04-13 00:16:41 -07:00
Anthony Bilinski
04ecfe3f34
feat(camera): add higher resolution camera options
...
Fix #5065
2018-04-12 11:37:55 -07:00
Anthony Bilinski
1583991fb4
refactor(avform): simplify and standardize sliders, use RMS for volume
...
Also improve usefulness of volume bar by including gain, clipping, and activation threshold. Remove magic numbers. Clear volumue display when mic is disabled.
Fix #4893
2018-04-12 10:34:42 -07:00
Anthony Bilinski
f6622e4092
fix(audio): apply gain to both audio channels
...
Fix #5039
2018-04-11 18:25:39 -07:00
Anthony Bilinski
5d0f9509a8
fix(audio): move audio timers to and start from audioThread
...
Fix #5053
2018-04-11 10:50:44 -07:00
Anthony Bilinski
97bc4a9b4a
refactor(ui): consolidate new message settings under UI page
2018-04-08 14:30:25 -07:00
Anthony Bilinski
fcd88d65b2
feat(ui): add setting for disabling new message notification popup
...
Fix #4979
2018-04-08 14:29:12 -07:00
Anthony Bilinski
9f8b0fed07
feat(ui): Add ability to disable LAN discovery
...
Fix #4074
2018-04-06 12:02:10 -07:00
Anthony Bilinski
cfdc1cdb2e
fix(profile): don't error if no new avatar is selected
2018-04-06 10:19:44 -07:00
Anthony Bilinski
a8fc6e5c6b
fix(chatform): include pressed key(s) when changing focus
...
Instead of just giving focus, give focus and add the key that was pressed. Also change from KeyRelease to KeyPress to avoid missing the second key pressed in the case of the second key being pressed before the first is released.
2018-04-05 16:00:02 -07:00
Anthony Bilinski
65d59ba6b7
fix(settings): add missing enableTestSound to settings
2018-04-05 15:00:34 -07:00
Anthony Bilinski
cb0f26356d
fix(ui): remove placeholder update UI
...
Auto-updates were disabled in 196529b8e8
Fix #5040
2018-04-05 01:30:25 -07:00
Anthony Bilinski
9216549d6e
refactor(call): Refactor toxcall and disconnect lambda on destruction
...
Fixes #3840
Move audio and video state into ToxCall which both ToxFriendCall and ToxGroupCall inherit from
2018-04-04 01:32:00 -07:00
Anthony Bilinski
b852809d0c
fix(history): don't save own messages when history is disabled
...
Fix #5036
2018-03-30 01:50:12 -07:00
Anthony Bilinski
703876c372
fix(login): Don't dereference null pointer
...
Fix #5032
2018-03-24 17:04:31 -07:00
sudden6
0be49c648c
Merge pull request #5027
...
Only merged one commit, because of an unnecessary merge of master
2018-03-24 18:11:52 +01:00
tox-user
23f6ad7047
fix: remove build date and time from main.cpp
...
This is the first step to having reproducible builds. It
should allow to make an identical build in the same environment
and increase privacy when sharing logs, because the build time
was not in UTC.
2018-03-22 23:09:17 +00:00
Anthony Bilinski
acea7c315f
fix(import): don't use java-style iterator before first element
...
Fix #4962
2018-03-21 14:29:25 -07:00
Anthony Bilinski
4951f90964
fix(offlinemsg): make faux offline messages purely event based
...
Since real offline message reliability issue was fixed in PR #4607 , now removing all the workarounds that had been added. Offline messages are now sent as soon as we see our friend come online, and at no other time. Fixes 2 minute wait time before attempting to send if message is entered while you or friend is offline, removes 2 minute constant retry timer, removes 250ms delay between seeing friend come online and sending offline messages.
2018-03-21 13:03:17 -07:00
sudden6
0170ccd6f7
refactor: remove some unused includes
...
thanks @iphydf for pointing that out
2018-03-21 19:39:28 +01:00
Anthony Bilinski
d2ad2107f2
fix(IPC): Update profileName to update IPC ID after login screen
...
Fix #4948
Fix #5025
2018-03-21 02:37:14 -07:00
DESKTOP-Z50-70\Arman
ebdc675cbc
fix(chattextedit): ChatTextEdit bug fix for issue #5020 Corrected
2018-03-21 12:39:17 +04:00
Anthony Bilinski
c2410e0a65
fix(name): Clear alias on name change so that name changes are visible
...
Temporary work around for #5013
2018-03-18 19:22:24 -07:00
Anthony Bilinski
09eee940cd
Merge pull request #5012
...
Horace Bianchon (1):
fix(avform): Audio/Video settings tab #5011 issue bugfix
2018-03-16 13:52:15 -07:00
Anthony Bilinski
bc18990fd2
fix(build): Remove unused vars, add default case for switch
...
Fix #5006
2018-03-16 12:59:51 -07:00
Anthony Bilinski
1afed5f72e
fix: don't use invalid reference after erasing element
...
Fix #5002
2018-03-16 10:54:53 -07:00
Horace Bianchon
ad6ddfc4f2
fix(avform): Audio/Video settings tab #5011 issue bugfix
...
Signed-off-by: Horace Bianchon <horace.bianchon@gmail.com>
2018-03-16 18:32:36 +04:00
Anthony Bilinski
8198940607
fix(widget): Fix double free crash on group leave
...
Fix #5004
2018-03-15 02:08:10 -07:00
Diadlo
2a0c71d0d4
fix: Fix crash on manipulation with friend
...
Fix #4991
2018-03-12 01:07:41 +03:00
Diadlo
e3726eade6
fix(avform): Hotfix for crash on video device change on 'None'
...
Fix #4994
2018-03-11 22:51:38 +03:00
Diadlo
0a590336b1
fix(group): Show correct count of user on first creation
...
Fix #4503
2018-03-05 22:20:39 +03:00
Diadlo
9b4972e045
fix(friendwidget): Use queued connection to avoid removing 'this'
...
Fix #4966
Since 'removeAction' can remove friend (who would have thought?) it must be
connectd queued to avoid use after free.
2018-03-05 09:06:20 +03:00
sudden6
1f8c9a2e2f
refactor: update displayed user name from the friend model
2018-02-28 17:51:00 +01:00
sudden6
a910d57824
refactor(friend): add an additional signal to Friend
2018-02-26 20:53:53 +01:00
Anthony Bilinski
e564b85e3c
fix(chatform): Broaden URL matching to include unicode
...
Fix #4853
Fix #4295
*Instead of searching strictly valid URIs, allow anything characters following scheme. This allows for UTF-8 characters used in other languages, as well as parentheses and other ASCII characters. This will over-match some invalid URLs.
*Ignored surrounding characters of URIs and ending punctuation
*Fix www-only links by adding http scheme to href
2018-02-25 01:48:25 -08:00
sudden6
d3d81bbdf3
feat: update to the new c-toxcore 0.2.0 conferences api
...
The old functions are disabled at compile time and should be removed
later.
2018-02-24 09:57:42 +01:00
iphydf
1111949f45
fix(core): Adapt qtox to new conferences state change callback.
2018-02-24 09:57:42 +01:00
Diadlo
e73dc10c7f
fix: Not quit on close if this setting is enabled
...
Fix #4949
2018-02-23 11:29:53 +03:00
Anthony Bilinski
d9118cfc71
fix(widget): Fix status pic alignment
2018-02-21 11:55:59 -08:00
Diadlo
aeb501240f
Merge pull request #4955
...
TriKriSta (12):
feat: add a button to search
feat: add form for search
feat: add text search
feat: edit load history for search
feat: remove search button and add line in context menu
feat: add search in text in group chats
feat: optimise search in history
feat: add hot keys for search
style: change code in searchInText
fix: add search symbol ' in history
refactor: rename hideButton to searchHideButton
refactor: add/delete checks in search code
2018-02-20 08:26:29 +03:00
Anthony Bilinski
9643e48ef1
fix(chatlog): Match multi-character emoticons again
...
Fixed after broken in https://github.com/qTox/qTox/pull/4940 . Single-character UTF-8 emoji still work without whitespace on either side, but multi-character emoticon patterns like 😄 or :) do require surrounding whitespace, to avoid matching punctuation or HTML tags.
2018-02-19 01:18:19 -08:00
TriKriSta
fe4dd83d10
refactor: add/delete checks in search code
2018-02-15 13:21:05 +02:00
TriKriSta
40cebd421b
refactor: rename hideButton to searchHideButton
2018-02-14 19:41:59 +02:00
TriKriSta
3e05279c09
fix: add search symbol ' in history
2018-02-14 11:30:38 +02:00
TriKriSta
f73021c376
style: change code in searchInText
2018-02-12 19:35:50 +02:00
TriKriSta
ffb51e8a0e
feat: add hot keys for search
2018-02-12 19:24:22 +02:00
TriKriSta
18fa8a745b
feat: optimise search in history
2018-02-12 01:02:28 +02:00
TriKriSta
7718734c9a
feat: add search in text in group chats
2018-02-11 23:09:13 +02:00
TriKriSta
8bb80c770c
feat: remove search button and add line in context menu
2018-02-11 17:38:05 +02:00
Diadlo
95f150e5f9
refactor: Move action handlers to slots
2018-02-11 12:12:07 +03:00
TriKriSta
de9c906117
feat: edit load history for search
2018-02-10 17:56:16 +02:00
TriKriSta
b881d32d1b
feat: add text search
2018-02-10 17:56:16 +02:00
TriKriSta
863c46c73d
feat: add form for search
2018-02-10 17:56:16 +02:00
TriKriSta
47d9da98cf
feat: add a button to search
2018-02-10 17:56:16 +02:00
Diadlo
0d2926e196
refactor: Remove ChatForm from Group
2018-02-08 09:01:23 +03:00
Diadlo
0586e65e72
refactor: Remove using 'Group::getChatForm'
2018-02-08 09:01:22 +03:00
Diadlo
f6bb71db93
refactor: Save GroupChatForm in Widget
2018-02-06 10:46:22 +03:00
Diadlo
42a3a27a58
refactor: Remove chatForm from Friend
2018-02-06 10:46:09 +03:00
Diadlo
b26255703d
refactor: Move using loadHistory out of Friend
2018-02-06 10:46:09 +03:00
Diadlo
254f5cc4b1
refactor: Remove using 'Friend::getChatForm'
2018-02-06 10:46:09 +03:00
Diadlo
61e0dff8a4
refactor: Remove 'FriendWidget::setChatForm'
2018-02-06 10:46:09 +03:00
Anthony Bilinski
5df63f9c2e
fix(chatlog): parse multi-length emoji properly
...
Before, when multi-length emoji were next to any other character, they would not be transformed into images. With this change, emoji are replaced with images no matter where they are in the string. Parsing is now done by checking to see if two-character blocks are valid as a single UTF-32 character, or if they are truly two distinct characters. Because we no longer need white space before emoji, I also removed our addition of spaces on either side of an emoji when a user sends them.
2018-02-05 14:19:03 -08:00
sudden6
0dea03906e
Merge pull request #4918
...
iphydf (1):
chore: Don't dereference Tox_Options, use getters instead.
2018-02-05 22:05:28 +01:00
sudden6
11f263ffc3
refactor(nexus): make loginscreen independent of nexus
2018-02-01 22:00:06 +01:00
sudden6
09ad16bc44
refactor: cleanup notifications and core
2018-02-01 22:00:00 +01:00
sudden6
d01999814e
chore: fix some compiler warnings
2018-02-01 20:32:39 +01:00
Diadlo
d2deec7c55
fix(core): Use new callback API for bitrate set
2018-01-31 09:39:43 +03:00
Diadlo
2c8f03dada
fix(core): Use new API for bitrate set
...
Fix #4935
2018-01-31 00:01:52 +03:00
Anthony Bilinski
b9845e1d23
perf(widget): don't save on setExpanded if categorywidget is unchanged
...
Fix #4932
2018-01-27 20:14:58 -08:00
Diadlo
7d5a59cf41
refactor: Use qFuzzyCompare to compare float values
...
Thanks @BiTOk for this tip
2018-01-22 17:13:09 +03:00
Diadlo
3b52402fa2
feat: Prefere new line as message break
...
Fix #4113
2018-01-20 14:07:22 +03:00
Diadlo
e74cc37a2d
fix: Use real channels number
2018-01-20 14:07:22 +03:00
Diadlo
e3f3d5e3b1
refactor: Override only 'doOutput' and 'captureSamples' in OpenAL2
2018-01-20 14:07:22 +03:00
Diadlo
c33592be06
style: Fix style
2018-01-20 14:07:22 +03:00
Diadlo
900f2a1ad3
fix: Allocate memory to input buffer
2018-01-20 14:07:22 +03:00
Diadlo
2353a66fde
fix: Call doAudio on timer timeout
...
Fix #4904
2018-01-20 14:07:22 +03:00
Diadlo
8c05399e41
fix: [un]subscribe output in avform
...
Fix sound test on AV settings tab
2018-01-20 14:07:22 +03:00
sudden6
c41de48a6b
Merge pull request #4913
...
tox-user (1):
feat(groupchat): mark blocked users with different color
2018-01-20 00:17:20 +01:00
sudden6
8ce1e31477
Merge pull request #4911
...
tox-user (1):
feat(UI): new status icons for message notifications
2018-01-20 00:16:38 +01:00
iphydf
2e645eb68c
chore: Don't dereference Tox_Options, use getters instead.
...
Depending on Tox_Options structure layout is deprecated. We will remove
it from the public API in the future.
2018-01-16 17:27:17 +00:00
Diadlo
3ca2ffd559
Merge pull request #4894
...
iphydf (1):
chore: Update to immutable TES API and one-big-lib change.
2018-01-16 12:54:37 +03:00
tox-user
a729f2f8c0
feat(groupchat): mark blocked users with different color
...
Marks blacklisted groupchat users with red color.
2018-01-14 21:24:50 +01:00
Pavel Karelin
74d470d428
chore: Reorganization of the context menu for chat
...
1. The action "Quote selected text" moved to top of the menu list.
We assume that this is the most used menu item.
2. The short keys for "Quote selected text" and
for "Clear displayed messages" now is visible in the context menu.
3. For action "Clear displayed messages" add message box
with confirmation of this operation.
2018-01-14 21:31:10 +03:00
iphydf
398ba415ce
chore: Update to immutable TES API and one-big-lib change.
2018-01-14 15:47:43 +00:00
tox-user
4288785d31
feat(UI): new status icons for message notifications
...
implements #4858
2018-01-13 22:16:14 +01:00
sudden6
1a06f85d3c
feat(l10n): add Macedonian translation
2018-01-11 22:20:17 +01:00
sudden6
a49e34589f
fix(UI): prevent deadlocks on logout and profile delete
...
fixes #4896
2018-01-11 12:10:30 +01:00
sudden6
c4fb495eb6
Merge pull request #4900
...
Pavel Karelin (1):
chore: Elide text for CallConfirmWidget
2018-01-11 11:33:21 +01:00
Pavel Karelin
6d14f09001
chore: Elide text for CallConfirmWidget
2018-01-09 16:41:40 +03:00
sudden6
ea6364ae02
Merge pull request #4886
...
Pavel Karelin (1):
fix: Correct display the call confirm window (CallConfirmWidget)
2018-01-04 23:05:59 +01:00
sudden6
196529b8e8
chore: disable broken autoupdater by default
2018-01-04 01:03:52 +01:00