Commit Graph

893 Commits

Author SHA1 Message Date
Jordan Bancino e009536065 Begin prototyping persistent storage API 2022-10-24 12:44:29 -04:00
Jordan Bancino 95930f4218 Cross off param parsing 2022-10-15 19:37:21 -04:00
Jordan Bancino 5ca5ec7dd4 Complete parameter parsing 2022-10-15 19:17:49 -04:00
Jordan Bancino 52abd18324 First revision of param parsing 2022-10-15 18:54:34 -04:00
Jordan Bancino b645a0b2c1 Hook param parsing into the request logic. 2022-10-15 16:28:32 -04:00
Jordan Bancino 14c79a901a Build improvements so we can easily port to more platforms. 2022-10-15 12:45:21 -04:00
Jordan Bancino 648ce5c4cc Remove NonPosix.h; it seems to be causing more trouble than it's worth. 2022-10-15 11:45:23 -04:00
Jordan Bancino 887c4e4d5b Fix some warnings generated by Cygwin's GCC. 2022-10-15 10:28:03 -04:00
Jordan Bancino 62f7016bc0 Update TODO 2022-10-15 10:14:54 -04:00
Jordan Bancino 4707f0f4c8 Clean up some NonPosix.h stuff so we can build on Linux.
It appears that SOCK_NONBLOCK is not actually POSIX. According to the
OpenBSD man page, it will be soon, and according to the Linux man page,
it is a Linux extension. However, fcntl() with O_NONBLOCK seems to be
portable across both systems.
2022-10-15 10:08:52 -04:00
Jordan Bancino bb93cae99a Remove non-standard __FUNCTION__ use.
This cripples the Memory API just a little bit, but I'm sure we'll still
get useful enough information.
2022-10-15 09:34:47 -04:00
Jordan Bancino 0c03c71081 Allow logging to the syslog 2022-10-14 20:55:15 -04:00
Jordan Bancino e1827da071 As promised, we can now build on Windows with Cygwin. 2022-10-14 19:53:11 -04:00
Jordan Bancino f7b947f6e3 TODO: Document memory 2022-10-13 13:13:00 -04:00
Jordan Bancino 31719c2cd6 Tell exactly where the leaked pointer is, so it can be grepped. 2022-10-13 12:46:41 -04:00
Jordan Bancino 65dad27902 Fix some server context memory leaks. 2022-10-13 12:34:17 -04:00
Jordan Bancino 80366fc294 Fix a few more calls to free() 2022-10-13 12:27:24 -04:00
Jordan Bancino 8cb86e8f67 Use new Memory API for all memory allocations. 2022-10-13 12:18:42 -04:00
Jordan Bancino 945acd1adf Format source code 2022-10-13 09:09:26 -04:00
Jordan Bancino 2df0cd9d26 Begin integrating new Memory API 2022-10-13 09:08:05 -04:00
Jordan Bancino 8ae86b18fe Add hook functionality so we can log allocations and deallocations. 2022-10-13 08:50:27 -04:00
Jordan Bancino 2d49ac78b8 Add custom memory management code.
This will be helpful in detecting leaks among other things, and may help
with controlling the cache size as well.
2022-10-12 21:29:05 -04:00
Jordan Bancino ad7c486501 Update some docs 2022-10-12 21:25:59 -04:00
Jordan Bancino a56420ab17 Cross off "remove chroot option..." 2022-10-11 12:10:44 -04:00
Jordan Bancino 3ed5762fbf Add development data directory 2022-10-11 12:01:17 -04:00
Jordan Bancino 1353fa6429 Remove chroot option; log into the data directory automatically. 2022-10-11 12:00:36 -04:00
Jordan Bancino 5d9b0df0bf Remove the redundant chroot option. This simplifies the config a bit. 2022-10-11 11:38:34 -04:00
Jordan Bancino 414b8d47be Add HashMapFunctionSet() to allow custom hash functions. 2022-10-11 09:27:34 -04:00
Jordan Bancino dc0a62efcf Add onboarding 2022-10-10 21:06:59 -04:00
Jordan Bancino 96ecbcbd8a Fix table error 2022-10-10 15:24:04 -04:00
Jordan Bancino 0b849bd0c1 Convert list of man pages to a table. 2022-10-10 15:22:18 -04:00
Jordan Bancino 744f38784c Finish HashMap documentation 2022-10-10 15:08:19 -04:00
Jordan Bancino 0419bc3707 Write documentation for Queue 2022-10-10 13:35:19 -04:00
Jordan Bancino 79fc20314f Format source code. 2022-10-10 13:14:52 -04:00
Jordan Bancino 78d4524b77 Fix some formatting stuff 2022-10-10 12:05:27 -04:00
Jordan Bancino d992dfef06 Update documentation 2022-10-10 11:58:15 -04:00
Jordan Bancino 6b57fc45a2 Implement param encoding, clean up warnings in decoding function. 2022-10-03 13:40:29 -04:00
Jordan Bancino fdac1361c1 Fix spacing error 2022-09-30 19:19:04 -04:00
Jordan Bancino c0ecff11cb Remove old docs 2022-09-30 19:14:19 -04:00
Jordan Bancino 2d6b80a26e Move man pages into a proper man directory 2022-09-30 19:11:44 -04:00
Jordan Bancino cfcef45c00 Make the log file message more visible. 2022-09-30 13:13:27 -04:00
Jordan Bancino 7a939b91d1 Fix some documentation stuffs. 2022-09-30 13:09:22 -04:00
Jordan Bancino 271cdd8ff0 Abstract the data structure out of the path handling logic. 2022-09-30 12:48:45 -04:00
Jordan Bancino 90166882b0 Remove an unnecessary variable. 2022-09-30 12:48:33 -04:00
Jordan Bancino 8c2f70d82a Fix typo 2022-09-29 18:17:10 -04:00
Jordan Bancino bf5009293d Update docs 2022-09-29 18:16:16 -04:00
Jordan Bancino 45324ce77a Implement /_matrix/client/versions and /.well-known/matrix/client 2022-09-29 13:41:26 -04:00
Jordan Bancino 13fa07bfcc Fix contrast ratio on home page. 2022-09-28 16:25:49 -04:00
Jordan Bancino 0ec976d1dd Fix HttpUrlDecode memory issue; write pathParts array 2022-09-28 14:45:45 -04:00
Jordan Bancino acffd82b48 Move Base64 documentation to man page. 2022-09-27 16:13:59 -04:00