summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-13IPv6 address of ::1 is local.Coren[m]
2013-11-12Cleaned up the code.irungentoo
2013-11-12Merge branch 'group_peername' of https://github.com/FullName/ProjectTox-Core ↵irungentoo
into FullName-group_peername
2013-11-12Merge pull request #645 from FullName/nTox-patchesirungentoo
nTox: enforce friend name null termination, reduce memory loss, allow nickchange as oldname=>newname
2013-11-12Group chat: Add a nickname message. Remove strange default nickname. ↵Coren[m]
(Seriously...) group_chats.*: - group_send_nick() to send own name - setnick() to store a received name Messenger.c: - group_send_nick() before group_sendmessage() (in regular intervals, to inform new peers) nTox.c: - print_groupmessage(): on error or on a name of length zero the result of tox_group_peername() isn't null-terminated, catch that
2013-11-12Undo faulty newlines, undo extra newlines.Coren[m]
2013-11-11Fixed possible segfault.irungentoo
2013-11-11Merge remote-tracking branch 'upstream/master' into nTox-patchesCoren[m]
2013-11-11nTox.c:Coren[m]
- multiple places: tox_getname() doesn't terminate the string, make sure nTox does - format_message(): . - renamed to print_formatted_message() . - changed semantics: does the new_line() itself, saves caller from freeing the buffer (which no caller did) . - changed signature: now also prints the friend's name when sending . - intern: date is only printed once, the message line gets only time - print_message(): enforce null termination - main(): . - setlocale() to init locale (for date/time printing) . - own name: ensure null termination Messenger.c: - notify of friend name change *before* the old name is overwritten
2013-11-10Merge pull request #643 from FullName/nTox-patchesirungentoo
Started as a simple bugfix for wrap(), expanded to more detailed help.
2013-11-10Started as a simple bugfix for wrap(), expanded to more detailed help.Coren[m]
nTox.c: - flag[]: additional flag for special wrapping - help expanded and split (to keep below 256 chars) - new_lines_mark(): stores flag for special wrapping - print_friendlist(): . - extracted pattern for output . - added length of id string allocation . - replaced '\t' with '+ ', wrappers don't account for '\t' - line_eval(): . - removed a few do_refresh() directly after a new_lines() (calls do_refresh() at its end) . - 'h' (help): parsing of an additional character for f(riend) or g(roup) - wrap(): . - the major bugfix: . - no more endless looping if the input had a substring with no spaces . for more than line_width (e.g. ID of 78 and window smaller than 78) - wrap_bars(): wrap() for "rich" messages, honors embedded '\n', breaks preferable at '|' - print_help(): listed all options and added explanations - print_invite(): fixed minuscule typo - main(): made print_help() reachable again nTox.h: - majorly cut down to what is really needed
2013-11-09Optimized data sending slightly more.irungentoo
2013-11-08Code cleanups.irungentoo
2013-11-07Merge branch 'add2lists_forward' of ↵irungentoo
https://github.com/FullName/ProjectTox-Core into FullName-add2lists_forward
2013-11-07Merge pull request #642 from FullName/dht_handle_sendnodes_unifyirungentoo
Unify most of handle_sendnodes[_ipv6]() into a common core.
2013-11-06Merge pull request #641 from FullName/autotests_reduceirungentoo
Reduce duplicate data. Add a mostly empty skeleton test.
2013-11-06Merge pull request #640 from FullName/logging_fixesirungentoo
Behind #define LOGGING: Correct usage of now() to replacement unix_time().
2013-11-06Unify most of handle_sendnodes[_ipv6]() into a common ↵Coren[m]
handle_sendnodes_core(), leave only a minimal trail.
2013-11-06Reduce duplicate data. Add a mostly empty skeleton test.Coren[m]
2013-11-06Behind #define LOGGING: Correct usage of now() to replacement unix_time().Coren[m]
2013-11-06addto_lists(): store the IP/Port that was used to *send*.Coren[m]
Avoids a DOS of sending a copy of a valid response with an invalid IP.
2013-11-05Auto delete inactive peers in the group chat.irungentoo
2013-11-04Send ping packets in group chats every 30 seconds.irungentoo
2013-11-03The group chats we invite a friend to are now stored.irungentoo
2013-11-02Fixed possible issue.irungentoo
2013-11-01Merge pull request #637 from blackwolf12333/masterirungentoo
Make the av_api.md look a bit better
2013-11-01Update av_api.mdPeter Maatman
forgot one paragraph
2013-11-01Update av_api.mdPeter Maatman
some markup was fucked up :P
2013-11-01Update av_api.mdPeter Maatman
that looks better :)
2013-11-01Update av_api.mdPeter Maatman
and some more
2013-11-01Update av_api.mdPeter Maatman
add some more shiny stuff
2013-11-01Update av_api.mdPeter Maatman
add some code blocks in the markup
2013-11-01Update av_api.mdPeter Maatman
2013-11-01Update av_api.mdPeter Maatman
2013-10-30Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-10-30Updated hardening doc.irungentoo
2013-10-29Merge pull request #636 from fr0stycl34r/patch-1irungentoo
Offer solution for "error while loading shared libraries: libtoxcore.so....
2013-10-29Offer solution for "error while loading shared libraries: libtoxcore.so.0: ↵fr0sty
cannot open shared object file: No such file or directory". Offer solution for "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory".
2013-10-28Merge pull request #635 from Martijnvdc/masterirungentoo
added AV_codec.h to public headers
2013-10-28renamed AV_codec to toxmediaMartijn
2013-10-28added AV_codec.h to public headersMartijn
2013-10-28Merge pull request #634 from jin-eld/fix-public-headersirungentoo
Public headers should not have any internal references
2013-10-28Public headers should not have any internal referencesJin^eLD
2013-10-27Cleaned up some code/fixed some warnings.irungentoo
I'm sure nobody has any of the old save files anymore so I removed the functions.
2013-10-26Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Coreirungentoo
2013-10-26Increased port range.irungentoo
2013-10-26Merge pull request #633 from Martijnvdc/masterirungentoo
Small changes to A/V
2013-10-27Small changes to A/VMartijn
2013-10-26Clarified a comment.irungentoo
2013-10-25Update time before running functions for recieved packets.irungentoo