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

2794 Commits

Author SHA1 Message Date
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
sudden6
5c5dce4d33
refactor(core): use factory methods for ToxEncrypt 2017-01-29 13:48:48 +01:00
sudden6
d07d0cfbf0
refactor(core): Introduce new class ToxEncrypt to interface with toxencryptsave 2017-01-29 13:48:43 +01: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
sudden6
dd8ae8109e
Merge pull request #4094
Diadlo (5):
      feat(chatform): Changed mic and vol buttons
      fix(chatform): Fixed buttons
      refactor: Small Generic chat form refactoring
      refactor(buttons): Mic and vol buttons now are QToolButton
      refactor(chatform): Small ChatForm refactoring.

Zetok Zalbavar (1):
      refactor: adjust to changes in Friend and ToxPk classes
2017-01-28 22:29:50 +01: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
Diadlo
22d3aa11de
fix: Add workaround for FreeBSD and ICU
This patch fix problem with ICU on FreeBSD
Implementation by @VVD
2017-01-24 23:30:08 +03: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
sudden6
0e4cff884d
fix(avatar): wrong conversion of own ToxId
e07d8d358f broke the loading of the own
avatar

fix #4048
2017-01-05 10:54:35 +01: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
Diadlo
328d0b6ddf
fix(nexus): Add qRegisterMetaType call for ToxPk
Fixed warning message: QObject::connect: Cannot queue arguments of type
'ToxPk' (Make sure 'ToxPk' is registered using qRegisterMetaType().)
2017-01-04 06:46:17 +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
sudden6
2f4e8dc3e8
refactor(toxpk): add class representing a Tox Public Key 2017-01-02 22:58:05 +01:00
sudden6
0b2f22d521
refactor(toxid): improve checks for valid ToxIDs 2016-12-30 15:54:56 +01:00
sudden6
a223510cf7
fix(toxid): Tox ID construction from ToxMe 2016-12-30 15:54:56 +01:00
Zetok Zalbavar
541bc0e174
refactor(core): simplify code for tox interval during file transfer
Also some style changes.
2016-12-30 13:57:55 +00: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
3d0938a3c6
refactor(toxid): improve code clarity and documentation 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
074f345b2e
style(smileypack): Small style improvements 2016-12-29 00:44:15 +03:00
Diadlo
56d656502c
fix: Fix problem with unicode symbols on FreeBSD
Fix #4012
2016-12-29 00:44:15 +03:00
sudden6
8d320ca3be
chore: Make building for FreeBSD easier
Add some patches from https://svnweb.freebsd.org/ports/head/net-im/qTox/
and make some things more platform independent.
2016-12-28 22:15:16 +01:00
Diadlo
9314dd3382
refactor(widget): Small refactoring 2016-12-27 22:22:58 +03:00
Diadlo
b4c4569299
feat(toxid): Added correct checksum validation.
Fix #3837
2016-12-27 01:40:44 +03:00
sudden6
e7276e7b43 fix(warnings): fix some warnings about the stack protector not working 2016-12-26 14:40:32 +01:00
Zetok Zalbavar
4bcf57b236
style: adjust function arg names in header to changes in core.cpp 2016-12-25 18:24:52 +00: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
4f9cb0b008
refactor: rename args to conform to C++11 § 17.6.4.3.2
Fixed typo and small style improvements.
2016-12-19 01:08:33 +03:00
Diadlo
32909559b6
docs: Added docs to PassKeyDeleter and updated Core methods 2016-12-19 00:42:54 +03:00
iphydf
de407c4714
chore: Update qTox to the latest toxencryptsave API.
Since ownership is somewhat unclear, we now use shared_ptr to pass
these around instead of unique_ptr.
2016-12-19 00:42:54 +03:00
Diadlo
3c304c50bc
refactor(core): Added error handling 2016-12-19 00:42:54 +03:00
Diadlo
98fa64f841
refactor(core): Remove code duplication for different types of messages 2016-12-19 00:42:54 +03:00