1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 08:46:44 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
d75d6e8b60 sort includes 2020-11-14 00:00:05 +00:00
68e1ba312d Use compound literals to zero out structs instead of memset
This is cleaner and much less prone to bugs
2020-11-10 21:25:27 -05:00
4d96d6a753 Fix regression related to https lookups
Reducing the buffer size of HTTPS responses broke DHT nodelist fetching. This change
puts the old buffer size back and converts all stack allocations of the read buffer
to heap allocations.
2020-10-27 12:34:12 -04:00
4c302da503 Fix a bunch of Wformat-truncation warnings due to snprintf() misuse 2020-10-24 14:44:41 -04:00
6f72a191ba Revert "Add feature flags and missing #includes."
This reverts commit dd5fa236ae.

Also, set `-std=gnu99` in Bazel build.
2020-04-17 19:37:22 +00:00
dd5fa236ae Add feature flags and missing #includes.
These are needed to compile on some strict Linuxes.
2020-04-15 21:34:30 +00:00
98cb7f58c0 Fix unused parameter and unused result warnings 2020-03-15 14:57:00 -04:00
437dd8baeb Some misc fixes 2020-02-29 14:14:56 -05:00
d62902ffb3 Use (void) in prototypes instead of ().
Also, removed `__inline` from an extern function (why was it there?).
Also, moved one extern declaration to a header file. There are lots of
these that need to be moved, but one thing at a time.
2018-09-13 23:47:47 +00:00
a37bf300f9 Update astylerc to match toxcore & reformat all source files 2018-07-18 11:33:16 -04:00
b905a1a3c5 One more bit of standard... 2017-11-15 05:56:13 +02:00
f056f13329 Astyle everything and add an astyle options script to repo 2016-09-24 21:07:04 -04:00
38ec96e96a Thread nodeslist loading
This is necessary because DNS/http lookups block, and can do so for a very long time
2016-09-22 14:09:07 -04:00
151f5f0c51 Add setting to control DHT nodeslist update frequency
Also rename a few things and semi-fix man page format issues
2016-09-20 13:13:12 -04:00
a009f11c0c Automatically update DHT nodeslist
List is now automatically fetched from nodes.tox.chat and placed in the
user config directory. The list is updated once every 30 days, and
will attempt to detect problems and re-fetch the list if necessary.

Also fixed a couple file descriptor leaks and cleaned some things up.
2016-09-20 00:00:09 -04:00
b24c5d8cf8 Fix AV bug
Pending call now properly hangs up when you use the /hangup command or close the chat window
2015-11-19 23:49:58 -05:00
fa0e645a79 Fix a bunch of misc bugs and corner cases 2015-11-08 03:57:01 -05:00
e02cf1bb7d Use proxy for DNS requests when type is SOCKS5 2015-11-02 02:01:17 -05:00
9751cfc407 Force name lookups through proxy set by client 2015-11-01 21:34:42 -05:00
36963a5b38 rm redundant error message 2015-10-30 00:10:38 -04:00
7cf9c37aef Handle case where system doesn't support any of the specified TLS cipher suites 2015-10-29 20:35:31 -04:00
2b4b8c0289 Add more descriptive curl errors 2015-10-29 20:16:35 -04:00
368a1465ec Use a specified TLS cipher list for https name lookups 2015-10-29 15:13:42 -04:00
8584feab80 Replace DNS-based username lookups with HTTPS & drop utox.org support 2015-10-28 17:14:17 -04:00