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

1848 Commits

Author SHA1 Message Date
sudden6
e07d8d358f
feat(toxid): reduce passing Tox IDs around
reasons:
- most of the time we don't even know the Tox ID but only the Public Key
- use well defined objects instead of strings that could be anything
2017-01-04 00:20:24 +01:00
Zetok Zalbavar
dccef4d49f
fix(UI): fix own status message not being properly displayed in tooltip
This causes a slight regression where own status can become quite huge
when user sets e.g. 120 newlines between first and last character of the
status message.

Given that this fixes a problem with incorrect (broken) formatting of
display of own status messages, the slight regression is insignificant.

There is also a Qt bug involved that causes formatting to be broken if
text contains "HTML" tags.
https://bugreports.qt.io/browse/QTBUG-57477

Used workaround requires using additional HTML to preserve newlines even
if HTML is a part of the status message.

Related to #935.
2016-12-30 08:24:28 +00:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
sudden6
efcff57601
fix(addfriend): do not load own Tox ID from clipboard
fix #4024
2016-12-29 15:08:48 +01:00
sudden6
d196611ffe
feat(toxid): Improve validation of Tox IDs 2016-12-29 13:37:01 +01:00
sudden6
152c134a4b
refactor(toxid): drop the cData class in favour of ToxId 2016-12-29 13:37:01 +01:00
sudden6
94ec5614f2
feat(toxid): Improve the ToxId class 2016-12-29 13:36:56 +01:00
Diadlo
9314dd3382
refactor(widget): Small refactoring 2016-12-27 22:22:58 +03:00
Diadlo
eff27f690e fix(videoButton): Added disabling button while call is active
Fix #4004

Cherry-picked and slighly modified from #3935
2016-12-25 14:47:46 +01:00
Diadlo
e9a2fc6b57
refactor(core, widget): Update toxcore group API (new: conference) 2016-12-19 00:42:54 +03:00
Zetok Zalbavar
f5011cdb2f
fix: add missing Q_OBJECT macro to the PasswordEdit class
Silences a warning.
2016-12-18 18:09:58 +00:00
Zetok Zalbavar
c14cbdf4fd
feat(UI): make font in message input field use font settings
Right now it requires qTox restart to take effect in all chats.

Should help with 4k high-dpi displays.
2016-12-18 15:35:42 +00:00
Zetok Zalbavar
326d5219bc
fix(UI): make link in About setting page point to all contributors
Github shows only top 100 contributors, so point to an automatically
generated from qTox source page with all contributors shown.

