need to include <sys/time.h> explicitly for the timeval struct on my system
[platform/upstream/dbus.git] / ChangeLog
1 2002-12-15  Harri Porten  <porten@kde.org>
2
3         * autogen.sh: check for libtoolize before attempting to use it 
4         * dbus/dbus-transport-unix.c: include <sys/time.h> for timeval struct.
5
6 2002-12-15  Havoc Pennington  <hp@pobox.com>
7
8         * dbus/dbus-threads.c: add thread stubs that a higher library
9         layer can fill in. e.g. the GLib wrapper might fill them in with
10         GThread stuff. We still need to use this thread API to
11         thread-safe-ize the library.
12
13 2002-12-12  Havoc Pennington  <hp@pobox.com>
14
15         * dbus/dbus-transport-unix.c, dbus/dbus-server-unix.c: use the
16         below new interfaces and include fewer system headers.
17
18         * dbus/dbus-sysdeps.c (_dbus_read): new function
19         (_dbus_write): new function
20         (_dbus_write_two): new function
21         (_dbus_connect_unix_socket): new function
22         (_dbus_listen_unix_socket): new function
23
24         * dbus/dbus-message-internal.h: change interfaces to use
25         DBusString
26
27 2002-12-11  Havoc Pennington  <hp@pobox.com>
28
29         * dbus/dbus-types.h: add dbus_unichar
30
31         * dbus/dbus-internals.c (_dbus_verbose): use _dbus_getenv
32
33         * dbus/dbus-connection.c (dbus_connection_send_message): return
34         TRUE on success
35
36         * dbus/dbus-transport.c: include dbus-watch.h   
37
38         * dbus/dbus-connection.c: include dbus-message-internal.h
39
40         * HACKING: add file with coding guidelines stuff.
41
42         * dbus/dbus-string.h, dbus/dbus-string.c: Encapsulate all string
43         handling here, for security purposes (as in vsftpd). Not actually
44         using this class yet.
45
46         * dbus/dbus-sysdeps.h, dbus/dbus-sysdeps.c: Encapsulate all
47         system/libc usage here, as in vsftpd, for ease of auditing (and
48         should also simplify portability). Haven't actually moved all the
49         system/libc usage into here yet.
50         
51 2002-11-25  Havoc Pennington  <hp@pobox.com>
52
53         * dbus/dbus-internals.c (_dbus_verbose): fix to not 
54         always print the first verbose message.
55
56 2002-11-24  Havoc Pennington  <hp@pobox.com>
57
58         * test/echo-client.c, test/echo-server.c: cheesy test 
59         clients.
60         
61         * configure.in (AC_CHECK_FUNCS): check for writev
62
63         * dbus/dbus-message.c (_dbus_message_get_network_data): new
64         function
65
66         * dbus/dbus-list.c (_dbus_list_foreach): new function
67
68         * dbus/dbus-internals.c (_dbus_verbose): new function
69
70         * dbus/dbus-server.c, dbus/dbus-server.h: public object
71         representing a server that listens for connections.
72
73         * dbus/.cvsignore: create
74
75         * dbus/dbus-errors.h, dbus/dbus-errors.c:
76         public API for reporting errors
77
78         * dbus/dbus-connection.h, dbus/dbus-connection.c:
79         public object representing a connection that 
80         sends/receives messages. (Same object used for 
81         both client and server.)
82
83         * dbus/dbus-transport.h, dbus/dbus-transport.c:
84         Basic abstraction for different kinds of stream
85         that we might read/write messages from.
86
87 2002-11-23  Havoc Pennington  <hp@pobox.com>
88
89         * dbus/dbus-internals.h (_DBUS_INT_MAX): add _DBUS_INT_MIN 
90         _DBUS_INT_MAX
91
92         * dbus/dbus-test.c (main): add list test, and include 
93         dbus-test.h as intended
94
95         * dbus/dbus-hash.c (_dbus_hash_table_remove_string) 
96         (_dbus_hash_table_remove_int): return value indicates 
97         whether the entry existed to remove
98
99         * dbus/dbus-list.c: add linked list utility class, 
100         with docs and tests
101
102         * dbus/dbus-hash.c: add TODO item about shrinking the hash bucket 
103         array sometimes.
104
105 2002-11-23  Havoc Pennington  <hp@pobox.com>
106
107         * Doxyfile.in (INCLUDE_FILE_PATTERNS): expand DBUS_BEGIN_DECLS/
108         DBUS_END_DECLS to nothing, that should fix this once and for all
109
110         * Doxyfile.in (JAVADOC_AUTOBRIEF): set to YES
111
112         * dbus/dbus-message.c, dbus/dbus-hash.c: 
113         add some missing @brief
114
115 2002-11-23  Havoc Pennington  <hp@pobox.com>
116
117         * dbus/dbus-message.h: put semicolons after DEBUG_BEGIN_DECLS 
118         to avoid confusing Doxygen
119
120         * dbus/dbus-hash.c: @} not }@
121
122         * dbus/dbus-message.c (struct DBusMessage): split out 
123         internals docs
124
125 2002-11-23  Havoc Pennington  <hp@pobox.com>
126
127         * configure.in: pile on more warning flags if using gcc
128
129         * Doxyfile.in (EXTRACT_STATIC): set to NO, so we don't have 
130         to document static functions
131
132         * configure.in: add summary to end of configure so it 
133         looks nice and attractive
134
135         * dbus/dbus-hash.c: finish implementation and write unit 
136         tests and docs
137
138         * configure.in: add --enable-tests to enable unit tests
139
140         * dbus/dbus-test.c: test program to run unit tests 
141         for all files in dbus/*, initially runs a test for 
142         dbus-hash.c
143         
144         * dbus/dbus-internals.h: file to hold some internal utility stuff
145
146 2002-11-22  Havoc Pennington  <hp@redhat.com>
147
148         * dbus/dbus-hash.c: copy in Tcl hash table, not yet 
149         "ported" away from Tcl
150
151         * dbus/dbus-types.h: header for types such as dbus_bool_t
152
153 2002-11-22  Havoc Pennington  <hp@redhat.com>
154
155         * dbus/dbus.h: fixups for doc warnings
156
157         * Doxyfile.in (FILE_PATTERNS): we need to scan .h to pick up 
158         macros
159         (QUIET): make it quiet so we can see warnings
160
161         * dbus/dbus-memory.c: teach D-BUS to allocate and free memory
162
163 2002-11-22  Havoc Pennington  <hp@redhat.com>
164
165         * Makefile.am: include "Doxyfile" target in all-local
166
167         * configure.in: generate the Doxyfile
168
169         * Doxyfile.in: move Doxyfile here, so we can use 
170         configure to generate a Doxyfile with the right 
171         version number etc.
172
173 2002-11-22  Havoc Pennington  <hp@redhat.com>
174
175         * dbus/dbus-message.c: move inline docs into .c file
176
177         * Doxyfile (OUTPUT_DIRECTORY): move output to doc/api
178         so all docs are under doc/
179         (MAN_EXTENSION): generate man pages. Use extension 
180         ".3dbus" which matches ".3qt" on my system, 
181         I guess this is OK, I don't know really.
182         (FILE_PATTERNS): look for .c files not .h, makes sense
183         for plain C I think
184
185 2002-11-22  Havoc Pennington  <hp@pobox.com>
186
187         * Makefile.am (SUBDIRS): rename subdir "server" to "bus" 
188         because any app can be a server, and any app can be a client, 
189         the bus is a special kind of server.
190
191 Thu Nov 21 23:35:31 2002  Zack Rusin  <zack@kde.org>
192
193         * Doxyfile : adding. Still needs Makefile rules to be generated
194         automatically (just run "doxygen" in the toplevel dir for now to
195         generate docs)
196         
197         * dbus/dbus-message.h : Adding sample docs (javadoc since
198         resembles gtk-doc a little more)
199
200         * dbus/dbus.h : Adding sample docs
201
202 2002-11-21  Havoc Pennington  <hp@redhat.com>
203
204         * dbus/Makefile.am (INCLUDES): define DBUS_COMPILATION 
205         so we can allow ourselves to include files directly, 
206         instead of having to use dbus.h
207
208         * dbus/dbus.h: fill in
209
210         * dbus/dbus-message.h: sketch out a sample header file.
211         Include griping if you include it directly instead of 
212         via dbus.h
213
214         * dbus/dbus-macros.h: new file with macros for extern "C", 
215         TRUE/FALSE, NULL, etc.
216
217         * doc/file-boilerplate.c: put include guards in here
218
219 2002-11-21  Havoc Pennington  <hp@redhat.com>
220
221         * doc/file-boilerplate.c: include both AFL and GPL boilerplate.
222
223         * COPYING: include the GPL as well, and license code 
224         under both AFL and GPL.
225
226 2002-11-21  Havoc Pennington  <hp@redhat.com>
227
228         * acconfig.h: get rid of this
229
230         * autogen.sh (run_configure): add --no-configure option
231
232         * configure.in: remove AC_ARG_PROGRAM to make
233         autoconf complain less. add AC_PREREQ. 
234         add AC_DEFINE third arg.
235         
236 2002-11-21  Anders Carlsson  <andersca@codefactory.se>
237
238         * doc/Makefile.am:
239         Fix references so we can distcheck.
240
241 2002-11-21  Havoc Pennington  <hp@redhat.com>
242
243         * Initial module creation
244