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

1699 Commits

Author SHA1 Message Date
Diadlo
378d648591
refactor(contentdialog): Refactor window activate event 2016-05-15 00:50:15 +03:00
Diadlo
e3d74117ca
feat(notificationscrollarea): Add ability to delete widget from traced widgets list 2016-05-15 00:50:15 +03:00
Zetok Zalbavar
f1543144be
fix(friendlistwidget): use nullptr instead of 0
thanks to @sudden6's suggestion
2016-05-14 19:58:29 +01:00
a68366
c236b8a1d2 refactor(profile): reorder statements 2016-05-14 15:14:54 +03:00
a68366
f9edd39bba fix(profile): change password buttons behaviour
Closes #3300
2016-05-14 14:28:42 +03:00
agilob
f2aada8f4f
feat(i18n): Make activity by time labels translated by locale 2016-05-11 08:45:38 +01:00
agilob
3e22593ae7
feat(i18n): make Markdown settings translatable 2016-05-11 08:44:58 +01:00
Diadlo
d2d5b23064
feat(profileform): Added log toxme errors 2016-05-11 03:03:04 +03:00
Zetok Zalbavar
7c63594adf
fix(settings): correct ordering of languages 2016-05-09 07:43:04 +01:00
qTox translations
83b89f1233
feat(l10n): Add Hebrew translation from Weblate
Translators:

Yaron Shahrabani    Hebrew
2016-05-07 20:26:16 +01:00
qTox translations
c8c7bda38e
feat(l10n): Add Danish translations from Weblate
Translators:

jan madsen         Danish
Peter Jespersen    Danish
2016-05-07 20:26:16 +01:00
sudden6
4432ab6398
Merge pull request #3213
initramfs (3):
      feat(profile): show warning on failure to delete profile
      feat(profile): add a dialog to indicate profile deletion error
      refactor(profile): display files that could not be deleted in prompt
2016-04-30 21:06:56 +02:00
Zetok Zalbavar
d06efd387b
feat(l10n): add Japanese translation
Also sort list of languages ~alphabetically.

Translation thanks to @verycrypt

Closes #3223
2016-04-30 10:04:56 +01:00
initramfs
56e15aeab1
refactor(profile): display files that could not be deleted in prompt 2016-04-30 05:10:21 +08:00
sudden6
08263e9844
Merge pull request #3214
initramfs (1):
      fix(chat window): prevent right click from opening chat window
2016-04-29 19:58:41 +02:00
Zetok Zalbavar
8872dba3e7
refactor(i18n): remove duplicated text with HTML tags from translations
Starting from d121bd839b this string is
being set from .cpp, thus there's no need to keep a duplicate with HTML
tags that make it harder to translate in .ui file.

Duplicate pointed out in #3223 by @verycrypt.
2016-04-29 18:27:13 +01:00
Zetok Zalbavar
67d01a73c4
fix(settings): make it clear that Markdown is about text formatting
Close #3217
2016-04-29 18:20:01 +01:00
sudden6
1b4f3d9506
Merge pull request #3227
PKEv (1):
      fix(widget):show unread messages notification
2016-04-29 18:19:05 +02:00
PKEv
c81e6e2dd1 fix(widget):show unread messages notification
fix #3193
shows notification about unread messages from contacts that are not displayed in the current view
2016-04-29 13:50:28 +03:00
initramfs
78fd245e4c
feat(profile): add a dialog to indicate profile deletion error
This commit adds an error dialog box that pops up upon profile delete
error to inform users to manually delete files.
2016-04-29 13:38:15 +08:00
sudden6
d9fd513a64
Merge pull request #3202
PKEv (1):
      fix(friendwidget):the limitation of the group's  name in the shortcut menu
2016-04-28 20:41:39 +02:00
PKEv
d357fe1c65 fix(friendwidget):the limitation of the group's name in the shortcut menu
close #3201
add the limitation of the group's  name in the shortcut menu
the exclusion of the possibility of incorrect display the context menu, caused by the long group name
2016-04-28 14:37:21 +03:00
sudden6
c1826125cb
Merge pull request #3186
initramfs (4):
      feat(status): add ability to copy status messages
      feat(status): make status in about dialog copyable
      refactor(status): enable text selection in about friend dialog
      fix(status): explictly refer to this within lambda
2016-04-28 12:05:50 +02:00
initramfs
b9a392d59e
fix(chat window): prevent right click from opening chat window
Prevent a right click mouse release event from triggering a chat window
switch/launch.

Closes #3205
2016-04-27 12:19:23 +08:00
initramfs
63af0d7500
fix(status): explictly refer to this within lambda
Workaround for a potential gcc bug in which lambda expressions are not
being executed in the correct context.
2016-04-26 09:59:21 +08:00
sudden6
5045c460d7
Merge pull request #3199
PKEv (1):
      feat(importProfile): Add way to import profile
2016-04-25 21:09:28 +02:00
initramfs
ae24311237
refactor(status): enable text selection in about friend dialog
Enables text selection in the about friend dialog, allowing selection
and copying of status and username.
2016-04-25 14:12:42 -04:00
PKEv
9ea25d1fbd feat(importProfile): Add way to import profile
close  #1872
change based on pr #2140 by @agilob
2016-04-25 21:12:31 +03:00
sudden6
6cd1830571
Merge pull request #3198
a68366 (1):
      fix(widget): properly show status messages
2016-04-25 19:46:47 +02:00
sudden6
ddca97a896
Merge pull request #3182
PKEv (1):
      feat(emoticonswidget):Keep emoticon option open
2016-04-25 19:36:09 +02:00
sudden6
c7d733540a
Merge pull request #3181
PKEv (1):
      fix(genericchatform):separate messages from different days
