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