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