iphydf
2c8fb05f6e
Remove deprecated ToxDNS
...
Based on #331 .
Fixes #42 .
2017-12-29 00:32:18 +00:00
iphydf
bbdd798256
Fix unresolved reference in toxencryptsave API.
...
Also, make sure this won't happen again by checking for it in
format-source.
2016-12-14 11:35:43 +00:00
iphydf
4cf69996cc
Add apidsl file for toxencryptsave.
...
This breaks the toxencryptsave API. It hides the Tox_Pass_Key struct
definition.
2016-12-13 14:24:40 +00:00
iphydf
8bbde23f48
Use apidsl for the crypto_core API.
...
This allows us to use apidsl features like namespaces to enforce a
naming standard.
2016-11-12 11:55:40 +00:00
iphydf
de966cdf90
Error if format_test can't be executed.
...
This ensures that on Travis, format_test will always be executed, or the
build fails.
2016-10-26 13:34:29 +01:00
iphydf
b8b9789a69
Rebuild apidsl'd headers in cmake.
...
- Moved apidsl headers next to their generated versions. In the future,
perhaps all (or most) headers will be apidsl-generated, so the sources
should stay together.
- Try to find apidsl/apigen binary and astyle binary and use it for the
format test. Don't run the format test if these can't be found.
2016-10-02 23:54:03 +01:00
iphydf
d369448ace
Work around bug in opencv3 headers.
...
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-25 01:58:51 +01:00
iphydf
a8823830d3
Add some astyle options to make it do more.
...
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-13 01:07:02 +01:00
iphydf
159dc3b6ab
Print a message about missing astyle in format-source.
2016-09-07 23:11:13 +01:00
iphydf
7075c3648a
Add cmake test for apidsl.
2016-08-24 09:41:40 +01:00
Gregory Mullen (grayhatter)
3f0c101771
Make Friend User Status stateless
2016-08-22 02:10:18 -07:00
iphydf
c597f67012
Add format-source script.
...
This is easier to use from a precommit hook, so it can be used to ensure that
all formatting is correct before committing code.
2016-08-20 00:39:18 +01:00
Zetok Zalbavar
68dc14f80c
Add real instruction on how to use APIDSL and astyle
...
also add to "tox{,.in}.h" note that "tox.h" shouldn't be edited directly,
pointing to "tox.in.h"
2015-06-20 01:22:46 +01:00
irungentoo
422e74424a
Switched tox.h to the dsl generated one.
...
Added input file to generate it.
Moved the astyle stuff to the astyle directory in other/.
2015-04-25 20:39:13 -04:00