summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-12Run hstox test suite against toxcore on Travis.iphydf
2016-08-12Move toxcore travis build scripts out of .travis.yml.iphydf
This is in preparation for having multiple types of build. One of the future builds will be a hstox build, another may be frama-c or some other static analyser. It makes sense to split these up into multiple builds, because each of them can take a while, and running them in parallel will speed things up. Also, the hstox test coverage should be reported separately from the toxcore auto_test coverage.
2016-08-11Fix a few issues with running Toxcore tests on Travis-CIGregory Mullen (grayhatter)
> increased the timeout for TCP tests because per @irungentoo the network on Travis-CI can be slow sometimes > allowed groupchats test to restart on error until timeout This had to be done because current groupchats are fundamentally broken and 3/5 times they'll 'net-split' on connect >> Drop group chat tests, add comment to the reason > added some debugging information to TCP tests, and a #define to force IPV6 (Travis-CI only uses IPv4 on their containers) and decreased the itr interval > Went crazy with timeouts for Tox network stuff on Travis. Tests on TCP will still randomly fail due to timeouts. I can't reproduce on any local system. So again per @irungentoo, Travis is slow, let's offer it a short bus.
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-07-12Merge remote-tracking branch 'littlevulpix/patch-1'iphydf
2016-07-12Merge branch 'master' into patch-1LittleVulpix
2016-07-12minor fixes to main readmeGregory Mullen (grayhatter)
Requested, suggested
2016-07-11Do the coverage thing too...Gregory Mullen (grayhatter)
2016-07-11Change and move Bulid status iconGregory Mullen (grayhatter)
2016-07-11Documentation: SysVInit workaround for <1024 portsLittleVulpix
Update the manual to provide a command necessary to open <1024 ports for users on SysVinit
2016-07-07Enable toxcore logging when building on Travis.iphydf
The logging code is rarely tested by users, so we use Travis to exercise it.
2016-07-07Start recording test coverage and move to ubuntu precise.iphydf
- We use coveralls.io to report on test coverage and avoid getting below a certain threshold. The threshold is currently 60%, but we will be increasing it when it stabilises. - We use gcc/clang -ftest-coverage and gcov to measure C test coverage. - We switched to container based Travis build infrastructure, which has the advantage of faster boot times[1] (1-6s vs. 20-52s). The trusty beta supports caching, but the longer boot times make it an unattractive target. - We now need to build more dependencies ourselves and cache the result. We still fetch what we can (currently opam, libvpx, and check) from apt. [1] https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
2016-07-07Remove trailing whitespace from toxav.in.h.iphydf
2016-07-07Merge branch 'avswitch' of https://github.com/derivefh/toxcoreiphydf
2016-03-19Merge branch 'network-test-magic' of https://github.com/roman-yepishev/toxcoreirungentoo
2016-03-13Merge branch 'make-dist' of https://github.com/roman-yepishev/toxcoreirungentoo
2016-03-09Added astyled toxav.h to match toxav.in.hderive
2016-03-09Updated to match current toxav.hnobody
2016-03-07Merge branch 'tox-bootstrapd-smaller-docker' of ↵irungentoo
https://github.com/nurupo/InsertProjectNameHere
2016-03-07Merge branch 'nurupo-apidsl-check'irungentoo
2016-03-07Added check of whether tox.h or toxav.h were edited directlyMaxim Biro
tox.h and toxav.h must be generated by apidsl instead of edited directly.
2016-03-03Changes from @nurupo for build and runtime dependencies that reduce image sizeromik-g
Also removal of example bootstrap nodes from the config file in one line
2016-03-03Re-format to reduce image file by 50%romik-g
2016-03-01Merge branch 'master' of https://github.com/susnux/toxcore into susnux-masterirungentoo
2016-02-27Move argument comments to the end of lineRoman Yepishev
2016-02-27Remove unused main() argumentsRoman 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-14Merge branch 'GrayHatter-master'irungentoo
2016-02-13lets define this correctlly insteadGregory Mullen (GrayHatter)
2016-02-13added the dropped ;Gregory Mullen (GrayHatter)
2016-02-13added versioning to toxencryptsaveGregory Mullen (GrayHatter)
2016-02-13missed a line tox to toxavGregory Mullen (GrayHatter)
2016-02-13update the compatablity function to match the macroGregory Mullen (GrayHatter)
2016-02-13SemVer toxav tooGregory Mullen (GrayHatter)
2016-02-13Get SemVer more readyGregory Mullen (GrayHatter)
2016-02-05Fix #1520: Program returns random data in a functionFerdinand Thiessen
Added default return to non void functions level_syslog and level_stdout.
2016-01-30Realised there was no test to test these functions.irungentoo
2016-01-30Fixes.irungentoo
Fixed bug from merged PR. Don't build useless files when building with libsodium.
2016-01-30Merge branch 'kpp-code_review'irungentoo
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-24Merge branch 'travis-fix' of https://github.com/nurupo/InsertProjectNameHereirungentoo
2016-01-24Merge branch 'nurupo-tox-bootstrapd-get-nodes-fix'irungentoo
2016-01-24Update Travis scriptMaxim Biro
Reduces the running time from about 8 minutes to about 5, as it uses packaged libraries instead of building them. This is possible because of the Ubuntu Trusty becoming available on Travis. The new check that is in Trusty has different behaviour than the previously user version of it -- it doesn't output the detailed result of tests. To fix this we cat a file where this detailed result is stored.
2016-01-24Add missing newlineMaxim Biro