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

7190 Commits

Author SHA1 Message Date
Mick Sayson
25005c5c19 feat(db): File transfer history review comments 2018-12-05 21:15:14 -08:00
sudden6
2ff649e80d
Merge pull request #5449
yangfl (1):
      chore(cmake): let CMake choose which platform dependent code to compile
2018-12-04 18:38:58 +01:00
yangfl
6d0885f396 chore(cmake): let CMake choose which platform dependent code to compile
Macros can be hard to manipulate and vary among different compilers and
platforms. For example, GNU Hurd has `__MACH__` defined but not
`__APPLE__`.

Let CMake choose them during configuration.
2018-12-03 16:06:33 +08:00
Anthony Bilinski
8427be6678 feat(db): add file hash to file history
Not currently used, but there are plans to display if a transfered file
has been modified, which the file hash will be needed for. Adding file
hash at the same time as file history also saves a db schema update.
2018-12-02 14:40:54 -08:00
Mick Sayson
d9b39b3102 feat(db): Hookup file history to the rest of the system 2018-12-02 14:40:53 -08:00
Mick Sayson
567ddfb203 feat(db): Database support for file history 2018-12-02 14:35:18 -08:00
Mick Sayson
fb805b9cdb feat(db): Support schema version upgrades 2018-12-02 14:35:04 -08:00
Mick Sayson
157be30b11 refactor(files): Refactor FileTransferWidget
Rational here is that the current FileTransferWidget is quite
entangled with core logic. If we are going to instantiate the
FileTransferWidget without an active file transfer the widget needs to
behave sanely without getting messages from toxcore. This changeset is
an attempt to allow us to move from any FileTransferWidget state to any
other state without having to go through the appropriate state
transitions.
2018-12-02 14:35:04 -08:00
sudden6
f188409b8c
fix(autocomplete): don't auto-complete own nick
In the process also remove the dependency of the auto completer on Core.
2018-11-22 17:52:54 +01:00
sudden6
1ebcac4460
chore(README.md): add Debian and Ubuntu repositories 2018-11-22 16:23:08 +01:00
sudden6
63f56b7c29
Merge pull request #5441
yangfl (1):
      chore(cmake): add missing CheckLibraryExists in CheckAtomic.cmake
2018-11-22 16:22:05 +01:00
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