Commit Graph

3230 Commits

Author SHA1 Message Date
Maxim Biro
14d942c1e1 Fixed incompatible pointer type warning 2015-02-07 20:35:51 -05:00
irungentoo
278406393c
Only create one global logger instance. 2015-02-07 16:53:50 -05:00
irungentoo
55b4484305
kill_TCP_server() now frees everything in TCP server. 2015-02-07 14:19:55 -05:00
irungentoo
93b1c346fe
Merge branch 'master' of https://github.com/ray65536/toxcore 2015-02-06 20:49:11 -05:00
irungentoo
62f8910fb7
Fixed memory leak. 2015-02-06 19:18:40 -05:00
irungentoo
57c22b1acb Fix memory leaks. 2015-02-06 19:10:16 -05:00
irungentoo
01b4ad7a8a Fixed memory leak. 2015-02-06 15:16:07 -05:00
irungentoo
7e7b7f6c33
Fixed memory leak. 2015-02-06 15:13:36 -05:00
irungentoo
66b27fc538
Lowered CPU usage.
Check if onion data will be sent before encrypting it, not after.
2015-02-05 14:10:39 -05:00
Eugene Lopatin
159df4b23c Documentation and service description for using tox-bootstrapd with
systemd
2015-02-05 12:43:24 +06:00
irungentoo
1302981d55
Removed useless misleading define. 2015-02-04 20:54:08 -05:00
irungentoo
e5644bbd58
Merge branch 'urras-master' 2015-02-03 13:15:36 -05:00
Urras
47cac28df4
Move OS X install script 2015-02-03 12:48:15 -05:00
irungentoo
16c0736968
Merge branch 'urras-patch-2' 2015-02-03 10:16:28 -05:00
Urras
15f228a855
Travis should build Tox with Libsodium stable 2015-02-03 09:52:52 -05:00
irungentoo
b7e003384f
Merge branch 'make-funny-savefile' of https://github.com/ittner/toxcore 2015-02-02 21:01:29 -05:00
irungentoo
fbe9fd0610
Merge branch 'ittner-update-avatar-docs-2' 2015-02-01 20:16:49 -05:00
Alexandre Erwin Ittner
ef0922cf9f Add script to generate save files with custom keys
Allow users to play with keys generated outside Tox core without
depending on features from any specific client. Just generate a
stub save file that every client will understand.
2015-02-01 12:23:14 -02:00
Alexandre Erwin Ittner
c2421e6f21 Update avatar documentation
Add missing function and fixes some typos and formatting.
2015-01-31 20:13:39 -02:00
Alexandre Erwin Ittner
eea4153594 Rename "client id" to "public key" in avatar docs and examples
Commit b8d530c9e0 and some of its
parents changed the public name of "client id" to "public key".
Update the avatar documentation to follow the idea.
2015-01-31 19:45:03 -02:00
irungentoo
33f65929e3
Fixed bug where mutex would be destroyed but not recreated for new
net_crypto connection.

Only destroy mutex when it is realloced out.
2015-01-31 13:28:22 -05:00
irungentoo
8e9a971e95
Prevent unnecessary sending of packets.
If name/status/typing didn't actually change return success and don't
actually do anything.
2015-01-30 20:29:33 -05:00
irungentoo
b8d530c9e0
Api break.
TOX_CLIENT_ID_SIZE renamed to TOX_PUBLIC_KEY_SIZE.

Renamed client_id to public_ke in public api.
2015-01-29 19:57:32 -05:00
irungentoo
f463cb52a2
Code cleanups.
Rename array in Node_format from client_id to public_key.
2015-01-29 19:38:44 -05:00
irungentoo
b83ff00c27
Code cleanups. 2015-01-28 20:48:07 -05:00
irungentoo
10ef3a674f
client_id is a bad name for the long term public key. 2015-01-27 20:56:39 -05:00
irungentoo
548d87794b
Code cleanup. 2015-01-26 20:51:08 -05:00
irungentoo
4c220e3363
Merge branch 'bootstrapd-example-nodes' of https://github.com/nurupo/InsertProjectNameHere 2015-01-25 20:38:50 -05:00
Maxim Biro
51b8ac8460 Replace hardcoded nodes with examples
Reverts Proplex'es change.
2015-01-25 18:31:44 -05:00
irungentoo
6e3e812740
Updated TODO. 2015-01-24 20:21:29 -05:00
irungentoo
ff32b4bd28
Code cleanups.
Remove duplicate addfriend code and shoved it in its own function.
2015-01-23 20:56:46 -05:00
irungentoo
eb12d1b5fc
Zero broadcast ips are invalid. 2015-01-22 20:32:09 -05:00
irungentoo
1092bc6e03
Code cleanups. 2015-01-21 21:02:46 -05:00
irungentoo
b10aaecee5
Fixed gcc warnings. 2015-01-20 21:00:08 -05:00
irungentoo
236a13f2ee
Fixed gcc warnings. 2015-01-19 21:01:54 -05:00
irungentoo
bf12a4d1a6
Merge branch 'win_log' of https://github.com/MovingtoMars/toxcore 2015-01-18 20:19:16 -05:00
irungentoo
6e0b807f09
Attempted fix of Tox disconnecting during file transfers by tweaking
some congestion control numbers.
2015-01-17 21:27:38 -05:00
MovingtoMars
b1887414a9 Add 2015 to copyright notice 2015-01-18 12:14:31 +13:00
MovingtoMars
09b33c7ff0 Fix logging on Windows 2015-01-18 12:06:38 +13:00
irungentoo
a8bf060815
Fixed logger build issue. 2015-01-17 13:18:22 -05:00
irungentoo
f1371ad100
Merge branch 'mannol-master' 2015-01-17 12:36:25 -05:00
mannol
e29df66db6 fix_logger-v.0.2 2015-01-17 18:25:47 +01:00
irungentoo
0fff7d9994
Tox should work better on TCP only when some people have broken TCP
nodes and don't update them.

Paths now try to use the same TCP node for their entire lifetime.
2015-01-16 21:33:11 -05:00
irungentoo
553a8dd7bd
Fixed warning. 2015-01-15 21:00:45 -05:00
irungentoo
f07c588ef5
Don't enforce limits on pings for LAN ips. 2015-01-14 20:56:37 -05:00
irungentoo
5e1d6f5183
Fix TCP server regression.
onion.c was parsing recieved packets a bit too strictly and discarding
packets that had ips with non valid families.

TCP uses a non valid family to send back the packet to the proper
connected node.
2015-01-13 15:04:41 -05:00
irungentoo
6650f18b86
Attempted fix of Tox killing routers part 2.
Reduced drastically the number of ips the DHT pings by only pinging
nodes that would be included in one of the close lists.
2015-01-12 20:26:29 -05:00
irungentoo
36b412e381
Merge branch 'nurupo-logger-fix' 2015-01-12 08:19:11 -05:00
Maxim Biro
045ebf11b8 Fixed Windows build
Apparently ERROR was defined as some constant somewhere on Windows.
2015-01-12 02:06:36 -05:00
irungentoo
dfc6be901c
Attempted fix of Tox killing routers.
This commit makes tox use one Onion_Client_Paths struct for all
friends instead of one per friend.

This should lower the number of ips tox sends packets to which is
what I think causes the router issues.
2015-01-11 19:11:33 -05:00