Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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. | ||
* | Track tile access counts | June McEnroe | 2017-07-31 |
| | |||
* | Handle large moves | June McEnroe | 2017-07-31 |
| | |||
* | Track color only client-side | June McEnroe | 2017-07-30 |
| | |||
* | Add tile create and access timestamps | June McEnroe | 2017-07-30 |
| | |||
* | Initial commit | June McEnroe | 2017-07-30 |