Commit Graph

1617 Commits

Author SHA1 Message Date
Bahkuh
f581e20233 This squash should work now. 2013-10-22 20:24:48 +02:00
irungentoo
e9d92606d9 Merge pull request #628 from hugwijst/patch-1
Update INSTALL.md
2013-10-21 05:23:03 -07:00
Hugo van der Wijst
af2d55db22 Update INSTALL.md
Link against self build FFmpeg.
2013-10-21 11:55:43 +02:00
Hugo van der Wijst
c03a36359a Update INSTALL.md
Add libvpx.
2013-10-21 00:16:54 +02:00
irungentoo
be06888517 Fixed possible bug. 2013-10-20 16:00:30 -04:00
Hugo van der Wijst
57f3a01211 Update INSTALL.md
Add new build dependencies for A/V on Debian derivatives.
2013-10-20 21:19:46 +02:00
irungentoo
9303c18b0c Merge branch 'Cleanup-defines' of https://github.com/FullName/ProjectTox-Core into FullName-Cleanup-defines 2013-10-20 15:12:46 -04:00
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
irungentoo
1ad9e6d8ac Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-10-19 22:30:23 -04:00
irungentoo
147d820ad2 Fixed connection sometimes being too slow and some other possible problems. 2013-10-19 22:29:48 -04:00
irungentoo
8e150f7195 Merge pull request #626 from Garydos/master
Fixed Windows compile errors
2013-10-19 15:11:13 -07:00
Antonio Montes
de696c1db6 Removed unnecessary #if 2013-10-19 11:34:41 -07:00
Antonio Montes
3df81b07f3 fixed build errors on windows 2013-10-19 11:14:03 -07:00
irungentoo
368231b4f8 Removed bad function from public API (This breaks toxic.) 2013-10-18 22:42:12 -04:00
irungentoo
92f185c6b3 Merge pull request #623 from Bahkuh/master
Minor corrections & additions
2013-10-18 09:25:33 -07:00
Bahkuh
8352c7b721 Added more OS generated files to .gitignore 2013-10-18 10:47:02 +02:00
Bahkuh
ff11e7398b Fixed minor typo. 2013-10-17 14:25:44 +02:00
irungentoo
bdbf4a3673 Fixed building on windows. 2013-10-17 08:09:06 -04:00
irungentoo
6391208ab3 Added some things to the TODO list. 2013-10-16 16:18:14 -04:00
irungentoo
31b371e617 Merge pull request #622 from jin-eld/no-tox-sync-on-windows
Do not build tox_sync on win32
2013-10-16 09:10:57 -07:00
Jin^eLD
07d334bbe3 Do not build tox_sync on win32 2013-10-16 18:03:33 +02:00
irungentoo
d01b4a8e00 Merge pull request #621 from kigu/patch-3
Update TODO
2013-10-15 15:06:27 -07:00
irungentoo
6952daa042 Updated public api. 2013-10-15 17:34:22 -04:00
irungentoo
0aa6ba8e28 Added resume support if the connection breaks during file sending. 2013-10-15 17:23:00 -04:00
Alexander Huffman
017860f812 Update TODO 2013-10-15 08:12:37 -03:00
irungentoo
8abad7bc82 Merge pull request #619 from rayslava/master
Toxmsi build fix
2013-10-14 06:39:38 -07:00
rayslava
f9391e5252 Toxmsi build fix
Build failed on toxmsi building with
../toxmsi/AV_codec.c:46:28: fatal error: toxrtp_message.h: No such file or directory
 #include "toxrtp_message.h"
2013-10-14 11:01:54 +04:00
irungentoo
a81b708eb5 A/V integration in progress.
Added functions to send/receive msi packets via secure messenger
connections.

Made function to get the ip/port of a friend in Messenger.c public
2013-10-13 22:07:30 -04:00
irungentoo
dc1c019a2d Small fix. 2013-10-13 10:43:53 -04:00
mannol
5bc2560904 tox A/V: integration of A/V code into tox
Also-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2013-10-13 16:40:15 +02:00
mannol
da727875ac tox A/V: RTP/MSI implementation 2013-10-13 16:16:47 +02:00
Martijn
1b971de651 tox A/V: encode/decode and display/playback 2013-10-13 16:14:27 +02:00
irungentoo
f2497b6589 Improved hole punching. 2013-10-12 18:51:59 -04:00
irungentoo
31f5d7a8ab Merge pull request #618 from nurupo/action-messages-with-id
Added message ids to action messages
2013-10-11 06:42:07 -07:00
Maxim Biro
571412f911 Added message ids to action messages 2013-10-10 22:27:51 -04:00
irungentoo
77ec510858 Hardening the Tox network, document writing in progress. 2013-10-10 20:47:06 -04:00
irungentoo
5344413e0b Merge pull request #617 from fr0stycl34r/patch-1
Update DHT_bootstrap.c
2013-10-10 14:46:23 -07:00
fr0sty
b0d2328968 Update DHT_bootstrap.c
Removed deprecated compilation instructions
2013-10-10 16:29:40 -04:00
irungentoo
f5179afe4c Merge pull request #616 from naxuroqa/master
fix for missing EAGAIN definition on windows
2013-10-09 05:43:07 -07:00
naxuroqa
a60ffa9591 fix for missing EAGAIN definition on windows 2013-10-09 10:49:27 +02:00
irungentoo
4aa507b664 Added function to get the piece size for sending files. 2013-10-08 18:55:35 -04:00
irungentoo
3658c372a4 Merge pull request #609 from FullName/wait
Add tox_wait() for socket, allow tox.h include in tox.c
2013-10-07 14:13:07 -07:00
irungentoo
9d6c52cec8 Merge pull request #613 from BtbN/compile_pure
Some configuration/build fixes
2013-10-06 17:19:34 -07:00
BtbN
8d40ddf417 Some configuration/build fixes, so building basicaly everything else than the library can be disabled 2013-10-07 02:01:16 +02:00
irungentoo
94691bfe0e Code cleanups. 2013-10-06 17:44:31 -04:00
irungentoo
6ef2b5ead6 Code cleanups. 2013-10-06 17:40:23 -04:00
Coren[m]
24e4a70105 Oops. Didn't pass along the results from inside to outside... 2013-10-06 17:22:40 +02:00
Coren[m]
40e020b958 Merge remote-tracking branch 'upstream/master' into wait: replace void *tox with Tox *tox in tox.c (which now includes the declarations from tox.h) 2013-10-06 16:53:13 +02:00
Coren[m]
355c55f745 sendqueue_length no longer determines if we check for socket-can-write, but sendpacket() sets a timestamp if it happened
network.*:
- sendpacket(): checks result and on EAGAIN, stores time of this event
- networking_wait_prepare(): uses the time if set to check up to 500ms later for the socket to be writeable again
- networking_wait_cleanup(): clears the time if the socket was writeable
- fixed some accidental tabs

Messenger.*, tox.*:
- pass-through functions to reach networking_wait_cleanup()
- fixed some accidental tabs
2013-10-06 16:37:02 +02:00
irungentoo
97f192969c Fixed warnings. 2013-10-05 11:24:30 -04:00