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

2839 Commits

Author SHA1 Message Date
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
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
noavarice
0effac2bdd fix: changed incorrect videocall button offline tooltip 2017-02-25 17:34:50 +03: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
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
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
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
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
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
f5c0d61ae6
feat(toxpk): Add 'ToxPk::getPkSize()' method 2017-02-07 20:10:44 +03: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
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
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
sudden6
5a04359901
Merge pull request #4124
Yuri (1):
      fix(font): Fixed the editbox font reset problem
2017-02-04 22:51:07 +01:00
Yuri
c84837d662 fix(font): Fixed the editbox font reset problem
Steps to reproduce:
* Select some obviously larger font
* Restart qTox
* Type something (you will see it with the correct font)
* Erase it completely
* Type something again
* Observe the current font now is small (back to the default)

This is a bug in Qt having to do with manipulation with both the css style and QFont of QTextEdit control at the same time.
The solution is to convert QFont to CSS style and apply it this way.
2017-02-04 09:56:31 -08:00
noavarice
034c507cc4 fix: Now cannot send party invite to a friend which has "Offline" status
Fix #4018
2017-02-03 23:24:06 +03:00
Yuri
a18e0b6a2c fix(clipboard): Made clipboard operations work the same on all OSes.
Qt should handle all OS differences, not individual apps.
2017-02-02 20:18:26 -08:00
sudden6
5c5dce4d33
refactor(core): use factory methods for ToxEncrypt 2017-01-29 13:48:48 +01:00
sudden6
d07d0cfbf0
refactor(core): Introduce new class ToxEncrypt to interface with toxencryptsave 2017-01-29 13:48:43 +01:00
Diadlo
f0467abc34
fix(osx): Remove useless '#ifdef Q_OS_MAC' 2017-01-28 22:11:42 +00:00
Diadlo
320099faf8
fix(chatform): Add ability to cancel call
Fix #4016.
2017-01-29 00:37:31 +03:00
sudden6
dd8ae8109e
Merge pull request #4094
Diadlo (5):
      feat(chatform): Changed mic and vol buttons
      fix(chatform): Fixed buttons
      refactor: Small Generic chat form refactoring
      refactor(buttons): Mic and vol buttons now are QToolButton
      refactor(chatform): Small ChatForm refactoring.

Zetok Zalbavar (1):
      refactor: adjust to changes in Friend and ToxPk classes
2017-01-28 22:29:50 +01:00