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

8089 Commits

Author SHA1 Message Date
Maxim Biro
a7555c6925
chore(windows): update FFmpeg to 4.2.1 2019-10-09 23:19:26 -07:00
Maxim Biro
003f8ca988
chore(windows): update OpenSSL to 1.1.1d 2019-10-09 23:19:26 -07:00
Maxim Biro
13f147141d
chore(windows): update Qt to 5.12.5 2019-10-09 23:19:26 -07:00
Maxim Biro
6bb2c7c629
feat(build): use Debian Buster for Windows cross-compilation 2019-10-09 23:19:26 -07:00
Jimi Huotari
f9488bf966
refactor(Qt): use 'asprintf' instead of 'sprintf'
Deprecated since Qt 5.14.

- https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.14&id=f8f592d5
2019-10-09 23:19:26 -07:00
Jimi Huotari
7f74d41586
refactor(Qt): use 'QLatin1String' instead of 'QLatin1Literal'
This is an undocumented Qt 2/3/4 remnant, deprecated in Qt 5.14.

- https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.14&id=3e75c296
- https://code.qt.io/cgit/qt/qtbase.git/commit/?h=5.14&id=45373c19
2019-10-09 23:19:26 -07:00
Anthony Bilinski
731a49854a
fix(core): avoid logging which bootstrap node is being connected to
Errors are parsed and printed, but which specific node is being connected to
isn't very relevant to any errors that would occur, and the nodes list is
already updated to prune offline nodes based on nodes.tox.chat periodically.
This provides some extra privacy about which connections are being made,
even though the bootstrap nodes are already public.
2019-10-09 23:18:34 -07:00
Anthony Bilinski
fe9d83d881
chore(tools): allow merging PR to whatever branch is checked out
Useful for either dev testing or merging PRs to dev branches. Also stop
updating local repo state beyond merging the PR.
2019-10-09 23:16:33 -07:00
Anthony Bilinski
e97b270584
fix(osx): create /usr/local/sbin directory for brew package installation
ffmpeg dependency unbound attempts to symlink to /usr/local/sbin, failing if
the directory does not exist. /usr/local/sbin does not exist by default on
10.13 High Sierra, so prompt to create it if it doesn't exit, and create it for
travis CI automatically.
2019-10-09 23:15:23 -07:00
Anthony Bilinski
8e597ed736
chore(travis): make travis happy by having some output - but not too much
Fix #5515

brew install might take a long time to build Qt or ffmpeg. Travis kills us if
we don't output for 10 minutes. Travis also kills us if we output too much, so
verbose isn't an option. So just output some dots...
2019-10-09 23:07:24 -07:00
Anthony Bilinski
6fb5b205f4
fix(ci): upgrade travis to xcode9.3 to get macos 10.13 with brew support
Brew now only officially supports Mac OS 10.13-10.15, which means our
previously used 10.12 had fewer binary packages available, meaning we had to
compile more ourselves, causing CI to timeout.
https://docs.travis-ci.com/user/reference/osx#macos-version
https://github.com/Homebrew/brew/pull/6500

Fix #5515
2019-10-09 16:15:16 -07:00
Anthony Bilinski
da4928b704
fix(icon): make busy notification icon translucent in middle 2019-10-03 22:34:00 -07:00
Anthony Bilinski
64ebe01f9b
refactor(core): change hideous error parsing macro to overload
Reduce type duplication by caller, and stop calling functions based on string
concatenation
2019-10-03 19:44:35 -07:00
Anthony Bilinski
11ef88a8ac
refactor(core): use automatic memory for toxcore string buffers
Avoid reinterpret_casts in Core, offload reinterpretation to model classes
2019-10-02 02:15:21 -07:00
Anthony Bilinski
f77396a09e
refactor(core): parse and log all toxcore errors
Use a macro to embed line number of call sight, instead of just using line
number of log site, since logger functions can be called from different
toxcore API usages.
2019-10-02 02:15:21 -07:00
Anthony Bilinski
2e173ec6ad
refactor(core): move stateless parsing functions to anonymous namespace 2019-10-02 02:15:21 -07:00
Vincas Dargis
fa86413b1b 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.
2019-09-29 15:44:51 +03:00
Vincas Dargis
a01d31445f 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.
2019-09-29 15:42:26 +03:00
Vincas Dargis
2d22a76ed3 feat(apparmor): Add AppArmor 2.13.3 profile
Copy 2.13.2 into 2.13.3 for updated AppArmor profile.
2019-09-29 15:39:28 +03:00
sudden6
ffcf501ba4
Merge pull request #5850
Jimi Huotari (2):
      refactor(Qt): use 'QLatin1String' instead of 'QLatin1Literal' part 2
      refactor(Qt): use 'storeRelaxed()' and 'loadRelaxed()'
2019-09-29 14:00:45 +02:00
Anthony Bilinski
b95bac238d
fix(chatlog): update precise selection when chatlog content changes
Fix #5769. Precise selections (within one chatline) need to be invalidated when
the line they are apart of is removed from the chatlog.
2019-09-28 18:00:20 -07:00
Anthony Bilinski
08b2c848e2
refactor(chatlog): use enum class instead of enum to avoid implicit casts 2019-09-28 17:07:06 -07:00
sudden6
8536139341
Merge pull request #5825
Maxim Biro (1):
      feat: add Fcitx and Uim support to AppImage
