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

512 Commits

Author SHA1 Message Date
Tux3 / Mlkj / !Lev.uXFMLA
599c246ec7
Move group audio playing to Audio singletong/thread
This is a bit of a quick fix for a new bug, as but part of cleaning up the audio code and moving it to the Audio singleton
2014-11-19 22:26:04 +01:00
apprb
451d0c7999
check incoming data from DB 2014-11-19 22:46:50 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
53e304b968
Remove unnecessary OSX lib search paths 2014-11-18 23:31:01 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
e8234dec89
Merge branch 'pr804' 2014-11-18 23:23:34 +01:00
dubslow
d68788c644 add group title menu option, other half of closes #780
also truncate all group titles to max len
2014-11-18 05:00:09 -06:00
dubslow
6831778371 fix bug (which is actually why aliasing was menu'd in the first place) 2014-11-17 21:22:40 -06:00
dubslow
845216fa2f set aliases from chat form (half of #780) 2014-11-17 20:15:44 -06:00
dubslow
bc45ff3a28 fix crash if no boostrap nodes (fix #791 where "fix" means "mask the underlying problem") 2014-11-17 19:41:34 -06:00
dubslow
d533c4089d remember status when disconnected (should help with #715) 2014-11-17 19:40:36 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
6eaf8f272e
Silence potentially uninitialized warning
Turns out the warning is wrong, but let's initialize anyways
2014-11-18 02:12:19 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
0376302fe7
Fix more incorrect HINSTANCE casts 2014-11-18 02:09:04 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
1197f296a4
Fix incorrect HINSTANCE -> int cast 2014-11-18 01:48:44 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
69189034e3
Put group chats audio playing in its own thread 2014-11-18 01:25:15 +01:00
mannol
36d4460fef Core update 2014-11-18 00:15:54 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
cd31812dac
Widget: Don't delete icon, it's a child 2014-11-17 22:49:35 +01:00
Maximilian
0660d2974f The showSystemTrayIcon's default value is false for linux else it is false. 2014-11-17 17:35:20 +01:00
apprb
827472e3b5
use GlobalAutoAcceptDir only if autosaving enabled 2014-11-18 00:01:56 +09:00
apprb
8f3e1c2ef3
fix #775 2014-11-17 19:11:51 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
9176cf54ce
Fix logic error in audio subscription code 2014-11-16 20:51:44 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
e4197920c3
Add missing license headers 2014-11-16 20:49:20 +01:00
dubslow
e8964b178d Extra tooltip and word from the un-picked commit 2014-11-16 20:31:46 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
366f98f264
Fix #635 2014-11-16 20:18:00 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
8bc4bbdce0
Fix #778 2014-11-16 19:11:37 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c1f2e9a71d
Refactor audio out of code, better resource management
Fixes #739 and fixes #777
2014-11-16 19:04:45 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
6c1d2bc9ac
Leave group calls when leaving a group 2014-11-16 17:45:06 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
014b39e7d0
Merge branch 'pr774' 2014-11-16 17:04:33 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
4932b8fed6
Allow to change audio i/o device mid-call 2014-11-16 16:51:42 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
20ba8e6192
Allow to change i/o audio devices without restart
Still needs to restart the calls for now

Fixes #713
2014-11-16 16:41:30 +01:00
apprb
664c762625
using ToxID instead of bare QString + proper alias using during widget creation 2014-11-17 00:17:46 +09:00
Maximilian
52255eb332 similar bug, when closing the window... 2014-11-16 15:22:53 +01:00
Maximilian
b97e66d589 Minor bug fix:
The main window, will never be visible, when the user unchecked 'Show system try' and checked 'Start in tray'.
2014-11-16 15:22:44 +01:00
dubslow
e6c08ad208 fix title editing issue, reported by "whoever" 2014-11-16 15:17:36 +01:00
dubslow
40addf9155 "overhaul" window title, fix #753 2014-11-16 15:17:22 +01:00
dubslow
02e29d6600 auto away done right (fixes #751) 2014-11-16 15:17:02 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
ce6e50b912
Add more plugin search paths for OS X 2014-11-16 13:58:03 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
bb48852d87
Fix tox: url highlighting breaking the :tox: smiley
Fixes #772
2014-11-16 13:50:45 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
7e2dab6676
Search libs in ../../PlugIns on OS X 2014-11-16 13:36:33 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
007a10346d
Rewrite horrible type casting pointer magic with shifts
Why would you generate that random number byte by byte, anyway ?
2014-11-15 23:26:30 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
3de63c0061
Fix #767 2014-11-15 23:17:30 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
1f0e14c18e
Merge branch 'pr761' 2014-11-15 21:33:37 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
d271e01e02
Audio buffer limit: 128 -> 32 2014-11-15 21:32:56 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
49a1d9ec07
Merge branch 'colors' 2014-11-15 21:30:41 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
2f452b6eff
Add GUI to change theme color 2014-11-15 21:30:20 +01:00
Yavor Stefanov
7eca6b7b24 VA buttons tooltip clarifications 2014-11-15 19:43:10 +02:00
Yavor Stefanov
bee6c95650 mic tooltip clarification 2014-11-15 19:35:36 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b0e6f1168c
Prepare for theme colors support 2014-11-15 18:29:41 +01:00
apprb
2c22968480
improved usability 2014-11-16 02:16:56 +09:00
apprb
c541291aac
Nospam id part edit 2014-11-16 01:11:00 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
bf4ed63eac
Fix buffer overflow with >1 audio input channel
Fixes #760
2014-11-15 17:05:48 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
183c864dc8
Remove debug output 2014-11-15 16:36:07 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
e51c154c20
Add debug output 2014-11-15 16:28:43 +01:00
Zetok Zalbavar
1d2c0e1cac
Make sql tuning strings translatable 2014-11-15 10:07:55 +00:00
Tux3 / Mlkj / !Lev.uXFMLA
ed76d1621e
Fix #752 2014-11-14 22:44:09 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
89e90d0734
Update OSX auto-updates public key 2014-11-14 22:34:32 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
7c6f233d53
Remove debug statements 2014-11-14 21:16:28 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
d99c682e00
Add some debug messages 2014-11-14 20:55:32 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c7d6882479
Fix timers called from the wrong threads 2014-11-14 20:31:23 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
b8031498db
Fix CroppingLabel emitting textChanged twice 2014-11-14 20:12:23 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c4f9baf04b
Merge branch 'pr750' 2014-11-14 18:32:03 +01:00
dubslow
f4e0ea83ef show self title changes 2014-11-14 18:23:54 +01:00
dubslow
71c34b9d69 group title support 2014-11-14 18:23:54 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
3bc6909c96
Apply valgrind fix to 1on1 audio too
I haven't seen valgrind complain too much, but let's fix it preemptively
2014-11-14 18:14:33 +01:00
apprb
08f523b8ff
AdvancedSettings tab introduced 2014-11-15 01:18:17 +09:00
apprb
e782a9d587
batch processing 2014-11-14 15:18:58 +09:00
apprb
9d96110e9b
mysql synchronous set 2014-11-14 15:18:55 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
59b26f3d33
Add some debug info when toxav_prepare_transmission fails
Should help with #743
2014-11-14 01:05:43 +01:00
Sean
76a1aefec2 Force install to local user 2014-11-13 15:36:30 -08:00
Tux3 / Mlkj / !Lev.uXFMLA
66eebc2e11
Enable auto-updates for OS X 2014-11-14 00:02:12 +01:00
dubslow
d566f5f9b3
minor autoaway tweak 2014-11-13 23:56:22 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
d0e8d291bd
Remove unused variable 2014-11-13 22:45:29 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
ee2507f8e0
Fix conflicting declarations struct/class vpx_image 2014-11-13 22:40:10 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
848bf3e240
Fix conflicting declaration struct/class ToxID 2014-11-13 22:39:18 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
3b4ac83e06
Updater: Update OS X update server public key 2014-11-13 22:01:43 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
635b8f2c02
Merge branch 'pr742' 2014-11-13 21:57:58 +01:00
Maximilian
11f9cb0cbf I implemented a new setting, which toggles the visibility of the system tray icon.
Background: On Ubuntu 14.04, system trays in Qt5 don't integrate into Unity.
2014-11-13 21:33:11 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
56b0559d85
Fix memory disclosure in audio send code (valgrind) 2014-11-13 21:14:17 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
5eeae0e142
Fix push to talk even when text edit focused 2014-11-13 20:32:09 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
858971fd94
Augment audio queue size, fixes quality issues
Closes #690
2014-11-13 20:21:28 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c550658e38
Use a source per call peer 2014-11-13 20:18:02 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
796e6f0f4d
Fix vol must be muted to actually hear things 2014-11-13 19:43:53 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
12431c3047
Better debug output for groupchat not found 2014-11-13 19:43:32 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
a3b4198270
Fix possible crash on ~IPC 2014-11-13 19:43:03 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
ae91311241
Silence IPC:processEvents failed to lock 2014-11-13 19:29:56 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
d5ab03d03d
Listen for push-to-talk shortcut on more widgets 2014-11-13 19:25:45 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
0c393e717a
Add simple push to talk with P
Fixes #734
2014-11-13 19:20:06 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
05c9ae9390
Auto-updater: Check timestamps before updating
Update the version file format to 2, breaks backward compatibility.
2014-11-13 14:42:26 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
d0dae300cc
Remember compile time timestamp
Will be used to guarantee we don't downgrade if there's a bad update
2014-11-13 13:59:04 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c9f3bf54ac
Fix typo 2014-11-13 13:18:32 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
eac712e68a
Add GUI for audio groupchats 2014-11-13 13:14:27 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
54462f0276
Prepare Core for av groupchats 2014-11-13 12:18:04 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c6cb49c991
Fix #735 2014-11-13 01:46:41 +01:00
dubslow
d87cf99d8f
minor tweaks to autoaway, one new debug message 2014-11-13 00:20:41 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
ccd6cb79db
Remove forgotten debug statement 2014-11-13 00:18:11 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
4bb91143d7
Fix use after free of groupchat invites
Fixes #728, fixes #706, fixes #394
2014-11-13 00:13:11 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
157c1bb44a
Merge branch 'pr732' 2014-11-12 17:37:22 +01:00
apprb
ec2e19e4bb
split message fix 2014-11-12 22:13:46 +09:00
zero-one
64f9a24ce6 fixes #207
Adds parsing for command-line arguments/flags
2014-11-11 16:50:57 -08:00
dubslow
3dd15f0a5f fix minor switching bug introduced by 07ea2e 2014-11-11 17:00:24 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
76a8affcdc
Fix #719 2014-11-11 23:27:30 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
7bca831066
Build our Settings after our QApplication, fixes crash on startup
Thanks to @stqism for reporting the crash

This is why global static variables are evil
2014-11-11 23:21:16 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
57bcda7cd9
Merge branch 'pr721' 2014-11-11 23:13:08 +01:00
dubslow
4b6b26c553 more robust exporting, fixes #716 2014-11-11 16:06:15 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
abd0f7530f
Start preparing for OS X auto-update
Updates are still disabled by default on OS X, and the public key is likely to change
2014-11-11 22:37:51 +01:00
apprb
07ea2e0828
cleanup setting.ini file after a fiend removing 2014-11-12 01:52:19 +09:00
apprb
dfd6420ddc
fix ToxID from QString convertation 2014-11-12 01:36:26 +09:00
apprb
58893266e8
fix #697 (Setting alias isn't persistent for some contacts) 2014-11-12 01:29:00 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
57db8d65ee
Play av groupchat call audio
On the main source. Sue me.
2014-11-11 16:15:56 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
8fceb4b78b
Accept and default to AV groupchats
We don't send or play any audio yet, though
2014-11-11 16:05:01 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
bd6795bf73
Fix crash when re-adding friend
Blatant lack of error handling.
2014-11-11 15:19:14 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
722aeb776e
Compat with toxcore: New groupchats
Text only is supported for now
2014-11-11 15:03:08 +01:00
apprb
de0fbe4db7
HistoryKeeper::getChatHistory(..): fix in sql statement 2014-11-11 22:18:19 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
6f9cff2499
Merge branch 'pr703' 2014-11-11 03:10:55 +01:00
apprb
6dd2293f59
fix DB updating speed 2014-11-11 10:57:06 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
ad394c7bd9
Merge branch 'pr699' 2014-11-11 00:24:22 +01:00
dubslow
b3e7114e84 respond to copying id, fixes #537 2014-11-10 17:20:10 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
8ece7041fd
Disable silently falling back to tox1 when tox3 fails 2014-11-10 23:55:13 +01:00
dubslow
def9e3791a default faux offline on, fix #696 2014-11-10 16:45:09 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
9e7ee848e8
Merge branch 'pr693' 2014-11-10 16:36:51 +01:00
apprb
ca482c5f9f
DB: autoupdate 2014-11-10 23:58:07 +09:00
apprb
5d50ea36d0
Faux offline messaging: enable/disable 2014-11-10 22:06:35 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
3a2a6bb9ec
Windows: Get auto-updates from https://s3.amazonaws.com 2014-11-10 13:43:26 +01:00
apprb
cee1bcc8d1
faux offline messaging 2014-11-10 20:49:42 +09:00
apprb
a6b95e7b4f
group messages 2014-11-10 20:49:42 +09:00
apprb
44fb8a360e
displaying undelivered messages in chat area 2014-11-10 20:49:42 +09:00
apprb
977649f686
ChatAction refactoring 2014-11-10 20:49:42 +09:00
apprb
f7a855aa20
store delivering status in the DB 2014-11-10 20:49:41 +09:00
apprb
694cd90ee4
read receipt infrastructure 2014-11-10 20:49:38 +09:00
dubslow
37a5c637f5 properly unminimize 2014-11-10 10:37:41 +01:00
dubslow
f2cc486744 UI things 2014-11-10 10:37:41 +01:00
dubslow
f2d358f222 switch to relevant chat room when minimized
fixes #688, except that for me it doesn't actually unminimize
2014-11-10 10:37:07 +01:00
Kristian Buchman
cbad1c4966 Add the option to open qTox when a message is recived 2014-11-10 10:37:06 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
fbbffc0806
Merge branch 'pr686' 2014-11-10 01:17:35 +01:00
saneki
d74d060e99 Formatting, tr() for UI strings 2014-11-09 18:04:35 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
55939e9563
Merge branch 'autoupdate' 2014-11-10 00:34:33 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
0054787826
Add an option for auto-updates on Windows
With the update server hosted on my laptop...

Fun fact: Updates are really easy to mess up right now. If I forget to update the update server, everyone gets downgraded. Upload a bad file and everyone will crash. Fun stuff.

Upates Are Experimental™ and off by default.
2014-11-10 00:31:29 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
45e20187cc
Download and applying updates, qtox-updater
The auto-updater is essentially done, except for the GUI. For now this is only an API.
The API works, but the tools to manage the update server would need some love
2014-11-09 23:24:39 +01:00
saneki
55bb6ac367 Additional error info for failedToAddFriend, checks if friend is added already 2014-11-09 13:23:43 -06:00
Tux3 / Mlkj / !Lev.uXFMLA
965254d151
Teach the AutoUpdater to read a flist
We can now read the list of files in an update, along with the install path, file size, and signature

Everything, metadata and files, is signed with ed25519, but not encrypted
2014-11-09 17:55:38 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
747fd33592
Create AutoUpdater, teach it to check new updates
It can't read a diff or apply an update yet, just check.
2014-11-09 15:51:00 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c16fc197c4
Merge branch 'pr680' 2014-11-09 13:42:31 +01:00
Zetok Zalbavar
45848066a2
Minor touch-up
Add '*.orig' to .gitignore
Add '.' to string
2014-11-09 12:27:08 +00:00
Tux3 / Mlkj / !Lev.uXFMLA
0adb963603
ToxDNS lacked the Q_OBJECT macro 2014-11-09 13:14:21 +01:00
apprb
130c47eb26
93a4d30 (Add boolean 'sent_ok' to new history DBs) fix: default value 2014-11-09 16:13:17 +09:00
Tux3 / Mlkj / !Lev.uXFMLA
c30c1c6022
Don't notify the same status change twice
Fixes #676
2014-11-09 02:02:00 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
eccf50286e
Highlight on main buttons hover, fixes #295 2014-11-09 01:39:07 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
c05752d5a2
Use Fusion by default if available
Only on first run, if you explicitely choose no style or another style, we don't change that. Fallback to no style if fusion isn't available.
2014-11-09 01:10:06 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
3d9cc86e30
Show the date for each new day when loading history 2014-11-09 00:08:28 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
93a4d30724
Add boolean 'sent_ok' to new history DBs
We can remember which message we couldn't send and build faux-offline messaging on top of that later
2014-11-08 23:47:59 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
18cf3a806b
Don't free actions owned by the system tray menu
Thanks to mannol for reporting the issue
2014-11-08 23:14:22 +01:00
Tux3 / Mlkj / !Lev.uXFMLA
a158aed643
Autoload last week of history on startup
Only if keeping history is enabled, of course
2014-11-08 22:43:33 +01:00