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

1768 Commits

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