Commit graph

956 commits

Author SHA1 Message Date
c143136097 Implement JsonFree(), make string handling UTF-8 aware. 2022-07-27 17:27:34 -04:00
ee1909e534 Cross some more to-do items off the list. 2022-07-27 17:26:56 -04:00
39af3c2194 Add ArraySort() 2022-07-27 15:31:34 -04:00
f18d47757c Remove .idea files. This is not an .idea project. 2022-07-27 15:22:42 -04:00
4c7ec4af56 Add UtilUtf8Encode() and UtilServerTs() 2022-07-27 13:47:20 -04:00
987b1653f1 Add UtilUtf8Encode() and UtilServerTs()
Also updated Json.c to use UtilUtf8Encode() when decoding JSON strings.
2022-07-27 13:47:12 -04:00
360fb4cb2c Cross off some to-do items. 2022-07-27 13:45:35 -04:00
3989c370b8 Remove -Werror for now.
The program should still compile if there is an unused function. Of course,
if we are making a release, we should be sure to make sure there are no
unused symbols.
2022-07-27 13:45:19 -04:00
bb2e42f659 Update to-dos 2022-07-27 13:38:35 -04:00
90ed321caa Fix typo in Json.c 2022-07-27 11:30:46 -04:00
bf0eb4543e Fix error in Log.c where we were comparing different types. 2022-07-27 09:53:53 -04:00
c888fd2ba2 Add -Wextra and -ansi just to get more errors/warnings. 2022-07-27 09:53:24 -04:00
bc849819d9 Make HashMap and Json conform to C89.
Clang on OpenBSD didn't catch this, but GCC on Linux did.
2022-07-27 09:47:22 -04:00
e232fd683e Make inline code snippets look like block snippets. 2022-07-26 13:34:11 -04:00
b7cf11f4f4 Cross some items off the to-do list. 2022-07-26 13:08:53 -04:00
4e0543b028 Add proper JSON string encoding and decoding. 2022-07-26 13:08:46 -04:00
644733c74e Add a static JsonEncodeString() method.
Right now it just calls fprintf(), but in the future, it will
properly encode a string for JSON output.
2022-07-26 09:10:17 -04:00
02f8c4bb82 Update Json to-dos. 2022-07-25 23:02:50 -04:00
8689c95b68 Begin work on Json library. Have a working JsonEncode() 2022-07-25 22:56:14 -04:00
90c4709823 Fix HashMapIterate not resetting the iterator at the right place. 2022-07-25 22:55:22 -04:00
d9d1713f54 Remove backup file if indent was successful. 2022-07-25 22:54:56 -04:00
ace2682dec Rework HashMapIterate to be more flexible.
We now get the keys, and we don't have to operate within the confines
of a callback function.
2022-07-25 21:31:09 -04:00
580b036d26 Add key to bucket, make iteratorFunc in HashMapIterate take it. 2022-07-25 16:26:30 -04:00
a85e4771e0 Fix typo, add roles in contributors list. 2022-07-25 16:03:06 -04:00
a0b84cac3f Add contributors list. 2022-07-25 16:00:52 -04:00
7c3ef91054 Update Code Style. 2022-07-25 15:53:49 -04:00
5197f4db91 Move the indent switches to .indent.pro so that indent(1) can be run on
individual files outsid the make script.
2022-07-25 15:35:31 -04:00
3437c5db2c Format headers as well.
indent(1) does a weird thing with prototype functions, but it's good
enough for me, as long as it's consistent.
2022-07-25 15:25:06 -04:00
aabb2a0203 Run indent(1) on all C source files. 2022-07-25 15:18:35 -04:00
ae2b853cc4 Add an indent recipe. 2022-07-25 15:18:25 -04:00
aa01e78fc0 Fix paragraph tag in Getting The Code. 2022-07-25 11:05:59 -04:00
fc5462bf6d Add anoncvs password in the instructions for getting the code.
Author: Jonah
2022-07-25 11:04:03 -04:00
c4ab2162b1 Update documentation to-dos. 2022-07-25 10:53:20 -04:00
f7bb3eb3bd Fix typo on the home page.
Thanks Jonah for this patch!
2022-07-25 10:45:50 -04:00
c573dfefa5 Update the documentation to-dos. 2022-07-25 08:56:09 -04:00
99bcfdae70 Add a simple README directing people to the documentation. 2022-07-24 11:43:09 -04:00
ed549ec440 Add Matrix Spec Mirror page. 2022-07-23 19:18:17 -04:00
74ec636ee1 Fix stylesheet link. 2022-07-23 17:35:22 -04:00
7cfbf63968 Verbose copy; I like to see what's going on. 2022-07-23 17:35:12 -04:00
ea0dcd0447 Restructure the site files. 2022-07-23 17:29:54 -04:00
9dfdd3e9d7 Patch a few more things up in the docs. 2022-07-23 16:23:53 -04:00
c2ab88dc25 Clean up the docs a little more. 2022-07-23 16:05:50 -04:00
a0ba9ebfd9 Make light style work on print too. 2022-07-23 15:16:23 -04:00
a79022f7c2 Make the documentation a little prettier. 2022-07-23 15:07:49 -04:00
35e374677c The make.sh script now does this. 2022-07-23 13:45:15 -04:00
3988c2f9be Add a release script. 2022-07-23 13:44:55 -04:00
13a1fdecf9 Move to recipe-based make script, to allow for tests, releases, etc. 2022-07-23 01:05:55 -04:00
768430f614 Update link in log header. 2022-07-23 00:50:12 -04:00
47c6eaac35 Indent doesn't actually work all that great.
At least not on OpenBSD. Humans can manage source code a lot better
than indent currently does.
2022-07-23 00:49:56 -04:00
092a3a6da8 Update URL with new domain. 2022-07-23 00:34:11 -04:00