Commit Graph

25 Commits

Author SHA1 Message Date
Coren[m] a0f08839bd Main: Eliminate TOX_ENABLE_IPV6 (then always on), CLIENT_ONETOONE_IP (then always off).
Additionally (besides cleanups):

network.h/tox.h:
- WIN32: fix a strange sa_family_t definition
- WIN32: define EWOULDBLOCK to WSAEWOULDBLOCK
- WIN32: kill macro for an existing function (IN6_ADDR_EQUAL)

network.c:
- use EWOULDBLOCK instead of EAGAIN (same value, but EWOULDBLOCK is more "popular")
- new_networking(): only try to enable IPv4-in-IPv6 if it's not already enabled per default
- inet_ntop()/inet_pton(): WIN32: remove partial initializers in favor of a simple memset()
- ip_equal(): WIN32: use an existing function
- logging: networking_wait_execute(): only dump result if not timeout
- logging: loglogdata(): kill an unused variable

LAN_discovery.c:
- send_broadcasts(): re-enabled, can only support IPv4 by principle, split into fetch_broadcast_info() (to fetch the addresses once) and send_broadcasts() (actual sending)

DHT.c:
- DHT_load_state_callback(): enclosed a fprintf(stderr, ...) into #ifdef DEBUG

Lossless_UDP.c:
- change_handshake(): harden against strange sa_family_t definitions

Messenger.c:
- logging: fix ID to string conversion

util.c:
- logging: eliminate a signed-warning
2013-10-20 16:56:12 +02:00
Coren[m] 0139f2838f Merge remote-tracking branch 'upstream/master' into Integration 2013-09-11 00:16:15 +02:00
irungentoo 55499933be Fixed building with NaCl. 2013-09-10 17:15:26 -04:00
Coren[m] 8ba6a5ff5b Merge remote-tracking branch 'upstream/master' into Integration 2013-09-10 23:02:21 +02:00
irungentoo 23d8d26d50 Commented out useless function. 2013-09-10 16:22:47 -04:00
Coren[m] bcb283cf45 big push, putting all the infrastructure in place behind TOX_ENABLE_IPV6 2013-09-10 16:36:20 +02:00
Coren[m] 291fa8d5c5 fix autobuild (not built locally) 2013-09-09 16:11:33 +02:00
Kostya 25563ac070 Fixed build errors. 2013-08-30 03:28:50 -04:00
pete 82b8927af7 Correct a lot of the grammar and spelling. Also spent a few hours fixing the comments so they follow a standard. 2013-08-29 22:17:51 +01:00
jin-eld e658892793 Rename core directory because of autoconf name clash
While doing the checks configure might generate "core" files and will
then try to remove them. Having a "core" directory generates an error
while runing the configure script.

There's no workaround but to rename the core directory.
2013-08-24 03:25:07 +03:00
irungentoo 9d3a8d94f2 New API done and tested.
Some stuff needs to be cleaned a bit though.
2013-08-23 10:26:52 -04:00
irungentoo 7719a9ed58 init_cryptopacket is now called by new_DHT. 2013-08-22 13:19:38 -04:00
irungentoo 128223d9d1 astyle --options=tools/astylerc -r ./*.{c,h} 2013-08-20 19:37:05 -04:00
irungentoo 86b11394b1 Fixed DHT_serverdaemon. 2013-08-20 17:25:17 -04:00
irungentoo 88ff81d9de Passed everything through astyle. 2013-08-16 13:11:09 -04:00
slvr 448d0124cd networking_poll: DHT_bootstrap_daemon 2013-08-10 00:49:20 +01:00
plutooo 3d916b35f2 core: getaddrinfo() lookup error handling 2013-08-01 11:54:06 -07:00
Joseph Quadrino 9f6be0ce4b stat file before attempting to open 2013-07-31 03:07:51 -04:00
SilentSand f377eb9ca2 Licensing
Added the GPLv3 license to some files in addition to fixing some
comments at the beginning of the files.
2013-07-25 21:45:56 -04:00
Tom Bartelt 6f6db8abc0 removed useless header 2013-07-23 06:43:41 -04:00
Tom Bartelt ea49be0e95 Fixed a tiny bug 2013-07-23 06:38:35 -04:00
Tom Bartelt 9f6f3117bb Update daemon to use config files 2013-07-23 06:28:47 -04:00
irungentoo 4504011117 Fixed build. 2013-07-22 15:49:15 -04:00
irungentoo 8e43282fa9 Bootstrap servers now route friend requests. 2013-07-22 15:36:13 -04:00
irungentoo 60957885fd Added a daemon version of DHT_bootstrap made by tawm_. 2013-07-18 18:46:14 -04:00