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

5644 Commits

Author SHA1 Message Date
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
Zetok Zalbavar
63ace85913
chore(build): use -pie flag only when linking
If used when compiling and not just linking, clang complains about it.

Fixes #4101.
2017-02-23 08:38:10 +00:00
Diadlo
bff25ce8b1
refactor: Remove FriendWidget from Friend class 2017-02-23 00:36:00 +03:00
noavarice
e68aef19f9 docs: added documentation for GroupInviteForm class 2017-02-22 23:53:59 +03:00
noavarice
adba773c6d refactor: single group invite extracted into a widget
Previously GroupInviteForm included several collections of components
which were supposed to use as a single object. Now they are replaced
with a class and all functionality related to this collections moved
there too. Also fix #3621
2017-02-22 16:19:19 +03:00
Zetok Zalbavar
bf4259b229
chore(build): make cmake update version 2017-02-21 09:51:43 +00:00
Zetok Zalbavar
55081d2179
chore(i18n): update translation files for Weblate 2017-02-21 09:24:45 +00:00
paksong
9fca736506
feat(l10n): update Korean translation from Weblate 2017-02-21 09:24:45 +00:00
ati3
99d34b049d
feat(l10n): update Czech translation from Weblate 2017-02-21 09:24:45 +00:00
Α Ω
2551baab46
feat(l10n): update Greek translation from Weblate 2017-02-21 09:24:45 +00:00
ati3
cf5e7f3ad1
feat(l10n): update Slovak translation from Weblate 2017-02-21 09:24:45 +00:00
LNDDYL
e0cb8e5f53
feat(l10n): update Chinese (China) translation from Weblate 2017-02-21 09:24:44 +00:00
Zetok Zalbavar
43d16d9181
feat(l10n): add Chinese (Taiwan) translation to UI
Thanks to @LNDDYL for the help with what should be put in the language
name.
2017-02-21 09:24:44 +00:00
LNDDYL
b80e964d18
feat(l10n): add Chinese (Taiwan) translation using Weblate 2017-02-21 09:24:44 +00:00
Jonatan Nyberg
c5067f65d1
feat(l10n): update Swedish translation from Weblate 2017-02-21 09:24:44 +00:00
Maxim Kurnosenko
4d22b7cc97
feat(l10n): update Russian translation from Weblate 2017-02-21 09:24:44 +00:00
ww Draw
6df92b7362
feat(l10n): update Bulgarian translation from Weblate 2017-02-21 09:24:44 +00:00
cnzhx
95881c975d
feat(l10n): update Chinese (China) translation from Weblate 2017-02-21 09:24:44 +00:00
ww Draw
6d2cf5222b
feat(l10n): update Pirate translation from Weblate 2017-02-21 09:24:43 +00:00
Viktar Vauchkevich
6fe2086148
feat(l10n): update Belarusian translation from Weblate 2017-02-21 09:24:35 +00:00
Diadlo
da8c3f1100
Merge pull request #4186
noavarice (3):
      refactor: improved HTML-formatting mechanism for text messages
      test: Added test for TextFormatter class
      refactor: message text formatting works better now
2017-02-21 09:33:04 +03:00
noavarice
87f219a78f refactor: message text formatting works better now
- tag intersection detected
- variables and constants' names became shorter
2017-02-19 23:53:11 +03:00
noavarice
445ba28e7b test: Added test for TextFormatter class
It's a first simple version
2017-02-19 17:46:52 +03:00
noavarice
5047a65e11 refactor: improved HTML-formatting mechanism for text messages
Added class provides text font formatting with HTML font tags
Supported stuff:
  - nested formatting;
  - several text pieces formatted with the same formatting style at the
    one message;
  - styling applies only if non-whitespace symbol follows opening
    formatting symbol and also non-whitespace symbol preceds closing
    symbol;
  - only multiline code font formatting supports new line inside of
    message text.
Also fix #3804
2017-02-19 10:06:26 +03:00
tux3
60e5375ef7
Merge pull request #4184
tux3 (1):
      fix: Friend list avatars not updating
2017-02-19 00:46:18 +01:00
tux3
ea44095c94
Merge pull request #4183
tux3 (4):
      fix: Accept IDs as tox URIs, not just ToxDNS addresses
      fix: Various IPC event handling and related bugs on startup
      fix: Don't even try to add ourselves as a friend in the Tox URI handler
      fix: msleep in toxuri processEvents loops, to avoid 100% CPU
2017-02-19 00:46:11 +01:00
tux3
20ff68c3a6
fix: Autoupdater trying to open files twice could fail 2017-02-17 17:44:54 +01:00
tux3
2d0698af95
fix: msleep in toxuri processEvents loops, to avoid 100% CPU
Fixes #1926 for realsies.
2017-02-17 17:18:58 +01:00
tux3
bfda028a2a
fix: Don't even try to add ourselves as a friend in the Tox URI handler 2017-02-17 17:18:57 +01:00
tux3
c75ee8a661
fix: Various IPC event handling and related bugs on startup
Fixes #1926 : When an IPC event was processed locally, if the window was closed before the core could start, the event handler would be forever stuck in the background waiting for the core to start. We fix this by substituting QApplication::quit() by a Nexus::quit() function and a Nexus::isRunning() function, which gives us a condition for exiting blocking processEvents() loops. We cannot simply use QApplication::quit(), because this function has no effect before the start of the event loop.

The problem was further exacerbated by the Tox URI event handler being (incorrectly) blocking. The IPC owner would block in this event handler, and the sender of the event would give up waiting and process the event itself a second time, potentially triggering the first bug. We fix the event handlers accordingly to be (mostly) non-blocking.

Also fixes a related deadlock between ~Core and ~Profile in the case of an early exit
2017-02-17 17:18:52 +01:00