2016-04-25 19:26:42 +02:00
a68366
dcb8c3f323 fix(widget): properly show status messages
Fixes #3123
2016-04-25 16:56:52 +03:00
PKEv
d0ea5bb4fd feat(emoticonswidget):Keep emoticon option open
Emoticon dialog remains open, and the selected emoticon is pasted into the text window
close #3043
2016-04-25 02:09:12 +03:00
sudden6
6d3551548b
fix(groupaudio): don't set button to green while call running 2016-04-24 14:34:49 +02:00
sudden6
98d513990e
fix: close groupcall if alone 2016-04-24 14:34:49 +02:00
sudden6
622b543d9a
fix: disable netcamview if no peer left 2016-04-24 14:34:49 +02:00
sudden6
db4f02a0c4
fix: audiocall button disabled in groupchats
change the condition for when the audiocall button is enabled

affects #2989
2016-04-24 14:34:49 +02:00
sudden6
28cecadbc4
Merge pull request #3180
Diadlo (1):
      fix(widget, contentdialog): Added reset icon after activate chat window
2016-04-24 14:06:08 +02:00
initramfs
1935d0c6ec
feat(status): make status in about dialog copyable 2016-04-24 02:14:25 -04:00
initramfs
57ce030f1d
feat(status): add ability to copy status messages
Adds the ability to copy status messages via a context menu on the
status message label.

Closes issue #3155
2016-04-24 00:15:54 -04:00
Diadlo
4edc5996c7
fix(widget, contentdialog): Added reset icon after activate chat window
Fix #3139.
2016-04-23 13:37:49 +03:00
Diadlo
43e610415a
fix(l18n): make typing notification & groupchat name translatable 2016-04-23 09:12:57 +03:00
PKEv
8ebad59a3e fix(genericchatform):separate messages from different days
Before this new cut-off days is only shown when the load history, now added a feature which in the current chat checks the last post date and if the date does not coincide with current - output a system message about the new date.
2016-04-23 03:37:38 +03:00
sudden6
74e7257a3e
Merge pull request #3176
PKEv (1):
      fix(groupinviteform):make list of groups scrollable
2016-04-23 01:30:14 +02:00
PKEv
b74ecd92d2 fix(groupinviteform):make list of groups scrollable
fix #3085
2016-04-22 02:29:53 +03:00
Diadlo
53071e952e
fix(addfriendform, widget): Remove Accepted Request
Fix #3066.
Fix #3166.
2016-04-22 00:56:21 +03:00
Diadlo
9f01b662bf
refactor(settings, addfriendform): Changed type of friend requests
QPair<QString, QString> changed on new struct Request
2016-04-21 23:33:37 +03:00
Polshakov Dmitry
343568339f
style(constructors): Constructors are explicit now 2016-04-20 22:53:27 +03:00
Polshakov Dmitry
904a1d4909
perf(contentdialog): Delete redundant conditions 2016-04-20 22:53:27 +03:00
Polshakov Dmitry
2143e21e89
style(ipc, widgets, genericcharitemlayout): Small style changes 2016-04-20 22:53:27 +03:00
Polshakov Dmitry
27faec918a
fix(genericchatitemwidget, micfeedbackwidget): Added members init in the constructor 2016-04-20 22:53:27 +03:00
Diadlo
25cec623fa
refactor(systemtrayicon, genericchatform): Replace C-style cast to static_cast 2016-04-20 22:53:27 +03:00
Jason Papakostas
0b53c4fd5c fix(Widget::updateIcons): workaround QIcon fallback bug
Some builds of Qt appear to have a bug in icon loading: QIcon::hasThemeIcon
is sometimes unaware that the icon returned from QIcon::fromTheme was a
fallback icon, causing hasThemeIcon to incorrectly return true.

In qTox this leads to the tray and window icons using the static qTox logo
icon instead of an icon based on the current presence status.

This workaround checks for an icon that definitely does not exist to
determine if hasThemeIcon can be trusted.

On systems with the Qt bug, this workaround will always use our included
icons but user themes will be unable to override them.
2016-04-16 22:21:22 -05:00
sudden6
a5611705be
Merge pull request #3127
Diadlo (12):
      feat(toxme): Add ToxMe registration
      fix(toxme): Translation fixs
      fix(profileform): Fix tab order, fix loop
      fix(toxme): Use format strings
      feat(profileform): Added ability to change toxme server
      feat(toxme): Add save toxme info
      fix(toxme): Fix possible segfault
      fix(toxme): Fixed potential memory leaks
      fix(profileform): Fixed segfault on logut
      fix(profileform): Fixed very quick relogin segfault
      fix(toxme): Delete extra check
      refactor(toxme): Deleted old debug messages

Polshakov Dmitry (4):
      fix(profileform): Deleted extra check and extra url
      fix(profileform): Add toxme username limitation
      style(profileform): Changed local include brackets type
      refactor(profileform): Small changes
2016-04-16 00:55:01 +02:00
sudden6
27c4873dc5
Merge pull request #3134
Diadlo (1):
      fix(core, widget): Added checks
2016-04-15 19:35:53 +02:00
sudden6
2c07b1b5b2
Merge pull request #3116
Diadlo (4):
      fix(groupinviteform): remove deleted buttons from set
      style(groupinviteform): extracted few variables
      fix(groupinviteform): translation invite message
      refactor(groupinviteform): Deleting made clearer
2016-04-15 19:31:58 +02:00
sudden6
f95728a037 revert: fix(systemtrayicon, widget): Added deallocate memory
Revert commit cbb7eeca62

