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

133 Commits

Author SHA1 Message Date
Tux3 / Mlkj / !Lev.uXFMLA
53c07fc4a7 Improve DHT bootsraping reliability
Don't try to spam boostrap nodes, if we've tried enough nodes and none of them worked, chances are our connection is just a little slow, so wait some more before trying even more nodes or we might never see the end of it. May help with #221
2014-08-30 22:13:27 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f97729261a Clean & remove old code and dependencies
We don't use QtMultimedia and OpenCV_imgproc anymore

Fixes #218
2014-08-30 15:15:23 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
35731e1f53 Use a global AL context, not per-call 2014-08-30 14:40:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
99a4b03cfd Fix #211 2014-08-29 12:52:34 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3fc37d2d4c Move file transfer in the core thread
Toxcore is not thread safe
2014-08-28 21:56:55 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a75d1c5c6e Don't call tox_do from FT functions 2014-08-28 20:52:26 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
56edd76df9 Fix use after free on file received 2014-08-28 20:20:28 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
28b1678a88 Remove all AudioBuffer code 2014-08-28 15:58:05 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
287d50eea4 Split core into core and coreav 2014-08-28 14:30:38 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
c657296535 Fix #152 and fix #131
We weren't reopening the audio input on subsequent calls
2014-08-28 12:52:30 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
444972f214 Fix fileTransferFinsished not emitted on sender 2014-08-28 12:12:56 +02:00
midnight079
ec1facccf8 fixed some bugs with micButton 2014-08-19 21:49:35 +02:00
midnight079
a18ba9d7ed fixed some bugs with micButton 2014-08-19 21:49:33 +02:00
midnight079
b474ff2c2b realized micButton for calls 2014-08-19 21:49:32 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
18f0e05778 Compat with Toxcore
Fixes #190
2014-08-17 14:57:54 +02:00
krepa098
5304621e86 fixed warnings 2014-08-11 14:13:13 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
7557d92a92 Add log message when falling back to IPv4 2014-08-09 22:12:34 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ee184a558c Fallback to IPv4 if IPv6 fails
Fixes #181
2014-08-09 22:09:55 +02:00
Bill Winslow
72c72a4ceb Updating to latest file transfer specs 2014-08-04 20:00:17 -05:00
Tux3 / Mlkj / !Lev.uXFMLA
3069a59b8c Update to latest toxav
Fix new callbacks including user data
Thanks to @suhr in #178 for reporting the breakage.
2014-08-03 00:30:21 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6f853f6997 Add missing ctime include 2014-08-01 22:24:02 +02:00
Bill Winslow
84a3841122 fix segfault on lack of audio formats 2014-07-27 19:20:41 -05:00
Bill Winslow
5ec0b0d8df Latest API update
It's a reasonably big change, and someone should test sending and recieving video and audio
2014-07-27 18:54:26 -05:00
Bill Winslow
22375e3b8f Randomized the bootstrap table, to distribute load away from the first 5 2014-07-27 15:55:22 -05:00
Bill Winslow
e1e7d68713 Mostly implemented latest toxav.h changes, but OnMediaChange still needs implementing 2014-07-22 16:59:27 -05:00
dubslow
1644f8c139 Updated the completed transfers widget to work as advertised 2014-07-15 21:37:08 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
f173a5dfa9 Fix FT progressbar int overflow 2014-07-12 18:40:01 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
dc2d7f1085 Various improvement
Aka this commit is a mess, if you're bissecting this, good luck :)
2014-07-12 17:42:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ae1ce8ec88 Preparation for new file transfer 2014-07-12 17:29:56 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e92ded47ab Improve video playing speed 2014-07-12 14:52:01 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5458b4b3ee Drop video frames when lagging
Aka, all the time. We only drop received frames, we never stop sending
2014-07-12 14:10:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
457a54d591 Fix video sending 2014-07-12 12:50:40 +02:00
Bill Winslow
e0b6fd1e13 Remove username and status message from settings, instead use Core 2014-07-11 16:38:39 -04:00
Bill Winslow
26f2f143fa Initial commit for activating the file transfer button
It compiles, but is in fact untested (and requires one small new icon)
2014-07-11 12:05:18 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
e3736cf14d Fix possible crashes on call cleanup 2014-07-09 10:37:46 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
d46e01e2cf Fix audio underflows
By using a bigger buffer of 30 frames
2014-07-09 10:12:59 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2c0db0c7c0 Update to new A/V recv callbacks 2014-07-09 09:55:25 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b3b01906f7 Don't give a parent to the core QTimers
Fixes #115 (hopefully)
2014-07-07 09:37:05 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6ba8be3503 Fix stack smashing, QTimer threading
QTimer CAN NOT be handled from a different thread, we needed to push them to the Core's thread

Allocating a large video frame buffer on the stack is a Bad Idea(tm), this commit fixes a bad buffer overflow

