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

1954 Commits

Author SHA1 Message Date
Diadlo
365d703e8a
perf: Pass std::function by reference 2017-06-12 13:46:38 +03:00
ezavod
ed45359863
fix(ui): add date message before info messages
Fixes #4388.
Separated date message in its own function.
Also added date message before info messages like it is already done with normal chat messages.
2017-06-03 18:12:59 +02:00
Diadlo
331a8f1006
refactor: Split 'onChatrootWidgetClicked' on 2 methods
onChatrootWidgetClicked was used for 2 different actions.
Now it's splitted on 'activate' and 'openNewDialog'
2017-06-02 18:49:08 +03:00
Diadlo
4d15aed53f
fix: Fix freez on circle removing
Fix #4419
2017-06-02 18:48:09 +03:00
sudden6
dd60edb3d7
Merge pull request #4432
ezavod (1):
      refactor(ui): set icon in dialog constructor
2017-06-01 21:13:52 +02:00
sudden6
a3b234e6dd
chore(formatting): run clang-format 2017-06-01 09:50:59 +02:00
sudden6
a1181e10f2
chore(formatting): disable clang-format for certain code sections 2017-06-01 09:49:32 +02:00
ezavod
b518aa8488
refactor(ui): set icon in dialog constructor
Fixes #4430.
Moved `setWindowIcon` to dialog constructor and removed all other occurrences.
2017-05-31 18:42:08 +02:00
sudden6
46c848c07f
Merge pull request #4424
ezavod (1):
      fix(ui): do not save splitter state in multiple windows mode
2017-05-30 12:55:01 +02:00
ezavod
7e5387cad2
fix(ui): do not save splitter state in multiple windows mode
In multiple windows mode there are no two widgets that are separated by the splitter, there is just one widget.
This changes the splitter state without the users intention.
2017-05-27 17:12:34 +02:00
ezavod
6b767e4765
fix(ui): Set Qt::Window flag in multi windows mode
This sets the flag to `Qt::Window` for open dialogs in multi windows mode.
Commit changes the appearance of non-chat windows (Settings, Add Friend, ...).
2017-05-26 16:25:02 +02:00
Diadlo
65b1463933
refactor(core): Move setAvatar to profile from core 2017-05-24 19:43:47 +03:00
ezavod
0c98f6a548
fix(ui): switch to settings after multiple windows mode
Switch back to settings after disabling multiple windows mode instead of switch to add friend page.
2017-05-14 20:36:18 +02:00
sudden6
50768abbab
Merge pull request #4394
Yuri (1):
      fix(message size): Replaced TOX_MAX_*_LENGTH with API calls.
2017-05-14 12:53:41 +02:00
sudden6
afeca313ba
Merge pull request #4389
ezavod (1):
      fix(ui): restore splitter state
2017-05-14 12:51:52 +02:00
Yuri
3963d3c150 fix(message size): Replaced TOX_MAX_*_LENGTH with API calls.
It is good for flexibility to have fewer hardcoded values.
2017-05-11 09:24:54 -07:00
Łukasz Żarnowiecki
2d0a4e794d fix(settings): compute toxcore version in runtime
Past this change toxcore version was set during compilation.  This
caused a problem when you changed version of toxcore while qTox would
still display its old.  This behaviour was misleading.
2017-05-11 14:32:56 +02:00
ezavod
9d94cd0c50
fix(ui): restore splitter state
Fixes #4387 and #2378.

