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

4826 Commits

Author SHA1 Message Date
Colomban Wendling
3454f96d4c refactor(capslockindicator): avoid overhead on OSX
On OSX the indicator is disabled, so avoid most of the overhead by not
listening to any events that wouldn't lead to any change anyway.
2016-06-17 21:55:27 +02:00
Colomban Wendling
61892d0c18 refactor(capslockindicator): use a single shared event handler
Optimize the implementation by using a single shared event handler,
managing the caps lock state check and propagating it appropriately to
all instances at once.
2016-06-17 21:55:27 +02:00
Colomban Wendling
6a40ca0b55 refactor(capslockindicator): expose as a QAction to simplify API 2016-06-17 21:55:27 +02:00
Colomban Wendling
2fe41071be fix(capslockindicator): also update indicator when the app gets focus
This allows to have an up-to-date indicator when the caps lock state
changed outside of the application and the user comes back to it, even
if it doesn't trigger a Show event (e.g. the window was visible all the
time).
2016-06-17 21:55:27 +02:00
Colomban Wendling
5fc67284cd refactor(capslockindicator): encapsulate event handling
Use an event filter on QCoreApplication instead of requiring the caller
to manually call updateIndicator() when the caps lock state changed.
2016-06-17 21:55:19 +02:00
Zetok Zalbavar
e3278853d5
Merge pull request #3390
Colomban Wendling (2):
      refactor(systemtrayicon): unify QIcon to GdkPixbuf conversion
      fix(systemtrayicon): don't set an invalid and useless icon on GTK
2016-06-16 21:00:00 +01:00
sudden6
00ac9ba606
chore(simple_make): Fix build for Fedora
Add some missing dependencies and the fix from #3308

Tested on a fresh Fedora 23 install
2016-06-16 16:42:10 +02:00
Colomban Wendling
f9190734d7 fix(capslock_x11): properly release the X display handle
This fixes caps lock detection after a while, and removes the "Maximum
number of clients reached" message on stdout.
2016-06-15 18:44:12 +02:00
Colomban Wendling
a13c566736 fix(systemtrayicon): don't set an invalid and useless icon on GTK
* The initial status icon to set on GTK didn't exist (anymore?).
* GTK resources aren't compatible with Qt's, so the resource lookup
  couldn't work anyway, even if it did exist.
* The caller calls SystemTryIcon::setIcon() right after instancing it
  anyway, so there's no need for an initial icon.

This fixes a runtime critical warning from GTK as we tried to unref a
NULL icon, which is invalid.

Fixes #3154.
2016-06-14 19:52:33 +02:00
Colomban Wendling
cf4c46ff0b refactor(systemtrayicon): unify QIcon to GdkPixbuf conversion
Also simplify the memory management by using the C++ allocator and by
using the bytes directly as passed to the free callback instead of
passing it again as user data.
2016-06-14 19:50:38 +02:00
Zetok Zalbavar
eb743b43ff
Merge pull request #3388
a68366 (1):
      fix(widget): properly open chat window
2016-06-13 22:48:07 +01:00
a68366
c17c3405bf fix(widget): properly open chat window
Closes #3386
2016-06-14 00:12:28 +03:00
qTox translations
a112c68ef0
chore(i18n): update translations for Weblate 2016-06-13 22:06:30 +01:00
Kristjan Räts
85a701f5f8
feat(l10n): update Estonian translation from Weblate 2016-06-13 22:04:30 +01:00
Brandon Abbott
7971975cbe
feat(l10n): add initial Esperanto translation from Weblate 2016-06-13 22:04:11 +01:00
Zetok Zalbavar
d0743a5c43
Merge pull request #3385
Twyz™ (2):
      feat(l10n): update Italian translation
      feat(l10n): update Italian translation
2016-06-13 21:52:55 +01:00
Twyz™
7d308f99ce feat(l10n): update Italian translation 2016-06-13 19:12:29 +02:00
sudden6
6173199a5b
fix(widget): rename "Activate" to "Show" 2016-06-13 16:46:42 +02:00
Twyz™
e7089a3d1a feat(l10n): update Italian translation 2016-06-13 14:48:37 +02:00
Colomban Wendling
653e0b5af2 fix(capslockindicator): fix altering the line edit height
Fix altering the Line Edit widget height when the indicator is on (e.g.
when caps lock is active).

To avoid messing with the style and all the complex issues that arise
from it, use an action to display the icon inside the line edit, as it
is a built-in feature that work just fine.

Fixes #3379.
2016-06-12 23:57:10 +02:00
sudden6
a851a5b18d
feat(systemtray): add "Show" action to context menu
Makes it possible for all users to get qTox back from the tray.
2016-06-12 22:29:17 +02:00
sudden6
f74ba9131c
Merge pull request #3376
Colomban Wendling (1):
      fix(video): do not list the same mode twice
2016-06-12 22:19:54 +02:00
sudden6
53953912e0
Merge pull request #3375
Colomban Wendling (1):
      feat(video): add setting for 120p very-low-res video
2016-06-12 22:18:03 +02:00
Colomban Wendling
03c3923694 fix(video): do not list the same mode twice
Do not provide more than one entry in the settings for the same actual
mode, even if it was selected for different expected resolutions.

