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