This restores the state of the splitter correctly from settings in
multiple window mode and if this mode is quited.
2017-05-11 13:05:16 +02:00
Jerome Pinguet
71a838b53e
fix(profile): set maxLength on userName QLineEdit
Set maxLength of userName QLineEdit to TOX_MAX_NAME_LENGTH
Fixes #4335
2017-05-09 07:28:31 +02:00
Diadlo
8634e26694
refactor: Methods renamed
existsFriendWidget -> friendWidgetExists
existsGroupWidget -> groupWidgetExists
2017-05-08 22:39:00 +03:00
Diadlo
b126d21922
refactor(core): Merge friendAdded and friendshipChanged 2017-05-08 22:12:14 +03:00
Diadlo
d77cb084d6
refactor: Remove unused MicFeedback widget 2017-05-08 22:11:41 +03:00
Diadlo
7e3ad7ba87
refactor(chatform): Remove Audio dependencies from ChatForm 2017-05-08 14:12:45 +03:00
Diadlo
695abadd7c
refactor(chatform): Remove Audio::play usage from ChatForm 2017-05-08 14:12:45 +03:00
sudden6
28c2298ad9
feat(audio): split the audio interface from the backend library
This paves the way to support multiple audio backends
2017-05-08 10:37:05 +02:00
sudden6
13029e3047
fix(groupinvite): prevent multiple groupinvites to the same group from showing up
fix #2305
2017-05-07 17:08:02 +02:00
sudden6
c41f533818
Merge pull request #4340
ezavod (1):
      fix(settings): changing language sets title to "Add Friend"
2017-05-07 16:08:06 +02:00
Diadlo
5d117e6af8
refactor: Remove getCompactLayout from GenericChatroomWidget 2017-05-04 20:31:56 +03:00
Diadlo
5feb81d757
refactor(translator): Remove Settings from Translator 2017-05-04 20:31:56 +03:00
Zetok Zalbavar
0192e9275f
feat(l10n): add Romanian translation to UI 2017-04-30 20:18:02 +01:00
noavarice
b5f4628c89 fix: fix segfault while trying to send messages
Unfortunately, can not pass local variable on ChatLine::Ptr through
several method calls so ChatMessage inserted after its creating in the
same scope. Updated docs
2017-04-26 14:30:22 +03:00
noavarice
4b3d86d172 refactor: another small changes
Brief list of changes:
  - "resolveToxId" method's name replaced with "resolveToxPk";
  - updated comments for "resolveToxPk" and "needsToHideName";
  - changed "resolveToxPk" return value for fail case;
  - fixed typo.
2017-04-25 22:09:38 +03:00
alexrazinkov
972c3f2353 refactor: another refactoring step
Brief list of changes:
  - contentdialog.* and friendlistwidget.cpp reverted to their previous states;
  - added macros for setting stylesheets for form components;
  - added 'static' qualificator for 'fontToCss' function;
  - added 'needsToHideName' method and several places in code replaced with this
  method's calls;
  - some changes which are related to previous listed;
  - 'resolveToxId' returned to GenericChatForm class.
2017-04-25 12:30:34 +03:00
noavarice
a83f8d1dfd refactor: returned correct code style 2017-04-25 12:30:34 +03:00
noavarice
7e1f8cb23e docs: added docs to some GenericChatForm methods 2017-04-25 12:30:34 +03:00
noavarice
e9c7caf3e7 refactor: sorted (several removed) headers, class declarations and fields 2017-04-25 12:30:34 +03:00
noavarice
b074c831d3 refactor: refactored message-adding methods
Return value of "addMessage" was not used at all, so now this method
(and "addSelfMessage" too) does not have return value - just inserts
message into ChatLog. Also messages are creating with "createMessage"
and "createSelfMessage"
2017-04-25 12:30:34 +03:00
noavarice
2598973c76 refactor: remove unnecessary methods
"isEmpty" method is just completely redundant, while "fontToCss" and
"resolveToxId" don't relate to "GenericChatForm" class
2017-04-25 12:30:34 +03:00
noavarice
27f65be289 refactor: literals replaced with constants 2017-04-25 12:30:34 +03:00
ezavod
4886868ece
fix(settings): changing language sets title to "Add Friend"
This fixes issue #3708.
Changing language sets title of settings widget to "Settings" instead
of wrong "Add Friend".
2017-04-23 16:21:27 +02:00
sudden6
52617ad075
Merge pull request #4341
ezavod (1):
      fix(chatform): disable Tab in add friend message text  area
