summaryrefslogtreecommitdiff
path: root/other
AgeCommit message (Collapse)Author
2018-08-12Fix a few warnings from clang.iphydf
Also remove the use of a VLA in a context where there can be unbounded memory allocations.
2018-08-04Make a separate `struct Tox` containing the Messenger.iphydf
This allows Tox to contain additional data on top of Messenger, making Messenger not necessarily the most top-level object. E.g. groups are built on Messenger and currently awkwardly void-pointered into it to pretend there is no cyclic dependency.
2018-07-22Run Clang global static analysis on Travis.iphydf
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
2018-07-21Avoid implementations in .h files or #including .c files.iphydf
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-07-15Simplify Travis-CI FreeBSD buildMaxim Biro
2018-07-09Factor out time keeping code into its own module: mono_time.c.iphydf
It turns out, `unix_time` is also monotonic, and is used as such, so I've renamed the new functions to `mono_time_*`. 2018-07-08: ``` 00:01 <@irungentoo> the idea used to be that the unix_time() function could go backward in time but I think I might have started using it like if it could not after I changed it so that it would never go back in time ```
2018-07-09Move `load_state` and its helper functions to their own module.iphydf
2018-07-05Make tox.c unambiguously parseable.iphydf
Rules: 1. Constants are uppercase names: THE_CONSTANT. 2. SUE[1] types start with an uppercase letter and have at least one lowercase letter in it: The_Type, THE_Type. 3. Function types end in "_cb": tox_friend_connection_cb. 4. Variable and function names are all lowercase: the_function. This makes it easier for humans reading the code to determine what an identifier means. I'm not convinced by the enum type name change, but I don't know a better rule. Currently, a lot of enum types are spelled like constants, which is confusing. [1] struct/union/enum
2018-07-01Simplify Travis CI builds.iphydf
Have one script per build. This means more duplication between the scripts, but it's much easier to understand and to run locally.
2018-06-25Only run astyle if the astyle binary exists.iphydf
2018-06-25Remove the format test.iphydf
It's annoying to have a test touch every source file. It causes a recompile of everything after every test run.
2018-06-25Make bootstrap daemon use toxcore's versionMaxim Biro
2018-05-22Fix bootstrap loggercotox
TODO: need a meanful log output
2018-05-20Add empty logger to DHT bootstrap daemons.iphydf
These should register a proper logging callback so the messages don't go devnull, but this at least ensures a logger is available.
2018-05-20Move system header includes from network.h to network.ciphydf
2018-05-10fix DHT_bootstrap key loadingAnthony Bilinski
Introduced by 643eea60bb9dcf4ecb33d64666b1bc77cbfd7438
2018-05-10Fix FreeBSD build on TravisMaxim Biro
2018-03-17Fix coveralls reporting.iphydf
The new clang version makes gcov segfault. Also, coveralls needs another package that it doesn't install the right version of by default.
2018-03-16Remove the use of the 'hh' format specifier.iphydf
It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786.
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf
2018-02-23Link all tests to the android cpufeatures library if available.iphydf
This is needed for libvpx to work on android. This also means that we can upload our test binaries to an android device and actually run them, now that libcheck is no longer a blocker.
2018-02-22Add an option that allows us to specify that we require toxav.iphydf
2018-02-21Fix OSX tests: find(1) doesn't work like on Linux.iphydf
2018-02-20Make the "persistent conference" callback changes new functions.iphydf
We can now revert the changes to the callbacks and keep supporting them until clients have moved off them.
2018-02-19Remove apidsl from the build.iphydf
apidsl is in feature freeze. We can rely on the web service, instead.
2018-02-18Run all tests in parallel on Travis.iphydf
The first round some tests will fail and others will segfault. The second round, still some will fail, but the third round it might pass. At some point, tests will pass. The reason for this is that tests assume a lot about which ports they are given, and also toxcore's default port range has too few ports to run all tests in parallel. These issues will be fixed in future PRs.
2018-02-18Use Wine Devel instead of Wine StagingMaxim Biro
Wine Staging is not maintained https://wine-staging.com/news/2018-02-17-future-wine-staging.html
2018-02-11Improve gtest finding, support local checkout.iphydf
Also fix library dependency order for monolith test.
2018-02-09Remove libcheck from the dependencies.iphydf
We're not gaining much from this library, and it's a burden, especially for windows development.
2018-02-08Use the markdown GPLv3 license in the c-toxcore repo.iphydf
2018-02-08Fix LAN discovery on FreeBSD.iphydf
Also, add an auto-test for bootstrap and for LAN discovery. Bootstrap is never tested otherwise, and LAN discovery is a prerequisite for everything else. Having these two tests lets us rule out or identify LAN discovery as a possible cause for test failures.
2018-02-08Remove csrc from the RTPHeader struct.iphydf
This is not used by anything in the code, so we shouldn't have it in the header.
2018-02-06Improve stability of crypto_memcmp test.iphydf
Also reduce number of people in conference to 5, because on Circle CI the test times out trying to connect more than 6 or 7 people. The persistent conferences PR will improve this so we can set it much higher then.
2018-02-06Format .cpp files with format-source.iphydf
2018-02-05use official debian domainsudden6
2018-02-04Use more ubuntu packages; remove hstox for now.iphydf
Since trusty has more up-to-date packages, we can remove some of the custom install code. Also, we're not using hstox at the moment, so there is no need to slow down the builds for now.
2018-01-30Use nullptr as NULL pointer constant instead of NULL or 0.iphydf
This changes only code, no string literals or comments.
2018-01-28Avoid clashes with "build" directories on case-insensitive file systems.iphydf
2018-01-25Use Wine Staging for running Windows testsMaxim Biro
2018-01-25Make Travis test Windows DockerfileMaxim Biro
2018-01-25Add Dockerfile for Windows cross-compilationMaxim Biro
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 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 BUILD files for all the little tools in the repo.iphydf
Also, fix av_test.c, since I broke it last time.
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-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-16Use apidsl to generate LAN_discovery.h.iphydf
2018-01-16Add Alpine Linux Dockerfileromik-g