summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-01Minor documentation fixes.iphydf
- Fixed incorrect parameter names (documented name didn't match code name). - Removed `@return` from functions that return `void`. - Make sure every parameter is documented. This required moving the planes and strides documentation to the function docs.
2016-10-01Import the hstox SUT interface from hstox.iphydf
We'll maintain it in the c-toxcore repo, where it belongs.
2016-09-30Remove return after no-return situation (and other cleanups).iphydf
Cleanups: - Fix header guards to not use reserved names. - Avoid name shadowing. - Removed an unused variable found by avoiding name shadowing.
2016-09-30Add the 'Tox' context object to the logger.iphydf
We don't currently support callbacks without context object.
2016-09-30docs(INSTALL): update compiling instructions for LinuxZetok Zalbavar
Also change links from irungentoo/toxcore to TokTok/toxcore
2016-09-29Merge branch 'master' of https://github.com/irungentoo/toxcoreiphydf
2016-09-28Add version-sync script to update all places with versions.iphydf
This will update tox.in.h only. Currently, you will still need to manually update tox.h. An upcoming PR (#154) will update tox.h as part of the build.
2016-09-28Merge branch 'ghost-avswitch'irungentoo
2016-09-28Added astyled toxav.h to match toxav.in.hderive
2016-09-28Updated to match current toxav.hnobody
2016-09-28v0.0.0 => v0.0.1Gregory Mullen (grayhatter)
2016-09-28Merge branch 'distcheck' of https://github.com/felix-salfelder/toxcoreirungentoo
2016-09-27Remove redundant callback objects.iphydf
These three objects and their callback IDs are always the same.
2016-09-26C++ the second round.iphydf
Group chats were changed and now need to be updated. This change got lost in the merge.
2016-09-25Work around bug in opencv3 headers.iphydf
OpenCV 3.1 doesn't define cvRound in C, only in C++. Thus, we now need to compile av_test as C++ code.
2016-09-24Move ring buffer out of toxcore/util into toxav.iphydf
Toxcore itself doesn't use this data structure. Only toxav does, so now toxav owns the code for it.
2016-09-24Make toxcore code C++ compatible.iphydf
It is still C code, so still compatible with C compilers as well. This change lets us see more clearly where implicit conversions occur by making them explicit.
2016-09-24Minor cleanups: unused vars, unreachable code, static globals.iphydf
- All global variables should be static unless they have an explicit extern declaration in a header file. - `to_compare` was not used in encryptsave and toxav tests. - `break` in switch cases is not required directly after `return`, `goto`, or a noreturn function like `abort`.
2016-09-23Replace `void*` with `RingBuffer*` to avoid conversions.iphydf
`vbuf_raw` is always a `RingBuffer*` so there is no need to pretend it could ever be anything else (as indicated by it being a pointer to void).
2016-09-22Make TCP_Connections module-private.iphydf
2016-09-22Allow the OSX build to fail on travis.iphydf
Given that it fails about 80-90% of the time, it's not worth requiring it to pass. Instead, we'll need to manually look at the osx build to see in what way it failed. Also, set `fast_finish` to true, since OSX regularly has multi-hour (up to half a day) outages that can't block us for trivial code changes or non-code changes.
2016-09-22Make TCP_Server opaque.iphydf
We should aim to make as many structures module-private as possible.
2016-09-21Merge branch 'arza-zara-umask'irungentoo
2016-09-21Fix strict-ld grep expressions to include digits.iphydf
`tox_options_[gs]et_ipv6_enabled` were missing from the version script because the grep expression only accepted `[a-z_]`. Now it also accepts digits in the function names.
2016-09-21Make group callbacks statelessJfreegman
2016-09-20Add OSX and Windows build to travis config.iphydf
Tests for Windows are disabled for now, until we figure out which tests can successfully run on wine and select only those.
2016-09-19Revert "Make ToxAV stateless"iphydf
This reverts commit 21f8db12c45bd56293262cd4abfb73cd9abec821. It is currently broken. Incoming call callbacks are not invoked, and instead the client goes offline immediately.
2016-09-19Add STRICT_ABI cmake flag to generate export lists.iphydf
Enabling this flag will generate and use an LD version script. It ensures that the dynamic libraries (libtoxcore.so, libtoxav.so) only export the symbols that are defined in their public API (tox.h and toxav.h, respectively).
2016-09-19Changed the umask to 077 so that the keys file is not readable/writable by ↵arza
other users.
2016-09-19Included sys/stat.h.arza
2016-09-18Added UB comment r/t deleting a friend w/ active callGregory Mullen (grayhatter)
2016-09-18Make internal chat list function take uint32_t* as well.iphydf
The public one already does this, and the internal one actually assigns `uint32_t`s.
2016-09-18Only build toxav if opus and vpx are found.iphydf
2016-09-17Complete old groupchat conversion to new APIJfreegman
2016-09-17ApiDSL'ing old group chats (now: conference).iphydf
2016-09-17Make ToxAV statelessGregory Mullen (grayhatter)
2016-09-17Fix for windows dynamic libraries.iphydf
2016-09-17Use C99 %zu format conversion in printf for size_t.iphydf
size_t is unsigned long long on LLP64 and %lu prints unsigned long (32 bit), potentially causing problems.
2016-09-16const-correctness in windows code.iphydf
2016-09-16Ensure that all TODOs have an owner.iphydf
In the future, all TODOs added either need a bug number (TODO(#NN)) or a person's github user name. By default, I made irungentoo the owner of all toxcore TODOs, mannol the owner of toxav TODOs, and myself the owner of API TODOs.
2016-09-16Clean up Travis build a bit in preparation for osx/win.iphydf
2016-09-16Remove format-source from travis script.iphydf
This test is already performed by `make test` later on. We originally had it in the Travis script to make it fail fast when the format is wrong, but there is also some value in running all tests despite format errors. Fixes #83. There are no more relevant phases that would benefit from the padding lines proposed.
2016-09-14Add option to build static libraries.iphydf
2016-09-13Use <stdbool.h> and replace _Bool with bool.iphydf
This header is a requirement for the public API, therefore is assumed to exist. It is a C99 standard library header, and _Bool is not intended to be used directly, except in legacy code that defines bool (and true/false) itself. We don't use or depend on such code. None of our client code uses or depends on such code. There is no reason to not use bool.
2016-09-13Add some astyle options to make it do more.iphydf
It now enforces a bit more formatting. In particular, padding inside parentheses is removed. I would like it to remove padding after unary operators, but there seems to be no option for that.
2016-09-13Group #include directives in 3-4 groups.iphydf
1. Current module (if C file). 2. Headers from current library. 3. Headers from other library (e.g. toxcore includes in toxav). 4. System headers.
2016-09-12Merge remote-tracking branch 'chuongv/chuongv/tox_test_fix'iphydf
2016-09-12Remove `else` directly after `return`.iphydf
See #78.
2016-09-11Use "phase" script for travis build phases.iphydf
This is the first step towards unifying travis configs for toxcore, hstox, and qtox.
2016-09-11Use TokTok's apidsl instead of the iphydf one.iphydf