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

154 Commits

Author SHA1 Message Date
Anthony Bilinski
dd007877a9
refactor(status): move Status out of Widget 2019-04-24 10:35:15 -07:00
Anthony Bilinski
e1f7edd298
chore(i18n): add pt_BR translation 2019-04-24 09:01:32 -07:00
Anthony Bilinski
97d05f9d67
refactor(id): make ContactId interface, implement GroupId
Precursor for group history, friend blocking
2019-04-13 12:58:25 -07:00
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
Diadlo
533dd3103e
chore(cmake): Fix PIE error 2017-09-26 21:00:39 +03:00
Diadlo
5b120c18ef
chore(warnings): Add -Werror flags 2017-09-26 21:00:39 +03:00
Maxim Biro
8108bfdc35 fix(build): Fixed header file of libfilteraudio not being found 2017-09-20 19:46:46 -04:00
noavarice
ad3584c469
refactor: GroupInvite moved to model directory 2017-09-17 19:54:01 +03:00
Diadlo
b0a591e0f0
refactor(aboutfriend): Add AboutFriend model and interface 2017-09-10 13:21:33 +03:00
Diadlo
8368f2413d
refactor: Rename AboutUser to AboutFriendForm 2017-09-10 13:21:32 +03:00
Vincas Dargis
32b97cb927 fix(platform): handle terminating POSIX signals
Add PosixSignalNotifier utility class to covert POSIX signals to
Qt signals and allow qTox to quit appropriately on Linux, FreeBSD
and macOS.

Might protect from data corruption bugs when application is being
terminated during I/O.

Fixes: #4470
2017-09-09 17:19:51 +03:00
Diadlo
90f4750e73
refactor(contact): Add Contact class 2017-08-06 13:55:02 +03:00
Diadlo
017653470d
refactor: Move friend and group in model directory 2017-08-06 13:55:02 +03:00
sudden6
8f2401fee6
fix(build): add install steps for libfilteraudio on OSX 2017-08-05 21:25:01 +02:00
sudden6
c715729167
feat(audio): add alternative OpenAL backend 2017-08-05 21:12:32 +02:00
Yuri
ae5cb4bcc2 fix: Keep open and share X11 connection
This prevents opening and closing of X11 connection and associated files every 1 second.
X11 connection is used for userAutoAway feature and to read CapsLock status.
2017-07-23 14:41:04 -07:00
sudden6
a9d2b03c7c
fix(build): disable linux specific stuff on windows
also fix the output formatting of used libraries
2017-07-16 13:12:37 +02:00
sudden6
7849186699
chore(build): remove unneeded stuff 2017-07-16 13:12:37 +02:00
sudden6
b4e9fc7b83
chore(build): fix formatting 2017-07-16 13:12:37 +02:00
sudden6
cf06cc7a1d
fix(cmake): fix icon for .exe file 2017-07-16 13:12:37 +02:00
sudden6
93f2c38376
chore(build): add some debug output 2017-07-16 13:12:36 +02:00
Zetok Zalbavar
bf405e17fb
feat(l10n): add Tamil translation to UI 2017-07-14 07:26:30 +01:00
sudden6
ab62221375
fix(build): when building without XSS extension 2017-07-13 18:39:00 +02:00
Diadlo
70428771fd
Merge pull request #4481
Yuri (1):
      fix(v4l): Fixed CMakeLists.txt for v4l on FreeBSD
