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