Commit Graph

458 Commits (master)

Author SHA1 Message Date
John Jones 5168bc87e0 Fixed memory leak in test 2016-12-14 12:24:44 -05:00
jmjatlanta 033dd767b4 More work on persisting data to disk.
Blockstore now storing the data, whereas datastore is storing the key
and filename. The key should be the multihash (currently the sha256, not
the multihash), and the value is the filename (base32).
2016-12-14 12:07:43 -05:00
John Jones 88d177cf4a Fixed minor leak in test and more compiler warnings 2016-12-14 06:39:06 -05:00
jmjatlanta bf0cbfb412 Removed compiler warnings, starting to import large files 2016-12-14 06:25:09 -05:00
Jose Marcial Vieira Bisneto 9ec06749f2 Initial implementation of util/time.c 2016-12-13 22:16:51 -03:00
John Jones 876e2dfcf2 Fixed memory leaks around node and allocations 2016-12-12 18:27:46 -05:00
John Jones 363a773a1e Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-12 17:03:56 -05:00
John Jones 4a99078c12 Minor test fix 2016-12-12 17:03:38 -05:00
jmjatlanta a36ba20557 made node links a single linked list instead of array
This will save some complicated memory allocations
2016-12-12 16:58:27 -05:00
jmjatlanta 4fe768c2c5 Working with nodes to add protobuf to persist to db
adding a link to a node does a realloc. I believe this is causing
problems. I am going to replace this and see if that fixes the issue.
2016-12-12 15:06:17 -05:00
jmjatlanta e0b0552b39 Pushing Cid into protobuf 2016-12-12 06:27:06 -05:00
Jose Marcial Vieira Bisneto 786bd5d80b Initial implementation of dnslink 2016-12-08 23:29:50 -03:00
Jose Marcial Vieira Bisneto 73a7690725 namesys: Invalid prototype removed. 2016-12-08 07:31:17 -03:00
Jose Marcial Vieira Bisneto 7a3d0c5e0b namesys/path: Changed error messages to a separate file. 2016-12-08 07:08:34 -03:00
Jose Marcial Vieira Bisneto 84f24797f4 Fixed memory leaks in namesys and path. 2016-12-08 06:48:38 -03:00
John Jones e69f10a68f Fixed memory leaks in node and test 2016-12-07 11:53:17 -05:00
jmjatlanta 75bee8d1ea Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-07 11:07:52 -05:00
jmjatlanta 4a6b88871a Merged in changes to node.h and node.c 2016-12-07 11:07:36 -05:00
Jose Marcial Vieira Bisneto f8723eb8c7 path: implemented ipfs_path_clean_path 2016-12-07 09:17:15 -03:00
John Jones a180a63160 Setting uninitialized values
Uninitialized values should be set to NULL to aid in memory deallocation
at cleanup time.
2016-12-05 18:17:17 -05:00
jmjatlanta da6490ac7f Implementation of MerkleDag get and put
Now saving and retrieving MerkleDags that contain data. Now need to work
with links and other types.
2016-12-05 17:23:58 -05:00
jmjatlanta 8a80d2afc7 now not permitting duplicate keys in the database 2016-12-05 14:34:10 -05:00
John Jones a7d8bc82b7 Fixed memory leak in test 2016-12-05 13:36:24 -05:00
jmjatlanta f9d927f375 Beginnings of testing for MerkleDag 2016-12-05 13:11:22 -05:00
jmjatlanta 0245aa6549 Starting implementation of MerkleDag 2016-12-05 10:50:17 -05:00
jmjatlanta 5f452969fd Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-12-05 07:12:37 -05:00
jmjatlanta f79d2f9f0c Removal of incorrect copyright notice 2016-12-05 07:12:23 -05:00
Jose Marcial Vieira Bisneto 496ae3ec6c namesys/path: Renamed the function names to match the rest of the project. 2016-12-05 08:55:17 -03:00
John Jones bf9ddfd6f6 Turned on warnings for compilation 2016-12-05 06:54:21 -05:00
jmjatlanta 362ef81cb7 Merge branch 'xethyrion-master' 2016-12-05 06:14:11 -05:00
jmjatlanta b9b90014a6 Fixed tests 2016-12-05 06:13:20 -05:00
jmjatlanta 8d0aa3372d Merge branch 'master' of https://github.com/xethyrion/c-ipfs into xethyrion-master 2016-12-05 05:27:07 -05:00
xethyrion 53b893bda2 Update testit.c 2016-12-04 22:13:57 +02:00
xethyrion 0052ef8ca2 Create Example for this.c 2016-12-04 22:11:10 +02:00
xethyrion 5627bb3992 Update node.h 2016-12-04 22:10:41 +02:00
xethyrion 2ee91f7621 Update testit.c 2016-12-03 22:52:49 +02:00
xethyrion fd263362cb Delete testit.c_PREVIEW_DO_NOT_USE 2016-12-03 22:51:48 +02:00
xethyrion d1f85627b1 Delete node_PREVIEW_DO_NOT_USE_YET.h 2016-12-03 22:51:40 +02:00
xethyrion 9fdda102c7 Update node.h 2016-12-03 22:51:15 +02:00
Jose Marcial Vieira Bisneto 316c880bd1 namesys: Added missing proquint prototypes. 2016-12-01 19:32:29 -03:00
Jose Marcial Vieira Bisneto 33afac194a proquint: Implemented IPv6 suport. 2016-12-01 19:29:43 -03:00
Jose Marcial Vieira Bisneto 9ba3112b97 path/namesys: Unified resolver struct. 2016-12-01 19:25:16 -03:00
xethyrion 9d3eeabfe1 Create testit.c_PREVIEW_DO_NOT_USE 2016-12-01 21:27:18 +02:00
xethyrion b55dc4d96e Create node_PREVIEW_DO_NOT_USE_YET.h 2016-12-01 21:26:26 +02:00
John Jones 5b7f89bdf1 Fixed memory leaks 2016-12-01 13:08:30 -05:00
Jose Marcial Vieira Bisneto a4b6a14ea5 Initial implementation of path/resolver 2016-12-01 06:48:16 -03:00
John Jones 8553fcf6c1 Merge branch 'master' of https://github.com/kenCode-de/c-ipfs 2016-11-30 11:47:01 -05:00
John Jones b462d9ef53 More storage implementation
Successfully writing to lightningdb. Now to pull it back out. Also need
to write to the blockstore.
2016-11-30 11:46:41 -05:00
Jose Marcial Vieira Bisneto e89b5515c2 Endianness verified using MIPS-BE emulated with qemu. 2016-11-30 07:02:07 -03:00
Jose Marcial Vieira Bisneto 8f686f6115 Added namesys/proquint_test, a small test sample. 2016-11-29 21:04:40 -03:00