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

5873 Commits

Author SHA1 Message Date
ezavod
7a5c5a86fd fix: iterate all blocks
refactor: block iteration loop

refactor: replaced checks with chop()
2017-03-12 11:20:14 +01:00
sudden6
4e548662d7
refactor(core): remove CString 2017-03-09 11:01:43 +01:00
sudden6
25c279c320
refactor(core): replace CString with ToxString 2017-03-09 11:01:43 +01:00
sudden6
1f0467bb1b
refactor(core): add new class for easy string conversion 2017-03-09 11:01:34 +01:00
sudden6
bf0e6817af
refactor: correct indentation in filetransferwidget.cpp 2017-03-08 17:49:37 +01:00
Diadlo
ec81b07bb3
refactor(friend): Remove obsolete code from Friend class 2017-03-08 15:18:40 +03:00
Diadlo
ea50eaaef7
fix(core): Ignore online connection status
Fix #4010.

qTox use status system, where offline is one of the status, but toxcore
use two different meaning: 'connection' and 'user status'. To correct
qTox status handling we should ignore online connection status.
2017-03-08 08:55:17 +03:00
sudden6
9c482455a8
Merge pull request #4236
noavarice (3):
      refactor: further improvement of message formatting
      test: added test on URL highlighting in text messages
      fix: fixed documentation mistake
2017-03-07 15:03:52 +01:00
noavarice
e8ed7e1f53 fix: fixed documentation mistake 2017-03-07 15:34:52 +03:00
noavarice
e9fb073753 test: added test on URL highlighting in text messages 2017-03-06 11:55:54 +03:00
noavarice
3e2bfdd548 refactor: further improvement of message formatting
Brief list of changes:
-  names of some variables and constants were replaced for reading
   convenience;
-  URL-highlighting method moved to TextFormatter so URL's don't
   conflict with italic text formatting;
-  as I understand, in previous version 'file://' URL does not work
   because of bad regex. I fix this with help of wiki page that
   referenced in comment for old code. Important note: there are two
   equal 'file://' URL syntax: 'file:///...' and 'file://localhost/...'
   and the second one does NOT work in KDE but works in Gnome so that's
   not a bug
Fix #4233
2017-03-06 11:55:54 +03:00
sudden6
aabf34ebad
refactor: remove unused file 2017-03-05 12:05:41 +01:00
sudden6
23b8b84bc9
Merge pull request #4232
DX37 (1):
      revert: "fix(icons): Removed unnecessary icon preparation."
2017-03-05 11:26:41 +01:00
sudden6
683fd3998f
Merge pull request #4230
Yuri (1):
      fix(db): Made RawDatabase::execLater executes statements asynchronously.
2017-03-04 00:01:30 +01:00
DX37
8174a4173d revert: "fix(icons): Removed unnecessary icon preparation."
This reverts commit fac0021a47.
2017-03-03 17:57:24 +07:00
Yuri
54fb9f73cc fix(db): Made RawDatabase::execLater executes statements asynchronously.
Currently RawDatabase::execLater sometimes executes dependent statements
synchronously.
Qt::QueuedConnection ensures they are really executed later.
2017-03-03 01:04:46 -08:00
Zetok Zalbavar
e65e45aafe
chore: add script for code formatting 2017-03-02 13:39:46 +00:00
sudden6
db2e2d7ab7
fix(qmake): add forgotten files to qTox.pro
fix #4212
2017-03-02 10:44:29 +01:00
sudden6
b14a35aa76
Merge pull request #4122
Jimi Huotari (1):
      feat(UI): Move filetransferwidget buttons side-by-side.
2017-03-02 10:42:54 +01:00
Jimi Huotari
9322f29ef4 feat(UI): Move filetransferwidget buttons side-by-side.
This aims to prevent accidental clicks on the incorrect button in
cases where the chatlog moves at the time of the click.

