Commit Graph

3173 Commits

Author SHA1 Message Date
irungentoo
c5b03cdd9a
Implemented custom packet functions in new api. 2015-02-26 13:17:22 -05:00
irungentoo
e5791ed9ef
Added different error codes for custom packet functions in Messenger. 2015-02-26 13:13:26 -05:00
irungentoo
e61e2919a9
More tests ported to new api. 2015-02-26 08:24:19 -05:00
irungentoo
33370edee6
Changes to custom packet functions in Messenger.
Added function for rtp A/V packets, modified functions to behave
correctly for the new api.
2015-02-26 08:05:57 -05:00
irungentoo
76dfccf2d6
Ported some tests to the new api. 2015-02-25 21:09:14 -05:00
irungentoo
ca997bda70
toxav new api fixes. 2015-02-25 20:51:37 -05:00
irungentoo
837d4698bb
Fixed bug. 2015-02-25 19:50:18 -05:00
irungentoo
d83efd35dd
Ported some of the code in testing/ to the new api. 2015-02-24 20:29:01 -05:00
irungentoo
8fa8e9dcd7
Remove avatar stuff from Messenger.
The new api sees avatars as a different type of file transfer.
2015-02-24 19:39:19 -05:00
irungentoo
ca21569a9d
Implemented callbacks. 2015-02-20 18:17:32 -05:00
irungentoo
41446f61e3
Implemented message send functions in public api.
Internal message functions now return better error codes.
2015-02-20 17:24:24 -05:00
irungentoo
af881e820a
Merge branch 'fixed-receipts' into new_api 2015-02-20 16:39:33 -05:00
irungentoo
c87da9203e
Tox connection function and callback should now work as expected.
Changes in Messenger to call the callback every time the connection
type changes from TCP to UDP.
2015-02-19 20:51:19 -05:00
irungentoo
53d0eb8937
Merge branch 'new_api' of https://github.com/dubslow/toxcore into new_api 2015-02-19 17:16:48 -05:00
irungentoo
c037aefe9d
Typing and status functions implemented. 2015-02-19 16:54:49 -05:00
Dubslow
aca41475fa
Put const adjective before type nouns
(Done with two applications of "sed -i -r "s/(\\w+) const\\b/const \\1/g" toxcore/tox.*" )

Conflicts:
	toxcore/tox.c
2015-02-18 17:41:26 -06:00
irungentoo
308cf5da6d
use bool in is typing callback. 2015-02-18 18:29:32 -05:00
irungentoo
52a0753e52
Apparently enums are bad for wrappers and doing this makes wrapping
toxcore easier.
2015-02-18 18:22:04 -05:00
irungentoo
61ca9529a1
More new api functions implemented.
Some small self explainatory changes to the api.
2015-02-17 16:21:47 -05:00
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