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

7769 Commits

Author SHA1 Message Date
Vincas Dargis
e233d6a23e
docs(apparmor): Update AppArmor documentation.
Ubuntu 19.10 (and latest Debian, openSUSE rolling releases) has AppArmor
2.13.3. Recommend to use latest AppArmor profile for these distribution
releases.

(cherry picked from commit fa86413b1b)
2020-11-22 19:57:35 -08:00
Vincas Dargis
99321c95c3
feat(apparmor): Update AppArmor 2.13.3 profile
AppArmor 2.13.3 now has updated abstractions, and that means we no
longer need manual backports in qTox profile.

Remove redundant rules from qTox profile that are already available in
AppArmor 2.13.3.

(cherry picked from commit a01d31445f)
2020-11-22 19:57:29 -08:00
Vincas Dargis
3db20a608b
feat(apparmor): Add AppArmor 2.13.3 profile
Copy 2.13.2 into 2.13.3 for updated AppArmor profile.

(cherry picked from commit 2d22a76ed3)
2020-11-22 19:57:22 -08:00
Jimi Huotari
d9c3279c40
refactor(Qt): fix build with Qt 5.15
This fixes compile-time warnings about deprecated functions when
building with Qt 5.15.

(cherry picked from commit 6d51971c6f)
2020-11-22 19:56:59 -08:00
sudden6
5a46d3c28e
Merge pull request #6253
powerjungle (2):
      fix(translation): match text to translation files
      fix(translation): match text to translation files part 2
2020-11-18 23:58:35 +01:00
sudden6
b0f37063e7
Merge pull request #6250
powerjungle (3):
      feat(logging): check if current code is tagged
      fix(logging): check if version is stable before other checks
      refactor(logging): change VERSION_REGEX_STRING to a const
2020-11-18 23:55:51 +01:00
powerjungle
98976547fe
fix(translation): match text to translation files part 2
Fixes various issues around the tree.
2020-11-17 14:07:32 +02:00
powerjungle
251beb5b70
fix(translation): match text to translation files
For "Search Contacts" and "By Name".
2020-11-17 11:07:07 +02:00
powerjungle
54d8c35b82
refactor(logging): change VERSION_REGEX_STRING to a const 2020-11-15 15:55:52 +02:00
powerjungle
0ee37a7a09
fix(logging): check if version is stable before other checks
Because the other checks will exit the function before it reaches that if.
2020-11-15 15:23:50 +02:00
powerjungle
90cc962802
feat(logging): check if current code is tagged
This commit adds a new define called "GIT_DESCRIBE_EXACT" through cmake.
It is checked with a regex in "updatecheck.cpp" for a version number after the
check for new updates. If there is no version number,
a warning is output to log.

The reason for the new define is to avoid doing too much regex on
"GET_DESCRIBE", since "GIT_DESCRIBE_EXACT" will not contain a version number if
the code is not tagged.
2020-11-14 12:36:26 +02:00
sudden6
44008d11bb
chore: move OSX to use Brewfile 2020-11-06 23:23:06 +01:00
sudden6
aca94300c8
Merge pull request #6240
Maxim Biro (10):
      chore(windows): update OpenSSL to 1.1.1h
      chore(windows): update Qt to 5.12.9
      chore(windows): update FFmpeg to 4.3.1
      chore(windows): update QREncode to 4.1.1
      chore(windows): update VPX to 1.9.0
      chore(windows): update Expat to 2.2.10
      refactor(windows): Snorenotify build script
      fix(windows): libsnore-qt5 not being installed
      refactor(Windows): unify whitespaces in NSIS scripts
      fix(windows): iconengines not being installed
2020-11-04 22:30:40 +01:00
Maxim Biro
1e50c123dc
fix(windows): iconengines not being installed 2020-10-06 19:28:41 -04:00
Maxim Biro
169009f550
refactor(Windows): unify whitespaces in NSIS scripts
While two files differ only by 3 lines, there were many unnecessary
whitespace differences between them.
2020-10-06 19:21:45 -04:00
Maxim Biro
827b2c2210
fix(windows): libsnore-qt5 not being installed 2020-10-06 19:06:08 -04:00
Maxim Biro
7803a7e0d6
refactor(windows): Snorenotify build script
Fixing 7409e6b4cc.
2020-10-04 23:22:23 -04:00
Maxim Biro
a59c960d81
chore(windows): update Expat to 2.2.10 2020-10-04 09:16:37 -04:00
Maxim Biro
2e1999e2ca
chore(windows): update VPX to 1.9.0 2020-10-04 09:12:11 -04:00
Maxim Biro
cca17b2341
chore(windows): update QREncode to 4.1.1 2020-10-04 09:05:00 -04:00
Maxim Biro
ea3d618223
chore(windows): update FFmpeg to 4.3.1 2020-10-04 08:52:54 -04:00
Maxim Biro
dc78f410f0
chore(windows): update Qt to 5.12.9 2020-10-04 08:32:47 -04:00
Maxim Biro
c2c7ee90e2
chore(windows): update OpenSSL to 1.1.1h 2020-10-04 08:30:16 -04:00
sudden6
e28c6a1c8b
Merge pull request #6229
papadave66 (1):
      fix(translation): Fix Simplified Chinese format and add a message
