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

498 Commits

Author SHA1 Message Date
tux3
8253e1e395
Fix #1409: Don't save core if nothing really changed 2016-01-21 08:04:46 +01:00
a68366
65421e8992 Fix a typo in function name 2016-01-18 16:50:11 +03:00
tux3
d07bef21a3
Merge branch 'pr2769' 2016-01-16 15:44:51 +01:00
agilob
203274f6d1
Unify window icons 2016-01-16 14:31:34 +00:00
tux3
c576a1485a
Scan-build cleanup 2016-01-16 02:24:13 +01:00
agilob
f7118071b7
Set window icons on settings window 2016-01-03 13:06:24 +00:00
agilob
cb43a9b70e
Remove ctrl+q from tray menu 2016-01-02 22:01:41 +00:00
Andrew Novikov
371900b56f
Fix for the issue #2458 2016-01-02 21:59:38 +00:00
tux3
f2ba03b45f
Fix some messages being saved with history disabled 2015-12-31 14:36:12 +01:00
Nils Fenner
67fbee8868
use qstring for path when playing audio file 2015-12-20 09:45:43 +01:00
tux3
b5cdfb3dce
Implement new SQLCipher based database and history
qTox will automatically import the old history on startup.

This new database code is much more robust.
It is very resilient and will not corrupt or disappear after a crash or
power failure, unlike the old code.
The on-disk database format is also much more compact now.

The database sync option in the advanced settings has been removed,
we know run many database operations asynchronously so performance
should not be a problem anymore, but we always ensure resiliency
in case of abrupt termination, so there is no tradeoff anymore.
2015-12-19 04:17:28 +01:00
tux3
db2dbf459b
Merge branch 'pr2689' 2015-12-15 19:54:10 +01:00
tux3
0c2f70eb7e
Merge branch 'pr2688' 2015-12-15 19:48:29 +01:00
tux3
10673640ea
Fix #2408 2015-12-15 19:31:26 +01:00
rku
8231a2b1ae Support for theming qTox tray and window icons
This patch adds ability to override qTox window and tray icons with ones from user's desktop theme. Some people prefer keeping tray icons consistent to achieve best looks.

Following theme icons used:
* qtox: general window icon which is also used in taskbar
* qtox-online, qtox-offline, qtox-busy, qtox-away, qtox-invisible, qtox-event: tray icons

If theme icon is not available then default built-in icon will be used.
2015-12-15 19:42:23 +02:00
rku
5cb5f2e367 Focus current chat widget text input when window is activated or empty window space clicked. 2015-12-15 19:31:45 +02:00
rku
63f7dee6cf Blink taskbar icon and window icon only when window is inactive. 2015-12-15 19:03:05 +02:00
tux3
f0f49e79f0
Merge branch 'pr2586' 2015-12-11 02:45:10 +01:00
tux3
d67e6c7449 Improve integrated update code to match the rest
We're doing updates over HTTP until we get a domain name and a cert, but
this is not at all an issue since updates are still signed and checked.
2015-12-10 18:46:07 +01:00
tux3
25ed3d4fba
Fix avatars for encrypted profiles
WARNING: Note that avatars for encrypted profiles are currently stored unencrypted!
2015-12-05 19:08:28 +01:00
sudden6
17e43d9835 treat x-cinnamon the same as gnome 2015-11-29 13:23:08 +01:00
Anatoliy Zinovyev
f2e39a1d1b Fix tray behavior with unity backend 2015-11-25 17:35:17 -05:00
Anatoliy Zinovyev
6bbca9341d Do not do anything when middle clicking on the tray 2015-11-25 12:11:31 -05:00
Anatoliy Zinovyev
fc462e82df Fix behavior when clicking on the tray icon 2015-11-21 20:51:43 -05:00
TheNain38
eb3ec79b20 Fix #2301 and use QStringLiteral for comparison 2015-11-10 20:20:07 +01:00
tux3
787865a23e
Show notifications even when busy 2015-11-09 23:27:00 +01:00
agilob
0b999e077e
Move logout tray menu action after profileForm initialization
fixes #2541
2015-11-09 18:48:00 +00:00
agilob
49bf1cf774
Fix resources URI: change double slash to one and add one if missing 2015-11-09 18:42:53 +00:00
agilob
7189844b2a
Use SVG renderer to scale down SVG in tray icon menu 2015-11-08 15:11:19 +00:00
agilob
78ac29cb15
Add static icons for tray menu logout and quit
antis made us an icon for logout action and I reused cancel call icon
as quit action in tray menu

Refactored methods to change way how icons are loaded in widget.cpp
to make the methods more flexible

