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

7479 Commits

Author SHA1 Message Date
sudden6
a82eb6f36e
feat(core): prepare qTox for groupchat saving
This change creates groups on startup of Core. We need this once
https://github.com/TokTok/c-toxcore/pull/1156 is merged to load existing
groups.
2018-11-22 08:11:18 +01:00
yangfl
ec9d9850bf chore(cmake): add missing CheckLibraryExists in CheckAtomic.cmake 2018-11-21 20:13:13 +08:00
sudden6
793d744705
test: add simple testcase for BoostrapNodeUpdater
This test just tries to connect to nodes.tox.chat and retrieve nodes.
The result is not checked yet.
2018-11-19 17:16:23 +01:00
sudden6
c3363a1fea
feat: add class to retrieve bootstrap nodes from nodes.tox.chat
This is not yet hooked up to be actually used.
2018-11-19 16:52:02 +01:00
sudden6
6ca901f936
Merge pull request #5436
yangfl (1):
      chore(cmake): check for libatomic support
2018-11-19 13:26:37 +01:00
yangfl
57fba65a37 chore(cmake): check for libatomic support
Sometimes linking against libatomic is required for atomic ops, if
the platform doesn't support lock-free atomics.

Source: https://github.com/llvm-mirror/llvm/blob/master/cmake/modules/CheckAtomic.cmake
2018-11-18 23:23:29 +08:00
sudden6
562ef28ab0
refactor(friend): remove Core dependency 2018-11-15 10:33:37 +01:00
sudden6
6cce0dae83
fix(toxoptions): handle nullptr in parameters
Use the c-toxcore default settings in case we don't have own settings.
2018-11-14 15:06:43 +01:00
sudden6
c6a197feca
refactor: re-format and cleanup 2018-11-14 13:58:24 +01:00
sudden6
0ea409054a
fix(paths): fix bugs uncovered while developing test cases
There was one directory separator too much in the path. Also improved
the documentation.
2018-11-14 11:02:21 +01:00
sudden6
55c361eb71
test(paths): add tests for paths module 2018-11-14 11:02:20 +01:00
sudden6
3ee8c665df
feat(paths): create class to combine all qTox managed paths
This will be the central location for all of qTox managed directories.
2018-11-14 11:02:17 +01:00
Anthony Bilinski
e1201f901f
chore(core): improve failed decryption error handling 2018-11-05 10:59:50 -08:00
sudden6
5c1fe52010
fix(video): correctly align data passed to toxcore
fixes #5402

c-toxcore requires each plane to be aligned at 1 byte boundaries.
Because of this bug we alligned it at 32 byte boundaries if the height
and width were a multiple of 8.
2018-11-03 15:14:15 +01:00
sudden6
9ecb6da051
Merge pull request #5415
Patrick (1):
      fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms
2018-11-02 00:50:44 +01:00
sudden6
d93648c225
refactor: remove unneccessary Nexus includes 2018-11-01 10:22:36 +01:00
sudden6
acc7058e65
refactor: remove another function from Nexus 2018-11-01 10:22:20 +01:00
sudden6
de773efec7
refactor: remove another function from Nexus 2018-10-31 01:59:22 +01:00
sudden6
6097c3f94f
refactor: remove Nexus::quit() and replace with qApp->quit()
They are doing the same.
2018-10-31 01:51:20 +01:00
sudden6
a3344a127f
refactor: remove unneeded busy waiting code 2018-10-31 01:47:45 +01:00
sudden6
bc3d3b3b13
fix(main): register IPC handlers only after starting up 2018-10-31 01:46:33 +01:00
Patrick
37e5b6ce8b
fix:(chatform): Issue 5115, use QSharedPointer for groupChatForms 2018-10-31 00:02:19 +01:00
sudden6
a1a50b4bed
Merge pull request #5413
Mick Sayson (2):
      refactor(settings): Consolidate friendProp insert logic
      fix(settings): Add mutex locks for consistency
2018-10-29 23:05:40 +01:00
sudden6
eae3074aa7
Merge pull request #5404
Monsterovich (6):
      feat(ui): Added feature to generate colors for user names in tox groups
      fix(ui): groupcolors fix1
      fix(ui): groupcolors fix2
      fix(ui): fix anything
      fix(ui): oops
      fix(ui): remove useless variable
