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