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

3529 Commits

Author SHA1 Message Date
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