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

3278 Commits

Author SHA1 Message Date
noavarice
e9209b06f9
refactor: independent URL highlighting
Brief list of changes:
  - removed workarounds while applying markdown;
  - URL highlighting now is independent for markdown support;
  - URL patterns reverted to the state they were before.
2017-11-03 21:00:01 +03:00
anthony.bilinski
1394dd1b7f fix(call): fix bugs introduced from ToxCall refactor
-inverted call active booleans
-audio subscription leak on move assignment
-NullVideoBitrate check
-return peers list by reference so that adding audio source in GroupCallCallback is persisted
-fix output muting for friend calls
2017-11-02 13:41:44 -07:00
Jiachen Yang
70b235f271 fix: using current setting in autoaccept dialog
This should fixes #4777
2017-11-02 02:05:54 +09:00
Diadlo
4af90a7f97
Merge pull request #4677
anthony.bilinski (1):
      fix(logout): Synchronously call showLogin to avoid multiple deletion
2017-11-01 12:51:53 +03:00
Diadlo
d07f53f292
Merge pull request #4671
anthony.bilinski (1):
      fix(settings): Delete dynamically allocated members on destruction
2017-11-01 12:45:13 +03:00
Diadlo
e4064ba8b1
docs(toxmedata): Add docs to functions 2017-10-31 17:51:26 +03:00
Diadlo
6a18ca5243
refactor(toxmedata): Use QJsonObject to parse and build json 2017-10-31 17:51:26 +03:00
sudden6
967dab8700
style: run format-code.sh on the files 2017-10-31 09:32:53 +01:00
sudden6
90bf0a7e2c
refactor(toxcall): make toxcall a class with getters and setters 2017-10-31 09:32:53 +01:00
sudden6
1dce8f6468
refactor(core): rename corestructs to toxfile.cpp
It only contains this struct now.
2017-10-31 09:32:53 +01:00
sudden6
cac25b4477
refactor(core): move Status class to core.h 2017-10-31 09:32:52 +01:00
sudden6
d2adfe4ca7
refactor: fix some warnings reported with "-Wall" 2017-10-31 09:32:52 +01:00
sudden6
2a15927a16
refactor(core): remove unused declaration 2017-10-31 09:32:47 +01:00
Zetok Zalbavar
641a80842e
feat(l10n): add Serbian (latin) translation to UI 2017-10-29 11:36:02 +00:00
Zetok Zalbavar
3c4b1f117d
feat(l10n): add Serbian translation to UI 2017-10-29 11:36:02 +00:00
Zetok Zalbavar
76df9a4535
feat(l10n): add Persian translation to UI 2017-10-29 11:36:01 +00:00
Zetok Zalbavar
37419825ca
fix: remove unnecessary semicolon to compile with -pedantic flag 2017-10-29 06:36:31 +00:00
sudden6
b07ea763cd
refactor(toxcall): remove callId from ToxCall members 2017-10-28 11:47:56 +02:00
sudden6
4149b5b252
refactor(coreav): remove unused IndexedList 2017-10-28 11:47:56 +02:00
sudden6
ed4b063994
refactor(coreav): replace IndexedList with std::map 2017-10-28 11:47:51 +02:00
Diadlo
3c8bf628bd
refactor(callconfirm): Remove unused friend parameter 2017-10-26 16:59:26 +03:00
Diadlo
25ab974f1e
Merge pull request #4761
anthony.bilinski (1):
      fix(profile): Fix status message and username signal connection typo
2017-10-26 16:58:10 +03:00
sudden6
fed7060270
fix(video): prevent segfault when ending videocall 2017-10-26 12:32:35 +02:00
anthony.bilinski
d41031bd15 fix(profile): Fix status message and username signal connection typo
Fixes #4760
2017-10-25 14:17:01 -07:00
Diadlo
92def839d0
fix(cameradevice): Save string in local variable to avoid errors 2017-10-23 21:04:34 +03:00
sudden6
ecea41045c
fix(video): reduce default video bitrate to make it more usable 2017-10-23 14:22:26 +02:00
sudden6
1d790190d8
Merge pull request #4747
anthony.bilinski (1):
      fix(video): Set toxav video bitrate to 0 if answering audio-only call
2017-10-23 13:46:34 +02:00
sudden6
923fd48c33
Merge pull request #4748
anthony.bilinski (1):
      fix(ui): Set tooltip colour and background for all tooltips
2017-10-23 13:43:45 +02:00
sudden6
acfe237e74
Merge pull request #4734
anthony.bilinski (1):
      fix(preview): only downscale preview images, never upscale