fixes #3144
2016-04-15 00:57:03 +02:00
sudden6
fa1f26354b revert: fix(systemtrayicon): only delete the systray backend that was used
Revert commit 1d6f32c9f9
2016-04-15 00:57:03 +02:00
Diadlo
f28c3a16ae fix(core, widget): Added checks
Fix #3133.
* Added check, that core and coreAv exist, before use them
* Added check, that tox exit, before use them
2016-04-14 23:40:06 +03:00
sudden6
1d6f32c9f9 fix(systemtrayicon): only delete the systray backend that was used
Fixes qTox not closing cleanly after
4fd0446f96
2016-04-13 22:32:45 +02:00
Diadlo
7b4118a1a3 refactor(groupinviteform): Deleting made clearer 2016-04-13 23:02:26 +03:00
Diadlo
24efaf0594 fix(groupinviteform): translation invite message
Fix #3083.
* Add time in GrupInvite struct
* Add translation to invite message
* Add set of invite message
* Add correct removing invite message
2016-04-13 23:02:17 +03:00
sudden6
01c56a3af6
Merge pull request #3132
Polshakov Dmitry (1):
      fix(widget): Change focus after create group
2016-04-13 21:49:09 +02:00
sudden6
4fd0446f96
Merge pull request #3135
Diadlo (1):
      fix(systemtrayicon, widget): Added deallocate memory
2016-04-13 21:45:23 +02:00
Polshakov Dmitry
a146c43a1e refactor(profileform): Small changes
* Renamed function
* Added comment
2016-04-13 20:00:20 +03:00
Diadlo
cbb7eeca62 fix(systemtrayicon, widget): Added deallocate memory 2016-04-13 19:46:38 +03:00
Polshakov Dmitry
2dc3dd6964 style(profileform): Changed local include brackets type 2016-04-13 00:48:19 +03:00
initramfs
a36248b501
fix(screenshot): incorrect screenshot capture resolution under HiDPI
Resolves the issue where a crop of the full desktop resolution is used
instead of the full resolution when desktop is subjected to DPI-scaling
2016-04-12 15:44:16 -04:00
Polshakov Dmitry
b111c509a7 fix(widget): Change focus after create group
Fix #3128.
2016-04-12 15:52:34 +03:00
Polshakov Dmitry
132f87c05e fix(profileform): Add toxme username limitation 2016-04-12 15:15:21 +03:00
Polshakov Dmitry
1f7e23d007 fix(profileform): Deleted extra check and extra url 2016-04-12 11:53:59 +03:00
Diadlo
88de3a0a7a fix(profileform): Fixed very quick relogin segfault 2016-04-12 09:34:47 +03:00
Diadlo
2e9295f420 fix(profileform): Fixed segfault on logut 2016-04-12 09:34:39 +03:00
Diadlo
204fe1d3de feat(toxme): Add save toxme info 2016-04-12 09:34:38 +03:00
Diadlo
41c5d4bf14 feat(profileform): Added ability to change toxme server
Combo box set editable. Now user can enter server himself
2016-04-12 09:34:27 +03:00
Diadlo
fc2a572309 fix(toxme): Use format strings 2016-04-12 09:34:24 +03:00
Diadlo
65ab1f4e14 fix(profileform): Fix tab order, fix loop 2016-04-12 09:34:04 +03:00
Diadlo
9565a81755 fix(toxme): Translation fixs 2016-04-12 09:07:17 +03:00
Diadlo
cb8bf134d2 feat(toxme): Add ToxMe registration
Add some features in Toxme class and new section in profile form
2016-04-12 09:05:46 +03:00
Diadlo
24b28b1e51 style(groupinviteform): extracted few variables 2016-04-11 22:12:53 +03:00
Diadlo
f137ba710c fix(groupinviteform): remove deleted buttons from set
Fix #3087.
2016-04-11 21:59:04 +03:00
sudden6
0a2f541945
Merge pull request #2983
kehugter (2):
      Add direct link with template for submitting new issues
      refractor: abstract HTML out of `new issue` GitHub link
2016-04-11 19:02:36 +02:00
sudden6
87c881edde
Merge pull request #3101
Jason Papakostas (2):
      feat: install icons with make install on unix
      fix(Widget::updateIcons): fix the way systray icons are loaded
2016-04-11 19:00:21 +02:00
sudden6
9e4adf77b6
Merge pull request #3115
Diadlo (1):
      fix(title): Change title on initial startup on "Add friend"
2016-04-11 13:05:03 +02:00
Diadlo
66bcfdae3c fix(addfriendform): Removed extra connect return press
Fixed #3081.
2016-04-11 00:49:01 +03:00
Diadlo
47d940455d fix(title): Change title on initial startup on "Add friend"
Fixes #3100.
2016-04-10 14:08:09 +03:00
kehugter
d121bd839b refractor: abstract HTML out of new issue GitHub link
Put only translatable text inside of tr() calls. This prevents HTML
changes to require a new translation for the whole string.
2016-04-09 13:02:34 +02:00
Jason Papakostas
90874a478f fix(Widget::updateIcons): fix the way systray icons are loaded
the system tray should no longer use a static icon when the xdg
application icons are named qtox.{png,svg}

this means the workaround https://bugs.archlinux.org/task/47910 done
downstream at arch linux shouldn't be necessary anymore.
related discussion in #2903
2016-04-05 09:54:59 -05:00
anoadragon453
4e065f1395 fix(login screen): Change text on login tooltip 2016-03-31 08:18:20 -04:00
sudden6
631c37aef1
Merge pull request #2839
apprb (4):
      Groupchats: fix user list update
      Grouplist: tracking of the friend's alias changing (fix: #1847)
      Fix #2600: Missing username in group chat
      Check for empty username in a groupchat
2016-03-26 12:48:17 +01:00
sudden6
da2f892d63
fix #3052 2016-03-25 08:45:44 +01:00
sudden6
78551e970e
Merge pull request #2978
sudden6 (12):
      Revert "Revert changes from merge of  #2092 pull request"
      port groupinvitform to new ui
      fix segfaults
      adapt groupinviteform to existing conventions
      Fix notification opening wrong form
      notify on friendrequest and groupchat invite
      fix layout of friendrequest form
      fix segfault when logging out and in again
      reject multiple friend requests from one person     makes https://github.com/TheSpiritXIII/qTox/commit/
      fix wrong text on button
      fix friend request notification if friendrequestform is hidden
      fix notification if friendrequest tab is visible, don't display     friendrequests with html
