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