Michael Rose
3868a5326c
refactoring packet IDs
2013-08-21 09:55:43 +02:00
irungentoo
128223d9d1
astyle --options=tools/astylerc -r ./*.{c,h}
2013-08-20 19:37:05 -04:00
irungentoo
747c290269
Fixed DHT_test.c and added some checks.
2013-08-20 15:53:15 -04:00
irungentoo
afa6edecc1
Some refactoring done.
2013-08-19 23:54:28 -04:00
irungentoo
4b480381ee
Fixed segfault.
2013-08-19 07:18:24 -04:00
irungentoo
17890b1f61
Realloc apparently doesn't always behave like free() if size is zero.
2013-08-19 07:15:56 -04:00
irungentoo
88ff81d9de
Passed everything through astyle.
2013-08-16 13:11:09 -04:00
slvr
7f27fcaf37
tabs -> spaces
2013-08-10 11:27:36 +01:00
slvr
6052b1f119
network_registerhandler
2013-08-10 00:43:50 +01:00
Florian Hahn
5617bf0bf1
Use void for functions with no parameters
2013-08-05 15:57:17 +02:00
Florian Hahn
2a9fedc08f
Make private functions in core/Lossless_UDP.c static
2013-08-04 23:05:27 +02:00
Jae Kwon
158751cb2d
various fixes for first time user
...
* added linking to libsodium
* fixed links to docs to point to wiki
2013-08-03 14:46:52 -07:00
irungentoo
9e5800ab10
Fixed regression.
2013-08-02 20:21:49 -04:00
rlt3
7097349552
removed potential segfault
2013-08-01 17:52:17 -04:00
rlt3
ba00e58f1d
Changing some if loops around, specifically where some counts could be done once (checking if packets were over the max_data_size, etc) rather than over a couple lines
2013-08-01 16:53:31 -04:00
rlt3
3720eba58e
Trimming some things down and re styling comments
2013-08-01 16:11:36 -04:00
rlt3
307e4d2e3e
Trying to make Lossless UDP more readable with style changes
2013-08-01 15:58:19 -04:00
irungentoo
bd695135dc
Fixed segfault.
2013-07-30 14:43:32 -04:00
irungentoo
db5775afb3
Added basic dynamic memory allocation to Lossless UDP.
2013-07-28 19:42:33 -04:00
irungentoo
b83359cd05
Added friend request accepting to nTox and fixed a bug.
...
Fixed a bug in Lossless UDP that prevented 2 clients from sometimes
connecting when they connected at the same time to each other.
2013-07-27 20:04:56 -04:00
irungentoo
14b43651c1
Ran the code through: astyle --style=linux
2013-07-27 08:43:36 -04:00
Konstantin Kowalski
241aca98bd
A *lot* of style changes.
2013-07-26 23:07:25 -04:00
irungentoo
e6a33fede6
Small inconsistency fixed.
2013-07-26 19:31:01 -04:00
nfkd
4478cd4cd3
Fix braces and some white-spaces
2013-07-26 19:52:20 -03:00
SilentSand
59b34e423b
Formatting.
...
Many stylistic changes, mostly formatting code more closely to the
coding style.
2013-07-26 04:02:17 -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
irungentoo
4f4e41f2eb
Initial connections might be faster.
2013-07-20 22:22:17 -04:00
jvrv
a72777ed70
fix comments of some files
2013-07-20 00:00:10 -03:00
Martijnvdc
727ab4adee
Update Lossless_UDP.c
...
changed all "i++" into "++i", as proposed by nfkd
2013-07-19 19:28:58 +02:00
irungentoo
d792247dd8
Fixed bug that sometimes prevented two clients from connecting.
2013-07-19 10:57:05 -04:00
irungentoo
bec416a050
Fixed some bugs and a regression.
2013-07-16 19:02:44 -04:00
irungentoo
c8d046e348
Some very basic flow control added to lossless UDP.
2013-07-16 10:36:59 -04:00
irungentoo
f3dfeb607b
Fixed useless inbound connection not timing out.
2013-07-14 15:22:49 -04:00
irungentoo
4d50638528
Basic IM messenger backend pretty much done (You can start the GUI)
...
And a couple of fixes to the other parts.
2013-07-09 13:20:48 -04:00
irungentoo
c00cf85078
Spelling mistakes fixed.
2013-07-08 12:36:11 -04:00
irungentoo
a480c0195a
Crypto done(still need to test it a bit more thought)
...
Replaced chars with uint8_t
Added a new test program.
Added some functions to Lossless UDP.
And some other stuff.
2013-07-05 17:00:39 -04:00
irungentoo
ccb270add2
Compiled for windows and fixed stuff accordingly.
2013-07-03 16:35:44 -04:00
irungentoo
c86c1c8132
TODO updated.
2013-07-03 09:45:01 -04:00
irungentoo
62839f1bd9
Small changes.
2013-07-01 10:55:39 -04:00
irungentoo
65a198ffa5
Fixed small bug. Updated TODO.
2013-07-01 10:15:04 -04:00
irungentoo
9f6b609e08
Made code more portable.
2013-07-01 08:54:21 -04:00
irungentoo
2e0c3bb593
Added a new test program. Fixed some stuff in Lossless UDP.
2013-06-30 17:19:15 -04:00
irungentoo
4ad22addf4
Updated Lossless UDP.
2013-06-30 11:34:35 -04:00
irungentoo
6bd24212ee
Lossless UDP now works.
...
The testclient and testserver simulate a packet loss of 33%.
The only thing left to do in lossless UDP is the flow control (automatic
adjustment of the data send rate) which is only needed to transfer large
amounts of data.
2013-06-29 18:40:41 -04:00
irungentoo
d86a39ebfd
Cleaned bunch of stuff. Only the actual data transmission is left to do.
2013-06-29 11:14:33 -04:00
irungentoo
457feeed0b
Added current work on Lossless_UDP (Not done do not test it yet)
...
Lossless_UDP code is probably filled with problems right now.
this is normal.
2013-06-27 20:59:16 -04:00