Commit Graph

2892 Commits

Author SHA1 Message Date
Alexandre Erwin Ittner
e4f66475d8 Add support for user avatars in the core protocol
Add a protocol and the APIs to straightforwardly support user avatars
in client applications. The protocol is designed to transfer avatars
in background, between friends only, and minimize network load by
providing a lightweight avatar notification for local cache validation.
Strict safeguards are imposed to avoid damage from non-cooperative or
malicious users and to limit network usage.

The complete documentation is available in docs/Avatars.md and sample
code is available in testing/test_avatars.c.

Code and documentation are released under the GNU GPLv3 or later, as
described in the file COPYING.
2014-08-30 16:43:07 -03:00
Thorbjørn Lindeijer
7affcd8157 Update INSTALL.md
Renamed ProjectTox-Core to toxcore, as seems to have been done with the repository.
2014-08-30 15:24:36 +02:00
irungentoo
fa007a3b04
Speeded up start of file transfers. 2014-08-29 21:44:00 -04:00
irungentoo
0f023d912c
Removed useless code. 2014-08-29 21:39:14 -04:00
irungentoo
69725e8e74
Lossless crypto packets can now be sent without the congestion control applying to them. 2014-08-29 21:32:05 -04:00
slaniCode
52ad2c64f7 added checking for null pointer in new_Assoc function 2014-08-29 15:21:19 +02:00
irungentoo
411457dc8f
Fixed gcc warnings. 2014-08-28 20:54:05 -04:00
irungentoo
ff02d5a607
Removed send withid functions from api. 2014-08-27 14:39:09 -04:00
irungentoo
33b4268f7e
Added function to check if packet sent with net_crypto was received. 2014-08-27 14:37:28 -04:00
irungentoo
bbfa9efff6
Merge branch 'lobiCode-myChan' 2014-08-26 20:21:25 -04:00
slaniCode
f1ed0eeabb fix the memory leak in new_TCP_server function 2014-08-27 02:00:52 +02:00
irungentoo
12cada5bdb
Merge branch 'patch-2' of https://github.com/Proplex/ProjectTox-Core 2014-08-25 16:36:16 -04:00
irungentoo
33f6281419
Merge branch 'olologin-master' 2014-08-25 16:35:41 -04:00
olologin
18eb44a54e Removed unnecessary parameters 2014-08-25 10:00:09 +04:00
David Lohle
13c4ddf0bc Update downloads URL
This page contains all the available downloads for Tox.
2014-08-24 16:10:21 -04:00
irungentoo
1b82c2c12f
Merge branch 'nurupo-tox-shell-fix' 2014-08-24 11:44:37 -04:00
Maxim Biro
bc5daa5eff Added FreeBSD include 2014-08-23 23:20:00 -04:00
irungentoo
841cbbf8c9
Merge branch 'install-update' of https://github.com/nurupo/InsertProjectNameHere 2014-08-23 22:28:47 -04:00
Maxim Biro
f0e6ab14e1 Updated Windows cross-compiling instructions 2014-08-23 22:20:45 -04:00
irungentoo
740ab85c8e
onion_isconnected is the best indicator of if tox is connected. 2014-08-23 21:55:53 -04:00
irungentoo
08bdf45aa3
Removed now deprecated function. 2014-08-23 21:51:45 -04:00
irungentoo
43723f2970
Small code cleanup. 2014-08-22 15:51:07 -04:00
irungentoo
6408c7de50
Merge branch 'master' of https://github.com/beemaster/toxcore 2014-08-22 12:45:14 -04:00
beemaster
eaedf4f9d1 Fix toxcore linkage on qnx 2014-08-22 10:12:44 +03:00
irungentoo
69a55b87d2
Fixed some gcc warnings. 2014-08-21 20:55:14 -04:00
irungentoo
86a4685eba
Merge branch 'stal888-patch-6' 2014-08-20 12:41:24 -04:00
stal
62e6e9bc07 Daily OS X fix.
Patch also fixes NetBSD and OpenBSD, but I can't test that.

<pty.h> is <util.h> on some BSDs.
2014-08-20 09:28:26 -07:00
irungentoo
7330ebdffe
Added tox_shell to testing.
tox_shell is a basic secure shell that can be used to control a
computer from any Tox client.

Just run tox_shell and make it add your Tox id.

It's very basic but it works.
2014-08-19 19:01:18 -04:00
irungentoo
f368b67914
Merge branch 'nurupo-bootstrapd-fix' 2014-08-19 12:38:14 -04:00
Maxim Biro
02f90fc604 Added .sh ending to bootstrapd's init script
Fixes some build issues.
2014-08-18 22:24:42 -04:00
irungentoo
92dd71cdba
Speeded up onion friend finding. 2014-08-18 20:22:51 -04:00
irungentoo
c959f6c019
Added function to check if we were only connected to LAN DHT peers. 2014-08-18 18:56:02 -04:00
irungentoo
6ca7d86c50
Merge branch 'bootstrapd-update' of https://github.com/nurupo/InsertProjectNameHere 2014-08-17 19:14:56 -04:00
Maxim Biro
d00c3c32d2 Fixed some warnings 2014-08-17 15:59:37 -04:00
Maxim Biro
504160ee57 Fixed daemon taking long time to stop 2014-08-17 02:17:03 -04:00
Maxim Biro
69e619bfa0 Renamed files for less confusion 2014-08-17 01:58:24 -04:00
Maxim Biro
ba7058c891 Made possible to run the daemon under its own user 2014-08-17 01:53:54 -04:00
Maxim Biro
e474a32e71 Made init.d script work with systemd 2014-08-17 00:12:35 -04:00
Maxim Biro
2040fc41d2 Renamed tox_bootstrap_daemon into tox-bootstrapd 2014-08-16 23:19:23 -04:00
irungentoo
0fe6d84768
Removed useless line. 2014-08-16 22:21:47 -04:00
irungentoo
9134048bb5
Some thread safety related fixes to TCP connections in net_crypto.
Added a recursive mutex to fix possible thread issues when the A/V
thread sends data at the same time as the main thread.
2014-08-16 22:09:29 -04:00
irungentoo
162a900660
New congestion control algorithm.
This new congestion control algorithm uses the increase in size
of the send queue to regulate how fast it sends data.

When tweaked it should work better than the old one.
2014-08-16 18:14:47 -04:00
irungentoo
bb1bb58352
Set socket family to family of proxy when using proxy. 2014-08-15 12:06:13 -04:00
irungentoo
7557b92fc9
Modified tox_bootstrap_from_address() function.
PORT IS NO LONGER PASSED IN NETWORK BYTE ORDER.

Removed useless ipv6enabled parameter.
2014-08-14 19:01:21 -04:00
irungentoo
ef78169842
Added disabling of UDP and basic SOCKS5 proxy support to public API.
tox_new() now takes a Tox_Options struct as argument.

If a NULL pointer is passed to that struct, defaults are used.
2014-08-14 18:34:20 -04:00
irungentoo
f0b2cd7ad2
Function to save path nodes.
Forgot to commit it with before last commit.
2014-08-14 17:34:42 -04:00
irungentoo
cb815f7584
When getting disconnected from good relay, try to reconnect. 2014-08-14 17:29:50 -04:00
irungentoo
fb9fc81a35
Save some path nodes to speed up joining network on pure TCP. 2014-08-14 16:56:29 -04:00
irungentoo
5376d40f54
tox_isconnected() now works on TCP only. 2014-08-14 15:41:10 -04:00
irungentoo
1298932deb
UDP can now be disabled.
new_messenger() now takes an options struct as an argument.
2014-08-14 15:27:34 -04:00