2017-04-22 15:44:27 +02:00
ezavod
195e891da1
fix(chatform): disable Tab in add friend message text area
This is related to #2100.
Tab is no longer accepted as input in add friend message text area,
instead it changes the focus.
2017-04-19 09:19:09 +02:00
Diadlo
b691cf9bed
refactor: Add parentheses around the '&&' expression 2017-04-18 00:14:49 +03:00
Diadlo
15a385ba75
refactor(time): Make enum class 2017-04-14 13:57:57 +03:00
Diadlo
470c17cd1f
refactor(time): Cleanup time-related code
- Remove manual category creation.
- Remove shitty code duplication.

BREAKING CHANGE: Now 'last 7 days' can contains days from the last month.
2017-04-14 13:57:55 +03:00
sudden6
084f3b0626
feat: stop using plaintext passwords in the code 2017-04-08 12:24:29 +02:00
noavarice
c1e01710b4 refactor: returned correct code format 2017-04-03 21:05:25 +03:00
noavarice
d126b18d76 refactor: Core refactoring
Brief list of changes:
  - removed unnecessary headers from core.h and core.cpp;
  - added missing brackets and aligned long lists of parameters;
  - some other small changes.
2017-04-03 16:13:56 +03:00
noavarice
83b3449d0a refactor: onTextEditChanged method refactoring
Made as single commit because this change requires an explanation. As i
understand, `getTypingNotification` always return the same value because
`setTypingNotification` is not connected for any signal and the only
time it's called - from `PrivacyForm`'s method which is never called and
also is not connected to signals. I guess that removing `getTypingNotification`
from `onTextEditChanged` will not affect anything
2017-03-29 15:17:37 +03:00
noavarice
731f588f05 refactor: slight refactoring of ChatForm class 2017-03-29 15:17:37 +03:00
noavarice
2c91280d9b refactor: removed unnecessary headers and updated copyright info 2017-03-29 15:17:37 +03:00
ezavod
96b2977a5f fix: set CSS font-weight of editbox always to normal
This fixes issue #4292 by setting CSS `font-weight: normal` always.
2017-03-28 10:45:27 +02:00
sudden6
6a16a2bdbc
feat(groups): add option to automatically accept groupchat invites
Allows to accept group chat invites from select contacts automatically.

fix #1197
2017-03-25 21:50:00 +01:00
Diadlo
74356abda4
docs: Add docs to ContentDialog 2017-03-21 01:38:03 +03:00
Diadlo
add8d51a29
refactor: ContentDialog refactoring 2017-03-21 01:38:03 +03:00
Diadlo
c7202c8b24
fix(widget): Add friendWidget deletation
Thanks @noavarice for help.
Fix #4254, #4229
2017-03-21 01:06:51 +03:00
sudden6
f0cec44a8c
fix: silence various warnings 2017-03-20 22:21:38 +01:00
sudden6
4e548662d7
refactor(core): remove CString 2017-03-09 11:01:43 +01:00
sudden6
25c279c320
refactor(core): replace CString with ToxString 2017-03-09 11:01:43 +01:00
DX37
8174a4173d revert: "fix(icons): Removed unnecessary icon preparation."
This reverts commit fac0021a47.
2017-03-03 17:57:24 +07:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
Diadlo
a231532bd0
fix: Add splitter restorer
Added splitter restorer, which reset splitter state if it's broken
Fix #2587
2017-02-26 03:14:57 +03:00
Nils Fenner
4b7fc5792d
refactor: use enum class 2017-02-25 22:20:04 +03:00
sudden6
de78e0dddb
Merge pull request #4120
Yuri (1):
      fix(icons): Removed unnecessary icon preparation.
2017-02-25 20:03:17 +01:00
Diadlo
1d0a49c2b7
Merge pull request #4194
noavarice (2):
      refactor: single group invite extracted into a widget
      docs: added documentation for GroupInviteForm class
