2005-12-07 Richard D. Worth <richard@theworths.org> * PROTOCOL: Remove unused error NOT_IN_GAME. Add error NOT_VALID_MOVE. * TODO: Add error NOT_VALID_MOVE. * src/ttt-error.h: * src/ttt-error.c: (ttt_error_string): Add section comments. Add error NOT_VALID_MOVE.
2005-12-06 Richard D. Worth <richard@theworths.org> * PROTOCOL: Add error NO_INVITE * TODO: Uncheck INVITE, ACCEPT * src/ttt-error.c: (ttt_error_string): Add errors NO_INVITE, NO_GAME * src/ttt-client.c: (_ttt_client_execute_message), (_ttt_client_execute_help), (_ttt_client_execute_version), (_ttt_client_execute_invite), (_ttt_client_execute_accept), (_ttt_client_execute_retract), (_ttt_client_execute_decline): Whitespace changes. Partially implement RETRACT, DECLINE.
2005-12-05 Richard D. Worth <richard@theworths.org> * PROTOCOL: Fill some missing possible error occurrences. * TODO: Check off INVITE, ACCEPT, ERROR COMMAND, ERROR NO_USER * src/ttt-server.h: * src/ttt-server.c: (ttt_server_verify_username): * src/ttt-client.c: (_ttt_client_execute_help), (_ttt_client_execute_invite), (_ttt_client_execute_accept): Implement INVITE, ACCEPT
2005-12-03 Richard D. Worth <richard@theworths.org> * PROTOCOL: Add RETRACT, DECLINE. Add game identifier for all game commands. * TODO: Add RETRACT, DECLINE, notices.
2005-12-03 Richard D. Worth <richard@theworths.org> * PROTOCOL: Add underscores to error codes. Add STATISTICS command. Remove statistics from WHO. * TODO: Add STATISTICS. Check off STATISTICS. * src/ttt.h: Define TTT_SERVER_PROTOCOL_VERSION for VERSION. * src/ttt-error.c: (ttt_error_string): Add underscores to error codes. * src/ttt-client.h: * src/ttt-client.c: (_ttt_client_execute_helo), (_ttt_client_execute_statistics), (_ttt_client_execute_message), (_ttt_client_execute_version), (_ttt_client_execute_quit), (_ttt_client_init), (_ttt_client_fini), (ttt_client_get_username), (ttt_client_set_username): Rename client->name to client->username. Implement STATISTICS. Complete implementation of VERSION. * src/ttt-server.h: * src/ttt-server.c: (ttt_server_register_client), (ttt_server_unregister_client), (ttt_server_who), (ttt_server_statistics): Track rename of client->name to client->username. Add server helper for STATISTICS.
2005-12-01 Richard D. Worth <richard@theworths.org> * TODO: Check off NOTICE MESSAGE, ERROR NONAMESET. * PROTOCOL: Add NONAMESET error in possible errors where applicable. Add description for MESSAGE. * src/ttt-token.h: Add token typedef. Rename token type enum. * src/ttt-lex.l: Add support for quoted string as single token. * src/ttt-lex.h: Autogenerated. * src/ttt-client.c: (_ttt_client_execute_helo), (_ttt_client_execute_who), (_ttt_client_execute_message), (_ttt_client_execute_help), (_ttt_client_execute_version), (_ttt_client_execute_quit), (_ttt_client_init), (_read_request), (_execute_request): Whitespace changes. Implement VERSION, HELP. Change args_required back to args_min and args_max (see PROTOCOL\HELP). Modify MESSAGE to accept one token arg and quote output. Return NONAMESET error where applicable.
2005-11-28 Kevin Worth <kevin@theworths.org> * PROTOCOL: Changed board cell numbering to start with zero instead of one. * src/Makefile.am: * src/test-board.c: (main): Added new file for testing. * src/ttt-board.c: (ttt_board_init), (ttt_board_to_string): * src/ttt-board.h: Implemented board_to_string.
2005-11-24 Carl Worth <cworth@cworth.org> * PROTOCOL: Document QUIT. * src/ttt-client.c: (_ttt_client_execute_helo), (_ttt_client_execute_quit), (_ttt_client_init), (_ttt_client_fini), (_execute_request), (_handle_requests_thread): Implement QUIT. Add client->registered flag and unregister only if registered. Change from args_min and args_max to args_required. * src/ttt-error.h: * src/ttt-error.c: (ttt_error_string): * src/ttt-server.c: (ttt_server_register_client): Put underscores in TTT_ERRROR names for better readability.
2005-11-24 Carl Worth <cworth@cworth.org> * PROTOCOL: * src/ttt-server.c: (ttt_server_init), (ttt_server_register_client): Remove unique-name generation from the server. The client is going to have to have code to do this anyway. * src/ttt-client.c: Change minimum arguments for HELO from 0 to 1. * TODO: Note that HELO and ERROR INVALIDNAME are implemented in the server.
* Missing files from rev235
Minor fixes
Quick pass to make it more like tic-tac-toe --- far from complete.
Commit RRGP protocol document as a starting point.