This should permanently fix #2491
2015-11-06 20:53:26 +00:00
tux3
5b036cca0f
Merge branch 'newav_final_for_realsies'
Implements the new toxav API.
2015-11-06 01:52:40 +01:00
agilob
e44d08fa8e
Change logout icon to dialog type icon
icon of type Browser doesnt scale on some environments
closes #2491
2015-11-02 19:11:17 +00:00
tux3
9163b73032
Refactor uses of playMono16Sound 2015-10-24 02:37:27 +02:00
tux3
aac5fb87e6
Add ringing sound for received calls
No sound for outgoing calls yet
2015-10-24 02:26:32 +02:00
tux3
477554ffba Clean up callback hell between AV UI and CoreAV 2015-10-23 17:52:46 +02:00
tux3
41e0212f77 Cleanup UI/CoreAV interface 2015-10-23 17:52:45 +02:00
tux3
512dc8de2d Implement basic call logic
We can now make New AV calls, but without any audio/video. Just opening a link.
2015-10-23 17:09:53 +02:00
tux3
dbbc702c60 Strip out old AV code 2015-10-23 17:02:01 +02:00
agilob
5e12c76ecd change default quit icon in tray menu 2015-10-23 16:21:05 +02:00
agilob
4df5c81f09 use plaintext label for username and status in header 2015-10-23 16:21:05 +02:00
agilob
7d579faf47 add logout action to tray menu 2015-10-23 16:21:05 +02:00
agilob
d6d5fd1c33 add quit role to quit action in trayicon 2015-10-23 16:21:05 +02:00
agilob
a97a91a7be core review changes - formatting 2015-10-23 16:21:05 +02:00
agilob
7d8e0644ce remove dependency injection from systemtrayicon
as it was used as experiment only
fix compilation warning about unchecked switch case
2015-10-23 16:21:05 +02:00
agilob
8c4d58f391 fix icon scaling on gnome3 by scaling icons down 2015-10-23 16:21:04 +02:00
agilob
521b55f776 use Qt backend of KDE5
commit fixes problem with usage of GTK3 fallback menu action used on KDE5, probably to a bug in status notifier
- allows using Qt backend on KDE5 and other plasma related env.
- icon in tray menu and tray icon are loaded from svg, their size is not limited to 50px now
- plasma adds extra actionmenu to tray so quit was renamed to exit
- exit action usues system-default icon for quit and system default keyboard shourtcut to close qtox
2015-10-23 16:21:04 +02:00
Nils Fenner
33e54b841a
Merge pull request #2415 from antis81:ngf/mic 2015-10-21 22:19:37 +02:00
agilob
ecbda91764
Merge remote-tracking branch 'bitok/fix_performance_issues' 2015-10-21 19:12:15 +01:00
Nils Fenner
b7cf4df13f
Get rid of static methods and bugs 2015-10-20 03:46:44 +02:00
bitok
d6ff67893f Fix performance issues detected with static analyze 2015-10-13 23:21:20 +03:00
agilob
266c0fb989
Merge branch TheSpiritXIII:video 2015-10-10 13:49:30 +01:00
agilob
6e0c0d1210
Merge remote-tracking branch 'PKEv/fix_save_position_when_moving_widget' 2015-10-08 20:39:28 +01:00
tux3
56cccc7492 Fix #2228: Friendlist too wide on first start 2015-10-07 15:28:20 +02:00
PKev
0152937eb4 fix: save position when moving widget
fix #2063
2015-10-06 16:13:47 +03:00
TheNain38
05d511bb66 Fix another parsing bug, fix Action message bold
When you are the author of an 'action' message, it is not in bold, but if reloading history it is
2015-10-04 14:36:38 +02:00
TheNain38
f99c9f127d Fix ACTION messages, status, username HTML parsing 2015-10-03 21:31:41 +02:00
tux3
e1509a9f03
Further cleanup Widget::retranslateUi 2015-09-28 00:05:42 +02:00
tux3
14235c5a19
Refactor code duplication in Widget::retranslateUi 2015-09-27 23:52:10 +02:00
TheNain38
879c396efc Added dynamic translation to status and username 2015-09-27 21:36:17 +02:00
Impyy
c49ce6208e Load user status from data file 2015-09-25 20:56:11 +02:00
tux3
6229e045f2
Merge branch 'pr2223'
Fixes #659
2015-09-14 19:51:10 +02:00
PKEv
564b32eb7c save alias 2015-09-14 20:10:35 +03:00
TheSpiritXIII
d0e682214b Multi-window: Fix blinking tray icon regression 2015-09-12 19:07:45 +02:00
TheSpiritXIII
280737fda8 Multi-window: Fix group chat event flag regression 2015-09-12 19:07:45 +02:00
TheSpiritXIII
828dbf436f Multi-window: Fix compile for non-OS X 2015-09-12 19:07:45 +02:00
TheSpiritXIII
97bdaa5e5f Multi-window: OS X window list, fix OS X translations 2015-09-12 19:07:45 +02:00
TheSpiritXIII
23e7f9326e Multi-window: Fix open group in separate window when already open 2015-09-12 19:07:45 +02:00
TheSpiritXIII
ee627afc87 Multi-window: Fix buttons staying pressed while in separate window mode, make dialogs alert, fix group chat event flags 2015-09-12 19:07:45 +02:00
TheSpiritXIII
f825985856 Multi-window: Translate all dialogs correctly, don't allow remove friend on dialogs 2015-09-12 19:07:44 +02:00
TheSpiritXIII
6a5fb9f518 Multi-window: Dispaly own username on detached windows, fix log out while having detached windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
29c72549a2 Multi-window: Fix segfault on removing groups and friends who are also in active windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c5317c6137 Multi-window: Fix dialog null states/geometry 2015-09-12 19:07:44 +02:00
TheSpiritXIII
868099d484 Multi-window: Normalize window size on separate change, notification separate fix, segfault groupchat fix 2015-09-12 19:07:44 +02:00
TheSpiritXIII
014ba45ebb Multi-window: Keep window size, fix segfault, circle integration, changed defaults 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c181df6336 Multi-window: Cycle widgets in opened windows 2015-09-12 19:07:44 +02:00
TheSpiritXIII
9867e3b4c5 Multi-window: Allow opening new window when already open, fix drop when already open 2015-09-12 19:07:44 +02:00
TheSpiritXIII
7bcf654c72 Multi-window: Add drag/drop friends to windows, fix call confirm widget 2015-09-12 19:07:44 +02:00
TheSpiritXIII
c684d31d02 Multi-window: Alert window storing chat, add group widgets, update statuses and avatars 2015-09-12 19:07:44 +02:00
TheSpiritXIII
fa3ab02cec Multi-window: Tabbed interface 2015-09-12 19:07:44 +02:00
TheSpiritXIII
22fcc3f7a0 Multi-window capabilities for all chats and menus 2015-09-12 19:07:44 +02:00
aaannndddyyy
4fb4ba7617 correct a typo 2015-09-07 20:50:41 +00:00
tux3
8fbc0c8b59
Remove some debug output fluff 2015-09-06 00:11:47 +02:00
agilob
12e8d07a97
revert change history to -7 2015-09-03 17:58:23 +01:00
agilob
31c44b9db0
Merge branch 'master' of github.com:tux3/qTox into default_dir_for_saving 2015-09-03 17:57:23 +01:00
Zetok Zalbavar
06611d618e
Revert changes from merge of #2092 pull request
That pull request made qTox crash in a number of ways, with no quick fix
available.

