summaryrefslogtreecommitdiff
path: root/other
AgeCommit message (Collapse)Author
2018-01-16Sort monolith.h according to ls(1): uppercase first.iphydf
2018-01-15update rpm spec and use variables in cmake instead of hardcoded paths (#624)Smoked Cheese
2018-01-14Fix some memory or file descriptor leaks in test code.iphydf
Also some missing return value checks for `fopen`.
2018-01-13pkg-config .pc files: added .private versions of Libs and RequiredYuri
To prevent top-level linking of all libraries. Problem: ```pkg-config --libs toxcore``` returns all libraries that are required by all libtox*.so libraries. This is wrong because for a dynamically linked executable only top-level libraries need to be supplied. ```pkg-config --libs --static toxcore``` should return all libraries for the statically linked executable. For example, the ToxBot https://github.com/JFreegman/ToxBot executable uses pkg-config and is linked with the opus library, which is wrong. Based on #533.
2018-01-11Move Networking_Core struct into the .c file.iphydf
To make it an abstract type everywhere except in network.c.
2018-01-10Increase test retries to 10 (basically infinite).iphydf
This basically means: try until you run out of time (50 minutes on Travis). On Linux, we really want the tests to pass, so there is no point in limiting the number of retries. On windows, we don't retry, on FreeBSD it's limited to 1.
2018-01-10Fix formatting in some C files.iphydf
Also replace &(x) with &x for consistency.
2018-01-10Disable asan, since it seems to break on travis.iphydf
But enable it on circle ci, so at least we have one asan build.
2018-01-08Bump toxcore version to 0.2.0.iphydf
We're not releasing yet, but projects preparing for the release will want to build against this version in master.
2017-12-29Remove deprecated ToxDNSiphydf
Based on #331. Fixes #42.
2017-12-28Generate only one large library "libtoxcore".iphydf
This library contains all the code for the old libtoxcore, libtoxav, libtoxdns, and libtoxencryptsave. The build for toxav is still optional, and disabling it causes libtoxcore to simply not contain those symbols and the pkg-config file to not include opus and vpx as dependencies.
2017-12-16Test tox-bootstrapd Docker container on TravisMaxim Biro
2017-12-16Update tox-bootstrapd DockerfileMaxim Biro
2017-12-12Separate FreeBSD Travis build in 2 stagesMaxim Biro
2017-12-12Lift libconfig to v1.7.1Robin Lindén
2017-11-15Add support of IPv6 disablingDiadlo
2017-10-25Fix OS X Travis.Robin Lindén
2017-08-22Run tests only once on FreeBSD due to Travis timeoutMaxim Biro
2017-08-22Fix FreeBSD failing on Travis after updateMaxim Biro
2017-08-22Update FreeBSD version on Travis to 11.1Maxim Biro
2017-08-22Update FreeBSD image on new tagMaxim Biro
Instead of updating it in every Travis build.
2017-08-22Allow FreeBSD tests to failMaxim Biro
2017-08-22Test toxcore on FreeBSD on TravisMaxim Biro
2017-06-05Fold hstox tests into the general linux test.iphydf
We can run the spectest from within cmake, so we should exercise that.
2017-06-04Split daemon's logging backends in separate modulesMaxim Biro
2017-06-04Add a monolith_test that includes all toxcore sources.iphydf
This requires that every symbol, even if static (file-scope), is unique. The idea is that we can easily run "whole" program static analysis on programs that include monolith.h ("whole" is in quotes, as we don't include dependencies like libsodium in this static analysis).
2017-06-04Fix formatting and spelling in version-sync script.iphydf
Also some minor reformatting and fixes to the hstox sut driver.
2017-06-03Use new encoding of `Maybe` in msgpack results.iphydf
The new encoding is `0` for `Nothing` and `[1, x]` for `Just x`.
2017-04-19Fix markdown formattingMaxim Biro
2017-03-26Retry autotools tests the same way as cmake tests.iphydf
2017-03-26Reduce ctest timeout to 2 minutes from 5 minutes.iphydf
Fixes #411.
2017-03-25Move c_sleep to helpers.h and misc_tools.hDiadlo
Also fix a mistake with forgotten braces around parameter
2017-03-12Fix Travis always succeeding despite tests failingMaxim Biro
2017-03-01Remove dependency on strings.hMaxim Biro
2017-02-26Add part of platform-independent network API implementationDiadlo
socket -> net_socket htons -> net_htons htonl -> net_htonl connect -> net_connect sendto -> net_sendto_ip4 getaddrinfo -> net_getipport sa_family_t -> Family
2017-01-28Add VLA compatibility macro for C89-ish compilers.iphydf
2017-01-19Limit number of retries to 3.iphydf
2017-01-19Make Travis tests slightly more robust by re-running them.iphydf
2017-01-19Update license headers and remove redundant file name comment.iphydf
"All rights reserved" was incorrect. The project was licensed under GPL3, which means a lot of rights are licensed to everybody in the world, i.e. not reserved to the "Tox Project".
2017-01-18Add tutorial and "danger: experimental" banner to README.iphydf
2017-01-18Clarify how the autotools build is done on Travis.iphydf
2017-01-18decouple version-sync script from cmakeCarsten Brandt
2017-01-18SO versions for cmake and libtoolCarsten Brandt
this updates the version-sync script to generate proper SO versions which will be used by cmake and libtool to create version symlinks on the system when a library is installed as well as setting the SO version in the binary. To see what this does, you have to configure tox with a prefix: ./configure --prefix=/tmp/tox-with-libtool mkdir cbuild && cd cbuild && cmake -DCMAKE_INSTALL_PREFIX=/tmp/tox-with-cmake .. Then run `make && make install`. in both instances you should see the following installed in `lib/`: libtoxcore.so -> libtoxcore.so.1.4.0 libtoxcore.so.1 -> libtoxcore.so.1.4.0 libtoxcore.so.1.4.0 inside the binary the soname should be the one with .1 and it should not contain the full version: $ objdump -p libtoxcore.so.1.4.0 | grep SONAME SONAME libtoxcore.so.1
2017-01-08Fix NaCl build: tar was called incorrectly.iphydf
tar -jxf expects a file.
2017-01-08Set up autotools build to build against vanilla NaCl.iphydf
Fixes #363.
2017-01-07Run windows tests but ignore their failures.iphydf
This way we can at least see what fails in which way.
2017-01-06Revert "Revert "Portability fixes""David Zero
This reverts commit 59e2a844f04a8725e8079f854158aa86ef5988b2, and defines _DARWIN_C_SOURCE in toxcore/network.c
2017-01-06Add an OSX build that doesn't run tests.iphydf
This one is not allowed to fail and ensures that toxcore can at least be built for OSX.
2017-01-05Revert "Portability fixes"endoffile78
This reverts commit f3469070fe899e8e4fd88665386a55bad9f77cd8.
2017-01-05Test a few cmake option combinations before the build.iphydf
This takes a few seconds but allows us to cover cases that aren't checked often.