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

7583 Commits

Author SHA1 Message Date
Anthony Bilinski
00d08d9887
Merge branch 'v1.17-dev' 2020-04-24 18:37:27 -07:00
Anthony Bilinski
4c5783f4e5
Merge branch 'v1.17-dev' 2020-04-24 18:35:38 -07:00
Anthony Bilinski
c748b5a8d0
Merge branch 'v1.17-dev' 2020-04-24 18:35:00 -07:00
sudden6
750f67773f
Merge pull request #6107
iphydf (1):
      chore: remove extra ;
2020-04-24 13:48:04 +02:00
sudden6
c549479c0d
chore(release): add changelog for v1.17.1 2020-04-23 00:40:37 -07:00
iphydf
58b4c19709
chore: remove extra ;
These are misleading in some cases, or at least not useful in others.
Most cases of Q_UNUSED in qtox don't have a ;, so this seems acceptable.
2020-04-22 23:55:51 +00:00
Anthony Bilinski
48c688bf1b
fix(ci): remove jenkins deploy step
jenkins is no longer used for release builds, and it's causing travis to fail
to deploy
2020-04-22 17:17:11 +02:00
Douglas Rhine
5f70d5d3d3
chore(flatpak): update runtime to 5.14 2020-04-22 17:17:11 +02:00
sudden6
fd8edb80d5
Merge pull request #6103
Douglas Rhine (1):
      chore(flatpak): update runtime to 5.14
2020-04-22 17:12:46 +02:00
Douglas Rhine
442850ac59
chore(flatpak): update runtime to 5.14 2020-04-20 15:08:50 +01:00
sudden6
9fffd7bca5
chore(release): add changelog for v1.17.0 2020-04-20 00:11:10 +02:00
sudden6
0f5c5482db
chore(release): update qTox version to 1.17.0 2020-04-19 23:26:57 +02:00
sudden6
9e7f2a67dc
Merge pull request #6093
iphydf (1):
      fix(osx): OSX updater dependency moved.
2020-04-19 17:04:06 +02:00
sudden6
1bd5e94edd
Merge pull request #6094
iphydf (1):
      chore: Various code cleanups.
2020-04-19 16:57:08 +02:00
iphydf
28341d8457
fix(osx): Add camera and microphone usage description.
NSCameraUsageDescription and NSMicrophoneUsageDescription are needed on
newer macOS versions (10.14+) to get access to camera/microphone. This
text is shown to the user when they need to press the "allow" button.
2020-04-18 18:24:58 -07:00
sudden6
3d89b41e99
chore: update to Qt 5.12.8 for Windows 2020-04-18 16:10:53 -07:00
Anthony Bilinski
2c59c92030
fix(db): Support opening and upgrading to any of three SQLCipher params
Fix #5952
2020-04-18 14:39:41 -07:00
sudden6
0f338f749c
Merge pull request #6092
iphydf (1):
      fix(osx): Add camera and microphone usage description.
2020-04-17 00:42:46 +02:00
iphydf
e71225268f
chore: Various code cleanups.
* Reorder class data members and/or constructor initialisers to match,
  reducing confusion about when members will be initialised.
* Remove (most) unused variables. Not removed: some global variables with
  `TODO(sudden6)` on them for using them in the future. I don't know how
  far into the future sudden6 wants to use them, so I left them there for
  now.
* Distinguish different bootstrap nodes in the logs by index in the
  bootstrap node list. Originally, we used to log the address/port of the
  node we're bootstrapping to. This was removed out of privacy concerns
  (even though the bootstrap nodes are public). This made the logs much
  less useful when debugging why the client isn't connecting. Having
  indices makes it easier to see that different nodes are being selected,
  and makes it possible to determine which node was selected.
* Explicitly cast unused results of Tox API functions to `void` when all
  we want is to know whether the function succeeds or not.
* Don't try to `#include <unistd.h>` on Windows. It does not exist on
  MSVC.
* Remove extra `;` after function definitions.
* Remove reference indirection of QJsonValueRef, since a copy of that ref
  (small pointer-like object) has to be made anyway when iterating over
  QJsonArrays.
* Make some file-scope global state `static`.
* Use `nullptr` instead of `NULL`.
* Add `#if DESKTOP_NOTIFICATIONS` around the code that implements desktop
  notifications, so it becomes a bit easier to compile everything with a
  single compiler command - useful for manually running static analysers.
* Fix an error on MSVC where `disconnect` is looked up to be a non-static
  member function and the `this` capture is missing.
* Consistently use `struct` and `class` tags for types.
* Use references in ranged-for where it reduces copies.
* Move private static data members out of the Style class and into
  file-local scope. There is no need for them to be in the class. Also
  marked them `const` where possible.
* Removed unused lambda capture.
* Ensure qTox can compile under NDEBUG with `-Wunused-variable` by
  inlining the unused variable into the `assert` that was its only
  target.
