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