Commit Graph

1656 Commits

Author SHA1 Message Date
Coren[m]
b060d87483
Unify most of handle_sendnodes[_ipv6]() into a common handle_sendnodes_core(), leave only a minimal trail. 2013-11-06 21:55:22 +01:00
irungentoo
71f7a49402 Auto delete inactive peers in the group chat. 2013-11-05 20:41:33 -05:00
irungentoo
78793140ef Send ping packets in group chats every 30 seconds. 2013-11-04 21:03:27 -05:00
irungentoo
2e6250ee44 The group chats we invite a friend to are now stored. 2013-11-03 17:39:49 -05:00
irungentoo
41e083c173 Fixed possible issue. 2013-11-02 23:14:56 -04:00
irungentoo
52d1c9a4d9 Merge pull request #637 from blackwolf12333/master
Make the av_api.md look a bit better
2013-11-01 14:13:40 -07:00
Peter Maatman
7fc3ed009a Update av_api.md
forgot one paragraph
2013-11-01 12:01:39 +01:00
Peter Maatman
52ee379677 Update av_api.md
some markup was fucked up :P
2013-11-01 12:00:42 +01:00
Peter Maatman
21c8c672c1 Update av_api.md
that looks better :)
2013-11-01 11:59:05 +01:00
Peter Maatman
760edd0c56 Update av_api.md
and some more
2013-11-01 11:55:22 +01:00
Peter Maatman
0234609ab1 Update av_api.md
add some more shiny stuff
2013-11-01 11:53:26 +01:00
Peter Maatman
9ff287569e Update av_api.md
add some code blocks in the markup
2013-11-01 11:52:31 +01:00
Peter Maatman
6c0cfd08e6 Update av_api.md 2013-11-01 11:50:46 +01:00
Peter Maatman
fb13210477 Update av_api.md 2013-11-01 11:50:07 +01:00
irungentoo
d56909f410 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-10-30 20:25:32 -04:00
irungentoo
b41edb05fd Updated hardening doc. 2013-10-30 20:25:02 -04:00
irungentoo
e2e1689209 Merge pull request #636 from fr0stycl34r/patch-1
Offer solution for "error while loading shared libraries: libtoxcore.so....
2013-10-29 10:13:53 -07:00
fr0sty
b903a314d9 Offer solution for "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory".
Offer solution for "error while loading shared libraries: libtoxcore.so.0: cannot open shared object file: No such file or directory".
2013-10-29 13:10:44 -04:00
irungentoo
2bdce93437 Merge pull request #635 from Martijnvdc/master
added AV_codec.h to public headers
2013-10-28 12:00:11 -07:00
Martijn
5971d8f795 renamed AV_codec to toxmedia 2013-10-28 14:19:38 +01:00
Martijn
3d019fb115 added AV_codec.h to public headers 2013-10-28 13:51:48 +01:00
irungentoo
cb0316bf2e Merge pull request #634 from jin-eld/fix-public-headers
Public headers should not have any internal references
2013-10-28 05:32:48 -07:00
Jin^eLD
4c6dc7a3b7 Public headers should not have any internal references 2013-10-28 13:15:59 +01:00
irungentoo
d2ab13c611 Cleaned up some code/fixed some warnings.
I'm sure nobody has any of the old save files anymore so I removed the
functions.
2013-10-27 20:25:31 -04:00
irungentoo
937dbd3a7a Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-10-26 23:17:34 -04:00
irungentoo
f7040726a1 Increased port range. 2013-10-26 23:17:11 -04:00
irungentoo
8acdb7cf8d Merge pull request #633 from Martijnvdc/master
Small changes to A/V
2013-10-26 15:53:20 -07:00
Martijn
3116336b83 Small changes to A/V 2013-10-27 00:19:44 +02:00
irungentoo
05a5184dc0 Clarified a comment. 2013-10-26 18:11:55 -04:00
irungentoo
bbef18ab4e Update time before running functions for recieved packets. 2013-10-25 14:55:46 -04:00
irungentoo
9ccdac0e82 All modules using unix_time should run unix_time_update() 2013-10-25 14:47:34 -04:00
irungentoo
b891446c31 For security reasons, keep memcpy's and memcmp's in crypto functions. 2013-10-25 14:43:47 -04:00
Coren[m]
065495cd7c Merge remote-tracking branch 'upstream/master' into cleanup_unix_time_id_eq_cpy_is_timeout
Conflicts:
	toxcore/net_crypto.c
2013-10-24 22:47:23 +02:00
Coren[m]
0a4c3d7e2e Move unix_time(), id_cpy()/id_eq(), is_timeout() to util.*
unix_time():
- returns local value for current epoch
- value is updated explicitly with unix_time_update() called at new_DHT()/doMessenger()/do_DHT()

is_timeout():
- uses the local value for current epoch

id_cpy()/id_eq() => id_copy()/id_equal():
- centralized duplicate definitions
- replaced (most) memcpy()/memcmp() of (*, *, CLIENT_ID_SIZE) with id_copy()/id_equal()
2013-10-24 22:32:28 +02:00
irungentoo
f3be560904 Removed out of date videos. 2013-10-24 08:30:02 -04:00
irungentoo
55dececf90 Code cleanups.
Fixed some tests.
2013-10-23 14:49:59 -04:00
irungentoo
2e75648f51 Code cleanups. 2013-10-23 14:42:39 -04:00
irungentoo
a67b4f8c6d Code cleanups. 2013-10-23 14:32:09 -04:00
irungentoo
b515eac0a3 Merge pull request #630 from Bahkuh/master
Minor improvements
2013-10-22 13:29:45 -07:00
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