2017-02-25 20:41:36 +03:00
Nils Fenner
12bcc26154
feat(settings): create ui when needed instead of show/hide
note: no change in "embedded window" mode yet, but doesn't harm either
2017-02-25 19:25:29 +03:00
noavarice
0effac2bdd fix: changed incorrect videocall button offline tooltip 2017-02-25 17:34:50 +03:00
Diadlo
bff25ce8b1
refactor: Remove FriendWidget from Friend class 2017-02-23 00:36:00 +03:00
noavarice
e68aef19f9 docs: added documentation for GroupInviteForm class 2017-02-22 23:53:59 +03:00
noavarice
adba773c6d refactor: single group invite extracted into a widget
Previously GroupInviteForm included several collections of components
which were supposed to use as a single object. Now they are replaced
with a class and all functionality related to this collections moved
there too. Also fix #3621
2017-02-22 16:19:19 +03:00
Zetok Zalbavar
43d16d9181
feat(l10n): add Chinese (Taiwan) translation to UI
Thanks to @LNDDYL for the help with what should be put in the language
name.
2017-02-21 09:24:44 +00:00
tux3
60e5375ef7
Merge pull request #4184
tux3 (1):
      fix: Friend list avatars not updating
2017-02-19 00:46:18 +01:00
tux3
c75ee8a661
fix: Various IPC event handling and related bugs on startup
Fixes #1926 : When an IPC event was processed locally, if the window was closed before the core could start, the event handler would be forever stuck in the background waiting for the core to start. We fix this by substituting QApplication::quit() by a Nexus::quit() function and a Nexus::isRunning() function, which gives us a condition for exiting blocking processEvents() loops. We cannot simply use QApplication::quit(), because this function has no effect before the start of the event loop.

The problem was further exacerbated by the Tox URI event handler being (incorrectly) blocking. The IPC owner would block in this event handler, and the sender of the event would give up waiting and process the event itself a second time, potentially triggering the first bug. We fix the event handlers accordingly to be (mostly) non-blocking.

Also fixes a related deadlock between ~Core and ~Profile in the case of an early exit
2017-02-17 17:18:52 +01:00
tux3
055c41bc30
fix: Friend list avatars not updating
Possibly related to #4172
2017-02-17 16:42:40 +01:00
sudden6
08fdb7561e
Merge pull request #4161
Yuri (1):
      fix(font): Made the font combobox not editable.
2017-02-11 02:11:53 +01:00
sudden6
1e7fc8cc52
Merge pull request #4141
Yuri (1):
      feat(shortcut): Implemented F11 shortcut for toggling fullscreen.
2017-02-09 16:35:15 +01:00
Yuri
ba28f163fd fix(font): Made the font combobox not editable.
There is no need for the user to be able to type into this combobox.
2017-02-08 21:22:55 -08:00
Yuri
3a20a4ba43 feat(shortcut): Implemented F11 shortcut for toggling fullscreen.
Allow to make qTox fullscreen, similar to how browsers switch to fullscreen.
2017-02-06 11:08:41 -08:00
sudden6
d320b1f259
Merge pull request #4137
Yuri (1):
      fix(font): Made font changes in settings apply on screen instantly.
2017-02-06 15:18:14 +01:00
Yuri
742583bb9e fix(font): Made font changes in settings apply on screen instantly.
Before the user had to restart qTox for the font change to take effect.
Now it changes instantly.
2017-02-05 21:49:30 -08:00
sudden6
38cecdc780
refactor(history): remove deprecated historykeeper
This commit removes historykeeper and code only used by it.

BREAKING CHANGE:
qTox can't open old historykeeper chatlogs after this commit. Use
previous versions to migrate to the new database.
2017-02-05 22:20:12 +01:00
Yuri
fac0021a47 fix(icons): Removed unnecessary icon preparation.
In Qt5 QIcon supports svg without preparation.
2017-02-05 10:35:54 -08:00
Nils Fenner
36f7f65732
refactor: correct virtual overrides 2017-02-05 17:24:43 +03:00
Nils Fenner
ec4a5d08ef
refactor(widget): fix static analyzer warning and some cleanup 2017-02-05 17:24:43 +03:00
Nils Fenner
456e429cac
refactor: minor cleanup in Widget and Friend 2017-02-05 17:24:43 +03:00
sudden6
5a04359901
Merge pull request #4124
Yuri (1):
      fix(font): Fixed the editbox font reset problem
