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