summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-05docs(INSTALL): Bring back autotools instructionsZetok Zalbavar
Reverted, since apparently cmake is not supposed to be used for things other than testing/development and causes client build failures. Apparently making it work for clients would require complicating maintenance, which clearly can't be done. This reverts commit 48ddb115995f2bb55a736ae4cc54c70f3d34eeb4.
2017-01-04Portability fixesDavid Zero
- CFLAG gnu99 was changed to c99. - CXXFLAG c++98 was changed to c++11. - CFLAG -pedantic-errors was added so that non-ISO C now throws errors. - _XOPEN_SOURCE feature test macro added and set to 600 to expose SUSv3 and c99 definitions in modules that required them. - Fixed tests (and bootstrap daemon logging) that were failing due to the altered build flags. - Avoid string suffix misinterpretation; explicit narrowing conversion. - Misc. additions to .gitignore to make sure build artifacts don't wind up in version control.
2017-01-04Only fetch 1 revision from git during Travis builds.iphydf
2017-01-04Add tests to secure memcmp and memzero functions.Diadlo
2017-01-04Add secure memcmp and memzero implementation.Diadlo
Implementation mostly taken from libsodium utils. Fix #347
2017-01-04Add CMakeLists.txt.user to gitignoreDiadlo
2017-01-03Add a separate configure switch for DHT_bootstrapSergey 'Jin' Bostandzhyan
closes #319
2017-01-03Add CircleCI SupportZoff
2017-01-02Fix SSL verification in coveralls.iphydf
2016-12-29Remove .cabal-sandbox option from tox-spectest find line.iphydf
This was just for finding it in toktok-stack, which now uses haskell-stack, and thus no longer has a .cabal-sandbox. We'll just assume that the Makefile properly sets up the path such that tox-spectest is available.
2016-12-28simplify integration as a third-party lib in cmake projectsNils Fenner
The CMAKE_SOURCE_DIR variable points to the top-level directory of a project while we want to point to the top-level directory of the lib. This change simplifies the integration as a third-party lib. We can use CMAKE_CURRENT_SOURCE_DIR or simply "nothing" ('.') to point to the directory where the CMakeLists.txt file resides.
2016-12-23Release v0.1.2iphydf
2016-12-23avoid dereferencing Tox_Optionsiphydf
2016-12-22Remove tox_options_copy.iphydf
2016-12-22Use `tox_options_set_*` instead of direct member access.iphydf
Also added a `tox_options_copy` function for cloning an options object. This can be useful when creating several Tox instances with slightly varying options.
2016-12-22Improve documentation of crypto_core.iphydf
2016-12-22Wrap all sodium/nacl functions in crypto_core.c.iphydf
2016-12-21Use after free reported in #278 occurs because toxav_kill()mannol
calls msi_kill() (toxav.c:180) which frees msi_call instances (msi.c:161) which are then used when call_remove() (toxav.c:1136) is called. This fix prevents call_remove() from calling invalid pointer. Fixes #278
2016-12-20Add test to check if tox_new/tox_kill leaks.iphydf
We create and destroy 20k tox instances and run a single tox_iterate on it. This test is not comprehensive, but provides a simple check to see whether the destruction properly cleans up memory and perhaps other resources.
2016-12-20Avoid array out of bounds read in friend saving.iphydf
Fixes #345.
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