2016-03-24 20:37:35 +01:00
sudden6
cc204a564a
Merge pull request #3048
Jason Papakostas (1):
      fix initial disabled state for "Focus window" checkbox
2016-03-24 19:57:33 +01:00
Jason Papakostas
0c67831b4e fix sound sliders not saving when moved by keyboard
closes #2866
2016-03-24 05:38:22 -05:00
Jason Papakostas
c829c24b56 fix initial disabled state for "Focus window" checkbox 2016-03-24 04:43:55 -05:00
sudden6
252c9c8fae
Merge pull request #2980
Michał Šrajer (4):
      fix #2976
      make fix for #2976 Qt5.3 compatible.
      fix logs and screenshots path on linux
      ensure screenshots directory exists
2016-03-23 15:49:46 +01:00
Michał Šrajer
4f32acba3e ensure screenshots directory exists 2016-03-23 12:16:38 +01:00
sudden6
69424c63be
update friend activity on groupchat events
fixes #2848
2016-03-22 14:25:32 +01:00
sudden6
772f2c54f0
fix whitespace 2016-03-22 13:28:25 +01:00
sudden6
191aa9079f
limit webcam to 60fps 2016-03-22 13:19:31 +01:00
sudden6
46adb586c9
Coding Style fixes 2016-03-22 13:17:59 +01:00
sudden6
3f89cd95d5
Merge pull request #2867
Sean (5):
      generic pixel format selection
      Merge branch 'master' of https://github.com/seanlaguna/qTox into pixfmt
      Merge branch 'pixfmt' of https://github.com/seanlaguna/qTox into pixfmt
      tabs to spaces
      camera res option reduction

Sean Laguna (1):
      whoops, forgot an else in an else if
2016-03-22 13:13:13 +01:00
Sean
f595f4f817 camera res option reduction 2016-03-21 21:17:21 -05:00
kehugter
6894f0c6bc Typo and translation fix
Set `...` string as notr
Capitalise `Markdown`, is a proper noun
2016-03-13 22:36:59 +01:00
ovalseven8
bcaa041ede Make the original licence untranslateable because it should be in English 2016-03-12 17:45:22 +01:00
tux3
c3caba2e3f
Merge branch 'pr2832'
Markdown support!
2016-03-12 01:34:44 +01:00
tux3
3fbf447174
Merge branch 'pr2959' 2016-03-12 01:01:30 +01:00
tux3
9db1032e1d
Merge branch 'pr2982' 2016-03-12 00:58:24 +01:00
kehugter
8e270dad67 Add direct link with template for submitting new issues
Add direct link for submitting new issues in the Settings -> About widget.
Use a prefilled template with the information listed in CONTRIBUTING.md.
2016-02-29 14:59:32 +01:00
Michał Šrajer
638a5f822f obey the coding style rules 2016-02-28 18:32:17 +01:00
Michał Šrajer
04b3276b0f fix 2874
when losing focus circle gets renamed unless ESC is pressed
2016-02-28 18:09:53 +01:00
Michał Šrajer
3227f6ea5b fix #2976
on linux logs goes to ~/.cache/...
and screenshots goes to ~/.local/share/...
2016-02-28 15:36:28 +01:00
Binayak Ghosh
54fabb964c fixes issue #2868 2016-02-28 17:23:15 +05:30
sudden6
685d91f0a3 Completely remove filteraudio checkbox from the ui 2016-02-27 14:59:21 +01:00
sudden6
e5cc004edf Revert "disable filteraudio, because it makes audio quality worse"
This reverts commit 17f13459b6.
2016-02-27 14:51:30 +01:00
sudden6
17f13459b6 disable filteraudio, because it makes audio quality worse 2016-02-27 12:40:36 +01:00
sudden6
4a706f80dd fix notification if friendrequest tab is visible, don't display
friendrequests with html
2016-02-26 12:59:03 +01:00
sudden6
4d236c6236 fix friend request notification if friendrequestform is hidden 2016-02-26 12:15:31 +01:00
sudden6
1c65ec7fa6 fix wrong text on button 2016-02-25 16:56:24 +01:00
sudden6
c4c0740cc4 reject multiple friend requests from one person
makes https://github.com/TheSpiritXIII/qTox/commit/
2016-02-25 16:46:40 +01:00
sudden6
fa7b7d661b fix segfault when logging out and in again 2016-02-25 14:59:25 +01:00
sudden6
033196c580 fix layout of friendrequest form 2016-02-25 14:40:48 +01:00
sudden6
db4de96bcf notify on friendrequest and groupchat invite 2016-02-25 14:16:26 +01:00
sudden6
61f887b510 Fix notification opening wrong form 2016-02-22 00:42:48 +01:00
sudden6
63326afe04 adapt groupinviteform to existing conventions 2016-02-22 00:29:12 +01:00
sudden6
fca7972b86 fix segfaults 2016-02-21 13:46:45 +01:00
sudden6
44ea20f921 port groupinvitform to new ui 2016-02-21 00:45:18 +01:00
sudden6
a89b673b40 Revert "Revert changes from merge of #2092 pull request"
This reverts commit 06611d618e.
2016-02-20 22:32:57 +01:00
Kaur Männamaa
dba6ebe262
Added Estonian translation 2016-02-17 13:34:18 +00:00
Andrew Morgan
08e9f0b885 Use new connection syntax 2016-02-01 11:50:21 -08:00
sudden6
d22b7cb140 make qt version in about window copy paste able 2016-01-31 23:17:43 +01:00
Andrew Morgan
db84074926 Markdown Preference now uses enumeration type instead of integer. 2016-01-30 21:43:58 -08:00
tux3
7a846b85e0
Merge branch 'pr2894' 2016-01-30 18:21:20 +01:00
sudden6
53330daab7 toxme now supports proxies 2016-01-29 23:30:07 +01:00
Andrew Morgan
518a398ca0 Added tooltip to warn user markdown preference will not change until restart. 2016-01-28 16:43:41 -08:00
Andrew Morgan
a5f9e77a6b Changed asterisk rule to bold instead of italics. Fixed extraneous container in settings. 2016-01-28 15:30:24 -08:00
Andrew Morgan
aa5d0f660c Changed markdown settings titles 2016-01-28 15:30:24 -08:00
Andrew Morgan
e15315b618 Added markdown preference chooser to settings which chat abides by.
Don't parse md if only one character is involved.
Prevent things like ~3~ being caught
2016-01-28 15:18:32 -08:00
Sean
ded8d87ba8 generic pixel format selection 2016-01-26 13:14:58 -06:00
Zetok Zalbavar
3343645b61
Merge pull request #2835 from agilob:login_form_style
agilob (4):
      Fix label text colour in login profile
      Loginpage: Apply black colour to qcheckbox as well
      Loginpage: Apply black colour to progressbar
      Make disabled checkbox gray
