Commit Graph

2124 Commits

Author SHA1 Message Date
irungentoo
413933a846
Maximum name lengths should now be the real maximum and not one byte less. 2014-04-03 20:21:24 -04:00
irungentoo
c8ab29632b
Some code cleanups. 2014-04-02 18:02:53 -04:00
irungentoo
ce412b2c36
Fixed bug where TOX_FAERR_SETNEWNOSPAM would be returned instead of
TOX_FAERR_ALREADYSENT when re adding a confirmed friend.
2014-04-01 16:36:33 -04:00
irungentoo
4f1e02bafa
tox_group_get_names now returns a list of name lengths along with the list of names.
TCP test now also tests pings.
2014-03-31 20:37:03 -04:00
irungentoo
27a7bf5b1e
TCP server now sends/handles ping packets. 2014-03-30 20:56:59 -04:00
irungentoo
98cba889a7
TCP server now has onion functionality.
All the IP/Port related structs now have __attribute__ ((__packed__))
2014-03-29 22:19:03 -04:00
irungentoo
8aaa5fe996
TCP server almost ready. 2014-03-28 22:37:42 -04:00
irungentoo
a116673554 Merge pull request #818 from maksqwe/rtp_header_fix
fix RTPHeader filling by zeros underflow
2014-03-27 19:38:12 -04:00
Maks Naumov
5c49f7d2b9 fix RTPHeader filling by zeros underflow
regression from 6a78e2e71c
2014-03-28 00:29:18 +02:00
irungentoo
249d2d9eb7
TCP server testing in progress. 2014-03-26 20:55:14 -04:00
irungentoo
441198f212
Basic TCP server stuff should be all done, started testing it. 2014-03-25 21:03:50 -04:00
irungentoo
90d7eb4ff3
A bit more work on TCP server.
I'm going to start working more diligently on this tommorow, the last
week hasn't really been productive.
2014-03-24 20:54:04 -04:00
irungentoo
07078f731f Merge pull request #817 from mannol1/master
Fixed cancel and added handling of the glare case
2014-03-23 18:09:05 -04:00
mannol
05ddf40f99 Remove header 2014-03-23 22:49:53 +01:00
mannol
6c76aacbbb Why do it even care 2014-03-23 22:48:12 +01:00
irungentoo
3b841b0860 Merge pull request #815 from jin-eld/nacl-fix-3
More NaCl related fixes
2014-03-23 10:30:41 -04:00
Jin^eLD
70475d281d Fix NaCl builds for *BSD
From what I see there is a difference between *BSD and Linux when
linking vs. toxcore which has been bulit vs. the NaCl library:

on Linux it only links if NaCl's object files (i.e. randombytes.o) is
present in the linker options, however on *BSD systems this will cause a
linking error, see:
https://github.com/Tox/toxic/issues/31#issuecomment-38224441

This commit makes sure that we do not add the NaCl object files to our
pkg-config settings on *BSD, but do add them on Linux.
2014-03-23 02:05:57 +01:00
Jin^eLD
ba4681ef1e Fix shared/static settings when building vs. NaCl library
Make sure the shared lib build is really disabled when compiling vs.
NaCl:

