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

3361 Commits

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