Age | Commit message (Collapse) | Author |
|
|
|
|
|
into FullName-group_peername
|
|
nTox: enforce friend name null termination, reduce memory loss, allow nickchange as oldname=>newname
|
|
(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
|
|
|
|
|
|
|
|
- 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
|
|
Started as a simple bugfix for wrap(), expanded to more detailed help.
|
|
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
|
|
|
|
|
|
https://github.com/FullName/ProjectTox-Core into FullName-add2lists_forward
|
|
Unify most of handle_sendnodes[_ipv6]() into a common core.
|
|
Reduce duplicate data. Add a mostly empty skeleton test.
|
|
Behind #define LOGGING: Correct usage of now() to replacement unix_time().
|
|
handle_sendnodes_core(), leave only a minimal trail.
|
|
|
|
|
|
Avoids a DOS of sending a copy of a valid response with an invalid IP.
|
|
|
|
|
|
|
|
|
|
Make the av_api.md look a bit better
|
|
forgot one paragraph
|
|
some markup was fucked up :P
|
|
that looks better :)
|
|
and some more
|
|
add some more shiny stuff
|
|
add some code blocks in the markup
|
|
|
|
|
|
|
|
|
|
Offer solution for "error while loading shared libraries: libtoxcore.so....
|
|
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".
|
|
added AV_codec.h to public headers
|
|
|
|
|
|
Public headers should not have any internal references
|
|
|
|
I'm sure nobody has any of the old save files anymore so I removed the
functions.
|
|
|
|
|
|
Small changes to A/V
|
|
|
|
|
|
|