2017-06-21 22:18:29 +03:00
Yuri
dfe696e25a fix(v4l): Fixed CMakeLists.txt for v4l on FreeBSD
Fix #4459
MATCH FreeBSD was missing in CMakeKusts.txt.
2017-06-21 07:24:40 -07:00
sudden6
6b7c0c738b
fix(build): add missing rcc options
This should reduce the qTox binary size.
2017-06-21 11:44:21 +02:00
Diadlo
542834c884
chore: Enable testing on OSX 2017-06-04 23:10:50 +03:00
Diadlo
d77cb084d6
refactor: Remove unused MicFeedback widget 2017-05-08 22:11:41 +03:00
sudden6
28c2298ad9
feat(audio): split the audio interface from the backend library
This paves the way to support multiple audio backends
2017-05-08 10:37:05 +02:00
Zetok Zalbavar
0192e9275f
feat(l10n): add Romanian translation to UI 2017-04-30 20:18:02 +01:00
DX37
f6b8601897 chore(build): Remove '-pie' linker flag and fix strmiids dependency on Windows
One part fixes #4280 (removing this flag giving qTox on Windows able to start properly), another part fixes my mistake in #4258 (strmiids still needed for
linking, but previous searching of this libstrmiids.a wasn't include, for example, '/mingw32/i686-w64-mingw32/lib'. So I just add this lib to $ALL_LIBRARIES,
because it exists in system by default).
2017-03-23 14:54:27 +06:00
sudden6
4e548662d7
refactor(core): remove CString 2017-03-09 11:01:43 +01:00
sudden6
1f0467bb1b
refactor(core): add new class for easy string conversion 2017-03-09 11:01:34 +01:00
sudden6
aabf34ebad
refactor: remove unused file 2017-03-05 12:05:41 +01:00
Zetok Zalbavar
ceae4eca35
test: disable compiling tests on OSX since compiling them fails there 2017-03-01 18:12:41 +00:00
Diadlo
a231532bd0
fix: Add splitter restorer
Added splitter restorer, which reset splitter state if it's broken
Fix #2587
2017-02-26 03:14:57 +03:00
Diadlo
1d0a49c2b7
Merge pull request #4194
noavarice (2):
      refactor: single group invite extracted into a widget
      docs: added documentation for GroupInviteForm class
2017-02-25 20:41:36 +03:00
Zetok Zalbavar
63ace85913
chore(build): use -pie flag only when linking
If used when compiling and not just linking, clang complains about it.

Fixes #4101.
2017-02-23 08:38:10 +00:00
noavarice
adba773c6d refactor: single group invite extracted into a widget
Previously GroupInviteForm included several collections of components
which were supposed to use as a single object. Now they are replaced
with a class and all functionality related to this collections moved
there too. Also fix #3621
2017-02-22 16:19:19 +03:00
Zetok Zalbavar
43d16d9181
feat(l10n): add Chinese (Taiwan) translation to UI
Thanks to @LNDDYL for the help with what should be put in the language
name.
2017-02-21 09:24:44 +00:00
noavarice
5047a65e11 refactor: improved HTML-formatting mechanism for text messages
Added class provides text font formatting with HTML font tags
Supported stuff:
  - nested formatting;
  - several text pieces formatted with the same formatting style at the
    one message;
  - styling applies only if non-whitespace symbol follows opening
    formatting symbol and also non-whitespace symbol preceds closing
    symbol;
  - only multiline code font formatting supports new line inside of
    message text.
Also fix #3804
2017-02-19 10:06:26 +03:00
sudden6
7cd800374a
refactor(encryption): move everything to ToxEncrypt
This commit removes coreencryption.cpp and replaces it with ToxEncrypt.
2017-02-07 20:05:32 +01:00
Diadlo
0d56fb946d
chore(cmake): Add unit_test build 2017-02-07 20:10:44 +03:00
sudden6
38cecdc780
refactor(history): remove deprecated historykeeper
This commit removes historykeeper and code only used by it.

BREAKING CHANGE:
qTox can't open old historykeeper chatlogs after this commit. Use
previous versions to migrate to the new database.
2017-02-05 22:20:12 +01:00
Diadlo
fb43e30677
fix(cmake): Add ability to real disable optional dependency 2017-02-05 18:48:57 +03:00
sudden6
d07d0cfbf0
refactor(core): Introduce new class ToxEncrypt to interface with toxencryptsave 2017-01-29 13:48:43 +01:00
Diadlo
f054210a03
chore(cmake): Add icons, desktop, appdata installation
Fix #4100
2017-01-29 14:10:17 +03:00
Zetok Zalbavar
1df9f5726d
fix(l10n): rename zh translation to zh_CN
Closes #4080.
2017-01-17 20:13:16 +00:00
Zetok Zalbavar
a143cf3e9e
chore(build): make cmake use ccache when it's available
Found in
https://stackoverflow.com/questions/1815688/how-to-use-ccache-with-cmake
2017-01-11 16:23:51 +00:00
Diadlo
fddda5de61
fix(cmake): Fix smileys resource adding 2017-01-08 14:46:39 +03:00
Diadlo
c676c30d94
style: Fixed translations order 2017-01-08 14:46:39 +03:00