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

8149 Commits

Author SHA1 Message Date
TriKriSta
79c7d6e4b1 style: add spaces in the resources file 2018-12-16 15:00:31 +02:00
TriKriSta
147cec3312 refactor: rename a css file. 2018-12-15 13:33:51 +02:00
Anthony Bilinski
8db744a505
feat(core): set group title for loaded groups
Replace double static_cast of pointer with reinterpret_cast.
reinterpret_cast in unsafe because the underlying data may be
meaningless in the new type, static cast to void then to a new pointer
type has exactly the same problem. This is our intention here.
2018-12-14 09:19:50 -08:00
Anthony Bilinski
cbf2a1801f
Merge pull request #5354
Anthony Bilinski (2):
      feat(db): add file hash to file history
      refactor(files): change ToxFile's fileName to QString

Mick Sayson (5):
      refactor(files): Refactor FileTransferWidget
      feat(db): Support schema version upgrades
      feat(db): Database support for file history
      feat(db): Hookup file history to the rest of the system
      feat(db): File transfer history review comments
2018-12-14 08:34:53 -08:00
Anthony Bilinski
84362244da
refactor(files): change ToxFile's fileName to QString 2018-12-14 00:33:27 -08:00
Anthony Bilinski
c8ffa1f921
fix(settings): repair saved invalid proxy type due to #5311 2018-12-09 15:10:21 -08:00
TriKriSta
a63eb0ed2f refactor: add colors to QTabBar 2018-12-09 23:20:46 +02:00
TriKriSta
61720c1591 refactor: edit default theme 2018-12-09 18:38:14 +02:00
Anthony Bilinski
e80dbe2d83
fix(db): use SQLCipher 3.x crypto even with SQLCipher 4.x
Fix #5451
2018-12-08 11:30:49 -08:00
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