tux3
3317e3b8e3
Update updater version and Windows server
2015-12-09 02:14:19 +01:00
tux3
e30fb4d919
Always offer avatars to friend who come online
...
This avoids problems with friends who rarely restarts their client. The overhead of sending a file transfer request that gets rejected should be negligible
2015-12-08 23:41:21 +01:00
tux3
981588d630
Fix some avatars saved with the wrong name
2015-12-08 23:10:15 +01:00
tux3
9905042434
Fix wrong word in copypasted log message
2015-12-08 22:13:28 +01:00
Jacob Henner
1d9e89f318
qtox will now attempt to default to the first audio output device
2015-12-07 01:08:50 -05:00
tux3
94a6df47cc
Update avatar encryption when changing password
2015-12-05 22:35:16 +01:00
tux3
45ac45c019
Create avatars directory on the fly
2015-12-05 22:01:36 +01:00
tux3
2396109a7e
Encrypt avatar for encryped profiles
...
Fixes #2583
Fixes #2546
2015-12-05 20:07:59 +01:00
tux3
b39f3eacb0
Clean unused getIDString() function
2015-12-05 19:09:20 +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
tux3
05c02cee5d
Merge branch 'pr2547'
2015-12-05 15:32:57 +01:00
agilob
84814e28e3
Set widget as parent for AboutUser window to fix style inheriting
2015-12-05 14:18:43 +00:00
agilob
56ae9e657f
Hide label and list of aliases in aboutuser
2015-12-05 12:19:05 +00:00
agilob
e6504f2d46
Support removing history with user in about window
2015-12-05 12:14:31 +00:00
tux3
a6bbd31b12
Retry sending audio frames on sync/lock error
2015-12-05 03:22:00 +01:00
tux3
333d10e6d5
Log type of audio send error
2015-12-05 02:35:11 +01:00
tux3
fe3fa2f751
Revoke updater signing keys
...
When we build the updater v2, we'll ship new keys for Windows.
2015-12-04 21:36:33 +01:00
tux3
b1f8d3f912
Fix attempt for #2438
2015-12-04 20:35:50 +01:00
tux3
7f5f807bde
Fix filter audio
...
Fixes #2504
Fixes #2517
Fixes #1565
2015-12-04 18:20:47 +01:00
tux3
49d11549b9
Fix call duration label after 1 hour
...
Fixes #2617
2015-12-04 15:51:10 +01:00
tux3
104095c6be
Fix video starting with bad resolution
...
The netcamview has no business trying to open the video source, especially in the wrong video mode
2015-12-04 13:56:42 +01:00
tux3
37075dbfb5
Improve video quality
...
Double the allowed bitrate, this is especially noticeable on desktop streaming. Desktop streaming is still completely broken, with what looks like iframes silently getting dropped on a regular basis.
Retry 5 times to send a frame when there's an internal toxav lock sync error, this allows us to drop way less frames.
2015-12-04 12:53:58 +01:00
tux3
ef5cb2689c
Merge branch 'pr2580'
2015-12-04 12:01:25 +01:00
tux3
bd1f22963b
Merge branch 'pr2519'
2015-12-04 11:54:08 +01:00
tux3
1874c0ce4d
Remove deprecated/unused toxdns1 code
2015-12-04 03:37:50 +01:00
Zetok Zalbavar
6a7479912e
Merge pull request #2593 from TheNain38:patch-2
...
TheNain38 (1):
Select password field when it is wrong Fixes #2584
2015-12-01 07:56:53 +00:00
sudden6
17e43d9835
treat x-cinnamon the same as gnome
2015-11-29 13:23:08 +01:00
sudden6
bd83db5479
improve formating
2015-11-29 12:23:44 +01:00
TheNain38
ceb63a87d9
Select password field when it is wrong Fixes #2584
2015-11-26 14:18:03 +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
sudden6
6d45932eea
update ui
2015-11-18 18:58:56 +01:00
sudden6
27f751c2a6
also refresh video devices
2015-11-18 18:56:16 +01:00
tux3
db52ef6e6a
Disable buggy automatic bitrate adjustements
...
For some users on poor connections, toxav would suggest lower and lower bitratres until reaching zero and disabling audio/video entirely, toxav would then not raise the bitrate back and the only way to re-enable audio/video would have been to change A/V sources or restart the call
We now log toxav's recommendation, but ignore it
2015-11-14 23:51:30 +01:00
Zetok Zalbavar
cfea4675d7
Don't show in debug output nicks
...
They can contain personal info.
2015-11-14 20:11:37 +00:00
agilob
734faa8a1f
Fix status message spacing in aboutUser
2015-11-14 19:10:41 +00:00
agilob
53f119b8e4
Fix button status after cancelling dir picker
2015-11-14 19:08:55 +00:00
agilob
09405f2493
Scroll public key to left after creation in aboutUser
2015-11-12 21:52:54 +00:00
agilob
6d440e9c8c
Minor UI fix
2015-11-12 21:51:43 +00:00
agilob
d3548f7a80
Resize avatar in aboutUser to 75x75
2015-11-12 21:49:27 +00:00
agilob
8d1197903c
Make dir chooser work in aboutUser, code cleanup
2015-11-12 21:46:43 +00:00
agilob
b85e12b0fc
Make autoaccept per user work from aboutUser window
2015-11-12 21:30:54 +00:00
agilob
a148e4dc5e
Improve avatar quality in aboutUser window
2015-11-12 21:13:37 +00:00
agilob
ad5301eef7
Improve layout in aboutUser window
2015-11-12 20:33:57 +00:00
Ferit Tunçer
a7440d3681
Turkish Translation by MarmaraGNU<mgnu.org>
2015-11-12 14:41:14 +02:00
TheNain38
2ae4524e33
Change 'minutes' to 'min' and remove translation
2015-11-11 18:24:15 +01:00
TheNain38
eb3ec79b20
Fix #2301 and use QStringLiteral for comparison
2015-11-10 20:20:07 +01:00
tux3
5b42b9984b
Revert "Attempt to fix QDataStream operator<< ODR violation"
...
This reverts commit afe2dbd128
.
2015-11-10 15:57:55 +01:00
tux3
787865a23e
Show notifications even when busy
2015-11-09 23:27:00 +01:00
tux3
afe2dbd128
Attempt to fix QDataStream operator<< ODR violation
2015-11-09 23:23:32 +01:00
agilob
08212ad781
Add about window classes
2015-11-09 20:56:22 +00:00
agilob
b9a168dffe
Add action for about window in context menu
2015-11-09 20:55:11 +00:00
agilob
95b5a75d0e
Add settings for notes per user
2015-11-09 20:54:28 +00:00
agilob
170eb931ff
Add status message setter and getter
2015-11-09 20:53:24 +00: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
tux3
8a3c9d14c0
Merge branch 'pr2539'
2015-11-09 02:36:16 +01:00
TheNain38
d8d64fc56a
Fix HTML Parsing
2015-11-09 01:19:33 +01:00
TheNain38
1a1e296c86
Allow to scroll on QCheckBox and consistancy
2015-11-09 01:14:33 +01:00
tux3
f9c324c0f2
Merge branch 'pr2532'
2015-11-08 21:26:19 +01:00
TheNain38
7cdd6e3dd9
Add an event filter so you can't scroll on sliders
2015-11-08 21:20:42 +01:00
tux3
cc18700a18
Merge branch 'pr2533'
2015-11-08 17:42:12 +01:00
agilob
7189844b2a
Use SVG renderer to scale down SVG in tray icon menu
2015-11-08 15:11:19 +00:00
TheNain38
5ff2a4e37a
Fix groupwidget not unregistered from Translator
2015-11-08 14:22:02 +01:00
tux3
a8746e6857
Cleanup duplicate slider slots in AVForm
...
See #2528
2015-11-08 13:40:32 +01:00
tux3
b6d752fd4b
Fix second bug in #2528
2015-11-08 13:28:51 +01:00
tux3
9d527e7edd
Fix #2528
2015-11-08 12:36:18 +01:00
tux3
d1565188ac
Fix #2527
2015-11-08 02:28:24 +01:00
tux3
523e419adf
Fix theoritical A/V deadlock
...
Could only be hit by pausing at a key point in a debugger until the call timed-out.
Having one thread going up the call stack and acquiring locks (toxcore callbacks), while another thread goes down taking locks in the other order (CoreAV calling toxav functions) creates some pretty freezy situations.
The deadlock was caused by the GUI thread calling the CoreAV thread, acquiring the CoreAV callback, then right before calling a toxav function, not schedule the thread until the call times out. At this point the toxcore thread fires its state callback to tell us the call is over, locking internal toxcore/toxav mutexes, it reaches our callback function which tries to switch to the CoreAV thread to clean up the call data structures, but has to wait since the CoreAV thread holds its own lock. At this point if we resume the CoreAV thread, it'll be busy calling into a toxav function, which tries to acquire internal toxav locks, those locks are held by the toxcore callback so we deadlock.
Our solution is that when getting a toxcore callback, we immediately switch to a temporary thread, allowing toxcore to release the locks it held, and that temporary thread tries to switch to do work on call data structures. Meanwhile if the CoreAV thread needs internal toxcore locks, it can get them.
2015-11-08 00:32:32 +01:00
tux3
cf52ff314f
Don't play sound without an output
...
And avoid the division by 0 when getting garbage info about nonexistent output sources
2015-11-07 22:24:17 +01:00
tux3
c6220545c9
Fix spurious audio i/o changed signal
2015-11-07 22:24:17 +01:00
Zetok Zalbavar
ad5578e44e
Make list of languages listed vertically in source
2015-11-07 18:49:53 +00:00
tux3
bf8bdaf619
Improve perf of opening/closing AV tab
...
Should help with #2424
2015-11-07 18:30:09 +01:00
tux3
5c8dc1d7c9
Add None audio I/O devices
...
Can be changed in the middle of a call without problem
2015-11-07 18:23:10 +01:00
nikolas-n
2da384468d
Added Greek translation
2015-11-07 16:39:33 +01:00
TheNain38
75967ad23d
Makes no sense to translate this
2015-11-07 12:19:50 +01:00
TheNain38
3683d93fff
Don't make program name "qTox" traduisible
2015-11-07 12:02:33 +01:00
tux3
71e26fb15b
List video devices using v4l2 directly, not ffmpeg
...
Turns out, FFmpeg is annoyingly unreliable when it comes to this. It ignores uvcvideo devices for example
2015-11-07 01:34:07 +01:00
tux3
73c7f2bd36
Fix #2512
2015-11-07 01:01:32 +01:00
tux3
6a3b9f76d7
Merge branch 'pr2510'
...
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 23:17:22 +01:00
tux3
7dc608818c
Automatic AV bitrate management
...
Makes progress on #2134
2015-11-06 23:05:51 +01: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
46fa4def20
Don't spam log dropped audio frames
...
Fixes #2507
2015-11-06 20:56:00 +01:00
tux3
d41a578735
Fix crash on audio -> video call promotion
...
We just ignore it and not show the received video for now.
Fixes #2505
2015-11-06 20:47:42 +01:00
Nils Fenner
43e8ebd055
Merge pull request #2461 from TheNain38/patch-1
2015-11-06 17:44:20 +01:00
Zetok Zalbavar
ae86db8891
Merge pull request #2466 from ovalseven8:ovalseven8-patch-3
...
domain.com -> example.com
2015-11-06 08:09:12 +00:00
tux3
5b036cca0f
Merge branch 'newav_final_for_realsies'
...
Implements the new toxav API.
2015-11-06 01:52:40 +01:00
tux3
b4754c6ac2
Fix inconsistent noexcept in toxcall.cpp
2015-11-06 01:49:54 +01:00
Nils Fenner
c568a4db05
Merge pull request #2494 from branch agilob/logout_action
2015-11-02 22:24:34 +01:00
agilob
3675428c65
Simplify hardcoding qt version in settings
2015-11-02 19:44:17 +00: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
agilob
0b6fc751cb
Show compiletime Qt version in aboutsettings
2015-11-02 18:56:30 +00:00
tux3
a853d51f5b
Show video button when making outgoing video call
2015-10-25 16:16:42 +01:00
tux3
f107858252
Properly exit CoreAV thread
2015-10-25 13:53:04 +01:00
ovalseven8
41ba2bc69d
domain.com -> example.com
...
@zetok
2015-10-25 09:51:13 +01:00
tux3
c902543ae4
Fix call race leading to deadlock and memory leak
...
A call cancel/accepted race was locking up both UI and AV threads, while the stream thread was shoveling more and more video frames on the AV thread's event queue
2015-10-25 00:17:45 +02:00
tux3
f85aec6c95
Re-enable call buttons if video call fails
2015-10-24 22:55:18 +02:00
tux3
a776579732
Don't assert if a call dies while we answer it
...
This error condition only happens when a peer cancels its outgoing call in the middle of us answering it. We can simply ignore the error and things should nicely fall back into place. Since this race should be pretty rare in normal usage, it's nice to leave a log message, as it might mean we're being fuzzed.
We can prograssively replace more of those asserts by fallbacks and log messages now that everything has been shown to work fine, and the race conditions are harmless.
I feel like writing a novel today. Good thing nobody looks at these!
2015-10-24 21:41:19 +02:00
TheNain38
035fbc95b3
Fix #2460 Light Icon setting disabled but should not
2015-10-24 18:55:24 +02:00
tux3
37e2d2e75f
CoreAV: Fix BlockingQueued connections deadlock
...
Having a deadlock problem? The solution is more locks!
2015-10-24 15:35:08 +02:00
tux3
50006a9a32
Faster video device opening
2015-10-24 05:20:49 +02:00
tux3
e1c61cd207
CoreVideoSource: Replace insane spinlock by QMutex
...
What was I thinking.
2015-10-24 04:38:00 +02:00
tux3
c0d8703368
Properly signal when we stop sending video
...
And properly handle toxav happily delivering things out of order,
like firing a video frame callback right after a callback setting the bitrate to 0,
when the peer sent these commands in the right order
2015-10-24 04:26:39 +02:00
tux3
8ebf07762f
VideoSurface: Release null frames
2015-10-24 03:30:42 +02:00
tux3
995fc4cdda
Reload audio devices on the fly from settings
2015-10-24 02:59:12 +02:00
tux3
aaf04a80db
Remove some debug output
2015-10-24 02:46:34 +02:00
tux3
8f7214f383
Re-enable buttons if calling failed
2015-10-24 02:40:56 +02: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
1dc7e4cca5
Add 45s call ringing timeout
2015-10-24 01:53:10 +02:00
tux3
51ffd94e68
Fix possible nullptr deref in ~CameraSource
2015-10-23 20:30:22 +02:00
tux3
8d2ae07c9f
Revert "Delete CoreAV from the Core thread"
...
This reverts commit 1f758efc2f
.
2015-10-23 20:05:35 +02:00
tux3
ae243b2089
Delete CoreAV's timer from the CoreAV thread
2015-10-23 20:05:30 +02:00
tux3
1f758efc2f
Delete CoreAV from the Core thread
...
Since it was created there
Fixes #2457
2015-10-23 19:42:39 +02:00
tux3
08bde698ca
Apply input volume to all audio channels
...
Fixes #2452
2015-10-23 19:27:27 +02:00
tux3
2d7c65efbb
Fix IPC::~IPC use after free of static log file
2015-10-23 19:21:37 +02:00
tux3
4d9aeeec39
Fix bitrate callback to match toxav update
2015-10-23 17:52:46 +02:00
tux3
6dc91b156a
Use actual mutexes for CameraSource
...
That homemade spinlock thing was insane, VTune says we were spending 1.5s spinning for no reason when openning a device for example
2015-10-23 17:52:46 +02:00
tux3
477554ffba
Clean up callback hell between AV UI and CoreAV
2015-10-23 17:52:46 +02:00
tux3
a505e06f83
Multithread CoreAV
...
This is a little less insane, gives an overall 2x speedup on debug builds video calls
2015-10-23 17:52:45 +02:00
tux3
41e0212f77
Cleanup UI/CoreAV interface
2015-10-23 17:52:45 +02:00
tux3
73a4f40744
Fix call start/call invite race condition
...
Would result in an assert failure
2015-10-23 17:52:45 +02:00
tux3
1db17ae1ec
Fix crash due to erase/remove typo
...
A race condition would result in trying to remove an element that didn't exist, and thus erasing end (undefined behavior) instead of erasing [end, end) (no-op)
2015-10-23 17:52:45 +02:00
tux3
f45256baf1
Implement group calls
2015-10-23 17:52:45 +02:00
tux3
6cbd507ca8
Clean up dead code in CoreAV
2015-10-23 17:39:08 +02:00
tux3
69b8a90277
Implement video calls
2015-10-23 17:39:08 +02:00
tux3
e0aa8dd4a2
Implement audio calls
2015-10-23 17:39:08 +02:00
tux3
2b888ddc05
Better data structure for tox calls
2015-10-23 17:19:16 +02:00
Zetok Zalbavar
cd4b02ce6a
Remove ~duplicated code for tray backed selection
...
`else` clause already handles KDE5 case
2015-10-23 16:13:44 +01: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
f2866ecc44
remove unused code, better logging for systray, removed KDE5 from enum
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
tux3
b69f8425c6
Fix qTox on OSX, closes #2447
2015-10-23 15:21:47 +02:00
tux3
1f61534841
Merge branch 'pr2343'
2015-10-23 15:20:58 +02:00
Rowen Stipe
e107de12c0
Compile on Mac
...
This set up added to current master compiles properly on Mac.
Includes pull #2436 fixes suggested by @antis81
2015-10-22 01:57:46 -04:00
Zetok Zalbavar
d2aa9441bf
Merge pull request #2364 from PKEv:fix_write_to_db
...
fix write to DB
2015-10-22 05:50:25 +01:00
Dmytro Shynkevych
b887072bc4
systemtrayicon: switched to manual memory management for pixmap data
2015-10-21 23:42:14 -04:00
Nils Fenner
33e54b841a
Merge pull request #2415 from antis81:ngf/mic
2015-10-21 22:19:37 +02:00
Nils Fenner
cf8fa7b29c
remove unused include and forward declarations
2015-10-21 22:18:47 +02:00
agilob
4a64790b52
Merge remote-tracking branch 'bitok/Fix2167'
2015-10-21 19:13:10 +01:00
agilob
ecbda91764
Merge remote-tracking branch 'bitok/fix_performance_issues'
2015-10-21 19:12:15 +01:00
agilob
61ef6429e2
Merge remote-tracking branch 'zetok/fix-warning-no-profile'
2015-10-21 19:05:48 +01:00
Zetok Zalbavar
0c34b079a5
Unlock mutex before returning history instance
...
fix #2428
2015-10-21 13:17:42 +01:00
Nils Fenner
e1c2a80e82
switch colors in mic gain indicator gradient
2015-10-20 23:14:37 +02:00
Nils Fenner
82e1644d67
cleanup Audio::openOutput
2015-10-20 23:14:07 +02:00
Nils Fenner
3eb7b48d1c
cleanup Audio::openInput
2015-10-20 23:12:55 +02:00
Nils Fenner
ab41bf92ba
don't open audio in/out twice
2015-10-20 23:10:14 +02:00
Zetok Zalbavar
c07aee18ad
Merge pull request #2346 from PKEv:save_avatar_in_DB
...
Save avatar in DB
add import avatars
update delete avatar action
correct import avatar for user without history
add multithreaded
make import run once
2015-10-20 21:01:20 +01:00
Nils Fenner
b7cf4df13f
Get rid of static methods and bugs
2015-10-20 03:46:44 +02:00
Nils Fenner
54547af7cf
warn when trying to start audio thread twice
2015-10-20 03:42:02 +02:00
Nils Fenner
a675725a5e
change wording in docs
2015-10-20 03:41:18 +02:00
Nils Fenner
2bc3798aa0
remove dead & unfinished code
2015-10-19 21:59:47 +02:00
Nils Fenner
c8e003decb
further cleanup
2015-10-18 22:21:08 +02:00
Nils Fenner
8530acf079
fix asserts when (un-)subscribing input
2015-10-18 22:21:08 +02:00
Nils Fenner
59ca97e9b6
move docs to cpp
2015-10-18 22:21:08 +02:00
Nils Fenner
1c205b7c16
the big code cleanup
...
* Get rid of static vars and methods and move mutexes to right places.
* Use static wrappers for the moment to retain compatibility.
2015-10-18 22:21:08 +02:00
Nils Fenner
2a2cba3cf2
remove outcommented code
2015-10-18 22:21:08 +02:00
Nils Fenner
932d9b7c9b
Audio: Fix device open only when needed
2015-10-18 22:21:08 +02:00
TheSpiritXIII
dc2c6532a5
Audio: Fix unclosed audio when hanging up
2015-10-18 22:21:08 +02:00
TheSpiritXIII
bbbd450b6a
Audio: Only open mic when requested
2015-10-18 22:21:08 +02:00
TheSpiritXIII
868381fe3f
Audio: Don't need this?
2015-10-18 22:21:08 +02:00
TheSpiritXIII
61eb302ff7
Audio: Fix crash when no devices available
2015-10-18 22:21:08 +02:00
TheSpiritXIII
a311b96376
Audio: Open output only when necessary
2015-10-18 22:21:08 +02:00
Nils Fenner
a2a32b61c4
Audio: persistent volume sliders, mic feedback and volume
2015-10-18 22:21:08 +02:00
Nils Fenner
1fc703c281
fix warnings
2015-10-18 22:20:16 +02:00
agilob
7117083e86
Merge remote-tracking branch 'origin/new_video_view'
2015-10-18 20:55:01 +01:00
PKEv
e5a5074f91
make import run once
...
and rename function
2015-10-18 22:15:49 +03:00
PKEv
20d0eb06f6
add multithreaded
2015-10-18 20:04:37 +03:00
Zetok Zalbavar
d60cfe07b6
Remove an empty line and unneeded slash
2015-10-18 17:04:49 +01:00
PKEv
ec5e9c7350
correct import avatar for user without history
2015-10-18 16:50:00 +03:00
agilob
cde9721600
qunused on event
2015-10-18 10:18:13 +01:00
agilob
ec3ccc7ca3
remove qdebug from audio.cpp:270
2015-10-18 10:18:13 +01:00
agilob
d2e09ead7a
one more line to remove
2015-10-18 10:18:13 +01:00
agilob
d875221e53
remove unused code, removed unused checks
2015-10-18 10:18:06 +01:00
Zetok Zalbavar
60884b6c62
Display correct error message when trying to load non-existent profile
...
fixes #2412
2015-10-17 22:12:23 +01:00
agilob
7b90ed1abb
Merge remote-tracking branch 'zetok/fix-password-dialog'
2015-10-17 18:17:58 +01:00
Zetok Zalbavar
febb1933d9
Make text about not long enough password disappear if no password given
...
fixes #2405
2015-10-17 17:54:31 +01:00
Dmytro Shynkevych
e4ebe8b7a7
systemtrayicon: optimized QImage <-> GdkPixbuf conversion
...
Switched to gdk_pixbuf_new_from_resource() for loading from file
QImages are now stack-allocated, contents copied to GBytes
2015-10-17 12:44:33 -03:00
Zetok Zalbavar
0cf70c33ae
Merge pull request #2386 from agilob:settings_reogranize
...
reorganize generalsettings:
generalsettings form: removed empty label
generalsetting layout: change indentation method
remove slash
Fix indentation for `Focus window` setting
2015-10-17 16:31:29 +01:00
Matthieu Baerts
aaf9b95d97
Autorun:xdg: create autostart dir if needed
...
After a fresh installation of Ubuntu, 'autostart' dir is not available.
Simply create it with QDir::mkpath() (= mkdir -p).
2015-10-17 16:00:17 +02:00
Zetok Zalbavar
cedec2ea8d
Fix indentation for Focus window
setting
2015-10-17 09:34:33 +01:00
Nils Fenner
69380d5159
Merge pull request #2383 from antis81:ngf/fix/ipc
2015-10-16 18:33:30 +02:00
agilob
5ecf9b729b
Merge remote-tracking branch 'antis81/ui/login-dialog'
2015-10-15 18:28:38 +01:00
PKEv
afb3bf35ee
update delete avatar action
2015-10-14 23:33:16 +03:00
PKEv
0a11ccbeab
add import avatars
2015-10-14 22:16:59 +03:00
PKev
dd975c38eb
Save avatar in DB
...
Partially addresses an issue #1656
2015-10-14 22:16:59 +03:00
Nils Fenner
b32410b962
style login screen completely via css
2015-10-14 21:11:39 +02:00
agilob
919ba8c6d7
remove slash
2015-10-14 07:27:57 +01:00
Zetok Zalbavar
41cba4ae52
Merge pull request #2390 from antis81:ui/login-dialog
...
set login dialog style via css stylesheet
closes #2333 #2368 #2367
2015-10-14 01:00:55 +01:00
bitok
d6ff67893f
Fix performance issues detected with static analyze
2015-10-13 23:21:20 +03:00
agilob
726ebadaaa
Merge remote-tracking branch 'zetok/password-dialog'
2015-10-13 20:31:01 +01:00
agilob
e0819d8439
generalsetting layout: change indentation method
2015-10-13 19:37:29 +01:00
bitok
b4cc326e78
Fix formulation
2015-10-13 21:24:04 +03:00
Nils Fenner
06ba8a0f6a
set login dialog style via css stylesheet
2015-10-13 19:02:28 +02:00
bitok
8594dcd6c8
Error display more explicit
2015-10-13 01:32:04 +03:00
Nils Fenner
a8725729bf
readd msleep with lowest possible sleep time
2015-10-12 20:28:03 +02:00
Nils Fenner
3f38ba3896
initialize IPC on first call
2015-10-11 23:09:29 +02:00
Nils Fenner
6644622301
fix #2360
...
The valid result prevents starting a second instance.
2015-10-11 23:08:49 +02:00
Nils Fenner
7cf1f564b0
remove dead code
2015-10-11 23:07:37 +02:00
agilob
7afeb41b1e
Merge remote-tracking branch 'antis81/ngf/fix/screen-grabber'
2015-10-11 20:27:46 +01:00
agilob
4a4df15662
Merge remote-tracking branch 'Impyy/feature-rm-avatar'
2015-10-11 20:21:36 +01:00
agilob
cf98376587
generalsettings form: removed empty label
2015-10-11 18:51:08 +01:00
agilob
15077ec142
reorganize generalsettings:
...
* tab order on widgets
* better spacing
* consistent text
* indentation for similar settings
2015-10-11 18:46:35 +01:00
Nils Fenner
5ddfc2eefe
cleanup inheritance QThread --> QObject and includes
...
IPC is actually not running in a thread; And if, QThread should not be inherited.
2015-10-11 13:49:22 +02:00
Nils Fenner
42a917fc58
remove obsolete QThread::msleep completely
2015-10-11 13:47:19 +02:00
agilob
884547cd34
Video: fix sgefault when disconnecting from video call
2015-10-11 10:46:42 +01:00
agilob
73993e8b5d
update video mode on manual change , closes #2046
2015-10-11 07:58:36 +01:00
agilob
cffac87cbd
nicely close camera when quitting qtox from opened av tab, fixes #2037
2015-10-11 07:50:08 +01:00
agilob
7c6ac40d21
add debugging messages to camerasource, code reformatting to make it more readable and ogranized better
2015-10-11 07:38:44 +01:00
bitok
23a0f748dd
Added clear button for search field #2015
2015-10-11 01:15:30 +03:00
Zetok Zalbavar
04cf6d0133
Make Change password
dialog ~consistent with login page password form
...
Make text about password not matching appear only when passwords don't match.
Change width of dialog window, to make it look better.
fixes points 1 and 2 from issue #2337
2015-10-10 18:58:59 +01:00
Nils Fenner
a6a8f619b2
no need to install an event filter on "this"
2015-10-10 17:55:29 +02:00
Nils Fenner
073d4f0ad3
fix hide/restore qTox windows with space key
2015-10-10 17:54:56 +02:00
Nils Fenner
6e383fa0f1
add methods to hide & restore currently visible qTox windows
2015-10-10 17:45:23 +02:00
Nils Fenner
24aec1dfd3
ScreenshotGrabber::showGrabber isn't a slot
2015-10-10 17:41:04 +02:00
Nils Fenner
75ba20cb06
simplify graphics scene initialization
2015-10-10 17:39:59 +02:00
Nils Fenner
b5493178e7
cleanup includes
2015-10-10 17:34:33 +02:00
bitok
55f5357ce1
Migration to QRegularExpression and text formulation fix
2015-10-10 18:25:24 +03:00
agilob
83bcf2b8ae
fix closing video device after changing tab
2015-10-10 14:26:35 +01:00
bitok
f5bffa0f0c
#2167 fix: qTox should check if string in "Add friend" input field is 64 chars long
2015-10-10 16:26:00 +03:00
agilob
0e9cfd948e
remove menubar and status bar
...
Signed-off-by: agilob <info@agilob.net>
2015-10-10 13:55:14 +01:00
agilob
266c0fb989
Merge branch TheSpiritXIII:video
2015-10-10 13:49:30 +01:00
TheNain38
2db1d1449f
Fixdisplaying Pub key when name empty
2015-10-10 13:25:58 +02:00
tux3
aa303b24b3
Merge branch 'pr2363'
2015-10-10 12:32:19 +02:00
Dmytro Shynkevych
901befb270
cameradevice: fixed a double free
...
Introduced by c491f79077
2015-10-09 19:10:43 -04:00
PKev
889bd77e23
fix write to DB
...
fix #2292 , please test i don't sure
2015-10-09 14:38:12 +03:00
tux3
b0647b0b4b
Merge branch 'pr2361'
2015-10-09 09:42:40 +02:00
tux3
19a1851547
Small startup speed improvement
2015-10-09 02:11:06 +02:00
bitok
aff85a7ea6
2257 Fix and Style comboBox fix
2015-10-09 01:31:34 +03:00
bitok
af7b8b7a25
Merge branch 'master' of https://github.com/tux3/qTox into FriendListLayoutFix
2015-10-08 22:55:42 +03:00
bitok
42e0770991
Fixed FriendListLayout constructor delegation fix
2015-10-08 22:53:46 +03:00
agilob
6e0c0d1210
Merge remote-tracking branch 'PKEv/fix_save_position_when_moving_widget'
2015-10-08 20:39:28 +01:00
agilob
bc6e2287d9
Merge remote-tracking branch 'thenain38/master'
2015-10-08 19:00:08 +01:00
tux3
59e0692069
Sleep 10ms in IPC wait loop, not 10 SECONDS!
...
Fixes #2334
2015-10-08 19:54:06 +02:00
Impyy
fbd95b0781
Fixed #2294 - Remember proxy type after retranslation
2015-10-07 19:44:12 +02:00
tux3
56cccc7492
Fix #2228 : Friendlist too wide on first start
2015-10-07 15:28:20 +02:00
agilob
6c26262ba3
Merge remote-tracking branch 'thenain38/fix-HTML-username-status'
2015-10-06 19:01:45 +01:00
agilob
91d9f263ce
Merge remote-tracking branch 'thenain38/dynamic-call-video-mute-unmute-trans'
2015-10-06 18:56:48 +01:00
PKev
0152937eb4
fix: save position when moving widget
...
fix #2063
2015-10-06 16:13:47 +03:00
Dmytro Shynkevych
c491f79077
cameradevice: fixed a regression
...
Memory would sometimes not be freed.
Caused by 8776682d44
2015-10-05 21:21:12 -04:00
Impyy
98c21f3832
Added a context menu to edit/remove the avatar
2015-10-05 22:03:31 +02:00
agilob
eaf44c45d5
Merge remote-tracking branch 'zetok/screenshotname'
2015-10-05 19:48:55 +01:00
Dmytro Shynkevych
88cce4e137
systemtrayicon: fixed multiple small leaks
2015-10-04 19:51:51 -04:00
Dmytro Shynkevych
2982bab991
profileform: fixed leaky toxId field
2015-10-04 18:18:34 -04:00
Dmytro Shynkevych
8776682d44
cameradevice: fixed a major leak: avformat_context not always freed
2015-10-04 17:21:52 -04:00
Dmytro Shynkevych
45a3d7ca30
systemtrayicon: fixed multiple gdk_pixbuf memory leaks
...
Note: QImages **must** be heap-allocated, their data are used
until the corresponding gdk_pixmap is finalized
2015-10-04 16:58:24 -04:00
Dmytro Shynkevych
c4e07f219c
settings: fixed check on an uninitialized value
...
enableLogging has to be deserialized before
getEnableLogging() in Friends group can be called.
2015-10-04 15:48:17 -04:00
Dmytro Shynkevych
05e84f3838
statusnotifier: fixed pointer type
2015-10-04 15:41:56 -04:00
Zetok Zalbavar
a13969b9ba
Make screenshot names use ~ISO 8601 (timestamp) instead of random string
...
Now screenshots will be saved as: `qTox-Screenshot_yyyy-MM-dd HH-mm-ss.zzz`
Since miliseconds are used, it shouldn't cause filename conflicts when
saving screenshots.
Change should make it easier for users to navigate through screenshots
chronologically.
2015-10-04 15:10:04 +01: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
agilob
c5127e3654
Merge remote-tracking branch 'zetok/audio-win-fix'
2015-10-04 11:01:58 +01:00
agilob
7521cd4785
Merge remote-tracking branch 'PKEv/fix__switching_contacts_view'
2015-10-04 10:21:56 +01:00
TheNain38
f99c9f127d
Fix ACTION messages, status, username HTML parsing
2015-10-03 21:31:41 +02:00
PKEv
164d6a124e
Program crashes after switching the display view of contacts, from compact to normal view
2015-10-03 22:30:08 +03:00
agilob
2ec716cb54
Merge remote-tracking branch 'thenain38/fix-dynamic-trans-db'
2015-10-03 18:10:12 +01:00
agilob
a522624b2d
Merge remote-tracking branch 'PKEv/fix_2183_dir_to_Profile'
2015-10-03 17:52:12 +01:00
TheNain38
59e8755637
Dynamic translation of call, video, mute, unmute
2015-10-03 17:41:46 +02:00
Nils Fenner
cfe6462fef
Merge pull request #2324 from antis81:ngf/fix/screen-grabber
2015-10-03 10:22:04 +02:00
Nils Fenner
84a8e2789b
fix position of tooltip in screen grabber
...
The tooltip is shown centred at top of the screen which currently contains the mouse cursor.
2015-10-03 10:03:14 +02:00
Nils Fenner
80fa36e134
Merge pull request #2323 from dmshynk:fix_memory_leaks
2015-10-01 22:25:07 +02:00
Dmytro Shynkevych
7b1b4655a5
systemtrayicon: image is now stack-allocated
2015-09-30 18:00:25 -04:00
Dmytro Shynkevych
fc41cded7f
statusnotifier: fixed a memory leak in get_prop()
...
Replaced get_builder_for_icon_pixmap() with get_icon_pixmap()
returning a plain GVariant. Refactored all usages.
2015-09-29 23:17:47 -04:00
agilob
9cafb31eca
Merge remote-tracking branch 'antis81/ngf/fix/screen-grabber'
2015-09-29 19:36:36 +01:00
agilob
d65f54cc81
Merge remote-tracking branch 'PKEv/add_mail_link_support'
2015-09-29 19:07:10 +01:00
PKEv
b9a9b3f6c5
add 150ms for hiding & restoring window
...
fix #2290
2015-09-29 20:39:32 +03:00
PKev
381e291dac
add mail link support
...
fix #2318
2015-09-29 15:33:26 +03:00
PKEv
bd77a38e5d
Fix dir to user profile
...
fix #2183 (for portable mode)
2015-09-29 10:46:23 +03:00
TheNain38
32948fb5c4
Add dynamic translation to db write type
2015-09-28 23:26:47 +02:00
TheNain38
af472550a4
Better translations with plural and fix something not being translated dynamically
2015-09-28 07:36:24 +02:00
Dmytro Shynkevych
d548b51e1d
systemtrayicon: fixed minor memory leak
2015-09-27 23:19:21 -04:00
Dmytro Shynkevych
0de6600c94
contentlayout: items are now properly deallocated on clear
2015-09-27 22:20:16 -04:00
Dmytro Shynkevych
f288be72d9
genericchatroomwidget: fixed memory leak if compact view enabled
2015-09-27 21:06:27 -04:00
tux3
e1509a9f03
Further cleanup Widget::retranslateUi
2015-09-28 00:05:42 +02:00
Nils Fenner
fde63f1592
fix screenshot grabber for windows
2015-09-27 23:57:01 +02:00
tux3
14235c5a19
Refactor code duplication in Widget::retranslateUi
2015-09-27 23:52:10 +02:00
tux3
c0e2b91fe8
Fix #2310 caused by #2309
2015-09-27 23:45:02 +02:00
agilob
865b1a915c
Merge remote-tracking branch 'thenain38/url'
2015-09-27 20:48:41 +01:00
TheNain38
879c396efc
Added dynamic translation to status and username
2015-09-27 21:36:17 +02:00
TheNain38
c6c3150803
Display correclty what the user write and open correctly link with 'http://'
2015-09-27 13:58:18 +02:00
Nils Fenner
dd9f0763b7
fix inheritance of ScreenShotGrabber
2015-09-25 21:47:49 +02:00
Nils Fenner
04219e8c1d
fix positioning of screen grabber window
2015-09-25 21:44:54 +02:00
Impyy
c49ce6208e
Load user status from data file
2015-09-25 20:56:11 +02:00
agilob
3ceb289020
Merge remote-tracking branch 'PKEv/QRegExp_for_local_file'
2015-09-25 18:46:37 +01:00
Nils Fenner
7b2610e4fb
resize screen grabber window to pixmap size
2015-09-25 14:25:14 +02:00
Zetok Zalbavar
b2b50c26ce
Fix audio not working on 64-bit windows with non-latin audio device names
...
properly fixes #816
2015-09-25 08:14:19 +01:00
PKev
f476b752d1
Added support for local links in messages and correct detect links like "www.123.com"
2015-09-25 01:20:20 +03:00
agilob
45db1dff91
Merge remote-tracking branch 'antis81/ngf/fix/multi-window-buttons'
2015-09-24 19:23:04 +01:00
agilob
dabb346c3a
Merge remote-tracking branch 'PKEv/correct_remove_profile'
2015-09-24 19:06:34 +01:00
Nils Fenner
cf9ed8d580
fix screen grabbing for screenshots
2015-09-24 16:44:07 +02:00
PKEv
ae9b29cfae
correct remove profile
...
fix #2284
2015-09-24 02:00:22 +03:00
Impyy
25ff57ad23
Make the cancel button the default button
2015-09-23 20:04:13 +02:00
Impyy
91e51f8a10
Changed the buttons back to 'Cancel' and 'Remove'
2015-09-23 18:10:55 +02:00
Impyy
3d72a75ed3
Made the 'remove friend dialog' userfriendly
2015-09-23 17:06:57 +02:00
Nils Fenner
41500f2134
fix window buttons in "multi-window" mode
2015-09-23 11:57:50 +02:00
PKev
a14d917703
correct screenshot tooltip
...
fix #2267
2015-09-22 12:51:46 +03:00
agilob
a53f6f2adf
Merge remote-tracking branch 'PKEv/restor_window_after_screenshot'
2015-09-19 23:03:26 +01:00
agilob
a09d448ec4
Merge remote-tracking branch 'zetok/login'
2015-09-19 01:03:38 +01:00
PKev
9484488c31
restore window after screenshot
2015-09-18 22:45:58 +03:00
Zetok Zalbavar
6998c2c757
Make 'None' and 'Desktop' camera device names translatable
...
fixes #2252
2015-09-18 19:12:10 +01:00
TheNain38
6c526fe5fe
More consistent translation strings in groupchatform.cpp
...
It should not be able to be translated differently as one update when the number of user in the group chat change and the other is when language change, so it should be translated together.
2015-09-18 19:10:37 +02:00
Zetok Zalbavar
35a15f119e
Reword login window: "Login" → "Load Profile"
...
thanks to @LittleVulpix suggestion
fixes #1898
2015-09-18 08:07:58 +01:00
aaannndddyyy
9269b0f967
rename two options
2015-09-17 18:25:23 +00:00
tux3
21ab9088b3
Remove broken 'Copy friend ID' feature
2015-09-15 17:58:46 +02:00
tux3
54fc35e714
Fix group name changes not displaying
2015-09-14 20:25:16 +02:00
tux3
6229e045f2
Merge branch 'pr2223'
...
Fixes #659
2015-09-14 19:51:10 +02:00
tux3
cf5fb0397a
Remove 'Open Chat' menu action
...
Apparently, nobody uses it
2015-09-14 19:31:03 +02:00
PKEv
564b32eb7c
save alias
2015-09-14 20:10:35 +03:00
agilob
346c2c64db
Merge remote-tracking branch 'zetok/wording'
2015-09-13 22:59:50 +01:00
agilob
8058d85f75
Merge remote-tracking branch 'zetok/wording2'
2015-09-13 22:59:14 +01:00
agilob
78a07dc5d9
Merge remote-tracking branch 'antis81/ngf/fix/virt-overloads'
2015-09-13 22:57:27 +01:00
Nils Fenner
fa6bd18ad7
fix virtual overrides
2015-09-13 23:20:54 +02:00
Nils Fenner
d14e93ef91
fix faulty parented QFileDialog
...
closes issue #2205
2015-09-13 23:09:21 +02:00
tux3
1f81e1f066
Don't reload content dialog if nothing changed
...
Should fix the zetok's Resizing problem in #1938
2015-09-12 19:07:45 +02:00
TheSpiritXIII
d0e682214b
Multi-window: Fix blinking tray icon regression
2015-09-12 19:07:45 +02:00
TheSpiritXIII
16ebb7f3a9
Multi-window: Unminimize requested window
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
4e5c4cb678
Multi-window: Fix circle modified from dialog window, fix groupchat leave warnings, flip dialog window title
2015-09-12 19:07:45 +02:00
TheSpiritXIII
aa9a10fa8b
Multiwindow: Fix segfault on quiting groups, remove dead code
2015-09-12 19:07:45 +02:00
TheSpiritXIII
1109e0347e
Multi-window: Fix segfault for removing last friend on window friend list
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
730626fc2c
Multi-window: Sort window chat list, fix group window bugs
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
Zetok Zalbavar
ccc2dd2ad9
More visually appealing wording for DB writing mode
2015-09-10 16:08:30 +01:00
Zetok Zalbavar
7449e0efcd
Change wording "tox{1,3}" → "toxdns{1,3}"
...
Should help avoid confusion about security of Tox protocol.
2015-09-10 13:09:01 +01:00
Zetok Zalbavar
2409827582
Merge pull request #2192 from ovalseven8:patch-5
...
Replace char in file
2015-09-08 14:27:52 +01:00
ovalseven8
2a8354a52e
Replace char in file
...
- Qt Linguist had problems with it
- Additionally, improved readability
2015-09-08 15:14:00 +02:00
aaannndddyyy
4fb4ba7617
correct a typo
2015-09-07 20:50:41 +00:00