]> git.cworth.org Git - ttt/blobdiff - ChangeLog
2005-11-08 Carl Worth <cworth@cworth.org>
[ttt] / ChangeLog
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..b9e45631eadd88029b42ed81457d9b45057221ba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -0,0 +1,68 @@
+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.
+       * src/ttt-board.h: Added prototypes.
+
+2005-11-05  Richard D. Worth  <richard@theworths.org>
+
+       * src/args.c: Renamed ttt-args.c
+       * src/args.h: Renamed ttt-args.h
+       * src/ttt-args.c: (ttt_args_help), (ttt_args_usage),
+       (ttt_args_parse): Added ttt_ prefix.
+       * src/ttt-args.h: Added ttt_, TTT_ prefix.
+
+2005-11-05  Kevin Worth  <kevin@cworth.org>
+
+       * src/ttt-board.c: (ttt_board_init): Implemented board_init.
+       * src/ttt-board.h: (ttt_board_t): Added cells array.
+
+2005-11-05  Carl Worth  <cworth@cworth.org>
+
+       * src/Makefile.am: Add ttt-board.[ch] and x.[ch]
+       
+       * src/ttt-board.h:
+       * src/ttt-board.c: (ttt_board_init), (ttt_board_init_from_string),
+       (ttt_board_to_string), (ttt_board_write): Add some stub functions
+       for Richard and Kevin to have some practice
+       implementing. Functions to represent a board and to go to/from a
+       string.
+       
+       * src/x.h:
+       * src/x.c: (xasprintf), (xvasprintf), (xpipe), (xfork), (xmalloc),
+       (xcalloc), (xrealloc), (xfdopen), (xstrdup), (xfwrite): Several
+       utility functions that make system calls, check the result, and
+       exit on any error. This will simplify the error checking needed in
+       programs using these functions.
+       
+2005-11-05  Carl Worth  <cworth@cworth.org>
+
+       * src/Makefile.am: Break things up for separate ttt-client and
+       ttt-server and programs.
+