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

6620 Commits

Author SHA1 Message Date
sudden6
037f66928e
Merge pull request #4343
alexrazinkov (1):
      refactor: another refactoring step

noavarice (7):
      refactor: literals replaced with constants
      refactor: remove unnecessary methods
      refactor: refactored message-adding methods
      refactor: sorted (several removed) headers, class declarations and fields
      docs: added docs to some GenericChatForm methods
      refactor: returned correct code style
      refactor: another small changes
2017-04-25 21:48:30 +02: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
5b31cf6d9d
fix(profile): toxsave wasn't correctly encrypted
fix #4344
2017-04-23 13:51:31 +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
Diadlo
17abfe3753
Merge pull request #4322
noavarice (4):
      refactor: SmileyPack refactoring
      refactor: removed meaningless 'isValid' method
      docs: added docs for SmileyPack
      refactor: returned correct code format and some other small changes
2017-04-19 21:27:03 +03:00
noavarice
39035f7b68 refactor: returned correct code format and some other small changes 2017-04-19 18:19:19 +03:00
noavarice
5329899d86 docs: added docs for SmileyPack 2017-04-19 18:19:19 +03:00
noavarice
935c1a2aa8 refactor: removed meaningless 'isValid' method 2017-04-19 18:19:19 +03:00
noavarice
e0f1a01a74 refactor: SmileyPack refactoring
Brief list of changes:
  - removed unnecessary headers;
  - QList several times replaced with QVector for faster iteration;
  - some other things
2017-04-19 18:19:18 +03: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
sudden6
c417071ee8
Merge pull request #4334
noavarice (1):
      fix: fix OpenAL name
2017-04-16 18:42:29 +02:00
noavarice
8a77723a89 fix: fix OpenAL name 2017-04-15 23:25:21 +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
b68ad4ced2
feat(audio): don't use dynamic memory allocation and remove resource leak 2017-04-14 09:09:56 +02:00
sudden6
d33b7eb76d
Merge pull request #4331
noavarice (1):
      fix: fixed segfault after accepting group invite
2017-04-12 23:31:07 +02:00
noavarice
532e05cb0f fix: fixed segfault after accepting group invite
Fix #4327
Description:
  - QString::arg call with mulpiple arguments replaced with chained
    QString::arg calls;
  - dynamic memory allocation for array of names replaced with
    allocation on the stack, unfortunately I do not notice this while
    making Core refactoring.
Also code style is formatted with script
2017-04-12 22:57:31 +03:00
Zetok Zalbavar
6de129fef1
fix(UI): rename qTox.desktopqtox.desktop to fix displaying icon
Apparently qTox's icon is not displayed under Plasma Wayland session
when its desktop file name differs from the executable name.

Fixes #4323.
2017-04-11 23:41:55 +01:00
sudden6
c472cdcab5
Merge pull request #4328
Yuri (1):
      fix(includes): Added missing #include <ctime>
2017-04-12 00:15:55 +02:00
Yuri
e597d391fc fix(includes): Added missing #include <ctime>
time(3) requires this include. Found when qTox failed to build on the FreeBSD due to the missing include.
2017-04-11 00:04:48 -07:00
sudden6
084f3b0626
feat: stop using plaintext passwords in the code 2017-04-08 12:24:29 +02:00
sudden6
0f54e44262
Merge pull request #4305
ezavod (1):
      feat(chatform): mark message with triple click
2017-04-07 18:40:07 +02:00
Zetok Zalbavar
04c280f702
docs(INSTALL): list development dependencies 2017-04-04 19:15:59 +01:00
sudden6
20db8b740b
fix(core): don't continue when the tox file is corrupted 2017-04-04 11:43:24 +02:00
sudden6
8028281069
Merge pull request #4316
noavarice (3):
      refactor: Core refactoring
      refactor: next part of Core refactoring
      refactor: returned correct code format
2017-04-04 09:38:42 +02:00
noavarice
c1e01710b4 refactor: returned correct code format 2017-04-03 21:05:25 +03:00
noavarice
931e5803cd refactor: next part of Core refactoring
Changes:
  - several parts of code extracted into single methods;
  - fixed several TODO's
2017-04-03 16:13:56 +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
Zetok Zalbavar
c8ed535bba
fix(UI): improve unclear message about text being resized in chatform 2017-04-02 18:41:43 +01:00
Zetok Zalbavar
a4a5d29b65
Merge pull request #4310
NWeyand (1):
      chore(build): Added warning message against using the project file
2017-03-31 12:39:05 +01:00
sudden6
50a31bc507
Merge pull request #4288
noavarice (3):
      refactor: removed unnecessary headers and updated copyright info
      refactor: slight refactoring of ChatForm class
      refactor: onTextEditChanged method refactoring
2017-03-30 22:39:43 +02:00
NWeyand
1c08b19d91
chore(build): Added warning message against using the project file
The project file is deprecated and should not be used anymore as project
file for development. Adding a warning to that effect could help future
contributors while figuring out what they need to do to get started with
qTox.

Signed-off-by: NWeyand <nweyand@users.sourceforge.net>
2017-03-30 11:42:58 +00:00
Zetok Zalbavar
533c60b44f
Merge pull request #4304
NWeyand (2):
      docs(INSTALL): updated Windows build instructions
      docs(INSTALL): added note about possible false positives on some anti virus SW
2017-03-30 04:35:49 +01: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
sudden6
aeb9df0750
refactor(core): reduce line lenghts 2017-03-28 21:57:14 +02:00
sudden6
3e50757ddb
refactor(profile): reduce code duplication 2017-03-28 21:57:13 +02:00
sudden6
c7375e7f3d
Merge pull request #4300
ezavod (1):
      fix: set CSS font-weight of editbox  always to normal
2017-03-28 21:50:39 +02:00
NWeyand
7d316009cd
docs(INSTALL): added note about possible false positives on some anti virus SW
Signed-off-by: NWeyand <nweyand@users.sourceforge.net>
2017-03-28 15:59:06 +00:00
ezavod
3acbc148f5 feat(chatform): mark message with triple click
This is an implementation of proposal #4003.
2017-03-28 17:20:01 +02:00