2016-01-24 14:42:35 +00:00
Zetok Zalbavar
88198a244d
Merge pull request #2851 from mahmodemos:add_ar_lang
Adding arabic language file to the languages list
2016-01-24 14:30:46 +00:00
محمود العموش
fdd956779d Adding arabic language file to the languages list 2016-01-24 14:29:52 +02:00
tux3
f57bf331d6
Fix avform mic slider enabling 2016-01-23 16:45:25 +01:00
tux3
fb68d3750c
Cleanup mic feedback related code
It simply doesn't work, so let's do it right later
2016-01-23 16:45:25 +01:00
Nils Fenner
da6bed19b2
enable volume sliders only, if a valid audio device is selected 2016-01-23 16:45:25 +01:00
Nils Fenner
f4f77af071
add "play test sound" button, while changing volume 2016-01-23 16:45:25 +01:00
Nils Fenner
6f7df25f4a
initialize gain/volume after initialization of audio in/out device
The gain/volume values are now applied to the settings once, when releasing the slider instead of continuously.
2016-01-23 16:45:25 +01:00
Nils Fenner
719def932b
remove unneeded "setCurrentIndex(-1)", when reading audio in/out device lists
The combo boxes current index is set to the correct value at end of initialization loop.
2016-01-23 16:45:25 +01:00
Nils Fenner
086e35d106
use utf-8 strings for audio device specifiers 2016-01-23 16:45:25 +01:00
Nils Fenner
e1f7e553ab
initialize volume sliders in av-settings ui at the right place 2016-01-23 16:45:25 +01:00
Nils Fenner
7d547b10eb
major changes to audio volume control
* use the ALListener object for master volume control
* initialize audio sources
* audio volumes are now expressed as percentage values between 0 and 1 to the public API
* removed artificial amplification of input samples
* removed invalid audio source generation in group calls
* minor: fixed gain slider max. value to 100 percent
2016-01-23 16:45:25 +01:00
Nils Fenner
1fb4d0d9f3
clean up audio settings ui 2016-01-23 16:45:25 +01:00
apprb
c43b38e66f
Check for empty username in a groupchat 2016-01-23 09:29:43 +06:00
apprb
47cb0e3224
Fix #2600: Missing username in group chat 2016-01-22 23:43:39 +06:00
apprb
23a82a3b28
Groupchats: fix user list update 2016-01-22 23:43:39 +06:00
agilob
c415e063e1
Fix label text colour in login profile
Before labels password and username were not visible for me
because colour (dark grey) for those label was inherited from OS
which has dark theme, and background of the label was light grey.
2016-01-21 19:47:34 +00:00
tux3
8253e1e395
Fix #1409: Don't save core if nothing really changed 2016-01-21 08:04:46 +01:00
tux3
217716184b
Speedup loading history
By not marking everything as not sent then doing a second pass that marks sent things as sent, redoing the layout for every item...
2016-01-21 06:19:30 +01:00
tux3
48210e0372
Merge branch 'fix-hline-864' 2016-01-21 05:36:52 +01:00
tux3
70809e877e
Fix #1434: Groupchat call button color glitch
Thanks to @forteGIT for finding the bug
2016-01-21 05:28:47 +01:00
tux3
e45172ea1b
Fix #944: Allow transparent avatars 2016-01-21 04:47:26 +01:00
tux3
9e35a73daf
Fix #864 visual issue 2016-01-21 04:26:17 +01:00
tux3
19582c1c69
Merge branch 'pr2821' 2016-01-20 17:01:23 +01:00
tux3
e93c1baa6c
Merge branch 'pr2818' 2016-01-20 16:58:16 +01:00
Rowen Stipe
df584531c8 Enable OS X Auto-run at login 2016-01-20 05:17:03 -05:00
Zetok Zalbavar
2e0e8f778f
Login window: disable Load automatically if profile is encrypted 2016-01-18 20:54:32 +00:00
a68366
65421e8992 Fix a typo in function name 2016-01-18 16:50:11 +03:00
tux3
0ea0918ce9
Merge branch 'pr2809' 2016-01-17 13:24:56 +01:00
Nils Fenner
251d53f340
temporary remove audio gain metering 2016-01-17 11:00:52 +01:00
tux3
d07bef21a3
Merge branch 'pr2769' 2016-01-16 15:44:51 +01:00
agilob
203274f6d1
Unify window icons 2016-01-16 14:31:34 +00:00
tux3
c576a1485a
Scan-build cleanup 2016-01-16 02:24:13 +01:00
Diadlo
7179ed4722
Add Toxme lookup support
qTox will try Toxme, and if Toxme not supported, ToxDNS
2016-01-15 18:08:25 +01:00
tux3
4806e684fa
Cherry-pick HTTP(S) toxme lookups from #2753
Implementation by @Diadlo
2016-01-15 18:08:25 +01:00
Nils Fenner
e952d1a654
Merge pull request #2767 from branch agilob:chat_window_icon
* Set status icon on separate chat window, closes #2210
2016-01-04 22:34:30 +01:00
agilob
f7118071b7
Set window icons on settings window 2016-01-03 13:06:24 +00:00
agilob
cb43a9b70e
Remove ctrl+q from tray menu 2016-01-02 22:01:41 +00:00
Andrew Novikov
371900b56f
Fix for the issue #2458 2016-01-02 21:59:38 +00:00
tux3
f2ba03b45f
Fix some messages being saved with history disabled 2015-12-31 14:36:12 +01:00
tux3
b01f47b1aa
Use pre Qt5.4 QTimer::singleShot
For compatibility with Debian Jessie
2015-12-21 01:14:23 +01:00
Nils Fenner
0615c7c3c6
reimplement audio in/out subscription concept 2015-12-20 09:45:43 +01:00
Nils Fenner
ace3662757
further improved audio metering
Give qTox time to do more important things -> do not measure with 100%.
2015-12-20 09:45:43 +01:00
Nils Fenner
44d1c6fe74
[WIP] implement threaded level meter for input level
Issues:
1. Using 100% processor.
2. Temporary silences an active call -> reactivate after widget hide.