2018-10-29 00:04:16 +01:00
Mick Sayson
24f8bbf35a fix(settings): Add mutex locks for consistency
* Risk is low here since we use a recusrive mutex
2018-10-28 14:39:52 -07:00
Mick Sayson
4af88a3775 refactor(settings): Consolidate friendProp insert logic 2018-10-28 14:39:52 -07:00
sudden6
95fc3b371d
chore: add version to appdata.xml adapt update-versions script 2018-10-28 21:39:16 +01:00
sudden6
e1e42f8d60
Merge pull request #5412
Maxim Biro (5):
      chore(windows): bump OpenSSL 1.0.2 version to the latest (1.0.2p)
      chore(windows): bump Qt 5.9 version to the latest (5.9.7)
      chore(windows): bump FFmpeg version to the latest (4.0.2)
      chore(windows): bump Opus version to the latest (1.3)
      chore(windows): bump Toxcore version to the latest (0.2.8)
2018-10-27 20:56:32 +02:00
Maxim Biro
ec7241165a
chore(windows): bump Toxcore version to the latest (0.2.8) 2018-10-27 00:51:56 -04:00
Maxim Biro
c92817a960
chore(windows): bump Opus version to the latest (1.3) 2018-10-27 00:51:54 -04:00
Maxim Biro
10076f5f09
chore(windows): bump FFmpeg version to the latest (4.0.2) 2018-10-27 00:51:53 -04:00
Maxim Biro
44093349bb
chore(windows): bump Qt 5.9 version to the latest (5.9.7) 2018-10-27 00:51:52 -04:00
Maxim Biro
7eff69d04a
chore(windows): bump OpenSSL 1.0.2 version to the latest (1.0.2p) 2018-10-27 00:51:49 -04:00
sudden6
d776e6c34f
fix: fix memory leak in CoreAV and missuse of std::uniqe_ptr 2018-10-25 08:06:31 +02:00
sudden6
7fa2dfead5
refactor(coreav): move CoreAV to the factory pattern too
- clean up error handling during construction of the Core
- prevent leaks by using unique_ptr
2018-10-25 08:06:19 +02:00
sudden6
2ab081b4a9
refactor: remove support for c-toxcore < 0.2.0
This code is only a maintainance burden and not used anymore.
2018-10-25 07:48:21 +02:00
Monsterovich
2557f5e045 fix(ui): remove useless variable 2018-10-25 02:44:11 +02:00
Monsterovich
d54e21064c fix(ui): oops 2018-10-25 02:38:43 +02:00
Monsterovich
89cb24254d fix(ui): fix anything 2018-10-25 02:38:43 +02:00
Monsterovich
a4a8e361d0 fix(ui): groupcolors fix2 2018-10-25 02:38:43 +02:00
Monsterovich
ab89ca2d8e fix(ui): groupcolors fix1 2018-10-25 02:38:43 +02:00
Monsterovich
aaf5229ece feat(ui): Added feature to generate colors for user names in tox groups 2018-10-25 02:38:43 +02:00
Anthony Bilinski
dec90ad84d
fix(ui): allow adding friends with Tox URI
Fix #5385
2018-10-24 13:22:54 -07:00
sudden6
bc51e89807
Merge pull request #5407
naxuroqa (1):
      docs(README): Fix typo in readme
2018-10-24 15:09:08 +02:00
naxuroqa
69288c6812
docs(README): Fix typo in readme 2018-10-24 14:32:14 +02:00
sudden6
cc4a6e421e
refactor(chatform): remove unused macro 2018-10-24 14:04:12 +02:00
sudden6
133ac8def8
feat(themes): make themes follow standard paths 2018-10-24 14:04:12 +02:00
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
2018-10-24 14:04:12 +02:00
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
Original work by tox-user.

The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux

Thanks to that it's no longer required to recompile the program to modify
the theme.

In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
sudden6
10a4b249bb
fix(core): remove pgc code
This code was needed for the pgc implementation, but is not needed for
minipgc
2018-10-24 13:27:16 +02:00