Changes to support generation of C bindings docs.
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-08-20  Bill Haneman <bill.haneman@sun.com>
2
3         * docs/at-spi-docs.sgml:
4         * docs/at-spi-sections.txt:
5         * docs/at-spi-overrides.txt: (Added zero-length file)
6         Documentation improvements - gtk-doc should build
7         docs for all implemented C bindings now.
8         * cspi/Makefile.am:
9         * cspi/spi_main.c:
10         * cspi/spi.c: (New file)
11         * cspi/spi_event.c: (New file)
12         * cspi/spi_registry.c: (New file)
13         * cspi/spi_accessible.c: (New file)
14         * cspi/spi_application.c: (New file)
15         * cspi/spi_component.c: (New file)
16         Split spi_main.c into six parts, and included them from
17         "spi.c".  This is a bit of a hack, probably temporary,
18         but required by gtk-doc, apparently.
19         
20 2001-08-20  Bill Haneman <bill.haneman@sun.com>
21
22         * docs/Makefile.am:
23         * docs/at-spi-docs.sgml:
24         * docs/at-spi-sections.txt:
25         * configure.in:
26         Initial checkins/modifications for gtk-doc generation.
27         * cspi/spi.h:
28         * cspi/spi.c:
29         Added (missing) interface query methods to Accessible's C binding.
30         * cspi/spi-impl.h:
31         Added GenericInterface type definition.
32         * test/simple-at.c:
33         Added query for AccessibleComponent interface to focus event handler.
34         Added printout of bounding box for focussed component.
35         * libspi/component.c:
36         Added partial implementation for AccessibleComponent to C binding.
37         * idl/Application.idl:
38         * libspi/registry.c:
39         * libspi/listener.c:
40         * libspi/application.c:
41         * libspi/application.h:
42         Changed "ID" attribute type from string to long.
43
44 2001-08-19  Bill Haneman <bill.haneman@sun.com>
45
46         * cspi/spi.h:
47         * cspi/spi.c:
48         Made method naming consistent: methods taking object args
49         start with uppercase, other methods (except those using
50         acronyms) start with lowercase.  Underscores delimit between
51         object names and method names:
52         SPI_init() - uppercase since it starts with an acronym.
53         getDesktopCount () - lowercase start since no object param0.
54         Accessible_getName() - uppercase object type name, studlyCaps method
55                                name.
56
57         *cspi/spi.h:
58         Added gtk-doc documentation for all currently implemented
59         methods in the C bindings API.
60
61 2001-08-18  Bill Haneman <bill.haneman@sun.com>
62
63         * Makefile.am : changed build order to build test last.
64         * cspi/spi.h :
65         * cspi/spi_main.c :
66         Changed "createEventListener" to "CreateEventListener".
67         * libspi/accessibleeventlistener.c :
68         Bugfix for addition of callbacks.
69         * test/Makefile.am :
70         * test/simple-at.c :
71         Added new test that uses the C bindings API.
72         * idl/Event.idl :
73         * libspi/listener.c :
74         * libspi/registry.c :
75         * libspi/accessibleeventlistener.c :
76         * at-bridge/bridge.c :
77         Renamed member "target" of Accessibility_Event to "source",
78         which is more descriptive.
79         
80
81 2001-08-18  Bill Haneman <bill.haneman@sun.com>
82
83         * Makefile.am: 
84         * configure.in :
85         * cspi/Makefile.am :
86         Added makefile support for at-spi/cspi directory.
87         * cspi/spi.h : 
88         * cspi/spi-impl.h :
89         * cspi/spi-listener.h : (NEW FILE)
90         Added support for/use of spi-listener.h.
91         * cspi/spi_main.c :
92         C bindings now build successfully, with no warnings.
93         * libspi/accessibleeventlistener.h : (NEW FILE)
94         * libspi/accessibleeventlistener.c : (NEW FILE)
95         * libspi/Makefile.am :
96         Added new object type "AccessibleEventListener"
97         which inherits from Listener, and allows attachment
98         of in-process callbacks (so that a client with a listening
99         object instance can add functionality to the local 
100         implementation, dynamically).
101
102 2001-08-18  Bill Haneman <bill.haneman@sun.com>
103
104         * libspi/accessible.c: 
105         Add implementation for get_index_in_parent().
106         * cspi/spi.h : 
107         Added #include of "spi-roletypes.h", and
108         added enumerated type AccessibleCoordType.
109         Added definition for KeystrokeListener (function type).
110
111         ADDED FILES:
112         * cspi/spi-statetypes.h :
113         * cspi/spi-roletypes.h :
114         * cspi/spi-impl.h :
115         Added these headers, used by spi.h.
116         * cspi/spi_main.c : 
117         Added code (NOTE: not yet built by make).
118
119 2001-08-18  Mark McLoughlin <mark@skynet.ie>
120
121         * libspi/Makefile.am: generate imodule
122         at the same time as other idl compiler 
123         generated files. 
124
125 2001-08-17  Bill Haneman <bill.haneman@sun.com>
126         * libspi/registry.c :
127         * libspi/application.c :
128         * idl/Application.idl :
129         Made registration with toolkit an application method,
130         which is required since each app has its own toolkit static
131         environment.  Thus the bridge must register for 
132         notification of toolkit events from each application in turn.
133         Toolkit notifications are now successfully registered for, and
134         sent to the listening at client.
135         * test/at.c :
136         Changed toolkit event string to use hyphens rather than underscores.
137         * libspi/listener.c :
138         listner now gives more info in debug mode - it reports the
139         name of the event received, as well as the name of the source.
140         
141
142 2001-08-16  Bill Haneman <bill.haneman@sun.com>
143
144         * libspi/registry.c :
145         added more implementation for toolkit events.
146         Fixed bug such that toolkit event registrations
147         (via atk) use the whole event name string, not 
148         just minor+detail.
149         Removed a useless call to an ORBit_ method.
150         * at-bridge/bridge.c :
151         Removed unused local sbuf[] variable.
152         * test/at.c :
153         We now register for Gtk:GtkWidget:button_press_event 
154         events as well as "focus:" events.
155         * cspi/spi.h :
156         Add some more API from Registry.idl that was missing,
157         for keystroke listening, keystroke and mouse event
158         synthesis, and enumeration of accessible desktops.
159
160 2001-08-16  Michael Meeks  <michael@ximian.com>
161
162         * configure.in: use AM_GLIB_GNU_GETTEXT.
163
164         * Makefile.am (SUBDIRS): kill intl.
165
166 2001-08-15  Michael Meeks  <michael@ximian.com>
167
168         * registryd/Makefile.am: s/oaf/server/ relocate info file.
169
170         * configure.in: upd.
171
172         * configure.in: depend on a recent bonobo-activation that
173         will find our server files ...
174
175 2001-08-16  Bill Haneman <bill.haneman@sun.com>
176
177         * libspi/accessible.c : accessible_new() :
178         Now we add the Component interface via bonobo_object_add_interface,
179         if the contained AtkObject implements AtkComponent.
180         * libspi/accessible.h : now include "component.h"
181         * libspi/component.h :
182         * libspi/component.c : added files - implementation of
183         bonobo wrapper object for Accessibility/Component
184         * libspi/listener.c :
185         Added test code to check for Accessibility/Component:1.0
186         interface and report whether it is implemented by the
187         event source.
188         * libspi/registry.c :
189         Now we check for not only the hash of the whole event 
190         string before relaying the event, we also check the
191         "minor" event string (without the detail string).
192         This allows event listeners to be registered against
193         all events of a certain major+minor type, or just
194         against a specific major+minor+detail type.
195         * libspi/accessible.c :
196         Added implementations for Accessible:get_parent(),
197         Accessible:getChildCount(), and Accessible:getChildAtIndex().
198         * libspi/registry.c :
199         * libspi/listener.c :
200         Replaced calls to Accessibility_Accessible_ref() and
201         Accessibility_Accessible_unref() with 
202         calls to bonobo_object_dup_ref() and 
203         bonobo_object_release_unref(), so that the CORBA object
204         is dup-ed and released when relayed, as well as the bonobo object.
205
206 2001-08-15  Mark McLoughlin <mark@skynet.ie>
207
208         * libspi/Makefile.am,
209           registryd/Makefile.am,
210           at-bridge/Makefile.am.
211           test/Makefile.am, configure.in:
212         reverse previous changes.
213
214         * /idl/Image.idl: fix typo.
215
216         * test/Makefile.am: put DEBUG_FLAGS
217         in CFLAGS.
218
219 2001-08-15  Mark McLoughlin <mark@skynet.ie>
220
221         * test/app.c: use argv[0] instead of
222         g_type_prgname.
223
224 2001-08-15  Mark McLoughlin <mark@skynet.ie>
225
226         * libspi/Makefile.am,
227           registryd/Makefile.am,
228           at-bridge/Makefile.am.
229           test/Makefile.am, configure.in:
230         cleanup, replace individual LIBS/CFLAGS with
231         AT_COMMON_{LIBS|CFLAGS}.
232
233         * README: format.
234
235 2001-08-15  Mark McLoughlin <mark@skynet.ie>
236         
237         * configure.in, libspi/Makefile.am:
238         Change IDL path checking for bonobo-activation
239         as opposed to oaf.
240
241 2001-08-15  Bill Haneman <bill.haneman@sun.com>
242
243         * registryd/registry.c : separated event listeners to use
244         3 separate lists (focus, window, toolkit).  Began testing
245         event names against hashes before relaying events.
246         * test/at.c : now register for events of type "focus:"
247         * test/app.c : now generate events of type "focus:"
248         * at-bridge/bridge.c : register with ATK for focus events,
249         and we now relay those focus events to any "focus:" listeners.
250         This now works with the bridge as a GTK_MODULE when running test/at.
251         * libspi/registry.c :
252         * libspi/listener.c : 
253         now we ref event sources before propagating, and unref on receipt.
254         * libspi/registry.c : 
255         some changes to internal structs, to support event typestring hashes.
256         * text/app.c : changed the way the appname is generated.
257         * cspi : added directory that will hold the C bindings library for 
258                 non-CORBA/bonobo-savvy clients.
259         * cspi/spi.h : header file that contains the function prototypes for the C binding.
260         * idl/Component.idl : added in parameter to indicate coord system for
261                 geometry-related calls.
262         * idl/Hyperlink.idl : added readonly n_links attribute
263         * idl/Image.idl : changed methods to attributes.
264         
265 2001-08-15  Mark McLoughlin <mark@skynet.ie>
266
267         * at-bridge/Makefile.am: link against
268         ../libspi/libspi.la instead of -lspi.
269
270         * at-spi/test/app.c: include 
271         bonobo-activation.h. Use a default appname
272         if one is not provided.
273
274 2001-08-14  Bill Haneman <bill.haneman@sun.com>
275
276         * idl/Registry.idl : temporarily changed register_Application
277         to oneway, to work around issue with initial registration 
278         re-entrancy.
279         * idl/Application.idl : changed attribute "id" from readonly 
280         to read-write, since it needs to be assigned by Registry.
281         * registryd/registryd.c : added call to set application id 
282         on registration.
283         * registryd/registry.c : changed de-registration procedure to
284         use CORBA_Object_hash() to find matching object ref in application
285         lists and listener lists.
286         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
287         began distinguishing between event types (work in progress).
288
289 2001-08-13  Bill Haneman <bill.haneman@sun.com>
290
291         CHANGES:
292         * libspi/application.c:
293         Added implementations for get/set id, get_toolkitName,
294         get_version.
295         * registryd/registryd.c :
296         * test/at.c :
297         * test/app.c :
298         * Makefile.am :
299         Converted from use of OAF to bonobo-activation.
300         * libspi/desktop.h :
301         * libspi/desktop.c :
302         * test/app.c :
303         Removed references to atksimpleobject, since base atkobject
304         implementation now provides functionality we need.
305         * libspi/atksimpleobject.c :
306         * libspi/atksimpleobject.h :
307         Removed.
308         
309         ADDITIONS:
310         * at-bridge
311         * at-bridge/Makefile.am
312         * at-bridge/bridge.c
313         * configure.in
314         * Makefile.am
315         Added directory "bridge" and contents, and added dependencies
316         in Makefile.am/configure.in.  
317         Initial checkin of "at-bridge".
318         This code is a GTK_MODULE which automatically registers
319         GTK+ apps with the accessibility registry, using an object
320         reference to the root ATK object.
321         
322 2001-08-10  Mark McLoughlin <mark@skynet.ie>
323
324         * po/Makefile.in.in: Remove. Again. If this
325         doesn't get autogenerated - you need to update
326         gnome-common.
327
328 2001-08-07  Mark McLoughlin <mark@skynet.ie>
329
330         * po/Makefile.in.in: Add. Again.
331
332 2001-07-31  Bill Haneman <bill.haneman@sun.com>
333
334         * libspi/accessible.c : added support for 'description' property.
335         * libspi/accessible.c
336         * libspi/desktop.c
337         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
338             (since the two are now equivalent in libbonobo)
339         * idl/Action.idl
340         * idl/Component.idl
341         * idl/Hyperlink.idl
342         * idl/Image.idl
343         * idl/Selection.idl
344         * idl/Table.idl
345         * idl/Text.idl
346         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
347              Bonobo::Unknown as does Accessibility::Accessible.
348         * idl/StreamableContent.idl : as above, and replaced internal InputStream
349              interface with Bonobo::Stream, since it was redundant with it.
350              (The Stream returned by a StreamableContext object is expected to
351              implement only a subset of Bonobo::Stream)
352
353 2001-07-28  Anders Carlsson  <andersca@gnome.org>
354
355         * libspi/accessible.c (accessible_object_finalize): Change
356           g_free to g_object_unref since the AtkObject is a GObject.
357
358 2001-07-30  Bill Haneman <bill.haneman@sun.com>
359
360         * idl/Accessibility.idl: add new IDL files
361         
362         Added:
363         * idl/Action.idl: Definitions of actionable UI object
364         * idl/Component.idl: Definitions of UI component geometry, etc.
365         * idl/Hyperlink.idl: Defs of hyperlink behavior
366         * idl/Image.idl: Def of accessible image
367         * idl/Selection.idl: Definition of UI object with selectable children
368         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
369         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
370         * idl/Text.idl: Interface defs for UI elements with complex textual content
371         * idl/Value.idl: Definition of UI element that is a value controller or display
372         
373 2001-07-27  Michael Meeks  <michael@ximian.com>
374
375         * po/Makefile.in.in: remove autogenerated file from CVS.
376
377         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
378         type library.
379
380         * idl/Registry.idl: include guard.
381
382         * idl/Accessibility.idl: Add, and include all the other IDL
383         files.
384
385         * idl/*.idl: remove mass of pragmas etc.
386
387 2001-07-26  Michael Meeks  <michael@ximian.com>
388
389         * registryd/Makefile.am (registryd_SOURCES): remove
390         redundant at_.
391
392 2001-07-27  Mark McLoughlin <mark@skynet.ie>
393
394         * libspi/.cvsignore, registryd/.cvsignore,
395           test/.cvsignore: updated.
396
397         * po/Makefile.in.in: gettext update.
398
399 2001-07-25  Bill Haneman <bill.haneman@sun.com>
400
401         * initial CVS checkin
402
403 2001-06-29  Michael Meeks  <michael@ximian.com>
404
405         * configure.in: add AM_CONFIG_HEADER to gen config.h
406
407         * acconfig.h: add.
408