2017-10-22 14:00:03 +02:00
anthony.bilinski
b1f40decd8 fix(ui): Set tooltip colour and background for all tooltips
Fixes #4667
2017-10-21 15:30:40 -07:00
anthony.bilinski
5046fc9010 fix(logout): Synchronously call showLogin to avoid multiple deletion
Fixes #4201
2017-10-20 14:14:37 -07:00
noavarice
5e45569973
fix: add missed <functional> header 2017-10-20 22:39:10 +03:00
anthony.bilinski
45b3575d79 fix(preview): only downscale preview images, never upscale
Fixes #4733
2017-10-20 12:01:34 -07:00
sudden6
6d1b1f62ab
fix(settings): prevent signed overflow and associated warning 2017-10-20 00:17:10 +02:00
anthony.bilinski
1613044c68 fix(video): Set toxav video bitrate to 0 if answering audio-only call
Before we would set the video bitrate to 0 if sending an audio-only call, but we would still set the video bitrate to default when receiving an audio only call. In bad network conditions, this caused tox to ask us to decrease video bitrate in audio-only calls.
2017-10-19 12:18:44 -07:00
sudden6
2f13796acc
fix(ffmpeg): don't use deprecated features 2017-10-19 00:41:57 +02:00
anthony.bilinski
7170b48589 fix(init): register AV connects and call after AV is ready
Fixes #4651
2017-10-13 15:22:24 -07:00
Diadlo
2f1bf10780
fix(toxme): Add #include <ctime> to toxmedata
Fix #4730
2017-10-13 17:10:10 +03:00
Diadlo
9a543548e0
refactor(toxme): Move json generation to ToxmeData class 2017-10-13 14:56:15 +03:00
Diadlo
ae7b47342d
refactor(profile): Move core connect from form to model 2017-10-13 09:12:42 +03:00
Diadlo
36adfc89e9
refactor(profileform): Integrate ProfileInfo in ProfileForm 2017-10-13 09:12:41 +03:00
Diadlo
49915c0a45
refactor(profileinfo): Move some methods in profile info class 2017-10-13 09:12:41 +03:00
Diadlo
4a11a0eb22
refactor(profileinfo): Add profile info model class 2017-10-13 09:12:41 +03:00
Diadlo
78966c1f02
refactor(profileform): Use new connect style 2017-10-13 09:12:41 +03:00
Diadlo
b41767d087
fix: Use correct initialization order
Fix #4727
2017-10-12 23:45:53 +03:00
Diadlo
6a87ff8853
docs(interface): Add docs to interface macroses 2017-10-11 08:51:32 +03:00
Diadlo
68813a37c3
refactor: Remove Settings from Core 2017-10-11 08:51:32 +03:00
Diadlo
7f2bd726ef
refactor: Integrate ICoreSettings in Core 2017-10-11 08:51:32 +03:00
Diadlo
4e3b2291f5
refactor: Create interface for core settings 2017-10-11 08:51:32 +03:00
Diadlo
0c8c16e743
refactor: Extract DhtServer in separate file 2017-10-11 08:51:32 +03:00
Diadlo
256b24ff21
refactor: Improve interface 2017-10-11 08:51:32 +03:00
sudden6
1fc7fe2d58
Merge pull request #4638
noavarice (1):
      refactor(toxid): use left instead of mid
2017-10-10 13:08:15 +02:00
Zetok Zalbavar
c089c80e53
fix: remove unused variables 2017-10-08 12:44:56 +01:00
sudden6
b609a8f99a
Merge pull request #4697
tox-user (5):
      feat(settings): Add audio quality setting
      feat(settings): make audio quality setting persistent
      refactor(settings): use constants in audio quality setting
      refactor(settings): use a cleaner way to read and set audio bitrate
      style(settings): change names of local constants to camel case
2017-10-08 00:18:06 +02:00
sudden6
003fc6b0b0
feat(identicon): use Identicons instead of empty avatars
fixes #711
2017-10-06 23:57:55 +02:00
sudden6
f82f57ec91
refactor: don't pass ToxPk as QString 2017-10-06 23:57:55 +02:00
sudden6
61b36d1bce
feat(identicon): add algorithm to create identicons
ported from https://github.com/sudden6/rust-identicon/blob/master/src/lib.rs
but slightly changed the algorithm
2017-10-06 23:57:51 +02:00
Vincas Dargis
729dc7740b fix(platform): use result to remove -Wunused-result warning
Check for write() and read() results and abort in case of unexpected
failure.
2017-10-04 19:11:52 +03:00
tox-user
78c6869e4c style(settings): change names of local constants to camel case 2017-09-30 17:22:35 +02:00
tox-user
e4b0c54965 refactor(settings): use a cleaner way to read and set audio bitrate 2017-09-30 15:49:11 +02:00
tox-user
b36a7bdec9 refactor(settings): use constants in audio quality setting 2017-09-30 12:52:09 +02:00
tox-user
7ed2d97aad feat(settings): make audio quality setting persistent 2017-09-29 12:33:30 +02:00
sudden6
ab12555935
Merge pull request #4679
anthony.bilinski (1):
      fix(IPC): don't double lock shared memory
