Commit graph

59 commits

Author SHA1 Message Date
John Jones
603ed1d72f Fixed multiaddress_get_peer_id to return allocated memory
Returing in place causes problems with continuations i.e. ending
slashes. Therefore it is better to return allocated memory.
2017-04-17 11:56:36 -05:00
John Jones
f0961a247f Multiaddress stability fixes 2017-04-16 23:46:07 -05:00
John Jones
c96c1db14c Now handling zeros in address correctly 2017-04-13 09:29:44 -05:00
John Jones
4cbcf6be3d Test that proves MultiAddress not handling 0s properly 2017-04-03 22:01:46 -05:00
John Jones
615adc86ef Added ability to parse out peer id 2017-04-03 11:54:15 -05:00
John Jones
e9636e642f Fixed udp bug 2017-03-24 16:49:12 -05:00
John Jones
e90434ba61 strtok_r only by declaration 2017-03-21 13:36:06 -05:00
John Jones
d09c4a0d76 added string tokenizer for c99 2017-03-21 13:04:44 -05:00
John Jones
e935335964 c99 2017-03-21 14:57:41 +00:00
John Jones
7fb89918f8 Parsing of IP adresses is now easier 2017-03-09 18:48:00 -05:00
John Jones
e914307a4d Added some utility methods to make parsing easier 2017-03-09 18:20:56 -05:00
John Jones
0bbca7bc27 Small comment change 2017-02-27 12:26:38 -05:00
John Jones
7da26ca04d Minor tweak to get rid of compiler warning 2017-02-22 10:54:16 -05:00
John M. Jones
ba234206a2 Merge pull request #6 from xethyrion/master
Misc fixes
2017-02-22 00:50:24 -05:00
xethyrion
6274997560 Fixed everything.. as far as I can tell.. 2017-02-22 07:17:09 +02:00
xethyrion
2dab592164 How it should be used 2017-02-21 21:05:20 +02:00
xethyrion
10302dd4b1 Update README.md 2017-02-21 21:04:06 +02:00
xethyrion
43a19d7c61 Updated to current version 2017-02-21 21:02:42 +02:00
xethyrion
2a470ee856 Fixed encapsulation
Now working properly.
2017-02-21 20:55:28 +02:00
John Jones
0b8789ebbc Bug fixes 2017-02-20 17:45:48 -05:00
John Jones
4e281ddd08 Added testing framework 2017-02-20 15:58:19 -05:00
John Jones
fcb0cce437 Minor fixes to the conversion from bytes to MultiAddress 2017-02-20 08:15:16 -05:00
John Jones
f2d1a5aa83 added a helpful comment 2017-02-16 23:13:58 -05:00
John M. Jones
5cb09b3708 Merge pull request #4 from jmjatlanta/master
Multiple fixes to code
2017-02-15 12:14:04 -05:00
John Jones
29a68c8f55 Multiple fixes to code 2017-02-15 10:42:06 -05:00
ken Code
b7f3d475e3 Merge pull request #3 from jmjatlanta/master
Various changes to align with other ipfs projects
2017-02-14 11:42:52 +01:00
John Jones
9a9c5ea1c3 More cleanup 2017-02-13 17:49:20 -05:00
John Jones
cc8ff45cc1 Added a method to copy MultiAddresses 2017-02-13 14:28:06 -05:00
John Jones
bb488f7e82 More in line with existing code. Refactored naming. 2017-02-13 14:12:32 -05:00
John Jones
78ce39b067 renamed struct maddr to MultiAddress 2017-02-13 13:30:22 -05:00
John Jones
d57e026fbf Moved functionality from headers to c files so that we can compile 2017-02-13 13:25:43 -05:00
ken Code
48648fb6cd Update LICENSE 2017-01-31 17:11:29 +01:00
ken Code
7159bd4641 Merge pull request #2 from jmjatlanta/master
Removed copyright notice
2016-12-05 14:31:57 +01:00
jmjatlanta
364bc72a54 Merge remote-tracking branch 'upstream/master' 2016-12-05 07:25:55 -05:00
John Jones
ee1cf1359c Small changes to allow compile 2016-12-05 06:56:09 -05:00
John Jones
fa1084b45c added Eclipse project files 2016-11-17 16:35:50 -05:00
xethyrion
50dbd5f765 Merge pull request #1 from jmjatlanta/master
Directory structure changes
2016-11-14 11:03:10 -08:00
John Jones
68ca649688 Directory structure changes
Made an include directory to avoid naming conflicts with other projects.
Also added a Makefile to help with building the library and testing
application. Note: This does not build due to what appears to be a
missing codec.h file.
2016-11-14 08:03:48 -05:00
xethyrion
edb7475318 Update STATUS.md 2016-11-10 13:38:23 +02:00
xethyrion
877d71acaa Update and rename STATUS to STATUS.md 2016-11-10 13:19:34 +02:00
xethyrion
4bb95063a9 Update README.md 2016-11-10 13:07:23 +02:00
xethyrion
fb56ba584a Update README.md 2016-11-10 10:27:58 +02:00
xethyrion
64fd480954 Update README.md 2016-11-10 10:26:10 +02:00
xethyrion
b11ecd51c5 Update README.md 2016-11-10 10:24:23 +02:00
xethyrion
38b7966a10 Update README.md 2016-11-10 10:19:07 +02:00
xethyrion
6f14f96982 Update README.md 2016-11-10 10:18:36 +02:00
xethyrion
4cddac37a3 Update README.md 2016-11-10 10:15:13 +02:00
xethyrion
d7a90c513d added ipfs support with proper base58 2016-11-10 00:53:11 +02:00
xethyrion
7574846553 Not needed after all 2016-11-09 01:12:29 +02:00
xethyrion
5bc0d88bf1 Added more space for proxies
Fixed a bug in protoutils.h->string_to_bytes where an extra NULL caused memory errors.
2016-11-08 18:01:10 +02:00