moved settings before libtool initialization
fixed parameter name
2014-03-23 02:05:34 +01:00
irungentoo
cb1c1d25ec
Some work on TCP server done. 2014-03-22 18:29:09 -04:00
mannol
88f286e607 Clare case fix
Wot fix
2014-03-22 19:42:05 +01:00
mannol
6b6dbc15e2 Well this seems to be working 2014-03-22 19:33:56 +01:00
irungentoo
04001b2ec3 Friends client id is now removed from the request received list when he is deleted. 2014-03-21 19:27:17 -04:00
irungentoo
d2d8965470 Fixed other api inconsistency. 2014-03-20 20:48:46 -04:00
irungentoo
2e48b31e47 Fixed an api inconsistency. 2014-03-20 20:32:37 -04:00
irungentoo
d013673366 A bit more code written for TCP servers. 2014-03-19 20:19:51 -04:00
irungentoo
91838f8c2d Fixed issue where other could send a bad userstatus. 2014-03-18 20:50:40 -04:00
irungentoo
f7beb70fe9 nTox fixes.
Added TOX_MAX_MESSAGE_LENGTH to tox.h
2014-03-18 20:45:03 -04:00
irungentoo
e2b235e296 Fixed warning. 2014-03-18 20:30:45 -04:00
irungentoo
5770a0e29a Merge branch 'api-fix'
Main changes:
1. Strings no longer need to be NULL terminated.
2. tox_get_friend_id is now named tox_get_friend_number.
3. The friend request callback function is now (Tox *tox, uint8_t *,
uint8_t *, uint16_t, void *), the Tox object pointer has been added to
it.
2014-03-18 20:02:50 -04:00
irungentoo
6f0f3632c0 Merge pull request #809 from jin-eld/fix-shared-lib-builds
Fix regression that disabled shared library builds
2014-03-18 09:23:05 -04:00
irungentoo
2e78c234ef Merge pull request #808 from jin-eld/fix-nacl-2
Tell pkg-config when tox core is built vs. nacl
2014-03-18 09:22:57 -04:00
Jin^eLD
63c50c8302 Fix regression that disabled shared library builds
My previous attempt that was supposed to disable shared library builds
with nacl had a side effect which basically disabled shared libs for all
configurations.

Eventhough AC_DISABLE_SHARED was used inside an if clause it seemed to
take over in any case.

I could not find a clean way around this, so had to override internal
libtool variables. Will check with the libtool people regarding a
cleaner implementation.
2014-03-18 11:35:28 +01:00
Jin^eLD
847cbdf8c2 Tell pkg-config when tox core is built vs. nacl
This is required so that applications using tox core do not fail to link when
core is built vs. the nacl library.
2014-03-18 01:57:48 +01:00
irungentoo
f85d5e512d Merge pull request #807 from jin-eld/fix-nacl-builds
Disabled shared lib when building vs. nacl library
2014-03-17 20:43:42 -04:00
Jin^eLD
8974ed8327 Disabled shared lib when building vs. nacl library 2014-03-18 01:39:54 +01:00
irungentoo
eefc709de5 Merge pull request #802 from JFreegman/master
add api function that gets the last time a friend was seen online (also ...
2014-03-17 20:22:36 -04:00
irungentoo
f9c9b263e0 Renamed toping to to_ping. 2014-03-16 13:57:21 -04:00
irungentoo
5babb281c0 Friend request callback now contains the Tox object. 2014-03-16 13:24:39 -04:00
Jfreegman
419a2fb2e3 retain old data file friendlists on load 2014-03-16 05:09:36 -04:00
Jfreegman
7d1060abc2 add api function that gets the last time a friend was seen online 2014-03-16 05:08:35 -04:00
irungentoo
e95494482f A bit of work done on the TCP relay server. 2014-03-15 22:11:36 -04:00
irungentoo
99d8300e1b Merge branch 'master' of https://github.com/mannol1/ProjectTox-Core into mouseym-patch-3 2014-03-14 21:12:05 -04:00
irungentoo
e143e5d7f6 Merge branch 'udp_test_fixes' of https://github.com/kc1212/ProjectTox-Core into mouseym-patch-3 2014-03-14 21:11:57 -04:00
mannol
6a63605501 Comment fix 2014-03-15 02:11:25 +01:00
mannol
e990f05817 Added new callback 2014-03-14 23:10:10 +01:00
David Lohle
5594b87d3c Add Qt-Gui 2014-03-14 17:24:49 -04:00
David Lohle
116467f659 Organize the Readme 2014-03-14 17:22:22 -04:00
irungentoo
3acf43b76a A bit of work done on the TCP relay server. 2014-03-14 14:12:35 -04:00
irungentoo
29afa26396 Slightly more work done on the TCP relay server. 2014-03-13 20:48:01 -04:00
irungentoo
cb9b8fc7cd Fixed bug, unconfirmed friends now load correctly. 2014-03-13 15:10:59 -04:00