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