Fix #3898.
2016-12-18 14:47:31 +00:00
Zetok Zalbavar
785e546e9e
feat(UI): add My to text labels on Profile page
That should make it more clear what input fields are there for.
2016-12-17 23:11:36 +00:00
Zetok Zalbavar
fba5f8ccc4
fix(UI): remove unnecessary space between a word and colon 2016-12-17 01:34:46 +03:00
Zetok Zalbavar
93feae0c95
feat(l10n): add Pirate translation to UI 2016-12-16 14:52:35 +03:00
Zetok Zalbavar
e9778e81a2
feat(UI): make information text in settings selectable 2016-12-13 23:12:15 +00:00
Diadlo
f870bf1953
fix: Fixed compact layout
Fix #3944
2016-12-12 01:15:57 +03:00
Zetok Zalbavar
0660695873
feat(UI): make it possible to select text of the received friend request 2016-12-09 21:26:33 +00:00
Zetok Zalbavar
9d1275b396
fix(UI): copy friend's non-truncated status message instead of truncated
qTox still internally replaces newlines with spaces which breaks
formatting, but now at least whole status message gets copied.
2016-12-09 19:32:52 +00:00
Zetok Zalbavar
8b67132337
feat(l10n): add Swahili translation to interface and docs 2016-12-09 02:10:17 +00:00
tux3
a7de2680d9
feat(UI): Add 'Copy link' context menu item
Fixes #927
2016-12-07 13:54:40 +01:00
Zetok Zalbavar
584b2d85f1
style: add a missing space between #include and " 2016-12-06 12:38:18 +00:00
Zetok Zalbavar
feaedeed84
feat(UI): make link to filled issue template on About page visible
Should help with no one realizing that qTox even has the functionality.
2016-12-05 20:03:21 +00:00
Nils Fenner
917812daaa
fix: Status reflection for friend calls 2016-12-01 08:55:13 +03:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Zetok Zalbavar
25e9d3c46c
feat(UI): add accessibility labels to all remaining .ui files 2016-11-29 00:17:52 +00:00
Zetok Zalbavar
5267b19503
feat(l10n): add Korean translation to interface and docs 2016-11-28 22:23:41 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Zetok Zalbavar
8854589b0d
feat(UI): add accessibility labels to the add friend page 2016-11-26 20:44:22 +00:00
Zetok Zalbavar
949e3cb830
feat(UI): add accessibility labels to the Profile page 2016-11-20 11:13:55 +00:00
Diadlo
f7899d7b50
fix(UI): Changed tab order to be same with visual order 2016-11-16 23:36:52 +03:00
Diadlo
2a88e5c069
refactor(toxid): Removed Core dependency from ToxId
It's needed to make ToxId just data structure
2016-11-15 02:18:48 +03:00
Diadlo
5d6445065e
refactor(core): Changed Core interface, added documentation
Implementation by @antis81
2016-11-14 16:16:59 +03:00
Diadlo
74eb06b2aa
refactor: Added emiting signal on window activation in ContentDialog 2016-11-14 14:23:42 +03:00
Diadlo
ed11a17dce
refactor(widget): Remove FriendWidget creation from Friend constructor 2016-11-14 14:23:42 +03:00
Zetok Zalbavar
2433fa9dce
feat(UI): rename Toxme registerRegister on ToxMe
Also add some Tooltips.
2016-11-13 23:47:21 +00:00
Diadlo
9fd0dd790b
fix(settings): Changed grid layout on form layout
Improves #3861
2016-11-13 12:10:19 +03:00
initramfs
28c29157f8
fix(ui): prevent text style from being reset during retranslation
Fixes #3805
2016-11-09 15:47:03 -05:00
Diadlo
2da9de096f
refactor(drag&drop): Remove FriendWidget dependency 2016-11-05 10:20:36 +03:00
Nils Fenner
89138bb52b
refactor: fix virtual overrides 2016-11-05 10:20:36 +03:00
Zetok Zalbavar
64bbc6cfbb
style: change postfix increment to prefix increment 2016-11-03 07:57:14 +00:00
Diadlo
4c020865c6
Merge pull request #3829
Alice Weigt (1):
      fix(settings): Properly update taskbar on disconnect
2016-10-29 10:10:10 +03:00
sudden6
c8a08530b7
Merge pull request #3834
Alice Weigt (1):
      refactor: Use new getSound function
2016-10-27 19:56:38 +02:00
Zetok Zalbavar
52ae7093f7
feat(l10n): add Slovak translation to interface and docs 2016-10-26 13:02:00 +01:00
Alice Weigt
3c310f4aa6 refactor: Use new getSound function 2016-10-26 02:17:08 -07:00
initramfs
775b6a325b
fix(chatform): remove std::dynamic_pointer_cast in favor of static cast
With the removal of RTTI such a cast can cause compile failures as not
all compilers automatically convert dynamic casts to static casts at
compile time.

Fixes #3801
2016-10-25 05:59:00 -04:00
Alice Weigt
6e165ceb47 fix(settings): Properly update taskbar on disconnect
Fixes: #3795
2016-10-24 22:47:39 -07:00
Zetok Zalbavar
2d472004cd
feat: bump font size from undersized
Fix #2280.
2016-10-14 16:20:43 +01:00
Alice Weigt
22b89beaf1 fix(settings): Change test sound button to checkbox
Fixes #3800 & #3809
2016-10-12 03:49:03 -07:00
Diadlo
c600609f9f
Merge pull request #3756
Alice Weigt (1):
      feat(settings): Export and copy debug log
2016-10-09 15:05:34 +03:00
Diadlo
d674722118
Merge pull request #3755
Alice Weigt (1):
      fix(settings): Play test sound when user enables test sound
