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

5881 Commits

Author SHA1 Message Date
Vincas Dargis
bf8ecb4419 docs(coding): add guides about string usage
Add guides about using QStringLiteral, QLatin1String, QLatin1Char and QStringBuilder for more efficient strings.

Qt uses uses these techniques internally and can be considered as good coding practice when working with Qt libraries.
2017-06-20 20:30:17 +03:00
Diadlo
b39a15873d
Merge pull request #4467
Yuri (1):
      feat(toxid): Show NoSpam and checksum parts of ToxID in colors.
2017-06-16 14:18:34 +03:00
Zetok Zalbavar
b40733b62f
Merge pull request #4463
Alice Weigt (1):
      fix(bootstrap): qrencode url
2017-06-16 11:47:55 +01:00
Alice Weigt
f90da3d07a fix(bootstrap): qrencode url
Updated qrencode url to https and added error checking if the cert gets in the way.
2017-06-15 13:32:35 -07:00
Yuri
c0951a5675 feat(toxid): Show NoSpam and checksum parts of ToxID in colors.
Also added the explanation to the ToxID tooltip message.
2017-06-15 08:02:09 -07:00
Diadlo
a9e96e5928
Merge pull request #4464
Alice Weigt (1):
      feat(audio):OutgoingCallSound
2017-06-15 13:30:27 +03:00
Alice Weigt
a06ad7048e feat(audio):OutgoingCallSound
Adds outgoing call sound when call is started
2017-06-14 15:19:30 -07:00
Diadlo
23ed1a3966
refactor: Move iterator declaration in foreach scope
Narrow the iterator scope
2017-06-12 13:46:43 +03:00
Diadlo
3f7380db48
refactor: Add deleted copy constructor
GenericChatItemLayout allocates memory in constructor, so it's require a
copy constructor. Because we don't copy it I've declare this constructor
as deleted
2017-06-12 13:46:43 +03:00
Diadlo
6045e57829
refactor: Make constructor with one argument explicit 2017-06-12 13:46:43 +03:00
Diadlo
6e697053a7
refactor: Reorder FrameBufferKey
Reordered to be same with docs and prototype.
2017-06-12 13:46:43 +03:00
Diadlo
6c4c5d86fc
refactor: Remove audioInputFlag and audioOutputFlag
They exists in the parent class
2017-06-12 13:46:43 +03:00
Diadlo
efcad35fd5
fix: Fix warning about stack protection
Replace local array on stack with dynamic size on QByteArray with
dynamic size
2017-06-12 13:46:42 +03:00
Diadlo
8e93af7fca
refactor: Add copy and move assignment operator to toxid and toxpk
Add assignment operator to classes which has copy constructor
2017-06-12 13:46:42 +03:00
Diadlo
365d703e8a
perf: Pass std::function by reference 2017-06-12 13:46:38 +03:00
Diadlo
7895bcdaa0
refactor: Remove useless check
uint32_t always greater of equal 0
2017-06-12 12:42:54 +03:00
Diadlo
9a0632b0cf
fix: Using foreach to iterate through CFLAGS_OTHER
PkgConfig use 'separate_arguments' for pkgconfig result, so output
converted to the list (in cmake it's semicolumnt separated values).
If we try to append CFLAGS_OTHER as is, it will provide error for
more then one cflag in '.pc' file

Fix #4175, fix #4457.
2017-06-11 13:23:33 +03:00
Diadlo
d90a60bdf7
revert: "fix: Replace hardcored roaming path on QStandartPath"
Fix #4449
This reverts commit f616ff36b6.
2017-06-10 09:55:29 +03:00
Zetok Zalbavar
6b3e03ca6a
chore(travis): fix deployment of jenkins branch for bugfix tags
Bugfix tags contain backported patches, and thus they aren't shown by
the `git describe`. Thus trust that Travis provides correct branch name
for the tag to push to `for-jenkins-release` branch.
2017-06-06 20:43:33 +01:00
Zetok Zalbavar
cf72136b14
chore(build): don't update version numbers via cmake
Scripts updating versions in source depend on GNU sed which is sometimes
not set as the default on some OSes.

With the change, one will need to manually call the update script before
releases.

Fixes #4439.
2017-06-06 19:54:13 +01:00
sudden6
98a01dfefc
Merge pull request #4440
ezavod (1):
      fix(ui): add date message before info messages
2017-06-04 23:52:13 +02:00
Diadlo
542834c884
chore: Enable testing on OSX 2017-06-04 23:10:50 +03:00
Diadlo
b8ae494ef3
test: Replace check on Qtest 2017-06-04 23:10:50 +03:00
Diadlo
f616ff36b6
fix: Replace hardcored roaming path on QStandartPath
Fix #4436

In most system user can change AppData location, so hardcored path can
lead to the wrong directory.
2017-06-04 23:09:40 +03:00
sudden6
099dd30f80
chore(build): remove linux and macos from qmake build file
This is one step to migrate to cmake
2017-06-03 22:32:46 +02:00
ezavod
ed45359863
fix(ui): add date message before info messages
Fixes #4388.
Separated date message in its own function.
Also added date message before info messages like it is already done with normal chat messages.
2017-06-03 18:12:59 +02:00
Diadlo
331a8f1006
refactor: Split 'onChatrootWidgetClicked' on 2 methods
onChatrootWidgetClicked was used for 2 different actions.
Now it's splitted on 'activate' and 'openNewDialog'
2017-06-02 18:49:08 +03:00
Diadlo
4d15aed53f
fix: Fix freez on circle removing
Fix #4419
2017-06-02 18:48:09 +03:00
sudden6
dd60edb3d7
Merge pull request #4432
ezavod (1):
      refactor(ui): set icon in dialog constructor
2017-06-01 21:13:52 +02:00
sudden6
a3b234e6dd
chore(formatting): run clang-format 2017-06-01 09:50:59 +02:00
sudden6
a1181e10f2
chore(formatting): disable clang-format for certain code sections 2017-06-01 09:49:32 +02:00
ezavod
b518aa8488
refactor(ui): set icon in dialog constructor
Fixes #4430.
Moved `setWindowIcon` to dialog constructor and removed all other occurrences.
2017-05-31 18:42:08 +02:00
sudden6
d87f222c5c
Merge pull request #4427
Zatsepin Nikita (1):
      fix(chatform): add space for current copy link
2017-05-31 13:50:03 +02:00
sudden6
46c848c07f
Merge pull request #4424
ezavod (1):
      fix(ui): do not save splitter state in multiple windows mode
2017-05-30 12:55:01 +02:00
sudden6
86c5bb9414
Merge pull request #4421
ezavod (1):
      fix(ui): Set `Qt::Window` flag in multi windows mode
2017-05-30 12:52:59 +02:00
Zatsepin Nikita
41a781d3f8 fix(chatform): add space for current copy link 2017-05-29 00:14:23 +03:00
ezavod
7e5387cad2
fix(ui): do not save splitter state in multiple windows mode
In multiple windows mode there are no two widgets that are separated by the splitter, there is just one widget.
This changes the splitter state without the users intention.
2017-05-27 17:12:34 +02:00
ezavod
6b767e4765
fix(ui): Set Qt::Window flag in multi windows mode
This sets the flag to `Qt::Window` for open dialogs in multi windows mode.
Commit changes the appearance of non-chat windows (Settings, Add Friend, ...).
2017-05-26 16:25:02 +02:00
Diadlo
65b1463933
refactor(core): Move setAvatar to profile from core 2017-05-24 19:43:47 +03:00
Diadlo
4664c6249a
refactor(core): Remove unused Core::reset method 2017-05-24 19:43:47 +03:00
Diadlo
c2f82f7808
fix(IPC): Add update profileId in to IPC
Fix #4384
2017-05-24 19:41:54 +03:00
sudden6
54a269e8c4
Merge pull request #4407
ezavod (1):
      fix(ui): switch to settings after multiple windows mode
2017-05-17 23:05:35 +02:00
sudden6
9428092a3d
Merge pull request #4404
Mario Preksavec (1):
      fix: gcc-7 build
2017-05-14 23:36:18 +02:00
Mario Preksavec
246e23abf3 fix: gcc-7 build 2017-05-14 20:38:02 +02:00
ezavod
0c98f6a548
fix(ui): switch to settings after multiple windows mode
Switch back to settings after disabling multiple windows mode instead of switch to add friend page.
2017-05-14 20:36:18 +02:00
sudden6
1ca5a1039d
Merge pull request #4402
sudden6 (1):
      chore(version): update version
2017-05-14 12:54:16 +02:00
sudden6
50768abbab
Merge pull request #4394
Yuri (1):
      fix(message size): Replaced TOX_MAX_*_LENGTH with API calls.
2017-05-14 12:53:41 +02:00
sudden6
afeca313ba
Merge pull request #4389
ezavod (1):
      fix(ui): restore splitter state
2017-05-14 12:51:52 +02:00
sudden6
9aca348db9
Merge pull request #4391
Łukasz Żarnowiecki (1):
      fix(settings): compute toxcore version in runtime
2017-05-14 12:48:20 +02:00
Zetok Zalbavar
1d71952dc5
docs(MAINTAINING): update instructions for release version bump 2017-05-13 22:12:15 +01:00