2017-09-28 18:42:53 +02:00
tox-user
61eddc1f6b feat(settings): Add audio quality setting
Fixes #4693
2017-09-28 16:14:36 +02:00
sudden6
ce0c102011
Merge pull request #4675
anthony.bilinski (1):
      feat(login): Add command line argument to open login screen
2017-09-27 19:43:14 +02:00
Yuri
8522141b1e fix(threads): Always stop the camera device thread 2017-09-26 22:42:48 -07:00
anthony.bilinski
0906b8eb1f feat(login): Add command line argument to open login screen
Fixes #4673
2017-09-26 13:41:46 -07:00
Diadlo
f790747f2a
fix: ATOMIC_FLAG_INIT can't be used inside braces initializer 2017-09-26 21:00:49 +03:00
Diadlo
f97c776a87
fix: Return value 2017-09-26 21:00:39 +03:00
Diadlo
43c2308b7b
fix(ipc): Reorder initialize list 2017-09-26 21:00:39 +03:00
Diadlo
aa356bb73a
fix(audio): Fix signed and unsigned comparation 2017-09-26 21:00:39 +03:00
Diadlo
026517dc5a
chore(warning): Fix compile warnings
- change preprocessor warning on runtime qWarning
- add parentheses around ‘&&’ within ‘||’
2017-09-26 21:00:39 +03:00
anthony.bilinski
0bf27a000a fix(IPC): don't double lock shared memory
Fixes #4678
2017-09-25 10:37:01 -07:00
anthony.bilinski
94cb6ce1c5 fix(settings): Delete dynamically allocated members on destruction
Fixes #4670
2017-09-21 13:29:20 -07:00
sudden6
6a5a7564aa
Merge pull request #4644
anthony.bilinski (1):
      feat(paste): Implement pasting images from clipboard
2017-09-20 11:16:08 +02:00
sudden6
75438d46b2
Merge pull request #4643
anthony.bilinski (1):
      feat(exif): Honour exif orientation tag
2017-09-20 11:14:42 +02:00
sudden6
ed634ae0f4
Merge pull request #4610
drswinghead (1):
      feat(settings): add group chat local member black list
2017-09-19 21:23:55 +02:00
anthony.bilinski
414fa178b4 feat(exif): Honour exif orientation tag
Fixes #1848
2017-09-19 10:00:05 -07:00
anthony.bilinski
5fed37365f feat(paste): Implement pasting images from clipboard
Fixes #1290
2017-09-19 09:56:34 -07:00
sudden6
9c01eec268
Merge pull request #4607
anthony.bilinski (1):
      fix(receipts): Prevent double message send for received receipt
2017-09-17 23:19:24 +02:00
noavarice
b967d28465
refactor: use GroupInvite instead of set of parameters 2017-09-17 19:54:06 +03:00
noavarice
d514b48ef6
refactor: register GroupInvite as meta-type 2017-09-17 19:54:06 +03:00
noavarice
fd1fbebae0
refactor: more rigorous types for GroupInvite 2017-09-17 19:54:06 +03:00
noavarice
ad3584c469
refactor: GroupInvite moved to model directory 2017-09-17 19:54:01 +03:00
sudden6
d746ea9daf
Merge pull request #4650
anthony.bilinski (1):
      feat(ui): output instructions when user tries to open a second instance
2017-09-17 11:24:34 +02:00
drswinghead
27ecace752 feat(settings): add group chat local member black list 2017-09-16 10:22:08 +08:00
anthony.bilinski
a601df31da fix(exit): delete heap-based QApplication before exit
Fixes #4648
2017-09-14 00:01:38 -07:00
anthony.bilinski
48d65c269a feat(ui): output instructions when user tries to open a second instance
Fixes #3483
2017-09-14 00:00:38 -07:00
Diadlo
c49959711e
Merge pull request #4620
anthony.bilinski (1):
      fix(chatform): Hide author on history like on new messages
