summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-29Merge pull request #668 from aitjcize/api-nameirungentoo
Fix API name consistency.
2013-11-29Fix typo.AZ Huang
2013-11-29Fix API name consistency.AZ Huang
2013-11-29Fixed possible issue.irungentoo
2013-11-29Merge pull request #667 from aitjcize/ret-code-inconsistencyirungentoo
Fix return code inconsistency.
2013-11-29Should return 0 for tox_file_dataremaining since it returns unsignedAZ Huang
2013-11-29Fix return code inconsistency.AZ Huang
2013-11-27Merge pull request #666 from FullName/nTox-variousirungentoo
Various changes to nTox including a potential crash (also possible from remote!)...
2013-11-2730 seconds is way too long.irungentoo
2013-11-27Fixed ghost peer problem.irungentoo
2013-11-27Various changes to nTox including a potential crash (also possible from ↵Coren[m]
remote!), and a tiny change to toxcore. Crash stuff: nTox.c: - do_refresh(): avoid crashes (input a "%" and the client goes "boom!", send someone a string with embedded "%" and see him blow up...) Other stuff: toxcore: tox.h (doc.)/network.c (code): - networking_wait_prepare(): return -1 if lenptr was NULL and therefore not settable nTox.c: - fraddr_to_str(): function to convert a TOX_FRIEND_ADDRESS into a segmented (and therefore line-breakable) string - print_friendlist(): print index of friend on name line, print id on 2nd line - command /f: skip spaces (and +) inside a friend id - command /r (new): "/r #" to remove a friend - main(): reduce cpu consumption if we're not currently sending files
2013-11-27Friend requests from friends are now discarded.irungentoo
2013-11-26Merge pull request #665 from FullName/peerdel-ntox-feedbackirungentoo
Print a more detailed message on CHAT_CHANGE_PEER_DEL, so a user isn't confounded...
2013-11-26Print a more detailed message on CHAT_CHANGE_PEER_DEL, so a user isn't ↵Coren[m]
confounded by the change of peer numbers. On deleting the last peer, it's just a delete. On deleting any other peer, the last peer is moved into that space, gaining a different number. Print that detail where appropriate.
2013-11-25Behaviour changes for the group chat callback.irungentoo
2013-11-25Merge pull request #663 from FullName/peerchange-detailirungentoo
group_namelistchange(): for gui reasons, divulge peernumber and change type
2013-11-25setnick(): don't callback when an identical nickname is set againCoren[m]
2013-11-25Mimic more exactly what delpeer() does in the callback.Coren[m]
If the deleted peer wasn't last, send a name-change update for the overwritten peer.
2013-11-24Fixed possible build problem.irungentoo
2013-11-24group_namelistchange(): for ui reasons, divulge the peernumber and the ↵Coren[m]
nature of the change (add, del, name change). tox.*, Messenger.*, group_chats.*: - expand interface of callback by peernumber/change groupchats.c: - call callback in addpeer/delpeer/setnick with peernumber and flag nTox.c: - print_groupchatpeers(): print as many names on a line as possible, not one peer per line - print_groupnamelistchange(): only print the change, if possible (i.e. "new peer", "peer's new name") - added command "/p" to print the list of peers
2013-11-24Fixed bug with group chats.irungentoo
2013-11-23Kill_messenger now kills group chats.irungentoo
2013-11-23Added callback that tells you when the peer name list of a group chat changes.irungentoo
2013-11-22Added function to get the number of peers and list of names for group chats.irungentoo
2013-11-21Speed up group chat bootstrapping by a bit.irungentoo
2013-11-21Group chat peers now tell others when they quit.irungentoo
Also increased ping timeout.
2013-11-20Merge pull request #659 from stqism/masterirungentoo
De-clusterfucks travis logs.
2013-11-20echo is uselessSean
2013-11-20Fixed "'"Sean
2013-11-20Fixed thatSean
2013-11-20No one actually gives a shit about seeing this, so lets actually be able to ↵Sean Qureshi
see useful stuff
2013-11-19Merge pull request #656 from Jman012/masterirungentoo
Added functions tox_count_chatlist and tox_copy_chatlist.
2013-11-19Fixed a cuple stylistic bugs. Behaviour should be the same but the code is ↵Jman012
now proper. Also fixed tox_copy_friendlist.
2013-11-19Added null check to each chat before incrementing.Jman012
2013-11-19Merge pull request #657 from fr0stycl34r/patch-1irungentoo
Fix instructions
2013-11-19Fix instructionscl34r
sudo echo "/usr/local/lib/" >> /etc/ld.so.conf.d/locallib.conf doesn't work so well... echo '/usr/local/lib/' | sudo tee -a /etc/ld.so.conf.d/locallib.conf should work better.
2013-11-19Fixed possible issue.irungentoo
2013-11-18Fixed a few typos.Jman012
2013-11-18Added functions tox_count_chatlist and tox_copy_chatlist.Jman012
These functions are akin to the tox_count_friendlist and tox_copy_friendlist, made available on the public API.
2013-11-18Merge pull request #650 from FullName/ID-IP-basicirungentoo
Significantly trimmed down version of an ID<=>IP cache.
2013-11-17Merge pull request #652 from FullName/reset_on_long_timeoutirungentoo
Tolerate instable connectivity.
2013-11-17Fixed segfault.irungentoo
2013-11-17Tolerate instable connectivity: if *all* set close nodes are in terminal ↵Coren[m]
timeout (KILL_NODE_TIMEOUT), reset them all to BAD_NODE_TIMEOUT. That keeps the client trying to at least ping the nodes in the hopes of the connection coming back up.
2013-11-16Fixed build error on windows.irungentoo
2013-11-16Send our name when someone new joins the group chat.irungentoo
2013-11-17Assoc's array is now allocated dynamically and per default much smaller (320 ↵Coren[m]
entries). id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct. Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision. Fleshed out test to be at least elementary useful. Each group chat now uses an own, small assoc (80 entries).
2013-11-15Merge pull request #651 from FullName/ntox-wrap-basic-with-continuationirungentoo
Basic wrap(): Embed continuation markers if there's enough space.
2013-11-14Merge pull request #649 from FullName/DHT-client_id-change-wipe-other-addressirungentoo
On replacing a client with another, clear the stale association.
2013-11-14Significantly trimmed down version of an ID<=>IP cache.Coren[m]
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
2013-11-14Wrapping: Expanded space of output to be a bit larger than input. Basic ↵Coren[m]
wrap(): Embed continuation markers if there's enough space.