]> git.cworth.org Git - ttt/blob - ChangeLog
b9e45631eadd88029b42ed81457d9b45057221ba
[ttt] / ChangeLog
1 2005-11-08  Carl Worth  <cworth@cworth.org>
2
3         * src/ttt.h:
4         * src/ttt-server.c: (_sockaddr_init), (_wait_for_connection),
5         (main): Add socket, bind, listen, accept calls to provide a
6         simple, functional, one-shot server demonstration.
7
8         * src/x.h:
9         * src/x.c: (xsocket), (xbind), (xlisten), (xfcntl), (xselect): Add
10         more wrapped system calls.
11
12 2005-11-07  Carl Worth  <cworth@cworth.org>
13
14         * src/ttt.h: Grab some useful definitions from wdo.h:
15         ASSERT_NOT_REACHEED and TTT_PRINTF_FORMAT. Add several needed
16         include directives.
17
18         * src/Makefile.am: Rip out not-yet existing ttt-command and
19         ttt-error.
20         
21         * src/ttt-args.c: (ttt_args_parse): Track name change from
22         args_help to ttt_args_help.
23
24         * src/ttt.c: Remove in favor of ttt-server.c and ttt-client.c.
25         
26         * src/x.h: Add prototype for xfwrite.
27
28 2005-11-05  Richard D. Worth  <richard@theworths.org>
29
30         * src/ttt-board.c: (ttt_board_init): Added for loop counter init.
31         * src/ttt-board.h: Added prototypes.
32
33 2005-11-05  Richard D. Worth  <richard@theworths.org>
34
35         * src/args.c: Renamed ttt-args.c
36         * src/args.h: Renamed ttt-args.h
37         * src/ttt-args.c: (ttt_args_help), (ttt_args_usage),
38         (ttt_args_parse): Added ttt_ prefix.
39         * src/ttt-args.h: Added ttt_, TTT_ prefix.
40
41 2005-11-05  Kevin Worth  <kevin@cworth.org>
42
43         * src/ttt-board.c: (ttt_board_init): Implemented board_init.
44         * src/ttt-board.h: (ttt_board_t): Added cells array.
45
46 2005-11-05  Carl Worth  <cworth@cworth.org>
47
48         * src/Makefile.am: Add ttt-board.[ch] and x.[ch]
49         
50         * src/ttt-board.h:
51         * src/ttt-board.c: (ttt_board_init), (ttt_board_init_from_string),
52         (ttt_board_to_string), (ttt_board_write): Add some stub functions
53         for Richard and Kevin to have some practice
54         implementing. Functions to represent a board and to go to/from a
55         string.
56         
57         * src/x.h:
58         * src/x.c: (xasprintf), (xvasprintf), (xpipe), (xfork), (xmalloc),
59         (xcalloc), (xrealloc), (xfdopen), (xstrdup), (xfwrite): Several
60         utility functions that make system calls, check the result, and
61         exit on any error. This will simplify the error checking needed in
62         programs using these functions.
63         
64 2005-11-05  Carl Worth  <cworth@cworth.org>
65
66         * src/Makefile.am: Break things up for separate ttt-client and
67         ttt-server and programs.
68