]> git.cworth.org Git - ttt/blobdiff - ChangeLog
2005-11-09 Carl Worth <cworth@cworth.org>
[ttt] / ChangeLog
index e7d6dd684dcb0fbb2c56ebf977b39b60b4b3a7fc..3ff9e6bf600c9431c83944c4c6d4d9c4249b0c8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,58 @@
+2005-11-09  Carl Worth  <cworth@cworth.org>
+
+       * 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  <cworth@cworth.org>
+
+       * 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  <cworth@cworth.org>
+
+       * 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  <cworth@cworth.org>
+
+       * src/ttt.h: Grab some useful definitions from wdo.h:
+       ASSERT_NOT_REACHEED and TTT_PRINTF_FORMAT. Add several needed
+       include directives.
+
+       * src/Makefile.am: Rip out not-yet existing ttt-command and
+       ttt-error.
+       
+       * src/ttt-args.c: (ttt_args_parse): Track name change from
+       args_help to ttt_args_help.
+
+       * src/ttt.c: Remove in favor of ttt-server.c and ttt-client.c.
+       
+       * src/x.h: Add prototype for xfwrite.
+
 2005-11-05  Richard D. Worth  <richard@theworths.org>
 
        * src/ttt-board.c: (ttt_board_init): Added for loop counter init.