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

7252 Commits

Author SHA1 Message Date
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
Zetok Zalbavar
5873a04856
revert: "docs(README): remove link to the experimental osx build"
Build has been fixed, so the link can be restored.

Closes #3610.

This reverts commit 37b0ed050c.
2017-02-07 11:47:42 +00:00
Zetok Zalbavar
5e694492b9
chore(travis): fix jenkins branch deploy error on deploy-gitstats job
Error was caused by qTox repo already being cloned by the
`deploy-gitstats` job.
2017-02-07 08:28:29 +00:00
Yuri
3a20a4ba43 feat(shortcut): Implemented F11 shortcut for toggling fullscreen.
Allow to make qTox fullscreen, similar to how browsers switch to fullscreen.
2017-02-06 11:08:41 -08:00
sudden6
d320b1f259
Merge pull request #4137
Yuri (1):
      fix(font): Made font changes in settings apply on screen instantly.
2017-02-06 15:18:14 +01:00
sudden6
a6bc9db188
Merge pull request #4121
Yuri (1):
      style(video): Simplified ifdefs, made them USING_V4L to be explicit.
2017-02-06 15:15:48 +01:00
sudden6
a5955c67ed
feat(toxencrypt): add function to get min length for isEncrypted() to
succeed

Also improve documentation
2017-02-06 11:09:59 +01:00
Yuri
742583bb9e fix(font): Made font changes in settings apply on screen instantly.
Before the user had to restart qTox for the font change to take effect.
Now it changes instantly.
2017-02-05 21:49:30 -08:00
sudden6
38cecdc780
refactor(history): remove deprecated historykeeper
This commit removes historykeeper and code only used by it.

BREAKING CHANGE:
qTox can't open old historykeeper chatlogs after this commit. Use
previous versions to migrate to the new database.
2017-02-05 22:20:12 +01:00
Yuri
2340a7491a style(video): Simplified ifdefs, made them USING_V4L to be explicit.
Changed complex ifdef statements into simpler ones using the easy to
read token USING_V4L.
2017-02-05 10:44:58 -08:00
Yuri
fac0021a47 fix(icons): Removed unnecessary icon preparation.
In Qt5 QIcon supports svg without preparation.
2017-02-05 10:35:54 -08:00
Diadlo
fb43e30677
fix(cmake): Add ability to real disable optional dependency 2017-02-05 18:48:57 +03:00
Nils Fenner
36f7f65732
refactor: correct virtual overrides 2017-02-05 17:24:43 +03:00
Nils Fenner
ec4a5d08ef
refactor(widget): fix static analyzer warning and some cleanup 2017-02-05 17:24:43 +03:00
Nils Fenner
456e429cac
refactor: minor cleanup in Widget and Friend 2017-02-05 17:24:43 +03:00
Zetok Zalbavar
bdbf2b461b
chore(travis): fix .travis.yml deploy syntax for multiple providers
With this qTox.dmg for osx should be successfully deployed.
2017-02-05 13:11:13 +00:00
Zetok Zalbavar
01397f494a
chore(CHANGELOG): add changelog for the v1.8.0 release 2017-02-05 10:40:22 +00:00
Zetok Zalbavar
c8cb0b1a14
Merge pull request #4108
vit9696 (7):
      fix(build): correct macOS deployment
      fix(build): set generic macOS Info.plist version by default
      style(build): conform to guidelines
      fix(build): attempt to make travis happy
      fix(build): do not invoke version update on travis
      style(build): go with cd instead of pushd
      fix(build): avoid version checking where unnecessary
2017-02-05 10:19:21 +00:00
sudden6
bb2098d929
Merge pull request #4119
Yuri (1):
      fix(clipboard): Made clipboard operations work the same on all OSes.
2017-02-05 10:53:30 +01:00
Zetok Zalbavar
6bc4568f39
chore(i18n): update translation files for Weblate 2017-02-05 07:12:38 +00:00
Pan Efem
a6f5270461
feat(l10n): update Polish translation from Weblate 2017-02-05 07:12:05 +00:00
ww Draw
d570c2b3cd
feat(l10n): update Pirate translation from Weblate 2017-02-05 07:11:40 +00:00
Moo
c6fa538ee5
feat(l10n): update Lithuanian translation from Weblate 2017-02-05 07:11:28 +00:00