For example, do not list 640x480 twice for both 480p and 360p if the
device doesn't have a better 360p mode, and simply skip the 360p entry.
2016-06-12 16:21:15 +02:00
sudden6
3f4a0abe6b
feat(smileys): add emojione emoji-pack and make it the default
Thanks to @ProMcTagonist who suggested to use emojis from emojione.com

Fixes #3315
2016-06-12 15:50:43 +02:00
Zetok Zalbavar
645e9504ec
Merge pull request #3367
sudden6 (1):
      docs(usermanual): add documentation about new features
2016-06-12 08:13:05 +01:00
sudden6
7ca98093a2
Merge pull request #3257
Diadlo (10):
      feat(capslock): Added caps lock checker
      feat(loginform): Added caps lock indicator to newPass
      feat(loginscreen): Created new CapsLockIndicator class
      feat(capslockindicator): Added tooltip
      fix(platform): Added checkCapsLock OSX implementation
      docs(INSTALL.md): Added libX11 in dependencies
      refactor(loginscreen, capslockindicator): Caps Lock indicator class was made independent
      fix(capslockindicator): Tooltip color was changed. Tooltip translation was added
      style(capslockindicator): Fixed code style
      fix(capslockindicator): Fix position of capslock indicator
2016-06-12 00:31:40 +02:00
Diadlo
124769017d
fix(capslockindicator): Fix position of capslock indicator 2016-06-12 01:34:02 +03:00
sudden6
5e5e27cf60
Merge pull request #3365
PafXUS (4):
      fix(widget): delete icon in destructor
      fix(systemtrayicon): delete qtIcon in destructor
      fix(profileform): set parent for validator
      fix(friendwidget): check pointer before using it
2016-06-11 20:45:38 +02:00
sudden6
ed886f8716
Merge pull request #3371
Colomban Wendling (1):
      fix(video): fix video resolution setting
2016-06-11 20:39:59 +02:00
Colomban Wendling
6045ced3f8 feat(video): add setting for 120p very-low-res video 2016-06-11 20:16:03 +02:00
Colomban Wendling
b4df3c8b4a fix(video): fix video resolution setting
Index the filtered modes we show to the user when selecting from the
combobox, not the full list of modes actually supported by the device.

Fixes #1033.
2016-06-11 20:13:28 +02:00
sudden6
108cb32ce7
docs(usermanual): add documentation about new features
fixes #3187, #3136, #3051
2016-06-11 18:38:47 +02:00
Zetok Zalbavar
76239aa890
chore(l18n): update translation files for Weblate
Also add Esperanto.
2016-06-09 17:20:49 +01:00
Nathan JANCZEWSKI
402f9eb936
feat(l10n): Update French translation 2016-06-09 17:08:10 +01:00
Plinz
2a368436db
feat(l10n): update French translation 2016-06-09 17:08:10 +01:00
sudden6
8589f944aa
Merge pull request #3360
Alexander Zhdanov (3):
      feat(genericchatform): add "Quote selected text" feature to chat window
      docs(user_manual_en.md): add some documentation about quotes
      docs(user_manual_en.md): fix documentation about quotes
2016-06-08 23:59:03 +02:00
Alexander Zhdanov
8a932595ff docs(user_manual_en.md): fix documentation about quotes 2016-06-09 00:52:42 +03:00
sudden6
e8a4599f69
Merge pull request #3348
a68366 (1):
      fix(widget): open a chat window instead of contacts list in multi-window mode
2016-06-08 22:35:24 +02:00
PafXUS
e24f3dbc20
fix(friendwidget): check pointer before using it 2016-06-08 22:31:05 +03:00
PafXUS
93c6aa8ac0
fix(profileform): set parent for validator 2016-06-08 22:31:04 +03:00
PafXUS
f997d51b66
fix(systemtrayicon): delete qtIcon in destructor 2016-06-08 22:31:03 +03:00
PafXUS
f82f49da4d
fix(widget): delete icon in destructor 2016-06-08 22:30:51 +03:00
Alexander Zhdanov
9ce3f55c3b docs(user_manual_en.md): add some documentation about quotes 2016-06-08 19:04:56 +03:00
Zetok Zalbavar
7b34625d55
docs(README.md): update link to OSX builds 2016-06-08 01:05:16 +01:00
Zetok Zalbavar
4218429b47
Merge pull request #3340
RowenStipe (1):
      chore(travis): Allow for Travis deployment
2016-06-08 00:58:32 +01:00
RowenStipe
2639217747
chore(travis): Allow for Travis deployment
Allows for OSX packages through travis, .travis.yml requires editing

chore(travis): Let Travis deploy OSX

Allows Travis to start Deploying when ever a tag is applied.
2016-06-07 19:42:34 -04:00
qTox translations
1594b70783
chore(i18n): update translation files for weblate 2016-06-07 18:18:05 +01:00
Abdu
91af5c951a
feat(l10n): Update Arabic translation from Weblate 2016-06-07 18:16:35 +01:00
Nils Grundmann
8a0a8f1f75
feat(l10n): Update German translation from Weblate 2016-06-07 18:16:24 +01:00