2016-10-09 14:55:45 +03:00
Alice Weigt
9b46cf6404 fix(settings): Play test sound when user enables test sound
Fixes #3735
2016-10-09 04:37:15 -07:00
Alice Weigt
3c6bd043a0 feat(settings): Export and copy debug log
Fixes #2890
2016-10-09 04:20:57 -07:00
Diadlo
15181c431a
fix(avform): Fixed empty value in audio and video lists 2016-10-09 00:51:33 +03:00
Diadlo
f5f7b5abba
fix(i18n): Remove HTML tags from translation 2016-10-09 00:32:24 +03:00
Diadlo
13baf9326d
fix(uiform): Added format constraints 2016-10-08 01:01:06 +03:00
Diadlo
d909d99bd2
feat(uiform): Separated time and date format and examples 2016-10-08 01:01:06 +03:00
agilob
661388d731
fix(timeformat): Remove duplicate of timeformat 2016-10-08 01:01:06 +03:00
agilob
d6f323cefc
fix(timeformat): Make timestamp editable same as date format 2016-10-08 01:01:06 +03:00
Nils Fenner
35e7da85d3
fix(timeformat): Fixed list of available time formats 2016-10-08 01:01:06 +03:00
Nils Fenner
b3083250ff
feat(dateformat): Edit the date format string
The edited date format string is saved in the qTox settings.
It is overwritten by selecting one of the default date format strings.
2016-10-08 01:01:06 +03:00
sudden6
c8bde5bc45
fix(i18n): remove HTML from translations
fixes #3781
2016-10-07 23:23:33 +02:00
Zetok Zalbavar
1d4ea1ec40
fix(UI): string for option auto-accepting files
Regressed in 7fe8a86c03.
2016-10-02 09:02:06 +01:00
sudden6
610e21169a
Merge pull request #3442
Jeanbon (1):
      feat(autoAnswer): add auto answer feature
2016-09-26 19:13:16 +02:00
Jeanbon
7fe8a86c03
feat(autoAnswer): add auto answer feature 2016-09-25 19:31:03 +02:00
Diadlo
7c4e9e6153
Merge pull request #3741
bitok (1):
      refactor: fixes of static analyze warnings
2016-09-25 00:57:04 +03:00
bitok
2c03257700
refactor: fixes of static analyze warnings
There is many static analyze warnings for qTox. Fixed most dangerous and several simple.
2016-09-23 14:47:53 +01:00
iphydf
d94712b2e2
refactor: Avoid RTTI by using qobject_cast.
This allows us to save some memory and executable size by removing the
need to generate and compile C++ RTTI.
2016-09-23 03:14:58 +01:00
PKEv
84a9570039 fix(settings): correct empty listbox audio device
fix incorrect checking index
fix #3709
2016-09-16 09:49:01 +03:00
sudden6
077a844461
Merge pull request #3702
Vincas Dargis (1):
      fix(widget): do not block logout on Linux desktop environments v2
2016-09-12 12:56:25 +02:00
Diadlo
da9366c70d
refactor: Removed HTML tags from translation
Fixed #2985.
2016-09-11 13:21:04 +03:00
Diadlo
a7ddf5ef56
refactor(profileform): Removed HTML tags from translation 2016-09-11 00:06:14 +03:00
Diadlo
2d63e441d4
refactor(about): Removed HTML tags from translation 2016-09-11 00:06:14 +03:00
Diadlo
fde9ad5356
fix(i18n): Removed extra tag from translation 2016-09-11 00:06:06 +03:00
Vincas Dargis
6b00779dde fix(widget): do not block logout on Linux desktop environments v2
Revert commit 191fc15b9f to use closeEvent()
but without QEvent::ignore() which blocked logout on various Linux desktops,
and without redundant hide(). Previous fix with hideEvent() produced
regressions because hide() is used in various places, which produced closing
behavior.

Since qApp->setQuitOnLastWindowClosed(false) is used, and
Qt::WA_DeleteOnClose is *NOT* used, default closeEvent() handling is enough
for implementing close-to-systray feature.

Improves fix for #1485 and closes #3699
2016-09-10 17:39:50 +03:00
Vincas Dargis
7ee883bcc7 fix(widget): do not block logout on Linux desktop environments
Change closeEvent() to hideEvent() for handling main window closing.
Close event is no longer ignored, which prevented logging out from
various Linux desktop environments.

Closes #1485
2016-09-04 22:15:10 +03:00
Diadlo
76c4cf7d39
Merge pull request #3648
Diadlo (1):
      refactor(toxdns): Removed using of toxdns
2016-09-01 23:43:46 +03:00
Nils Fenner
b7d12222ae
Merge pull request #3668
Diadlo (1):
      fix: Fixed crash on profile import