Closes #2597.
2017-03-01 23:44:49 +02:00
Zetok Zalbavar
ceae4eca35
test: disable compiling tests on OSX since compiling them fails there 2017-03-01 18:12:41 +00:00
sudden6
ffd7d0e93e
chore(font): update default font and add its license
Also add a warning message, if the font wasn't loaded.
2017-02-26 20:54:20 +01:00
Zetok Zalbavar
d812afe829
chore(i18n): update translation files for Weblate 2017-02-26 12:21:18 +00:00
Jonatan Nyberg
8eeee4526c
feat(l10n): update Swedish translation from Weblate 2017-02-26 12:21:18 +00:00
Α Ω
cebfe4a63b
feat(l10n): update Greek translation from Weblate 2017-02-26 12:21:17 +00:00
LNDDYL
423fb83c9f
feat(l10n): update Chinese (Taiwan) translation from Weblate 2017-02-26 12:21:17 +00:00
LNDDYL
fbe0de9bbb
feat(l10n): update Chinese (China) translation from Weblate 2017-02-26 12:21:17 +00:00
Rammix
c2b7d7a533
feat(l10n): update Russian translation from Weblate 2017-02-26 12:21:17 +00:00
Viktar Vauchkevich
f92bbbb9dd
feat(l10n): update Belarusian translation from Weblate 2017-02-26 12:21:17 +00:00
Moo
77ee1787b1
feat(l10n): update Lithuanian translation from Weblate 2017-02-26 12:21:17 +00:00
cnzhx
bb3ee7d040
feat(l10n): update Chinese (China) translation from Weblate 2017-02-26 12:21:16 +00:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
Zetok Zalbavar
4367dc601d
style(clang-format): don't indent case statements 2017-02-26 09:51:50 +00:00
Zetok Zalbavar
2abbbbfa3f
chore(style): remove deprecated qTox-Coding-Style.xml 2017-02-26 09:51:50 +00:00
Zetok Zalbavar
a03eafe42d
style: respect current constructor breaks before commas 2017-02-26 09:51:50 +00:00
Zetok Zalbavar
c1eac09931
style: change brace style to K&R in .clang-format 2017-02-26 09:51:50 +00:00
Zetok Zalbavar
297f0935f0
docs(coding): CMake is now primarily used and qmake is deprecated 2017-02-26 09:51:50 +00:00
Zetok Zalbavar
21195d363a
docs: slightly improve link formatting and remove trailing whitespaces 2017-02-26 09:51:50 +00:00
initramfs
e4d40f11ed
docs(clangformat): add documentation on coding style with respect to clang-format 2017-02-26 09:51:49 +00:00
initramfs
c32a44b7ef
style(clangformat): add clang-format support to qTox 2017-02-26 09:51:49 +00:00
Diadlo
a231532bd0
fix: Add splitter restorer
Added splitter restorer, which reset splitter state if it's broken
Fix #2587
2017-02-26 03:14:57 +03:00
Nils Fenner
4b7fc5792d
refactor: use enum class 2017-02-25 22:20:04 +03:00
sudden6
de78e0dddb
Merge pull request #4120
Yuri (1):
      fix(icons): Removed unnecessary icon preparation.
2017-02-25 20:03:17 +01:00
Zetok Zalbavar
f0574167c6
test(build): check whether code/files have been processed by CMake 2017-02-25 17:47:56 +00:00
Diadlo
1d0a49c2b7
Merge pull request #4194
noavarice (2):
      refactor: single group invite extracted into a widget
      docs: added documentation for GroupInviteForm class
2017-02-25 20:41:36 +03:00
Nils Fenner
12bcc26154
feat(settings): create ui when needed instead of show/hide
note: no change in "embedded window" mode yet, but doesn't harm either
2017-02-25 19:25:29 +03:00
Zetok Zalbavar
3dcb8a62a4
Merge pull request #4203
noavarice (1):
      fix: changed incorrect videocall button offline tooltip
2017-02-25 14:59:02 +00:00
noavarice
0effac2bdd fix: changed incorrect videocall button offline tooltip 2017-02-25 17:34:50 +03:00
Zetok Zalbavar
2248deb18b
docs: add docs about adding new translations from Weblate
Also update the link to Weblate's git repo.
2017-02-23 11:39:32 +00:00
Zetok Zalbavar
a2aaff115c
chore(build): fix version script failure when called from non-base dir
Now script will work regardless of the working directory it was called
from.

This fixes problem with CMake failing when it's called from directory
other than base `qTox`.

Fix from
https://stackoverflow.com/questions/59895/getting-the-source-directory-of-a-bash-script-from-within
2017-02-23 09:49:13 +00:00