summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-25Use Wine Staging for running Windows testsMaxim Biro
2018-01-25Show source file name and line number on crashMaxim Biro
2018-01-25Make Travis test Windows DockerfileMaxim Biro
2018-01-25Add Dockerfile for Windows cross-compilationMaxim Biro
2018-01-25Update install instructions to use CMakeMaxim Biro
2018-01-25Install runtime modules into bin directoryMaxim Biro
Runtime modules, such as executables and shared libraries should be installed into "bin" instead of "lib".
2018-01-25Prefix add_test() with $CROSSCOMPILING_EMULATORMaxim Biro
$CMAKE_CROSSCOMPILING_EMULATOR is automatically prefixing add_test() in CMake versions starting 3.3[1], but because we target CMake 2.8, we can't use that and we have to add our own $CROSSCOMPILING_EMULATOR that will prefix add_test(). [1] https://cmake.org/cmake/help/v3.3/variable/CMAKE_CROSSCOMPILING_EMULATOR.html#variable:CMAKE_CROSSCOMPILING_EMULATOR
2018-01-25Split bit_rate_set(), one for audio, one for video.xhe
Fixes #572. As discussed in the issue, there's a risk that toxcore may not hold the maximum bitrates libvpx supports, if toxcore insists on using integer type. I initially proposed to have another flag in set(), so that we can use unsigned type instead. iphydf came up with a better solution, that is splitting the original functions, one for audio, one for video. Now, we could safely replace int32_t with uint32_t. Also: clean video_bit_rate_invalid() Though this is not a part of issue #572, as it's used in the toxav_bit_rate_set(), i cleaned the code. As mannol said, there should be a check. Uint32_t is large enough to hold the maximum bitrates libvpx supports, but user may pass a value larger than uint while smaller than uint32_t. Thanks to the reminding from nurupo, it's no longer a stub function. Bitrate error enums are shared for both audio and video https://github.com/TokTok/c-toxcore/pull/578#issuecomment-360095609, just as iphydf said.
2018-01-25Rename some rtp header struct members to be clearer.iphydf
These are the names used in the next PR, in RTPHeaderV3, so here we rename the old struct members already.
2018-01-25Remove dead return statement.iphydf
Turning this code: ```c if (cond) { ... return 0; } if (!cond) { ... return 0; } return -1; ``` into: ```c if (cond) { ... return 0; } else { ... return 0; } ``` The `return -1` in the first variant can never happen.
2018-01-25Disable the autotools build in PR builds.iphydf
We will only build this during the nightly build. It's very rare for the autotools build to break when the cmake build does not.
2018-01-22Publish a single public BUILD target for c-toxcore.iphydf
2018-01-22Use <stdlib.h> for alloca on FreeBSD.iphydf
https://www.freebsd.org/cgi/man.cgi?alloca If stdlib.h does not define alloca, and we're using GCC (or Clang), we define the macro ourselves in terms of a GCC builtin.
2018-01-22Use self-built portaudio instead of system-provided.iphydf
2018-01-21Make the monolith test a C++ binary.iphydf
This way, developers compile toxcore, toxav, and toxencryptsave as C++ at least once at home, reducing the likelyhood of running into travis failures where we compile as C++ in the windows build.
2018-01-21Make BUILD files more finely-grained.iphydf
This allows us to precisely see which libraries depend on which and lets us split them up more, if necessary.
2018-01-21Add comment from #629 in ring_buffer.c.iphydf
2018-01-21Add BUILD files for all the little tools in the repo.iphydf
Also, fix av_test.c, since I broke it last time.
2018-01-21Don't allocate or dereference Tox_Options in tests.iphydf
This struct will soon become opaque.
2018-01-20Add testing/*.c (except av_test) to bazel build.iphydf
2018-01-20Remove nTox from the repo.iphydf
It's a maintenance burden nobody uses. Let's make toxic the official console client, instead.
2018-01-20Add correction support for conferenceDiadlo
Fix #704
2018-01-20Fix log message in simple_conference_test: invite -> message.iphydf
2018-01-20Add a simple conference test with 3 friends.iphydf
This tests that a message from tox1 is relayed via tox2 to tox3 when tox1 and tox3 are not friends.
2018-01-20update to astyle 2.04 on circleCI to get the correct resultzoff99
2018-01-19Add astyle to Circle CI build.iphydf
2018-01-19Add some explanatory comments to the toxav audio code.iphydf
By @zoff99.
2018-01-19Use more descriptive names in bwcontroller.iphydf
2018-01-19Extract named constants from magic numbers in toxav/audio.c.iphydf
By @zoff99.
2018-01-19Use larger arrays in crypto timing tests.iphydf
Increasing from 256K to 1M and increasing the number of iterations from 1000 to 2000. This makes the test more accurate and less flaky.
2018-01-18Use C99 standard in bazel builds.iphydf
2018-01-18Add bazel build scripts for c-toxcore.iphydf
This allows us and users to reproducibly build verified versions of the library with checksums. It will power the toktok-stack continuous build with checked-in checksums at specific git revisions.
2018-01-16Make DHT a module-private type.iphydf
2018-01-16Make Net_Crypto a module-private type.iphydf
2018-01-16Make libcheck optional for windows builds.iphydf
2018-01-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-16Make pack/unpack_ip_port public DHT functions.iphydf
These will be needed for new group chats.
2018-01-16Add Alpine Linux Dockerfileromik-g
2018-01-16Sort monolith.h according to ls(1): uppercase first.iphydf
2018-01-15Don't install packages needlessly on TravisMaxim Biro
2018-01-15Run fewer Travis jobs during Pull Requests.iphydf
Still run all the jobs during cron and regular push to branch. We disabled build for push to branch, so cron is the only place where all builds are run. This also means we need to worry less about spending time in nightly builds, because they occur only once a day. See https://github.com/travis-ci/travis-ci/issues/9071
2018-01-15Remove hstox test for now.iphydf
This isn't adding value. We're going to redo the whole rpc test framework in the future, after a lot of refactoring that the hstox test currently just stands in the way of.
2018-01-15update rpm spec and use variables in cmake instead of hardcoded paths (#624)Smoked Cheese
2018-01-15Add correction message typeDiadlo
2018-01-14Add random_u16 function and rename the others to match.iphydf
2018-01-14Use apidsl to generate ping.h.iphydf
The ping.api.h file looks rather ugly, but it works. This is an exercise in finding the complete set of use cases needed from apidsl for toxcore. We'll try to make things work as much as possible, and then make apidsl better and make the .api.h files pretty.
2018-01-14Fix some memory or file descriptor leaks in test code.iphydf
Also some missing return value checks for `fopen`.
2018-01-14Make TCP_Client_Connection a module-private type.iphydf
2018-01-14Move TCP_Secure_Connection from .h to .c file.iphydf
2018-01-14Make Friend_Connections a module-private type.iphydf