* Minor reformatting in core_test.cpp.
2020-04-16 19:07:40 +00:00
iphydf
6d99e9099f
fix(osx): OSX updater dependency moved. 2020-04-16 15:47:51 +00:00
iphydf
5f1338dd78
fix(osx): Add camera and microphone usage description.
NSCameraUsageDescription and NSMicrophoneUsageDescription are needed on
newer macOS versions (10.14+) to get access to camera/microphone. This
text is shown to the user when they need to press the "allow" button.
2020-04-16 15:46:50 +00:00
Anthony Bilinski
deb7fbb67c
fix(db): Add half-upgraded cipher params
Our previous SQLCiper upgrade code attempted to set SQLCipher 4.0
default params. If SQLCipher 3.x was used at that time, it would result
in only half upgrading the params, since SQLCipher 3.x doesn't support
PRAGMA cipher_hmac_algorithm or PRAGMA cipher_kdf_algorithm. This means
that our databases could be saved with any of three sets of SQLCipher
params.
2020-04-14 23:38:44 -07:00
Anthony Bilinski
2fe1918083
feat(ipc): make IPC user specific
This allows multiple users on a system each running qTox to use IPC at once.

Fix #6076
2020-04-14 20:32:12 -07:00
Anthony Bilinski
d028f9e394
chore(cleanup): replace remaining deprecated toxcore enums
Some were missed in 5ae738f818.

Fix #5997
2020-04-13 09:25:20 -07:00
Anthony Bilinski
40989e54d8
chore(ci): don't use git --no-merges for git commit message checking
When doing a short clone, like travis does, git can't tell if the
oldest commit is a merge of not. Just allow either commit message
format for all commits, and rely on reviewers and common sense to not
name normal commits "Merge.*"

Fix #6051
2020-04-13 02:26:36 -07:00
Anthony Bilinski
35f89612ff
chore(cleanup): don't add semicolon to Q_DECLARE_METATYPE
Remove missed cases from ad042b09e0.

Fix #6007
2020-04-13 01:06:30 -07:00
TriKriSta
c13ede85df
fix(ui): add vertical spacer to profileform 2020-04-13 00:56:39 -07:00
Anthony Bilinski
7b7950e7f7
revert(chatlog): "load messages from the database after date"
This reverts commit b705ac8060.
2020-04-12 22:40:11 -07:00
Anthony Bilinski
c75d8c8d3e
revert(chatlog): "edit function "Load chat history""
This reverts commit 6de1173c17.
2020-04-12 22:40:11 -07:00
Anthony Bilinski
8e03aa4b17
revert(chatlog): "edit load history in search"
This reverts commit 8c4b1e00a1.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
5efb0ba020
revert(chatlog): "add action "Go to current date""
This reverts commit 2a9648d12c.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
8c3f3199ef
revert(chatlog): "edit position chat after load history"
This reverts commit c2d5b422b3.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
ccc7107f92
revert(chatlog): "remove part messages from chat"
This reverts commit 4c7ecb6024.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
3f36b31f8b
revert(chatlog): "simple edit code"
This reverts commit b807998fe9.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
8f167f45a3
revert(chatlog): "edit load history when scrolling"
This reverts commit 0a9e72020e.
2020-04-12 22:40:10 -07:00
Anthony Bilinski
bd0ef5de82
revert(chatlog): "prohibition to remove messages in group chat"
This reverts commit 5aeac56b76.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
3ac6b578df
revert(chatlog): "fix a crash when there are no messages to load"
This reverts commit 040c6b95ae.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
35c5e77a8a
revert(chatlog): "fix: data validation during the search"
This reverts commit acb91ed731.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
6395ce3aae
revert(chatlog): "feat: check chat status before start a search"
This reverts commit ce570927b1.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
c1d0624b5d
revert(chatlog): "feat: save selected search text after scrolling up"
This reverts commit dbf880078e.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
83d5863bbe
revert(chatlog): "optimize load messages during the search"
This reverts commit 6de307e6b9.
2020-04-12 22:40:09 -07:00
Anthony Bilinski
306bbb424e
revert(chatlog): "update workerStb"
This reverts commit 177bf12f11.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
4cd443ae7b
revert(chatlog): "scroll bar stuck to bottom (fix #5755)"
This reverts commit 38df897e02.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
efff8d53c9
revert(chatlog): "add comments for functions that load history"
This reverts commit 5fc1afbab5.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
5d44cd773f
revert(chatlog): partially revert "prevent invalid history access"
This partially reverts commit e3e6e1d9c4.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
b04639c6d0
revert(chatlog): "fix stick to bottom behavior"
This reverts commit f2fa601073.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
5da1e4b9a8
revert(chatlog): "enable dynamic view range in chatlog with history disabled"
This reverts commit a7f3495956.
2020-04-12 22:40:08 -07:00
Anthony Bilinski
9888bc2d80
fix(build): disable Werror by default, keep enabled on CI
To allow for easier building with different compilers on user systems. Keep
strict checks on CI to make sure new warnings aren't ignored.
2020-04-12 16:30:17 -07:00
Anthony Bilinski
bd339d2cb6
chore(build): stop using removed cmake options
Options were removed in https://github.com/qTox/qTox/pull/5888
2020-04-12 01:52:06 -07:00
Anthony Bilinski
b2b2fa149e
Merge pull request #6074
bodwok (1):
      fix(chatlog): fixed rendering of new messages when scrolling up
2020-04-12 00:02:23 -07:00