summaryrefslogtreecommitdiff
path: root/other
AgeCommit message (Collapse)Author
2020-04-04Migrate format-source script to new apidsl web app.iphydf
This one is unfortunately a little more complicated to use. I may add a simpler API later, but for now, it's JSON-based (because I couldn't get binary data to work without it getting mangled somewhere along the way - JSON is at least text-transport-safe).
2020-04-04Add minimal save generatorMaxim Biro
2020-03-14Use spdx license identifier instead of GPL blurb.iphydf
2020-03-12Use rules_cc instead of native cc_library rules.iphydf
2020-03-03Update tox-bootstrapd's dockerfile to use Debian BusterMaxim Biro
2020-03-03Fix tox-bootstrapd's READMEMaxim Biro
2019-11-17bump libsodium version in appveyor.yml and windows Dockerfilezugz (tox)
2019-01-03Use new WineHQ Debian package repository keyMaxim Biro
2019-01-03Allow unauthenticated wine packages in the Windows build.iphydf
2018-11-04Increase NOFILE limit for tox-bootstrapdMaxim Biro
tox-bootstrapd can use around 600 TCP sockets during TCP server's normal functioning. Many systems default to having a soft limit of 1024 open file descriptors, which we are close to reaching, so it was suggested we bump that limit to a higher number. iphy suggested increasing it to 32768.
2018-10-17Use cmake to build toxcore in tox-boostrapd's DockerfileMaxim Biro
2018-10-17tox-bootstrapd's Dockerfile shouldn't use master branchMaxim Biro
2018-10-16Don't warn about macro expansion in run-clangMaxim Biro
2018-10-16Make tox-bootstrapd free memory on SIGINT and SIGTERMMaxim Biro
Useful for using memory analyzing tools.
2018-10-16Use `bool` for IPv6 flag in test programs and `DHT_bootstrap`.iphydf
2018-10-08Remove Alpine Linux bootstrap daemon dockerfile.iphydf
We can add it back when there is a test for it. For now, we don't know whether it works and don't have tests to make sure it keeps working.
2018-10-08Add LAN_discovery to the list of apidsl-generated files.iphydf
So it gets regenerated when the .api.h file changes.
2018-10-07Make sure logger levels stay in sync across filesMaxim Biro
2018-09-19Fix typosyangfl
2018-09-14Standardise header guards.iphydf
Using the full path including the repo name.
2018-09-08Add tool to find directly recursive calls in toxcore.iphydf
We should avoid recursion, as it makes reasoning about stack growth harder. This tool shows (currently) 4 (non-tail) recursive functions, at least 2 of which are easy to fix.
2018-08-30Use our own logging facility to log toxcore's logsMaxim Biro
2018-08-30Feature bootstrap trace/debug log outputcotox
Don't know why codes with macro dosen't work. As it's only a few expensive, just code it without macro for now. \#if (MIN_LOGGER_LEVEL == LOG_TRACE) || (MIN_LOGGER_LEVEL == LOG_DEBUG) fprintf(stderr, "[%s] %s:%d(%s) %s\n", strlevel, file, line, func, message); \#endif
2018-08-26Format crypto_core.c.iphydf
Changes: * 100 columns maximum (not strict, can be a bit more sometimes). * No space after cast.
2018-08-26Update copyright to 2018.iphydf
2018-08-26Add some tests for `ping_array`.iphydf
No timeout test here yet, because we don't yet have the ability to manipulate time at will, so we would have to actually sleep.
2018-08-19Avoid redefining macros from different files.iphydf
2018-08-19Fix const cast in save-generator.iphydf
2018-08-19Add save file generator, save compatibility test, and generate a save fileendoffile78
2018-08-16Use per-instance `Mono_Time` for Messenger and onion.iphydf
2018-08-16Reduce the number of times `unix_time_update` is called.iphydf
Reduced by, e.g.: * `file_transfer_test`: 33% of the `clock_gettime` calls. * `tox_many_test`: 53% of the `clock_gettime` calls. Other tests will see similar improvements. Real world applications will be closer to 40-50% improvement, since tox_many_test has 100 nodes, while file_transfer_test has 2 nodes.
2018-08-12Fix a few warnings from clang.iphydf
Also remove the use of a VLA in a context where there can be unbounded memory allocations.
2018-08-04Make a separate `struct Tox` containing the Messenger.iphydf
This allows Tox to contain additional data on top of Messenger, making Messenger not necessarily the most top-level object. E.g. groups are built on Messenger and currently awkwardly void-pointered into it to pretend there is no cyclic dependency.
2018-07-22Run Clang global static analysis on Travis.iphydf
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
2018-07-21Avoid implementations in .h files or #including .c files.iphydf
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-07-15Simplify Travis-CI FreeBSD buildMaxim Biro
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
2018-07-05Make tox.c unambiguously parseable.iphydf
Rules: 1. Constants are uppercase names: THE_CONSTANT. 2. SUE[1] types start with an uppercase letter and have at least one lowercase letter in it: The_Type, THE_Type. 3. Function types end in "_cb": tox_friend_connection_cb. 4. Variable and function names are all lowercase: the_function. This makes it easier for humans reading the code to determine what an identifier means. I'm not convinced by the enum type name change, but I don't know a better rule. Currently, a lot of enum types are spelled like constants, which is confusing. [1] struct/union/enum
2018-07-01Simplify Travis CI builds.iphydf
Have one script per build. This means more duplication between the scripts, but it's much easier to understand and to run locally.
2018-06-25Only run astyle if the astyle binary exists.iphydf
2018-06-25Remove the format test.iphydf
It's annoying to have a test touch every source file. It causes a recompile of everything after every test run.
2018-06-25Make bootstrap daemon use toxcore's versionMaxim Biro
2018-05-22Fix bootstrap loggercotox
TODO: need a meanful log output
2018-05-20Add empty logger to DHT bootstrap daemons.iphydf
These should register a proper logging callback so the messages don't go devnull, but this at least ensures a logger is available.
2018-05-20Move system header includes from network.h to network.ciphydf
2018-05-10fix DHT_bootstrap key loadingAnthony Bilinski
Introduced by 643eea60bb9dcf4ecb33d64666b1bc77cbfd7438
2018-05-10Fix FreeBSD build on TravisMaxim Biro
2018-03-17Fix coveralls reporting.iphydf
The new clang version makes gcov segfault. Also, coveralls needs another package that it doesn't install the right version of by default.
2018-03-16Remove the use of the 'hh' format specifier.iphydf
It's not supported in mingw. See https://github.com/TokTok/c-toxcore/issues/786.