Commit graph

822 commits

Author SHA1 Message Date
30ae6586b2 Accept #28, with modifications. 2022-08-12 19:32:06 -04:00
33df5002e6 Accept #28 2022-08-12 19:08:41 -04:00
fb4458ef63 Allow me to add arbitrary messages to the accept and reject functions. 2022-08-12 19:08:27 -04:00
af03988db7 Poll the socket for data events. 2022-08-11 21:19:52 -04:00
d9c944871a Abstract socket creation and binding behind the HttpServer API. 2022-08-11 20:13:10 -04:00
e94212b080 Bind to socket; HTTP server event thread; signal handling. 2022-08-11 19:40:13 -04:00
46cd0edaf8 Add verbose flag to LDFLAGS when in debug mode. 2022-08-11 19:32:47 -04:00
9cf2266ece Make TelodendriaConfigParse() actually validate the listenPort.
I want to already have a valid port number by the time we need to bind
to it.
2022-08-11 11:50:35 -04:00
4304a28302 TelodendriaConfigParse() doesn't modify the LogConfig.
Also pledge() and unveil() as soon as possible, to avoid the log file
breaking out.
2022-08-10 21:13:05 -04:00
9ae05e84f2 Implement user validation. 2022-08-10 11:58:39 -04:00
e0a66ad58a Add DEBUG to td. 2022-08-10 10:49:17 -04:00
2b9b6368ba Apply #25 2022-08-10 10:40:41 -04:00
2324d9982f Format code. 2022-08-09 21:05:10 -04:00
d9e355edb9 Relocate free() in HashMap to a sensible location. 2022-08-09 21:02:57 -04:00
560624ba98 Fix memory leak in HashMap 2022-08-09 20:23:25 -04:00
76937a57a4 Check return value of fgets() in Json.c 2022-08-09 20:18:13 -04:00
a24d9b6c29 Fix memory error? 2022-08-09 20:10:45 -04:00
cdd7808642 Prototype the configuration file parser.
Right now there's a nasty memory bug I need to fix. Will have to run this
through valgrind.
2022-08-09 20:05:41 -04:00
0a101f0853 Update documentation. 2022-08-09 13:22:33 -04:00
9d496c29ac Finish initial draft of JSON parser. 2022-08-09 13:19:14 -04:00
9d358d572f Add to-dos. 2022-08-08 11:34:38 -04:00
c6eda3ff3e Apply #24 2022-08-08 10:57:42 -04:00
adf85157cc Add new logo. 2022-08-07 14:57:38 -04:00
a39b0d9f9a Add support for unit testing. 2022-08-05 22:20:07 -04:00
2e5d21d309 Add extremely basic unit test framework. 2022-08-05 22:19:59 -04:00
59ac624d00 Still offer a download link. 2022-08-02 22:21:00 -04:00
7630294cb7 Basic implementation of JsonTokenSeek() 2022-08-02 21:47:27 -04:00
f48f7c088c Begin prototyping JsonDecode 2022-08-02 16:58:15 -04:00
8d77846578 Open resources in new tabs. 2022-08-02 15:15:19 -04:00
2805903f2b Mirror the real matrix spec pages.
Using wget, we can get a very functional copy of the matrix spec.
2022-08-02 15:12:07 -04:00
fb207bb553 Apply #22 2022-08-01 22:22:43 -04:00
a4dbfb2f16 Apply #21 2022-08-01 17:00:26 -04:00
3cfc064913 Add 'tp' tool.
I'm not doing much to document this, because it's mainly just an
internal script. No normal person is going to be running it, it's really
just for me.
2022-08-01 16:21:45 -04:00
3804bcf95a Apply #18, #19, and #20 2022-08-01 16:09:18 -04:00
0e7b3c655b Add -d to get new directories when running cvs update 2022-07-30 09:46:02 -04:00
e4c2d534fe Apply #17 2022-07-30 09:37:08 -04:00
9904bc5346 Apply #17 2022-07-30 09:34:27 -04:00
5da3b9f983 Begin documenting the build script. 2022-07-29 17:09:34 -04:00
6e4ff64d08 Alias make.sh to td, which is a lot easier to type. 2022-07-29 17:09:26 -04:00
fbc0e7bfcd Document, and add recipe_diff 2022-07-29 17:09:15 -04:00
bf4e92e12f Accept #16 2022-07-29 16:06:01 -04:00
fa0bd9a7c6 Apply #14 2022-07-29 15:36:21 -04:00
27acd6dc45 Apply #12 2022-07-29 15:29:39 -04:00
81826ad2d2 Apply #11 2022-07-29 15:29:35 -04:00
1ae3a4e9c4 Apply #13. 2022-07-29 15:28:49 -04:00
3fd5e448b2 Don't hard-code the name of the patch.
Nobody's gonna rename the patches, so just make them unique enough
so that I can upload them to the ingress directory without conflicts.
2022-07-29 15:17:55 -04:00
f1c0d6b40e Apply #10 2022-07-29 14:42:23 -04:00
8e8ac04505 Start documenting the headers. 2022-07-29 12:32:52 -04:00
1087069416 Fix some invalid structures. 2022-07-29 12:32:46 -04:00
787a891cb8 JsonValueFree() should take care of strings too. 2022-07-28 22:21:49 -04:00