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

7693 Commits

Author SHA1 Message Date
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
sudden6
c5e21be0f8
refactor: remove getInstance() from groupchatroom.cpp 2020-08-16 12:47:33 +02:00
sudden6
040a833d56
refactor: remove getInstance from filetransferwidget.cpp 2020-08-16 12:47:30 +02:00
Anthony Bilinski
7dfd93bd91
fix(tools): use a subdirectory for release source archives
Fix #6203
2020-08-09 14:43:43 -07:00
Anthony Bilinski
b357de02e0
chore(circleci): remove explicit out of date xcode to always use default
Fix #6193
2020-08-09 13:19:08 -07:00
Anthony Bilinski
c2483f474a
chore(travis): use curl instead of wget to connect to libsodium
wget was failing to negotiate with download.libsodium.org since it doesn't
support TLS 1.0

Fix #6191
2020-08-04 23:06:45 -07:00
Anthony Bilinski
f5c813bdb9
Merge pull request #6184
Jimi Huotari (1):
      fix(cmake): use the 'STATIC' argument for 'translations_library'
2020-07-05 16:41:49 -07:00
Jimi Huotari
5ba63af9cb fix(cmake): use the 'STATIC' argument for 'translations_library'
Fix running qTox in environments that set 'BUILD_SHARED_LIBS=ON' at
build-time.

Thanks-to: Andreas Sturmlechner <asturm@gentoo.org>
Closes: https://github.com/qTox/qTox/issues/6183
2020-07-05 21:17:38 +03:00
Anthony Bilinski
ede0418b4f
Merge pull request #6182
bodwok (2):
      refactor: connection to parent method in toxuri.cpp
      refactor: connection to parent method in toxuri.cpp
2020-07-04 16:52:36 -07:00
bodwok
06ff723c0d
refactor: connection to parent method in toxuri.cpp 2020-07-04 21:32:57 +03:00
bodwok
3c513e2c53
refactor: connection to parent method in toxuri.cpp 2020-07-03 18:13:08 +03:00
sudden6
34c1a1e96b
refactor(cmake): fix missing dependency 2020-07-03 15:46:07 +02:00
sudden6
f37813ff88
refactor: move translations to their own module 2020-07-03 15:46:07 +02:00
sudden6
0335f20362
fix: Qt ressource system usage
Make use of the `AUTORCC` feature of cmake to simplify adding resource
files to qTox.

Fixes #6144
2020-07-03 15:45:57 +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
Anthony Bilinski
535b01a841
fix(preview): handle libexif missing fields, don't accept 0-value orientation
Last fix was a hack when the error was actually us using the default 0 value of
orientation since the returned ExifData was null.
2020-07-01 12:52:47 -07:00
Anthony Bilinski
5dcea74db5
fix(core): read proxy type after personal settings are loaded
Profile is required to load personal settings, and Profile was creating the
bootstraplist using personal settings. Instead create the bootstraplist in
initCore, after personal settings have been loaded. This avoids using an
uninitialized proxy type on every profile load.
2020-07-01 12:49:24 -07:00
sudden6
8dfd108cb8
chore: brew kde repository moved 2020-07-01 20:57:59 +02:00
sudden6
811a754edd
refactor: remove getInstance from toxuri.cpp 2020-06-30 22:09:26 +02:00
sudden6
def038a897
Merge pull request #6180
Maxim Biro (2):
      fix(build): cache debug deps during 2nd stage
      refactor(build): remove specific string tests
2020-06-23 19:06:41 +02:00
Maxim Biro
af78a42187
refactor(build): remove specific string tests
What we really want to test is if the variable is set/defined/non-empty.
2020-06-22 18:32:51 -04:00
Maxim Biro
a686468bfd
fix(build): cache debug deps during 2nd stage 2020-06-22 18:32:36 -04:00
sudden6
8768f6be37
refactor: remove unused OSX platform code 2020-06-22 01:12:35 +02:00
sudden6
adfc91bc46
Merge pull request #6169
Maxim Biro (2):
      feat(windows): Build our own gdb
      chore(build): Update copyright year
2020-06-19 23:19:10 +02:00
sudden6
6d344f211b
Merge pull request #6167
Maxim Biro (2):
      feat(windows): Link all Windows deps dynamically
      feat(windows): Make sure no dlls are missing
2020-06-19 23:18:21 +02:00
sudden6
1c29152f9c
Merge pull request #6166
Maxim Biro (1):
      fix: Usage of random
2020-06-08 08:42:22 +02:00