Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-09-06 | Improve C standard compliance. | iphydf | |
- Don't cast between object and function pointers. - Use standard compliant `__VA_ARGS__` in macros. - Add explicit `__extension__` on unnamed union in struct (it's a GNU extension). - Remove ; after function definitions. - Replace `const T foo = 3;` for integral types `T` with `enum { foo = 3 };`. Folding integral constants like that as compile time constants is a GNU extension. Arrays allocated with `foo` as dimension are VLAs on strictly compliant C99 compilers. - Replace empty initialiser list `{}` with zero-initialiser-list `{0}`. The former is a GNU extension meaning the latter. - Cast `T*` (where `T != void`) to `void *` in format arguments. While any object pointer can be implicitly converted to and from `void *`, this conversion does not happen in variadic function calls. - Replace arithmetic on `void *` with arithmetic on `char *`. The former is non-compliant. - Replace non-`int`-derived types (like `uint16_t`, which is `short`-derived) in bit fields with `int`-derived types. Using any type other than `int` or `unsigned int` (or any of their aliases) in bit fields is a GNU extension. | |||
2016-08-27 | Move logging to a callback. | iphydf | |
This removes the global logger (which by the way was deleted when the first tox was killed, so other toxes would then stop logging). Various bits of the code now carry a logger or pass it around. It's a bit less transparent now, but now there is no need to have a global logger, and clients can decide what to log and where. | |||
2015-10-10 | New Adaptive BR algorithm, cleanups and fixes | Eniz Vukovic | |
2015-01-17 | fix_logger-v.0.2 | mannol | |
2015-01-10 | Merge branch 'mannol-master' | irungentoo | |
2015-01-10 | Logger fix | mannol | |
2014-11-24 | Merge branch 'master' of https://github.com/mannol/toxcore | irungentoo | |
2014-11-18 | av refactor | mannol | |
2014-08-04 | Fix some toxav warnings | mannol | |
2014-07-21 | This should fix test failing | mannol | |
2014-05-25 | Merge branch 'mannol1-Multicalls' into multi-av | irungentoo | |
2014-05-24 | Tests works and some fixes | mannol | |
2014-05-16 | This works. | mannol | |
2014-05-10 | This should work | mannol | |
2014-04-27 | Yeah many calls | mannol | |