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