Commit graph

651 commits

Author SHA1 Message Date
fd50fd83fb Misc changes throughout the codebase during testing. 2022-10-31 08:12:42 -04:00
b24ab05e8b Revert revision 1.4: Memory in O(1) time.
This has some bugs in it that I don't have time to work out right
now. Best to revert to a known working version as the project gains
attention until I can address this properly.
2022-10-31 08:08:32 -04:00
bcff59bacb Store memory info in the allocated block, not as a separate block.
This will eventually enable us to get memory information in O(1) time.
Right now, we're still O(n) because MemoryInfoGet() still has to check to
see if the allocation is known or not.
2022-10-28 14:07:44 -04:00
2791dbdcc8 When debugging, only set the required LDFLAGS.
This  allows us to actually use good debugging symbols when loading the
executable into something like lldb or gdb.
2022-10-28 08:43:58 -04:00
f90b987218 Add a Db to the matrixArgs so that routes can access it. 2022-10-24 14:36:48 -04:00
3a181653b5 Update TODO 2022-10-24 13:44:52 -04:00
624b080d47 Add max-cache option to the config file 2022-10-24 13:40:21 -04:00
d32742bb25 Make "format" recipe less verbose 2022-10-24 13:30:18 -04:00
e009536065 Begin prototyping persistent storage API 2022-10-24 12:44:29 -04:00
95930f4218 Cross off param parsing 2022-10-15 19:37:21 -04:00
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