2016-08-31 11:51:25 +02:00
Diadlo
a130a60e9a
fix: Fixed crash on profile import
Fixed #3660. Removed using of GUI class in Profile Importer. Because, it
cannot be used before Nexus instance will be created. As result, it
provide crash in some cases.
2016-08-31 11:47:30 +03:00
Diadlo
4a5f89bb98
feat(reconnect): Made Reconnect button wider
After #3457 `Reconnect` button was moved on `Advanced` tab. It can be
harder to find it (#3662). So it made wider.
2016-08-28 03:32:53 +03:00
Diadlo
f197523155
fix(settingsform): Fix layout spacing 2016-08-26 16:30:22 +03:00
Diadlo
8da695e748
refactor(toxdns): Removed using of toxdns
BREAKING CHANGE: Remove ability of ToxDNS lookup.
2016-08-26 14:14:13 +03:00
Diadlo
fad6cb8e86
refactor: Fixed typo 2016-08-26 13:53:58 +03:00
Diadlo
b6f14a658f
docs(settingsform): Added docs to settings forms 2016-08-26 13:51:27 +03:00
Diadlo
db758e29c5
refactor: Remove html tags from author block 2016-08-26 13:20:12 +03:00
Diadlo
61f81b824d
refactor: Remove html tags from 'IMPORTANT NOTE' 2016-08-26 13:20:12 +03:00
Diadlo
f0402bb3d3
refactor(settings): Changed manual connects to auto-connections 2016-08-26 13:20:12 +03:00
Diadlo
f0e26e0f48
refactor(proxy): Changed port type on unsigned int. 2016-08-26 13:11:57 +03:00
Diadlo
9499bdd458
feat(settings): Added privacy block 2016-08-26 13:11:57 +03:00
Diadlo
a1041ed11a
feat(settings): Deleted settings header 2016-08-26 13:11:57 +03:00
Diadlo
9c9f1c11d1
feat(settings): Added reset settings button 2016-08-26 13:11:56 +03:00
Diadlo
fb4aa4c8f6
feat(settings): Extracted user interface settings on new tab 2016-08-26 13:10:57 +03:00
Diadlo
ef70b20a2b
refactor(avform): Changed combobox index checks on asserts 2016-08-25 22:48:23 +03:00
Diadlo
9478377868
feat(avform): Made warning and debug info more useful 2016-08-25 13:13:09 +03:00
Diadlo
08229735b2
feat(avform): Added automatic screen rescan 2016-08-24 22:35:31 +03:00
Diadlo
eaccbf3da9
fix(avform): Added shift screen region
Fix #3552.
2016-08-24 22:35:31 +03:00
Zetok Zalbavar
b5efc2bb71
fix: hide option to Load automatically for encrypted profiles
There have been numerous issues about it from confused users,
e.g. #2698, #2870, #3638. Clearly tooltip alone is not enough.

Could have been done long time ago in #2818, if not for naive belief
that tooltip will suffice.
2016-08-20 19:08:57 +01:00
initramfs
54350fd24f
chore(aboutform): update license year to include 2016 2016-08-20 15:52:43 +08:00
Diadlo
60aea2c2b4
docs: Removed comments which will not be in api doc 2016-08-19 00:20:24 +03:00
Diadlo
72780e6c7a
docs(todo): Changed todo format 2016-08-19 00:20:24 +03:00
Diadlo
31d8e7eef0
docs: Replaced simple on doxygen tag 2016-08-19 00:20:23 +03:00
Diadlo
902828fcc2
docs(persistence): Added leading stars 2016-08-19 00:20:23 +03:00
initramfs
ef157ca8af
fix(video): fix scaling issues under HiDPI displays with desktop video
This commit fixes missing scaling factors with desktop video to allow
desktop video under HiDPI scaling to work as intended. Also removes a
few obsolete lines of scaling that that was required for older Qt
versions.
2016-08-16 14:27:56 +08:00
Zetok Zalbavar
79c249be55
fix: use qAbs() instead of abs() for better platform compatibility
Apparently FreeBSD doesn't include by default `stdlib.h` that provides
`abs()`.

Fix suggested by @antis81.

Fixes #3613.
2016-08-15 23:27:44 +01:00
Nils Fenner
63db185b6b
refactor(settings): connect "value changed" signals to settings 2016-08-14 18:08:45 +02:00
Nils Fenner
f00b9008e6
feat(settings): add notification signals for changed settings values
Makes changes to settings application wide transparent. The properties section is optional in theory, but comes in very handy, if we decide to access settings e.g. from within a script context.
2016-08-14 18:08:24 +02:00
Zetok Zalbavar
59352ae797
Merge pull request #3580
sudden6 (1):
      fix(systemtray): don't activate qTox widget on tray icon click in Unity backend
2016-08-08 11:07:47 +01:00
Nils Fenner
32c158bc61
fix(gui): don't quit application before last event
Quitting the application kills the event loop. So any event past that will not be handled. Probably causes the "BAD!" entries in log.
2016-08-08 10:26:56 +02:00
sudden6
f50d914c23
Merge pull request #3591
Nils Fenner (1):
      feat(settings): add RecursiveSignalBlocker
2016-08-08 06:21:37 +02:00
Zetok Zalbavar
a446294ea8
Merge pull request #3589
initramfs (2):
      fix(avform): add missing "first" video mode back to video modes
      fix(avform): display true video height in video mode selection
2016-08-07 20:26:57 +01:00
initramfs
192c1e8ff5
fix(avform): display true video height in video mode selection 2016-08-08 03:23:16 +08:00
Nils Fenner
b71c919f2a feat(settings): add RecursiveSignalBlocker
can be used to block any signals during settings ui initialization
2016-08-07 04:56:10 +02:00
sudden6
12df069eaa
refactor(groupinvite): remove HTML from translation and simplify function 2016-08-06 15:19:42 +02:00
sudden6
2f0ffdd27e
fix(systemtray): don't activate qTox widget on tray icon click in Unity backend
based on #3423 by @abbat
2016-08-06 15:18:25 +02:00
Waylon Cude
237351fdd2
feat(l10n): add Lojban translation from weblate 2016-08-06 10:37:01 +01:00
initramfs
5324e768c3
fix(avform): add missing "first" video mode back to video modes
This commit fixes the fact that the selectBestModes() function strips
off the first video mode, often a 1080p or 720p mode.

Fixes #3588.
2016-08-05 02:45:53 +08:00
initramfs
4e9d34b78d
chore: rewrite forgotten tux3 link to qTox 2016-08-04 15:56:30 +08:00
initramfs
b7aa982a57
chore: rewrite all links to the qTox repository from tux3 to qTox 2016-08-04 06:25:50 +08:00
Diadlo
8bc3c3c8d2
fix: Added forgotten return statement 2016-08-02 03:17:45 +03:00
sudden6
904d5c1621
Merge pull request #3569
bitok (1):
      fix(widget):change received files execution method
2016-08-01 21:57:28 +02:00
sudden6
eedc2a961f
Merge pull request #3560
Diadlo (3):
      fix(toxsave, profileimporter): Added `remove` function call before overwrite file
      refactor(profileimporter): Removed extra spaces
      refactor(toxsave, profileimporter): Removed code duplication
2016-08-01 21:35:32 +02:00
Diadlo
47cc252f76
refactor(toxsave, profileimporter): Removed code duplication 2016-08-01 22:35:25 +03:00
sudden6
79b9895874
Merge pull request #3551
Diadlo (1):
      fix(translator): Added layout direction reset on translation.
2016-08-01 21:30:46 +02:00
sudden6
05bd55d8a5
Merge pull request #3566
bitok (1):
      fix(avform):Add skipped camera open call
2016-08-01 21:09:00 +02:00
Diadlo
df7bf32072
refactor(profileimporter): Removed extra spaces 2016-08-01 12:22:52 +03:00
Diadlo
58ea0afed1
fix(toxsave, profileimporter): Added remove function call before overwrite file
Fix #3558.
2016-08-01 12:22:52 +03:00
Diadlo
927d512fa2
fix(translator): Added layout direction reset on translation.
Fix #3542.
2016-07-31 14:21:15 +03:00
sudden6
a163d18754
Merge pull request #3561
Diadlo (1):
      feat(gui, setpassworddialog): Added buttons translation
2016-07-31 13:03:54 +02:00
sudden6
66bf2b130a
Merge pull request #3539
Diadlo (2):
      fix(avform): Changed "best modes" search algorithm.
      fix(avform): Added rounding height in mode name.
2016-07-31 12:41:23 +02:00
bitok
1f9b7b13de fix(avform):Add skipped camera open call
Fixed desktop sharing without camera connected. Fixes #3476.
2016-07-31 00:49:56 +03:00
bitok
def2e880c9 fix(widget):change received files execution method
Remove incorrect file execute method, it replaced by associations-aware method. Fixes #3140.
2016-07-31 00:34:52 +03:00
Diadlo
c2e3358dd2
fix(avform): Added rounding height in mode name. 2016-07-30 23:28:34 +03:00
Diadlo
58e503bb14
feat(gui, setpassworddialog): Added buttons translation
Fix #3479.
2016-07-30 18:15:07 +03:00
sudden6
a556762c54
Merge pull request #3528
Diadlo (1):
      fix(chatform): Fixed call buttons
2016-07-28 21:53:26 +02:00
Diadlo
dbe0a15963
fix(chatform): Fixed call buttons
Fix #3521.
2016-07-28 22:55:46 +03:00
Diadlo
1552bfb114
docs(widget): Change comment style 2016-07-27 23:39:18 +03:00
Diadlo
6e1ef70651
fix(avform): Changed "best modes" search algorithm.
Mentioned in #3535 by @BiTOk
2016-07-24 23:07:02 +03:00
sudden6
d1da8a9ba4
Merge pull request #3533
Nils Fenner (2):
      fix(screen-grabber): fix crash
      refactor(chatform): cleanup if block and use positive comparison
2016-07-24 15:47:16 +02:00
Nils Fenner
eb1e0091c4
Merge pull request #3488
Diadlo (1):
      style(toxid, widgets): Made constructor explicit
2016-07-24 09:51:16 +02:00
Nils Fenner
2d520322a7 refactor(chatform): cleanup if block and use positive comparison 2016-07-21 10:51:50 +02:00
Nils Fenner
780a017928 fix(screen-grabber): fix crash 2016-07-21 10:49:50 +02:00
Nils Fenner
ff92a55950
refactor(avform): use auto-connections in ui signals 2016-07-20 23:49:12 +02:00
Nils Fenner
de438f1c23
fix(settings): block signals during initialization
Prevents unexpected writes to settings during object creation, which can potentially mess up various settings values.
2016-07-20 23:49:12 +02:00
Nils Fenner
c9dbfa5eac
fix(avform): initialize slider value from settings 2016-07-20 23:49:12 +02:00
Nils Fenner
da94b4b83f
refactor(avform): fixed type conversion warnings and coding style 2016-07-20 23:49:12 +02:00
Nils Fenner
0b2dfc0305
refactor(avform): improve code flow
* rename file avsettings.ui -> avform.ui, introducing seamless switching between UI/Code
* switch to "private multi-inheritance" pattern, which has several advantages
2016-07-20 23:49:12 +02:00
Zetok Zalbavar
9301512936
feat(l10n): add Uighur language to UI 2016-07-19 19:21:17 +01:00
sudden6
56fe94dd5e
Merge pull request #3512
TheNain38 (1):
      fix(groupinviteform): escape HTML
2016-07-16 23:40:14 +02:00
TheNain38
24f0b11a4d fix(avform): make "Screen" translatable 2016-07-14 13:05:28 +02:00
TheNain38
e4bc857037 fix(groupinviteform): escape HTML 2016-07-14 12:46:15 +02:00
sudden6
9bd8ec0193
Merge pull request #3506
Nils Fenner (1):
      fix(about-qtox): fix QString "missing argument" warning
2016-07-13 21:43:43 +02:00
Nils Fenner
f2f48a8f07 fix(about-qtox): fix QString "missing argument" warning 2016-07-13 13:33:59 +02:00
Diadlo
76f694fe73
style(widget): Style fixes 2016-07-13 01:54:30 +03:00
Diadlo
8e7a6c89c2
style(toxid, widgets): Made constructor explicit 2016-07-13 00:33:37 +03:00
sudden6
e97a870c0f
Merge pull request #3392
Diadlo (12):
      refactor(avform): Extracted functions with best mode search and combo box filling
      refactor(avform): Replace `bestModeInds` on videoMode index and video height as quality name
      refactor(avform): Separeted search of preferred index in function
      fix(avform): Took default resolution from middle of list
      feat(videomode): Added possible video shift
      feat(cameradevice, avform): Added ability of screen selection
      feat(avform, screenshotgrabber): Added custom screen region selection
      style(corevideosource): Small style fixes
      fix(videoframe): Added correct image copy
      fix(avform): Added restoring selected region
      feat(camerasource): Change default video mode to preferred
      fix(directshow): Fixed problem with crosses initialization
2016-07-12 19:56:41 +02:00
sudden6
0a595ea679
Merge pull request #3453
Diadlo (2):
      fix(genericchatform): Fixed position of screenshot button
      fix(video): Changed minimum window size with video
2016-07-12 19:49:29 +02:00
sudden6
939c97a0e9
Merge pull request #3441
Andrew Morgan (1):
      feat(textstyle): Change markdown syntax to be more intuitive
2016-07-11 21:52:58 +02:00
Nils Fenner
989b15e656 fix(chat): cleanup chat css base style
fix chat area's inner stylesheet
note: the base font is never a bold font (respects html tags: e.g. <b>bold text</b>)

fix block colors:
* action -> blue
* alert -> red
* quote -> green
2016-07-10 13:43:50 +02:00
Diadlo
f8a45b4051
fix(video): Changed minimum window size with video
Fix #3396.
2016-07-09 22:15:04 +03:00
Diadlo
86e44143ad
fix(genericchatform): Fixed position of screenshot button
Fix #2427.
2016-07-09 22:15:04 +03:00
Andrew Morgan
32e48a979c
feat(textstyle): Change markdown syntax to be more intuitive
BREAKING CHANGE: Current markdown syntax is unintuitive, and thus we have agreed on switching to @SkyzohKey's implementation. Replaces all instances of Markdown with Text Styling. Closes #3404.
2016-07-07 20:07:22 -07:00
sudden6
1bd86f7eee
Merge pull request #3475
a68366 (2):
      fix(groupinviteform): consider dateTime format in group invites
      fix(generalform): call UI retranslation when date or time format changes
2016-07-08 00:09:26 +02:00
sudden6
5be249e3fe
Merge pull request #3450
Diadlo (1):
      fix(widget): Added saving window state before closing
2016-07-07 23:57:56 +02:00
Diadlo
bfb5dae6fa
fix(widget): Added saving window state before closing
It's needed if user setup `Close to tray`
Fix #3397.
2016-07-08 00:32:34 +03:00
sudden6
ee0294bb4c
Merge pull request #3464
Andrew Morgan (1):
      feat(chatform): Disable call buttons if friend is offline
2016-07-07 23:31:54 +02:00
a68366
d601599de8 fix(generalform): call UI retranslation when date or time format changes
Needed to update date and time display.
2016-07-08 00:18:12 +03:00
a68366
6030b083b1 fix(groupinviteform): consider dateTime format in group invites
Closes #3058
2016-07-07 00:55:23 +03:00
Nils Fenner
b4a87a3a0e
Merge PR #3447 branch from 'anoadragon453:nautilus-fix' 2016-07-05 10:38:02 +02:00
Nils Fenner
1dd730841a
refactor(chat-settings): use safe methods to get the font's pixel size
Further rename the pixel size vars to improve readability.
2016-07-05 08:48:09 +02:00
Nils Fenner
9ec5c11caa
fix(chat-settings): change order during chat-base-font UI initialization
Setting "currentFont" fires a "currentFontChanged" signal, causing the wrong font pixel-size. After changing the order, the values still overwrite the font settings - yet with the correct values. Probably all signals should be blocked in c'tor during initialization of the settings widget(s) to avoid overwriting any settings.
2016-07-05 08:48:09 +02:00
Andrew Morgan
bbefe0119d
feat(chatform): Disable call buttons if friend is offline
Call buttons would be enabled but non-functional if you were looking at a friend who was offline. We now check if the friend is offline and disable the call buttons if so.
2016-07-04 01:05:13 -07:00
tux3
2bdd9824c7
fix(ui): Prevent suicide crash on logout
Fixes #2480

The GUI was deleting itself on logout, but was doing while deep inside the middle of GUI code, resulting in a series of use-after-free on the return path. We now freeze the GUI and logout asynchronously in a more suitable call stack.
2016-07-03 12:49:13 +02:00
Andrew Morgan
881409b91f
fix(profile): Fix for opening file dialog using Nautilus file manager
Importing a profile, saving a QR code image or setting an auto-accept directory using Nautilus as the default file manager, which many users use, was causing a hang in Qt's  method. Setting Qt to use it's own file manager in this circumstance fixes the issue. Closes #3436, closes #3443.
2016-07-02 15:17:02 -07:00
Nils Fenner
9694d6b6d4
fix(audio): actually disable the audio in/out device in settings, when selected
As esecially the "Disabled" text is translated, the audio device will change from "disabled" to "default", just by changing the language.

In contrast to video devices, an audio device is either always available, or sound will be disabled. So "Disabled" is the correct term to use here.
2016-07-01 10:41:41 +02:00
Nils Fenner
81df534c9a
refactor(audio): cleanup initialization of audio device lists
API:
* open default in/out device, when device name is empty
* move privatized code
* fix unsigned/signed conversion warnings

UI (settings):
* refactor: select audio devices by combobox index
2016-07-01 10:41:41 +02:00
Nils Fenner
bec635ad11
refactor(audio): cleanup initialization of audio device lists
* move private code
* fix unsigned/signed conversion warnings
2016-07-01 10:41:41 +02:00
Nils Fenner
6189ecbf47
refactor(chatform): use reference var when initializing from settings 2016-06-30 20:24:00 +02:00
Nils Fenner
41c96eb159
feat(chat): add the ui settings to alter font and size for chat messages 2016-06-30 20:24:00 +02:00
Diadlo
bf7c62d6fa
fix(chatform, screenshotgrabber): Fixed memory leak
Memory for ScreenshotGrabber was allocated, but don't deallocated
2016-06-30 14:45:47 +03:00
sudden6
35669cb12b
Merge pull request #3446
Diadlo (1):
      fix(addfriendform): Fixed problem with reading friend request
2016-06-30 13:09:06 +02:00
Diadlo
7be8ad01da
fix(addfriendform): Fixed problem with reading friend request
Fix #3421
2016-06-28 23:07:47 +03:00
sudden6
4f493c5df7
Merge pull request #3424
Colomban Wendling (1):
      refactor(passwordedit): optimize event handler unregistration
2016-06-28 19:03:13 +02:00
Zetok Zalbavar
dc26379eeb
Merge pull request #3437
Vincas Dargis (1):
      fix(loginscreen.cpp): fix password input focus after mouse click
2016-06-25 16:20:53 +01:00
Vincas Dargis
6e8ea15a15 fix(loginscreen.cpp): fix password input focus after mouse click
Add setFocus() call to make password input focus work after user
clicks Load button (hence losing focus) with invalid password.
Without this patch, focus only works when using Enter key to login.
2016-06-25 17:45:14 +03:00
Diadlo
1c5158213d
fix(avform): Added restoring selected region 2016-06-25 14:20:13 +03:00
Diadlo
9cfd678c26
feat(avform, screenshotgrabber): Added custom screen region selection 2016-06-25 14:20:13 +03:00
Diadlo
d781a4f762
feat(cameradevice, avform): Added ability of screen selection 2016-06-25 14:20:08 +03:00
Diadlo
fd701df101
feat(videomode): Added possible video shift 2016-06-25 14:19:46 +03:00
Diadlo
2d861ee25b
fix(avform): Took default resolution from middle of list 2016-06-25 14:19:46 +03:00
Diadlo
33729dcf4a
refactor(avform): Separeted search of preferred index in function 2016-06-25 14:19:45 +03:00
Diadlo
3f82396173
refactor(avform): Replace bestModeInds on videoMode index and video height as quality name 2016-06-25 14:19:45 +03:00
Diadlo
6f3ef0cf59
refactor(avform): Extracted functions with best mode search and combo box filling 2016-06-25 14:19:45 +03:00
Vincas Dargis
70fc247b70 fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems
Add explicit setAcceptDrops(false) to allow parent widget to handle
drag-and-drops consistently across various desktop environments.

Closes: #2847
2016-06-24 20:26:45 +03:00
Eugene
684835de1b
feat(l10n): add initial Belarusian translation from weblate 2016-06-23 22:52:56 +01:00
Colomban Wendling
ebc3a60e97 refactor(passwordedit): optimize event handler unregistration
Only search the vector once, and using old enough Qt API.

Follow up to #3418.
2016-06-21 02:49:38 +02:00
Vincas Dargis
f18db4fd50 fix(passwordedit.cpp): Fix build issue with Qt 5.3
QVector<T>::removeOne() was added in Qt 5.4, and this method usage
broke build for Debian 8 whitch has Qt 5.3.2.

Add alternative implementation and comment for the future to use
removeOne() when this becomes possible.

Closes #3416
2016-06-19 19:15:09 +03:00
sudden6
fd2e5859fb
Merge pull request #3383
Colomban Wendling (10):
      fix(capslockindicator): fix altering the line edit height
      fix(capslock_x11): properly release the X display handle
      refactor(capslockindicator): encapsulate event handling
      fix(capslockindicator): also update indicator when the app gets focus
      refactor(capslockindicator): expose as a QAction to simplify API
      refactor(capslockindicator): use a single shared event handler
      refactor(capslockindicator): avoid overhead on OSX
      refactor: replace CapsLockIndicator with new PasswordEdit widget
      fix(passwordfields): use PasswordEdit widget for all password fields
      refactor(passwordedit): don't add the caps indicator at all if disabled
2016-06-19 13:49:28 +02:00
Colomban Wendling
473b29b2a7 refactor(passwordedit): don't add the caps indicator at all if disabled 2016-06-18 00:45:31 +02:00
Colomban Wendling
e3d0cc0e55 fix(passwordfields): use PasswordEdit widget for all password fields
Fixes #3378.
2016-06-17 21:55:27 +02:00