Hopefully there will be a way to fix crash, so that this commit could be
reverted, and fix applied.
2015-08-30 21:28:53 +01:00
agilob
db5903c2fe
set one global initial file accept directory for all file transfers 2015-08-30 20:36:39 +01:00
agilob
d6b176d955
Merge remote-tracking branch 'TheSpirit/requests'
merge awaiting friend requests, fix formatting conflict
2015-08-30 14:25:46 +01:00
rku
74d98fd0c2 This dialog solves all confusion that arose from current verification method and is accident-proof. Current method asks if
user also wants to remove chat history. However confused user may not carefully read message and click "no" because he does
not want to remve contact. However in this case contact is in fact removed but history is preserved. It is also open to
possiblity that key smashing deletes contact by accident. This is very inconvenient because tox ids are long and hard to
memorize. If someone removes contact by accident then he would need to find id of that contact in order to contact him/her.
Sometimes this may be difficult.

New contact removal confirmation dialog prompts use to enter "YES" in the text boxin order to enable "OK" button so removal
can be accepted. It also has checkbox for history removal. Dialog will work with translations. Russian user would need to
enter "Да" in order to accept removal.
2015-08-22 12:17:04 +03:00
TheSpiritXIII
d21a6d29de Fix request translations and make group button stay down 2015-08-21 12:36:59 -04:00
TheSpiritXIII
2043908e15 Remove dialog for group invites 2015-08-21 10:32:00 -04:00
TheSpiritXIII
997418a9de Store friend requests 2015-08-20 17:58:03 -04:00
TheSpiritXIII
814bd922ca Video: Group audio view avatars 2015-08-18 13:40:11 -04:00
TheSpiritXIII
1522d3848c Video: Show avatar, clean ups 2015-08-13 09:31:15 -04:00
TheSpiritXIII
9d12c295be Keep aspect ratio of inner video 2015-08-11 14:01:49 -04:00
tux3
74b771373d
Merge branch 'pr1953' 2015-07-22 23:33:21 +02:00
TheSpiritXIII
b9882c3680 OSX: Remove dead code and make Widget own all their actions 2015-07-17 08:20:47 -04:00
TheSpiritXIII
49071baac7 OSX usable menu bar on login screen 2015-07-09 08:43:19 -04:00
TheSpiritXIII
7bb56bcda9 OSX main menu bar 2015-07-08 14:14:25 -04:00
TheSpiritXIII
bb29b07d70 Fix activity sorting out of bounds, update activity category when changed 2015-07-01 09:10:55 -04:00
TheSpiritXIII
d2c0301103 Circles: Fix circle color on theme change, remove debugging stuff
Conflicts:
	res.qrc
2015-06-26 13:38:51 +02:00