Still greatly improves metering audio data, removing "read buffer" errors.
2015-12-20 09:45:43 +01:00
Nils Fenner
cbf0f2e7e0
draw the audio gain level with love 2015-12-20 09:45:43 +01:00
Nils Fenner
67fbee8868
use qstring for path when playing audio file 2015-12-20 09:45:43 +01:00
Nils Fenner
bb7d2a72b7
privatized audio interface 2015-12-20 09:45:22 +01:00
Nils Fenner
c23cb0043f
implement actual audio in/out subscription management 2015-12-20 09:42:14 +01:00
Nils Fenner
9627f45014
don't extra-subscribe audio gain metering widget 2015-12-20 09:42:04 +01:00
Nils Fenner
872be36225
un-/subscribe audio in/out in AV-Settings form 2015-12-20 09:40:57 +01:00
Nils Fenner
32bc99fb38
cleanup reinitialization of changed audio in/out 2015-12-20 09:40:57 +01:00
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
qTox will automatically import the old history on startup.

This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.

The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
tux3
db2dbf459b
Merge branch 'pr2689' 2015-12-15 19:54:10 +01:00
tux3
0c2f70eb7e
Merge branch 'pr2688' 2015-12-15 19:48:29 +01:00
tux3
10673640ea
Fix #2408 2015-12-15 19:31:26 +01:00
rku
8231a2b1ae Support for theming qTox tray and window icons
This patch adds ability to override qTox window and tray icons with ones from user's desktop theme. Some people prefer keeping tray icons consistent to achieve best looks.

Following theme icons used:
* qtox: general window icon which is also used in taskbar
* qtox-online, qtox-offline, qtox-busy, qtox-away, qtox-invisible, qtox-event: tray icons

If theme icon is not available then default built-in icon will be used.
2015-12-15 19:42:23 +02:00
rku
5cb5f2e367 Focus current chat widget text input when window is activated or empty window space clicked. 2015-12-15 19:31:45 +02:00
rku
63f7dee6cf Blink taskbar icon and window icon only when window is inactive. 2015-12-15 19:03:05 +02:00
tux3
61e3b7f5a0
Mark 'update text' not translatable
Plus some automatic edits Qt Designer decided to make
2015-12-12 23:29:36 +01:00
tux3
18484cb950
Fix Unity systray compile error
Thanks to @aszinovyev
2015-12-11 13:32:26 +01:00
tux3
f0f49e79f0
Merge branch 'pr2586' 2015-12-11 02:45:10 +01:00
tux3
d67e6c7449 Improve integrated update code to match the rest
We're doing updates over HTTP until we get a domain name and a cert, but
this is not at all an issue since updates are still signed and checked.
2015-12-10 18:46:07 +01:00
tux3
25ed3d4fba
Fix avatars for encrypted profiles
WARNING: Note that avatars for encrypted profiles are currently stored unencrypted!
2015-12-05 19:08:28 +01:00
tux3
05c02cee5d
Merge branch 'pr2547' 2015-12-05 15:32:57 +01:00
agilob
84814e28e3
Set widget as parent for AboutUser window to fix style inheriting 2015-12-05 14:18:43 +00:00
agilob
56ae9e657f
Hide label and list of aliases in aboutuser 2015-12-05 12:19:05 +00:00
agilob
e6504f2d46
Support removing history with user in about window 2015-12-05 12:14:31 +00:00
tux3
49d11549b9
Fix call duration label after 1 hour
Fixes #2617
2015-12-04 15:51:10 +01:00
tux3
ef5cb2689c
Merge branch 'pr2580' 2015-12-04 12:01:25 +01:00
tux3
bd1f22963b
Merge branch 'pr2519' 2015-12-04 11:54:08 +01:00
Zetok Zalbavar
6a7479912e
Merge pull request #2593 from TheNain38:patch-2
TheNain38 (1):
      Select password field when it is wrong Fixes #2584
