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

5774 Commits

Author SHA1 Message Date
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
tux3
055c41bc30
fix: Friend list avatars not updating
Possibly related to #4172
2017-02-17 16:42:40 +01:00
tux3
1d307bcc0e
fix: Accept IDs as tox URIs, not just ToxDNS addresses
Fixes #1925
2017-02-17 03:59:23 +01:00
tux3
b771f87e0b
feat: Switch windows portable links to stable versions
Instead of nightlies. Also adds version numbers to the file name.
2017-02-16 02:39:52 +01:00
tux3
b937d28c04
Merge pull request #4177
tux3 (1):
      feat: Add version numbers in windows installer download links
2017-02-15 23:24:25 +01:00
tux3
b73770d703
feat: Add version numbers in windows installer download links
Fixes #4112
2017-02-15 21:31:21 +01:00
Zetok Zalbavar
63e95f3528
chore(build): adjust version updating script to not rely on git
Relying on git doesn't work in awful lot of cases, e.g. when there's a
shallow `git clone`.

Instead have "hardcoded" version in files, and update it before release.

Closes #4165.
2017-02-11 17:04:58 +00:00
sudden6
08fdb7561e
Merge pull request #4161
Yuri (1):
      fix(font): Made the font combobox not editable.
2017-02-11 02:11:53 +01:00
sudden6
14ee8af3cd
fix(toxencrypt): return the plaintext after decryption
fix #4162
2017-02-10 22:33:57 +01:00
sudden6
1e7fc8cc52
Merge pull request #4141
Yuri (1):
      feat(shortcut): Implemented F11 shortcut for toggling fullscreen.
2017-02-09 16:35:15 +01:00
Yuri
ba28f163fd fix(font): Made the font combobox not editable.
There is no need for the user to be able to type into this combobox.
2017-02-08 21:22:55 -08:00
Zetok Zalbavar
8c1632df45
docs(CONTRIBUTING): reword revert section to use the default message 2017-02-08 18:04:15 +00:00
Zetok Zalbavar
0bad48ed3b
docs(INSTALL): fix link in dependencies to CMake website 2017-02-08 12:36:44 +00:00
sudden6
01b9327827
Merge pull request #4146
agrecascino (1):
      fix(audio): alternate audio fix implementation from #4139
2017-02-08 13:34:22 +01:00
sudden6
39b473cc86
Merge pull request #3309
Nils Fenner (1):
      refactor(audio): remove obsolete signal "groupAudioPlayed"
2017-02-08 13:32:47 +01:00
agrecascino
62ac480171 fix(audio): alternate audio fix implementation from #4139 2017-02-07 15:44:35 -05:00
sudden6
7cd800374a
refactor(encryption): move everything to ToxEncrypt
This commit removes coreencryption.cpp and replaces it with ToxEncrypt.
2017-02-07 20:05:32 +01:00
Diadlo
f6b1cf9311
chore(travis): Add unit_test launching in travis 2017-02-07 20:10:44 +03:00
Diadlo
f5c0d61ae6
feat(toxpk): Add 'ToxPk::getPkSize()' method 2017-02-07 20:10:44 +03:00
Diadlo
d351f9e5ec
test(toxpk): Add TestPk and TestId tests 2017-02-07 20:10:44 +03:00
Diadlo
0d56fb946d
chore(cmake): Add unit_test build 2017-02-07 20:10:44 +03:00