Enabled keygrabs of the Control key, and changed the command key modifier
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2002-03-01  Bill Haneman <bill.haneman@sun.com>
2
3         * libspi/accessible.c (spi_accessible_new ()) :
4         Added check to see if AtkObject is an SpiRemoteObject before
5         creating an SpiAccessible.
6         
7 2002-05-01  Bill Haneman <bill.haneman@sun.com>
8
9         * registryd/deviceeventcontroller.c (spi_controller_grab_keyboard):
10         Enable keygrabs using the Control modifier, now that they are
11         working properly (they were previously disabled).
12
13         * test/simple-at.c:
14         Change the command keygrab for this demo to "Control+Alt", so as
15         to conflict with fewer other key commands on the system; this
16         means that the quit command for "simple-at" is now "Ctrl-Alt-q".
17
18         Removed a pointlessly-chatty keylistener for unshifted keys
19         (shifted keys are still reported).
20         
21 2002-02-01  Bill Haneman <bill.haneman@sun.com>
22
23         * libspi/remoteobject.h:
24         * libspi/remoteobject.c:
25         Added definitions for special AtkObject subtype, required for
26         support of remote components (specifically, used by BonoboControl
27         accessibility implementation).
28         
29 2002-01-02 Marc Mulcahy  <marc.mulcahy@sun.com>
30
31         * cspi/spi.h: synched relation types with ATK
32
33         * cspi/spi_accessible.c: Added implementations of
34         AcccessibleRelation_* methods
35
36         * idl/Accessibility_Relation.idl: added getRelationTypeName
37         method.  Synched known relation types with ATK.  Allowed for
38         relation type extension with the RELATION_EXTENDED type.
39         
40         * libspi/relation.c: Provided implementations for
41         AccessibleRelation methods.
42
43 2002-01-01  Bill Haneman <bill.haneman@sun.com>
44
45         API tweaks for today's API 'freeze'.
46
47         * idl/*:
48         Added placeholder functions to allow future compatible expansion
49         of the IDL interfaces.
50
51         * idl/Accessibility_Registry.idl:
52         Changed generateKeyEvent to generateKeyboardEvent.  Changed
53         signature of this method to accept an optional keystring in
54         parameter (for complex text input synthesis) and changed use of
55         simple 'boolean' parameter in registerKeystrokeListener to a
56         struct, EventListenerMode.
57
58         * cspi/spi_accessible.c:
59         * cspi/spi.h:
60         * cspi/spi_streamablecontent.c:
61         Added references to AccessibleStreamableContent interface, and
62         definition and implementation of AccessibleStreamableContent 
63         C bindings.
64
65         * cspi/spi_registry.c:
66         * cspi/spi.h:
67         Changed generateKeyEvent API to generateKeyboardEvent,
68         taking a new (optional) keystring parameter to support complex
69         text input.
70         
71         * at-bridge/*:
72         * atk-bridge/*:
73         Renamed directory (to better reflect its actual purpose, bridging
74         from at-spi to ATK).  The .so module is also now named
75         libatk-bridge.so.
76
77         * idl/Accessibility_Hypertext.idl:
78         * libspi/accessible.c:
79         * libspi/hypertext.h:
80         * libspi/hypertext.c:
81         Changed Accessibility_Hypertext to *not* derive from
82         Accessibility_Text.
83
84         * cspi/spi_registry.c:
85         Added list of legal event type names for 'window' events, which
86         completes the registry event API.
87
88 2001-12-22  Marc Mulcahy  <marc.mulcahy@sun.com>
89
90         * at-bridge/bridge.c: Added registration for separate
91         "Atktext:text-changed::insert" and "AtkText:text-changed::delete"
92         signals.  If either of the first two parameters to the generic
93         bridge signal handler are ints, they are passed on as event
94         details.  This allows an AT to determine what text was inserted.
95
96 2001-12-21  Bill Haneman <bill.haneman@sun.com>
97
98         * registryd/deviceeventcontroller.c:
99         Fixed regressions in generateKeyEvent caused by the removal of
100         gdk_init from registryd; we now use pure X calls to connect to the
101         display, which makes sense because deviceeventcontroller already
102         uses a fair bit of X API (should eventually be migrated to a
103         'portability layer').
104
105         * registryd/desktop.c:
106         Fixed minor regression in spi_desktop_init, changed the way the
107         desktop name is being set to work with new spi_base API
108         (gobject-based, rather than AtkObject-based).
109
110         * registryd/Makefile.am:
111         Minor revision of makefile to use XTST_LIBS variable rather than
112         hard-wiring the Xtst LD_ADD element.
113
114         * test/keysynth-demo.c:
115         Tweaked an output message; added initialization of the
116         'keystrings' member of the "switch listener" key_set.
117
118         * libspi/relation.c:
119         Squashed compile-time warning.
120
121         * libspi/accessible.c:
122         Cosmetic and formatting fixes, renamed a static method.
123         
124 2001-12-18 Marc Mulcahy <marc.mulcahy@sun.com>
125
126         * libspi/accessible.c 
127         * libspi/action.c
128         * libspi/application.c 
129         * libspi/base.c 
130         * libspi/base.h
131         * libspi/component.c 
132         * libspi/editabletext.c
133         * libspi/hyperlink.c 
134         * libspi/hypertext.c
135         * libspi/image.c 
136         * libspi/selection.c 
137         * libspi/table.c
138         * libspi/text.c 
139         * libspi/value.c 
140         * registryd/desktop.c:
141         Changed SpiBase to contain a GObject pointer rather than an AtkObject
142
143 2001-12-17  Bill Haneman <bill.haneman@sun.com>
144
145         * idl/Accessibility_Registry.idl:
146         Added boolean member 'is_text' to DeviceEvent.  This is for the
147         use of key events, and helps prevent ambiguity between composed
148         key strings and keysym names, since both may potentially be
149         returned in the 'event_string' member.
150
151         * at-bridge/bridge.c:
152         * registryd/deviceeventcontroller.c:
153         Use the 'is_text' member when notifying device event listeners.
154         Knon issue: composed characters are not dealt with correctly by
155         the global key listener implementation yet.
156         
157 2001-12-17  Bill Haneman <bill.haneman@sun.com>
158
159         * at-bridge/bridge.c:
160         Namespaced local static methods to spi_atk_bridge_* where
161         previously named bridge_*, and spi_* elsewhere.
162
163         * at-bridge/bridge.c:
164         * cspi/bonobo/cspi-bonobo-listener.c:
165         Added demarshalling/conversion for string member of
166         Accessibility_DeviceEvent to AccessibleKeystroke.
167
168         * registryd/deviceeventcontroller.c:
169         Added code to fill the Accessibility_DeviceEvent key string value
170         member for global key events (i.e. from XGrabKey), to match
171         behavior of Accessibility_DeviceEvent from the toolkit key events
172         from the bridge.  Fixed timestamp in global key event notifications.
173
174         * test/simple-at.c:
175         Added printout of key event's string value to
176         report_ordinary_key_event, for demo/debugging purposes.
177
178 2001-12-15  Bill Haneman <bill.haneman@sun.com>
179
180         * idl/Accessibility_Registry.idl:
181         Removed Accessibility_KeyStroke structure in favor of generic
182         Accessibility_DeviceEvent structure.
183         Changed Accessibility_ControllerEventMask from a struct to an
184         unsigned long.
185
186         * at-bridge/bridge.c:
187         Changed APIs to use DeviceEvent structure as above, and removed
188         bogus casting between these event structures.
189
190         * cspi/spi-listener.h:
191         Added keystring member of AccessibleKeystroke structure, to enable
192         matching on event "names" rather than only hardware codes and
193         keysyms.
194
195         * cspi/spi.h:
196         Added keystrings member of AccessibleKeySet struct, to allow
197         matching on event names (as above).
198         Added declarations for SPI_createAccessibleKeySet and
199         SPI_freeAccessibleKeySet.  Due to changes in libspi, we now pass
200         event modmasks directly as unsigned ints rather than structs with
201         refcounts, in the DeviceEventController methods.
202
203         * cspi/spi_registry.c:
204         Add SPI_createAccessibleKeySet and SPI_freeAccessibleKeySet methods.
205
206         * cspi/spi-roletypes.h:
207         Added documentation of newly added SPI Roles.
208
209         * cspi/bonobo/cspi-bonobo-listener.c:
210         Changes in support of API changes above.
211         
212         * libspi/accessible.c:
213         Converted APIs to use DeviceEvent structure (see IDL changes
214         above). 
215
216         * registryd/deviceeventcontroller.c:
217         Added DEControllerGrabMask structure to track keygrabs not only by
218         modmask but by keyset as well; this allows us to do "global"
219         (i.e. X) keygrabs on a per-key or keyset basis rather than always
220         grabbing on AnyKey and then filtering after-the-fact.
221         Bugfixes for event filtration mean that we don't get false matches
222         on SPI_KEY_RELEASED, when only SPI_KEY_PRESSED was requested.
223
224         * registryd/deviceeventcontroller.c:
225         Namespaced a number of static methods to use spi_ prefix.  Major
226         revision to internals of global (i.e. X) key grabs.
227
228         * registryd/deviceeventcontroller.h:
229         Removed keymask_list and added keygrabs_list to
230         SpiDeviceEventController struct.
231
232         * test/simple-at.c:
233         Added use of SPI_createAccessibleKeySet API when creating a
234         listener for only one key.  Attach a listener to "shift spacebar
235         SPI_KEY_RELEASE" as a demonstration.  Changed (incorrect) usage of
236         X key event names to SPI key event names, so that listeners are
237         registered for (SPI_KEY_PRESSED | SPI_KEY_RELEASED), for instance.
238         
239         * test/keysynth-demo.c:
240         Changed (incorrect) use of X key event names (KeyPressed,
241         KeyReleased) to SPI enums SPI_KEY_PRESSED and SPI_KEY_RELEASED.
242         
243
244 2001-12-12  Bill Haneman <bill.haneman@sun.com>
245
246         * libspi/accessible.c:
247         Convert all AtkRole enumerations to Accessibility_Role enums when
248         getting a role from an AtkObject.
249         
250         * cspi/spi_accessible.c:
251         Complete the conversion of Accessibility_Role enums at runtime to
252         AccessibleRole (SPI_ROLE_*) roles in Accessible_getRole, so that
253         role enums correctly match those given in spi-roletypes.h.  
254         Re-synchronize the local names list for AccessibleRole_getName ().
255         AccessibleRole_getName is now deprecated, since it duplicates the
256         more reliable Accessible_getRoleName.
257         Added some role types from Accessibility_Role.idl.
258
259         * idl/Accessibility_Role.idl:
260         Added some role types used by AtkRole.
261
262 2001-12-12  Bill Haneman <bill.haneman@sun.com>
263         
264         * cspi/spi.h:
265         * cspi/spi_registry.c:
266         * cspi/spi_event.c:
267         * cspi/cspi-bonobo-listener.c:
268         Namespaced all methods that did not begin with an "SPI_" or
269         "Accessible" prefix to "SPI_".  
270
271         * cspi/spi_main.c:
272         Homogenized internal function namespace to "cspi_" for statics.
273         
274         * test/*.c:
275         Patched tests to use the new CSPI API.
276
277         * docs/reference/cspi/at-spi-cspi-sections.txt:
278         Updated docs to reflect namespace changes, and added a number of
279         methods to the documentation.
280         
281         * registryd/registry.c:
282         Changed use of strings and string hashes in listener event
283         matching and parse_event_string to use GQuark, which is guaranteed
284         unique.
285         
286         * registryd/registry.h:
287         Squashed annoying warning.
288
289         * idl/Accessibility_Role.idl:
290         Extended range of available Accessibility_Role values.
291
292         * cspi/spi_accessible.c:
293         Re-ordered role names. 
294
295 2001-12-12  Bill Haneman <bill.haneman@sun.com>
296
297         * idl/Accessibility_Value.idl:
298         Revert use of union back to CORBA_double, since the double type is
299         more efficient and can contain the other types without loss of
300         precision.
301
302         * idl/Accessibility_Accessible.idl:
303         Added method Accessibility:Accessible:getRoleName, to complement
304         Accessibility:Accessible:getRole.
305
306         * cspi/spi_accessible.c:
307         * cspi/spi.h:
308         Added C binding for above, Accessible_getRoleName (), and changed
309         signature of Accessible_getRole () to return an AccessibleRole.
310
311         * cspi/spi-roletypes.h:
312         Changed AccessibleRole_getName to return a char * instead of a
313         const char *.  This method is now at least temporarily deprecated 
314         in favor of asking Accessibles for their RoleNames directly.
315
316         * libspi/value.c:
317         Revert to match Accessibility_Value.idl;
318
319         * cspi/spi_value.c:
320         * cspi/spi.h:
321         Change signature of AccessibleValue methods to use double rather
322         than float.
323
324         * cspi/spi.h:
325         * cspi/spi_accessible.c:
326         Changed Accessible_getRole to return an AccessibleRole enum rather
327         than a UTF-8 string.  The UTF-8 string can still be obtained via
328         AccessibleRole_getName ().
329         
330         * test/test-simple.c:
331         Add test_action.  Small fixup to match API change to Accessible_getRole.
332
333         * libspi/action.c:
334         Bugfix for get_action_from_servant ().
335
336 2001-12-11  Michael Meeks  <michael@ximian.com>
337
338         * libspi/libspi.h: remove registry.h and
339         desktop.h, deviceeventcontroller.h
340
341         * libspi/Makefile.am: remove registry.[ch],
342         desktop.[ch], deviceeventcontroller.[ch]
343
344         * registryd/Makefile.am: add registry.[ch],
345         desktop.[ch], rename registryd.c to registry-main.c.
346         add deviceeventcontroller.[ch]
347
348 2001-12-11  Bill Haneman <bill.haneman@sun.com>
349
350         * test/simple-at.c:
351         Replace setenv() call with putenv ().
352
353         * libspi/component.c:
354         Bugfix in AccessibleComponent_getExtents (),
355         (from Adi Dascal).
356         
357 2001-12-11  Michael Meeks  <michael@ximian.com>
358
359         * libspi/image.c (impl_getImageExtents): impl.
360         (spi_image_class_init): upd.
361
362         * cspi/spi_image.c
363         (AccessibleImage_getImageDescription): fix daft bug
364         of mine (doh).
365
366         * test/test-simple.c (global_listener_cb): update
367         to only quit if not --poke
368         (main): catch --poke.
369         (validate_accessible): upd. dumping, call test_image
370         (test_image): impl.
371
372         * libspi/Makefile.am (IDL_DEPS): fixup the IDL
373         dependencies.
374
375         * idl/Accessibility.idl: update all IDL includes.
376
377         * idl/*.idl - rename to namespace - this sucks, blame
378         mjs' bad decision for oafd.
379
380         * test/test-simple.c (create_test_window): add more tests.
381         (create_tree): split this out.
382         (validate_accessible): bugfix.
383
384 2001-12-11  Michael Meeks  <michael@ximian.com>
385
386         * cspi/bonobo/cspi-bonobo-listener.c: 
387         (cspi_kestroke_listener_unref),
388         (cspi_event_listener_unref): impl. undoing previous
389         homenous environment - for Bill.
390
391         * cspi/spi_table.c (long_seq_to_array): use
392         malloc instead.
393
394         * cspi/spi_main.c: split out all bonoboish bits into
395         bonobo/
396
397         * cspi/spi-impl.h: upd. typedefs.
398
399         * cspi/spi_registry.c: update to lowlevel API,
400         return booleans to indicate success in some places.
401
402         * cspi/spi_event.c: update to lowlevel API.
403
404         * cspi/bonobo/Makefile.am: add.
405
406         * cspi/bonobo/cspi-lowlevel.h: add
407
408         * cspi/bonobo/cspi-bonobo.c: add
409
410         * cspi/bonobo/cspi-bonobo-listener.[ch]: impl.
411
412         * cspi/Makefile.am: remove spi-listener-impl.[ch],
413         (SUBDIRS): add bonobo, link in the libs.
414
415         * cspi/spi-util.c: kill this file.
416
417         * TODO: merge in my bits.
418
419 2001-12-11  Michael Meeks  <michael@ximian.com>
420
421         * test/test-simple.c (test_value, test_table, main):
422         remove unused variables causing warnings.
423
424         * configure.in: cleanup checks - require gail.
425
426 2001-12-11  Bill Haneman  <bill.haneman@sun.com>
427
428         * idl/Value.idl:
429         Changed Value interface to use SValue (scalars) rather than
430         assuming all values are floats.  This allows floats, doubles,
431         longs, shorts, and unsigned values to be manipulated.
432         Introduced Accessibility:SValue union.
433
434         * libspi/value.c:
435         Updated to use new API above, and to work correctly with GValues
436         of different types in AtkValue.
437
438         * cspi/spi_value.c:
439         Updated to use new API above.  cspi's API is as yet unchanged.
440
441         * TODO: 
442         Updated the Value revision action item.
443         
444 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
445
446         * test/test-simple.c:
447         Added test_table (GtkTreeView widget in test window to follow).
448         Un-commented test_value, added GtkRange widget.
449         Added GtkTreeView widget with GtkListStore.  It passes regression
450         test but leaks one SPI object for some reason.
451
452         * libspi/value.c:
453         Fixed bug in impl__set_currentValue.
454
455 2001-12-10  Michael Meeks  <michael@ximian.com>
456
457         * cspi/spi_text.c: audit for exception handling,
458         tolerating NULL object references safely etc.
459
460         * cspi/spi_value.c: ditto.
461
462         * cspi/spi_table.c (AccessibleTable_getSummary),
463         (AccessibleTable_getAccessibleAt),
464         (AccessibleTable_getRowHeader),
465         (AccessibleTable_getColumnHeader),
466         (AccessibleTable_getCaption): fix bugs hidden by
467         incorrect casts.
468         (long_seq_to_array): impl.
469         (AccessibleTable_getSelectedRows),
470         (AccessibleTable_getSelectedColumns): use it.
471
472 2001-12-10  Bill Haneman  <bill.haneman@sun.com>
473
474         * TODO:
475         Added a TODO list (rough and short for now).
476
477         * cspi/spi_hyperlink.c:
478         * cspi/spi_hypertext.c:
479         Fixed macro name typos, and remove use of obsolete macro in 
480         AccessibleHyperlink_getLink.
481
482         * cspi/spi_action.c:
483         * cspi/spi_accessible.c:
484         * cspi/spi_application.c:
485         * cspi/spi_component.c:
486         * cspi/spi_selection.c:
487         * cspi/spi_text.c:
488         * cspi/spi_value.c:
489         Documentation fixes (removed return values from ref/unref methods).
490
491 2001-12-10  Michael Meeks  <michael@ximian.com>
492
493         * cspi/spi_action.c: audit for exception handling,
494         tolerating NULL object references safely etc.
495
496         * cspi/spi_accessible.c: ditto.
497
498         * cspi/spi_component.c: ditto.
499
500         * cspi/spi_editabletext.c: ditto.
501
502         * cspi/spi_hyperlink.c: ditto.
503
504         * cspi/spi_hypertext.c: ditto.
505
506         * cspi/spi_image.c: ditto.
507
508         * cspi/spi_selection.c: ditto.
509
510 2001-12-10  Michael Meeks  <michael@ximian.com>
511
512         * configure.in: use cspi/libspi.pc.in instead.
513
514         * Makefile.am (pkgconfig_DATA): upd. to match.
515
516         * test/simple-at.c (report_focus_event): kill hacks around
517         bad return values, use putenv not setenv
518
519         * libspi/desktop.c (impl_desktop_get_child_at_index): don't
520         fire ChildGone - I killed it.
521
522         * libspi/component.c
523         (impl_accessibility_component_get_extents): remove
524         bogus return.
525
526         * idl/Accessible.idl: kill ChildGone exception.
527
528         * cspi/*.[ch]: kill int return from ref / unref.
529         
530         * cspi/spi_main.c (cspi_object_add_check): fold into
531         (cspi_object_add): here.
532
533         * cspi/spi_component.c (AccessibleComponent_getExtents):
534         handle exceptions elegantly.
535
536         * cspi/spi-private.h (cspi_check_ev_return),
537         (cspi_return_if_fail): impl.
538
539         * cspi/spi_accessible.c: use extensively.
540         (AccessibleStateSet_equals): add direct compare check.
541
542         * cspi/spi_selection.c: tolerate NULL objs, and check
543         exceptions before return.
544
545         * cspi/spi-util.c (cspi_warn_ev): rename to
546         (cspi_check_ev): this & don't pass ev in; no point.
547
548 2001-12-10  Michael Meeks  <michael@ximian.com>
549
550         * test/test-simple.c: use putenv not setenv
551         (get_environment_vars): more chatty if you're not using
552         the fun bits.
553
554         * test/simple-at.c: do the setenv so more people see the
555         nice demo easily.
556
557 2001-12-10  Bill Haneman <bill.haneman@sun.com>
558
559         * libspi/registry.c:
560         Changed check of CORBA_environment on notification to be a warning
561         instead of an error for the moment, since we can recover from this
562         error when caused by a queued notification from a dead app.
563         
564         * libspi/value.c:
565         Fixes for spi_value, use G_TYPE_DOUBLE for atk_value values (as
566         used by all current implementors of AtkValue), and coerce to
567         CORBA_float. (Proper general case fix may require change to Value.idl).
568
569 2001-12-09  Bill Haneman <bill.haneman@sun.com>
570
571         * cspi/spi.h:
572         * cspi/spi_event.c:
573         * cspi/spi_accessible.c:
574         Documentation fixes: added user_data params to documentation for 
575         listeners and callbacks.  
576
577         * cspi/spi_accessible.c: 
578         Changed AccessibleStateSet_compare to return a
579         StateSet rather than return the difference set into a third parameter.
580         
581         
582 2001-12-09  Bill Haneman <bill.haneman@sun.com>
583
584         * configure.in:
585         Replace use of AM_PROG_XML_I18N_TOOLS macro with AC_PROG_INTLTOOL.
586         remove 'dnl' comment line from AC_OUTPUT (autoconf doesn't like
587         it). 
588
589         * Makefile.am:
590         Remove subdirectory po from SUBDIRS for now.
591
592         * at-bridge/bridge.c:
593         Beefed up a couple of debug printouts.
594         One-line fix for signal notification name formatting.
595
596         * libspi/accessible.c:
597         Added assertion to spi_accessible_new ().
598
599         * libspi/application.c:
600         Put #ifdef qualifiers around a printf.
601
602         * libspi/value.c:
603         Fixed derivation (from BONOBO_OBJECT to SPI_BASE).
604
605         * registryd/Makefile.am:
606         * util/Makefile.am:
607         Replaces use of XML_I18N_MERGE_SERVER_RULE with
608         INTLTOOL_SERVER_RULE macro.
609
610         * test/simple-at.c:
611         Added an event listener for several ATK signals, for
612         testing and debugging.  Removed a few g_warnings.
613         Added test output if focussed item implements the Value interface.
614
615         * test/test-simple.c:
616         Added test_value () function (known not to pass at the moment, so
617         not actually called yet.
618         
619 2001-12-08  Michael Meeks  <michael@ximian.com>
620
621         * at-bridge/bridge.c (bridge_focus_tracker),
622         (emit_eventv): fix the same ref. leak.
623         (register_atk_event_listeners): don't leak.
624
625         * cspi/spi-listener-impl.c (cspi_event): more 
626         protection from client code.
627
628         * test/test-simple.c (test_desktop): unref the app.
629
630         * test/Makefile.am: upd. TESTS.
631
632         * at-bridge/bridge.c (bridge_exit_func): release the registry.
633
634         * test/keysynth-demo.c (keysynth_exit): unref the listeners.
635
636         * cspi/spi_accessible.c (Accessible_queryInterface): constify.
637
638         * cspi/spi_registry.c: constify in strings.
639         (deregisterGlobalEventListenerAll): don't release the ref.
640
641         * cspi/spi.h: start removing redundant / conflicting
642         gtkdoc comments, making the API readable at a glance :-)
643         
644         * cspi/spi_event.c (AccessibleEventListener_unref): impl.
645
646         * test/keysynth-demo.c (keysynth_exit, main): upd.
647
648         * test/simple-at.c (main, simple_at_exit): upd.
649
650         * test/test-simple.c (unutterable_horror): kill.
651         (utterable_normal_derefs): kill.
652         (main): upd & do a setenv before gtk_init, so that we
653         can use memprof - and to save the pain of remembering
654         this, if we're running under memprof - don't exit.
655
656         * cspi/spi_main.c (SPI_exit): return exit status
657         for cspi.
658         (SPI_event_quit): impl.
659         (SPI_event_main): simplify.
660         (cspi_is_gnome_app): kill.
661         (SPI_init): kill isGNOMEapp arg.
662
663         * at-bridge/bridge.c (register_atk_event_listeners):
664         re-instate the unref.
665         (bridge_exit_func): don't re-activate the registry,
666         protect vs. theoretical re-entry, use the
667         AT_BRIDGE_SHUTDOWN env. var to determine whether to
668         assert a clean shutdown - for regression tests.
669
670 2001-12-08  Abel Cheung  <maddog@linux.org.hk>
671
672         * configure.in: Comment out dummy i18n support for now,
673           otherwise it fails to build.
674         * idl/Makefile.am: Add Selection.idl and Hypertext.idl to
675           EXTRA_DIST. They are missing in tarball.
676
677 2001-12-07  Michael Meeks  <michael@ximian.com>
678
679         * util/magnifier.c: kill bonobo activation reg. race.
680
681         * libspi/component.c
682         (impl_accessibility_component_get_extents): make it match
683         it's sig.
684
685         * libspi/registry.c (_registry_notify_listeners):
686         re-remove X headers & reconcile conflicts.
687         (spi_listener_struct_free): bad conflict resolve.
688         (impl_accessibility_registry_register_application):
689         more bad merging fixed.
690         (impl_accessibility_registry_deregister_application): ditto.
691         (spi_registry_new): ditto.
692         (spi_registry_init): don't have an applications field.
693
694 [ merge fixups2 branch to here ]
695 2001-12-07  Michael Meeks  <michael@ximian.com>
696
697         * test/simple-at.c (report_focus_event),
698         (report_focussed_accessible): remove g_warning debug.
699
700 2001-12-07  Michael Meeks  <michael@ximian.com>
701
702         * test/test-simple.c (validate_tree): comment out some checks.
703         (test_desktop): app now not registered idly - horay.
704
705 2001-12-07  Michael Meeks  <michael@ximian.com>
706
707         * cspi/spi_registry.c
708         (registerAccessibleKeystrokeListener): clean, stop it leaking
709         great swathes of memory, and device event controller references.
710         ensure we always pass valid sequences.
711         (deregisterAccessibleKeystrokeListener): ditto.
712         (generateKeyEvent): upd.
713
714         * at-bridge/bridge.c (bridge_key_listener): handle
715         registry dead exception gracefully.
716         (bridge_focus_tracker, emit_eventv): free ev.
717
718         * test/simple-at.c (report_focus_event): fix polarity.
719
720         * libspi/application.c (notify_listeners): kill the ev
721         argument, and make sure we init the ev we use.
722         (spi_application_object_event_listener): split out a chunk
723         (get_atk_object_ref): here & fixup.
724         (reverse_lookup_name_for_toolkit_event): make const.
725         (spi_application_toolkit_event_listener): fixup, kill leaks
726         ref problems etc.
727
728         * at-bridge/bridge.c (register_atk_event_listeners):
729         don't unref the noop object - causes grief.
730
731         * libspi/registry.c: remove the X headers.
732         turn off the debug churn.
733
734         * libspi/accessible.c (spi_accessible_new_return): only
735         release the ref if we are supposed to [doh]
736
737         * test/simple-at.c (report_button_press, report_focus_event):
738         guard vs. unexpected exit.
739
740         * at-bridge/bridge.c (gtk_module_init): prune printf.
741         (bridge_exit_func): fix app unref.
742
743         * libspi/Makefile.am: don't install registry or desktop.h
744
745         * libspi/*.h: update includes.
746
747         * libspi/application.h: don't include ourself, or
748         other redundant headers.
749
750 2001-12-06  Michael Meeks  <michael@ximian.com>
751
752         * libspi/accessible.c
753         (get_accessible_from_servant): impl.
754         Upd. all CORBA impl.s to use it killing cut and paste.
755
756         * cspi/spi_main.c (cspi_cleanup): guard vs. double
757         invokes.
758         (SPI_init): register atexit cleanup handler here.
759
760 2001-12-06  Michael Meeks  <michael@ximian.com>
761
762         * at-bridge/bridge.c (gtk_module_init): g_error on
763         activation exception
764
765 2001-12-06  Michael Meeks  <michael@ximian.com>
766
767         * at-bridge/bridge.c (gtk_module_init): some sort of
768         confusing merge clash - reverted.
769         (bridge_idle_init): ditto.
770
771         * test/test-simple.c (main, utterable_normal_derefs):
772         merge from Bill - somehow not committed.
773
774 2001-12-06  Michael Meeks  <michael@ximian.com>
775
776         * libspi/value.c (spi_value_class_init): upd.
777         (spi_value_finalize): kill.
778
779         * libspi/table.c (spi_table_finalize): kill.
780         (spi_table_interface_new): upd.
781         (spi_table_class_init): upd.
782         (get_table_from_servant): impl.
783         Upd. all CORBA impl.s to use it killing yet more cut and paste.
784
785         * libspi/selection.c (spi_selection_finalize): kill.
786         (spi_selection_interface_new): upd.
787         (spi_selection_class_init): upd.
788         (get_selection_from_servant): impl.
789         Upd. all CORBA impl.s to use it killing yet more cut and paste.
790
791         * libspi/relation.c (spi_relation_finalize): kill.
792         (spi_relation_class_init, spi_relation_new): upd
793
794         * libspi/image.c (spi_image_finalize): kill.
795         (spi_image_class_init): upd.
796         (spi_image_interface_new): upd.
797         (get_image_from_servant): impl.
798         Upd. all CORBA impl.s to use it killing yet more cut and paste.
799
800         * libspi/hyperlink.c (spi_hyperlink_class_init): upd.
801         (spi_hyperlink_finalize): kill.
802         (spi_hyperlink_new): upd.
803         (get_hyperlink_from_servant): impl.
804         Upd. all CORBA impl.s to use it killing yet more cut and paste.
805
806         * libspi/hypertext.c (spi_hypertext_interface_new): upd.
807         (spi_hypertext_finalize): kill.
808         (spi_hypertext_class_init): upd.
809         (get_hypertext_from_servant): impl.
810         Upd. all CORBA impl.s to use it killing yet more cut and paste.
811
812         * libspi/editabletext.c (spi_editable_text_finalize): kill.
813         (spi_editable_text_interface_new): upd.
814         (get_editable_text_from_servant): impl.
815         Upd. all CORBA impl.s to use it killing yet more cut and paste.
816         
817         * libspi/text.c (get_text_from_servant): impl.
818         All impls - update to use it killing more cut and paste,
819         also fix bad string returns on duff args ( a somewhat
820         impossible case to handle - but hey ).
821         (spi_text_construct): impl.
822         (spi_text_interface_new): upd.
823         (spi_text_object_finalize): kill.
824
825         * libspi/component.c
826         (accessibility_component_object_finalize): kill.
827         (spi_component_class_init): upd.
828         (get_component_from_servant): impl. helper to kill cut & paste.
829         (impl_accessibility_component_contains): 
830         (impl_accessibility_component_get_accessible_at_point): 
831         (impl_accessibility_component_get_position): 
832         (impl_accessibility_component_get_extents): 
833         (impl_accessibility_component_get_mdi_z_order): 
834         (impl_accessibility_component_get_layer): 
835         (spi_component_interface_new): upd.
836
837         * libspi/action.c (spi_action_finalize): kill.
838         (spi_action_class_init): upd. inherit from SpiObject.
839         (spi_action_interface_new): upd.
840         (get_action_from_servant): impl. helper to reduce cut & paste.
841         (impl_getKeyBinding, impl_getName, impl_doAction),
842         (impl_getDescription): Use it everywhere.
843
844         * cspi/spi_main.c (get_live_refs): a pointer hash.
845         (spi_object_hash, spi_object_equal): comment out.
846         There are issues with CORBA object hashing that need
847         solving.
848
849         * libspi/application.c (spi_application_init),
850         (spi_application_new): upd.
851
852         * libspi/accessible.c (spi_accessible_object_finalize): kill.
853         (spi_accessible_class_init): upd.
854         s/accessible/object/ in epv methods.
855
856 2001-12-05  Bill Haneman <bill.haneman@sun.com>
857
858         * at-bridge/bridge.c:
859         Reorder the bridge initialization into the bridge gtk_module_init,
860         an immediate call to bridge_register_app, and an idle_add for
861         register_atk_event_listeners (the only code that *must* wait until
862         GTK+ is initialized) via bridge_idle_add. Bridge_register_app does
863         the activation, creates the application's Accessible object, and
864         queues the bridge_idle_init function.  Restored call to
865         Accessibility_Registry_deregisterApplication().  
866         Prior to making this call we obtain a new reference to the
867         registry, which is a temporary hack that helps us handle apps that
868         shut down the bonobo mainloop before we get there.
869
870         * libspi/registry.c:
871         Fix string leakage in debug block, and don't segv if a an app
872         dies before its event notifications have been propagated.
873
874         * cpi/spi_util.c:
875         Modify cspi_check_ev() to call g_warning() rather than g_error(),
876         as stopgap measure until we get proper exception handling when 
877         objects die during or before interrogation.  
878
879         * cspi/spi_main.c:
880         * cspi/spi.h:
881         Moved use of isGNOMEApp flag from SPI_event_main to SPI_init.
882         Also changed default value of is_gnome_app to TRUE.
883
884         * test/simple-at.c:
885         * test/keysynth-demo.c:
886         Changed use of SPI_init and SPI_event_main to reflect API change above.
887
888         * test/simple-at.c:
889         Made report_focus_event check the warning value from getName
890         before reporting on focussed accessible; simplifies handling of
891         notifications from dead objects.
892
893         * test/test-simple.c: (Changes not in this patch since source is
894         not in CVS ?)
895         
896 2001-12-05  Michael Meeks  <michael@ximian.com>
897
898         * registryd/registryd.c (main): protect against
899         bonobo-activation startup race condition.
900
901         * cspi/spi_main.c (cspi_object_add_check): cope
902         with the exception elegantly.
903
904         * idl/Accessible.idl: decl. ChildGone
905
906         * libspi/desktop.c (spi_desktop_dispose): impl.
907         (spi_desktop_class_init): upd.
908         (spi_desktop_add_application),
909         (spi_desktop_remove_application),
910         (abnormal_application_termination): impl.
911         (impl_desktop_get_child_at_index): re-impl.
912
913         * libspi/registry.c
914         (impl_accessibility_registry_deregister_application),
915         (impl_accessibility_registry_register_application): 
916         kill excessive debug clutter.
917
918         * test/test-simple.c (test_misc): test some NULL
919         tolerance. (main): upd.
920
921         * cspi/spi_main.c (cspi_accessible_is_a): a NULL
922         implements no interfaces - so let's not crash.
923
924         * cspi/spi_accessible.c (Accessible_queryInterface): ditto.
925
926         * libspi/accessible.c (spi_accessible_new_return): impl.
927         helper to calm the cut and paste, to cope with
928         NULL AtkObjects effectively and efficiently, and to kill
929         the referencing bugs.
930
931         * libspi/table.c (impl_getAccessibleAt),
932         (impl_getRowHeader, impl_getColumnHeader): upd.
933
934         * libspi/hyperlink.c (impl_getObject): upd.
935
936         * libspi/accessible.c
937         (impl_accessibility_accessible_get_child_at_index): upd.
938
939         * libspi/component.c
940         (impl_accessibility_component_get_accessible_at_point): upd.
941
942         * test/test-simple.c (test_editable_text, test_text): impl.
943         some simple tests.
944
945         * cspi/spi_editabletext.c
946         (AccessibleEditableText_insertText): constify.
947
948         * test/test-simple.c (focus_me): make more robust.
949
950         * libspi/accessible.c: remove some printfs in methods that
951         we test and work fine, so we can get a clean tree dump.
952
953         * test/test-simple.c (validate_accessible),
954         (validate_tree): make tree dumping pretty too.
955
956         * at-bridge/bridge.c (bridge_signal_listener): upd. so
957         it builds without debug on.
958
959         * test/test-simple.c (validate_accessible): fix the most
960         ludicrous bug.
961
962         * cspi/spi_main.c (spi_object_release): leave the nicely
963         blanked memory around if in debug mode.
964
965         * cspi/spi-listener-impl.c (cspi_event): use add_check.
966
967 [committed to fixups2]
968 2001-12-05  Michael Meeks  <michael@ximian.com>
969
970         * libspi/editabletext.c
971         (spi_editable_text_class_init): g_type_class_peek_parent,
972         not interface peek - so we finalize cleanly.
973
974         * libspi/accessible.c (spi_accessible_new): kill debug.
975
976         * test/test-simple.c (validate_accessible): fix ref.
977         leak, print strings before freeing them; sigh, comment a
978         chunk out due to strangeness.
979         (validate_tree): unref the child after use.
980
981         * cspi/spi_component.c (AccessibleComponent_getLayer):
982         add missing break statement, switch on zlayer not the
983         uninitialized retval.
984
985         * cspi/spi_main.c (cspi_object_add): add assert, local ref
986         before (possibly re-entering) remote unref.
987
988         * test/simple-at.c (main): unref the desktop.
989
990         * cspi/spi_accessible.c (cspi_accessible_is_a): move 
991         into:
992         
993         * cspi/spi_main.c (cspi_accessible_is_a): here to 
994         isolate bonobo API usage more.
995
996         * libspi/registry.c (impl_accessibility_registry_register_application): 
997         prune bogus comment.
998
999 2001-12-04  Michael Meeks  <michael@ximian.com>
1000
1001         * test/test-simple.c (validate_tree): upd.
1002         IndexInParent check to make it more lucid.
1003         (validate_accessible): dump the tree.
1004
1005         * libspi/accessible.c (de_register_public_ref),
1006         (get_public_refs): impl.
1007         (spi_accessible_new): make more efficient & intuitive.
1008         Now IndexInParent check works.
1009
1010 2001-12-04  Michael Meeks  <michael@ximian.com>
1011
1012         * cspi/spi-util.h: remove.
1013
1014         * cspi/spi.h: move SPI_freeString here
1015
1016         * libspi/component.c (impl_accessibility_component_get_layer): 
1017         warning fixage.
1018         (impl_accessibility_component_get_mdi_z_order): ditto,
1019         return -1 on error - is this ok ?
1020
1021         * test/test-simple.c (test_application): impl.
1022
1023         * cspi/spi_accessible.c (Accessible_getApplication),
1024         (Accessible_isApplication): impl.
1025
1026         * libspi/registry.c (spi_listener_struct_free): release
1027         the CORBA reference too.
1028
1029         * libspi/accessible.c
1030         (impl_accessibility_accessible_get_parent): fix ref leak.
1031
1032         * libspi/registry.c (spi_registry_new): make the registry
1033         immortal - we don't want it to go away ever.
1034
1035         * libspi/application.c
1036         (spi_accessible_application_finalize): impl. cleanup.
1037
1038         * cspi/spi_registry.c
1039         (deregisterGlobalEventListenerAll),
1040         (deregisterGlobalEventListener),
1041         (deregisterAccessibleKeystrokeListener): fix ref leak.
1042
1043         * cspi/spi_main.c (SPI_init): remove redundant ref.
1044
1045         * test/test-simple.c (unutterable_horror): impl. to force a
1046         clean shutdown.
1047         (main): use it.
1048
1049         * libspi/registry.c
1050         (impl_accessibility_registry_deregister_application): release
1051         the application when we de-register it.
1052
1053         * at-bridge/bridge.c (bridge_exit_func): comment out shutdown
1054         until we have the infastructure to get it right.
1055
1056 2001-12-03  Michael Meeks  <michael@ximian.com>
1057
1058         * libspi/Makefile.am: only build eventlistener.[ch]
1059
1060         * libspi/accessible.c
1061         (impl_accessibility_accessible_get_child_at_index): don't leak.
1062
1063         * at-bridge/bridge.c (bridge_exit_func): cope with an exit
1064         before we hit the idle handler.
1065
1066         * cspi/spi-util.c (cspi_check_ev): g_error is far nicer for
1067         debugging than exit.
1068
1069         * at-bridge/bridge.c (bridge_focus_tracker): fix ref issue.
1070
1071         * libspi/listener.c (impl_notify_event): check source
1072         not NIL before unref.
1073
1074         * libspi/registry.c (impl_registry_notify_event): ditto.
1075
1076         * libspi/eventlistener.c
1077         (impl_accessible_event_notify_event): unref the source.
1078
1079         * libspi/accessibleeventlistener.c
1080         (impl_accessible_event_notify_event): unref the source.
1081
1082         * idl/Event.idl: remove 'hash_id' attribute - of no
1083         concievable use.
1084
1085         * libspi/application.c (notify_listeners): upd list
1086         iteration & sig.
1087         (spi_application_object_event_listener), 
1088         (spi_application_toolkit_event_listener): upd to do correct
1089         CORBA ref counting.
1090
1091         * libspi/registry.c
1092         (_registry_notify_listeners): update.
1093         (parse_event_type): this method also leaks like a sieve.
1094         (impl_accessibility_registry_deregister_global_event_listener): 
1095         fix ETYPE_WINDOW case.
1096
1097         * libspi/application.c
1098         (impl_accessibility_application_register_object_event_listener): 
1099         kill leak.
1100
1101         * libspi/hyperlink.c (impl_getObject): fix ref mistake.
1102
1103         * libspi/hypertext.c (impl_getLink): ditto.
1104
1105         * cspi/spi_main.c (cspi_object_add): remove
1106         bogus CORBA_Object_duplicate.
1107
1108         * cspi/spi-listener-impl.c (cspi_event): dup/ref
1109         on the object_add.
1110
1111         * cspi/spi_accessible.c
1112         (Accessible_getRelationSet): fix leak / referencing issue.
1113
1114         * cspi/spi_main.c (spi_object_hash, spi_object_equal): impl.
1115         (cspi_object_add, cspi_object_unref): upd.
1116         (spi_object_release, get_live_refs): impl.
1117         (cspi_cleanup): simplify.
1118
1119         * *.[ch]: s/boolean/SpiBoolean/
1120
1121         * cspi/spi_accessible.c (role_names): actualy order so it
1122         corresponds with the enum !
1123
1124         * test/test-simple.c (test_roles): check some role strings
1125         vs. enums to detect offset errors.
1126
1127 2001-12-01  Michael Meeks  <michael@ximian.com>
1128
1129         * cspi/spi_main.c (cspi_object_add_check): impl. helper.
1130
1131         * cspi/spi_accessible.c (Accessible_getChildAtIndex):
1132         check ev before 
1133         (Accessible_getChildAtIndex): use cspi_add_check so we
1134         check the ev before using a (possibly) invalid value.
1135
1136         * libspi/accessible.c
1137         (impl_accessibility_accessible_get_parent): don't segv
1138         on a NULL parent.
1139
1140         * at-bridge/bridge.c (gtk_module_init): upd.
1141         (bridge_property_event_listener): don't leak strings
1142         and events !
1143         (bridge_state_event_listener),
1144         (bridge_property_event_listener): don't use a static
1145         buffer in case of recursive event emission &
1146         re-enterancy - split out the swathe of cut and paste
1147         into:
1148         (emit_eventv): and fix 2 ref leaks here & comply to the
1149         coding style.
1150         (bridge_register_app): rename to 
1151         (bridge_idle_init): this and kill arg parsing, split
1152         various inits & bonobo-activation registration to module
1153         init time, kill referencing error.
1154         (bridge_exit_func): fix the same leak.
1155         (bridge_focus_tracker): don't leak event structures
1156         and strings.
1157         (bridge_signal_listener): more leakage and cut & paste
1158         fixage.
1159         (bridge_key_listener): return the result - FIXME is
1160         this polarity correct ?
1161         (accessibility_keystroke_from_atk_key_event): rename
1162         (accessibility_init_keystroke_from_atk_key_event): and stop
1163         leakage.
1164         (gtk_module_init): return a value - not that it is checked by
1165         Gtk - but hey.
1166         (bridge_key_listener): register my horror at casting between
1167         IDL defined structs.
1168         (bridge_get_registry): kill - not used.
1169
1170         * cspi/spi_accessible.c (Accessible_getRole): make return const.
1171
1172         * test/test-simple.c (test_roles): impl.
1173         (test_desktop, validate_accessible, validate_tree): impl.
1174
1175         * cspi/spi_accessible.c (role_names): fixup bogus
1176         MAX_ROLES setup, make constants const for efficient linkage
1177         (AccessibleRole_getName): conform to coding style, make
1178         return 'const'
1179
1180 2001-11-30  Michael Meeks  <michael@ximian.com>
1181
1182         * cspi/spi.h: add missing prototype.
1183
1184         * libspi/registry.c (spi_listener_struct_new): fix sig.
1185
1186         * test/Makefile.am: add test-simple
1187
1188         * test/test-simple.c: add
1189
1190         * test/test.sh: add.
1191
1192         * cspi/spi_main.c (SPI_init): make SPI_inited module global,
1193
1194         * at-bridge/bridge.c (gtk_module_init): don't do an idle init,
1195         do it straight - since otherwise we often get an activation race.
1196
1197 [ work before Bill duplicated a chunk of it ... ]
1198 2001-11-30  Michael Meeks  <michael@ximian.com>
1199
1200         * libspi/keystrokelistener.c
1201         (spi_keystroke_listener_class_init): fixup arg
1202         count (doh).
1203
1204         * libspi/eventlistener.c
1205         (spi_event_listener_class_init): ditto.
1206
1207         * tests/test.sh: add.
1208
1209         * cspi/spi-listener-impl.h: update macros.
1210
1211         * cspi/spi-listener-impl.c
1212         (cspi_event_listener_remove_callback): add
1213         correct pre-conditions.
1214
1215         * cspi/spi_main.c (SPI_exit): guard vs. double
1216         exits, exit the mainloop nicely.
1217         (SPI_event_main): make more sense.
1218         (SPI_init): move the atexit evilness here so we
1219         always do it (yuck).
1220         (SPI_event_main): upd.
1221
1222         * test/simple-at.c: update for listener changes.
1223
1224         * registryd/registryd.c (main): prune kruft.
1225
1226         * libspi/libspi.h: upd.
1227
1228         * libspi/eventlistener.[ch]: rename broken macros.
1229
1230         * libspi/accessibleeventlistener.[ch]: remove.
1231
1232         * libspi/*.[ch]: IS_SPI_... -> SPI_IS_...
1233
1234         * test/test-simple.c: Add - automated tests.
1235
1236         * cspi/spi-listener-impl.c (cspi_event),
1237         (cspi_key_event): add user_data to invoke.
1238         (cspi_keystroke_listener_finalize): impl.
1239         (cspi_keystroke_listener_class_init): upd.
1240
1241         * cspi/spi_event.c
1242         (createAccessibleEventListener),
1243         (AccessibleEventListener_addCallback),
1244         (createAccessibleKeystrokeListener),
1245         (AccessibleKeystrokeListener_addCallback): upd.
1246
1247         * libspi/deviceeventcontroller.c
1248         (spi_device_event_controller_check_key_event): add public proto.
1249
1250         * libspi/registry.c
1251         (impl_accessibility_registry_deregister_global_event_listener): 
1252         always init listeners.
1253         (_registry_notify_listeners): yes it is.
1254
1255         * cspi/spi-listener-impl.c (cspi_key_event): 
1256         move debug to here.
1257         (cspi_event_listener_finalize): impl.
1258         (cspi_event_listener_class_init): hook up.
1259         (event_handler_new, event_handler_free),
1260         (event_list_remove_by_callback): impl.
1261         (cspi_event_listener_remove_callback),
1262         (cspi_keystroke_listener_remove_callback),
1263         (cspi_keystroke_listener_add_callback),
1264         (cspi_event_listener_add_callback): upd.
1265
1266         * libspi/keystrokelistener.c
1267         (keystroke_listener_object_finalize): kill
1268         (spi_keystroke_listener_class_init): upd.
1269         (spi_keystroke_listener_add_callback),
1270         (spi_keystroke_listener_remove_callback): kill,
1271         use signals.
1272         (impl_key_event): prune drasticaly.
1273
1274         * libspi/eventlistener.c
1275         (spi_event_listener_add_callback),
1276         (spi_event_listener_remove_callback): kill, use
1277         signals.
1278         (impl_accessible_event_notify_event): upd.
1279         (spi_event_listener_object_finalize): remove.
1280
1281         * libspi/Makefile.am: use eventlistener.[ch]
1282
1283 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
1284
1285         * libspi/registry.c (_registry_notify_listeners):
1286         Changed listener loop iteration to use preferred convention.
1287         Got rid of string memory leaks caused be calling g_strconcat
1288         inside function calls.
1289
1290         * libspi/registry.c (parse_event_type):
1291         Stopped g_strconcat memory leaks, free the g_strsplit return,
1292         g_strdup the split pieces when used, etc.
1293
1294 2001-12-04  Bill Haneman  <bill.haneman@sun.com>
1295
1296         * idl/State.idl: 
1297         Change method 'compare' to return a 'difference set' rather than
1298         taking a StateSet as an out parameter (more Java-friendly).
1299
1300         * idl/Accessible.idl:
1301         Added CORBA struct 'BoundingBox', to faciliate API changes below:
1302         
1303         * idl/Component.idl:
1304         * idl/Image.idl:
1305         Changed methods 'getExtents' and 'getImageExtents' in these
1306         interfaces to return a BoundingBox structure.  
1307         (getPosition and getSize are redundant and possibly should be
1308         removed, rather than creating a corresponding Point struct.)
1309
1310         * cspi/spi_component.c:
1311         Modify implementation of getExtents to reflect the above IDL
1312         change.
1313         
1314         * cspi/spi_image.c:
1315         * cspi/spi.h:
1316         Add (missing) AccessibleImage_getExtents () API.
1317
1318         * docs/reference/cspi/at-spi-cspi-sections.txt:
1319         Added AccessibleImage_getImageExtents () to docs.
1320         
1321 2001-12-03  Bill Haneman  <bill.haneman@sun.com>
1322
1323         * idl/Component.idl:
1324         Added two methods, getLayer () and getMDIZOrder (), to reflect
1325         the new ATK methods atk_object_get_layer and
1326         atk_object_get_mdi_z_order. (Which arguably should be part of the
1327         AtkComponent API and AtkObject).  Also added an enum,
1328         ComponentLayer, for the first method's return value.
1329
1330         * libspi/component.c:
1331         Added implementations for these methods.
1332
1333         * cspi/spi_component.c:
1334         * cspi/spi.h:
1335         Added cspi binding methods for above, 
1336         AccessibleComponent_getLayer() and
1337         AccessibleComponent_getMDIZOrder().
1338         Added cspi enum 'AccessibleComponentLayer'.
1339
1340         * docs/reference/cspi/at-spi-cspi-sections.txt:
1341         Added above methods to docs.
1342
1343         * cspi/spi-impl.h:
1344         * cspi/spi*.[ch]:
1345         Changed typedef for 'boolean' type (and all references to it) to
1346         SPIBoolean, to avoid keyword clashes with C++.
1347
1348         * test/simple-at.c:
1349         Changed usages of 'boolean' to SPIBoolean.
1350
1351         * test/keysynth-demo.c:
1352         Changed usages of 'boolean' to 'gboolean' (since this is a gnome
1353         app), except where SPIBoolean is required by the callbacks API.
1354         
1355 2001-12-02  Bill Haneman  <bill.haneman@sun.com>
1356
1357         * cspi/spi_registry.c:
1358         Removed obsolete X event loop for passive keygrabs (which now
1359         lives in libspi).
1360
1361         * registryd/registryd.c:
1362         Removed unnecessary call to gdk_init() [cruft]. This also allows
1363         removal of requisite gdk-2.0 from REGISTRYD_LIBS/CFLAGS in
1364         * configure.in.
1365
1366 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
1367
1368         * docs/reference/cspi:
1369         Included docs for SPI_freeString in generated documentation.
1370
1371         * cspi/spi-util.c:c
1372         Renamed spi_freeString to SPI_freeString, for consistency.  Added
1373         documentation for this function.
1374
1375         * cspi/spi-util.h:
1376         Renamed spi_freeString to SPI_freeString, for consistency.  
1377         Removed obsolete method declaration string_from_corba_string.
1378
1379         * test/keysynth-demo.c:
1380         Small tweak to comments.
1381
1382         * test/simple-at.c:
1383         Stopped leaking the strings returned from CSPI. 
1384
1385 2001-11-28  Bill Haneman  <bill.haneman@sun.com>
1386
1387         Merged Michael's branch (see his ChangeLog entries below).
1388         
1389         * at-bridge/bridge.c: Explicitly hold a ref to the registry while
1390         bridge is alive, release on exit.
1391         
1392         * cspi/spi-listener-impl.c (cspi_event_listener_add_callback):
1393         Fix type check macro.
1394         
1395         * cspi/spi_event.c:
1396         Added AccessibleKeystrokeListener_unref() method to reduce leakage.
1397         
1398         * cspi/spi_main.c: 
1399         Added is_gnome_app static, and method cspi_is_gnome_app(), 
1400         so we can call the appropriate shutdown routine at exit in SPI_exit.
1401         
1402         * cspi/spi_main.c (cspi_object_ref):
1403         Duplicate the corba object passed in, since we're keeping it around.
1404         
1405         * cspi/SPI_exit.c, cspi_cleanup:
1406         Moved the releasing of the live refs to its own function, so we
1407         can put it in g_atexit ().  Call the appropriate shutdown API
1408         depending on whethe calling client is a gnome app or not
1409         (bonobo_main_quit or CORBA_ORB_shutdown).
1410         
1411         * cspi/spi_registry.c (deregisterGlobalEventListenerAll):
1412         Unref the listener when this method is called, after
1413         deregistration.  Updated the API docs to note this behavior.
1414
1415         * libspi/accessible.c (impl_get_parent, impl_get_child_at_index):
1416         Bugfixes: Ref the bonobo object when returning a parent or child 
1417         reference, or an AccessibleRelation.  Generally made sure
1418         BonoboObject refcount is incremented whenever we return an
1419         Accessible.
1420
1421         * libspi/accessibleeventlistener.c (spi_event_listener_class_init):
1422         Fixed typo/bug in signal declaration.
1423         
1424         * libspi/accessibleeventlistener.h:
1425         Fixed a type macro.
1426
1427         * libspi/application.c (spi_application_new):
1428         Fixed leak in initialization.
1429
1430         * libspi/desktop.c:
1431         Remembered to increment bonobo-object refcount when returning
1432         children (applications) from desktop object.
1433         Added (empty) finalize method.
1434
1435         * libspi/deviceeventcontroller.c:
1436         Hold a ref to listeners inside DEControllerKeyListeners.
1437         Added dec_key_listener_free() method.  Use prepend instead of
1438         append in key_listener list.  Fixed some refcount madness and
1439         leaks in the listener registration/deregistration - deregistration
1440         now calls dec_key_listener_free() on listeners, and on the
1441         temporarily constructed dec_key_listener() used to perform the search/match.
1442
1443         * libspi/hypertext.c (spi_hypertest_finalize):
1444         Fixed 'double unref' of AtkObject held by parent SpiAccessibleText
1445         class.  Also fixed spi_hypertext_interface_new() and
1446         SpiHypertextClass.  Fixed a couple of paren-whitespace formatting bugs.
1447
1448         * libspi/hypertext.h: 
1449         Removed pointless and duplicate AtkObject pointer from
1450         SpiHypertextClass.
1451
1452         * libspi/keystrokelistener.c:
1453         Fixed incorrect type of keystroke_listener_parent_class,
1454         renamed keystroke_listener_object_finalize to
1455         spi_keystroke_listener_object_finalize.
1456         Fixed typo in signal declaration
1457         (spi_keystroke_listener_class_init).
1458
1459         * libspi/registry.c:
1460         Added funcsions spi_listener_struct_new() and
1461         spi_listener_struct_free() to help with memory management issues.
1462         We also now use these methods instead of gnew + poking stuff into
1463         the struct, and to decrement listener counts/free the listeners
1464         when deregistering them.
1465         Fix more refcount bugs in getDesktop() and
1466         getDeviceEventController().  
1467
1468         * test/simple-at.c:
1469         De-ref the desktop after enumerating the applications.  Explicitly
1470         decrement the refcounts on the created listeners on exit (using
1471         _unref for keystroke listeners, and via the
1472         deregisterGlobalEventListenerAll command for other event
1473         listeners).
1474         
1475 2001-11-27  Michael Meeks  <michael@ximian.com>
1476
1477         * cspi/spi-listener.h: fixup enum.
1478
1479 2001-11-27  Michael Meeks  <michael@ximian.com>
1480
1481         * cspi/spi-listener-impl.c (cspi_event_listener_new),
1482         (cspi_keystroke_listener_new): Use the cspi variants.
1483
1484 2001-11-26  Michael Meeks  <michael@ximian.com>
1485
1486         * test/keysynth-demo.c: fix 2 compile warnings, missing
1487         type in decl. etc.
1488
1489         * test/simple-at.c (report_focussed_accessible),
1490         (report_focus_event, report_button_press),
1491         (check_property_change, is_command_key),
1492         (report_ordinary_key_event, report_command_key_event): upd.
1493
1494         * util/mag_client.h: include pre-requisites.
1495
1496         * libspi/accessibleeventlistener.c
1497         (spi_event_listener_object_finalize): free any lingering
1498         callbacks.
1499         
1500         * libspi/keystrokelistener.c
1501         (keystroke_listener_object_finalize): ditto.
1502
1503         * cspi/spi-listener-impl.[ch]: Add to implement cspi style
1504         callbacks, with cspi types.
1505         
1506         * cspi/spi_event.c (createAccessibleEventListener): chain to
1507         (AccessibleEventListener_addCallback): here.
1508         (createAccessibleKeystrokeListener): chain to 
1509         (AccessibleKeystrokeListener_addCallback): here.
1510
1511         * libspi/keystrokelistener.c
1512         (spi_keystroke_listener_class_init): add signal.
1513         (impl_key_event): emit the event.
1514         (boolean_handled_accumulator): impl.
1515         (marshal_BOOLEAN__POINTER): add, gack.
1516
1517         * libspi/accessibleeventlistener.c
1518         (spi_event_listener_class_init): add signal.
1519         (impl_accessible_event_notify_event): emit the signal &
1520         make the loop efficient.
1521         (spi_event_listener_add_callback): prepend the callback.
1522
1523         * libspi/accessibleeventlistener.h: add an 'event' signal,
1524         decl type on callback.
1525
1526         * libspi/keystrokelistener.h: ditto.
1527
1528         * cspi/spi-listener.h: make methods typesafe and
1529         make them use the new event typedefs.
1530
1531         * test/simple-at.c (report_focussed_accessible):
1532         include mag_client.h
1533         Use *(void *)text_interface not the other thing.
1534         
1535         * configure.in: add gtk to registryd bits - since we use
1536         gdk there ( why ? )
1537
1538         * util/magnifier.c: include libbonobo.h
1539         
1540 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
1541
1542         * test/keysynth-demo.c:
1543         Turned this into a simple scanning keyboard, to demonstrate the
1544         use of g_timeout_add () as a means of creating timers for
1545         scanning, and the use of GtkStyle for visually indicating when
1546         virtual keyboard elements are selected.
1547
1548         keysynth-demo now listens to any keyboard keys with zero-valued
1549         keycodes (i.e. 'unused' keys) and interprets them as
1550         single-switches.
1551
1552         Reworked the shiftlatch code so that shift-down state isn't held
1553         for long periods (it's only synthesized immediately prior to
1554         the keysynth event it's modifying).  Note that shiftlatch in this
1555         demo is a convenience, not intended to take the place of AccessX 
1556         which is the better choice for getting 'sticky' modifier keys.
1557
1558         * libspi/deviceeventcontroller.c:
1559         * at-bridge/bridge.c:
1560         * cspi/spi_registry.c:
1561         Removed some debug print stuff, and put other verbosity in #ifdef
1562         blocks.
1563
1564         * util/magnifier.c:
1565         * util/mag_image.h:
1566         Implemented some more of the magnifier IDL for the simple
1567         magnifier: namely, getZoomRegionParams. 
1568         Added mag_x and mag_y members to MagnifierData struct, aid of this
1569         implementation.
1570         Added GtkWindow::realize signal handler to magnifier, to keep it
1571         from receiving keyboard focus from the WM.
1572
1573 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
1574
1575         * cspi/spi-private.h: my guess at what michael forgot
1576         before he ran off to NZ :-)
1577
1578 2001-11-23  Michael Meeks  <michael@ximian.com>
1579
1580         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
1581         comment out non existant method invoke so we link.
1582
1583         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
1584         use bonobo_exception_get_text for more friendly warnings.
1585
1586         * cspi/spi.c (Obj_Add): move into spi_main & rename
1587         spi_object_add; kill spi.c
1588
1589         * cspi/spi_registry.c
1590         (deregisterGlobalEventListener),
1591         (deregisterGlobalEventListenerAll),
1592         (registerGlobalEventListener): fix exception leaks.
1593
1594         * cspi/spi_main.c (spi_exception): impl. helper, so we
1595         don't leak exceptions.
1596
1597         * cspi/spi_selection.c
1598         (AccessibleSelection_deselectSelectedChild): return the
1599         success state.
1600
1601         * cspi/spi_main.c (spi_ev): impl; hack - gack.
1602         (spi_registry): ditto.
1603         (SPI_init): guard against double inits.
1604
1605         * cspi/*.c: use spi_ev (), and spi_registry () where
1606         appropriate - a temporary hack until we have something
1607         better. Use spi_object_add
1608
1609 2001-11-22  Michael Meeks  <michael@ximian.com>
1610
1611         * cspi/Makefile.am: re organise, install the headers.
1612
1613         * cspi/*.h: add G_BEGIN/END_DECLS
1614
1615 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
1616
1617         * test/simple-at.c:
1618         Added non-preemptive keylistener for key events with no modifiers
1619         and shift-only modifier.
1620
1621         * libspi/keystrokelistener.c:
1622         Removed some verbose diagnostics printout.
1623
1624         * cspi/spi_registry.c:
1625         Fixed a bug that caused all key listeners to be registered as
1626         pre-emptive.
1627         
1628         * libspi/deviceeventcontroller.c:
1629         Fixed bug that caused XGrabKey (preemptive key grab) to be called
1630         for non-preemptive key masks.
1631
1632
1633 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
1634
1635         * docs/reference/idl/at-spi-idl-docs.sgml:
1636         * docs/reference/idl/at-spi-idl-sections.txt:
1637         * docs/reference/idl/at-spi-idl-overrides.txt:
1638         Added missing files.
1639
1640         * docs/reference/Makefile.am:
1641         removed idl from SUBDIRS until we can figure a way to get gtk-doc
1642         to scan the IDL files :-(
1643
1644         * docs/reference:
1645         * docs/cspi:
1646         * docs/idl:
1647         Added .cvsignore files.
1648         
1649 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
1650
1651         * libspi/deviceeventcontroller.c:
1652         * libspi/keystrokelistener.c:
1653         * cspi/spi_event.c:
1654         * cspi/spi_registry.c:
1655         Added filters for KeySets, KeyEventSeq, and event types to key
1656         event dispatching, so listeners should only receive those events
1657         that they requested :-)
1658
1659 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
1660
1661         * configure.in:
1662         * docs/Makefile.am:
1663         * docs/reference:
1664         * docs/reference:Makefile.am:
1665         * docs/reference/cspi:
1666         * docs/reference/cspi:Makefile.am:
1667         * docs/reference/cspi:tmpl:
1668         * docs/reference/cspi:tmpl:*.sgml:
1669         * docs/reference/idl:
1670         * docs/reference/idl:Makefile.am:
1671         * docs/reference/idl:at-spi-idl-sections.txt:
1672         * docs/reference/idl:at-spi-idl-docs.sgml:
1673         * docs/reference/idl:tmpl:
1674         * docs/reference/idl:tmpl:*.sgml:
1675
1676         Restructured docs directory to allow separate 'reference' docs
1677         section, and forked idl and cspi docs.  Added the sgml template
1678         files to CVS.  Added the first sections/structural sgml for the
1679         IDL docs.
1680
1681 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
1682
1683         * configure.in, libspi/Makefile.am: find libXtst.
1684
1685 2001-11-21  Michael Meeks  <michael@ximian.com>
1686
1687         * test/accessx-gui.c: s/spi_value/value/ - doh.
1688
1689         * libspi/base.[ch]: add.
1690
1691 2001-18-11  Bill Haneman <bill.haneman@sun.com>
1692
1693         * idl/Accessible.idl:
1694         * idl/Application.idl:
1695         * idl/Registry.idl:
1696         * idl/Action.idl:
1697         Started gtk-doc cleanup on IDL.
1698
1699         * libspi/deviceeventcontroller.c:
1700         Added and connected non-preemptive key notification from the
1701         toolkits (in addition to the pre-emptive support from XServer
1702         which we had before, but which causes 'focus flashing').  Filters
1703         are presently limited to key modifiers and global/non-global,
1704         KeySets are presently ignored, as are KeyEvent masks.
1705
1706         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
1707         structs into the persistant structure rather than just storing
1708         pointers to things that might not persist across servant
1709         invocations.
1710
1711         The XGrabKey call now does async keygrabs, because synchronous
1712         ones were deadlocking with GDK_event code in a very nasty way.
1713
1714         Added boolean to internal method notify_keylisteners, to indicate
1715         whether the event came from the 'toolkit source' or the 'global
1716         (XServer) source' - this is used in the notification process to
1717         determine which listeners to send the event to.
1718
1719         deviceeventcontroller.c is now warning-free.
1720         
1721         * libspi/registry.c:
1722         Fixed regression in application de-registration.
1723         Also fixed some really brain-dead weirdness having to do with
1724         event dispatching - event structs are now duplicated before being
1725         re-marshalled in the dispatch to listeners.  This also fixes a
1726         Solaris build problem.
1727         
1728         
1729 2001-20-11  Michael Meeks  <michael@ximian.com>
1730
1731         * libspi/registry.c
1732         (impl_accessibility_registry_deregister_global_event_listener): 
1733         segv. protection.
1734
1735         * libspi/deviceeventcontroller.c
1736         (spi_device_event_controller_check_key_event): return
1737         FALSE on no virtual method.
1738
1739         * libspi/*..h: make includes work on a correctly pathed install.
1740
1741         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
1742
1743         * libspi/application.h: kill unused ( and whacked out )
1744         gboolean *spi_application_set_id (AtkObject *app, long id);
1745
1746 2001-20-11  Michael Meeks  <michael@ximian.com>
1747
1748         * libspi/*.[ch]: further convert to bonobo's type func
1749         macros, remove redundnant casts etc.
1750
1751         * libspi/text.c s/accessibility_text/spi_text/g,
1752         re-order to de-cruft.
1753
1754         * libspi/hypertext.c: re-order to kill a huge slew
1755         of redundant forward decls.
1756
1757         * libspi/relation.c: ditto.
1758
1759         * libspi/image.c: ditto.
1760
1761         * */.cvsignore: update
1762         
1763 2001-20-11  Michael Meeks  <michael@ximian.com>
1764
1765         * libspi/deviceeventcontroller.c
1766         (_controller_register_with_devices): use g_getenv,
1767         kill stdlib.h include.
1768
1769         * libspi/keystrokelistener.c
1770         (spi_keystroke_listener_get_type): kill
1771         (spi_keystroke_listener_class_init),
1772         (spi_keystroke_listener_init): rename to this.
1773
1774         * libspi/text.c (impl_getAttributes): fix warning / bug.
1775
1776         * libspi/*.[ch]: more headers, includes and over commenting.
1777         
1778 2001-20-11  Michael Meeks  <michael@ximian.com>
1779
1780         * libspi/*.[ch]: fixup headers, includes and over commenting.
1781
1782         * libspi/image.c (impl__get_imageDescription): const
1783         correctness warning fix. remove redundant casting.
1784
1785         * libspi/table.c (impl_getRowDescription): ditto.
1786         (impl_getColumnDescription): ditto.
1787
1788         * libspi/libspi.h: add.
1789
1790 2001-19-11  Michael Meeks  <michael@ximian.com>
1791
1792         * libspi/editabletext.c (impl_setAttributes): fix warnings.
1793
1794         * libspi/component.c (accessibility_component_get_type): 
1795         rename to (spi_component_get_type): and macroify.
1796         (accessibility_component_init): rename to
1797         (spi_component_init): this
1798         (accessibility_component_class_init): rename to
1799         (spi_component_class_init): this
1800
1801         * libspi/action.c (spi_action_get_type): kill, use the macro.
1802
1803         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
1804         to avoid prototype.
1805
1806         * libspi/application.c (spi_application_object_event_listener),
1807         (impl_accessibility_application_register_object_event_listener):
1808         warning fixes / const understanding updates.
1809
1810         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
1811         warning fixes.
1812
1813 2001-18-11  Bill Haneman <bill.haneman@sun.com>
1814
1815         * libspi/spi_accessible.c: Added docs and C bindings for
1816         AccessibleStateSet. (No implementations yet).  Documentation
1817         coverage for C bindings now 100%. Made docs for event listeners
1818         more explicit.
1819         
1820         * idl/Registry.idl:
1821         Added methods 
1822             boolean notifyListenersSync (in DeviceEventListener listener,
1823                                      in DeviceEvent event);
1824
1825             oneway void notifyListenersAsync (in DeviceEventListener listener,
1826                                           in DeviceEvent event);
1827
1828         Added DeviceEventListener and DeviceEvent structs (may deprecate
1829         KeyStroke and KeystrokeListener in favor of this generic
1830         event/listener framework for devices).
1831
1832         * libspi/deviceeventcontroller.c:
1833
1834         Changed some key listener code to take masks, etc., and paved the
1835         way for integration of toolkit/non-preemptive key events. Changed
1836         signatures of some internal methods.
1837
1838         * at-bridge/bridge.c:
1839         Fixed regression connecting to interface signals, apparently
1840         caused by GTK+ changes.
1841
1842         Added an internal bridge_state_listener to deal with
1843         property-change:accessible-state signals.
1844
1845         Changed the key_listeners GList to store structs (including masks,
1846         etc.) instead of just CORBA_Objects (required for full
1847         implementation of key listener API).
1848
1849         Connected the bridge to all currently supported Atk signals.
1850         Events now supported: 
1851             object:property-change
1852             object:property-change:accessible-name
1853             object:property-change:accessible-state
1854             object:property-change:accessible-description
1855             object:property-change:accessible-parent
1856             object:property-change:accessible-value
1857             object:property-change:accessible-role
1858             object:property-change:accessible-table-caption
1859             object:property-change:accessible-table-column-description
1860             object:property-change:accessible-table-column-header
1861             object:property-change:accessible-table-row-description
1862             object:property-change:accessible-table-row-header
1863             object:property-change:accessible-table-summary
1864             object:children-changed
1865             object:visible-data-changed
1866             object:selection-changed
1867             object:text-selection-changed
1868             object:text-changed
1869             object:text-caret-moved
1870             object:row-inserted
1871             object:row-reordered
1872             object:row-deleted
1873             object:column-inserted
1874             object:column-reordered
1875             object:column-deleted
1876             object:model-changed        
1877
1878 2001-16-11  Bill Haneman <bill.haneman@sun.com>
1879
1880         * libspi/hyperlink.c,h:
1881         Fixed some broken stuff in hyperlink.
1882         
1883         * libspi/relation.h:
1884         * libspi/relation.c:
1885         * cspi/spi_accessible.c:
1886         Initial implementations of AccessibleRelation methods, and docs.
1887
1888         * libspi/accessible.c:
1889         Fixed a bug that caused SEGV  if an accessible
1890         object's description is NULL, and a client
1891         requests it.  An empty string is now returned.
1892
1893         * cspi/spi_editabletext.c:
1894         * cspi/spi_hypertext.c:
1895         * cspi/spi_image.c:
1896         * cspi/spi_hyperlink.c:
1897         * cspi/spi_table.c:
1898         Added docs.  
1899
1900         Doc coverage now 95%.
1901
1902 2001-16-11  Bill Haneman <bill.haneman@sun.com>
1903
1904         One last namespacing revision:
1905         * libspi/accessibleeventlistener.[ch]:
1906         Renamed SpiAccessibleEventListener to SpiEventListener,
1907         (no need for two namespaces ;-)
1908
1909         And lots of documentation fixes:
1910
1911         * docs/at-spi-docs.sgml:
1912         Fixed 'underscore vs. hyphen' bug that was preventing
1913         the gtk-doc API docs from being automatically generated.
1914
1915         * cspi/spi-impl.h
1916         * cspi/spi-listener.h
1917         * cspi/spi.h
1918         * cspi/spi_accessible.c
1919         * cspi/spi_action.c
1920         * cspi/spi_application.c
1921         * cspi/spi_component.c
1922         * cspi/spi_editabletext.c
1923         * cspi/spi_event.c
1924         * cspi/spi_hypertext.c
1925         * cspi/spi_main.c
1926         * cspi/spi_registry.c
1927         * cspi/spi_selection.c
1928         * cspi/spi_text.c
1929         * cspi/spi_value.c
1930         * docs/Makefile.am
1931         * docs/at-spi-docs.sgml
1932         * docs/at-spi-sections.txt
1933         
1934         Added and fixed up gtk-doc documentation in cspi.
1935         
1936         Interfaces now (fully) documented (subject to revision and enhancement):
1937         SPI_main
1938         Event Listener Support
1939         Registry API
1940         AccessibleApplication
1941         Accessible
1942         AccessibleAction
1943         AccessibleComponent
1944         AccessibleEditableText
1945         AccessibleSelection
1946         AccessibleText
1947         AccessibleValue
1948
1949         still pending:
1950         AccessibleStateSet
1951         AccessibleRelationSet
1952         AccessibleImage
1953         AccessibleTable
1954         AccessibleHyperlink
1955         
1956 2001-14-11  Bill Haneman <bill.haneman@sun.com>
1957
1958         * at-bridge/bridge.c:
1959         Initial work for toolkit-level key snooper connection by bridge.
1960
1961         * cspi/spi-impl.h:
1962         * cspi/spi_*.h:
1963         * cspi/spi_*.c:
1964         New typedefs and fixes to support new namespacing, and cleaner
1965         separation of cspi bindings from libspi bonobo implementation.  
1966         Removed inconsistent and extraneous Spi* namespace prefix that
1967         had crept into cspi headers.
1968         Lots of comment fixes that sed had missed.
1969
1970         * cspi/spi-roletypes.h:
1971         * cspi/spi-statetypes.h:
1972         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
1973         to AccessibleRoleType.
1974         
1975         * libspi/accessibleeventlistener.h:
1976         Fixed minor namespacing weirdness.
1977
1978         * libspi/deviceeventcontroller.c:
1979         Reordered some internal API for device listeners.
1980         Changed the key registry final boolean to 'is_system_global'
1981         rather than 'is_synchronous', which is more descriptive of its 
1982         actual meaning.
1983         Added spi_device_event_controller_new().
1984         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
1985          
1986         * libspi/keystrokelistener.[ch]:
1987         Namespaced KeystrokeListener to SpiKeystrokeListener.
1988         Changed uses of keymasks to use SPI_ prefix, and did other
1989         knock-on fixups.
1990
1991         * libspi/keymasks.h:
1992         Namespaced keymask constants with SPI_ prefix.
1993
1994         * libspi/registry.c:
1995         Some warning fixes, and knock-on fixes from namespace changes.
1996
1997         * test/Makefile.am:
1998         Added rules for accessx-gui test program.
1999
2000         * test/accessx-gui.c:
2001         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
2002         utility.  It doesn't actually use at-spi, but it's still cool and
2003         useful ;-)
2004
2005         * test/keysynth-demo.c:
2006         * test/simple-at.c:
2007         * test/at.c:
2008         * test/app.c:
2009         Fixes so that these test clients work properly with the namespaced
2010         libraries. (Incompletely tested for technical reasons, fixes may follow)
2011         
2012
2013 2001-13-11  Michael Meeks  <michael@ximian.com>
2014
2015         * libspi/application.c
2016         (impl_accessibility_application_get_version),
2017         (impl_accessibility_application_get_toolkit_name):
2018         warning fixes.
2019         (impl_accessibility_application_set_id),
2020         (impl_accessibility_application_get_id): remove
2021         redundant casting code.
2022
2023         * libspi/action.c (impl_getDescription): fix warnings.
2024
2025         * libspi/accessible.c
2026         (impl_accessibility_accessible_get_parent),
2027         (impl_accessibility_accessible_get_child_at_index),
2028         (impl_accessibility_accessible_get_state),
2029         (impl_accessibility_accessible_get_relation_set):
2030         warning fixes & include action.h
2031
2032 2001-13-11  Michael Meeks  <michael@ximian.com>
2033
2034         * *.[ch] fix bits I screwed up:
2035
2036                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
2037                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
2038         
2039 2001-13-11  Michael Meeks  <michael@ximian.com>
2040
2041         * *.[ch] Namespace libspi into spi_ and Spi.
2042
2043 2001-13-11  Michael Meeks  <michael@ximian.com>
2044
2045         * Makefile.am: dist & install at-spi-1.0.pc
2046
2047         * libspi/Makefile.am: install into at-spi-1.0
2048
2049         * idl/Makefile.am (idldir): install into at-spi-1.0
2050
2051         * at-spi-1.0.pc.in: add.
2052
2053         * configure.in: build it.
2054
2055 2001-12-11  Bill Haneman <bill.haneman@sun.com>
2056
2057         * test/keysynth-demo.c:
2058         Use a 'realize' signal-handler to set the WM properties for
2059         the virtual keyboard, rather than making it a "POPUP" type
2060         override-redirect window (thanks to anders carlsson for that
2061         tip!)
2062
2063 2001-11-11  Bill Haneman <bill.haneman@sun.com>
2064
2065         * test/Makefile.am:
2066         * test/keysynth-demo.c:
2067         Added new test of key synthesis, which creates a simple
2068         (mouse-operated) onscreen keyboard.  It inserts key events into
2069         the currently-focused window, thus it does not grab keyboard focus
2070         itself.
2071
2072         * cspi/spi_registry.c:
2073         Added C binding for AT-SPI generateKeyEvent.
2074
2075         * libspi/deviceeventcontroller.c:
2076         Added call to XFilterEvent so that key listener works with XIM (we
2077         hope).  Added event_synth_type to generateKeyEvent, so that we can
2078         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
2079         synthesize a press/release pair for KeySyms.    
2080         
2081 2001-11-09  Bill Haneman <bill.haneman@sun.com>
2082
2083         * libspi/Makefile.am: 
2084         * registryd/Makefile.am:
2085         (temporary) hack to include libXtst in libspi and registryd.
2086         (Needed for keystroke synthesis, see below).
2087
2088         * idl/Registry.idl:
2089         Improved API for registerKeystrokeListener, in accordance with
2090         discussions with Gnopernicus team and X server research.
2091
2092         * libspi/registry.c:
2093         * libspi/deviceeventcontroller.c:
2094         * libspi/accessible.c:
2095         * libspi/keystrokelistener.c:
2096         Changes and fixes to support keylisteners for potentially
2097         consumed key events (that is, 'passive grabs').
2098         Added implementation for generateKeyEvent() [untested].
2099
2100         * cspi/spi.h:
2101         Changes to registerKeystrokeListener() API, as above.
2102         Added deregisterGlobalEventListenerAll(), and 
2103         deregisterKeystrokeListener(), which are needed for clean exit of
2104         clients.
2105         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
2106         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
2107         
2108         * cspi/spi_registry.c:
2109         Added implementations of function prototypes mentioned above.
2110         
2111         * registryd/registryd.c:
2112         Added the key listener event source as a g_timeout(), to allow
2113         receipt of key events that are not caught by GDK (since GDK
2114         doesn't support passive keygrabs, this was necessary).
2115
2116         * test/simple-at.c:
2117         Changed to attach a keylistener to 'Alt' keys, and
2118         respond to the following keycommands: Alt-M (toggle magnifier);
2119         Alt-F (toggle speech); Alt-Q (quit).
2120         Added an exit routine to deregister the listeners, and a key
2121         listener that prints some key info to the console when a key
2122         matches the listener mask (and is thus received by the listener).
2123         
2124         * util/idl/Magnifier.idl:
2125         Changes to magnifier API to support multiple zoom regions,
2126         non-uniform scaling in x and y, markDirty, and a host of other
2127         features that would be useful to magnification.
2128
2129         * util/mag_image.h:
2130         * util/mag_client.c:
2131         * util/mag_client.h:
2132         * util/mag_control.c:
2133         * util/magnifier.c:
2134         Source code changes to support the above IDL changes.
2135         
2136         * util/mag_image.c:
2137         As above, and also changes to use a (slower) generic conversion
2138         path for colormap conversions, since the fast RGB conversions have been
2139         reported to fail for 16-bit displays.
2140
2141 2001-10-26  Michael Meeks  <michael@ximian.com>
2142
2143         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
2144
2145 <2001-10-26  Laszlo Peter <laca@ireland.sun.com>
2146
2147         * at-bridge/Makefile.am: fix LDFLAGS.
2148
2149 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
2150
2151         * at-bridge/bridge.c:
2152         Re-worked listeners for toolkit events, now we have signal
2153         and property listeners. Added a private method
2154         register_atk_event_listeners(), which registers with the
2155         various atk and gtk signals we need to monitor in order to emit
2156         our at-spi events.
2157         Added emission hook for AtkObject:property-change events, to
2158         support the 'property listeners'.
2159         Fixed some alloc()s of Accessibility_Event structs to use CORBA
2160         allocation.
2161
2162         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
2163         which emit warnings and exit, respectively, if CORBA errors occur
2164         during remote calls, and we now use these methods to check most of
2165         our CORBA calls in the C bindings.
2166
2167         * cspi/spi_accessible.c:
2168         Changed AccessibleSelection_refSelectedChild() to
2169         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
2170         now increment refcounts.
2171
2172         * cspi/spi_component.c:
2173         Fixed some long pointer casts (dangerous!) to pass pointers to
2174         CORBA_longs of the proper type to the CORBA stubs, and copy the
2175         data into the longs that were passed into the C bindings code.
2176         
2177         * at-bridge/bridge.c:
2178         
2179         * libspi/accessible.c:
2180         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
2181         hyperlinks, AtkHyperlink is an object type.     
2182
2183         * libspi/application.c:
2184         Added various conversions to and from "generic" event types and
2185         atk-specific types; this is really part of the 'bridge'
2186         implementation but is valid for all AtkObject-based accessibility 
2187         implementations.
2188
2189         * libspi/editabletext.c:
2190         Fixed nasty bug wherein editable text's finalize method was
2191         unref'ing tha AtkObject reference that the text parent class was
2192         about to unref _again_.  There was also a nasty inheritance bug
2193         that meant that the AccessibleEditableText class was corrupt.
2194
2195         * libspi/selection.c:
2196         Provided implementations for some selection API that was broken.
2197         
2198         * idl/Application.idl:
2199         Added registerObjectEventListener () method.
2200
2201         * THROUGHOUT:
2202         Fixed a number of return values that were Bonobo_Unknowns from
2203         bonobo_object_corba_objref(), which I
2204         forgot to dup before returning.  Changed instances of 
2205         bonobo_object_corba_objref (bonobo_object(o)) to
2206         BONOBO_OBJREF(o), for concision and clarity.
2207         
2208 <2001-10-13  Louise Miller <louise.miller@sun.com>
2209
2210         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
2211         idl/Event.idl, idl/Registry.idl
2212         Changed these files to include Bonobo_Unknown.idl instead
2213         of Bonobo.idl
2214
2215 <2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
2216
2217         * libspi/component.c libspi/component.h:
2218                 Fixed typo.  Added assertions for object checks in 
2219         AccessibleComponent code.
2220
2221 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
2222
2223         * idl/Accessible.idl:
2224                 Added 'isEqual (Accessible *object)' 
2225         method for Accessible. (Not Yet Implemented).
2226         
2227         * idl/Registry.idl:
2228                 Changed signature of registerKeystrokeListener() to
2229         take a KeySet and KeyEventSeq so that specific keys and event
2230         types could be requested for monitoring, and added a flag
2231         is_synchronous so that either synchronous or asynchronous
2232         notification could be requested.  (However this is not all
2233         implemented yet). This also meant adding two new typedefs,
2234         KeyEventSeq and KeySet.
2235
2236         * idl/Relation.idl: 
2237                 Added two new relations, RELATION_TOOLTIP_FOR and
2238         RELATION_LEAFNODE_OF.
2239
2240         * idl/State.idl:
2241                 Added new state, STATE_HAS_TOOLTIP.
2242         
2243         * libspi/text.c, editabletext.c:
2244                 Added new assertions to all casts of bonobo-objects from
2245         CORBA servants, to prevent Text API calls on non-text objects.
2246                 Changed suspect casts of int-pointer types, so that we
2247         always send a valid CORBA_long pointer to the CORBA APIs that use
2248         in/out long parameters.  We then have to copy from the CORBA_long
2249         into the regular long or int for return to the C bindings, or
2250         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
2251         
2252         * cspi/spi_text.c:
2253         * libspi/deviceeventcontroller.c:
2254                 Cleaned these sources up.
2255         * idl/Text.idl:
2256                 Changed return type for getCharacterAtOffset to
2257         CORBA_unsigned_long, to allow for 32-bit characters.
2258         
2259                 
2260 <2001-10-08  Bill Haneman <bill.haneman@sun.com>
2261
2262         * util/Makefile.am:
2263         * idl/Makefile.am:
2264                 Fixed 'make dist' so that distro compiles...
2265         * libspi/keymasks.h:
2266                 new file.
2267         * cspi/spi-listener.c:
2268                 KeystrokeListenerCB now returns a boolean.
2269         * cspi/spi.h:
2270                 Added KeyEventType struct, and KeyStroke.
2271                 Also added createKeystrokeListener(),
2272         KeystrokeListener_addCallback(),
2273         KeystrokeListener_removeCallback(), and added a keymask to
2274         registerKeystrokeListener().
2275         * cspi/spi_accessible.c:
2276                 Changed numerous return types for interfaces from
2277         AccessibleComponent to Accessible<InterfaceName>; this was
2278         probably a cut-and-paste error.
2279         * cspi/spi_event.c:
2280                 Implementations of new KeystrokeListener api (from spi.h,
2281         above).
2282         * idl/Registry.idl:
2283                 Changes to key modifier mapping.
2284                 Created ControllerEventMask struct.
2285                 Made DeviceEventController derive from Bonobo::Unknown.
2286         * idl/Text.idl:
2287                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
2288         * libspi/deviceeventcontroller.c:
2289                 Added a number of new internal (private) methods.
2290         * libspi/editabletext.c:
2291         * libspi/editabletext.h:
2292                 Fixed a number of bugs related to the fact that
2293         editabletext inherits from text.  Fixed the EditableText struct,
2294         the init() call, and use correct casts when calling Text methods
2295         from an EditableText object.  Removed (duplicate) atko from the
2296         EditableText structure, we use the one in the parent Text
2297         structure via the casts mentioned above.
2298         * libspi/keystrokelistener.[ch]:
2299         * libspi/registry.c:
2300                 Changes in support of keyboard handling (above).
2301         
2302         Keyboard handling, though partly functional, is still not
2303         recommended for at-spi client use as there is considerable 
2304         work yet to be done.
2305
2306         * libspi/text.c:
2307                 Changed some places where pointers to various int types
2308         are cast to be pointers to CORBA_long types and vice-versa:
2309         pointer casting is not safe so we pass pointers of the correct
2310         types and then cast the result before putting it into the target
2311         pointers.
2312
2313         * libspi/text.h: minor typos corrected.
2314         * test/simple-at.c: 
2315                 We now speak not only the name of a Text element, but the
2316         first sentence of its content, when it receives focus.
2317                 I also changed the text compression to 75% from 50%.
2318         * util/Accessibility_Util.server.in:
2319                 Changed the default magnifier type to be a 3x vertical
2320         splitscreen magnifier (was previously a 2x horizontal one).
2321
2322 <2001-10-03  Bill Haneman <bill.haneman@sun.com>
2323
2324         * libspi/keystrokelistener.h:
2325         * libspi/keystrokelistener.c:
2326                 Initial functional implementations of KeystrokeListener.
2327         * idl/Registry.idl:
2328         
2329 <2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
2330
2331         Fixed string handling for NULL strings in libspi.
2332         Added spi_freeString to free strings returned by C bindings.
2333
2334 <2001-09-30  Bill Haneman <bill.haneman@sun.com>
2335
2336         * libspi/keystrokelistener.h:
2337         * libspi/keystrokelistener.c:
2338                 Began (no-op) implementations of KeystrokeListener
2339                         (see below).
2340         * libspi/deviceeventcontroller.c:
2341         * libspi/deviceeventcontroller.h:
2342                 Began creating implementations of DeviceEventController,
2343                         to handle keystroke and mouse event listening and
2344                         synthesis.
2345         * libspi/accessible.c:
2346                 Stubbed-in the implementations for
2347                         Accessibility_Accessible_getState and
2348                         Accessibility_Accessible_getRelationSet.
2349         * libspi/registry.c:
2350                 Improved de-registration process and fixed some bugs, 
2351                         deregistration now works correctly.
2352         * libspi/desktop.c:
2353                 Added initialization of applications list (to NULL).
2354         * util/magnifier.c:
2355                 Reduced speech compression from 0.5 to 0.7, for demo.
2356                 Changed call to gdk_window_set_decorations()
2357                         to gtk_window_set_decorated().
2358         * at-bridge/bridge.c:
2359                 Bridge now deregisters when app exits, via
2360                         registration of a cleanup function
2361                         with the g_atexit() call.
2362                         Required making 'app' static, renamed 'this_app'.
2363                 Fixed broken use of bonobo_init, passing argv wrongly.
2364
2365 <2001-09-27  Bill Haneman <bill.haneman@sun.com>
2366
2367         * util:
2368         * util/Makefile.am: 
2369                 Created a new directory for 
2370                         accessibility-related utilities, primarily for
2371                         testing and demo purposes, but with possible
2372                         end-user utility.
2373         
2374         * util/magnifier.c:
2375         * util/magnifier.h:
2376         * util/mag_image.c:
2377         * util/mag_image.h:
2378                 Onscreen magnifier utility that
2379                         is implemented as a bonobo service.
2380         
2381         * util/mag_client.c:
2382         * util/mag_client.h:
2383                 Client-side support (simple C bindings) 
2384                         for Magnification service
2385         
2386         * util/mag_control.c:
2387                 Client program example for 
2388                         Magnification service
2389         
2390         * util/Accessibility_Magnifier.server.in:
2391                 Bonobo-activation file for the 
2392                         Magnification service.
2393         
2394         * util/idl:
2395         * util/idl/Magnifier.idl:
2396                 IDL defining the bonobo Magnification
2397                         service interface.
2398
2399         * test/simple-at.c:
2400                 Modifications to use the bonobo-activated magnifier
2401                         above, in place of trying to connect to an existing
2402                         magnifier that uses socket-listening IPC.
2403
2404                 If env variable MAGNIFIER is set, a magnifier service
2405                         will be started if one does not exist.
2406         
2407 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
2408         * at-bridge/bridge.c:
2409                 applied patch from Marc to build and run 
2410                 against new glib and gtk+ (seemed like a change 
2411                 to bonobo_init signature was made ?)
2412         * test/simple-at.c:
2413                 made festival-server support turned off by default.
2414                 Added support for a simple magnifier (off by default)
2415                 which will be added to a 'util' directory later.
2416         * at-bridge/Makefile.am:
2417                 Changed "application.h" header from a 'source'
2418                 to a 'dependency' of libat-bridge.
2419
2420 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
2421         * cspi/Makefile.am:
2422                 Added spi-util.c.
2423
2424         * cspi/spi-util.c:
2425                 Fixed typo
2426
2427         * cspi/spi.c:
2428                 Added interface implementation c files to list of
2429                         includes so they are included in libcspi.
2430
2431         * cspi/spi.h:
2432                 Changed prototype of AccessibleAction_doAction to return a
2433                         boolean.
2434                 Changed prototype of AccessibleTable_getCaption to
2435                         return an Accessible.
2436                 Changed prototype of AccessibleTable_getSelectedRows
2437                         and AccessibleTable_getSelectedColumns to
2438                         return a long (returns the number of selected rows
2439                         or columns respectively).
2440                 Changed name of AccessibleText_refRunAttributes to
2441                         AccessibleText_getAttributes.
2442                 Changed prototype of AccessibleText_getCharacterExtents to
2443                         return a void rather than a boolean. 
2444                 Added support for a AccessibleCoordType parameter
2445                         specifying what type of coordinates are desired.
2446                 Added an AccessibleCordType parameter to
2447                         AccessibleText_getPointAtOffset.
2448
2449         * cspi/spi_accessible.c:
2450                 Added code to return the outstanding interfaces from
2451                         Accessible_queryInterface.
2452
2453         * cspi/spi_action.c:
2454                 Fixed typos.
2455                 Corrected call to getNActions to call the c binding
2456                         for an attribute.
2457
2458         * cspi/spi_editabletext.c:
2459                 Fixed typos.
2460                 Changed name from setRunAttributes to setAttributes.
2461
2462         * cspi/spi_hyperlink.c:
2463                 Fixed typos.
2464                 Changed call to getNAnchors to correctly call the c
2465                         binding for an attribute.
2466
2467         * cspi/spi_hypertext.c:
2468                 Fixed typos.
2469                 Changed getImageDescription to correctly call the
2470                         binding for an attribute.
2471
2472         * cspi/spi_selection.c:
2473                 Changed getNSelectedChildren to correctly call the c
2474                         binding for the attribute.
2475                 Changed refSelectedChild to getSelectedChild.
2476
2477         * cspi/spi_table.c:
2478                 Fixed typos.
2479                 Changed getCaption to return an Accessible.
2480                 Fixed calls which retrieve attributes.
2481                 Changed refAt to getAccessibleAt.
2482                 Changed getNSelectedRows and getNSelectedColumns to
2483                         return longs.
2484
2485         * cspi/spi_text.c:
2486                 Changed getCharacterExtents and getPointAtOffset to accept an
2487                         AccessibleCoordType.
2488                 Fixed typos.
2489                 Changed calls which retrieve attributes.
2490                 Changed refRunAttributes to getAttributes.
2491
2492         * cspi/spi_value.c:
2493                 Fixed typos.
2494
2495         * idl/Hyperlink.idl:
2496                 Changed n_anchors attribute to nAnchors to keep naming
2497                         convention consistent.
2498
2499         * idl/Table.idl:
2500                 Made Table inherit from Bonobo::Unknown.
2501                 Added nSelectedColumns and nSelectedRows attributes.
2502
2503         * idl/Value.idl:
2504                 Made Value inherit from Bonobo::Unknown.
2505
2506         * libspi/hyperlink.c:
2507                 Change for nAnchors attributte name change.
2508
2509 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
2510         * cspi/Makefile.am:
2511                 Added spi-util.c.
2512
2513         * cspi/spi-util.c:
2514                 Fixed typo
2515
2516         * cspi/spi.c:
2517                 Added interface implementation c files to list of
2518                         includes so they are included in libcspi.
2519
2520         * cspi/spi.h:
2521                 Changed prototype of AccessibleAction_doAction to return a
2522                         boolean.
2523                 Changed prototype of AccessibleTable_getCaption to
2524                         return an Accessible.
2525                 Changed prototype of AccessibleTable_getSelectedRows
2526                         and AccessibleTable_getSelectedColumns to
2527                         return a long (returns the number of selected rows
2528                         or columns respectively).
2529                 Changed name of AccessibleText_refRunAttributes to
2530                         AccessibleText_getAttributes.
2531                 Changed prototype of AccessibleText_getCharacterExtents to
2532                         return a void rather than a boolean. 
2533                 Added support for a AccessibleCoordType parameter
2534                         specifying what type of coordinates are desired.
2535                 Added an AccessibleCordType parameter to
2536                         AccessibleText_getPointAtOffset.
2537
2538         * cspi/spi_accessible.c:
2539                 Added code to return the outstanding interfaces from
2540                         Accessible_queryInterface.
2541
2542         * cspi/spi_action.c:
2543                 Fixed typos.
2544                 Corrected call to getNActions to call the c binding
2545                         for an attribute.
2546
2547         * cspi/spi_editabletext.c:
2548                 Fixed typos.
2549                 Changed name from setRunAttributes to setAttributes.
2550
2551         * cspi/spi_hyperlink.c:
2552                 Fixed typos.
2553                 Changed call to getNAnchors to correctly call the c
2554                         binding for an attribute.
2555
2556         * cspi/spi_hypertext.c:
2557                 Fixed typos.
2558                 Changed getImageDescription to correctly call the
2559                         binding for an attribute.
2560
2561         * cspi/spi_selection.c:
2562                 Changed getNSelectedChildren to correctly call the c
2563                         binding for the attribute.
2564                 Changed refSelectedChild to getSelectedChild.
2565
2566         * cspi/spi_table.c:
2567                 Fixed typos.
2568                 Changed getCaption to return an Accessible.
2569                 Fixed calls which retrieve attributes.
2570                 Changed refAt to getAccessibleAt.
2571                 Changed getNSelectedRows and getNSelectedColumns to
2572                         return longs.
2573
2574         * cspi/spi_text.c:
2575                 Changed getCharacterExtents and getPointAtOffset to accept an
2576                         AccessibleCoordType.
2577                 Fixed typos.
2578                 Changed calls which retrieve attributes.
2579                 Changed refRunAttributes to getAttributes.
2580
2581         * cspi/spi_value.c:
2582                 Fixed typos.
2583
2584         * idl/Hyperlink.idl:
2585                 Changed n_anchors attribute to nAnchors to keep naming
2586                         convention consistent.
2587
2588         * idl/Table.idl:
2589                 Made Table inherit from Bonobo::Unknown.
2590                 Added nSelectedColumns and nSelectedRows attributes.
2591
2592         * idl/Value.idl:
2593                 Made Value inherit from Bonobo::Unknown.
2594
2595         * libspi/hyperlink.c:
2596                 Change for nAnchors attributte name change.
2597
2598
2599 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
2600
2601         implementations-- made server implementations own AtkObject pointers
2602         rather than their respective AtkInterrface pointers to fix
2603         refcounting.  AtkHyperlink is still broken.
2604
2605 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
2606         * cspi/spi_accessible.c:
2607                 Added method Accessible_Role_getName(),
2608                         and requisite string array (role_names).
2609                 Added conversion string_from_corba_strin() call
2610                         to Accessible_getName and _getDescription.
2611         * libspi/accessible.c:
2612                 Added implementation for Accessible_getRole()
2613         * test/simple-at.c:
2614                 Added festival support, used if environment variable
2615                         FESTIVAL is set.
2616         
2617 2001-09-04  Bill Haneman <bill.haneman@sun.com>
2618
2619         * at-bridge/bridge.c:
2620             Now allocate Accessibility_Event using
2621             Accessibility_Event__alloc() instead of g_new0().
2622         * libspi/accessibleeventlistener.c:
2623             Initialize AccessibleEventListener->callbacks to NULL.
2624             Fixed accessible__event_listener_init() param, changed to
2625             "AccessibleEventListener *" type.
2626             Changed a bonobo_object_release_unref() call to
2627             Accessibility_Accessible_unref().
2628         * libspi/listener.c:
2629             Changed Bonobo_Unknown_unref to (equivalent) 
2630             Accessibility_Accessible_unref.
2631         * libspi/registry.c:
2632             Changed bonobo_object_release_unref to 
2633             Accessibility_Accessible_unref.
2634         
2635 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
2636         
2637         * Added files:
2638             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
2639             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
2640             spi-util.c spi-util.h
2641             Implementations for C bindings to remaining accessibility 
2642             interfaces.
2643
2644 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
2645         
2646         * idl/Action.idl:
2647             changed return value of Action from void to boolean to 
2648             bring in line with ATK.
2649
2650         * idl/Text.idl:
2651             Changed getText funcions to return "out" start and end offsets.
2652             Changed getAttributes to take and offset and return the start 
2653             and end offset of the attribute run.
2654             Changed getOffsetAtPoint and getCharacterExtents to take an 
2655              enum describing whether coordinates are window or screen.
2656
2657         * Added files:
2658             libspi/action.c libspi/action.h libspi/editabletext.c 
2659             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
2660             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
2661             libspi/image.h libspi/selection.c libspi/selection.h
2662             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
2663             libspi/value.c libspi/value.h
2664             Added server implementations for outstanding ATK interfaces 
2665             not yet implemented.
2666  
2667 2001-09-04  Bill Haneman <bill.haneman@sun.com>
2668
2669         * idl/Action.idl:
2670                 Added (missing) getName() method. 
2671                 Made nActions an attribute.
2672         * idl/EditableText.idl:
2673                 Changed order of params in setAttributes.
2674         * idl/Hyperlink.idl:
2675                 Removed getAnchor, added getURI.
2676         * idl/Image.idl:
2677                 Changed attributes to methods, for efficiency
2678                 (so that getting extents can be done in one call)
2679         * idl/Selection.idl:
2680                 Changed nSelectedChildren to attribute, and re-indented.
2681         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
2682                 to attributes.
2683         * idl/Text.idl: reformatted to match our coding style.
2684                 (temporarily?) removed getRowColumnAtOffset().
2685                 Changed text selection API to support multi-select and
2686                 non-contiguous selections, as in ATK.
2687         * idl/Value.idl: changed some methods to attributes.
2688
2689 2001-08-24  Mark McLoughlin <mark@skynet.ie>
2690
2691         * libspi/listener.c(impl_notify_event):
2692         BonoboUnkown_unref the source instead
2693         of bonobo_object_release_unref - the ORB
2694         handles the releasing.
2695
2696         * configure.in: require ORBit-2.3.94 for
2697         this behaviour.
2698
2699 2001-08-21  Bill Haneman <bill.haneman@sun.com>
2700
2701         Tagged CVS repository 'EA_1_0'.
2702         * README.EARLY_ACCESS:
2703         Alphabetized acknowledgements list, and
2704         added someone.
2705         Listed some known dependencies of at-spi.
2706
2707 2001-08-20  Bill Haneman <bill.haneman@sun.com>
2708
2709         * docs/at-spi-docs.sgml:
2710         * docs/at-spi-sections.txt:
2711         * docs/at-spi-overrides.txt: (Added zero-length file)
2712         Documentation improvements - gtk-doc should build
2713         docs for all implemented C bindings now.
2714         * cspi/Makefile.am:
2715         * cspi/spi_main.c:
2716         * cspi/spi.c: (New file)
2717         * cspi/spi_event.c: (New file)
2718         * cspi/spi_registry.c: (New file)
2719         * cspi/spi_accessible.c: (New file)
2720         * cspi/spi_application.c: (New file)
2721         * cspi/spi_component.c: (New file)
2722         Split spi_main.c into six parts, and included them from
2723         "spi.c".  This is a bit of a hack, probably temporary,
2724         but required by gtk-doc, apparently.
2725         
2726 2001-08-20  Bill Haneman <bill.haneman@sun.com>
2727
2728         * docs/Makefile.am:
2729         * docs/at-spi-docs.sgml:
2730         * docs/at-spi-sections.txt:
2731         * configure.in:
2732         Initial checkins/modifications for gtk-doc generation.
2733         * cspi/spi.h:
2734         * cspi/spi.c:
2735         Added (missing) interface query methods to Accessible's C binding.
2736         * cspi/spi-impl.h:
2737         Added GenericInterface type definition.
2738         * test/simple-at.c:
2739         Added query for AccessibleComponent interface to focus event handler.
2740         Added printout of bounding box for focussed component.
2741         * libspi/component.c:
2742         Added partial implementation for AccessibleComponent to C binding.
2743         * idl/Application.idl:
2744         * libspi/registry.c:
2745         * libspi/listener.c:
2746         * libspi/application.c:
2747         * libspi/application.h:
2748         Changed "ID" attribute type from string to long.
2749
2750 2001-08-19  Bill Haneman <bill.haneman@sun.com>
2751
2752         * cspi/spi.h:
2753         * cspi/spi.c:
2754         Made method naming consistent: methods taking object args
2755         start with uppercase, other methods (except those using
2756         acronyms) start with lowercase.  Underscores delimit between
2757         object names and method names:
2758         SPI_init() - uppercase since it starts with an acronym.
2759         getDesktopCount () - lowercase start since no object param0.
2760         Accessible_getName() - uppercase object type name, studlyCaps method
2761                                name.
2762
2763         *cspi/spi.h:
2764         Added gtk-doc documentation for all currently implemented
2765         methods in the C bindings API.
2766
2767 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2768
2769         * Makefile.am : changed build order to build test last.
2770         * cspi/spi.h :
2771         * cspi/spi_main.c :
2772         Changed "createEventListener" to "CreateEventListener".
2773         * libspi/accessibleeventlistener.c :
2774         Bugfix for addition of callbacks.
2775         * test/Makefile.am :
2776         * test/simple-at.c :
2777         Added new test that uses the C bindings API.
2778         * idl/Event.idl :
2779         * libspi/listener.c :
2780         * libspi/registry.c :
2781         * libspi/accessibleeventlistener.c :
2782         * at-bridge/bridge.c :
2783         Renamed member "target" of Accessibility_Event to "source",
2784         which is more descriptive.
2785         
2786
2787 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2788
2789         * Makefile.am: 
2790         * configure.in :
2791         * cspi/Makefile.am :
2792         Added makefile support for at-spi/cspi directory.
2793         * cspi/spi.h : 
2794         * cspi/spi-impl.h :
2795         * cspi/spi-listener.h : (NEW FILE)
2796         Added support for/use of spi-listener.h.
2797         * cspi/spi_main.c :
2798         C bindings now build successfully, with no warnings.
2799         * libspi/accessibleeventlistener.h : (NEW FILE)
2800         * libspi/accessibleeventlistener.c : (NEW FILE)
2801         * libspi/Makefile.am :
2802         Added new object type "AccessibleEventListener"
2803         which inherits from Listener, and allows attachment
2804         of in-process callbacks (so that a client with a listening
2805         object instance can add functionality to the local 
2806         implementation, dynamically).
2807
2808 2001-08-18  Bill Haneman <bill.haneman@sun.com>
2809
2810         * libspi/accessible.c: 
2811         Add implementation for get_index_in_parent().
2812         * cspi/spi.h : 
2813         Added #include of "spi-roletypes.h", and
2814         added enumerated type AccessibleCoordType.
2815         Added definition for KeystrokeListener (function type).
2816
2817         ADDED FILES:
2818         * cspi/spi-statetypes.h :
2819         * cspi/spi-roletypes.h :
2820         * cspi/spi-impl.h :
2821         Added these headers, used by spi.h.
2822         * cspi/spi_main.c : 
2823         Added code (NOTE: not yet built by make).
2824
2825 2001-08-18  Mark McLoughlin <mark@skynet.ie>
2826
2827         * libspi/Makefile.am: generate imodule
2828         at the same time as other idl compiler 
2829         generated files. 
2830
2831 2001-08-17  Bill Haneman <bill.haneman@sun.com>
2832         * libspi/registry.c :
2833         * libspi/application.c :
2834         * idl/Application.idl :
2835         Made registration with toolkit an application method,
2836         which is required since each app has its own toolkit static
2837         environment.  Thus the bridge must register for 
2838         notification of toolkit events from each application in turn.
2839         Toolkit notifications are now successfully registered for, and
2840         sent to the listening at client.
2841         * test/at.c :
2842         Changed toolkit event string to use hyphens rather than underscores.
2843         * libspi/listener.c :
2844         listner now gives more info in debug mode - it reports the
2845         name of the event received, as well as the name of the source.
2846         
2847
2848 2001-08-16  Bill Haneman <bill.haneman@sun.com>
2849
2850         * libspi/registry.c :
2851         added more implementation for toolkit events.
2852         Fixed bug such that toolkit event registrations
2853         (via atk) use the whole event name string, not 
2854         just minor+detail.
2855         Removed a useless call to an ORBit_ method.
2856         * at-bridge/bridge.c :
2857         Removed unused local sbuf[] variable.
2858         * test/at.c :
2859         We now register for Gtk:GtkWidget:button_press_event 
2860         events as well as "focus:" events.
2861         * cspi/spi.h :
2862         Add some more API from Registry.idl that was missing,
2863         for keystroke listening, keystroke and mouse event
2864         synthesis, and enumeration of accessible desktops.
2865
2866 2001-08-16  Michael Meeks  <michael@ximian.com>
2867
2868         * configure.in: use AM_GLIB_GNU_GETTEXT.
2869
2870         * Makefile.am (SUBDIRS): kill intl.
2871
2872 2001-08-15  Michael Meeks  <michael@ximian.com>
2873
2874         * registryd/Makefile.am: s/oaf/server/ relocate info file.
2875
2876         * configure.in: upd.
2877
2878         * configure.in: depend on a recent bonobo-activation that
2879         will find our server files ...
2880
2881 2001-08-16  Bill Haneman <bill.haneman@sun.com>
2882
2883         * libspi/accessible.c : accessible_new() :
2884         Now we add the Component interface via bonobo_object_add_interface,
2885         if the contained AtkObject implements AtkComponent.
2886         * libspi/accessible.h : now include "component.h"
2887         * libspi/component.h :
2888         * libspi/component.c : added files - implementation of
2889         bonobo wrapper object for Accessibility/Component
2890         * libspi/listener.c :
2891         Added test code to check for Accessibility/Component:1.0
2892         interface and report whether it is implemented by the
2893         event source.
2894         * libspi/registry.c :
2895         Now we check for not only the hash of the whole event 
2896         string before relaying the event, we also check the
2897         "minor" event string (without the detail string).
2898         This allows event listeners to be registered against
2899         all events of a certain major+minor type, or just
2900         against a specific major+minor+detail type.
2901         * libspi/accessible.c :
2902         Added implementations for Accessible:get_parent(),
2903         Accessible:getChildCount(), and Accessible:getChildAtIndex().
2904         * libspi/registry.c :
2905         * libspi/listener.c :
2906         Replaced calls to Accessibility_Accessible_ref() and
2907         Accessibility_Accessible_unref() with 
2908         calls to bonobo_object_dup_ref() and 
2909         bonobo_object_release_unref(), so that the CORBA object
2910         is dup-ed and released when relayed, as well as the bonobo object.
2911
2912 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2913
2914         * libspi/Makefile.am,
2915           registryd/Makefile.am,
2916           at-bridge/Makefile.am.
2917           test/Makefile.am, configure.in:
2918         reverse previous changes.
2919
2920         * /idl/Image.idl: fix typo.
2921
2922         * test/Makefile.am: put DEBUG_FLAGS
2923         in CFLAGS.
2924
2925 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2926
2927         * test/app.c: use argv[0] instead of
2928         g_type_prgname.
2929
2930 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2931
2932         * libspi/Makefile.am,
2933           registryd/Makefile.am,
2934           at-bridge/Makefile.am.
2935           test/Makefile.am, configure.in:
2936         cleanup, replace individual LIBS/CFLAGS with
2937         AT_COMMON_{LIBS|CFLAGS}.
2938
2939         * README: format.
2940
2941 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2942         
2943         * configure.in, libspi/Makefile.am:
2944         Change IDL path checking for bonobo-activation
2945         as opposed to oaf.
2946
2947 2001-08-15  Bill Haneman <bill.haneman@sun.com>
2948
2949         * registryd/registry.c : separated event listeners to use
2950         3 separate lists (focus, window, toolkit).  Began testing
2951         event names against hashes before relaying events.
2952         * test/at.c : now register for events of type "focus:"
2953         * test/app.c : now generate events of type "focus:"
2954         * at-bridge/bridge.c : register with ATK for focus events,
2955         and we now relay those focus events to any "focus:" listeners.
2956         This now works with the bridge as a GTK_MODULE when running test/at.
2957         * libspi/registry.c :
2958         * libspi/listener.c : 
2959         now we ref event sources before propagating, and unref on receipt.
2960         * libspi/registry.c : 
2961         some changes to internal structs, to support event typestring hashes.
2962         * text/app.c : changed the way the appname is generated.
2963         * cspi : added directory that will hold the C bindings library for 
2964                 non-CORBA/bonobo-savvy clients.
2965         * cspi/spi.h : header file that contains the function prototypes for the C binding.
2966         * idl/Component.idl : added in parameter to indicate coord system for
2967                 geometry-related calls.
2968         * idl/Hyperlink.idl : added readonly n_links attribute
2969         * idl/Image.idl : changed methods to attributes.
2970         
2971 2001-08-15  Mark McLoughlin <mark@skynet.ie>
2972
2973         * at-bridge/Makefile.am: link against
2974         ../libspi/libspi.la instead of -lspi.
2975
2976         * at-spi/test/app.c: include 
2977         bonobo-activation.h. Use a default appname
2978         if one is not provided.
2979
2980 2001-08-14  Bill Haneman <bill.haneman@sun.com>
2981
2982         * idl/Registry.idl : temporarily changed register_Application
2983         to oneway, to work around issue with initial registration 
2984         re-entrancy.
2985         * idl/Application.idl : changed attribute "id" from readonly 
2986         to read-write, since it needs to be assigned by Registry.
2987         * registryd/registryd.c : added call to set application id 
2988         on registration.
2989         * registryd/registry.c : changed de-registration procedure to
2990         use CORBA_Object_hash() to find matching object ref in application
2991         lists and listener lists.
2992         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
2993         began distinguishing between event types (work in progress).
2994
2995 2001-08-13  Bill Haneman <bill.haneman@sun.com>
2996
2997         CHANGES:
2998         * libspi/application.c:
2999         Added implementations for get/set id, get_toolkitName,
3000         get_version.
3001         * registryd/registryd.c :
3002         * test/at.c :
3003         * test/app.c :
3004         * Makefile.am :
3005         Converted from use of OAF to bonobo-activation.
3006         * libspi/desktop.h :
3007         * libspi/desktop.c :
3008         * test/app.c :
3009         Removed references to atksimpleobject, since base atkobject
3010         implementation now provides functionality we need.
3011         * libspi/atksimpleobject.c :
3012         * libspi/atksimpleobject.h :
3013         Removed.
3014         
3015         ADDITIONS:
3016         * at-bridge
3017         * at-bridge/Makefile.am
3018         * at-bridge/bridge.c
3019         * configure.in
3020         * Makefile.am
3021         Added directory "bridge" and contents, and added dependencies
3022         in Makefile.am/configure.in.  
3023         Initial checkin of "at-bridge".
3024         This code is a GTK_MODULE which automatically registers
3025         GTK+ apps with the accessibility registry, using an object
3026         reference to the root ATK object.
3027         
3028 2001-08-10  Mark McLoughlin <mark@skynet.ie>
3029
3030         * po/Makefile.in.in: Remove. Again. If this
3031         doesn't get autogenerated - you need to update
3032         gnome-common.
3033
3034 2001-08-07  Mark McLoughlin <mark@skynet.ie>
3035
3036         * po/Makefile.in.in: Add. Again.
3037
3038 2001-07-31  Bill Haneman <bill.haneman@sun.com>
3039
3040         * libspi/accessible.c : added support for 'description' property.
3041         * libspi/accessible.c
3042         * libspi/desktop.c
3043         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
3044             (since the two are now equivalent in libbonobo)
3045         * idl/Action.idl
3046         * idl/Component.idl
3047         * idl/Hyperlink.idl
3048         * idl/Image.idl
3049         * idl/Selection.idl
3050         * idl/Table.idl
3051         * idl/Text.idl
3052         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
3053              Bonobo::Unknown as does Accessibility::Accessible.
3054         * idl/StreamableContent.idl : as above, and replaced internal InputStream
3055              interface with Bonobo::Stream, since it was redundant with it.
3056              (The Stream returned by a StreamableContext object is expected to
3057              implement only a subset of Bonobo::Stream)
3058
3059 2001-07-28  Anders Carlsson  <andersca@gnome.org>
3060
3061         * libspi/accessible.c (accessible_object_finalize): Change
3062           g_free to g_object_unref since the AtkObject is a GObject.
3063
3064 2001-07-30  Bill Haneman <bill.haneman@sun.com>
3065
3066         * idl/Accessibility.idl: add new IDL files
3067         
3068         Added:
3069         * idl/Action.idl: Definitions of actionable UI object
3070         * idl/Component.idl: Definitions of UI component geometry, etc.
3071         * idl/Hyperlink.idl: Defs of hyperlink behavior
3072         * idl/Image.idl: Def of accessible image
3073         * idl/Selection.idl: Definition of UI object with selectable children
3074         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
3075         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
3076         * idl/Text.idl: Interface defs for UI elements with complex textual content
3077         * idl/Value.idl: Definition of UI element that is a value controller or display
3078         
3079 2001-07-27  Michael Meeks  <michael@ximian.com>
3080
3081         * po/Makefile.in.in: remove autogenerated file from CVS.
3082
3083         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
3084         type library.
3085
3086         * idl/Registry.idl: include guard.
3087
3088         * idl/Accessibility.idl: Add, and include all the other IDL
3089         files.
3090
3091         * idl/*.idl: remove mass of pragmas etc.
3092
3093 2001-07-26  Michael Meeks  <michael@ximian.com>
3094
3095         * registryd/Makefile.am (registryd_SOURCES): remove
3096         redundant at_.
3097
3098 2001-07-27  Mark McLoughlin <mark@skynet.ie>
3099
3100         * libspi/.cvsignore, registryd/.cvsignore,
3101           test/.cvsignore: updated.
3102
3103         * po/Makefile.in.in: gettext update.
3104
3105 2001-07-25  Bill Haneman <bill.haneman@sun.com>
3106
3107         * initial CVS checkin
3108
3109 2001-06-29  Michael Meeks  <michael@ximian.com>
3110
3111         * configure.in: add AM_CONFIG_HEADER to gen config.h
3112
3113         * acconfig.h: add.
3114