2020-09-16 19:15:03 +02:00
sudden6
b9331f2f2a
Merge pull request #6228
Douglas Rhine (1):
      chore(flatpak): update deps and bump runtime to 5.15
2020-09-06 13:10:15 +02:00
papadave66
d48d02a1ed fix(translation): Fix Simplified Chinese format and add a message
in advanced settings tab.
2020-09-04 22:08:30 +08:00
Douglas Rhine
78d132b423
chore(flatpak): update deps and bump runtime to 5.15 2020-09-04 13:14:25 +01:00
sudden6
db205bea57
refactor(profile): remove some uses of Settings::getInstance() 2020-08-29 00:45:21 +02:00
Anthony Bilinski
4fab6faea6
Merge pull request #5934
TriKriSta (5):
      fix(ui): implement and connect reloadTheme in leaf classes
      refactor: delete classes that were used to reload theme
      refactor: save friendScroll as a class member
      refactor: reorder of includes
      fix: clear custom style before update style
2020-08-28 13:35:59 -07:00
TriKriSta
a97c53313a
fix: clear custom style before update style 2020-08-28 10:26:40 -07:00
TriKriSta
6b77446c82
refactor: reorder of includes 2020-08-28 10:26:38 -07:00
TriKriSta
14f4188401
refactor: save friendScroll as a class member 2020-08-28 10:26:34 -07:00
TriKriSta
b11a09d3e4
refactor: delete classes that were used to reload theme 2020-08-28 10:26:26 -07:00
TriKriSta
3bf3128a4f
fix(ui): implement and connect reloadTheme in leaf classes
This allows leaf classes to update independently when the GUI has changed themes, without
their parent having to call updateTheme() manually.

Fix #5924
Fix #5592
2020-08-28 10:19:53 -07:00
sudden6
9971bc3a1e
refactor(core): make construction independent of CoreAV
Allows to construct a Core object without also starting CoreAV.
2020-08-28 13:12:27 +02:00
Anthony Bilinski
0f5ba08fd2
fix(settings): Unlock Settings mutex before emitting setting changed signals
When a setting is set it locks the Settings mutex and emits a signal for that
setting. If a slot is connected to that signal and lives on the same thread as
Settings, it is executed immediately with the Settings mutex still locked. That
slot can then lock a series of other mutexes. During this time another thread
can lock a mutex and then try to read settings, which will cause a deadlock due
to the opposite order of multiple mutex locking. By always emitting signals
after unlocking the Settings mutex, we avoid holding the Settings mutex while
executing slots.

Fix #6218
2020-08-27 18:44:19 -07:00
Anthony Bilinski
6801098651
fix(settings): Emit correct signal when spellchecking is updated 2020-08-27 10:55:06 -07:00
Anthony Bilinski
cbead16742
feat(ui): Make auto-accept size 0 wording less ambiguous
0 disables the max size, but doesn't disable auto-accept in its entirety.
2020-08-26 03:42:21 -07:00
sudden6
85e9aeea2f
refactor(core): finally remove Core::getInstance
This makes Core completly independent of Nexus
2020-08-24 23:24:51 +02:00
sudden6
b0295b7c0a
refactor(chatlog): remove getInstance from ChatlogItem 2020-08-24 23:24:24 +02:00
Anthony Bilinski
7409e6b4cc
feat(chat): Add snore to Windows build and install for desktop notifications 2020-08-19 16:27:46 -07:00
Anthony Bilinski
db1397d69c
chore(travis): revert 8e597ed736
https://github.com/qTox/qTox/pull/5866 both updated our travis xcode version,
and also added the dots in 8e597ed736. When macOS
was updated by Apple, older versions aged out of support, and brew also stopped
supporting them. Our travis xcode9.2 at the time stopped getting binary
packages (kegs) from brew because of that, and started having to compile
packages which is what was causing the timeouts.

Updating our xcode version allowed us to get binary packages from brew again,
so the workaround of constant output to avoid timing out while compiling large
packages is no longer needed.
2020-08-19 15:49:18 -07:00
Anthony Bilinski
1d1d2b26af
fix(tools): Add Windows to toxcore version update script 2020-08-19 10:54:56 -07:00
Anthony Bilinski
1f1cb2f5f9
fix(tools): Use correct hash when automatically updating flatpak version
Before v0.2.9 would be sorted below v0.2.12, giving the wrong hash.
2020-08-19 10:54:56 -07:00
Anthony Bilinski
e90edbf5c2
chore(build): Update Windows toxcore build to v0.2.12
It was missed during the last update.
2020-08-19 10:54:55 -07:00
Anthony Bilinski
56151ea6fd
fix(osx): Allow rebuild using build script
Was failing if directory was already present on -i
2020-08-19 04:05:43 -07:00
Anthony Bilinski
360cde9d36
fix(osx): Fix missing variables in macOS build script 2020-08-19 04:05:43 -07:00
Anthony Bilinski
a68f5bcc6f
fix(travis): Install virtualenv for nightly build upload script 2020-08-19 03:11:54 -07:00
sudden6
3612e94f5f
refactor: cleanup Widget 2020-08-16 21:32:05 +02:00
sudden6
5fdadadfb5
refactor: remove getInstance() from friendchatroom.cpp 2020-08-16 12:47:33 +02:00