Commit Graph

3254 Commits

Author SHA1 Message Date
irungentoo
c6a59e64b7
Updated types in Messenger callbacks to fit with the ones in the new api.
Friend number changed from int32_t to uint32_t.
Some lengths changed to size_t.
2015-02-17 15:49:22 -05:00
irungentoo
7cefc9c458
Fixed friend_not_valid function.
It now returns if friend is valid or not not only if memory location is
valid.
2015-02-17 15:46:14 -05:00
irungentoo
99ee86b865
Messenger add friends functions error code fixes.
Removed unknown error.

norequest function now returns proper error codes.
2015-02-17 10:29:18 -05:00
irungentoo
3f11d106da
More new api work done.
m_copy_self_statusmessage no longer takes a buffer length argument.
2015-02-16 20:57:44 -05:00
irungentoo
8532dc8ae7
Allow empty names and status messages. 2015-02-16 20:25:44 -05:00
irungentoo
7e2839e2d8 New api progress. 2015-02-15 20:20:06 -05:00
irungentoo
fd56762a1b
Code cleanups. 2015-02-14 23:00:35 -05:00
irungentoo
3c7888d752
A bit of new api work done. 2015-02-14 23:00:12 -05:00
irungentoo
eac0d435f3
Started implementing new Tox api. 2015-02-13 16:18:02 -05:00
irungentoo
c086a66725
Code Cleanups. 2015-02-12 20:53:29 -05:00
irungentoo
af10ca77dc
Code Cleanups. 2015-02-11 20:45:31 -05:00
irungentoo
4d173d783d
Code cleanups. 2015-02-11 20:33:14 -05:00
irungentoo
877257dcd3
Merge branch 'patch-2' of https://github.com/urras/toxcore 2015-02-10 20:34:55 -05:00
Urras
af3b83e44a Wrong link 2015-02-10 13:03:33 -05:00
Urras
4148c87d86 Remove redundant link, update old link 2015-02-10 12:59:29 -05:00
irungentoo
c1817da059
Code Cleanups. 2015-02-09 19:51:52 -05:00
irungentoo
6936b2ebb5
Code Cleanups. 2015-02-09 19:44:24 -05:00
irungentoo
e658bc134b
Code cleanups. 2015-02-09 19:42:06 -05:00
irungentoo
33a79a16ee
Code cleanups. 2015-02-09 19:34:35 -05:00
irungentoo
78ea33b3f0
Fixed test. 2015-02-08 17:34:49 -05:00
irungentoo
23d76f484a
Fixed memory leak in test. 2015-02-08 16:30:48 -05:00
irungentoo
ee3adf2641
Fixed memory leak. 2015-02-08 16:23:05 -05:00
irungentoo
d9ea6e9485
Properly free everything at the end of each test. 2015-02-07 22:57:04 -05:00
irungentoo
65cbea38fd
Merge branch 'bootstrap-node-packets-fix' of https://github.com/nurupo/InsertProjectNameHere 2015-02-07 22:08:38 -05:00
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