Diadlo
bb08d628fb
refactor: Rewrite getDialog
2018-12-27 09:15:24 +03:00
Diadlo
9129f256fa
refactor: Rewrite widget exists check
2018-12-27 09:15:24 +03:00
Diadlo
b806f9e7e3
refactor: Rewrite focus{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
2b3918b25e
refactor: Remove using of remove{Friend,Group}
2018-12-27 09:15:24 +03:00
Diadlo
ee5a7d8e94
refactor: Move some methods back to ContentDialog
...
Store in ContentDialog list of widgets and list of ContentDialogs in
ContentDialogManger
2018-12-27 09:15:24 +03:00
Diadlo
7ad8607c43
refactor: Create ContentDialogManager
...
Move all static methods from ContentDialog to ContentDialogManger. Make
if singletone for the first time. Also move some methods to avoid
compile errors.
2018-12-27 09:15:24 +03:00
Diadlo
a446d9b197
refactor: Remove ContentDialog::openNewDialog
...
It duplicates logic on Widget::openNewDialog
2018-12-27 09:15:24 +03:00
sudden6
e1d912bbeb
Merge pull request #5472
...
Diadlo (1):
fix: Store groupId in D&D mime data
2018-12-26 23:37:35 +01:00
sudden6
ed821462c9
Merge pull request #5467
...
TriKriSta (1):
fix: check valid date in getDateWhereFindPhrase
2018-12-26 23:20:57 +01:00
Diadlo
8499a71092
fix: Store groupId in D&D mime data
...
Fix drag and drop for groups
2018-12-26 14:29:38 +03:00
sudden6
7aed694e45
chore(appimage): upstream renamed the branch
2018-12-25 19:33:04 +01:00
TriKriSta
c3095ab150
fix: check valid date in getDateWhereFindPhrase
2018-12-22 00:36:38 +02:00
sudden6
ea9f429838
Merge pull request #5457
...
TriKriSta (4):
refactor: edit default theme
refactor: add colors to QTabBar
refactor: rename a css file.
style: add spaces in the resources file
2018-12-17 11:27:08 +01:00
Anthony Bilinski
f2e8567b21
Merge pull request #5366
...
Mick Sayson (2):
fix(transfer): Accurately represent pause state in UI
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 14:51:02 -08:00
Mick Sayson
3615425234
refactor(transfer): Remove unnecessary split for pause send/recv
2018-12-16 13:51:04 -08:00
Mick Sayson
293a1d615c
fix(transfer): Accurately represent pause state in UI
...
Toxcore has a 3 state pause, us, them, or both. Currently our UI
messes up if both parties pause. This changeset changes our UI behavior
to show whether we're paused, or if we are waiting on the remote to
unpause.
2018-12-16 13:51:03 -08:00
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