40ffba9fad613b409a160185caaa7d0a0d76d959
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-11-09  Bill Haneman <bill.haneman@sun.com
2
3         * libspi/Makefile.am: 
4         * registryd/Makefile.am:
5         (temporary) hack to include libXtst in libspi and registryd.
6         (Needed for keystroke synthesis, see below).
7
8         * idl/Registry.idl:
9         Improved API for registerKeystrokeListener, in accordance with
10         discussions with Gnopernicus team and X server research.
11
12         * libspi/registry.c:
13         * libspi/deviceeventcontroller.c:
14         * libspi/accessible.c:
15         * libspi/keystrokelistener.c:
16         Changes and fixes to support keylisteners for potentially
17         consumed key events (that is, 'passive grabs').
18         Added implementation for generateKeyEvent() [untested].
19
20         * cspi/spi.h:
21         Changes to registerKeystrokeListener() API, as above.
22         Added deregisterGlobalEventListenerAll(), and 
23         deregisterKeystrokeListener(), which are needed for clean exit of
24         clients.
25         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
26         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
27         
28         * cspi/spi_registry.c:
29         Added implementations of function prototypes mentioned above.
30         
31         * registryd/registryd.c:
32         Added the key listener event source as a g_timeout(), to allow
33         receipt of key events that are not caught by GDK (since GDK
34         doesn't support passive keygrabs, this was necessary).
35
36         * test/simple-at.c:
37         Changed to attach a keylistener to 'Alt' keys, and
38         respond to the following keycommands: Alt-M (toggle magnifier);
39         Alt-F (toggle speech); Alt-Q (quit).
40         Added an exit routine to deregister the listeners, and a key
41         listener that prints some key info to the console when a key
42         matches the listener mask (and is thus received by the listener).
43         
44         * util/idl/Magnifier.idl:
45         Changes to magnifier API to support multiple zoom regions,
46         non-uniform scaling in x and y, markDirty, and a host of other
47         features that would be useful to magnification.
48
49         * util/mag_image.h:
50         * util/mag_client.c:
51         * util/mag_client.h:
52         * util/mag_control.c:
53         * util/magnifier.c:
54         Source code changes to support the above IDL changes.
55         
56         * util/mag_image.c:
57         As above, and also changes to use a (slower) generic conversion
58         path for colormap conversions, since the fast RGB conversions have been
59         reported to fail for 16-bit displays.
60
61 2001-10-26  Michael Meeks  <michael@ximian.com>
62
63         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
64
65 <2001-10-26  Laszlo Peter <laca@ireland.sun.com>
66
67         * at-bridge/Makefile.am: fix LDFLAGS.
68
69 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
70
71         * at-bridge/bridge.c:
72         Re-worked listeners for toolkit events, now we have signal
73         and property listeners. Added a private method
74         register_atk_event_listeners(), which registers with the
75         various atk and gtk signals we need to monitor in order to emit
76         our at-spi events.
77         Added emission hook for AtkObject:property-change events, to
78         support the 'property listeners'.
79         Fixed some alloc()s of Accessibility_Event structs to use CORBA
80         allocation.
81
82         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
83         which emit warnings and exit, respectively, if CORBA errors occur
84         during remote calls, and we now use these methods to check most of
85         our CORBA calls in the C bindings.
86
87         * cspi/spi_accessible.c:
88         Changed AccessibleSelection_refSelectedChild() to
89         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
90         now increment refcounts.
91
92         * cspi/spi_component.c:
93         Fixed some long pointer casts (dangerous!) to pass pointers to
94         CORBA_longs of the proper type to the CORBA stubs, and copy the
95         data into the longs that were passed into the C bindings code.
96         
97         * at-bridge/bridge.c:
98         
99         * libspi/accessible.c:
100         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
101         hyperlinks, AtkHyperlink is an object type.     
102
103         * libspi/application.c:
104         Added various conversions to and from "generic" event types and
105         atk-specific types; this is really part of the 'bridge'
106         implementation but is valid for all AtkObject-based accessibility 
107         implementations.
108
109         * libspi/editabletext.c:
110         Fixed nasty bug wherein editable text's finalize method was
111         unref'ing tha AtkObject reference that the text parent class was
112         about to unref _again_.  There was also a nasty inheritance bug
113         that meant that the AccessibleEditableText class was corrupt.
114
115         * libspi/selection.c:
116         Provided implementations for some selection API that was broken.
117         
118         * idl/Application.idl:
119         Added registerObjectEventListener () method.
120
121         * THROUGHOUT:
122         Fixed a number of return values that were Bonobo_Unknowns from
123         bonobo_object_corba_objref(), which I
124         forgot to dup before returning.  Changed instances of 
125         bonobo_object_corba_objref (bonobo_object(o)) to
126         BONOBO_OBJREF(o), for concision and clarity.
127         
128 <2001-10-13  Louise Miller <louise.miller@sun.com>
129
130         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
131         idl/Event.idl, idl/Registry.idl
132         Changed these files to include Bonobo_Unknown.idl instead
133         of Bonobo.idl
134
135 <2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
136
137         * libspi/component.c libspi/component.h:
138                 Fixed typo.  Added assertions for object checks in 
139         AccessibleComponent code.
140
141 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
142
143         * idl/Accessible.idl:
144                 Added 'isEqual (Accessible *object)' 
145         method for Accessible. (Not Yet Implemented).
146         
147         * idl/Registry.idl:
148                 Changed signature of registerKeystrokeListener() to
149         take a KeySet and KeyEventSeq so that specific keys and event
150         types could be requested for monitoring, and added a flag
151         is_synchronous so that either synchronous or asynchronous
152         notification could be requested.  (However this is not all
153         implemented yet). This also meant adding two new typedefs,
154         KeyEventSeq and KeySet.
155
156         * idl/Relation.idl: 
157                 Added two new relations, RELATION_TOOLTIP_FOR and
158         RELATION_LEAFNODE_OF.
159
160         * idl/State.idl:
161                 Added new state, STATE_HAS_TOOLTIP.
162         
163         * libspi/text.c, editabletext.c:
164                 Added new assertions to all casts of bonobo-objects from
165         CORBA servants, to prevent Text API calls on non-text objects.
166                 Changed suspect casts of int-pointer types, so that we
167         always send a valid CORBA_long pointer to the CORBA APIs that use
168         in/out long parameters.  We then have to copy from the CORBA_long
169         into the regular long or int for return to the C bindings, or
170         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
171         
172         * cspi/spi_text.c:
173         * libspi/deviceeventcontroller.c:
174                 Cleaned these sources up.
175         * idl/Text.idl:
176                 Changed return type for getCharacterAtOffset to
177         CORBA_unsigned_long, to allow for 32-bit characters.
178         
179                 
180 <2001-10-08  Bill Haneman <bill.haneman@sun.com>
181
182         * util/Makefile.am:
183         * idl/Makefile.am:
184                 Fixed 'make dist' so that distro compiles...
185         * libspi/keymasks.h:
186                 new file.
187         * cspi/spi-listener.c:
188                 KeystrokeListenerCB now returns a boolean.
189         * cspi/spi.h:
190                 Added KeyEventType struct, and KeyStroke.
191                 Also added createKeystrokeListener(),
192         KeystrokeListener_addCallback(),
193         KeystrokeListener_removeCallback(), and added a keymask to
194         registerKeystrokeListener().
195         * cspi/spi_accessible.c:
196                 Changed numerous return types for interfaces from
197         AccessibleComponent to Accessible<InterfaceName>; this was
198         probably a cut-and-paste error.
199         * cspi/spi_event.c:
200                 Implementations of new KeystrokeListener api (from spi.h,
201         above).
202         * idl/Registry.idl:
203                 Changes to key modifier mapping.
204                 Created ControllerEventMask struct.
205                 Made DeviceEventController derive from Bonobo::Unknown.
206         * idl/Text.idl:
207                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
208         * libspi/deviceeventcontroller.c:
209                 Added a number of new internal (private) methods.
210         * libspi/editabletext.c:
211         * libspi/editabletext.h:
212                 Fixed a number of bugs related to the fact that
213         editabletext inherits from text.  Fixed the EditableText struct,
214         the init() call, and use correct casts when calling Text methods
215         from an EditableText object.  Removed (duplicate) atko from the
216         EditableText structure, we use the one in the parent Text
217         structure via the casts mentioned above.
218         * libspi/keystrokelistener.[ch]:
219         * libspi/registry.c:
220                 Changes in support of keyboard handling (above).
221         
222         Keyboard handling, though partly functional, is still not
223         recommended for at-spi client use as there is considerable 
224         work yet to be done.
225
226         * libspi/text.c:
227                 Changed some places where pointers to various int types
228         are cast to be pointers to CORBA_long types and vice-versa:
229         pointer casting is not safe so we pass pointers of the correct
230         types and then cast the result before putting it into the target
231         pointers.
232
233         * libspi/text.h: minor typos corrected.
234         * test/simple-at.c: 
235                 We now speak not only the name of a Text element, but the
236         first sentence of its content, when it receives focus.
237                 I also changed the text compression to 75% from 50%.
238         * util/Accessibility_Util.server.in:
239                 Changed the default magnifier type to be a 3x vertical
240         splitscreen magnifier (was previously a 2x horizontal one).
241
242 <2001-10-03  Bill Haneman <bill.haneman@sun.com>
243
244         * libspi/keystrokelistener.h:
245         * libspi/keystrokelistener.c:
246                 Initial functional implementations of KeystrokeListener.
247         * idl/Registry.idl:
248         
249 <2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
250
251         Fixed string handling for NULL strings in libspi.
252         Added spi_freeString to free strings returned by C bindings.
253
254 <2001-09-30  Bill Haneman <bill.haneman@sun.com>
255
256         * libspi/keystrokelistener.h:
257         * libspi/keystrokelistener.c:
258                 Began (no-op) implementations of KeystrokeListener
259                         (see below).
260         * libspi/deviceeventcontroller.c:
261         * libspi/deviceeventcontroller.h:
262                 Began creating implementations of DeviceEventController,
263                         to handle keystroke and mouse event listening and
264                         synthesis.
265         * libspi/accessible.c:
266                 Stubbed-in the implementations for
267                         Accessibility_Accessible_getState and
268                         Accessibility_Accessible_getRelationSet.
269         * libspi/registry.c:
270                 Improved de-registration process and fixed some bugs, 
271                         deregistration now works correctly.
272         * libspi/desktop.c:
273                 Added initialization of applications list (to NULL).
274         * util/magnifier.c:
275                 Reduced speech compression from 0.5 to 0.7, for demo.
276                 Changed call to gdk_window_set_decorations()
277                         to gtk_window_set_decorated().
278         * at-bridge/bridge.c:
279                 Bridge now deregisters when app exits, via
280                         registration of a cleanup function
281                         with the g_atexit() call.
282                         Required making 'app' static, renamed 'this_app'.
283                 Fixed broken use of bonobo_init, passing argv wrongly.
284
285 <2001-09-27  Bill Haneman <bill.haneman@sun.com>
286
287         * util:
288         * util/Makefile.am: 
289                 Created a new directory for 
290                         accessibility-related utilities, primarily for
291                         testing and demo purposes, but with possible
292                         end-user utility.
293         
294         * util/magnifier.c:
295         * util/magnifier.h:
296         * util/mag_image.c:
297         * util/mag_image.h:
298                 Onscreen magnifier utility that
299                         is implemented as a bonobo service.
300         
301         * util/mag_client.c:
302         * util/mag_client.h:
303                 Client-side support (simple C bindings) 
304                         for Magnification service
305         
306         * util/mag_control.c:
307                 Client program example for 
308                         Magnification service
309         
310         * util/Accessibility_Magnifier.server.in:
311                 Bonobo-activation file for the 
312                         Magnification service.
313         
314         * util/idl:
315         * util/idl/Magnifier.idl:
316                 IDL defining the bonobo Magnification
317                         service interface.
318
319         * test/simple-at.c:
320                 Modifications to use the bonobo-activated magnifier
321                         above, in place of trying to connect to an existing
322                         magnifier that uses socket-listening IPC.
323
324                 If env variable MAGNIFIER is set, a magnifier service
325                         will be started if one does not exist.
326         
327 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
328         * at-bridge/bridge.c:
329                 applied patch from Marc to build and run 
330                 against new glib and gtk+ (seemed like a change 
331                 to bonobo_init signature was made ?)
332         * test/simple-at.c:
333                 made festival-server support turned off by default.
334                 Added support for a simple magnifier (off by default)
335                 which will be added to a 'util' directory later.
336         * at-bridge/Makefile.am:
337                 Changed "application.h" header from a 'source'
338                 to a 'dependency' of libat-bridge.
339
340 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
341         * cspi/Makefile.am:
342                 Added spi-util.c.
343
344         * cspi/spi-util.c:
345                 Fixed typo
346
347         * cspi/spi.c:
348                 Added interface implementation c files to list of
349                         includes so they are included in libcspi.
350
351         * cspi/spi.h:
352                 Changed prototype of AccessibleAction_doAction to return a
353                         boolean.
354                 Changed prototype of AccessibleTable_getCaption to
355                         return an Accessible.
356                 Changed prototype of AccessibleTable_getSelectedRows
357                         and AccessibleTable_getSelectedColumns to
358                         return a long (returns the number of selected rows
359                         or columns respectively).
360                 Changed name of AccessibleText_refRunAttributes to
361                         AccessibleText_getAttributes.
362                 Changed prototype of AccessibleText_getCharacterExtents to
363                         return a void rather than a boolean. 
364                 Added support for a AccessibleCoordType parameter
365                         specifying what type of coordinates are desired.
366                 Added an AccessibleCordType parameter to
367                         AccessibleText_getPointAtOffset.
368
369         * cspi/spi_accessible.c:
370                 Added code to return the outstanding interfaces from
371                         Accessible_queryInterface.
372
373         * cspi/spi_action.c:
374                 Fixed typos.
375                 Corrected call to getNActions to call the c binding
376                         for an attribute.
377
378         * cspi/spi_editabletext.c:
379                 Fixed typos.
380                 Changed name from setRunAttributes to setAttributes.
381
382         * cspi/spi_hyperlink.c:
383                 Fixed typos.
384                 Changed call to getNAnchors to correctly call the c
385                         binding for an attribute.
386
387         * cspi/spi_hypertext.c:
388                 Fixed typos.
389                 Changed getImageDescription to correctly call the
390                         binding for an attribute.
391
392         * cspi/spi_selection.c:
393                 Changed getNSelectedChildren to correctly call the c
394                         binding for the attribute.
395                 Changed refSelectedChild to getSelectedChild.
396
397         * cspi/spi_table.c:
398                 Fixed typos.
399                 Changed getCaption to return an Accessible.
400                 Fixed calls which retrieve attributes.
401                 Changed refAt to getAccessibleAt.
402                 Changed getNSelectedRows and getNSelectedColumns to
403                         return longs.
404
405         * cspi/spi_text.c:
406                 Changed getCharacterExtents and getPointAtOffset to accept an
407                         AccessibleCoordType.
408                 Fixed typos.
409                 Changed calls which retrieve attributes.
410                 Changed refRunAttributes to getAttributes.
411
412         * cspi/spi_value.c:
413                 Fixed typos.
414
415         * idl/Hyperlink.idl:
416                 Changed n_anchors attribute to nAnchors to keep naming
417                         convention consistent.
418
419         * idl/Table.idl:
420                 Made Table inherit from Bonobo::Unknown.
421                 Added nSelectedColumns and nSelectedRows attributes.
422
423         * idl/Value.idl:
424                 Made Value inherit from Bonobo::Unknown.
425
426         * libspi/hyperlink.c:
427                 Change for nAnchors attributte name change.
428
429 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
430         * cspi/Makefile.am:
431                 Added spi-util.c.
432
433         * cspi/spi-util.c:
434                 Fixed typo
435
436         * cspi/spi.c:
437                 Added interface implementation c files to list of
438                         includes so they are included in libcspi.
439
440         * cspi/spi.h:
441                 Changed prototype of AccessibleAction_doAction to return a
442                         boolean.
443                 Changed prototype of AccessibleTable_getCaption to
444                         return an Accessible.
445                 Changed prototype of AccessibleTable_getSelectedRows
446                         and AccessibleTable_getSelectedColumns to
447                         return a long (returns the number of selected rows
448                         or columns respectively).
449                 Changed name of AccessibleText_refRunAttributes to
450                         AccessibleText_getAttributes.
451                 Changed prototype of AccessibleText_getCharacterExtents to
452                         return a void rather than a boolean. 
453                 Added support for a AccessibleCoordType parameter
454                         specifying what type of coordinates are desired.
455                 Added an AccessibleCordType parameter to
456                         AccessibleText_getPointAtOffset.
457
458         * cspi/spi_accessible.c:
459                 Added code to return the outstanding interfaces from
460                         Accessible_queryInterface.
461
462         * cspi/spi_action.c:
463                 Fixed typos.
464                 Corrected call to getNActions to call the c binding
465                         for an attribute.
466
467         * cspi/spi_editabletext.c:
468                 Fixed typos.
469                 Changed name from setRunAttributes to setAttributes.
470
471         * cspi/spi_hyperlink.c:
472                 Fixed typos.
473                 Changed call to getNAnchors to correctly call the c
474                         binding for an attribute.
475
476         * cspi/spi_hypertext.c:
477                 Fixed typos.
478                 Changed getImageDescription to correctly call the
479                         binding for an attribute.
480
481         * cspi/spi_selection.c:
482                 Changed getNSelectedChildren to correctly call the c
483                         binding for the attribute.
484                 Changed refSelectedChild to getSelectedChild.
485
486         * cspi/spi_table.c:
487                 Fixed typos.
488                 Changed getCaption to return an Accessible.
489                 Fixed calls which retrieve attributes.
490                 Changed refAt to getAccessibleAt.
491                 Changed getNSelectedRows and getNSelectedColumns to
492                         return longs.
493
494         * cspi/spi_text.c:
495                 Changed getCharacterExtents and getPointAtOffset to accept an
496                         AccessibleCoordType.
497                 Fixed typos.
498                 Changed calls which retrieve attributes.
499                 Changed refRunAttributes to getAttributes.
500
501         * cspi/spi_value.c:
502                 Fixed typos.
503
504         * idl/Hyperlink.idl:
505                 Changed n_anchors attribute to nAnchors to keep naming
506                         convention consistent.
507
508         * idl/Table.idl:
509                 Made Table inherit from Bonobo::Unknown.
510                 Added nSelectedColumns and nSelectedRows attributes.
511
512         * idl/Value.idl:
513                 Made Value inherit from Bonobo::Unknown.
514
515         * libspi/hyperlink.c:
516                 Change for nAnchors attributte name change.
517
518
519 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
520
521         implementations-- made server implementations own AtkObject pointers
522         rather than their respective AtkInterrface pointers to fix
523         refcounting.  AtkHyperlink is still broken.
524
525 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
526         * cspi/spi_accessible.c:
527                 Added method Accessible_Role_getName(),
528                         and requisite string array (role_names).
529                 Added conversion string_from_corba_strin() call
530                         to Accessible_getName and _getDescription.
531         * libspi/accessible.c:
532                 Added implementation for Accessible_getRole()
533         * test/simple-at.c:
534                 Added festival support, used if environment variable
535                         FESTIVAL is set.
536         
537 2001-09-04  Bill Haneman <bill.haneman@sun.com>
538
539         * at-bridge/bridge.c:
540             Now allocate Accessibility_Event using
541             Accessibility_Event__alloc() instead of g_new0().
542         * libspi/accessibleeventlistener.c:
543             Initialize AccessibleEventListener->callbacks to NULL.
544             Fixed accessible__event_listener_init() param, changed to
545             "AccessibleEventListener *" type.
546             Changed a bonobo_object_release_unref() call to
547             Accessibility_Accessible_unref().
548         * libspi/listener.c:
549             Changed Bonobo_Unknown_unref to (equivalent) 
550             Accessibility_Accessible_unref.
551         * libspi/registry.c:
552             Changed bonobo_object_release_unref to 
553             Accessibility_Accessible_unref.
554         
555 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
556         
557         * Added files:
558             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
559             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
560             spi-util.c spi-util.h
561             Implementations for C bindings to remaining accessibility 
562             interfaces.
563
564 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
565         
566         * idl/Action.idl:
567             changed return value of Action from void to boolean to 
568             bring in line with ATK.
569
570         * idl/Text.idl:
571             Changed getText funcions to return "out" start and end offsets.
572             Changed getAttributes to take and offset and return the start 
573             and end offset of the attribute run.
574             Changed getOffsetAtPoint and getCharacterExtents to take an 
575              enum describing whether coordinates are window or screen.
576
577         * Added files:
578             libspi/action.c libspi/action.h libspi/editabletext.c 
579             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
580             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
581             libspi/image.h libspi/selection.c libspi/selection.h
582             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
583             libspi/value.c libspi/value.h
584             Added server implementations for outstanding ATK interfaces 
585             not yet implemented.
586  
587 2001-09-04  Bill Haneman <bill.haneman@sun.com>
588
589         * idl/Action.idl:
590                 Added (missing) getName() method. 
591                 Made nActions an attribute.
592         * idl/EditableText.idl:
593                 Changed order of params in setAttributes.
594         * idl/Hyperlink.idl:
595                 Removed getAnchor, added getURI.
596         * idl/Image.idl:
597                 Changed attributes to methods, for efficiency
598                 (so that getting extents can be done in one call)
599         * idl/Selection.idl:
600                 Changed nSelectedChildren to attribute, and re-indented.
601         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
602                 to attributes.
603         * idl/Text.idl: reformatted to match our coding style.
604                 (temporarily?) removed getRowColumnAtOffset().
605                 Changed text selection API to support multi-select and
606                 non-contiguous selections, as in ATK.
607         * idl/Value.idl: changed some methods to attributes.
608
609 2001-08-24  Mark McLoughlin <mark@skynet.ie>
610
611         * libspi/listener.c(impl_notify_event):
612         BonoboUnkown_unref the source instead
613         of bonobo_object_release_unref - the ORB
614         handles the releasing.
615
616         * configure.in: require ORBit-2.3.94 for
617         this behaviour.
618
619 2001-08-21  Bill Haneman <bill.haneman@sun.com>
620
621         Tagged CVS repository 'EA_1_0'.
622         * README.EARLY_ACCESS:
623         Alphabetized acknowledgements list, and
624         added someone.
625         Listed some known dependencies of at-spi.
626
627 2001-08-20  Bill Haneman <bill.haneman@sun.com>
628
629         * docs/at-spi-docs.sgml:
630         * docs/at-spi-sections.txt:
631         * docs/at-spi-overrides.txt: (Added zero-length file)
632         Documentation improvements - gtk-doc should build
633         docs for all implemented C bindings now.
634         * cspi/Makefile.am:
635         * cspi/spi_main.c:
636         * cspi/spi.c: (New file)
637         * cspi/spi_event.c: (New file)
638         * cspi/spi_registry.c: (New file)
639         * cspi/spi_accessible.c: (New file)
640         * cspi/spi_application.c: (New file)
641         * cspi/spi_component.c: (New file)
642         Split spi_main.c into six parts, and included them from
643         "spi.c".  This is a bit of a hack, probably temporary,
644         but required by gtk-doc, apparently.
645         
646 2001-08-20  Bill Haneman <bill.haneman@sun.com>
647
648         * docs/Makefile.am:
649         * docs/at-spi-docs.sgml:
650         * docs/at-spi-sections.txt:
651         * configure.in:
652         Initial checkins/modifications for gtk-doc generation.
653         * cspi/spi.h:
654         * cspi/spi.c:
655         Added (missing) interface query methods to Accessible's C binding.
656         * cspi/spi-impl.h:
657         Added GenericInterface type definition.
658         * test/simple-at.c:
659         Added query for AccessibleComponent interface to focus event handler.
660         Added printout of bounding box for focussed component.
661         * libspi/component.c:
662         Added partial implementation for AccessibleComponent to C binding.
663         * idl/Application.idl:
664         * libspi/registry.c:
665         * libspi/listener.c:
666         * libspi/application.c:
667         * libspi/application.h:
668         Changed "ID" attribute type from string to long.
669
670 2001-08-19  Bill Haneman <bill.haneman@sun.com>
671
672         * cspi/spi.h:
673         * cspi/spi.c:
674         Made method naming consistent: methods taking object args
675         start with uppercase, other methods (except those using
676         acronyms) start with lowercase.  Underscores delimit between
677         object names and method names:
678         SPI_init() - uppercase since it starts with an acronym.
679         getDesktopCount () - lowercase start since no object param0.
680         Accessible_getName() - uppercase object type name, studlyCaps method
681                                name.
682
683         *cspi/spi.h:
684         Added gtk-doc documentation for all currently implemented
685         methods in the C bindings API.
686
687 2001-08-18  Bill Haneman <bill.haneman@sun.com>
688
689         * Makefile.am : changed build order to build test last.
690         * cspi/spi.h :
691         * cspi/spi_main.c :
692         Changed "createEventListener" to "CreateEventListener".
693         * libspi/accessibleeventlistener.c :
694         Bugfix for addition of callbacks.
695         * test/Makefile.am :
696         * test/simple-at.c :
697         Added new test that uses the C bindings API.
698         * idl/Event.idl :
699         * libspi/listener.c :
700         * libspi/registry.c :
701         * libspi/accessibleeventlistener.c :
702         * at-bridge/bridge.c :
703         Renamed member "target" of Accessibility_Event to "source",
704         which is more descriptive.
705         
706
707 2001-08-18  Bill Haneman <bill.haneman@sun.com>
708
709         * Makefile.am: 
710         * configure.in :
711         * cspi/Makefile.am :
712         Added makefile support for at-spi/cspi directory.
713         * cspi/spi.h : 
714         * cspi/spi-impl.h :
715         * cspi/spi-listener.h : (NEW FILE)
716         Added support for/use of spi-listener.h.
717         * cspi/spi_main.c :
718         C bindings now build successfully, with no warnings.
719         * libspi/accessibleeventlistener.h : (NEW FILE)
720         * libspi/accessibleeventlistener.c : (NEW FILE)
721         * libspi/Makefile.am :
722         Added new object type "AccessibleEventListener"
723         which inherits from Listener, and allows attachment
724         of in-process callbacks (so that a client with a listening
725         object instance can add functionality to the local 
726         implementation, dynamically).
727
728 2001-08-18  Bill Haneman <bill.haneman@sun.com>
729
730         * libspi/accessible.c: 
731         Add implementation for get_index_in_parent().
732         * cspi/spi.h : 
733         Added #include of "spi-roletypes.h", and
734         added enumerated type AccessibleCoordType.
735         Added definition for KeystrokeListener (function type).
736
737         ADDED FILES:
738         * cspi/spi-statetypes.h :
739         * cspi/spi-roletypes.h :
740         * cspi/spi-impl.h :
741         Added these headers, used by spi.h.
742         * cspi/spi_main.c : 
743         Added code (NOTE: not yet built by make).
744
745 2001-08-18  Mark McLoughlin <mark@skynet.ie>
746
747         * libspi/Makefile.am: generate imodule
748         at the same time as other idl compiler 
749         generated files. 
750
751 2001-08-17  Bill Haneman <bill.haneman@sun.com>
752         * libspi/registry.c :
753         * libspi/application.c :
754         * idl/Application.idl :
755         Made registration with toolkit an application method,
756         which is required since each app has its own toolkit static
757         environment.  Thus the bridge must register for 
758         notification of toolkit events from each application in turn.
759         Toolkit notifications are now successfully registered for, and
760         sent to the listening at client.
761         * test/at.c :
762         Changed toolkit event string to use hyphens rather than underscores.
763         * libspi/listener.c :
764         listner now gives more info in debug mode - it reports the
765         name of the event received, as well as the name of the source.
766         
767
768 2001-08-16  Bill Haneman <bill.haneman@sun.com>
769
770         * libspi/registry.c :
771         added more implementation for toolkit events.
772         Fixed bug such that toolkit event registrations
773         (via atk) use the whole event name string, not 
774         just minor+detail.
775         Removed a useless call to an ORBit_ method.
776         * at-bridge/bridge.c :
777         Removed unused local sbuf[] variable.
778         * test/at.c :
779         We now register for Gtk:GtkWidget:button_press_event 
780         events as well as "focus:" events.
781         * cspi/spi.h :
782         Add some more API from Registry.idl that was missing,
783         for keystroke listening, keystroke and mouse event
784         synthesis, and enumeration of accessible desktops.
785
786 2001-08-16  Michael Meeks  <michael@ximian.com>
787
788         * configure.in: use AM_GLIB_GNU_GETTEXT.
789
790         * Makefile.am (SUBDIRS): kill intl.
791
792 2001-08-15  Michael Meeks  <michael@ximian.com>
793
794         * registryd/Makefile.am: s/oaf/server/ relocate info file.
795
796         * configure.in: upd.
797
798         * configure.in: depend on a recent bonobo-activation that
799         will find our server files ...
800
801 2001-08-16  Bill Haneman <bill.haneman@sun.com>
802
803         * libspi/accessible.c : accessible_new() :
804         Now we add the Component interface via bonobo_object_add_interface,
805         if the contained AtkObject implements AtkComponent.
806         * libspi/accessible.h : now include "component.h"
807         * libspi/component.h :
808         * libspi/component.c : added files - implementation of
809         bonobo wrapper object for Accessibility/Component
810         * libspi/listener.c :
811         Added test code to check for Accessibility/Component:1.0
812         interface and report whether it is implemented by the
813         event source.
814         * libspi/registry.c :
815         Now we check for not only the hash of the whole event 
816         string before relaying the event, we also check the
817         "minor" event string (without the detail string).
818         This allows event listeners to be registered against
819         all events of a certain major+minor type, or just
820         against a specific major+minor+detail type.
821         * libspi/accessible.c :
822         Added implementations for Accessible:get_parent(),
823         Accessible:getChildCount(), and Accessible:getChildAtIndex().
824         * libspi/registry.c :
825         * libspi/listener.c :
826         Replaced calls to Accessibility_Accessible_ref() and
827         Accessibility_Accessible_unref() with 
828         calls to bonobo_object_dup_ref() and 
829         bonobo_object_release_unref(), so that the CORBA object
830         is dup-ed and released when relayed, as well as the bonobo object.
831
832 2001-08-15  Mark McLoughlin <mark@skynet.ie>
833
834         * libspi/Makefile.am,
835           registryd/Makefile.am,
836           at-bridge/Makefile.am.
837           test/Makefile.am, configure.in:
838         reverse previous changes.
839
840         * /idl/Image.idl: fix typo.
841
842         * test/Makefile.am: put DEBUG_FLAGS
843         in CFLAGS.
844
845 2001-08-15  Mark McLoughlin <mark@skynet.ie>
846
847         * test/app.c: use argv[0] instead of
848         g_type_prgname.
849
850 2001-08-15  Mark McLoughlin <mark@skynet.ie>
851
852         * libspi/Makefile.am,
853           registryd/Makefile.am,
854           at-bridge/Makefile.am.
855           test/Makefile.am, configure.in:
856         cleanup, replace individual LIBS/CFLAGS with
857         AT_COMMON_{LIBS|CFLAGS}.
858
859         * README: format.
860
861 2001-08-15  Mark McLoughlin <mark@skynet.ie>
862         
863         * configure.in, libspi/Makefile.am:
864         Change IDL path checking for bonobo-activation
865         as opposed to oaf.
866
867 2001-08-15  Bill Haneman <bill.haneman@sun.com>
868
869         * registryd/registry.c : separated event listeners to use
870         3 separate lists (focus, window, toolkit).  Began testing
871         event names against hashes before relaying events.
872         * test/at.c : now register for events of type "focus:"
873         * test/app.c : now generate events of type "focus:"
874         * at-bridge/bridge.c : register with ATK for focus events,
875         and we now relay those focus events to any "focus:" listeners.
876         This now works with the bridge as a GTK_MODULE when running test/at.
877         * libspi/registry.c :
878         * libspi/listener.c : 
879         now we ref event sources before propagating, and unref on receipt.
880         * libspi/registry.c : 
881         some changes to internal structs, to support event typestring hashes.
882         * text/app.c : changed the way the appname is generated.
883         * cspi : added directory that will hold the C bindings library for 
884                 non-CORBA/bonobo-savvy clients.
885         * cspi/spi.h : header file that contains the function prototypes for the C binding.
886         * idl/Component.idl : added in parameter to indicate coord system for
887                 geometry-related calls.
888         * idl/Hyperlink.idl : added readonly n_links attribute
889         * idl/Image.idl : changed methods to attributes.
890         
891 2001-08-15  Mark McLoughlin <mark@skynet.ie>
892
893         * at-bridge/Makefile.am: link against
894         ../libspi/libspi.la instead of -lspi.
895
896         * at-spi/test/app.c: include 
897         bonobo-activation.h. Use a default appname
898         if one is not provided.
899
900 2001-08-14  Bill Haneman <bill.haneman@sun.com>
901
902         * idl/Registry.idl : temporarily changed register_Application
903         to oneway, to work around issue with initial registration 
904         re-entrancy.
905         * idl/Application.idl : changed attribute "id" from readonly 
906         to read-write, since it needs to be assigned by Registry.
907         * registryd/registryd.c : added call to set application id 
908         on registration.
909         * registryd/registry.c : changed de-registration procedure to
910         use CORBA_Object_hash() to find matching object ref in application
911         lists and listener lists.
912         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
913         began distinguishing between event types (work in progress).
914
915 2001-08-13  Bill Haneman <bill.haneman@sun.com>
916
917         CHANGES:
918         * libspi/application.c:
919         Added implementations for get/set id, get_toolkitName,
920         get_version.
921         * registryd/registryd.c :
922         * test/at.c :
923         * test/app.c :
924         * Makefile.am :
925         Converted from use of OAF to bonobo-activation.
926         * libspi/desktop.h :
927         * libspi/desktop.c :
928         * test/app.c :
929         Removed references to atksimpleobject, since base atkobject
930         implementation now provides functionality we need.
931         * libspi/atksimpleobject.c :
932         * libspi/atksimpleobject.h :
933         Removed.
934         
935         ADDITIONS:
936         * at-bridge
937         * at-bridge/Makefile.am
938         * at-bridge/bridge.c
939         * configure.in
940         * Makefile.am
941         Added directory "bridge" and contents, and added dependencies
942         in Makefile.am/configure.in.  
943         Initial checkin of "at-bridge".
944         This code is a GTK_MODULE which automatically registers
945         GTK+ apps with the accessibility registry, using an object
946         reference to the root ATK object.
947         
948 2001-08-10  Mark McLoughlin <mark@skynet.ie>
949
950         * po/Makefile.in.in: Remove. Again. If this
951         doesn't get autogenerated - you need to update
952         gnome-common.
953
954 2001-08-07  Mark McLoughlin <mark@skynet.ie>
955
956         * po/Makefile.in.in: Add. Again.
957
958 2001-07-31  Bill Haneman <bill.haneman@sun.com>
959
960         * libspi/accessible.c : added support for 'description' property.
961         * libspi/accessible.c
962         * libspi/desktop.c
963         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
964             (since the two are now equivalent in libbonobo)
965         * idl/Action.idl
966         * idl/Component.idl
967         * idl/Hyperlink.idl
968         * idl/Image.idl
969         * idl/Selection.idl
970         * idl/Table.idl
971         * idl/Text.idl
972         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
973              Bonobo::Unknown as does Accessibility::Accessible.
974         * idl/StreamableContent.idl : as above, and replaced internal InputStream
975              interface with Bonobo::Stream, since it was redundant with it.
976              (The Stream returned by a StreamableContext object is expected to
977              implement only a subset of Bonobo::Stream)
978
979 2001-07-28  Anders Carlsson  <andersca@gnome.org>
980
981         * libspi/accessible.c (accessible_object_finalize): Change
982           g_free to g_object_unref since the AtkObject is a GObject.
983
984 2001-07-30  Bill Haneman <bill.haneman@sun.com>
985
986         * idl/Accessibility.idl: add new IDL files
987         
988         Added:
989         * idl/Action.idl: Definitions of actionable UI object
990         * idl/Component.idl: Definitions of UI component geometry, etc.
991         * idl/Hyperlink.idl: Defs of hyperlink behavior
992         * idl/Image.idl: Def of accessible image
993         * idl/Selection.idl: Definition of UI object with selectable children
994         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
995         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
996         * idl/Text.idl: Interface defs for UI elements with complex textual content
997         * idl/Value.idl: Definition of UI element that is a value controller or display
998         
999 2001-07-27  Michael Meeks  <michael@ximian.com>
1000
1001         * po/Makefile.in.in: remove autogenerated file from CVS.
1002
1003         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1004         type library.
1005
1006         * idl/Registry.idl: include guard.
1007
1008         * idl/Accessibility.idl: Add, and include all the other IDL
1009         files.
1010
1011         * idl/*.idl: remove mass of pragmas etc.
1012
1013 2001-07-26  Michael Meeks  <michael@ximian.com>
1014
1015         * registryd/Makefile.am (registryd_SOURCES): remove
1016         redundant at_.
1017
1018 2001-07-27  Mark McLoughlin <mark@skynet.ie>
1019
1020         * libspi/.cvsignore, registryd/.cvsignore,
1021           test/.cvsignore: updated.
1022
1023         * po/Makefile.in.in: gettext update.
1024
1025 2001-07-25  Bill Haneman <bill.haneman@sun.com>
1026
1027         * initial CVS checkin
1028
1029 2001-06-29  Michael Meeks  <michael@ximian.com>
1030
1031         * configure.in: add AM_CONFIG_HEADER to gen config.h
1032
1033         * acconfig.h: add.
1034