Added support for Accessible_getRole(). Also provided conversion
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
2         * cspi/spi_accessible.c:
3                 Added method Accessible_Role_getName(),
4                         and requisite string array (role_names).
5                 Added conversion string_from_corba_strin() call
6                         to Accessible_getName and _getDescription.
7         * libspi/accessible.c:
8                 Added implementation for Accessible_getRole()
9         * test/simple-at.c:
10                 Added festival support, used if environment variable
11                         FESTIVAL is set.
12
13 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
14         * cspi/Makefile.am:
15                 Added spi-util.c.
16
17         * cspi/spi-util.c:
18                 Fixed typo
19
20         * cspi/spi.c:
21                 Added interface implementation c files to list of
22                         includes so they are included in libcspi.
23
24         * cspi/spi.h:
25                 Changed prototype of AccessibleAction_doAction to return a
26                         boolean.
27                 Changed prototype of AccessibleTable_getCaption to
28                         return an Accessible.
29                 Changed prototype of AccessibleTable_getSelectedRows
30                         and AccessibleTable_getSelectedColumns to
31                         return a long (returns the number of selected rows
32                         or columns respectively).
33                 Changed name of AccessibleText_refRunAttributes to
34                         AccessibleText_getAttributes.
35                 Changed prototype of AccessibleText_getCharacterExtents to
36                         return a void rather than a boolean. 
37                 Added support for a AccessibleCoordType parameter
38                         specifying what type of coordinates are desired.
39                 Added an AccessibleCordType parameter to
40                         AccessibleText_getPointAtOffset.
41
42         * cspi/spi_accessible.c:
43                 Added code to return the outstanding interfaces from
44                         Accessible_queryInterface.
45
46         * cspi/spi_action.c:
47                 Fixed typos.
48                 Corrected call to getNActions to call the c binding
49                         for an attribute.
50
51         * cspi/spi_editabletext.c:
52                 Fixed typos.
53                 Changed name from setRunAttributes to setAttributes.
54
55         * cspi/spi_hyperlink.c:
56                 Fixed typos.
57                 Changed call to getNAnchors to correctly call the c
58                         binding for an attribute.
59
60         * cspi/spi_hypertext.c:
61                 Fixed typos.
62                 Changed getImageDescription to correctly call the
63                         binding for an attribute.
64
65         * cspi/spi_selection.c:
66                 Changed getNSelectedChildren to correctly call the c
67                         binding for the attribute.
68                 Changed refSelectedChild to getSelectedChild.
69
70         * cspi/spi_table.c:
71                 Fixed typos.
72                 Changed getCaption to return an Accessible.
73                 Fixed calls which retrieve attributes.
74                 Changed refAt to getAccessibleAt.
75                 Changed getNSelectedRows and getNSelectedColumns to
76                         return longs.
77
78         * cspi/spi_text.c:
79                 Changed getCharacterExtents and getPointAtOffset to accept an
80                         AccessibleCoordType.
81                 Fixed typos.
82                 Changed calls which retrieve attributes.
83                 Changed refRunAttributes to getAttributes.
84
85         * cspi/spi_value.c:
86                 Fixed typos.
87
88         * idl/Hyperlink.idl:
89                 Changed n_anchors attribute to nAnchors to keep naming
90                         convention consistent.
91
92         * idl/Table.idl:
93                 Made Table inherit from Bonobo::Unknown.
94                 Added nSelectedColumns and nSelectedRows attributes.
95
96         * idl/Value.idl:
97                 Made Value inherit from Bonobo::Unknown.
98
99         * libspi/hyperlink.c:
100                 Change for nAnchors attributte name change.
101
102
103 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
104
105         implementations-- made server implementations own AtkObject pointers
106         rather than their respective AtkInterrface pointers to fix
107         refcounting.  AtkHyperlink is still broken.
108         
109 2001-09-04  Bill Haneman <bill.haneman@sun.com>
110
111         * at-bridge/bridge.c:
112             Now allocate Accessibility_Event using
113             Accessibility_Event__alloc() instead of g_new0().
114         * libspi/accessibleeventlistener.c:
115             Initialize AccessibleEventListener->callbacks to NULL.
116             Fixed accessible__event_listener_init() param, changed to
117             "AccessibleEventListener *" type.
118             Changed a bonobo_object_release_unref() call to
119             Accessibility_Accessible_unref().
120         * libspi/listener.c:
121             Changed Bonobo_Unknown_unref to (equivalent) 
122             Accessibility_Accessible_unref.
123         * libspi/registry.c:
124             Changed bonobo_object_release_unref to 
125             Accessibility_Accessible_unref.
126         
127 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
128         
129         * Added files:
130             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
131             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
132             spi-util.c spi-util.h
133             Implementations for C bindings to remaining accessibility 
134             interfaces.
135
136 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
137         
138         * idl/Action.idl:
139             changed return value of Action from void to boolean to 
140             bring in line with ATK.
141
142         * idl/Text.idl:
143             Changed getText funcions to return "out" start and end offsets.
144             Changed getAttributes to take and offset and return the start 
145             and end offset of the attribute run.
146             Changed getOffsetAtPoint and getCharacterExtents to take an 
147              enum describing whether coordinates are window or screen.
148
149         * Added files:
150             libspi/action.c libspi/action.h libspi/editabletext.c 
151             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
152             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
153             libspi/image.h libspi/selection.c libspi/selection.h
154             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
155             libspi/value.c libspi/value.h
156             Added server implementations for outstanding ATK interfaces 
157             not yet implemented.
158  
159 2001-09-04  Bill Haneman <bill.haneman@sun.com>
160
161         * idl/Action.idl:
162                 Added (missing) getName() method. 
163                 Made nActions an attribute.
164         * idl/EditableText.idl:
165                 Changed order of params in setAttributes.
166         * idl/Hyperlink.idl:
167                 Removed getAnchor, added getURI.
168         * idl/Image.idl:
169                 Changed attributes to methods, for efficiency
170                 (so that getting extents can be done in one call)
171         * idl/Selection.idl:
172                 Changed nSelectedChildren to attribute, and re-indented.
173         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
174                 to attributes.
175         * idl/Text.idl: reformatted to match our coding style.
176                 (temporarily?) removed getRowColumnAtOffset().
177                 Changed text selection API to support multi-select and
178                 non-contiguous selections, as in ATK.
179         * idl/Value.idl: changed some methods to attributes.
180
181 2001-08-24  Mark McLoughlin <mark@skynet.ie>
182
183         * libspi/listener.c(impl_notify_event):
184         BonoboUnkown_unref the source instead
185         of bonobo_object_release_unref - the ORB
186         handles the releasing.
187
188         * configure.in: require ORBit-2.3.94 for
189         this behaviour.
190
191 2001-08-21  Bill Haneman <bill.haneman@sun.com>
192
193         Tagged CVS repository 'EA_1_0'.
194         * README.EARLY_ACCESS:
195         Alphabetized acknowledgements list, and
196         added someone.
197         Listed some known dependencies of at-spi.
198
199 2001-08-20  Bill Haneman <bill.haneman@sun.com>
200
201         * docs/at-spi-docs.sgml:
202         * docs/at-spi-sections.txt:
203         * docs/at-spi-overrides.txt: (Added zero-length file)
204         Documentation improvements - gtk-doc should build
205         docs for all implemented C bindings now.
206         * cspi/Makefile.am:
207         * cspi/spi_main.c:
208         * cspi/spi.c: (New file)
209         * cspi/spi_event.c: (New file)
210         * cspi/spi_registry.c: (New file)
211         * cspi/spi_accessible.c: (New file)
212         * cspi/spi_application.c: (New file)
213         * cspi/spi_component.c: (New file)
214         Split spi_main.c into six parts, and included them from
215         "spi.c".  This is a bit of a hack, probably temporary,
216         but required by gtk-doc, apparently.
217         
218 2001-08-20  Bill Haneman <bill.haneman@sun.com>
219
220         * docs/Makefile.am:
221         * docs/at-spi-docs.sgml:
222         * docs/at-spi-sections.txt:
223         * configure.in:
224         Initial checkins/modifications for gtk-doc generation.
225         * cspi/spi.h:
226         * cspi/spi.c:
227         Added (missing) interface query methods to Accessible's C binding.
228         * cspi/spi-impl.h:
229         Added GenericInterface type definition.
230         * test/simple-at.c:
231         Added query for AccessibleComponent interface to focus event handler.
232         Added printout of bounding box for focussed component.
233         * libspi/component.c:
234         Added partial implementation for AccessibleComponent to C binding.
235         * idl/Application.idl:
236         * libspi/registry.c:
237         * libspi/listener.c:
238         * libspi/application.c:
239         * libspi/application.h:
240         Changed "ID" attribute type from string to long.
241
242 2001-08-19  Bill Haneman <bill.haneman@sun.com>
243
244         * cspi/spi.h:
245         * cspi/spi.c:
246         Made method naming consistent: methods taking object args
247         start with uppercase, other methods (except those using
248         acronyms) start with lowercase.  Underscores delimit between
249         object names and method names:
250         SPI_init() - uppercase since it starts with an acronym.
251         getDesktopCount () - lowercase start since no object param0.
252         Accessible_getName() - uppercase object type name, studlyCaps method
253                                name.
254
255         *cspi/spi.h:
256         Added gtk-doc documentation for all currently implemented
257         methods in the C bindings API.
258
259 2001-08-18  Bill Haneman <bill.haneman@sun.com>
260
261         * Makefile.am : changed build order to build test last.
262         * cspi/spi.h :
263         * cspi/spi_main.c :
264         Changed "createEventListener" to "CreateEventListener".
265         * libspi/accessibleeventlistener.c :
266         Bugfix for addition of callbacks.
267         * test/Makefile.am :
268         * test/simple-at.c :
269         Added new test that uses the C bindings API.
270         * idl/Event.idl :
271         * libspi/listener.c :
272         * libspi/registry.c :
273         * libspi/accessibleeventlistener.c :
274         * at-bridge/bridge.c :
275         Renamed member "target" of Accessibility_Event to "source",
276         which is more descriptive.
277         
278
279 2001-08-18  Bill Haneman <bill.haneman@sun.com>
280
281         * Makefile.am: 
282         * configure.in :
283         * cspi/Makefile.am :
284         Added makefile support for at-spi/cspi directory.
285         * cspi/spi.h : 
286         * cspi/spi-impl.h :
287         * cspi/spi-listener.h : (NEW FILE)
288         Added support for/use of spi-listener.h.
289         * cspi/spi_main.c :
290         C bindings now build successfully, with no warnings.
291         * libspi/accessibleeventlistener.h : (NEW FILE)
292         * libspi/accessibleeventlistener.c : (NEW FILE)
293         * libspi/Makefile.am :
294         Added new object type "AccessibleEventListener"
295         which inherits from Listener, and allows attachment
296         of in-process callbacks (so that a client with a listening
297         object instance can add functionality to the local 
298         implementation, dynamically).
299
300 2001-08-18  Bill Haneman <bill.haneman@sun.com>
301
302         * libspi/accessible.c: 
303         Add implementation for get_index_in_parent().
304         * cspi/spi.h : 
305         Added #include of "spi-roletypes.h", and
306         added enumerated type AccessibleCoordType.
307         Added definition for KeystrokeListener (function type).
308
309         ADDED FILES:
310         * cspi/spi-statetypes.h :
311         * cspi/spi-roletypes.h :
312         * cspi/spi-impl.h :
313         Added these headers, used by spi.h.
314         * cspi/spi_main.c : 
315         Added code (NOTE: not yet built by make).
316
317 2001-08-18  Mark McLoughlin <mark@skynet.ie>
318
319         * libspi/Makefile.am: generate imodule
320         at the same time as other idl compiler 
321         generated files. 
322
323 2001-08-17  Bill Haneman <bill.haneman@sun.com>
324         * libspi/registry.c :
325         * libspi/application.c :
326         * idl/Application.idl :
327         Made registration with toolkit an application method,
328         which is required since each app has its own toolkit static
329         environment.  Thus the bridge must register for 
330         notification of toolkit events from each application in turn.
331         Toolkit notifications are now successfully registered for, and
332         sent to the listening at client.
333         * test/at.c :
334         Changed toolkit event string to use hyphens rather than underscores.
335         * libspi/listener.c :
336         listner now gives more info in debug mode - it reports the
337         name of the event received, as well as the name of the source.
338         
339
340 2001-08-16  Bill Haneman <bill.haneman@sun.com>
341
342         * libspi/registry.c :
343         added more implementation for toolkit events.
344         Fixed bug such that toolkit event registrations
345         (via atk) use the whole event name string, not 
346         just minor+detail.
347         Removed a useless call to an ORBit_ method.
348         * at-bridge/bridge.c :
349         Removed unused local sbuf[] variable.
350         * test/at.c :
351         We now register for Gtk:GtkWidget:button_press_event 
352         events as well as "focus:" events.
353         * cspi/spi.h :
354         Add some more API from Registry.idl that was missing,
355         for keystroke listening, keystroke and mouse event
356         synthesis, and enumeration of accessible desktops.
357
358 2001-08-16  Michael Meeks  <michael@ximian.com>
359
360         * configure.in: use AM_GLIB_GNU_GETTEXT.
361
362         * Makefile.am (SUBDIRS): kill intl.
363
364 2001-08-15  Michael Meeks  <michael@ximian.com>
365
366         * registryd/Makefile.am: s/oaf/server/ relocate info file.
367
368         * configure.in: upd.
369
370         * configure.in: depend on a recent bonobo-activation that
371         will find our server files ...
372
373 2001-08-16  Bill Haneman <bill.haneman@sun.com>
374
375         * libspi/accessible.c : accessible_new() :
376         Now we add the Component interface via bonobo_object_add_interface,
377         if the contained AtkObject implements AtkComponent.
378         * libspi/accessible.h : now include "component.h"
379         * libspi/component.h :
380         * libspi/component.c : added files - implementation of
381         bonobo wrapper object for Accessibility/Component
382         * libspi/listener.c :
383         Added test code to check for Accessibility/Component:1.0
384         interface and report whether it is implemented by the
385         event source.
386         * libspi/registry.c :
387         Now we check for not only the hash of the whole event 
388         string before relaying the event, we also check the
389         "minor" event string (without the detail string).
390         This allows event listeners to be registered against
391         all events of a certain major+minor type, or just
392         against a specific major+minor+detail type.
393         * libspi/accessible.c :
394         Added implementations for Accessible:get_parent(),
395         Accessible:getChildCount(), and Accessible:getChildAtIndex().
396         * libspi/registry.c :
397         * libspi/listener.c :
398         Replaced calls to Accessibility_Accessible_ref() and
399         Accessibility_Accessible_unref() with 
400         calls to bonobo_object_dup_ref() and 
401         bonobo_object_release_unref(), so that the CORBA object
402         is dup-ed and released when relayed, as well as the bonobo object.
403
404 2001-08-15  Mark McLoughlin <mark@skynet.ie>
405
406         * libspi/Makefile.am,
407           registryd/Makefile.am,
408           at-bridge/Makefile.am.
409           test/Makefile.am, configure.in:
410         reverse previous changes.
411
412         * /idl/Image.idl: fix typo.
413
414         * test/Makefile.am: put DEBUG_FLAGS
415         in CFLAGS.
416
417 2001-08-15  Mark McLoughlin <mark@skynet.ie>
418
419         * test/app.c: use argv[0] instead of
420         g_type_prgname.
421
422 2001-08-15  Mark McLoughlin <mark@skynet.ie>
423
424         * libspi/Makefile.am,
425           registryd/Makefile.am,
426           at-bridge/Makefile.am.
427           test/Makefile.am, configure.in:
428         cleanup, replace individual LIBS/CFLAGS with
429         AT_COMMON_{LIBS|CFLAGS}.
430
431         * README: format.
432
433 2001-08-15  Mark McLoughlin <mark@skynet.ie>
434         
435         * configure.in, libspi/Makefile.am:
436         Change IDL path checking for bonobo-activation
437         as opposed to oaf.
438
439 2001-08-15  Bill Haneman <bill.haneman@sun.com>
440
441         * registryd/registry.c : separated event listeners to use
442         3 separate lists (focus, window, toolkit).  Began testing
443         event names against hashes before relaying events.
444         * test/at.c : now register for events of type "focus:"
445         * test/app.c : now generate events of type "focus:"
446         * at-bridge/bridge.c : register with ATK for focus events,
447         and we now relay those focus events to any "focus:" listeners.
448         This now works with the bridge as a GTK_MODULE when running test/at.
449         * libspi/registry.c :
450         * libspi/listener.c : 
451         now we ref event sources before propagating, and unref on receipt.
452         * libspi/registry.c : 
453         some changes to internal structs, to support event typestring hashes.
454         * text/app.c : changed the way the appname is generated.
455         * cspi : added directory that will hold the C bindings library for 
456                 non-CORBA/bonobo-savvy clients.
457         * cspi/spi.h : header file that contains the function prototypes for the C binding.
458         * idl/Component.idl : added in parameter to indicate coord system for
459                 geometry-related calls.
460         * idl/Hyperlink.idl : added readonly n_links attribute
461         * idl/Image.idl : changed methods to attributes.
462         
463 2001-08-15  Mark McLoughlin <mark@skynet.ie>
464
465         * at-bridge/Makefile.am: link against
466         ../libspi/libspi.la instead of -lspi.
467
468         * at-spi/test/app.c: include 
469         bonobo-activation.h. Use a default appname
470         if one is not provided.
471
472 2001-08-14  Bill Haneman <bill.haneman@sun.com>
473
474         * idl/Registry.idl : temporarily changed register_Application
475         to oneway, to work around issue with initial registration 
476         re-entrancy.
477         * idl/Application.idl : changed attribute "id" from readonly 
478         to read-write, since it needs to be assigned by Registry.
479         * registryd/registryd.c : added call to set application id 
480         on registration.
481         * registryd/registry.c : changed de-registration procedure to
482         use CORBA_Object_hash() to find matching object ref in application
483         lists and listener lists.
484         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
485         began distinguishing between event types (work in progress).
486
487 2001-08-13  Bill Haneman <bill.haneman@sun.com>
488
489         CHANGES:
490         * libspi/application.c:
491         Added implementations for get/set id, get_toolkitName,
492         get_version.
493         * registryd/registryd.c :
494         * test/at.c :
495         * test/app.c :
496         * Makefile.am :
497         Converted from use of OAF to bonobo-activation.
498         * libspi/desktop.h :
499         * libspi/desktop.c :
500         * test/app.c :
501         Removed references to atksimpleobject, since base atkobject
502         implementation now provides functionality we need.
503         * libspi/atksimpleobject.c :
504         * libspi/atksimpleobject.h :
505         Removed.
506         
507         ADDITIONS:
508         * at-bridge
509         * at-bridge/Makefile.am
510         * at-bridge/bridge.c
511         * configure.in
512         * Makefile.am
513         Added directory "bridge" and contents, and added dependencies
514         in Makefile.am/configure.in.  
515         Initial checkin of "at-bridge".
516         This code is a GTK_MODULE which automatically registers
517         GTK+ apps with the accessibility registry, using an object
518         reference to the root ATK object.
519         
520 2001-08-10  Mark McLoughlin <mark@skynet.ie>
521
522         * po/Makefile.in.in: Remove. Again. If this
523         doesn't get autogenerated - you need to update
524         gnome-common.
525
526 2001-08-07  Mark McLoughlin <mark@skynet.ie>
527
528         * po/Makefile.in.in: Add. Again.
529
530 2001-07-31  Bill Haneman <bill.haneman@sun.com>
531
532         * libspi/accessible.c : added support for 'description' property.
533         * libspi/accessible.c
534         * libspi/desktop.c
535         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
536             (since the two are now equivalent in libbonobo)
537         * idl/Action.idl
538         * idl/Component.idl
539         * idl/Hyperlink.idl
540         * idl/Image.idl
541         * idl/Selection.idl
542         * idl/Table.idl
543         * idl/Text.idl
544         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
545              Bonobo::Unknown as does Accessibility::Accessible.
546         * idl/StreamableContent.idl : as above, and replaced internal InputStream
547              interface with Bonobo::Stream, since it was redundant with it.
548              (The Stream returned by a StreamableContext object is expected to
549              implement only a subset of Bonobo::Stream)
550
551 2001-07-28  Anders Carlsson  <andersca@gnome.org>
552
553         * libspi/accessible.c (accessible_object_finalize): Change
554           g_free to g_object_unref since the AtkObject is a GObject.
555
556 2001-07-30  Bill Haneman <bill.haneman@sun.com>
557
558         * idl/Accessibility.idl: add new IDL files
559         
560         Added:
561         * idl/Action.idl: Definitions of actionable UI object
562         * idl/Component.idl: Definitions of UI component geometry, etc.
563         * idl/Hyperlink.idl: Defs of hyperlink behavior
564         * idl/Image.idl: Def of accessible image
565         * idl/Selection.idl: Definition of UI object with selectable children
566         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
567         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
568         * idl/Text.idl: Interface defs for UI elements with complex textual content
569         * idl/Value.idl: Definition of UI element that is a value controller or display
570         
571 2001-07-27  Michael Meeks  <michael@ximian.com>
572
573         * po/Makefile.in.in: remove autogenerated file from CVS.
574
575         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
576         type library.
577
578         * idl/Registry.idl: include guard.
579
580         * idl/Accessibility.idl: Add, and include all the other IDL
581         files.
582
583         * idl/*.idl: remove mass of pragmas etc.
584
585 2001-07-26  Michael Meeks  <michael@ximian.com>
586
587         * registryd/Makefile.am (registryd_SOURCES): remove
588         redundant at_.
589
590 2001-07-27  Mark McLoughlin <mark@skynet.ie>
591
592         * libspi/.cvsignore, registryd/.cvsignore,
593           test/.cvsignore: updated.
594
595         * po/Makefile.in.in: gettext update.
596
597 2001-07-25  Bill Haneman <bill.haneman@sun.com>
598
599         * initial CVS checkin
600
601 2001-06-29  Michael Meeks  <michael@ximian.com>
602
603         * configure.in: add AM_CONFIG_HEADER to gen config.h
604
605         * acconfig.h: add.
606