Commit Graph

71 Commits (master)

Author SHA1 Message Date
Agorise b1f7d607ee
Update LICENSE 2019-01-01 10:36:34 -06:00
Agorise a271e08996
Update LICENSE 2018-06-17 16:31:04 +03:00
Agorise 028223e46a
Update LICENSE 2017-11-15 13:24:45 +02:00
Agorise 4d46d86514 Update LICENSE 2017-10-16 13:53:40 +03:00
jmjatlanta 4c457c1dd3 Better error reporting 2017-09-21 09:45:26 -05:00
jmjatlanta 3b178a142d Added helper method to compare ipfs address without IP address 2017-08-24 14:36:03 -05:00
John Jones c2f2c0c2da Added a compare method 2017-07-26 07:36:45 -05:00
jmjatlanta c434fbd160 Fixed warnings 2017-07-17 16:13:53 -05:00
John Jones 86d3cd422e Fixed memory leak and most compiler warnings 2017-07-17 15:11:08 -05:00
John Jones 58a6240af9 Fixed bug on odd byte ip addresses
IP addresses that when converted to an integer ended up as a string with
an odd number of bytes would result in a memory read into invalid
memory. Zero filled the text string representation of the bytes to avoid
this issue.
2017-07-13 18:29:02 -05:00
John Jones 7c6bd1e36b Added sanity check 2017-04-27 11:09:18 -05:00
John Jones d6877b995c Fixed initialization bug 2017-04-17 14:36:16 -05:00
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