Also improve our QTimer handling during calls, no need to disconnect/reconnect on call start/end, once is enough, and no need to keep them on the stack
2014-07-07 00:12:07 +02:00
Kevin Flynn
cfbc73e435 Fix #97 2014-07-05 20:47:31 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
fce95e9637 Don't write tox_save when unnecessary
Fixes #76 and makes the GUI noticeably faster on slow hard drive.
2014-07-05 06:25:17 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
0a41c0d712 Merge PR57 2014-07-04 16:24:27 +02:00
Kevin Flynn
16df8e553e Save on event instead of timer trigger 2014-07-03 10:38:30 -07:00
Arne Böckmann
1d216d0ee3 FIX: const correctness 2014-07-03 09:22:12 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2e2e61962d Add option to disable IPv6
Fixes #50
2014-07-02 00:47:06 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
e218b07ab8 Enable IPv6, needed for LAN discovery 2014-07-02 00:27:33 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b1b9aab8e2 Restore sleep in audio recording 2014-07-02 00:27:14 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
bdeba98f1b Cancel sleeping in audio recording 2014-07-02 00:18:20 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8f55dae70b Try to fix audio on windows 2014-07-02 00:11:41 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b0816696fa Prevent audio encoding CPU exhaustion
No need to encode too much audio if we're not going to take th time to send it. opus_encode is really slow
2014-07-01 23:55:08 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a83c35c95b Stop calls after timeout 2014-07-01 21:16:17 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8f09d11940 Fix transmission type detection
Third parameter MUST be 0. Don't ask why.
2014-07-01 19:56:08 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
70be64bff6 Disable IPv6 2014-07-01 13:36:27 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
74fc6991cc Fix #38 2014-07-01 10:37:39 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
73e3afe932 Fix some A/V bugs 2014-06-30 23:48:12 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
58cfae38ab Fix warnings, typos 2014-06-30 22:52:03 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a3b20ee81e Fix crash when saving before start 2014-06-30 21:26:37 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b547cdbaea Don't override tox_save's name/status
Fixes #32
2014-06-30 20:53:29 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
aabc8367bb Video (both ways)
May or not work, depending on the camera, time of day, phases of the moon, and distance to the closest uTox installation
2014-06-30 16:18:14 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b394372ad0 Add video reception 2014-06-30 14:49:42 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
3fde891b91 EXPERIMENTAL video call reception
Can not send video in calls, just receive and play it

Known bug : The video isn't converted perfectly to RGB, there are some visible errors
2014-06-30 04:40:18 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
2efe9ac269 Add unicode font, fix mem corruption
Or at least, make the memory corruption so hard to reproduce that I wasn't able to run into it even after trying really hard.
2014-06-30 04:40:18 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
a2566d4183 Allow groupchat creation 2014-06-29 23:38:48 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
1e88fb519b Fix audio calls on Windows 2014-06-28 22:24:39 +02:00
Kevin Flynn
4d7c5f71f6 Use the default Tox save file 2014-06-28 10:09:16 -07:00
Tux3 / Mlkj / !Lev.uXFMLA
f906d5b8f4 Add group invite context menu to friends 2014-06-28 10:53:55 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6b744ca15e Audio calls, both ways 2014-06-27 21:59:25 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
67f2367c9d Fix crash when freed friend gets inactivated 2014-06-27 20:24:06 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
104b874cb5 Stop trying to play audio in dead calls 2014-06-27 19:01:10 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
f5a628fafb Audio call reception
Can hear, but can't talk

Uses a hardwired tox_do() interval of 50ms until to_do_interval() gets fixed
2014-06-27 19:01:10 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b8af78be32 EXPERIMENTAL audio reception in calls
As in, some sounds comes out of your speakers
2014-06-27 15:16:39 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6114cb66c6 Send empty calls (no sound nor video) 2014-06-27 03:06:56 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
5784b58610 Receive empty calls (no sound nor video) 2014-06-27 02:08:33 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
c2e720dfa8 Register AV callbacks 2014-06-27 01:17:10 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
17cca2e3cd Preparation for audio calls, refactoring 2014-06-27 00:42:45 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
456deef7b7 Fix file transfer buttons spacing 2014-06-26 20:13:37 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
782bce2c05 Implement file reception, improve sending 2014-06-26 19:45:47 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b6b062d8b9 Fix DHT bootstraping
Fixes #1

Fixes bad translation of the DHT nodes' ports to big endian
2014-06-26 13:09:08 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
b62700e6f6 Implement file send cancel 2014-06-26 01:48:20 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
c18d63553d Improve file sending
Improve the Widget, properly handle finished/cancelled tranfers
2014-06-26 01:35:30 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
ec69308efc Simple file transfer widget 2014-06-26 00:30:24 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
8aacd21405 Add file sending (silently, send only) 2014-06-25 22:43:28 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
18cee41cfb Initial commit 2014-06-24 22:11:11 +02:00