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

6167 Commits

Author SHA1 Message Date
Diadlo
365d703e8a
perf: Pass std::function by reference 2017-06-12 13:46:38 +03:00
Diadlo
7895bcdaa0
refactor: Remove useless check
uint32_t always greater of equal 0
2017-06-12 12:42:54 +03:00
Diadlo
9a0632b0cf
fix: Using foreach to iterate through CFLAGS_OTHER
PkgConfig use 'separate_arguments' for pkgconfig result, so output
converted to the list (in cmake it's semicolumnt separated values).
If we try to append CFLAGS_OTHER as is, it will provide error for
more then one cflag in '.pc' file

Fix #4175, fix #4457.
2017-06-11 13:23:33 +03:00
Diadlo
d90a60bdf7
revert: "fix: Replace hardcored roaming path on QStandartPath"
Fix #4449
This reverts commit f616ff36b6.
2017-06-10 09:55:29 +03:00
Zetok Zalbavar
6b3e03ca6a
chore(travis): fix deployment of jenkins branch for bugfix tags
Bugfix tags contain backported patches, and thus they aren't shown by
the `git describe`. Thus trust that Travis provides correct branch name
for the tag to push to `for-jenkins-release` branch.
2017-06-06 20:43:33 +01:00
Zetok Zalbavar
cf72136b14
chore(build): don't update version numbers via cmake
Scripts updating versions in source depend on GNU sed which is sometimes
not set as the default on some OSes.

With the change, one will need to manually call the update script before
releases.

Fixes #4439.
2017-06-06 19:54:13 +01:00
sudden6
98a01dfefc
Merge pull request #4440
ezavod (1):
      fix(ui): add date message before info messages
2017-06-04 23:52:13 +02:00
Diadlo
542834c884
chore: Enable testing on OSX 2017-06-04 23:10:50 +03:00
Diadlo
b8ae494ef3
test: Replace check on Qtest 2017-06-04 23:10:50 +03:00
Diadlo
f616ff36b6
fix: Replace hardcored roaming path on QStandartPath
Fix #4436

In most system user can change AppData location, so hardcored path can
lead to the wrong directory.
2017-06-04 23:09:40 +03:00
sudden6
099dd30f80
chore(build): remove linux and macos from qmake build file
This is one step to migrate to cmake
2017-06-03 22:32:46 +02: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
d87f222c5c
Merge pull request #4427
Zatsepin Nikita (1):
      fix(chatform): add space for current copy link
2017-05-31 13:50:03 +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
sudden6
86c5bb9414
Merge pull request #4421
ezavod (1):
      fix(ui): Set `Qt::Window` flag in multi windows mode
2017-05-30 12:52:59 +02:00
Zatsepin Nikita
41a781d3f8 fix(chatform): add space for current copy link 2017-05-29 00:14:23 +03: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
Diadlo
4664c6249a
refactor(core): Remove unused Core::reset method 2017-05-24 19:43:47 +03:00
Diadlo
c2f82f7808
fix(IPC): Add update profileId in to IPC
Fix #4384
2017-05-24 19:41:54 +03:00
sudden6
54a269e8c4
Merge pull request #4407
ezavod (1):
      fix(ui): switch to settings after multiple windows mode
2017-05-17 23:05:35 +02:00
sudden6
9428092a3d
Merge pull request #4404
Mario Preksavec (1):
      fix: gcc-7 build
2017-05-14 23:36:18 +02:00
Mario Preksavec
246e23abf3 fix: gcc-7 build 2017-05-14 20:38:02 +02: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
1ca5a1039d
Merge pull request #4402
sudden6 (1):
      chore(version): update version
2017-05-14 12:54:16 +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
sudden6
9aca348db9
Merge pull request #4391
Łukasz Żarnowiecki (1):
      fix(settings): compute toxcore version in runtime
2017-05-14 12:48:20 +02:00
Zetok Zalbavar
1d71952dc5
docs(MAINTAINING): update instructions for release version bump 2017-05-13 22:12:15 +01:00
Zetok Zalbavar
2f05ff0947
Merge pull request #4403
Mario Preksavec (1):
      chore(INSTALL): update Slackware links in INSTALL.md
2017-05-13 22:07:49 +01:00
Mario Preksavec
bb32c84b2a chore(INSTALL): update Slackware links in INSTALL.md 2017-05-13 22:40:36 +02:00
sudden6
bad0c27e33
chore(version): update version 2017-05-13 14:58:21 +02:00
Diadlo
6420dc62ec
chore(qmake): Remove micfeedbackwidget from qtox.pro
Fix #4392
2017-05-12 22:26:47 +03:00
sudden6
d78a979021
fix(qtox.pro): add openal.h and openal.cpp
fix #4380
2017-05-12 08:48:03 +02:00
Diadlo
22bf431cdd
Merge pull request #4396
Maxim Biro (1):
      fix(core): use correct byte representation when bootstrapping
2017-05-12 08:13:14 +03:00
Maxim Biro
4e5b191553 fix(core): use correct byte representation when bootstrapping
Revert a bug introduced in d126b18d76
where qTox calls tox_bootstrap() and tox_add_relay() with an invalid
argument, which results in qTox not connecting to the bootstrap nodes
from its list of bootsrap nodes and therefore failing to connect to the
Tox DHT network in the case when that list is the only source of nodes
to connect to. The invalid argument is node's public key, which is
non-nullable but is passed a null due to invalid ToxPk object being
constructed. ToxPk's constructor expects the QByteArray argument to be
the byte representation of a public key, but a textual representation
is passed to it instead, which creats an invalid ToxPk that resolves to
null when queried for public key's bytes for calls to  tox_bootstrap()
and tox_add_relay().

Fixes #4385
2017-05-11 17:19:28 -04: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
Zetok Zalbavar
7f006b35a7
chore(README): add gitter badge to README.md 2017-05-11 11:20:55 +01:00
sudden6
e4d4f14793
Merge pull request #4382
Jerome Pinguet (1):
      fix(profile): set maxLength on userName QLineEdit
2017-05-10 09:24:05 +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
a913f150e1
Merge pull request #4381
Yuri (1):
      fix(macro): Fixed clang warning about USING_V4L
2017-05-08 23:40:48 +03:00