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