tWido
33162c9674
refactor(core): use STL random implementation insted of Qt
...
use STL <random> libs to reduce version specific code
Closes #6017
2020-12-22 16:37:05 +01:00
sudden6
f37813ff88
refactor: move translations to their own module
2020-07-03 15:46:07 +02:00
Anthony Bilinski
431fd7bfa2
Merge pull request #6073
...
Anthony Bilinski (1):
fix(notification): hide snore warning log spam
Mick Sayson (2):
feat(notification): Notification string generator for multiple messages
feat(notification): Notifications now always replace the previous one
2020-07-02 01:34:34 -07:00
Anthony Bilinski
ca4f9df1ee
fix(notification): hide snore warning log spam
...
snorenotify logs this when we call requestCloseNotification correctly. The
behaviour still works, so we can just mask the warning for now. The issue has
been reported upstream:
https://github.com/qTox/qTox/pull/6073#pullrequestreview-420748519
2020-07-02 01:29:25 -07:00
sudden6
811a754edd
refactor: remove getInstance from toxuri.cpp
2020-06-30 22:09:26 +02:00
sudden6
8768f6be37
refactor: remove unused OSX platform code
2020-06-22 01:12:35 +02:00
sudden6
a90f0762d9
refactor(cmake): change folder structure
...
The new folder structure will be like this:
/<module>/CMakeLists.txt
/<module>/src/file.cpp
/<module>/include/<module>/file.h
/<module>/<subdir>/<...>
2020-05-11 16:45:52 +02:00
Anthony Bilinski
5d56a3c039
refactor(paths): move Settings path functions into Paths
2020-05-10 18:03:47 -07:00
Jimi Huotari
6d51971c6f
refactor(Qt): fix build with Qt 5.15
...
This fixes compile-time warnings about deprecated functions when
building with Qt 5.15.
2020-03-17 13:31:36 +02:00
Anthony Bilinski
f7d82a425d
Merge branch 'v1.17-dev'
2019-10-21 23:49:36 -07:00
jenli669
b4bc09345c
fix(loginScreen): make loginScreen return values comply with Qt standards
...
This commit makes LoginScreen return QDialog::Rejected (0) and
QDialog::Accepted (1) instead of C standard return values. This should be more
robust with regards to special cases in Qt implementation.
Fixes #5781
2019-10-18 16:24:53 -07:00
Jimi Huotari
c20e1c20e3
refactor(Qt): use 'storeRelaxed()' and 'loadRelaxed()'
...
This fixes build with Qt 5.14 by replacing the deprecated
QAtomic::load() and store() functions with the new ones.
- https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.14&id=79bdc7cf
2019-10-09 23:19:27 -07:00
Jimi Huotari
82b61d416f
refactor(Qt): use 'storeRelaxed()' and 'loadRelaxed()'
...
This fixes build with Qt 5.14 by replacing the deprecated
QAtomic::load() and store() functions with the new ones.
- https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.14&id=79bdc7cf
2019-09-25 13:48:08 +03:00
Anthony Bilinski
8a210d524b
Merge branch 'v1.17-dev'
2019-09-02 21:22:04 -07:00
jenli669
bd034e130d
docs(usermanual): Add information about commandline options
2019-09-02 21:05:04 -07:00
jenli669
31fec7488f
feat(proxy): provide commandline tools for proxy settings
2019-09-02 21:05:01 -07:00
jenli669
79128b445d
docs(usermanual): Add information about commandline options
2019-09-02 17:28:02 +02:00
Anthony Bilinski
9dd083978e
fix(ipc): handle ipc failure gracefully
...
Allows running qTox inside jails that block IPC.
Fix #5740
2019-08-29 13:55:54 -07:00
jenli669
3e1e1f6087
feat(proxy): provide commandline tools for proxy settings
2019-08-29 13:43:27 +02:00
jenli669
74377430ce
feat(login): generate a GUI error when auto login fails
2019-08-26 23:21:40 -07:00
jenli669
e55e50d510
fix(login): show login screen when autologin fails
...
fixes #5781
2019-08-26 23:18:13 -07:00
jenli669
8832234758
feat(login): generate a GUI error when auto login fails
2019-08-13 21:25:55 +02:00
jenli669
a3bbf5c41d
fix(login): show login screen when autologin fails
...
fixes #5781
2019-08-12 23:11:18 +02:00
jenli669
00449937d4
refactor(profile): simplify Profile constructor
...
Simplifies Profile constructor by passing Settings instance by
reference during loadProfile and createNewProfile calls.
2019-08-09 22:48:14 +02:00
Anthony Bilinski
fae9066be6
fix(log): don't attempt to close log file if it failed to open on exit
2019-06-28 02:48:12 -07:00
jenli669
04a9bc46f4
docs(copyright): update and add copyright info
...
zealously updates and adds qTox copyright information.
Fixes #5713
2019-06-28 01:18:26 +02:00
jenli669
b9876f3342
refactor(startup): check parser args with empty(), not size()
2019-06-25 10:17:14 +02:00
jenli669
ea2510157c
refactor(startup): decouple loginscreen from model
2019-06-25 10:17:07 +02:00
sudden6
22362d2940
refactor(audio): Remove Audio singleton
...
This commit finally removes the Audio singleton and allocates the audio
backend in main.cpp.
2019-05-21 21:05:27 +02: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
Anthony Bilinski
18b52ce568
fix: register RowId meta type for use in fileInserted signal
2019-03-21 14:00:59 -07:00
Anthony Bilinski
edf6b67313
refactor(core): strong type message receipt and row ID
...
Avoid implicit casting and invalid arithmetic.
2019-01-28 10:58:54 -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
sudden6
bc3d3b3b13
fix(main): register IPC handlers only after starting up
2018-10-31 01:46:33 +01:00
sudden6
5033fc3f5d
refactor: remove unused includes and don't set Tox as organization
...
Having "Tox" as Organization results in all standard paths being "Tox/
qTox" instead of "qTox". Since there is no such thing as "Tox"
organization I removed it.
2018-10-24 14:04:12 +02:00
Anthony Bilinski
7839a26083
fix(settings): save settings early on Windows shutdown
...
Need to save before top level window is closed.
Fix #1969
2018-09-14 10:26:23 -07:00
iphydf
52a5951d26
chore: Use nullptr
instead of 0
for NULL pointer constants.
2018-09-07 21:38:59 +00:00
sudden6
24e7c4efd4
refactor(core): format code
2018-07-05 17:10:26 +02:00
sudden6
7f7b29e55e
refactor(core): use smart pointers instead of raw pointers
2018-07-05 17:05:41 +02:00
Andrius Štikonas
c1caeb585a
fix(wayland): Fix desktop file name in Qt properties
...
fixes #5141
2018-05-14 19:24:16 +01:00
Anthony Bilinski
1af3ad69e8
fix(login): start login screen on profile select by -p option
2018-04-26 13:43:10 -07:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files
2018-04-25 17:33:38 -07:00
Anthony Bilinski
703876c372
fix(login): Don't dereference null pointer
...
Fix #5032
2018-03-24 17:04:31 -07:00
tox-user
23f6ad7047
fix: remove build date and time from main.cpp
...
This is the first step to having reproducible builds. It
should allow to make an identical build in the same environment
and increase privacy when sharing logs, because the build time
was not in UTC.
2018-03-22 23:09:17 +00:00
Anthony Bilinski
d2ad2107f2
fix(IPC): Update profileName to update IPC ID after login screen
...
Fix #4948
Fix #5025
2018-03-21 02:37:14 -07:00
sudden6
11f263ffc3
refactor(nexus): make loginscreen independent of nexus
2018-02-01 22:00:06 +01:00
sudden6
196529b8e8
chore: disable broken autoupdater by default
2018-01-04 01:03:52 +01:00
Diadlo
c274cec87e
fix(ipc): Add check if IPC init failed
...
Also add error code to debug message.
Partially fix #4785
2017-11-22 22:59:51 +03:00
anthony.bilinski
0906b8eb1f
feat(login): Add command line argument to open login screen
...
Fixes #4673
2017-09-26 13:41:46 -07:00