X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=ChangeLog;h=d7cc7f95f8f80595d4f353e8473325c8d79f753e;hp=08b40e2e579d807f81be9e5f4da27a4855afd89e;hb=ded32923a25488449be27687013845d7fa0e9e5e;hpb=80c3009d01077a141a0803267a1f0aff217ed61c diff --git a/ChangeLog b/ChangeLog index 08b40e2..d7cc7f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,72 @@ +2005-11-11 Carl Worth + + * src/ttt-server.c: (main): Don't assign to stderr which is + apparently an invalid lvalue on Mac OS X. + + * src/x.h: + * src/x.c: (xfreopen): Change return type to void. + + * src/ttt-board.c: (ttt_board_to_string): Add missing return + statement. + +2005-11-11 Carl Worth + + * configure.in: Key off of src/ttt.h instead of src/ttt.c which no + longer exists. + +2005-11-11 Carl Worth + + * src/ttt.h: + * src/x.c: + * src/x.h: Move include of stdarg.h from x.c to ttt.h. + +2005-11-11 Carl Worth + + * src/ttt-board.h: Include ttt.h to get standard includes. + + * src/ttt-socket.c: Replace include of netinet/ip.h with + netinet/in.h which seems to be necessary for BSD libc, (eg. Mac OS + X). + +2005-11-09 Carl Worth + + * src/Makefile.am: + * src/ttt.h: + * src/ttt-server.c: (ttt_dispatch), (main): + * src/ttt-socket.h: + * src/ttt-socket.c: (_sockaddr_init), (_wait_for_connection), + (ttt_socket_create_server), (ttt_socket_accept): Push a lot of + code out of ttt-server.c down into a new ttt_socket abstraction + layer. The code is much easier to read now. The server also no + longer exits when the first client exits, but continues to listen + for more connections. + +2005-11-09 Carl Worth + + * src/ttt-args.h: + * src/ttt-args.c: (ttt_args_help), (ttt_args_parse): Add support + for -h,--host, -p,--port, and --log-file command-line arguments. + + * src/ttt-server.c: (main): Use host, port, and log-file + command-line arguments. + + * src/ttt-client.c: (main): Track change in signature of + ttt_args_parse. + + * src/x.h: + * src/x.c: (xfdopen), (xfreopen): More wrappers. + +2005-11-08 Carl Worth + + * src/ttt.h: + * src/ttt-server.c: (_sockaddr_init), (_wait_for_connection), + (main): Add socket, bind, listen, accept calls to provide a + simple, functional, one-shot server demonstration. + + * src/x.h: + * src/x.c: (xsocket), (xbind), (xlisten), (xfcntl), (xselect): Add + more wrapped system calls. + 2005-11-07 Carl Worth * src/ttt.h: Grab some useful definitions from wdo.h: