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

101 Commits

Author SHA1 Message Date
yangfl
70781bb14f chore(cmake): add libatomic to target_link_libraries when required
Looks like CMAKE_REQUIRED_LIBRARIES are not automatically linked against.
2019-03-28 18:18:49 +08:00
sudden6
66e2c01029
feat(notify): add desktop notifications using snorenotify
This commit adds very basic support for desktop notifications on friend
request, group invites, friend messages and group messages.
2019-03-24 11:58:09 +01:00
sudden6
8fbffa9fe7
refactor: link ressources into qtox_static library target
This allows tests to use the ressources too.
2019-03-01 10:39:20 +01:00
sudden6
489027ea1e
fix(flatpak): use SVG for icon
Flatpak doesn't allow compressed SVGs as icons because this is against
the specification.
2019-02-09 12:02:56 +01:00
Anthony Bilinski
013771c13a
feat(build): remove timestamps from build to allow reproducible builds
avoid Qt embedding timestamps into translations after copying .ts to .qm to work towards reproducible builds. Now reproducible locally as long as there is absolutely no change to environment.
2019-01-28 23:53:33 -08:00
Anthony Bilinski
8bf059bb2e
chore(ui): remove broken auto update
No need to keep it ifdef'd out in code, it can be re-added from git history instead once fixed.
2019-01-08 09:03:12 -08:00
Anthony Bilinski
6c9d7b59c1
feat(ui): add update notification enabled with -DUPDATE_CHECK
Fix #5335
2019-01-08 09:02:17 -08: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
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
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
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
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
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
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
c6a197feca
refactor: re-format and cleanup 2018-11-14 13:58:24 +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
sudden6
133ac8def8
feat(themes): make themes follow standard paths 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
Patrick
6a240141ea
fix(build):add cmake_policy for CMP0071 to suppress warinings in cmake 2018-10-04 14:09:50 +02:00
sudden6
fd99dfd0a5
feat(build): add option to enable AddressSanitizer 2018-09-04 21:33:58 +02:00
Anthony Bilinski
edb306c723
fix(build): fix default cmake build not actually being debug 2018-08-26 18:27:48 -07:00
TriKriSta
01281e87cb
Merge branch 'master' into search 2018-08-14 01:08:54 +03:00
Diadlo
671b9456a8
feat: Add spell checking
Fix #1301

Spell checking implemented by KF5Sonnet
2018-07-19 20:31:52 +02:00
Diadlo
66fe7f2852
refactor(groupwidget): Create GroupChatroom
And move some logic in 'FriendChatroom' from 'onContextMenuCalled'
2018-07-18 01:06:47 +03:00
Diadlo
059d0120be
refactor: Add FriendChatroom (model to FriendWidget) 2018-07-12 15:32:35 +03:00
sudden6
20ca6c84c8
refactor(core): move Tox_Options handling to separate file 2018-06-27 18:34:59 +02:00
sudden6
c7ca261679
refactor(core): move logger to its own file 2018-06-27 18:34:55 +02:00
TriKriSta
610e04aa26 feat: use search settings 2018-06-24 21:11:20 +03:00
TriKriSta
87b340f4a1 feat: create widget for search settings 2018-06-16 13:41:31 +03:00
Yuri
aa9cff315d feat: Add the cmake option USE_CCACHE 2018-03-02 23:14:18 -08:00
TriKriSta
863c46c73d feat: add form for search 2018-02-10 17:56:16 +02:00
sudden6
1a06f85d3c
feat(l10n): add Macedonian translation 2018-01-11 22:20:17 +01:00
sudden6
196529b8e8
chore: disable broken autoupdater by default 2018-01-04 01:03:52 +01:00
Diadlo
e4537c04bc
refactor: Add IFriendSettings 2017-12-24 13:23:31 +03:00
Diadlo
bc05d531a3
refactor(video): Add video settings interface 2017-11-10 23:27:06 +03:00
Diadlo
44258b01f5
refactor(audio): Add audio settings interface 2017-11-10 23:27:06 +03:00
Diadlo
ba1581005b
refactor: Extract head widget from GenericChatForm
Also fix #2749
2017-11-10 14:08:03 +03:00
sudden6
1dce8f6468
refactor(core): rename corestructs to toxfile.cpp
It only contains this struct now.
2017-10-31 09:32:53 +01:00
Zetok Zalbavar
641a80842e
feat(l10n): add Serbian (latin) translation to UI 2017-10-29 11:36:02 +00:00
Zetok Zalbavar
3c4b1f117d
feat(l10n): add Serbian translation to UI 2017-10-29 11:36:02 +00:00
Zetok Zalbavar
76df9a4535
feat(l10n): add Persian translation to UI 2017-10-29 11:36:01 +00:00
sudden6
4149b5b252
refactor(coreav): remove unused IndexedList 2017-10-28 11:47:56 +02:00
Maxim Biro
21af6875cc feat(travis): run tests on Windows 2017-10-25 01:48:18 -04:00
Diadlo
9a543548e0
refactor(toxme): Move json generation to ToxmeData class 2017-10-13 14:56:15 +03:00
Diadlo
4a11a0eb22
refactor(profileinfo): Add profile info model class 2017-10-13 09:12:41 +03:00
Diadlo
b057f5adc6
chore: Add interface.h in project files 2017-10-11 08:51:32 +03:00
Diadlo
4e3b2291f5
refactor: Create interface for core settings 2017-10-11 08:51:32 +03:00
Diadlo
0c8c16e743
refactor: Extract DhtServer in separate file 2017-10-11 08:51:32 +03:00
sudden6
61b36d1bce
feat(identicon): add algorithm to create identicons
ported from https://github.com/sudden6/rust-identicon/blob/master/src/lib.rs
but slightly changed the algorithm
2017-10-06 23:57:51 +02:00
sudden6
68e0b462fc
chore(cmake): use cmake variable for position independent code 2017-10-06 23:04:39 +02:00