summaryrefslogtreecommitdiff
path: root/toxcore/Makefile.inc
AgeCommit message (Collapse)Author
2020-05-04Fix typo: `NAC_LIBS` -> `NACL_LIBS`.iphydf
This is working, so probably `NACL_LIBS` is entirely useless, but I can't be bothered to figure out what this was supposed to be, so here we are.
2020-04-16Add new semi-private API functions to set per-packet-id custom handlers.zoff99
This is to prepare for ToxAV becoming independent of toxcore internal calls.
2018-07-09Factor out time keeping code into its own module: mono_time.c.iphydf
It turns out, `unix_time` is also monotonic, and is used as such, so I've renamed the new functions to `mono_time_*`. 2018-07-08: ``` 00:01 <@irungentoo> the idea used to be that the unix_time() function could go backward in time but I think I might have started using it like if it could not after I changed it so that it would never go back in time ```
2018-07-09Move `load_state` and its helper functions to their own module.iphydf
2017-04-22Revert "Implement tox_loop"Maxim Biro
This reverts commit 5ff099763b1f56414572e1c12eb2f003117db5a0.
2017-04-01Implement tox_loopAnsa89
2017-01-28Add VLA compatibility macro for C89-ish compilers.iphydf
2017-01-18Setup autotools to read .so version info from a separate fileSergey 'Jin' Bostandzhyan
We want to use the same libtool style .so versions in both build systems, ideally both systems should read the version information from the same configuration file. This commit introduces an so.version configuration file and sets up the autotools to use it. The version numbers in so.version define the ABI compatibility and should be updated prior to each release. implements #323
2017-01-07Remove \ at end of list in makefile.iphydf
2017-01-07Replace make_quick_sort with qsortendoffile78
2017-01-04Add secure memcmp and memzero implementation.Diadlo
Implementation mostly taken from libsodium utils. Fix #347
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-11-06Remove assocendoffile78
2016-09-17Complete old groupchat conversion to new APIJfreegman
2016-09-17ApiDSL'ing old group chats (now: conference).iphydf
2016-08-30Add missing #includes to headers and rename tox_old to tox_group.iphydf
Also, no longer #include the group code into tox.c. Instead, compile it separately in tox_group.c. This is a bit less surprising to someone looking around the code. Having some implementations in a .h file is certainly a bit surprising to a disciplined C programmer, especially when there is no technical reason to do it.
2016-02-26Add missing files so that archive for make dist is completeRoman Yepishev
2015-04-07TCP_connection started.irungentoo
The plan is to move some of the TCP stuff from net_crypto into it.
2015-03-14Install tox_old.h too.irungentoo
2014-09-27Moved all the connection stuff from messenger to friend_connection.irungentoo
Messenger was doing way do many things. friend_connection takes care of finding and establishing a connection to friends.
2014-09-25Removed groupchats from core.irungentoo
2014-09-25Some code written for new group chats.irungentoo
2014-06-12pthread is now a core dependency instead of just a toxav dependency.irungentoo
Fixed possible thread bug with sending A/V packets. TODO: eventually make toxcore thread safe.
2014-05-31Fixed the undefined reference to pow errorMaxim Biro
2014-05-22Merge remote-tracking branch 'upstream/master' into Multicalls-patchmannol
2014-05-20Merge upstream and other stuffmannol
2014-05-19listnotsecure
Simple struct with functions to create a list which associates ids with data
2014-05-12Added ping_array, a special efficient array for use in operationsirungentoo
that require sending ping type packets. Made ping packets use it.
2014-05-10Fixed build by adding librt to build system.irungentoo
2014-05-02Remove Lossless UDP (This breaks Tox.)irungentoo
2014-04-27Yeah many callsmannol
2014-04-21Crypto related cleanups.irungentoo
Moved Bunch of functions from net_crypto to crypto_core. decrypt_data_fast and decrypt_data_symmetric were the same thing therefore, removed decrypt_data_fast. Replaced all the crypto_secretbox_* defines with the equivalent crypto_box_* one. New define: crypto_box_KEYBYTES that is equal to crypto_box_BEFORENMBYTES.
2014-04-10Added TCP test to build system.irungentoo
2014-03-23Fix NaCl builds for *BSDJin^eLD
From what I see there is a difference between *BSD and Linux when linking vs. toxcore which has been bulit vs. the NaCl library: on Linux it only links if NaCl's object files (i.e. randombytes.o) is present in the linker options, however on *BSD systems this will cause a linking error, see: https://github.com/Tox/toxic/issues/31#issuecomment-38224441 This commit makes sure that we do not add the NaCl object files to our pkg-config settings on *BSD, but do add them on Linux.
2014-02-17Changed libtoxcore_la_LDADD to libtoxcore_la_LIBADD cause of creating a library.exonity
2014-01-16Wrote random_path function.irungentoo
Added onion_client to the build system.
2014-01-04Some work on the onion part done.irungentoo
2013-12-31Added onion.c to build system and added a test.irungentoo
2013-11-14Significantly trimmed down version of an ID<=>IP cache.Coren[m]
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
2013-10-13tox A/V: integration of A/V code into toxmannol
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-09-09Start of group chats integration into the core.irungentoo
2013-09-06Allow to build vs nacl instead of libsodiumJin^eLD
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-01Forward compatibility with automake 1.14jin-eld
This update makes sure that the build still works with automake prior to 1.12 and at the same time does not give any warnings or errors with automake 1.14
2013-08-30Fixed warnings and moved hex_string_to_bin to testing/irungentoo
2013-08-30Merge branch 'udp_connections' of https://github.com/vx-k/ProjectTox-Core ↵irungentoo
into vx-k-udp_connections
2013-08-30Sync makefile with source listjin-eld
packets.h is now gone
2013-08-29Moved misc_tools from testing to toxcore.Anony Moose
2013-08-26Move extra libtool options into configurejin-eld
This should allow to keep the libtool options all in one place and at the same time define different options depending on the host. Made sure that -no-undefined is set only on Win32. Although no side effects on Linux and OSX have been observed so far, it's probably better to play it safe; it does not seem to be needed/does not seem to matter on *nix, only required for Win32.
2013-08-26Also generate a .dll in MinGW buildsjin-eld
Previously only static a static library was produced on MinGW builds, this PR makes sure that we also build a proper .dll
2013-08-24Remove cmake build systemjin-eld