summaryrefslogtreecommitdiff
path: root/toxcore
AgeCommit message (Collapse)Author
2016-08-12Check code formatting on Travis.iphydf
We run astyle on Travis and check if there is a diff. The build terminates if git finds a difference.
2016-08-11Fix a bug I introduced that would make toxcore fail to initialise a second time.iphydf
sodium_init returns 1 when the library was already initialised. Toxcore code wasn't prepared to handle sodium errors, so it thought it was an allocation error. This error is still not handled correctly. If crypto fails to initialise, it will think it's an allocation error. Fixing this requires too many code changes, so must be done later.
2016-08-10Silence/fix some compiler warnings.iphydf
Some of these (like the incompatible pointers one) are really annoying for later refactoring.
2016-03-19Merge branch 'network-test-magic' of https://github.com/roman-yepishev/toxcoreirungentoo
2016-02-27Move argument comments to the end of lineRoman Yepishev
2016-02-27Remove magic numbers from addr_resolveRoman Yepishev
* Add #defines for INET/INET6 returns * Remove magic number 3 - exact AF_INET/INET6 result found. * Updated network_test.c
2016-02-26Add missing files so that archive for make dist is completeRoman Yepishev
2016-02-13added the dropped ;Gregory Mullen (GrayHatter)
2016-02-13update the compatablity function to match the macroGregory Mullen (GrayHatter)
2016-02-13Get SemVer more readyGregory Mullen (GrayHatter)
2016-01-30Fixes.irungentoo
Fixed bug from merged PR. Don't build useless files when building with libsodium.
2016-01-27 fix: replace memset with sodium_memzero for sensitive dataRoman Proskuryakov
2016-01-27 add: more comments into network.cRoman Proskuryakov
2016-01-27 add: comments about hairy codeRoman Proskuryakov
2016-01-27 add: comment about endiannessRoman Proskuryakov
2016-01-27 fix: compare sensitive data with sodium_memcmpRoman Proskuryakov
fix: make increment_nonce & increment_nonce_number independent of user-controlled input fix: make crypto_core more stable agains null ptr dereference
2016-01-04Cleanups.irungentoo
2016-01-04DHT improvements part 1.irungentoo
2015-12-17Fixed possible bug.irungentoo
2015-12-17Allow 0 length sendnode.irungentoo
2015-12-16Send get nodes instead of ping to timing out nodes.irungentoo
2015-12-16This is still useful.irungentoo
2015-12-16Slightly increase ping timeout.irungentoo
2015-12-16Less packet spam.irungentoo
2015-12-16Improved the to_ping list.irungentoo
2015-12-15More efficient DHT searching.irungentoo
2015-12-14Sort list if timed out nodes are in the middle of the list.irungentoo
2015-12-14Send get nodes more to closer nodes than further nodes.irungentoo
2015-12-12Small onion search improvement.irungentoo
2015-12-12Update so this works with the new distance function.irungentoo
2015-12-11Unused variable.irungentoo
2015-12-11Remove useless vars.irungentoo
2015-12-11More DHT fixes.irungentoo
2015-12-11DHT fix.irungentoo
2015-12-11DHT improvements.irungentoo
Feed better nodes to onion, bootstrap off close clients when DHT friend is added.
2015-12-11DHT fix.irungentoo
Return only closest nodes in get nodes packet.
2015-12-11DHT fixes.irungentoo
2015-12-10Check if node can be stored before sorting.irungentoo
2015-12-09Small fix.irungentoo
2015-12-09DHT fix.irungentoo
Improve DHT distance function.
2015-12-08Improve likelyhood of the closest nodes being in our lists.irungentoo
2015-12-08uint32_t -> unsigned int.irungentoo
2015-12-08Forgot to stage this before committing.irungentoo
2015-12-08Fixed DHT bug.irungentoo
2015-12-08If we receive a packet from a node we are searching for, ping it.irungentoo
2015-12-01Slightly increased number of peers to announce to.irungentoo
Some test fixes.
2015-11-21Increase max file transfer speed.irungentoo
Fix bug that limited it to 1K packets per second.
2015-11-21More file transfer improvements.irungentoo
2015-11-20File transfer fix.irungentoo
2015-11-20File transfer fix.irungentoo