Commit graph

1041 commits

Author SHA1 Message Date
5ca5ec7dd4 Complete parameter parsing 2022-10-15 19:17:49 -04:00
52abd18324 First revision of param parsing 2022-10-15 18:54:34 -04:00
b645a0b2c1 Hook param parsing into the request logic. 2022-10-15 16:28:32 -04:00
14c79a901a Build improvements so we can easily port to more platforms. 2022-10-15 12:45:21 -04:00
648ce5c4cc Remove NonPosix.h; it seems to be causing more trouble than it's worth. 2022-10-15 11:45:23 -04:00
887c4e4d5b Fix some warnings generated by Cygwin's GCC. 2022-10-15 10:28:03 -04:00
62f7016bc0 Update TODO 2022-10-15 10:14:54 -04:00
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
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
0c03c71081 Allow logging to the syslog 2022-10-14 20:55:15 -04:00
e1827da071 As promised, we can now build on Windows with Cygwin. 2022-10-14 19:53:11 -04:00
f7b947f6e3 TODO: Document memory 2022-10-13 13:13:00 -04:00
31719c2cd6 Tell exactly where the leaked pointer is, so it can be grepped. 2022-10-13 12:46:41 -04:00
65dad27902 Fix some server context memory leaks. 2022-10-13 12:34:17 -04:00
80366fc294 Fix a few more calls to free() 2022-10-13 12:27:24 -04:00
8cb86e8f67 Use new Memory API for all memory allocations. 2022-10-13 12:18:42 -04:00
945acd1adf Format source code 2022-10-13 09:09:26 -04:00
2df0cd9d26 Begin integrating new Memory API 2022-10-13 09:08:05 -04:00
8ae86b18fe Add hook functionality so we can log allocations and deallocations. 2022-10-13 08:50:27 -04:00
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
ad7c486501 Update some docs 2022-10-12 21:25:59 -04:00
a56420ab17 Cross off "remove chroot option..." 2022-10-11 12:10:44 -04:00
3ed5762fbf Add development data directory 2022-10-11 12:01:17 -04:00
1353fa6429 Remove chroot option; log into the data directory automatically. 2022-10-11 12:00:36 -04:00
5d9b0df0bf Remove the redundant chroot option. This simplifies the config a bit. 2022-10-11 11:38:34 -04:00
414b8d47be Add HashMapFunctionSet() to allow custom hash functions. 2022-10-11 09:27:34 -04:00
dc0a62efcf Add onboarding 2022-10-10 21:06:59 -04:00
96ecbcbd8a Fix table error 2022-10-10 15:24:04 -04:00
0b849bd0c1 Convert list of man pages to a table. 2022-10-10 15:22:18 -04:00
744f38784c Finish HashMap documentation 2022-10-10 15:08:19 -04:00
0419bc3707 Write documentation for Queue 2022-10-10 13:35:19 -04:00
79fc20314f Format source code. 2022-10-10 13:14:52 -04:00
78d4524b77 Fix some formatting stuff 2022-10-10 12:05:27 -04:00
d992dfef06 Update documentation 2022-10-10 11:58:15 -04:00
6b57fc45a2 Implement param encoding, clean up warnings in decoding function. 2022-10-03 13:40:29 -04:00
fdac1361c1 Fix spacing error 2022-09-30 19:19:04 -04:00
c0ecff11cb Remove old docs 2022-09-30 19:14:19 -04:00
2d6b80a26e Move man pages into a proper man directory 2022-09-30 19:11:44 -04:00
cfcef45c00 Make the log file message more visible. 2022-09-30 13:13:27 -04:00
7a939b91d1 Fix some documentation stuffs. 2022-09-30 13:09:22 -04:00
271cdd8ff0 Abstract the data structure out of the path handling logic. 2022-09-30 12:48:45 -04:00
90166882b0 Remove an unnecessary variable. 2022-09-30 12:48:33 -04:00
8c2f70d82a Fix typo 2022-09-29 18:17:10 -04:00
bf5009293d Update docs 2022-09-29 18:16:16 -04:00
45324ce77a Implement /_matrix/client/versions and /.well-known/matrix/client 2022-09-29 13:41:26 -04:00
13fa07bfcc Fix contrast ratio on home page. 2022-09-28 16:25:49 -04:00
0ec976d1dd Fix HttpUrlDecode memory issue; write pathParts array 2022-09-28 14:45:45 -04:00
acffd82b48 Move Base64 documentation to man page. 2022-09-27 16:13:59 -04:00
5ecb810a88 Move Array documentation to man page. 2022-09-24 21:35:52 -04:00
b5d538f2ce Cleaned up argument parsing to match what was in the docs 2022-09-24 19:41:39 -04:00