Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Call msync(2) after modifying tiles | June McEnroe | 2021-09-27 |
| | | | | | | | Without it, changes aren't visible to a process read(2)'ing the file until all mappings of the file are unmapped, on OpenBSD. There is apparently no guarantee that they are visible on other systems either. TIL. | ||
* | OpenBSD: pledge(2) server | June McEnroe | 2021-09-26 |
| | |||
* | Replace kqueue with poll, remove libutil dependency | June McEnroe | 2021-09-20 |
| | | | | This makes the server much more portable. | ||
* | Factor out default paths | June McEnroe | 2019-01-08 |
| | |||
* | Add cap_rights_limit calls to client and server | June McEnroe | 2019-01-04 |
| | |||
* | Add teleportation | June McEnroe | 2019-01-04 |
| | | | | "Spawns" in the old code. | ||
* | Fix map generation for old metadata discrepancies | June McEnroe | 2019-01-04 |
| | |||
* | Restore old data format | June McEnroe | 2019-01-04 |
| | |||
* | Call cap_enter in client and server v2 | June McEnroe | 2018-11-29 |
| | |||
* | Only use pidfile(3) on FreeBSD daemon | June McEnroe | 2018-10-20 |
| | |||
* | Add server daemonization | June McEnroe | 2018-10-14 |
| | |||
* | Add -d and -s flags to server | June McEnroe | 2018-10-12 |
| | |||
* | Use PascalCase for constants | June McEnroe | 2018-09-30 |
| | |||
* | Send now in map | June McEnroe | 2018-08-25 |
| | |||
* | Calculate min and max meta for map server-side | June McEnroe | 2018-08-25 |
| | |||
* | Add g for flip | June McEnroe | 2018-08-23 |
| | |||
* | Replace client with rudimentary CP437 support | June McEnroe | 2018-08-21 |
| | |||
* | Shrink the torus and rearrange struct Tile | June McEnroe | 2018-08-21 |
| | |||
* | Remove spawns | June McEnroe | 2018-08-21 |
| | | | | | This reverts ce13621292bdfeafd7c6561c432a1d96deccbd3a and commits after it. | ||
* | Set client sockets SNDBUF to twice tile size | June McEnroe | 2018-07-25 |
| | | | | | On Darwin and FreeBSD, this is already the default buffer size, but on (32-bit?) NetBSD, it's only 4K. | ||
* | Revert "Do not set non-blocking on client sockets" | June McEnroe | 2018-07-24 |
| | | | | | | This reverts commit f4da47cb0ee659472b563b9e6443663c62a69996. There actually are adverse effects. | ||
* | Do not set non-blocking on client sockets | June McEnroe | 2018-07-24 |
| | | | | | | On NetBSD, the send buffer seems to only be 4096 bytes, so sending SERVER_TILE would get cut short. Just not setting non-blocking allows messages to properly get through and *seems* to have no adverse effect. | ||
* | Use EV_SET | June McEnroe | 2018-07-24 |
| | | | | | NetBSD kevent.udata is uintptr_t rather than void * and the macro does the cast. | ||
* | Add ARRAY_LEN macro | June McEnroe | 2018-07-19 |
| | |||
* | Add server map generation | June McEnroe | 2018-07-17 |
| | |||
* | Tabify source | June McEnroe | 2018-07-17 |
| | | | | And other style changes. | ||
* | Use anonymous union | June McEnroe | 2018-04-09 |
| | |||
* | Miscellaneous code cleanup | June McEnroe | 2018-03-05 |
| | |||
* | Pass message structs by value | June McEnroe | 2018-03-05 |
| | |||
* | Clean up spawn constants | June McEnroe | 2018-03-05 |
| | |||
* | Rename Tile timestamps {create,modify,access}Time | June McEnroe | 2018-03-05 |
| | |||
* | Remove leading blank lines | June McEnroe | 2017-09-27 |
| | |||
* | Assert client coords are valid after movement | June McEnroe | 2017-09-03 |
| | |||
* | Relicense AGPL | June McEnroe | 2017-09-03 |
| | | | | | | | I know it's already published under a permissive license in what is probably its final form, but I want to license it AGPL anyway on principle following some conversations I had about open source, corporations and copyleft. | ||
* | Remove clientRemove call from clientCast | June McEnroe | 2017-09-01 |
| | | | | | | | If an error occurs on a client socket during a broadcast, that client will show up in the kqueue loop with EV_EOF and get removed that way. Tested by sending SIGKILL to a client and watching its cursor disappear. | ||
* | Add four additional spawns | June McEnroe | 2017-08-29 |
| | |||
* | Add respawning | June McEnroe | 2017-08-28 |
| | |||
* | Use Makefile | June McEnroe | 2017-08-26 |
| | |||
* | Add license to C files | June McEnroe | 2017-08-24 |
| | | | | I feel like doing this now. | ||
* | Clean up unnecessary kevent initializers | June McEnroe | 2017-08-13 |
| | |||
* | Remove MADV_NOSYNC | June McEnroe | 2017-08-08 |
| | | | | | I don't think this has any benefit. It just takes longer to stop the server because it flushes all the pages then. | ||
* | Completely retry if a send fails during a broadcast | June McEnroe | 2017-08-08 |
| | | | | | | | | This fixes a bug where the saved next client to iterate through would also get removed. This can result in messages being sent multiple times to a client, but that will have no negative effect. | ||
* | Reverse order of main loop | June McEnroe | 2017-08-08 |
| | |||
* | Turn off SIGPIPE at the socket level | June McEnroe | 2017-08-08 |
| | | | | | I imagine it's better to not generate SIGPIPE at all rather than generate and ignore. | ||
* | Split tile access and modify | June McEnroe | 2017-08-02 |
| | |||
* | Madvise RANDOM and NOSYNC | June McEnroe | 2017-08-01 |
| | |||
* | Fix removing clients from clientCast | June McEnroe | 2017-07-31 |
| | |||
* | Don't dump tiles in core | June McEnroe | 2017-07-31 |
| | |||
* | Use designated initializers for messages | June McEnroe | 2017-07-31 |
| | | | | I did not realize this syntax was so powerful. | ||
* | Show other clients' cursors | June McEnroe | 2017-07-31 |
| | | | | Also unfuck removing on send failure. |