Commit Graph

155 Commits

Author SHA1 Message Date
Fufu Fang
86644c0518 added more documentation 2019-04-24 04:21:38 +01:00
Fufu Fang
e9e41165ae added CacheDir_create() and fs_release() 2019-04-24 04:21:38 +01:00
Fufu Fang
0c55dc5a0c wrote Seg_exist, Seg_set, refined CacheSystem_init 2019-04-24 04:21:38 +01:00
Fufu Fang
b1971a7c3f modified strndupcat, added more comments 2019-04-24 04:21:38 +01:00
Fufu Fang
e5c77f3680 Changed the way segments work, added more functions
Now segments are fixed size block of 128KiB
2019-04-24 04:21:38 +01:00
Fufu Fang
3d0269e90f added Cache_create 2019-04-24 04:21:38 +01:00
Fufu Fang
4b60b4e9be wrote the cache opening function 2019-04-24 04:21:38 +01:00
Fufu Fang
794fb9414f wrote more Cache_open 2019-04-24 04:21:37 +01:00
Fufu Fang
7ae6d6fe1b all the functions written so far compile fine, working on Cache_open 2019-04-24 04:21:37 +01:00
Fufu Fang
9f1b963014 fixed documentation format 2019-04-24 04:21:37 +01:00
Fufu Fang
21f1cf2a18 changed strlen in link.c to strnlen, and changed LINK_LEN_MAX to P_URL_LEN_MAX 2019-04-24 04:21:37 +01:00
Fufu Fang
d9cdc20b42 moved NETWORK_MAX_CONNS from network.h to network.c 2019-04-24 04:21:37 +01:00
Fufu Fang
7cafdbf7d4 Completed metadata read/write functions 2019-04-24 04:21:37 +01:00
Fufu Fang
8d10316b95 changed the data type for file size. wrote Data_read() 2019-04-24 04:21:37 +01:00
Fufu Fang
4958d6cfea fixed the Doxyfile 2019-04-24 04:21:37 +01:00
Fufu Fang
c710904cfd wrote Data_create function 2019-04-24 04:21:37 +01:00
Fufu Fang
90eccb6049 created the skeletal cache.c 2019-04-24 04:21:37 +01:00
Fufu Fang
1b0a01aa30 Update Makefile 2019-04-24 04:21:37 +01:00
Fufu Fang
7b75e1ea41 enable http pipelining, changed max connection limit to 10 2019-04-24 04:21:37 +01:00
Fufu Fang
c4c0f1fd9a i think i have finalised the cache.h 2019-04-24 04:21:37 +01:00
Fufu Fang
f5361225cd removed limits.h
It is unnecessary, I am not sure why I included it in the first place.
2019-04-24 04:21:37 +01:00
Josh Lilly
8ea19295a0 Compatibility with FreeBSD 2019-04-24 04:21:37 +01:00
Fufu Fang
e38bd0fa80 talked to fanf2 about the metadata in-memory data structure 2019-04-24 04:21:37 +01:00
Fufu Fang
a3e2b0bc3b added some of the prototype for the cache controller 2019-04-24 04:21:37 +01:00
Fufu Fang
ec9b37dcbe bumped the version number 2019-04-24 04:21:37 +01:00
Fufu Fang
41bd55aab8 fixed issue #24 2019-04-24 04:21:23 +01:00
Fufu Fang
b4554233dc fixed issue #24 2019-04-24 04:21:10 +01:00
Fufu Fang
d23dfe0709 Update Makefile 2019-04-24 04:21:10 +01:00
Fufu Fang
5f0852d6cd Updated README.md for issue #23 2019-04-24 04:21:10 +01:00
Fufu Fang
9f2803f60a Update Makefile 2019-04-24 04:21:10 +01:00
Fufu Fang
4f582ae94f fixed issue #23 (Dotfile madness) 2019-04-24 04:21:10 +01:00
Jerome Charaoui
df37057f8c Remove redundant LICENSE section from README 2019-04-24 04:21:10 +01:00
Jerome Charaoui
6dea0c96c3 Create doc/ project dir for Doxygen docs and manpage 2019-04-24 04:21:10 +01:00
Jerome Charaoui
f6f50c7cdf Move source files in src/ 2019-04-24 04:21:10 +01:00
Jerome Charaoui
d57ffacd05 Add uninstall Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui
29acb2d804 Rename OBJ to COBJS 2019-04-24 04:21:10 +01:00
Jerome Charaoui
724fac83de Add standard all and distclean targets 2019-04-24 04:21:10 +01:00
Jerome Charaoui
dd4e9d5517 Put compiler flags before dash options
Again, that's more in line with the standard
2019-04-24 04:21:10 +01:00
Jerome Charaoui
14ca3bca20 Install manpage in install Makefile target 2019-04-24 04:21:10 +01:00
Jerome Charaoui
b0fc0170f3 Use lowercase prefix in Makefile
It's more in line with the standard
2019-04-24 04:21:09 +01:00
Jerome Charaoui
0d2ffb309e Simplify install Makefile target 2019-04-24 04:21:09 +01:00
Jerome Charaoui
854001d1ec Defining CC is unneccessary
It normally refers to /usr/bin/cc which is a symlink to the preferred
compiler. Removing it from the Makefile allows one to explicitly define
a different compiler at build-time.
2019-04-24 04:21:09 +01:00
Jerome Charaoui
d65352e3fb Add a manpage 2019-04-24 04:21:09 +01:00
Jerome Charaoui
2ccd66021d Fix output of --version/-V 2019-04-24 04:21:09 +01:00
Fufu Fang
fcf5092a80 Update README.md 2019-04-24 04:21:09 +01:00
Jerome Charaoui
b2a84570a9 Move linker flags from CFLAGS into LDFLAGS 2019-04-24 04:21:09 +01:00
Jerome Charaoui
8ea46f896b Default install target to use /usr/local prefix
While also allowing to customise PREFIX and DESTDIR
2019-04-24 04:21:09 +01:00
Jerome Charaoui
19e825aa72 Allow adjusting compilation flags in Makefile 2019-04-24 04:21:09 +01:00
Jerome Charaoui
0bcaff7760 Add OpenSSL exception to LICENCE 2019-04-24 04:21:09 +01:00
Jerome Charaoui
08c30b84e6 Fix a small typo 2019-04-24 04:21:09 +01:00