2017-02-04 22:51:07 +01:00
Yuri
c84837d662 fix(font): Fixed the editbox font reset problem
Steps to reproduce:
* Select some obviously larger font
* Restart qTox
* Type something (you will see it with the correct font)
* Erase it completely
* Type something again
* Observe the current font now is small (back to the default)

This is a bug in Qt having to do with manipulation with both the css style and QFont of QTextEdit control at the same time.
The solution is to convert QFont to CSS style and apply it this way.
2017-02-04 09:56:31 -08:00
noavarice
034c507cc4 fix: Now cannot send party invite to a friend which has "Offline" status
Fix #4018
2017-02-03 23:24:06 +03:00
Diadlo
f0467abc34
fix(osx): Remove useless '#ifdef Q_OS_MAC' 2017-01-28 22:11:42 +00:00
Diadlo
320099faf8
fix(chatform): Add ability to cancel call
Fix #4016.
2017-01-29 00:37:31 +03:00
Zetok Zalbavar
7168d2b858
refactor: adjust to changes in Friend and ToxPk classes
With this it compiles.
2017-01-27 00:59:29 +00:00
Diadlo
3307fcd96f
refactor(chatform): Small ChatForm refactoring. 2017-01-27 00:25:37 +00:00
Diadlo
2aed859bdb
refactor(buttons): Mic and vol buttons now are QToolButton 2017-01-27 00:25:37 +00:00
Diadlo
ece4d9e446
refactor: Small Generic chat form refactoring 2017-01-27 00:23:17 +00:00
Diadlo
aff0c6f3a5
fix(chatform): Fixed buttons 2017-01-27 00:20:01 +00:00
Diadlo
5381d55e94
feat(chatform): Changed mic and vol buttons 2017-01-27 00:20:01 +00:00
sudden6
a5d2c573dd
fix(addfriend): create ToxId from QString before emitting the signal
fix #4086
2017-01-21 11:57:33 +01:00
Zetok Zalbavar
1df9f5726d
fix(l10n): rename zh translation to zh_CN
Closes #4080.
2017-01-17 20:13:16 +00:00
Zetok Zalbavar
1fc412df72
feat(UI): remove unnecessary spacings on the Profile page
Moved "header" under the scrollbar.

Renamed `Profile` and `User Profile` to `My profile`.

There is a regression with profile page header title no longer being
bold; according it Qt Creator it should be bold. No idea how to fix
that.

Thanks to @Diadlo for the code removing unnecessary header.
2017-01-15 15:26:20 +00:00
Zetok Zalbavar
26e372dc54
chore: bump copyright date in About settings tab to 2017 2017-01-11 20:54:53 +00:00
Diadlo
52642578a0
fix: Remove old ChatForm code from Widget
Remove double status messages
2017-01-10 00:54:25 +03:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers 2017-01-06 23:03:58 +03:00
Diadlo
7d1564e586
refactor: Remove using getFriendWidget from FriendWidget 2017-01-06 23:03:58 +03:00
Diadlo
4d806a3661
refactor: Remove using getFriendWidget from FriendListWidget 2017-01-06 23:03:58 +03:00
Diadlo
d223d916c8
refactor: Connect all chatroomWidget clicks to friend list clicks
Remove using getGroupWidget, getFriendWidget and getChatForm from
ContentDialog.
2017-01-05 00:56:32 +03:00
Diadlo
29bb319025
refactor(friend): Small refactoring
Method renamed to be same with `Group` i.e. `getGroupId`, changed Friend
eventFlag type on bool
2017-01-05 00:56:32 +03:00
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