2017-09-11 08:42:42 +03:00
Diadlo
bd6516eab7
fix: Fix crash on auto accept click in AboutFriendForm
Fix #4600
2017-09-10 13:22:54 +03:00
Diadlo
aae23c4154
refactor: Make direct connection 2017-09-10 13:21:33 +03:00
Diadlo
2020f7c4f8
refactor: Add signals in settings 2017-09-10 13:21:33 +03:00
Diadlo
a626888daa
refactor(interface): Add connectTo_* virtual method instead of signals 2017-09-10 13:21:33 +03:00
Diadlo
918cdf1368
refactor: Add using AboutFriend model in AboutFriendForm 2017-09-10 13:21:33 +03:00
Diadlo
b0a591e0f0
refactor(aboutfriend): Add AboutFriend model and interface 2017-09-10 13:21:33 +03:00
Diadlo
8368f2413d
refactor: Rename AboutUser to AboutFriendForm 2017-09-10 13:21:32 +03:00
Diadlo
c6d76da0dd
refactor: Use ToxPk instead of ToxId 2017-09-10 13:21:32 +03:00
noavarice
6b93a41a40
refactor: removed unused constant 2017-09-09 23:06:53 +03:00
noavarice
28aed05d0a
refactor: removed unused quitGroupChat method
`removeGroup` is used instead of this method
2017-09-09 23:06:53 +03:00
Diadlo
b87248c36b
Merge pull request #4581
Vincas Dargis (1):
      fix(platform): handle terminating POSIX signals
2017-09-09 23:05:01 +03:00
Diadlo
b0d11b442f
Merge pull request #4632
anthony.bilinski (1):
      fix(friends): Friend request button target location
2017-09-09 22:37:56 +03:00
Diadlo
549738dc9e
Merge pull request #4634
anthony.bilinski (1):
      fix(popup): Don't create two error popups for friend requests
2017-09-09 22:31:25 +03:00
Diadlo
e67713527c
Merge pull request #4630
anthony.bilinski (1):
      fix(avatar): Don't invert default avatar colour on connect
2017-09-09 22:30:15 +03:00
noavarice
b7323e3164
refactor(toxid): use left instead of mid 2017-09-09 22:25:39 +03:00
Vincas Dargis
32b97cb927 fix(platform): handle terminating POSIX signals
Add PosixSignalNotifier utility class to covert POSIX signals to
Qt signals and allow qTox to quit appropriately on Linux, FreeBSD
and macOS.

Might protect from data corruption bugs when application is being
terminated during I/O.

Fixes: #4470
2017-09-09 17:19:51 +03:00
anthony.bilinski
e9d63397e1 fix(receipts): Prevent double message send for received receipt
Fixes #2726
Register for receipt handling only once, cache receipts that are received before message is writen to history and mark a message as sent once both its receipt has been received and it has been writen to history
2017-09-06 23:35:42 -07:00
anthony.bilinski
1f787cc475 fix(popup): Don't create two error popups for friend requests
Fixes #4633
2017-09-06 19:34:17 -07:00
anthony.bilinski
7f36ec9219 fix(friends): Friend request button target location
Change friendform pane numbering to use existing enum instead of hardcoded values, udpate enum to match current pane layout.
Fixes #4631
2017-09-06 19:25:25 -07:00
anthony.bilinski
be324b932b fix(avatar): Don't invert default avatar colour on connect
Fixes #4629
2017-09-06 18:08:54 -07:00
anthony.bilinski
28979f5771 fix(chatform): Hide author on history like on new messages
Fix #4619
2017-09-05 11:29:46 -07:00
sudden6
1f44d603c4
Merge pull request #4617
LittleVulpix (1):
      fix(toxme): Remove HTML tags from ID to un-break toxme integration
2017-09-03 19:01:22 +02:00
Diadlo
c2140e21ad
fix(ipc): Call processEvent on timer timeout
Fix #4609
2017-09-02 12:10:55 +03:00
LittleVulpix
5af1b4af73 fix(toxme): Remove HTML tags from ID to un-break toxme integration
Due to the colours, the current implementation sends a bunch of html tags along with the ID, which obviously isn't desirable.
To remove these tags, I am using the same implementation as in copyIdClicked .
2017-09-01 20:12:52 +02:00
sudden6
89198f5e2d
Merge pull request #4604
Nikolay Korotkiy (1):
      fix(l10n): use native language names
