X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=ChangeLog;h=7fb5319b78584b5f81daf6a906640470f5ba73f1;hp=23619261d0816f38f4c121952bfee8e90d97e39b;hb=5e8532a5e248965f2ff3cfc01e9dcc307fe5825a;hpb=b18c78a24034922e7b9152a03683cf930d703dd0 diff --git a/ChangeLog b/ChangeLog index 2361926..7fb5319 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,152 @@ +2005-12-08 Carl Worth + + * src/ttt-server.c (main): When detached dup stdout to stderr so + that everything appears in the log file. + +2005-12-08 Carl Worth + + * src/ttt-args.h: + * src/ttt-args.c: (ttt_args_help), (ttt_args_parse): Add + -d,--detach and --pid-file=FILE options for running the server as + a daemon. + + * src/ttt-server.c: (ttt_server_statistics), + (ttt_server_verify_username), (_detach_and_write_child_pid_to), + (main): Add support for detaching and writing out the child PID to + a file. + + * src/x.h: + * src/x.c: (xfopen), (xdup2): Two new x-functions. + +2005-12-08 Carl Worth + + * src/ttt-args.c: (ttt_args_help), (ttt_args_parse): + * src/ttt-args.h: + * src/ttt-server.c: (ttt_server_statistics), + (ttt_server_verify_username), (_detach_and_write_child_pid_to), + (main): + * src/x.c: (xfopen), (xdup2): + * src/x.h: + +2005-12-08 Bryan Worth + * src/ttt-curses-client.c: Multiple improvements! + Username taken from USER environment variable and stored as + preference in ~/.ttt/client.conf (username=xxxxxx). Backspace + should now work correctly with all term types. Status messages + display in seperate area. "MESSAGE" reply from server is + suppressed. Eliminated most global variables. + + +2005-12-08 Carl Worth + + * src/Makefile.am: Fix rule to auto-generate ttt-lex.h. + + * src/ttt-lex.h: Remove generated file from revision control. + + * src/ttt-lex.l: Add copyright/license blurb. + + * src/ttt-lex.l: + * src/ttt-client.c: (yy_init_globals), (use_yy_init_globals): + Shut off some annoying compiler warnings due to flex bugs (only + one still remains). + +2005-12-07 Richard D. Worth + + * 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 Bryan Worth + * src/ttt-error.c: fixed missing errors (NO_INVITE, NO_GAME) + +2005-12-06 Richard D. Worth + + * 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 + + * 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-05 Richard D. Worth + + * src/ttt-curses-client.c: (mvprintstr), (mvwprintstr), (wprint), + (main), (finish): Whitespace changes. + +2005-12-04 Bryan Worth + * src/ttt-socket.c: (ttt_socket_create_client) fixed socket to be + non-blocking. (ttt_socket_read) added return value for number + of bytes read + * Makefile.am: added necessary code for new curses-client program. + * src/ttt-curses-client: new ncurses based client + +2005-12-03 Richard D. Worth + + * PROTOCOL: Add RETRACT, DECLINE. Add game identifier for all game + commands. + + * TODO: Add RETRACT, DECLINE, notices. + +2005-12-03 Richard D. Worth + + * 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-02 Richard D. Worth + + * TODO: Check off Global commands, HELP, VERSION. + + * src/ttt-client.c: (_ttt_client_execute_message), + (_ttt_client_execute_help), (_execute_request): Whitespace + changes. Implement HELP with usage and short description. + + * src/ttt-server.c: Update the server welcome message. + 2005-12-01 Richard D. Worth * TODO: Check off NOTICE MESSAGE, ERROR NONAMESET.