tux3
4806e684fa
Cherry-pick HTTP(S) toxme lookups from #2753
...
Implementation by @Diadlo
2016-01-15 18:08:25 +01:00
Zetok Zalbavar
ccfb81b2e4
Add some basic documentation about Tox ID in source
...
Lets not make plaintext gods angry by linking to a dead html page.
2016-01-14 20:21:00 +00:00
tux3
05162a63b9
Merge branch 'pr2793'
2016-01-14 14:11:52 +01:00
tux3
aeb26d1af7
Merge branch 'pr2782'
2016-01-14 14:03:03 +01:00
Zetok Zalbavar
1921a9887e
Remove empty src/main.h ( closes #2792 )
...
Looks like it was accidentally introduced in
9905042434
2016-01-11 19:00:43 +00:00
Taha
13b2ec54aa
Removed static modifier
2016-01-09 19:55:03 -05:00
Nils Fenner
26019c20e2
Merge pull request #2725 from 'r-ku:ipc-cleanup'
2016-01-09 23:37:07 +01:00
Nils Fenner
82dfe0f704
fix audio singleton implementation
2016-01-09 13:12:39 +01:00
Taha
03cb9d8a03
qTox uses default smiley pack if there's an invalid one in the qtox.ini file ( fixes #2757 )
2016-01-08 21:02:48 -05:00
agilob
ad3326b95d
Merge remote-tracking branch 'briskycat/issue2558_desktop'
2016-01-07 20:16:45 +00:00
Nils Fenner
e952d1a654
Merge pull request #2767 from branch agilob:chat_window_icon
...
* Set status icon on separate chat window, closes #2210
2016-01-04 22:34:30 +01:00
Zetok Zalbavar
b25faf0426
Merge pull request #2770 from a68366:issue2484
...
Fixes #2484 - Error message inside the chat
Remove extra spaces
2016-01-04 12:23:25 +00:00
Andrey S
d69139bf4a
Remove extra spaces
2016-01-04 14:02:37 +03: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
agilob
09d1fd3fdd
Merge remote-tracking branch 'antis81/fix_default_audio_device'
2016-01-02 17:27:27 +00:00
Andrey S
8ce16ad399
Fixes #2484 - Error message inside the chat
2016-01-02 00:00:05 +03:00
tux3
f2ba03b45f
Fix some messages being saved with history disabled
2015-12-31 14:36:12 +01:00
agilob
7f34290129
Merge remote-tracking branch 'antis81/chat/fix-mouse-crsr'
2015-12-30 21:40:19 +00:00
Nils Fenner
26768de94a
set mouse cursor to I-Beam shape, when hovering over text within chat
2015-12-30 14:45:55 +01:00
Nils Fenner
79ddbf7d02
open the first available audio in/out device as default, if specifier is empty
2015-12-28 12:06:22 +01:00
ovalseven8
f70b249ed8
Fix default smiley pack. Necessary because of the name changes.
2015-12-24 16:00:05 +01:00
Nils Fenner
552155bd1f
Merge PR #2719 from antis81:fix_audio_subscriptions
...
* fix dangling audio output device
* do not resubscribe sid in copy constructor
2015-12-23 23:29:20 +01:00
Andrew Novikov
985def25ff
Implemented screen capturing support for Mac OS X
2015-12-23 15:31:28 +03:00
Andrew Novikov
bd8a2c84ef
Optimized working with strings
2015-12-23 11:03:56 +03:00
rku
056a77d4dd
Cleaned up all the ipc/startup code:
...
* Removed duplicate code of ipc event sending
* Removed duplicate code of profile loading
* Fixed bug where activating existing instance still started new instance of qtox asking to select a profile
* IPC messages are now profile-aware and are sent to instance that runs specified profile in -p flag or to ipc owner if -p is not specified.
If -p flag is specified ipc events will be send to instance which runs specified profile. If instance using that profile does not run - new qTox instance will be started. This works with password-protected profiles too - new instance will handle "uri" or "save" events after accepting user password.
2015-12-22 14:59:55 +02:00
Jacob Henner
e9b34f5154
Fixes #2686 - Profiles will store avatars in distinct files
2015-12-21 13:30:46 +01:00
Jacob Henner
3f4c21216a
Fixes #2629 : avatars will be re-encrypted when the profile password changes
2015-12-21 13:30:46 +01:00
Johannes Löthberg
e5baa403e0
Add SVG support to filetransfer preview
...
Only requires Qt SVG which is already a dependency of qTox.
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2015-12-21 06:02:32 +01:00
Andrew Novikov
cc64db3f27
Implemented listing and setting video modes on Mac OS X
2015-12-21 01:27:38 +01:00
Andrew Novikov
9d43062639
Changed the type of VideoMode::FPS to float: this is necessary for Mac OS X which uses frame rates like 29.97
2015-12-21 01:27:01 +01:00
Andrew Novikov
cf6623cfc8
Implemented enumeration of video devices.
2015-12-21 01:26:18 +01:00
tux3
b01f47b1aa
Use pre Qt5.4 QTimer::singleShot
...
For compatibility with Debian Jessie
2015-12-21 01:14:23 +01:00
Nils Fenner
19201dda8a
Merge pull request #2713 from antis81:newav_audio_cleanup
2015-12-20 23:10:03 +01:00
Nils Fenner
e73fd27d8b
fix: don't subscribe to in/out device when initialization failed
2015-12-20 09:45:43 +01:00
Nils Fenner
0615c7c3c6
reimplement audio in/out subscription concept
2015-12-20 09:45:43 +01:00
Nils Fenner
27bfade9e1
unsubscribe invalid ToxCall from audio when copied
2015-12-20 09:45:43 +01:00
Nils Fenner
d8607324ce
cleanup AudioPrivate
...
* rename mAudioMeter -> audioMeter
* move class declaration below other classes
2015-12-20 09:45:43 +01:00
Nils Fenner
ace3662757
further improved audio metering
...
Give qTox time to do more important things -> do not measure with 100%.
2015-12-20 09:45:43 +01:00
Nils Fenner
535bb212f5
make use of QThread::requestInterruption
2015-12-20 09:45:43 +01:00
Nils Fenner
02f5f0a391
remove obsolete include of audio.h
2015-12-20 09:45:43 +01:00
Nils Fenner
c39138a65d
lock mutex also on start/stop audio loop playback
2015-12-20 09:45:43 +01:00
Nils Fenner
08c43d0b83
cleanup OpenAL compatibility code in audio class
2015-12-20 09:45:43 +01:00
Nils Fenner
a1b87194b8
fix #2504
...
We need to filter samples * channels; also cleaned up data types
2015-12-20 09:45:43 +01:00
Nils Fenner
44d1c6fe74
[WIP] implement threaded level meter for input level
...
Issues:
1. Using 100% processor.
2. Temporary silences an active call -> reactivate after widget hide.
Still greatly improves metering audio data, removing "read buffer" errors.
2015-12-20 09:45:43 +01:00
Nils Fenner
cbf0f2e7e0
draw the audio gain level with love
2015-12-20 09:45:43 +01:00
Nils Fenner
5805c8c2bf
improved code for non-blocking audio player
...
Instead relying on hardcoded "d->alMainSource", we bind to the given OpenAL source instead.
2015-12-20 09:45:43 +01:00
Nils Fenner
67fbee8868
use qstring for path when playing audio file
2015-12-20 09:45:43 +01:00
Nils Fenner
b44ef6c596
introduce a non-blocking AudioPlayer
...
Also moved private stuff to private class.
2015-12-20 09:45:43 +01:00
Nils Fenner
1fb9bce78c
move audio class to thread before starting
2015-12-20 09:45:22 +01:00
Nils Fenner
bb7d2a72b7
privatized audio interface
2015-12-20 09:45:22 +01:00
Nils Fenner
c23cb0043f
implement actual audio in/out subscription management
2015-12-20 09:42:14 +01:00
Nils Fenner
137eca86d6
use single mutex for audio resource locking
2015-12-20 09:42:04 +01:00
Nils Fenner
9627f45014
don't extra-subscribe audio gain metering widget
2015-12-20 09:42:04 +01:00
Nils Fenner
68e7aef916
privatized open/close audio devices
2015-12-20 09:42:04 +01:00
Nils Fenner
f6c09104e4
fix noise (clipping) while (re-)initializing in/out audio device
2015-12-20 09:40:57 +01:00
Nils Fenner
d233c6f699
cleanup audio out device on error after open
2015-12-20 09:40:57 +01:00
Nils Fenner
d631ddbc86
cleanup close audio out device
2015-12-20 09:40:57 +01:00
Nils Fenner
872be36225
un-/subscribe audio in/out in AV-Settings form
2015-12-20 09:40:57 +01:00
Nils Fenner
e7f666be77
un-/subscribe audio in/out in tox-call
2015-12-20 09:40:57 +01:00
Nils Fenner
32bc99fb38
cleanup reinitialization of changed audio in/out
2015-12-20 09:40:57 +01:00
Nils Fenner
ad6e0a85f5
add method to reinit audio in/out
2015-12-20 09:40:57 +01:00
Nils Fenner
7b98f2a4a0
cleanup close audio device
2015-12-20 09:40:57 +01:00
Nils Fenner
efda47a226
close audio output in destructor
2015-12-20 09:40:57 +01:00
Nils Fenner
c540faf271
add method to un-/subscribe to audio output as well
2015-12-20 09:40:57 +01:00
Nils Fenner
e8a4f6511d
use internal methods to open in/out audio devices
2015-12-20 09:40:57 +01:00
Nils Fenner
c5f4ceee6b
fix Audio::subscribeInput
...
Audio input/output device will only be opened, if not initialized already.
2015-12-20 09:40:57 +01:00
Nils Fenner
bde042ba3a
remove unused include and forward declarations
2015-12-20 09:40:57 +01:00
Nils Fenner
2ce92be94b
do not close output in unsubscribeInput and cleanup input internally instead
2015-12-20 09:40:57 +01:00
Nils Fenner
26fc424986
use internal cleanup methods to close in-/output devices
2015-12-20 09:40:57 +01:00
Nils Fenner
e2966b1457
open output device on "subscribeInput" only when not already opened
2015-12-20 09:40:57 +01:00
Nils Fenner
46b3ba2631
remove obsolete if
2015-12-20 09:40:57 +01:00
tux3
2b8200aa30
Fix audio timers started from wrong thread
...
This timer never actually worked
2015-12-19 17:07:19 +01:00
tux3
a0645d5cba
Fix #2700
2015-12-19 16:51:15 +01:00
tux3
40ddf81fd1
Instead of saving empty files, delete empty avatars
2015-12-19 16:43:09 +01:00
tux3
cbe8104576
Fix bad handling of empty avatars
...
Fixes #2694
2015-12-19 16:28:57 +01:00
tux3
698144c803
Fix some RawDatabase interface comments
2015-12-19 05:50:41 +01:00
tux3
8adb40d09f
Minor database fixes
2015-12-19 05:47:35 +01:00
tux3
489016f358
Fix #2439
2015-12-19 05:00:23 +01:00
tux3
9b9fa13636
Change column order when filling peer cache
...
A minor detail, but worth it.
2015-12-19 04:42:55 +01:00
tux3
9762839b78
Fix batches bigger than limit on import
2015-12-19 04:40:31 +01:00
tux3
8f06dfe254
Revert "Always offer avatars to friend who come online"
...
This reverts commit e30fb4d919
.
2015-12-19 04:20:05 +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
e286f9673c
Fix use after free of NetCamView
...
Someone was connecting a singal to a lambda capturing this, and never disconnecting it in the destructor. Capturing this is DANGEROUS, kids, don't do this at home.
2015-12-15 21:19:18 +01:00
tux3
af59b5b45a
Fix IPC not taking ownership after crash
...
In case a previous instance crashed, we were trying to activate the current owner before even checking if it was still alive, this resulted in qTox needing to be restarted twice after a crash.
2015-12-15 21:06:55 +01:00
tux3
9cf0cbde6b
Fix avatar deletion not visible
2015-12-15 20:59:09 +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
tux3
ab8220c2cf
Remove stale TODO
2015-12-15 19:20:34 +01:00
tux3
4e1029808b
Remove useless TODO
2015-12-15 19:09:28 +01:00
tux3
cbade4bae6
Fix tiny memory leak on startup
2015-12-15 19:08:59 +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
63644050f3
Fix #2683
...
There is still an issue with the history keeping the old password, though
2015-12-14 23:27:12 +01:00
Jacob Henner
a405ceca9d
Fixes #2631 : Automatically select capture device.
2015-12-14 05:09:34 -05:00
tux3
61e3b7f5a0
Mark 'update text' not translatable
...
Plus some automatic edits Qt Designer decided to make
2015-12-12 23:29:36 +01:00
tux3
4e715f5054
Show correct progress when resuming update download
...
If you restart qTox in the middle of downloading an update, it would continue to download the update correctly but the progress bar would go from 0 to 50% instead of resuming from 50 to 100%
2015-12-12 20:12:57 +01:00