Commit graph

605 commits

Author SHA1 Message Date
d61770c772 Make mandoc link to man pages
Now web users can just click on the references and be taken to that page.
Unfortunately this generates a lot of broken links as well, for example
all the times I like to a system manual page that I don't copy to the
web server.
2022-11-19 23:15:08 +00:00
8d203f6cb8 Pull OpenBSD 7.2 mandoc.css
Somewhere between OpenBSD 7.1 and 7.2, mandoc changed the way it does a
lot of things. This commit pulls the base mandoc.css, and then includes it
in the Telodendria sylesheet. It is no longer feasable to customize the
mandoc stylesheet much, so luckily the default style is good enough.
2022-11-19 00:34:41 +00:00
e8b80e4c69 Clarify development notice. 2022-11-18 23:53:29 +00:00
9b7acbf586 New color scheme 2022-11-18 23:51:03 +00:00
fb7363d97e Don't uninstall the configuration file. 2022-11-18 22:49:06 +00:00
fe29b9f848 Remove unit testing code.
Until I can do it properly, I don't want to do it at all.
2022-11-18 22:27:23 +00:00
07f4ecd2d7 Make a number of improvements to cache handling.
- Items that are too big for the cache are now no longer immediately
  evicted; everything else is. This is probably not desirable, but it is
  not unexpected.
- Multithreading now should work as expected; DbRefs are locked before
  they are updated from the disk, and they are not evicted from the cache
  if they are locked by another thread.
- The cache may be no smaller than 1024 bytes. Previously the caller of
  DbOpen() could choose to disable the cache, and provisions were made in
  the code to support this, but this is now no longer possible because
  without the cache, there would be no way to know what files were open,
  which could lead to a race condition if two threads open the same file.
2022-11-18 22:17:56 +00:00
045c6d8644 Cache eviction 2022-11-18 20:42:08 +00:00
e7ad166877 Fix some memory leaks in Db 2022-11-18 19:36:15 +00:00
f6851de75f Fix a few bugs in JsonDecode(). It should now properly decode objects. 2022-11-18 14:51:44 +00:00
2e6c129263 Fix a mutex bug in Db and some memory errors in Json 2022-11-17 23:51:45 +00:00
d26fad4619 Add UtilMkdir() to recursively make directories 2022-11-17 22:57:29 +00:00
9597894356 Fix some warnings on GCC.
These aren't really anything to be concerned about, but making GCC feel good
about my code makes me feel better about my code.
2022-11-17 19:33:59 +00:00
46cc1df385 Do some Db work 2022-11-15 18:20:05 +00:00
9494016d2d Apply #34 2022-11-13 17:10:25 +00:00
a356403cfd Finish DbComputeSize() 2022-11-12 18:26:31 +00:00
8c36efa1d0 Add item to TODO.txt 2022-11-11 01:10:16 +00:00
6776db5ff9 Accept #33 2022-11-11 01:07:49 +00:00
c7a358150c Update documentation 2022-11-08 17:56:11 +00:00
8e71cc833c Change behavior of "id" configuration directive. 2022-11-08 17:53:01 +00:00
efbbf42a6e Fix memory and connection closing errors. 2022-11-08 01:05:28 +00:00
6c016b813c Add relayd.conf to contrib/ 2022-11-07 16:19:29 +00:00
95c566d314 Add td changes to the documentation 2022-11-07 14:07:31 +00:00
328303506b Add one-time donate link. 2022-11-07 13:47:33 +00:00
40dc19cfbf Update TODO 2022-11-06 22:02:24 +00:00
2c65f4925c Add install and uninstall recipes 2022-11-06 22:01:59 +00:00
d8005ef6c2 Renamed contributing(7) and onboarding(7) to indicate they belong to Telodendria. 2022-11-06 20:18:51 +00:00
37ee7700f4 Start writing a function to compute the in-memory size of an object. 2022-11-06 00:47:17 +00:00
45951569dd Add LiberaPay information. 2022-11-05 13:26:00 +00:00
0a4c9f3751 Apply part of #32 (Thanks LDA <lda@devhonk.tk) 2022-11-05 01:29:20 +00:00
14223614ad Support incremental builds on DragonFlyBSD 2022-11-03 19:08:24 +00:00
0fe59a70cc Add some items. 2022-11-03 18:11:58 +00:00
18781213cc Clean the TODO list up a bit, organizing it and deleting old entries. 2022-11-03 16:42:57 +00:00
84abff7fb8 Tune the memory table size a little bit.
No idea if this hurts or helps, actually, but now we have a tunable
constant, instead of a magic number.
2022-11-02 16:46:22 +00:00
a8beded518 Fix occasional "Bad Request" response by waiting for data to be sent.
This also makes UtilGetDelim() and UtilGetLine() thread safe in that it
isn't setting a global errno. Of course, errno should be thread safe
already, but this makes it much less ambiguous.
2022-11-02 16:21:03 +00:00
92cc2206a1 Fix a few things to make Telodendria compile and run on Cygwin. 2022-11-02 15:20:37 +00:00
6992f36c86 Fix segfault in fclose() on Linux. 2022-11-02 00:35:05 +00:00
5af229a86e Apply #31 2022-11-02 00:18:13 +00:00
fddfbf57ca Add some comments for future developers. 2022-11-01 21:50:02 +00:00
839f3a886e With git cvsimport, we shouldn't actually need this anymore. 2022-11-01 17:18:44 -04:00
cbdabc38a2 Delete weird artifact of git cvsimport 2022-11-01 17:15:18 -04:00
182bc13ea8 Make the READMEs a little more descriptive.
I need something to test git cvsimport with, too.
2022-11-01 16:29:31 -04:00
c6b4c3ad76 Make the READMEs a little more descriptive.
I need something to test git cvsimport with, too.
2022-11-01 16:29:31 -04:00
deab108882 Add a README for GitHub. 2022-11-01 13:04:00 -04:00
547e4e0203 Add a .gitignore for the GitHub mirror. 2022-11-01 12:53:42 -04:00
757938b293 Fix segvault if no config file was specified. 2022-11-01 09:47:25 -04:00
d9991bbd77 Apparently _DEFAULT_SOURCE is required to compile on Linux. 2022-11-01 09:04:41 -04:00
82d460da6f Fix some sneaky memory bugs and resource leaks. 2022-11-01 09:04:15 -04:00
bf65f29fdf Update TODO 2022-11-01 09:03:54 -04:00
bbee9dcea6 Fix some more bugs. 2022-10-31 20:41:50 -04:00