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