2015-12-01 07:56:53 +00:00
sudden6
17e43d9835 treat x-cinnamon the same as gnome 2015-11-29 13:23:08 +01:00
sudden6
bd83db5479 improve formating 2015-11-29 12:23:44 +01:00
TheNain38
ceb63a87d9 Select password field when it is wrong Fixes #2584 2015-11-26 14:18:03 +01:00
Anatoliy Zinovyev
f2e39a1d1b Fix tray behavior with unity backend 2015-11-25 17:35:17 -05:00
Anatoliy Zinovyev
6bbca9341d Do not do anything when middle clicking on the tray 2015-11-25 12:11:31 -05:00
Anatoliy Zinovyev
fc462e82df Fix behavior when clicking on the tray icon 2015-11-21 20:51:43 -05:00
sudden6
6d45932eea update ui 2015-11-18 18:58:56 +01:00
sudden6
27f751c2a6 also refresh video devices 2015-11-18 18:56:16 +01:00
agilob
734faa8a1f
Fix status message spacing in aboutUser 2015-11-14 19:10:41 +00:00
agilob
53f119b8e4
Fix button status after cancelling dir picker 2015-11-14 19:08:55 +00:00
agilob
09405f2493
Scroll public key to left after creation in aboutUser 2015-11-12 21:52:54 +00:00
agilob
6d440e9c8c
Minor UI fix 2015-11-12 21:51:43 +00:00
agilob
d3548f7a80
Resize avatar in aboutUser to 75x75 2015-11-12 21:49:27 +00:00
agilob
8d1197903c
Make dir chooser work in aboutUser, code cleanup 2015-11-12 21:46:43 +00:00
agilob
b85e12b0fc
Make autoaccept per user work from aboutUser window 2015-11-12 21:30:54 +00:00
agilob
a148e4dc5e
Improve avatar quality in aboutUser window 2015-11-12 21:13:37 +00:00
agilob
ad5301eef7
Improve layout in aboutUser window 2015-11-12 20:33:57 +00:00
Ferit Tunçer
a7440d3681 Turkish Translation by MarmaraGNU<mgnu.org> 2015-11-12 14:41:14 +02:00
TheNain38
2ae4524e33 Change 'minutes' to 'min' and remove translation 2015-11-11 18:24:15 +01:00
TheNain38
eb3ec79b20 Fix #2301 and use QStringLiteral for comparison 2015-11-10 20:20:07 +01:00
tux3
787865a23e
Show notifications even when busy 2015-11-09 23:27:00 +01:00
agilob
08212ad781
Add about window classes 2015-11-09 20:56:22 +00:00
agilob
b9a168dffe
Add action for about window in context menu 2015-11-09 20:55:11 +00:00
agilob
0b999e077e
Move logout tray menu action after profileForm initialization
fixes #2541
2015-11-09 18:48:00 +00:00
agilob
49bf1cf774
Fix resources URI: change double slash to one and add one if missing 2015-11-09 18:42:53 +00:00
tux3
8a3c9d14c0
Merge branch 'pr2539' 2015-11-09 02:36:16 +01:00
TheNain38
d8d64fc56a Fix HTML Parsing 2015-11-09 01:19:33 +01:00
TheNain38
1a1e296c86 Allow to scroll on QCheckBox and consistancy 2015-11-09 01:14:33 +01:00
tux3
f9c324c0f2
Merge branch 'pr2532' 2015-11-08 21:26:19 +01:00
TheNain38
7cdd6e3dd9 Add an event filter so you can't scroll on sliders 2015-11-08 21:20:42 +01:00
tux3
cc18700a18
Merge branch 'pr2533' 2015-11-08 17:42:12 +01:00
agilob
7189844b2a
Use SVG renderer to scale down SVG in tray icon menu 2015-11-08 15:11:19 +00:00
TheNain38
5ff2a4e37a Fix groupwidget not unregistered from Translator 2015-11-08 14:22:02 +01:00
tux3
a8746e6857
Cleanup duplicate slider slots in AVForm
See #2528
2015-11-08 13:40:32 +01:00
tux3
b6d752fd4b
Fix second bug in #2528 2015-11-08 13:28:51 +01:00
tux3
9d527e7edd
Fix #2528 2015-11-08 12:36:18 +01:00
tux3
d1565188ac
Fix #2527 2015-11-08 02:28:24 +01:00
tux3
c6220545c9
Fix spurious audio i/o changed signal 2015-11-07 22:24:17 +01:00
Zetok Zalbavar
ad5578e44e
Make list of languages listed vertically in source 2015-11-07 18:49:53 +00:00
tux3
bf8bdaf619
Improve perf of opening/closing AV tab
Should help with #2424
2015-11-07 18:30:09 +01:00
tux3
5c8dc1d7c9
Add None audio I/O devices
Can be changed in the middle of a call without problem
2015-11-07 18:23:10 +01:00
nikolas-n
2da384468d
Added Greek translation 2015-11-07 16:39:33 +01:00
TheNain38
75967ad23d Makes no sense to translate this 2015-11-07 12:19:50 +01:00
tux3
73c7f2bd36
Fix #2512 2015-11-07 01:01:32 +01:00
agilob
78ac29cb15
Add static icons for tray menu logout and quit
antis made us an icon for logout action and I reused cancel call icon
as quit action in tray menu

Refactored methods to change way how icons are loaded in widget.cpp
to make the methods more flexible