2019-09-28 14:26:31 +02:00
sudden6
0e3cd7fe6b
Merge pull request #5829
jessica181920 (1):
      fix(i18n): Various English fixes
2019-09-28 14:25:18 +02:00
sudden6
9e6bf39526
Merge pull request #5847
Mick Sayson (1):
      fix(chatlog): Remove invalid usages of raw chatlog indexes
2019-09-28 14:21:55 +02: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
Jimi Huotari
4f83187ce0 refactor(Qt): use 'QLatin1String' instead of 'QLatin1Literal' part 2
This is required when building against Qt 5.14.
2019-09-25 13:47:42 +03:00
sudden6
df27f49677
Merge pull request #5840
jessica181920 (1):
      docs: Remove FreeBSD from Linux
2019-09-23 21:40:05 +02:00
sudden6
6d176c23f8
Merge pull request #5845
Maxim Biro (7):
      feat(build): use Debian Buster for Windows cross-compilation
      chore(windows): update Qt to 5.12.5
      chore(windows): update OpenSSL to 1.1.1d
      chore(windows): update FFmpeg to 4.2.1
      chore(windows): update VPX to 1.8.1
      fix(build): fix SQLCipher build issue with OpenSSL 1.1.1 on Windows
      fix(build): fix OpenAL Soft failing to build with newer CMake
2019-09-23 21:38:43 +02:00
Mick Sayson
4b691f9392 fix(chatlog): Remove invalid usages of raw chatlog indexes
ChatLogIdx is a strong type where the underlying data is only supposed
to be used in very rare circumstances. The ChatLog providing the indexes
provides no guarantees about what the first ChatLogIdx or last
ChatLogIdx will be. This commit removes unnecessary casts to underlying
data and fixes assumptions made about the underlying data
2019-09-21 14:26:14 -07:00
Maxim Biro
b8d3182d06
fix(build): fix OpenAL Soft failing to build with newer CMake 2019-09-19 15:29:51 -04:00
Maxim Biro
cf8b89c5cb
fix(build): fix SQLCipher build issue with OpenSSL 1.1.1 on Windows 2019-09-19 15:29:47 -04:00
Maxim Biro
53b1f6081d
chore(windows): update VPX to 1.8.1 2019-09-19 15:29:45 -04:00
Maxim Biro
bf392e1036
chore(windows): update FFmpeg to 4.2.1 2019-09-18 19:58:42 -04:00
Maxim Biro
a2d6203172
chore(windows): update OpenSSL to 1.1.1d 2019-09-18 19:58:40 -04:00
Maxim Biro
02dbdd3b99
chore(windows): update Qt to 5.12.5 2019-09-17 22:01:25 -04:00
Maxim Biro
4fdedba6c0
feat(build): use Debian Buster for Windows cross-compilation 2019-09-17 21:41:17 -04:00
Anthony Bilinski
af02542e05
fix(db): prepare and execute queued statements one at a time
* Allows for queued preparations to depend on the execution of previous statements
2019-09-17 00:49:27 -07:00
Anthony Bilinski
e4f73011f9
fix(core): don't log critical on every group join
It's expected behaviour that the peer is unknown when first joining a group.

Fix #5118
2019-09-17 00:45:17 -07:00
jessica181920
7ed9ff5e8c docs: Remove FreeBSD from Linux
Fixes #5802
2019-09-16 22:09:01 -04:00
Anthony Bilinski
7cd20f0e28
Merge branch 'v1.17-dev' 2019-09-16 13:22:15 -07:00
Anthony Bilinski
9e70dbff4b
Merge pull request #5837
jessica181920 (1):
      fix: Remove unnecessary null pointer check
2019-09-16 13:09:38 -07:00
jessica181920
20f948bc08 fix: Remove unnecessary null pointer check
Fixes #5785
2019-09-16 14:22:40 -04:00
Anthony Bilinski
3d7a872f1a
fix(core): save tox profile when updating group or friend states
Makes sure persistent groups are stored in the case of a qTox crash.
2019-09-15 19:04:02 -07:00
Anthony Bilinski
f7a2a7d648
fix(widget): only change group title once
Before we were connecting the same signal to the same slot for each group we created.
2019-09-15 19:04:02 -07:00
Anthony Bilinski
602671c9dc
fix(core): don't set core status on connect, just update UI 2019-09-15 19:04:02 -07:00
Anthony Bilinski
f846b6cdaa
Merge pull request #5819
TriKriSta (1):
      fix: hide current date at the top of the chat
2019-09-15 18:46:21 -07:00
TriKriSta
bbbbc6aade
fix: hide current date at the top of the chat 2019-09-15 17:31:45 -07:00
Anthony Bilinski
31f1c746b6
Merge pull request #5827
Mick Sayson (1):
      fix(chatlog): Prepare geometry changes on chatline proxy
2019-09-14 12:38:15 -07:00
jessica181920
11b34c84ef fix(i18n): Various English fixes
Consistency, typos, grammatical corrections, capitalization, punctuation,
etc.
2019-09-14 15:00:59 -04:00