Commit Graph

1293 Commits

Author SHA1 Message Date
redwire ecddafd383 Made clang happy by taking definitions for the macro out of functions and adding declarations 2013-08-30 22:08:15 -02:30
redwire 4247eec969 Wrote a quicksort macro and modified sort_list to use it 2013-08-30 18:10:00 -02:30
irungentoo dcabd6421c Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core 2013-08-30 14:22:12 -04:00
irungentoo 52c47a0820 Fixed possible crash. 2013-08-30 14:11:12 -04:00
irungentoo 0bd4edc0db Compiler fix. 2013-08-30 12:59:17 -04:00
irungentoo bbc6b09579 put free_connections() back 2013-08-30 12:54:35 -04:00
irungentoo 41d4e02ca4 Fixed possible compiling problems on some compilers. 2013-08-30 12:34:57 -04:00
irungentoo 7110001b58 Merge pull request #545 from stal888/patch-3
Fix build error on non-linux machines.
2013-08-30 09:27:04 -07:00
stal 0834e4ba31 Fix build error on non-linux machines. 2013-08-30 09:25:22 -07:00
irungentoo f124cfaf46 Return values checking for tox_array_push_ptr in Lossless UDP. 2013-08-30 09:12:22 -04:00
irungentoo ba5bd35a12 Fixed possible bugs in tox_array. 2013-08-30 08:52:53 -04:00
irungentoo 8f0bef5f20 Fixed warnings and moved hex_string_to_bin to testing/ 2013-08-30 08:16:34 -04:00
irungentoo 7441a234b7 Merge branch 'udp_connections' of https://github.com/vx-k/ProjectTox-Core into vx-k-udp_connections 2013-08-30 07:53:51 -04:00
irungentoo b37a016b6b Merge pull request #544 from KostyaKow/master
Made IP Port a union.
2013-08-30 04:14:46 -07:00
Kostya 25563ac070 Fixed build errors. 2013-08-30 03:28:50 -04:00
Kostya 790867d984 Changed naming for IP union. 2013-08-30 03:02:11 -04:00
Kostya 8d71f67a72 Changed handshake code to use union IP_Port. 2013-08-30 02:58:30 -04:00
Kostya d2d1af2ce9 Made IP_Port a union. 2013-08-30 02:51:15 -04:00
irungentoo 205ba48a5a Merge pull request #543 from jin-eld/sync-sources
Sync sources
2013-08-29 17:51:14 -07:00
jin-eld fb26fe4455 Add "make dist" to travis
this should allow us to catch build system errors related to removing or adding
source files
2013-08-30 02:24:14 +03:00
jin-eld 93e2e1eaa0 Sync makefile with source list
packets.h is now gone
2013-08-30 02:19:00 +03:00
irungentoo 0ed6ce80a0 Removed now useless file. 2013-08-29 19:09:30 -04:00
irungentoo df4b1c6ee5 Removed packet structs.
They were causing problems on certain compiler configurations.
2013-08-29 19:06:09 -04:00
Anony Moose eb33796e58 Moved misc_tools from testing to toxcore. 2013-08-29 22:54:54 +00:00
irungentoo ea994606fe Merge branch 'master' of https://github.com/JamoBox/ProjectTox-Core into JamoBox-master
Conflicts:
	toxcore/LAN_discovery.h
2013-08-29 17:55:58 -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
irungentoo 85940f94b2 Fixed bug. 2013-08-29 08:03:03 -04:00
irungentoo 9e30979613 Merge pull request #540 from optimumtact/master
Updated bootstrap node key for my server
2013-08-29 04:23:16 -07:00
Francis Devine 77e4d8509d Updated bootstrap node key for my server 2013-08-29 14:33:49 +12:00
irungentoo 059d2cfdb8 Use defines instead of numbers in DHT_test 2013-08-28 20:53:35 -04:00
irungentoo 1033c2d80e Fixed possible bug. 2013-08-28 20:51:01 -04:00
irungentoo 00507fadfd Removed some no longer needed ifdefs. 2013-08-28 18:23:37 -04:00
Anony Moose 31354d80d4 Fixed another thing in loop; added initialization for tox_array in lossless UDP. 2013-08-28 22:04:34 +00:00
irungentoo e0779ed0a6 Merge pull request #536 from jin-eld/ntox-win32
Make nTox work on MinGW/Win32
2013-08-27 04:46:57 -07:00
jin-eld 14a8ee4e0d Make nTox work on MinGW/Win32 2013-08-27 14:25:09 +03:00
Anony Moose 82a3eb9763 Fixed for loop counter errors. 2013-08-26 22:27:48 +00:00
Anony Moose abaaef051c Fixed several embarrassing errors and potential problems in tox_array. 2013-08-26 22:04:41 +00:00
Anony Moose 4e9d09f217 Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core into udp_connections 2013-08-26 21:02:34 +00:00
irungentoo 9b249c5ca8 Merge pull request #534 from jin-eld/automake-compatibility
Tune automake options to avoid problems with newer versions
2013-08-26 13:40:37 -07:00
Anony Moose fefa2bdea0 connection_id can be negative, so it shouldn't be uint32_t. 2013-08-26 20:36:32 +00:00
jin-eld f792b1be1f Tune automake options to avoid problems with newer versions
Automake >1.14 complains if makefiles are used in subdirs but
the subdir-objects option is not set.
2013-08-26 23:29:47 +03:00
Anony Moose 79f759049b Trying to fix memory leak. 2013-08-26 20:16:09 +00:00
irungentoo 947d62decd Merge pull request #533 from jin-eld/separate-lt-options
Move libtool options to configure script in order to allow per system settings
2013-08-26 13:00:44 -07:00
jin-eld ed1c130ebc Move extra libtool options into configure
This should allow to keep the libtool options all in one place and at
the same time define different options depending on the host.

Made sure that -no-undefined is set only on Win32. Although no side
effects on Linux and OSX have been observed so far, it's probably better
to play it safe; it does not seem to be needed/does not seem to matter on *nix,
only required for Win32.
2013-08-26 22:08:43 +03:00
jin-eld 7ce599d180 Fix trailing whitespace 2013-08-26 22:08:33 +03:00
irungentoo c30187fcf9 Merge pull request #532 from jin-eld/freebsd
Add /usr/local/* to search paths on FreeBSD
2013-08-26 06:00:53 -07:00
jin-eld 2fa0b69631 Add /usr/local/* to search paths on FreeBSD
Seems that on FreeBSD those directories are not in the default search
paths, so we'll have to add them manually.
2013-08-26 14:34:42 +03:00
irungentoo bc734f974a Merge pull request #531 from jin-eld/dll
Also generate a .dll in MinGW builds
2013-08-25 16:28:51 -07:00
jin-eld 634a67f627 Also generate a .dll in MinGW builds
Previously only static a static library was produced on MinGW builds,
this PR makes sure that we also build a proper .dll
2013-08-26 02:18:09 +03:00
Anony Moose 60bf9991b4 Made array stuff more readable. 2013-08-25 22:43:30 +00:00