This should permanently fix #2491
2015-11-06 20:53:26 +00:00
Nils Fenner
43e8ebd055
Merge pull request #2461 from TheNain38/patch-1 2015-11-06 17:44:20 +01:00
Zetok Zalbavar
ae86db8891
Merge pull request #2466 from ovalseven8:ovalseven8-patch-3
domain.com -> example.com
2015-11-06 08:09:12 +00:00
tux3
5b036cca0f
Merge branch 'newav_final_for_realsies'
Implements the new toxav API.
2015-11-06 01:52:40 +01:00
Nils Fenner
c568a4db05
Merge pull request #2494 from branch agilob/logout_action 2015-11-02 22:24:34 +01:00
agilob
3675428c65
Simplify hardcoding qt version in settings 2015-11-02 19:44:17 +00:00
agilob
e44d08fa8e
Change logout icon to dialog type icon
icon of type Browser doesnt scale on some environments
closes #2491
2015-11-02 19:11:17 +00:00
agilob
0b6fc751cb
Show compiletime Qt version in aboutsettings 2015-11-02 18:56:30 +00:00
tux3
a853d51f5b
Show video button when making outgoing video call 2015-10-25 16:16:42 +01:00
ovalseven8
41ba2bc69d domain.com -> example.com
@zetok
2015-10-25 09:51:13 +01:00
tux3
f85aec6c95
Re-enable call buttons if video call fails 2015-10-24 22:55:18 +02:00
TheNain38
035fbc95b3 Fix #2460 Light Icon setting disabled but should not 2015-10-24 18:55:24 +02:00
tux3
50006a9a32
Faster video device opening 2015-10-24 05:20:49 +02:00
tux3
c0d8703368
Properly signal when we stop sending video
And properly handle toxav happily delivering things out of order,
like firing a video frame callback right after a callback setting the bitrate to 0,
when the peer sent these commands in the right order
2015-10-24 04:26:39 +02:00
tux3
995fc4cdda
Reload audio devices on the fly from settings 2015-10-24 02:59:12 +02:00
tux3
8f7214f383
Re-enable buttons if calling failed 2015-10-24 02:40:56 +02:00
tux3
9163b73032
Refactor uses of playMono16Sound 2015-10-24 02:37:27 +02:00
tux3
aac5fb87e6
Add ringing sound for received calls
No sound for outgoing calls yet
2015-10-24 02:26:32 +02:00
tux3
477554ffba Clean up callback hell between AV UI and CoreAV 2015-10-23 17:52:46 +02:00
tux3
41e0212f77 Cleanup UI/CoreAV interface 2015-10-23 17:52:45 +02:00
tux3
73a4f40744 Fix call start/call invite race condition
Would result in an assert failure
2015-10-23 17:52:45 +02:00
tux3
69b8a90277 Implement video calls 2015-10-23 17:39:08 +02:00
tux3
e0aa8dd4a2 Implement audio calls 2015-10-23 17:39:08 +02:00
Zetok Zalbavar
cd4b02ce6a
Remove ~duplicated code for tray backed selection
`else` clause already handles KDE5 case
2015-10-23 16:13:44 +01:00
tux3
512dc8de2d Implement basic call logic
We can now make New AV calls, but without any audio/video. Just opening a link.
2015-10-23 17:09:53 +02:00
tux3
dbbc702c60 Strip out old AV code 2015-10-23 17:02:01 +02:00
agilob
5e12c76ecd change default quit icon in tray menu 2015-10-23 16:21:05 +02:00
agilob
f2866ecc44 remove unused code, better logging for systray, removed KDE5 from enum 2015-10-23 16:21:05 +02:00
agilob
4df5c81f09 use plaintext label for username and status in header 2015-10-23 16:21:05 +02:00
agilob
7d579faf47 add logout action to tray menu 2015-10-23 16:21:05 +02:00
agilob
d6d5fd1c33 add quit role to quit action in trayicon 2015-10-23 16:21:05 +02:00
agilob
a97a91a7be core review changes - formatting 2015-10-23 16:21:05 +02:00
agilob
7d8e0644ce remove dependency injection from systemtrayicon
as it was used as experiment only
fix compilation warning about unchecked switch case
2015-10-23 16:21:05 +02:00
agilob
8c4d58f391 fix icon scaling on gnome3 by scaling icons down 2015-10-23 16:21:04 +02:00
agilob
521b55f776 use Qt backend of KDE5
commit fixes problem with usage of GTK3 fallback menu action used on KDE5, probably to a bug in status notifier
- allows using Qt backend on KDE5 and other plasma related env.
- icon in tray menu and tray icon are loaded from svg, their size is not limited to 50px now
- plasma adds extra actionmenu to tray so quit was renamed to exit
- exit action usues system-default icon for quit and system default keyboard shourtcut to close qtox
2015-10-23 16:21:04 +02:00
tux3
1f61534841 Merge branch 'pr2343' 2015-10-23 15:20:58 +02:00
Rowen Stipe
e107de12c0 Compile on Mac
This set up added to current master compiles properly on Mac.

Includes pull #2436 fixes suggested by @antis81
2015-10-22 01:57:46 -04:00
Dmytro Shynkevych
b887072bc4 systemtrayicon: switched to manual memory management for pixmap data 2015-10-21 23:42:14 -04:00
Nils Fenner
33e54b841a
Merge pull request #2415 from antis81:ngf/mic 2015-10-21 22:19:37 +02:00
agilob
4a64790b52
Merge remote-tracking branch 'bitok/Fix2167' 2015-10-21 19:13:10 +01:00
agilob
ecbda91764
Merge remote-tracking branch 'bitok/fix_performance_issues' 2015-10-21 19:12:15 +01:00
agilob
61ef6429e2
Merge remote-tracking branch 'zetok/fix-warning-no-profile' 2015-10-21 19:05:48 +01:00
Nils Fenner
e1c2a80e82
switch colors in mic gain indicator gradient 2015-10-20 23:14:37 +02:00
Nils Fenner
ab41bf92ba
don't open audio in/out twice 2015-10-20 23:10:14 +02:00
Zetok Zalbavar
c07aee18ad
Merge pull request #2346 from PKEv:save_avatar_in_DB
Save avatar in DB
add import avatars
update delete avatar action
correct import avatar for user without history
add multithreaded
make import run once
2015-10-20 21:01:20 +01:00
Nils Fenner
b7cf4df13f
Get rid of static methods and bugs 2015-10-20 03:46:44 +02:00