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