summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-19Remove unused get/set salt/key functions from toxencryptsave.iphydf
2016-12-17docs(TES): correct docs to reflect how many bytes fns actually requireZetok Zalbavar
2016-12-17Release v0.1.1iphydf
2016-12-16Add test for obtaining savedata, writing it to a file, reading it again and ↵pranomostro
checking if it was read correctly.
2016-12-16Strengthen the note about ABI compatibility in tox.h.iphydf
We really want to get all clients off this struct. We won't actually remove it until 0.2, but we're going to break ABI compatibility with this in various 0.1.x releases.
2016-12-15Drop an unworking MacroGregory Mullen (grayhatter)
Closes #327
2016-12-14Add option to disable local peer discoveryMaxim Biro
2016-12-14Fix unresolved reference in toxencryptsave API.iphydf
Also, make sure this won't happen again by checking for it in format-source.
2016-12-14Fixed attempt to join detached threadspchk
2016-12-14Release 0.1.0.iphydf
Fixes #216.
2016-12-14Fix Libs line in toxcore.pc pkg-config file.iphydf
CMake lists are `;` separated and CMAKE_THREAD_LIBS_INIT contains "-lpthread". This resulted in "-l-lpthread;-lrt" on Linux.
2016-12-13Add compatibility pkg-config modules: libtoxcore, libtoxav.iphydf
These were generated by the autotools build. Some clients may depend on these files instead of the newer split pkg-config files. New clients should be using the toxcore, toxav, toxencryptsave, and toxdns modules.
2016-12-13Add apidsl file for toxencryptsave.iphydf
This breaks the toxencryptsave API. It hides the Tox_Pass_Key struct definition.
2016-12-13Fix version compatibility test.sudden6
Also added some test cases for it.
2016-12-13Fix `--enable-logging` flag in autotools configure script.iphydf
We also never really tested this, because we run make distcheck, which does another configure with default flags instead of the ones we passed. Fixes #317.
2016-12-13Fix padding in SAVED_FRIEND struct and add test.Robin Lindén
Test covers saving and loading of a Tox instance with a friend added.
2016-12-12Conditionally enable non-portable assert on LP64.iphydf
This only works on LP64. It may fail on Windows, which can be LLP64 (IL32P64).
2016-12-12Merge remote-tracking branch 'upstream/master'GDR!
2016-12-12Move -ltoxcore to be the first linked libraryGDR!
2016-12-10Fix off by one error in saving our own status message.iphydf
2016-12-10net_crypto give handle_data_packet_helper a better nameGregory Mullen (grayhatter)
2016-12-09Improve toxencryptsave documentationMaxim Biro
2016-12-05Don't build nTox by default.iphydf
Build it on Travis. It won't be built on the windows builds regardless of having it enabled globally. Fixes #292.
2016-12-03rename messenger function, prepend m_Gregory Mullen (grayhatter)
2016-11-28Don't error on warnings by defaultMaxim Biro
Having -Werror set by default causes users' builds to fail because toxcore is not warning-free. Failing on errors is appropriate for the development phase, e.g. when building it in a CI enviroment, but it doesn't make much sense to fail builds for users and let them figure out that they need to pass -DWARNINGS=OFF to make the library build.
2016-11-24Version Patch v0.0.4 => v0.0.5Gregory Mullen (grayhatter)
2016-11-24add NAT hole punching level to Tox APIGregory Mullen (grayhatter)
2016-11-23Add knob to suppress building the nTox clientIsmael Luceno
2016-11-23Add knob to suppress building the toxav testIsmael Luceno
2016-11-21Support float32 and float64 in msgpack type printer.iphydf
2016-11-20Fix a memory leak in GroupAVMaxim Biro
2016-11-20Fix NULL pointer dereference in log callsMaxim Biro
2016-11-20Fix a memory leak in hstox interfaceMaxim Biro
2016-11-21Made saveformat platform-independent.Robin Lindén
Fixes #215.
2016-11-21Mark Tox_Options struct as deprecated.iphydf
We will remove it in v0.1.
2016-11-20Add NONE enumerator to bit mask.iphydf
2016-11-15Convert to and from network byte order in set/get nospam.iphydf
Fixes #205.
2016-11-14new_messenger(options ... ) must never be nullGregory Mullen (grayhatter)
2016-11-14v0.0.4iphydf
2016-11-12Support arbitrary video resolutions in av_testMikhael-Danilov
2016-11-12Use apidsl for the crypto_core API.iphydf
This allows us to use apidsl features like namespaces to enforce a naming standard.
2016-11-11Disable -Wunused-but-set-variable compiler warning flag.iphydf
This warning is triggered in `av_test.c`, where we have an open issue. Silencing the warning locally would make the issue less visible. This way, we will see the warning when we start removing the `-Wno-*` flags.
2016-11-11Add DHT_create_packetendoffile78
2016-11-11Add decode/encode PlainText test support.iphydf
These are implemented in terms of decode/encode CipherText. They do the exact same thing, since they are both simple length-prefixed byte arrays.
2016-11-10Work around Travis issue that causes build failures.iphydf
Travis seems to no longer set $TERM, which breaks opam. We now manually set it to some hopefully sane value.
2016-11-09Remove new_nonce function in favour of random_nonce.iphydf
`new_nonce` has been an alias for `random_nonce` for a while now. Having two names for the same operation is confusing. `random_nonce` better expresses the intent. The documentation for `new_nonce` talks about guaranteeing that the nonce is different from previous ones, which is incorrect, it's just quite likely to be different.
2016-11-08Add spectest to the cmake test suite.iphydf
This allows for easier development. It is not used on travis (yet).
2016-11-08Disable some gcc-specific warnings.iphydf
Also, disable -pedantic on C++, because it's not really useful there, and causes a lot of warnings on `enum FOO { BAR, };` (comma at end of enumerator list).
2016-11-07Release v0.0.3.iphydf
2016-11-06Move log callback to options.iphydf
Previously, all log messages generated by tox_new (which is quite a lot) were dropped, because client code had no chance to register a logging callback, yet. This change allows setting the log callback from the beginning and removes the ability to unset it. Since the log callback is forever special, since it can't be stateless, we don't necessarily need to treat it uniformly (with `event`).