2017-08-30 20:07:51 +02:00
Diadlo
359a42f78e
fix: Fix crash on accept or reject friend request
Fix #4603
2017-08-28 23:18:51 +03:00
Nikolay Korotkiy
817a9897c2 fix(l10n): use native language names 2017-08-28 22:36:56 +03:00
Karl
56ac95dad9 fix(i18n): string Call with %1 ended. %2 is no longer translatable
Fixes #4552
2017-08-26 18:09:56 +02:00
noavarice
776b37f689
refactor: headers order is changed properly 2017-08-25 21:48:27 +03:00
noavarice
a29e80bbe0
refactor: onUserListChanged refactored 2017-08-25 21:48:27 +03:00
noavarice
26b16386ae
refactor: 'correctNames' function refactoring
'correctNames' function moved from class, renamed and refactored
according to its purpose
2017-08-25 21:48:27 +03:00
noavarice
30cae05d26
refactor: GroupChatForm::onUserListChanged is a slot now 2017-08-25 21:48:19 +03:00
Diadlo
1ac97c4734
refactor: Use extra comment to make code cleaner 2017-08-20 23:57:40 +03:00
Diadlo
15987ece3d
refactor: Use const in AddFriendForm 2017-08-20 23:57:40 +03:00
Diadlo
196eb8d77a
refactor: Extract the same code to 'addFriend function' 2017-08-20 23:57:40 +03:00
tux3
0974da543a
feat: UI to import a list of contacts from a file
Resolves #4181
2017-08-20 23:57:40 +03:00
Diadlo
e606d3cb55
fix(group): Fix crash on group quit
Fix 'GroupWidget' removing
2017-08-19 16:18:52 +03:00
Diadlo
638cdba58d
fix(widget): Add removing friends and group on main window close 2017-08-18 21:45:51 +03:00
Diadlo
775d9987a3
refactor(widget): Extract friendId in variable 2017-08-18 21:45:51 +03:00
Diadlo
a1c7bb3c43
refactor(widget): Fix map key type 2017-08-18 21:45:51 +03:00
Diadlo
070e33a46b
refactor(group): Remove GroupWidget from Group 2017-08-18 21:45:51 +03:00
Diadlo
6c650f8b24
refactor(widget): Remove using getGroupWidget from Widget 2017-08-18 21:45:51 +03:00
Diadlo
a1be4bc940
refactor(group): Get name from group 2017-08-18 21:45:51 +03:00
Diadlo
e19bd67381
refactor(group): Move GroupWidget creation out of Group 2017-08-18 21:45:51 +03:00
Diadlo
1e90106a08
refactor(groupwidget): Move updatTitle in GroupWidget
Also, remove unused now slot ContentDialog::updateGroupWidget
2017-08-06 20:28:06 +03:00
Diadlo
47cf113868
refactor(groupwidget): Move call updateUserCount in GroupWidget 2017-08-06 20:28:06 +03:00
Diadlo
7429614188
refactor(group): Store title name in Group 2017-08-06 20:28:06 +03:00
Diadlo
aaf1029667
refactor(group): Replace signal groupTitleChanged on Group::titleChanged 2017-08-06 20:28:06 +03:00
Diadlo
4fee43cded
refactor(group): Replace 'renameRequest' signal on Group::titleChanged 2017-08-06 20:28:05 +03:00
Diadlo
11e75104f4
refactor(group): Don't pass widget on model change 2017-08-06 14:51:14 +03:00
Diadlo
9495a411cb
refactor(group): Move UI code out of Group::setName 2017-08-06 14:51:14 +03:00
Diadlo
14c2a30f4c
refactor(groupwidget): Extract setTitle in method 2017-08-06 14:51:14 +03:00
Diadlo
99ebb73562
refactor: Remove deprecated methods to get id 2017-08-06 13:55:02 +03:00
Diadlo
0adf026b4b
refactor: Make Contact parent of Friend and Group 2017-08-06 13:55:02 +03:00
Diadlo
90f4750e73
refactor(contact): Add Contact class 2017-08-06 13:55:02 +03:00
Diadlo
6c85e542a3
refactor(friend): Pass QString by const reference 2017-08-06 13:55:02 +03:00
Diadlo
017653470d
refactor: Move friend and group in model directory 2017-08-06 13:55:02 +03:00
sudden6
7f3887f67c
refactor(audio): fix some remarks from review 2017-08-05 21:25:15 +02:00
sudden6
8652fe99e3
feat(audio): make the libfilteraudio dependency optional 2017-08-05 21:25:14 +02:00
sudden6
e1da943e4e
refactor(audio): move channel count to audio backend 2017-08-05 21:25:13 +02:00
sudden6
8f2401fee6
fix(build): add install steps for libfilteraudio on OSX 2017-08-05 21:25:01 +02:00