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

7252 Commits

Author SHA1 Message Date
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
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
NWeyand
2c7f945326
docs(INSTALL): updated Windows build instructions
Signed-off-by: NWeyand <nweyand@users.sourceforge.net>
2017-03-28 00:36:55 +00:00
Zetok Zalbavar
b173d4677c
docs(CONTRIB): add index of sections to CONTRIBUTING.md
Should help people who feel lost scrolling through lots of stuff there.
2017-03-27 15:44:36 +01:00
sudden6
2e4ac3c6ac
Merge pull request #4285
DX37 (1):
      chore(build): Remove '-pie' linker flag in qtox.pro for Windows
2017-03-26 10:18:13 +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
Zetok Zalbavar
9236763865
docs(INSTALL): fix formatting after github changed its markdown parser 2017-03-24 12:51:40 +00:00
DX37
6e9c097531 chore(build): Remove '-pie' linker flag in qtox.pro for Windows
This, again, fixes #4280, but now for qmake, which I forgot to edit.

This should finally fix Windows Jenkins builds.
2017-03-24 16:01:21 +06:00
sudden6
f839abf33f
Merge pull request #4281
DX37 (1):
      chore(build): Remove '-pie' linker flag and fix strmiids dependency on Windows
2017-03-24 10:20:40 +01:00
sudden6
e9515f4898
fix: remove useless line that caused a warning 2017-03-23 13:36:29 +01:00
sudden6
feea196ad2
Merge pull request #4279
noavarice (2):
      test: added case for multiple URL's in one message
      fix: fixed wrong formatting for multiple URL's in one message
2017-03-23 13:35:22 +01:00
DX37
f6b8601897 chore(build): Remove '-pie' linker flag and fix strmiids dependency on Windows
One part fixes #4280 (removing this flag giving qTox on Windows able to start properly), another part fixes my mistake in #4258 (strmiids still needed for
linking, but previous searching of this libstrmiids.a wasn't include, for example, '/mingw32/i686-w64-mingw32/lib'. So I just add this lib to $ALL_LIBRARIES,
because it exists in system by default).
2017-03-23 14:54:27 +06:00
noavarice
08208e9aa5 fix: fixed wrong formatting for multiple URL's in one message
Fix #4275
I did not consider that replacing one substring with another will point
to shifting position of next URL found with regexp. That's the behavior
of Qt's "QRegularExpression" class - it takes a string into constructor
and seems to make its copy inside so changing source string does not
affect this regex object
2017-03-22 14:23:57 +03:00
noavarice
d34ac1e396 test: added case for multiple URL's in one message 2017-03-22 14:10:23 +03:00
sudden6
6b5d25acc7
Merge pull request #4273
Flemming Richter (2):
      chore(build): add missing dependencies and fix make path
      chore(build): switch from ffmpeg2-devel to libav*-devel for OpenSUSE
2017-03-22 10:48:06 +01:00
Flemming Richter
2a093936e3 chore(build): switch from ffmpeg2-devel to libav*-devel for OpenSUSE
Switched to libav*-devel because ffmpeg-devel is not available on
OpenSUSE in the official repos, and libav*-devel provides the headers
for FFmpeg 3.x series.
2017-03-22 01:37:27 +01:00
Diadlo
84e73f300a
fix(README): Fix mardown to correct display on github 2017-03-22 00:36:50 +03:00
Flemming Richter
9b3d919d27 chore(build): add missing dependencies and fix make path
This commit adds the following fixes to simple_make.sh
 - cmake -H -B is undocumented and not officially supported, so replace
   it with the standard way
   Fixes #4267
 - fix build via "opensuse" docker image
   + zypper in sudo (if not installed)
   + replace external program "which" with shell built-in "command -v"
   + update and sorte depencies for OpenSUSE
   + improve the distro test, as OpenSUSE may have apt installed, but
     not necessarily lsb_release.

Note:
OpenSUSE has no package called ffmpeg-devel in the official repos, but it
it has ffmpeg2-devel.
2017-03-21 02:20:12 +01:00
Diadlo
74356abda4
docs: Add docs to ContentDialog 2017-03-21 01:38:03 +03:00