Added simple scanning to the virtual keyboard demo, to show one way to
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-11-25  Bill Haneman  <bill.haneman@sun.com>
2
3         * test/keysynth-demo.c:
4         Turned this into a simple scanning keyboard, to demonstrate the
5         use of g_timeout_add () as a means of creating timers for
6         scanning, and the use of GtkStyle for visually indicating when
7         virtual keyboard elements are selected.
8
9         keysynth-demo now listens to any keyboard keys with zero-valued
10         keycodes (i.e. 'unused' keys) and interprets them as
11         single-switches.
12
13         Reworked the shiftlatch code so that shift-down state isn't held
14         for long periods (it's only synthesized immediately prior to
15         the keysynth event it's modifying).  Note that shiftlatch in this
16         demo is a convenience, not intended to take the place of AccessX 
17         which is the better choice for getting 'sticky' modifier keys.
18
19         * libspi/deviceeventcontroller.c:
20         * at-bridge/bridge.c:
21         * cspi/spi_registry.c:
22         Removed some debug print stuff, and put other verbosity in #ifdef
23         blocks.
24
25         * util/magnifier.c:
26         * util/mag_image.h:
27         Implemented some more of the magnifier IDL for the simple
28         magnifier: namely, getZoomRegionParams. 
29         Added mag_x and mag_y members to MagnifierData struct, aid of this
30         implementation.
31         Added GtkWindow::realize signal handler to magnifier, to keep it
32         from receiving keyboard focus from the WM.
33
34 2001-11-23  Mark McLoughlin  <mark@skynet.ie>
35
36         * cspi/spi-private.h: my guess at what michael forgot
37         before he ran off to NZ :-)
38
39 2001-11-23  Michael Meeks  <michael@ximian.com>
40
41         * cspi/spi_event.c (AccessibleEventListener_removeCallback):
42         comment out non existant method invoke so we link.
43
44         * cspi/spi-util.c (spi_warn_ev): conform to gtk+ style,
45         use bonobo_exception_get_text for more friendly warnings.
46
47         * cspi/spi.c (Obj_Add): move into spi_main & rename
48         spi_object_add; kill spi.c
49
50         * cspi/spi_registry.c
51         (deregisterGlobalEventListener),
52         (deregisterGlobalEventListenerAll),
53         (registerGlobalEventListener): fix exception leaks.
54
55         * cspi/spi_main.c (spi_exception): impl. helper, so we
56         don't leak exceptions.
57
58         * cspi/spi_selection.c
59         (AccessibleSelection_deselectSelectedChild): return the
60         success state.
61
62         * cspi/spi_main.c (spi_ev): impl; hack - gack.
63         (spi_registry): ditto.
64         (SPI_init): guard against double inits.
65
66         * cspi/*.c: use spi_ev (), and spi_registry () where
67         appropriate - a temporary hack until we have something
68         better. Use spi_object_add
69
70 2001-11-22  Michael Meeks  <michael@ximian.com>
71
72         * cspi/Makefile.am: re organise, install the headers.
73
74         * cspi/*.h: add G_BEGIN/END_DECLS
75
76 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
77
78         * test/simple-at.c:
79         Added non-preemptive keylistener for key events with no modifiers
80         and shift-only modifier.
81
82         * libspi/keystrokelistener.c:
83         Removed some verbose diagnostics printout.
84
85         * cspi/spi_registry.c:
86         Fixed a bug that caused all key listeners to be registered as
87         pre-emptive.
88         
89         * libspi/deviceeventcontroller.c:
90         Fixed bug that caused XGrabKey (preemptive key grab) to be called
91         for non-preemptive key masks.
92
93
94 2001-22-11  Bill Haneman  <bill.haneman@sun.com>
95
96         * docs/reference/idl/at-spi-idl-docs.sgml:
97         * docs/reference/idl/at-spi-idl-sections.txt:
98         * docs/reference/idl/at-spi-idl-overrides.txt:
99         Added missing files.
100
101         * docs/reference/Makefile.am:
102         removed idl from SUBDIRS until we can figure a way to get gtk-doc
103         to scan the IDL files :-(
104
105         * docs/reference:
106         * docs/cspi:
107         * docs/idl:
108         Added .cvsignore files.
109         
110 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
111
112         * libspi/deviceeventcontroller.c:
113         * libspi/keystrokelistener.c:
114         * cspi/spi_event.c:
115         * cspi/spi_registry.c:
116         Added filters for KeySets, KeyEventSeq, and event types to key
117         event dispatching, so listeners should only receive those events
118         that they requested :-)
119
120 2001-21-11  Bill Haneman  <bill.haneman@sun.com>
121
122         * configure.in:
123         * docs/Makefile.am:
124         * docs/reference:
125         * docs/reference:Makefile.am:
126         * docs/reference/cspi:
127         * docs/reference/cspi:Makefile.am:
128         * docs/reference/cspi:tmpl:
129         * docs/reference/cspi:tmpl:*.sgml:
130         * docs/reference/idl:
131         * docs/reference/idl:Makefile.am:
132         * docs/reference/idl:at-spi-idl-sections.txt:
133         * docs/reference/idl:at-spi-idl-docs.sgml:
134         * docs/reference/idl:tmpl:
135         * docs/reference/idl:tmpl:*.sgml:
136
137         Restructured docs directory to allow separate 'reference' docs
138         section, and forked idl and cspi docs.  Added the sgml template
139         files to CVS.  Added the first sections/structural sgml for the
140         IDL docs.
141
142 2001-11-21  Laszlo Peter  <laca@ireland.sun.com>
143
144         * configure.in, libspi/Makefile.am: find libXtst.
145
146 2001-11-21  Michael Meeks  <michael@ximian.com>
147
148         * test/accessx-gui.c: s/spi_value/value/ - doh.
149
150         * libspi/base.[ch]: add.
151
152 2001-18-11  Bill Haneman <bill.haneman@sun.com>
153
154         * idl/Accessible.idl:
155         * idl/Application.idl:
156         * idl/Registry.idl:
157         * idl/Action.idl:
158         Started gtk-doc cleanup on IDL.
159
160         * libspi/deviceeventcontroller.c:
161         Added and connected non-preemptive key notification from the
162         toolkits (in addition to the pre-emptive support from XServer
163         which we had before, but which causes 'focus flashing').  Filters
164         are presently limited to key modifiers and global/non-global,
165         KeySets are presently ignored, as are KeyEvent masks.
166
167         Fixed naughtiness in dec_key_listener_new(), we copy the CORBA
168         structs into the persistant structure rather than just storing
169         pointers to things that might not persist across servant
170         invocations.
171
172         The XGrabKey call now does async keygrabs, because synchronous
173         ones were deadlocking with GDK_event code in a very nasty way.
174
175         Added boolean to internal method notify_keylisteners, to indicate
176         whether the event came from the 'toolkit source' or the 'global
177         (XServer) source' - this is used in the notification process to
178         determine which listeners to send the event to.
179
180         deviceeventcontroller.c is now warning-free.
181         
182         * libspi/registry.c:
183         Fixed regression in application de-registration.
184         Also fixed some really brain-dead weirdness having to do with
185         event dispatching - event structs are now duplicated before being
186         re-marshalled in the dispatch to listeners.  This also fixes a
187         Solaris build problem.
188         
189         
190 2001-20-11  Michael Meeks  <michael@ximian.com>
191
192         * libspi/registry.c
193         (impl_accessibility_registry_deregister_global_event_listener): 
194         segv. protection.
195
196         * libspi/deviceeventcontroller.c
197         (spi_device_event_controller_check_key_event): return
198         FALSE on no virtual method.
199
200         * libspi/*..h: make includes work on a correctly pathed install.
201
202         * libspi/*.h: include glib/gmacros.h, use G_BEGIN / END _DECLS.
203
204         * libspi/application.h: kill unused ( and whacked out )
205         gboolean *spi_application_set_id (AtkObject *app, long id);
206
207 2001-20-11  Michael Meeks  <michael@ximian.com>
208
209         * libspi/*.[ch]: further convert to bonobo's type func
210         macros, remove redundnant casts etc.
211
212         * libspi/text.c s/accessibility_text/spi_text/g,
213         re-order to de-cruft.
214
215         * libspi/hypertext.c: re-order to kill a huge slew
216         of redundant forward decls.
217
218         * libspi/relation.c: ditto.
219
220         * libspi/image.c: ditto.
221
222         * */.cvsignore: update
223         
224 2001-20-11  Michael Meeks  <michael@ximian.com>
225
226         * libspi/deviceeventcontroller.c
227         (_controller_register_with_devices): use g_getenv,
228         kill stdlib.h include.
229
230         * libspi/keystrokelistener.c
231         (spi_keystroke_listener_get_type): kill
232         (spi_keystroke_listener_class_init),
233         (spi_keystroke_listener_init): rename to this.
234
235         * libspi/text.c (impl_getAttributes): fix warning / bug.
236
237         * libspi/*.[ch]: more headers, includes and over commenting.
238         
239 2001-20-11  Michael Meeks  <michael@ximian.com>
240
241         * libspi/*.[ch]: fixup headers, includes and over commenting.
242
243         * libspi/image.c (impl__get_imageDescription): const
244         correctness warning fix. remove redundant casting.
245
246         * libspi/table.c (impl_getRowDescription): ditto.
247         (impl_getColumnDescription): ditto.
248
249         * libspi/libspi.h: add.
250
251 2001-19-11  Michael Meeks  <michael@ximian.com>
252
253         * libspi/editabletext.c (impl_setAttributes): fix warnings.
254
255         * libspi/component.c (accessibility_component_get_type): 
256         rename to (spi_component_get_type): and macroify.
257         (accessibility_component_init): rename to
258         (spi_component_init): this
259         (accessibility_component_class_init): rename to
260         (spi_component_class_init): this
261
262         * libspi/action.c (spi_action_get_type): kill, use the macro.
263
264         * libspi/deviceeventcontroller.c (_compare_listeners): re-order
265         to avoid prototype.
266
267         * libspi/application.c (spi_application_object_event_listener),
268         (impl_accessibility_application_register_object_event_listener):
269         warning fixes / const understanding updates.
270
271         * libspi/accessible.c (impl_accessibility_accessible_get_relation_set):
272         warning fixes.
273
274 2001-18-11  Bill Haneman <bill.haneman@sun.com>
275
276         * libspi/spi_accessible.c: Added docs and C bindings for
277         AccessibleStateSet. (No implementations yet).  Documentation
278         coverage for C bindings now 100%. Made docs for event listeners
279         more explicit.
280         
281         * idl/Registry.idl:
282         Added methods 
283             boolean notifyListenersSync (in DeviceEventListener listener,
284                                      in DeviceEvent event);
285
286             oneway void notifyListenersAsync (in DeviceEventListener listener,
287                                           in DeviceEvent event);
288
289         Added DeviceEventListener and DeviceEvent structs (may deprecate
290         KeyStroke and KeystrokeListener in favor of this generic
291         event/listener framework for devices).
292
293         * libspi/deviceeventcontroller.c:
294
295         Changed some key listener code to take masks, etc., and paved the
296         way for integration of toolkit/non-preemptive key events. Changed
297         signatures of some internal methods.
298
299         * at-bridge/bridge.c:
300         Fixed regression connecting to interface signals, apparently
301         caused by GTK+ changes.
302
303         Added an internal bridge_state_listener to deal with
304         property-change:accessible-state signals.
305
306         Changed the key_listeners GList to store structs (including masks,
307         etc.) instead of just CORBA_Objects (required for full
308         implementation of key listener API).
309
310         Connected the bridge to all currently supported Atk signals.
311         Events now supported: 
312             object:property-change
313             object:property-change:accessible-name
314             object:property-change:accessible-state
315             object:property-change:accessible-description
316             object:property-change:accessible-parent
317             object:property-change:accessible-value
318             object:property-change:accessible-role
319             object:property-change:accessible-table-caption
320             object:property-change:accessible-table-column-description
321             object:property-change:accessible-table-column-header
322             object:property-change:accessible-table-row-description
323             object:property-change:accessible-table-row-header
324             object:property-change:accessible-table-summary
325             object:children-changed
326             object:visible-data-changed
327             object:selection-changed
328             object:text-selection-changed
329             object:text-changed
330             object:text-caret-moved
331             object:row-inserted
332             object:row-reordered
333             object:row-deleted
334             object:column-inserted
335             object:column-reordered
336             object:column-deleted
337             object:model-changed        
338
339 2001-16-11  Bill Haneman <bill.haneman@sun.com>
340
341         * libspi/hyperlink.c,h:
342         Fixed some broken stuff in hyperlink.
343         
344         * libspi/relation.h:
345         * libspi/relation.c:
346         * cspi/spi_accessible.c:
347         Initial implementations of AccessibleRelation methods, and docs.
348
349         * libspi/accessible.c:
350         Fixed a bug that caused SEGV  if an accessible
351         object's description is NULL, and a client
352         requests it.  An empty string is now returned.
353
354         * cspi/spi_editabletext.c:
355         * cspi/spi_hypertext.c:
356         * cspi/spi_image.c:
357         * cspi/spi_hyperlink.c:
358         * cspi/spi_table.c:
359         Added docs.  
360
361         Doc coverage now 95%.
362
363 2001-16-11  Bill Haneman <bill.haneman@sun.com>
364
365         One last namespacing revision:
366         * libspi/accessibleeventlistener.[ch]:
367         Renamed SpiAccessibleEventListener to SpiEventListener,
368         (no need for two namespaces ;-)
369
370         And lots of documentation fixes:
371
372         * docs/at-spi-docs.sgml:
373         Fixed 'underscore vs. hyphen' bug that was preventing
374         the gtk-doc API docs from being automatically generated.
375
376         * cspi/spi-impl.h
377         * cspi/spi-listener.h
378         * cspi/spi.h
379         * cspi/spi_accessible.c
380         * cspi/spi_action.c
381         * cspi/spi_application.c
382         * cspi/spi_component.c
383         * cspi/spi_editabletext.c
384         * cspi/spi_event.c
385         * cspi/spi_hypertext.c
386         * cspi/spi_main.c
387         * cspi/spi_registry.c
388         * cspi/spi_selection.c
389         * cspi/spi_text.c
390         * cspi/spi_value.c
391         * docs/Makefile.am
392         * docs/at-spi-docs.sgml
393         * docs/at-spi-sections.txt
394         
395         Added and fixed up gtk-doc documentation in cspi.
396         
397         Interfaces now (fully) documented (subject to revision and enhancement):
398         SPI_main
399         Event Listener Support
400         Registry API
401         AccessibleApplication
402         Accessible
403         AccessibleAction
404         AccessibleComponent
405         AccessibleEditableText
406         AccessibleSelection
407         AccessibleText
408         AccessibleValue
409
410         still pending:
411         AccessibleStateSet
412         AccessibleRelationSet
413         AccessibleImage
414         AccessibleTable
415         AccessibleHyperlink
416         
417 2001-14-11  Bill Haneman <bill.haneman@sun.com>
418
419         * at-bridge/bridge.c:
420         Initial work for toolkit-level key snooper connection by bridge.
421
422         * cspi/spi-impl.h:
423         * cspi/spi_*.h:
424         * cspi/spi_*.c:
425         New typedefs and fixes to support new namespacing, and cleaner
426         separation of cspi bindings from libspi bonobo implementation.  
427         Removed inconsistent and extraneous Spi* namespace prefix that
428         had crept into cspi headers.
429         Lots of comment fixes that sed had missed.
430
431         * cspi/spi-roletypes.h:
432         * cspi/spi-statetypes.h:
433         Added SPI_ prefix to Role and State typedefs, and changed all-caps ROLE type
434         to AccessibleRoleType.
435         
436         * libspi/accessibleeventlistener.h:
437         Fixed minor namespacing weirdness.
438
439         * libspi/deviceeventcontroller.c:
440         Reordered some internal API for device listeners.
441         Changed the key registry final boolean to 'is_system_global'
442         rather than 'is_synchronous', which is more descriptive of its 
443         actual meaning.
444         Added spi_device_event_controller_new().
445         Added  SpiRegistry backpointer to SpiDeviceEventControllerClass.
446          
447         * libspi/keystrokelistener.[ch]:
448         Namespaced KeystrokeListener to SpiKeystrokeListener.
449         Changed uses of keymasks to use SPI_ prefix, and did other
450         knock-on fixups.
451
452         * libspi/keymasks.h:
453         Namespaced keymask constants with SPI_ prefix.
454
455         * libspi/registry.c:
456         Some warning fixes, and knock-on fixes from namespace changes.
457
458         * test/Makefile.am:
459         Added rules for accessx-gui test program.
460
461         * test/accessx-gui.c:
462         Added a simple GUI program in GTK+-2.0 for the AccessX keyboard
463         utility.  It doesn't actually use at-spi, but it's still cool and
464         useful ;-)
465
466         * test/keysynth-demo.c:
467         * test/simple-at.c:
468         * test/at.c:
469         * test/app.c:
470         Fixes so that these test clients work properly with the namespaced
471         libraries. (Incompletely tested for technical reasons, fixes may follow)
472         
473
474 2001-13-11  Michael Meeks  <michael@ximian.com>
475
476         * libspi/application.c
477         (impl_accessibility_application_get_version),
478         (impl_accessibility_application_get_toolkit_name):
479         warning fixes.
480         (impl_accessibility_application_set_id),
481         (impl_accessibility_application_get_id): remove
482         redundant casting code.
483
484         * libspi/action.c (impl_getDescription): fix warnings.
485
486         * libspi/accessible.c
487         (impl_accessibility_accessible_get_parent),
488         (impl_accessibility_accessible_get_child_at_index),
489         (impl_accessibility_accessible_get_state),
490         (impl_accessibility_accessible_get_relation_set):
491         warning fixes & include action.h
492
493 2001-13-11  Michael Meeks  <michael@ximian.com>
494
495         * *.[ch] fix bits I screwed up:
496
497                 s/([^ \tb(\*\&\?\",])spi_/\1/g;
498                 s/([^ \tb(\*\&\?\",])Spi/\1/g;
499         
500 2001-13-11  Michael Meeks  <michael@ximian.com>
501
502         * *.[ch] Namespace libspi into spi_ and Spi.
503
504 2001-13-11  Michael Meeks  <michael@ximian.com>
505
506         * Makefile.am: dist & install at-spi-1.0.pc
507
508         * libspi/Makefile.am: install into at-spi-1.0
509
510         * idl/Makefile.am (idldir): install into at-spi-1.0
511
512         * at-spi-1.0.pc.in: add.
513
514         * configure.in: build it.
515
516 2001-12-11  Bill Haneman <bill.haneman@sun.com>
517
518         * test/keysynth-demo.c:
519         Use a 'realize' signal-handler to set the WM properties for
520         the virtual keyboard, rather than making it a "POPUP" type
521         override-redirect window (thanks to anders carlsson for that
522         tip!)
523
524 2001-11-11  Bill Haneman <bill.haneman@sun.com>
525
526         * test/Makefile.am:
527         * test/keysynth-demo.c:
528         Added new test of key synthesis, which creates a simple
529         (mouse-operated) onscreen keyboard.  It inserts key events into
530         the currently-focused window, thus it does not grab keyboard focus
531         itself.
532
533         * cspi/spi_registry.c:
534         Added C binding for AT-SPI generateKeyEvent.
535
536         * libspi/deviceeventcontroller.c:
537         Added call to XFilterEvent so that key listener works with XIM (we
538         hope).  Added event_synth_type to generateKeyEvent, so that we can
539         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
540         synthesize a press/release pair for KeySyms.    
541         
542 2001-11-09  Bill Haneman <bill.haneman@sun.com>
543
544         * libspi/Makefile.am: 
545         * registryd/Makefile.am:
546         (temporary) hack to include libXtst in libspi and registryd.
547         (Needed for keystroke synthesis, see below).
548
549         * idl/Registry.idl:
550         Improved API for registerKeystrokeListener, in accordance with
551         discussions with Gnopernicus team and X server research.
552
553         * libspi/registry.c:
554         * libspi/deviceeventcontroller.c:
555         * libspi/accessible.c:
556         * libspi/keystrokelistener.c:
557         Changes and fixes to support keylisteners for potentially
558         consumed key events (that is, 'passive grabs').
559         Added implementation for generateKeyEvent() [untested].
560
561         * cspi/spi.h:
562         Changes to registerKeystrokeListener() API, as above.
563         Added deregisterGlobalEventListenerAll(), and 
564         deregisterKeystrokeListener(), which are needed for clean exit of
565         clients.
566         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
567         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
568         
569         * cspi/spi_registry.c:
570         Added implementations of function prototypes mentioned above.
571         
572         * registryd/registryd.c:
573         Added the key listener event source as a g_timeout(), to allow
574         receipt of key events that are not caught by GDK (since GDK
575         doesn't support passive keygrabs, this was necessary).
576
577         * test/simple-at.c:
578         Changed to attach a keylistener to 'Alt' keys, and
579         respond to the following keycommands: Alt-M (toggle magnifier);
580         Alt-F (toggle speech); Alt-Q (quit).
581         Added an exit routine to deregister the listeners, and a key
582         listener that prints some key info to the console when a key
583         matches the listener mask (and is thus received by the listener).
584         
585         * util/idl/Magnifier.idl:
586         Changes to magnifier API to support multiple zoom regions,
587         non-uniform scaling in x and y, markDirty, and a host of other
588         features that would be useful to magnification.
589
590         * util/mag_image.h:
591         * util/mag_client.c:
592         * util/mag_client.h:
593         * util/mag_control.c:
594         * util/magnifier.c:
595         Source code changes to support the above IDL changes.
596         
597         * util/mag_image.c:
598         As above, and also changes to use a (slower) generic conversion
599         path for colormap conversions, since the fast RGB conversions have been
600         reported to fail for 16-bit displays.
601
602 2001-10-26  Michael Meeks  <michael@ximian.com>
603
604         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
605
606 <2001-10-26  Laszlo Peter <laca@ireland.sun.com>
607
608         * at-bridge/Makefile.am: fix LDFLAGS.
609
610 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
611
612         * at-bridge/bridge.c:
613         Re-worked listeners for toolkit events, now we have signal
614         and property listeners. Added a private method
615         register_atk_event_listeners(), which registers with the
616         various atk and gtk signals we need to monitor in order to emit
617         our at-spi events.
618         Added emission hook for AtkObject:property-change events, to
619         support the 'property listeners'.
620         Fixed some alloc()s of Accessibility_Event structs to use CORBA
621         allocation.
622
623         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
624         which emit warnings and exit, respectively, if CORBA errors occur
625         during remote calls, and we now use these methods to check most of
626         our CORBA calls in the C bindings.
627
628         * cspi/spi_accessible.c:
629         Changed AccessibleSelection_refSelectedChild() to
630         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
631         now increment refcounts.
632
633         * cspi/spi_component.c:
634         Fixed some long pointer casts (dangerous!) to pass pointers to
635         CORBA_longs of the proper type to the CORBA stubs, and copy the
636         data into the longs that were passed into the C bindings code.
637         
638         * at-bridge/bridge.c:
639         
640         * libspi/accessible.c:
641         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
642         hyperlinks, AtkHyperlink is an object type.     
643
644         * libspi/application.c:
645         Added various conversions to and from "generic" event types and
646         atk-specific types; this is really part of the 'bridge'
647         implementation but is valid for all AtkObject-based accessibility 
648         implementations.
649
650         * libspi/editabletext.c:
651         Fixed nasty bug wherein editable text's finalize method was
652         unref'ing tha AtkObject reference that the text parent class was
653         about to unref _again_.  There was also a nasty inheritance bug
654         that meant that the AccessibleEditableText class was corrupt.
655
656         * libspi/selection.c:
657         Provided implementations for some selection API that was broken.
658         
659         * idl/Application.idl:
660         Added registerObjectEventListener () method.
661
662         * THROUGHOUT:
663         Fixed a number of return values that were Bonobo_Unknowns from
664         bonobo_object_corba_objref(), which I
665         forgot to dup before returning.  Changed instances of 
666         bonobo_object_corba_objref (bonobo_object(o)) to
667         BONOBO_OBJREF(o), for concision and clarity.
668         
669 <2001-10-13  Louise Miller <louise.miller@sun.com>
670
671         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
672         idl/Event.idl, idl/Registry.idl
673         Changed these files to include Bonobo_Unknown.idl instead
674         of Bonobo.idl
675
676 <2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
677
678         * libspi/component.c libspi/component.h:
679                 Fixed typo.  Added assertions for object checks in 
680         AccessibleComponent code.
681
682 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
683
684         * idl/Accessible.idl:
685                 Added 'isEqual (Accessible *object)' 
686         method for Accessible. (Not Yet Implemented).
687         
688         * idl/Registry.idl:
689                 Changed signature of registerKeystrokeListener() to
690         take a KeySet and KeyEventSeq so that specific keys and event
691         types could be requested for monitoring, and added a flag
692         is_synchronous so that either synchronous or asynchronous
693         notification could be requested.  (However this is not all
694         implemented yet). This also meant adding two new typedefs,
695         KeyEventSeq and KeySet.
696
697         * idl/Relation.idl: 
698                 Added two new relations, RELATION_TOOLTIP_FOR and
699         RELATION_LEAFNODE_OF.
700
701         * idl/State.idl:
702                 Added new state, STATE_HAS_TOOLTIP.
703         
704         * libspi/text.c, editabletext.c:
705                 Added new assertions to all casts of bonobo-objects from
706         CORBA servants, to prevent Text API calls on non-text objects.
707                 Changed suspect casts of int-pointer types, so that we
708         always send a valid CORBA_long pointer to the CORBA APIs that use
709         in/out long parameters.  We then have to copy from the CORBA_long
710         into the regular long or int for return to the C bindings, or
711         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
712         
713         * cspi/spi_text.c:
714         * libspi/deviceeventcontroller.c:
715                 Cleaned these sources up.
716         * idl/Text.idl:
717                 Changed return type for getCharacterAtOffset to
718         CORBA_unsigned_long, to allow for 32-bit characters.
719         
720                 
721 <2001-10-08  Bill Haneman <bill.haneman@sun.com>
722
723         * util/Makefile.am:
724         * idl/Makefile.am:
725                 Fixed 'make dist' so that distro compiles...
726         * libspi/keymasks.h:
727                 new file.
728         * cspi/spi-listener.c:
729                 KeystrokeListenerCB now returns a boolean.
730         * cspi/spi.h:
731                 Added KeyEventType struct, and KeyStroke.
732                 Also added createKeystrokeListener(),
733         KeystrokeListener_addCallback(),
734         KeystrokeListener_removeCallback(), and added a keymask to
735         registerKeystrokeListener().
736         * cspi/spi_accessible.c:
737                 Changed numerous return types for interfaces from
738         AccessibleComponent to Accessible<InterfaceName>; this was
739         probably a cut-and-paste error.
740         * cspi/spi_event.c:
741                 Implementations of new KeystrokeListener api (from spi.h,
742         above).
743         * idl/Registry.idl:
744                 Changes to key modifier mapping.
745                 Created ControllerEventMask struct.
746                 Made DeviceEventController derive from Bonobo::Unknown.
747         * idl/Text.idl:
748                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
749         * libspi/deviceeventcontroller.c:
750                 Added a number of new internal (private) methods.
751         * libspi/editabletext.c:
752         * libspi/editabletext.h:
753                 Fixed a number of bugs related to the fact that
754         editabletext inherits from text.  Fixed the EditableText struct,
755         the init() call, and use correct casts when calling Text methods
756         from an EditableText object.  Removed (duplicate) atko from the
757         EditableText structure, we use the one in the parent Text
758         structure via the casts mentioned above.
759         * libspi/keystrokelistener.[ch]:
760         * libspi/registry.c:
761                 Changes in support of keyboard handling (above).
762         
763         Keyboard handling, though partly functional, is still not
764         recommended for at-spi client use as there is considerable 
765         work yet to be done.
766
767         * libspi/text.c:
768                 Changed some places where pointers to various int types
769         are cast to be pointers to CORBA_long types and vice-versa:
770         pointer casting is not safe so we pass pointers of the correct
771         types and then cast the result before putting it into the target
772         pointers.
773
774         * libspi/text.h: minor typos corrected.
775         * test/simple-at.c: 
776                 We now speak not only the name of a Text element, but the
777         first sentence of its content, when it receives focus.
778                 I also changed the text compression to 75% from 50%.
779         * util/Accessibility_Util.server.in:
780                 Changed the default magnifier type to be a 3x vertical
781         splitscreen magnifier (was previously a 2x horizontal one).
782
783 <2001-10-03  Bill Haneman <bill.haneman@sun.com>
784
785         * libspi/keystrokelistener.h:
786         * libspi/keystrokelistener.c:
787                 Initial functional implementations of KeystrokeListener.
788         * idl/Registry.idl:
789         
790 <2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
791
792         Fixed string handling for NULL strings in libspi.
793         Added spi_freeString to free strings returned by C bindings.
794
795 <2001-09-30  Bill Haneman <bill.haneman@sun.com>
796
797         * libspi/keystrokelistener.h:
798         * libspi/keystrokelistener.c:
799                 Began (no-op) implementations of KeystrokeListener
800                         (see below).
801         * libspi/deviceeventcontroller.c:
802         * libspi/deviceeventcontroller.h:
803                 Began creating implementations of DeviceEventController,
804                         to handle keystroke and mouse event listening and
805                         synthesis.
806         * libspi/accessible.c:
807                 Stubbed-in the implementations for
808                         Accessibility_Accessible_getState and
809                         Accessibility_Accessible_getRelationSet.
810         * libspi/registry.c:
811                 Improved de-registration process and fixed some bugs, 
812                         deregistration now works correctly.
813         * libspi/desktop.c:
814                 Added initialization of applications list (to NULL).
815         * util/magnifier.c:
816                 Reduced speech compression from 0.5 to 0.7, for demo.
817                 Changed call to gdk_window_set_decorations()
818                         to gtk_window_set_decorated().
819         * at-bridge/bridge.c:
820                 Bridge now deregisters when app exits, via
821                         registration of a cleanup function
822                         with the g_atexit() call.
823                         Required making 'app' static, renamed 'this_app'.
824                 Fixed broken use of bonobo_init, passing argv wrongly.
825
826 <2001-09-27  Bill Haneman <bill.haneman@sun.com>
827
828         * util:
829         * util/Makefile.am: 
830                 Created a new directory for 
831                         accessibility-related utilities, primarily for
832                         testing and demo purposes, but with possible
833                         end-user utility.
834         
835         * util/magnifier.c:
836         * util/magnifier.h:
837         * util/mag_image.c:
838         * util/mag_image.h:
839                 Onscreen magnifier utility that
840                         is implemented as a bonobo service.
841         
842         * util/mag_client.c:
843         * util/mag_client.h:
844                 Client-side support (simple C bindings) 
845                         for Magnification service
846         
847         * util/mag_control.c:
848                 Client program example for 
849                         Magnification service
850         
851         * util/Accessibility_Magnifier.server.in:
852                 Bonobo-activation file for the 
853                         Magnification service.
854         
855         * util/idl:
856         * util/idl/Magnifier.idl:
857                 IDL defining the bonobo Magnification
858                         service interface.
859
860         * test/simple-at.c:
861                 Modifications to use the bonobo-activated magnifier
862                         above, in place of trying to connect to an existing
863                         magnifier that uses socket-listening IPC.
864
865                 If env variable MAGNIFIER is set, a magnifier service
866                         will be started if one does not exist.
867         
868 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
869         * at-bridge/bridge.c:
870                 applied patch from Marc to build and run 
871                 against new glib and gtk+ (seemed like a change 
872                 to bonobo_init signature was made ?)
873         * test/simple-at.c:
874                 made festival-server support turned off by default.
875                 Added support for a simple magnifier (off by default)
876                 which will be added to a 'util' directory later.
877         * at-bridge/Makefile.am:
878                 Changed "application.h" header from a 'source'
879                 to a 'dependency' of libat-bridge.
880
881 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
882         * cspi/Makefile.am:
883                 Added spi-util.c.
884
885         * cspi/spi-util.c:
886                 Fixed typo
887
888         * cspi/spi.c:
889                 Added interface implementation c files to list of
890                         includes so they are included in libcspi.
891
892         * cspi/spi.h:
893                 Changed prototype of AccessibleAction_doAction to return a
894                         boolean.
895                 Changed prototype of AccessibleTable_getCaption to
896                         return an Accessible.
897                 Changed prototype of AccessibleTable_getSelectedRows
898                         and AccessibleTable_getSelectedColumns to
899                         return a long (returns the number of selected rows
900                         or columns respectively).
901                 Changed name of AccessibleText_refRunAttributes to
902                         AccessibleText_getAttributes.
903                 Changed prototype of AccessibleText_getCharacterExtents to
904                         return a void rather than a boolean. 
905                 Added support for a AccessibleCoordType parameter
906                         specifying what type of coordinates are desired.
907                 Added an AccessibleCordType parameter to
908                         AccessibleText_getPointAtOffset.
909
910         * cspi/spi_accessible.c:
911                 Added code to return the outstanding interfaces from
912                         Accessible_queryInterface.
913
914         * cspi/spi_action.c:
915                 Fixed typos.
916                 Corrected call to getNActions to call the c binding
917                         for an attribute.
918
919         * cspi/spi_editabletext.c:
920                 Fixed typos.
921                 Changed name from setRunAttributes to setAttributes.
922
923         * cspi/spi_hyperlink.c:
924                 Fixed typos.
925                 Changed call to getNAnchors to correctly call the c
926                         binding for an attribute.
927
928         * cspi/spi_hypertext.c:
929                 Fixed typos.
930                 Changed getImageDescription to correctly call the
931                         binding for an attribute.
932
933         * cspi/spi_selection.c:
934                 Changed getNSelectedChildren to correctly call the c
935                         binding for the attribute.
936                 Changed refSelectedChild to getSelectedChild.
937
938         * cspi/spi_table.c:
939                 Fixed typos.
940                 Changed getCaption to return an Accessible.
941                 Fixed calls which retrieve attributes.
942                 Changed refAt to getAccessibleAt.
943                 Changed getNSelectedRows and getNSelectedColumns to
944                         return longs.
945
946         * cspi/spi_text.c:
947                 Changed getCharacterExtents and getPointAtOffset to accept an
948                         AccessibleCoordType.
949                 Fixed typos.
950                 Changed calls which retrieve attributes.
951                 Changed refRunAttributes to getAttributes.
952
953         * cspi/spi_value.c:
954                 Fixed typos.
955
956         * idl/Hyperlink.idl:
957                 Changed n_anchors attribute to nAnchors to keep naming
958                         convention consistent.
959
960         * idl/Table.idl:
961                 Made Table inherit from Bonobo::Unknown.
962                 Added nSelectedColumns and nSelectedRows attributes.
963
964         * idl/Value.idl:
965                 Made Value inherit from Bonobo::Unknown.
966
967         * libspi/hyperlink.c:
968                 Change for nAnchors attributte name change.
969
970 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
971         * cspi/Makefile.am:
972                 Added spi-util.c.
973
974         * cspi/spi-util.c:
975                 Fixed typo
976
977         * cspi/spi.c:
978                 Added interface implementation c files to list of
979                         includes so they are included in libcspi.
980
981         * cspi/spi.h:
982                 Changed prototype of AccessibleAction_doAction to return a
983                         boolean.
984                 Changed prototype of AccessibleTable_getCaption to
985                         return an Accessible.
986                 Changed prototype of AccessibleTable_getSelectedRows
987                         and AccessibleTable_getSelectedColumns to
988                         return a long (returns the number of selected rows
989                         or columns respectively).
990                 Changed name of AccessibleText_refRunAttributes to
991                         AccessibleText_getAttributes.
992                 Changed prototype of AccessibleText_getCharacterExtents to
993                         return a void rather than a boolean. 
994                 Added support for a AccessibleCoordType parameter
995                         specifying what type of coordinates are desired.
996                 Added an AccessibleCordType parameter to
997                         AccessibleText_getPointAtOffset.
998
999         * cspi/spi_accessible.c:
1000                 Added code to return the outstanding interfaces from
1001                         Accessible_queryInterface.
1002
1003         * cspi/spi_action.c:
1004                 Fixed typos.
1005                 Corrected call to getNActions to call the c binding
1006                         for an attribute.
1007
1008         * cspi/spi_editabletext.c:
1009                 Fixed typos.
1010                 Changed name from setRunAttributes to setAttributes.
1011
1012         * cspi/spi_hyperlink.c:
1013                 Fixed typos.
1014                 Changed call to getNAnchors to correctly call the c
1015                         binding for an attribute.
1016
1017         * cspi/spi_hypertext.c:
1018                 Fixed typos.
1019                 Changed getImageDescription to correctly call the
1020                         binding for an attribute.
1021
1022         * cspi/spi_selection.c:
1023                 Changed getNSelectedChildren to correctly call the c
1024                         binding for the attribute.
1025                 Changed refSelectedChild to getSelectedChild.
1026
1027         * cspi/spi_table.c:
1028                 Fixed typos.
1029                 Changed getCaption to return an Accessible.
1030                 Fixed calls which retrieve attributes.
1031                 Changed refAt to getAccessibleAt.
1032                 Changed getNSelectedRows and getNSelectedColumns to
1033                         return longs.
1034
1035         * cspi/spi_text.c:
1036                 Changed getCharacterExtents and getPointAtOffset to accept an
1037                         AccessibleCoordType.
1038                 Fixed typos.
1039                 Changed calls which retrieve attributes.
1040                 Changed refRunAttributes to getAttributes.
1041
1042         * cspi/spi_value.c:
1043                 Fixed typos.
1044
1045         * idl/Hyperlink.idl:
1046                 Changed n_anchors attribute to nAnchors to keep naming
1047                         convention consistent.
1048
1049         * idl/Table.idl:
1050                 Made Table inherit from Bonobo::Unknown.
1051                 Added nSelectedColumns and nSelectedRows attributes.
1052
1053         * idl/Value.idl:
1054                 Made Value inherit from Bonobo::Unknown.
1055
1056         * libspi/hyperlink.c:
1057                 Change for nAnchors attributte name change.
1058
1059
1060 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
1061
1062         implementations-- made server implementations own AtkObject pointers
1063         rather than their respective AtkInterrface pointers to fix
1064         refcounting.  AtkHyperlink is still broken.
1065
1066 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
1067         * cspi/spi_accessible.c:
1068                 Added method Accessible_Role_getName(),
1069                         and requisite string array (role_names).
1070                 Added conversion string_from_corba_strin() call
1071                         to Accessible_getName and _getDescription.
1072         * libspi/accessible.c:
1073                 Added implementation for Accessible_getRole()
1074         * test/simple-at.c:
1075                 Added festival support, used if environment variable
1076                         FESTIVAL is set.
1077         
1078 2001-09-04  Bill Haneman <bill.haneman@sun.com>
1079
1080         * at-bridge/bridge.c:
1081             Now allocate Accessibility_Event using
1082             Accessibility_Event__alloc() instead of g_new0().
1083         * libspi/accessibleeventlistener.c:
1084             Initialize AccessibleEventListener->callbacks to NULL.
1085             Fixed accessible__event_listener_init() param, changed to
1086             "AccessibleEventListener *" type.
1087             Changed a bonobo_object_release_unref() call to
1088             Accessibility_Accessible_unref().
1089         * libspi/listener.c:
1090             Changed Bonobo_Unknown_unref to (equivalent) 
1091             Accessibility_Accessible_unref.
1092         * libspi/registry.c:
1093             Changed bonobo_object_release_unref to 
1094             Accessibility_Accessible_unref.
1095         
1096 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
1097         
1098         * Added files:
1099             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
1100             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
1101             spi-util.c spi-util.h
1102             Implementations for C bindings to remaining accessibility 
1103             interfaces.
1104
1105 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
1106         
1107         * idl/Action.idl:
1108             changed return value of Action from void to boolean to 
1109             bring in line with ATK.
1110
1111         * idl/Text.idl:
1112             Changed getText funcions to return "out" start and end offsets.
1113             Changed getAttributes to take and offset and return the start 
1114             and end offset of the attribute run.
1115             Changed getOffsetAtPoint and getCharacterExtents to take an 
1116              enum describing whether coordinates are window or screen.
1117
1118         * Added files:
1119             libspi/action.c libspi/action.h libspi/editabletext.c 
1120             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
1121             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
1122             libspi/image.h libspi/selection.c libspi/selection.h
1123             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
1124             libspi/value.c libspi/value.h
1125             Added server implementations for outstanding ATK interfaces 
1126             not yet implemented.
1127  
1128 2001-09-04  Bill Haneman <bill.haneman@sun.com>
1129
1130         * idl/Action.idl:
1131                 Added (missing) getName() method. 
1132                 Made nActions an attribute.
1133         * idl/EditableText.idl:
1134                 Changed order of params in setAttributes.
1135         * idl/Hyperlink.idl:
1136                 Removed getAnchor, added getURI.
1137         * idl/Image.idl:
1138                 Changed attributes to methods, for efficiency
1139                 (so that getting extents can be done in one call)
1140         * idl/Selection.idl:
1141                 Changed nSelectedChildren to attribute, and re-indented.
1142         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
1143                 to attributes.
1144         * idl/Text.idl: reformatted to match our coding style.
1145                 (temporarily?) removed getRowColumnAtOffset().
1146                 Changed text selection API to support multi-select and
1147                 non-contiguous selections, as in ATK.
1148         * idl/Value.idl: changed some methods to attributes.
1149
1150 2001-08-24  Mark McLoughlin <mark@skynet.ie>
1151
1152         * libspi/listener.c(impl_notify_event):
1153         BonoboUnkown_unref the source instead
1154         of bonobo_object_release_unref - the ORB
1155         handles the releasing.
1156
1157         * configure.in: require ORBit-2.3.94 for
1158         this behaviour.
1159
1160 2001-08-21  Bill Haneman <bill.haneman@sun.com>
1161
1162         Tagged CVS repository 'EA_1_0'.
1163         * README.EARLY_ACCESS:
1164         Alphabetized acknowledgements list, and
1165         added someone.
1166         Listed some known dependencies of at-spi.
1167
1168 2001-08-20  Bill Haneman <bill.haneman@sun.com>
1169
1170         * docs/at-spi-docs.sgml:
1171         * docs/at-spi-sections.txt:
1172         * docs/at-spi-overrides.txt: (Added zero-length file)
1173         Documentation improvements - gtk-doc should build
1174         docs for all implemented C bindings now.
1175         * cspi/Makefile.am:
1176         * cspi/spi_main.c:
1177         * cspi/spi.c: (New file)
1178         * cspi/spi_event.c: (New file)
1179         * cspi/spi_registry.c: (New file)
1180         * cspi/spi_accessible.c: (New file)
1181         * cspi/spi_application.c: (New file)
1182         * cspi/spi_component.c: (New file)
1183         Split spi_main.c into six parts, and included them from
1184         "spi.c".  This is a bit of a hack, probably temporary,
1185         but required by gtk-doc, apparently.
1186         
1187 2001-08-20  Bill Haneman <bill.haneman@sun.com>
1188
1189         * docs/Makefile.am:
1190         * docs/at-spi-docs.sgml:
1191         * docs/at-spi-sections.txt:
1192         * configure.in:
1193         Initial checkins/modifications for gtk-doc generation.
1194         * cspi/spi.h:
1195         * cspi/spi.c:
1196         Added (missing) interface query methods to Accessible's C binding.
1197         * cspi/spi-impl.h:
1198         Added GenericInterface type definition.
1199         * test/simple-at.c:
1200         Added query for AccessibleComponent interface to focus event handler.
1201         Added printout of bounding box for focussed component.
1202         * libspi/component.c:
1203         Added partial implementation for AccessibleComponent to C binding.
1204         * idl/Application.idl:
1205         * libspi/registry.c:
1206         * libspi/listener.c:
1207         * libspi/application.c:
1208         * libspi/application.h:
1209         Changed "ID" attribute type from string to long.
1210
1211 2001-08-19  Bill Haneman <bill.haneman@sun.com>
1212
1213         * cspi/spi.h:
1214         * cspi/spi.c:
1215         Made method naming consistent: methods taking object args
1216         start with uppercase, other methods (except those using
1217         acronyms) start with lowercase.  Underscores delimit between
1218         object names and method names:
1219         SPI_init() - uppercase since it starts with an acronym.
1220         getDesktopCount () - lowercase start since no object param0.
1221         Accessible_getName() - uppercase object type name, studlyCaps method
1222                                name.
1223
1224         *cspi/spi.h:
1225         Added gtk-doc documentation for all currently implemented
1226         methods in the C bindings API.
1227
1228 2001-08-18  Bill Haneman <bill.haneman@sun.com>
1229
1230         * Makefile.am : changed build order to build test last.
1231         * cspi/spi.h :
1232         * cspi/spi_main.c :
1233         Changed "createEventListener" to "CreateEventListener".
1234         * libspi/accessibleeventlistener.c :
1235         Bugfix for addition of callbacks.
1236         * test/Makefile.am :
1237         * test/simple-at.c :
1238         Added new test that uses the C bindings API.
1239         * idl/Event.idl :
1240         * libspi/listener.c :
1241         * libspi/registry.c :
1242         * libspi/accessibleeventlistener.c :
1243         * at-bridge/bridge.c :
1244         Renamed member "target" of Accessibility_Event to "source",
1245         which is more descriptive.
1246         
1247
1248 2001-08-18  Bill Haneman <bill.haneman@sun.com>
1249
1250         * Makefile.am: 
1251         * configure.in :
1252         * cspi/Makefile.am :
1253         Added makefile support for at-spi/cspi directory.
1254         * cspi/spi.h : 
1255         * cspi/spi-impl.h :
1256         * cspi/spi-listener.h : (NEW FILE)
1257         Added support for/use of spi-listener.h.
1258         * cspi/spi_main.c :
1259         C bindings now build successfully, with no warnings.
1260         * libspi/accessibleeventlistener.h : (NEW FILE)
1261         * libspi/accessibleeventlistener.c : (NEW FILE)
1262         * libspi/Makefile.am :
1263         Added new object type "AccessibleEventListener"
1264         which inherits from Listener, and allows attachment
1265         of in-process callbacks (so that a client with a listening
1266         object instance can add functionality to the local 
1267         implementation, dynamically).
1268
1269 2001-08-18  Bill Haneman <bill.haneman@sun.com>
1270
1271         * libspi/accessible.c: 
1272         Add implementation for get_index_in_parent().
1273         * cspi/spi.h : 
1274         Added #include of "spi-roletypes.h", and
1275         added enumerated type AccessibleCoordType.
1276         Added definition for KeystrokeListener (function type).
1277
1278         ADDED FILES:
1279         * cspi/spi-statetypes.h :
1280         * cspi/spi-roletypes.h :
1281         * cspi/spi-impl.h :
1282         Added these headers, used by spi.h.
1283         * cspi/spi_main.c : 
1284         Added code (NOTE: not yet built by make).
1285
1286 2001-08-18  Mark McLoughlin <mark@skynet.ie>
1287
1288         * libspi/Makefile.am: generate imodule
1289         at the same time as other idl compiler 
1290         generated files. 
1291
1292 2001-08-17  Bill Haneman <bill.haneman@sun.com>
1293         * libspi/registry.c :
1294         * libspi/application.c :
1295         * idl/Application.idl :
1296         Made registration with toolkit an application method,
1297         which is required since each app has its own toolkit static
1298         environment.  Thus the bridge must register for 
1299         notification of toolkit events from each application in turn.
1300         Toolkit notifications are now successfully registered for, and
1301         sent to the listening at client.
1302         * test/at.c :
1303         Changed toolkit event string to use hyphens rather than underscores.
1304         * libspi/listener.c :
1305         listner now gives more info in debug mode - it reports the
1306         name of the event received, as well as the name of the source.
1307         
1308
1309 2001-08-16  Bill Haneman <bill.haneman@sun.com>
1310
1311         * libspi/registry.c :
1312         added more implementation for toolkit events.
1313         Fixed bug such that toolkit event registrations
1314         (via atk) use the whole event name string, not 
1315         just minor+detail.
1316         Removed a useless call to an ORBit_ method.
1317         * at-bridge/bridge.c :
1318         Removed unused local sbuf[] variable.
1319         * test/at.c :
1320         We now register for Gtk:GtkWidget:button_press_event 
1321         events as well as "focus:" events.
1322         * cspi/spi.h :
1323         Add some more API from Registry.idl that was missing,
1324         for keystroke listening, keystroke and mouse event
1325         synthesis, and enumeration of accessible desktops.
1326
1327 2001-08-16  Michael Meeks  <michael@ximian.com>
1328
1329         * configure.in: use AM_GLIB_GNU_GETTEXT.
1330
1331         * Makefile.am (SUBDIRS): kill intl.
1332
1333 2001-08-15  Michael Meeks  <michael@ximian.com>
1334
1335         * registryd/Makefile.am: s/oaf/server/ relocate info file.
1336
1337         * configure.in: upd.
1338
1339         * configure.in: depend on a recent bonobo-activation that
1340         will find our server files ...
1341
1342 2001-08-16  Bill Haneman <bill.haneman@sun.com>
1343
1344         * libspi/accessible.c : accessible_new() :
1345         Now we add the Component interface via bonobo_object_add_interface,
1346         if the contained AtkObject implements AtkComponent.
1347         * libspi/accessible.h : now include "component.h"
1348         * libspi/component.h :
1349         * libspi/component.c : added files - implementation of
1350         bonobo wrapper object for Accessibility/Component
1351         * libspi/listener.c :
1352         Added test code to check for Accessibility/Component:1.0
1353         interface and report whether it is implemented by the
1354         event source.
1355         * libspi/registry.c :
1356         Now we check for not only the hash of the whole event 
1357         string before relaying the event, we also check the
1358         "minor" event string (without the detail string).
1359         This allows event listeners to be registered against
1360         all events of a certain major+minor type, or just
1361         against a specific major+minor+detail type.
1362         * libspi/accessible.c :
1363         Added implementations for Accessible:get_parent(),
1364         Accessible:getChildCount(), and Accessible:getChildAtIndex().
1365         * libspi/registry.c :
1366         * libspi/listener.c :
1367         Replaced calls to Accessibility_Accessible_ref() and
1368         Accessibility_Accessible_unref() with 
1369         calls to bonobo_object_dup_ref() and 
1370         bonobo_object_release_unref(), so that the CORBA object
1371         is dup-ed and released when relayed, as well as the bonobo object.
1372
1373 2001-08-15  Mark McLoughlin <mark@skynet.ie>
1374
1375         * libspi/Makefile.am,
1376           registryd/Makefile.am,
1377           at-bridge/Makefile.am.
1378           test/Makefile.am, configure.in:
1379         reverse previous changes.
1380
1381         * /idl/Image.idl: fix typo.
1382
1383         * test/Makefile.am: put DEBUG_FLAGS
1384         in CFLAGS.
1385
1386 2001-08-15  Mark McLoughlin <mark@skynet.ie>
1387
1388         * test/app.c: use argv[0] instead of
1389         g_type_prgname.
1390
1391 2001-08-15  Mark McLoughlin <mark@skynet.ie>
1392
1393         * libspi/Makefile.am,
1394           registryd/Makefile.am,
1395           at-bridge/Makefile.am.
1396           test/Makefile.am, configure.in:
1397         cleanup, replace individual LIBS/CFLAGS with
1398         AT_COMMON_{LIBS|CFLAGS}.
1399
1400         * README: format.
1401
1402 2001-08-15  Mark McLoughlin <mark@skynet.ie>
1403         
1404         * configure.in, libspi/Makefile.am:
1405         Change IDL path checking for bonobo-activation
1406         as opposed to oaf.
1407
1408 2001-08-15  Bill Haneman <bill.haneman@sun.com>
1409
1410         * registryd/registry.c : separated event listeners to use
1411         3 separate lists (focus, window, toolkit).  Began testing
1412         event names against hashes before relaying events.
1413         * test/at.c : now register for events of type "focus:"
1414         * test/app.c : now generate events of type "focus:"
1415         * at-bridge/bridge.c : register with ATK for focus events,
1416         and we now relay those focus events to any "focus:" listeners.
1417         This now works with the bridge as a GTK_MODULE when running test/at.
1418         * libspi/registry.c :
1419         * libspi/listener.c : 
1420         now we ref event sources before propagating, and unref on receipt.
1421         * libspi/registry.c : 
1422         some changes to internal structs, to support event typestring hashes.
1423         * text/app.c : changed the way the appname is generated.
1424         * cspi : added directory that will hold the C bindings library for 
1425                 non-CORBA/bonobo-savvy clients.
1426         * cspi/spi.h : header file that contains the function prototypes for the C binding.
1427         * idl/Component.idl : added in parameter to indicate coord system for
1428                 geometry-related calls.
1429         * idl/Hyperlink.idl : added readonly n_links attribute
1430         * idl/Image.idl : changed methods to attributes.
1431         
1432 2001-08-15  Mark McLoughlin <mark@skynet.ie>
1433
1434         * at-bridge/Makefile.am: link against
1435         ../libspi/libspi.la instead of -lspi.
1436
1437         * at-spi/test/app.c: include 
1438         bonobo-activation.h. Use a default appname
1439         if one is not provided.
1440
1441 2001-08-14  Bill Haneman <bill.haneman@sun.com>
1442
1443         * idl/Registry.idl : temporarily changed register_Application
1444         to oneway, to work around issue with initial registration 
1445         re-entrancy.
1446         * idl/Application.idl : changed attribute "id" from readonly 
1447         to read-write, since it needs to be assigned by Registry.
1448         * registryd/registryd.c : added call to set application id 
1449         on registration.
1450         * registryd/registry.c : changed de-registration procedure to
1451         use CORBA_Object_hash() to find matching object ref in application
1452         lists and listener lists.
1453         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
1454         began distinguishing between event types (work in progress).
1455
1456 2001-08-13  Bill Haneman <bill.haneman@sun.com>
1457
1458         CHANGES:
1459         * libspi/application.c:
1460         Added implementations for get/set id, get_toolkitName,
1461         get_version.
1462         * registryd/registryd.c :
1463         * test/at.c :
1464         * test/app.c :
1465         * Makefile.am :
1466         Converted from use of OAF to bonobo-activation.
1467         * libspi/desktop.h :
1468         * libspi/desktop.c :
1469         * test/app.c :
1470         Removed references to atksimpleobject, since base atkobject
1471         implementation now provides functionality we need.
1472         * libspi/atksimpleobject.c :
1473         * libspi/atksimpleobject.h :
1474         Removed.
1475         
1476         ADDITIONS:
1477         * at-bridge
1478         * at-bridge/Makefile.am
1479         * at-bridge/bridge.c
1480         * configure.in
1481         * Makefile.am
1482         Added directory "bridge" and contents, and added dependencies
1483         in Makefile.am/configure.in.  
1484         Initial checkin of "at-bridge".
1485         This code is a GTK_MODULE which automatically registers
1486         GTK+ apps with the accessibility registry, using an object
1487         reference to the root ATK object.
1488         
1489 2001-08-10  Mark McLoughlin <mark@skynet.ie>
1490
1491         * po/Makefile.in.in: Remove. Again. If this
1492         doesn't get autogenerated - you need to update
1493         gnome-common.
1494
1495 2001-08-07  Mark McLoughlin <mark@skynet.ie>
1496
1497         * po/Makefile.in.in: Add. Again.
1498
1499 2001-07-31  Bill Haneman <bill.haneman@sun.com>
1500
1501         * libspi/accessible.c : added support for 'description' property.
1502         * libspi/accessible.c
1503         * libspi/desktop.c
1504         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1505             (since the two are now equivalent in libbonobo)
1506         * idl/Action.idl
1507         * idl/Component.idl
1508         * idl/Hyperlink.idl
1509         * idl/Image.idl
1510         * idl/Selection.idl
1511         * idl/Table.idl
1512         * idl/Text.idl
1513         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1514              Bonobo::Unknown as does Accessibility::Accessible.
1515         * idl/StreamableContent.idl : as above, and replaced internal InputStream
1516              interface with Bonobo::Stream, since it was redundant with it.
1517              (The Stream returned by a StreamableContext object is expected to
1518              implement only a subset of Bonobo::Stream)
1519
1520 2001-07-28  Anders Carlsson  <andersca@gnome.org>
1521
1522         * libspi/accessible.c (accessible_object_finalize): Change
1523           g_free to g_object_unref since the AtkObject is a GObject.
1524
1525 2001-07-30  Bill Haneman <bill.haneman@sun.com>
1526
1527         * idl/Accessibility.idl: add new IDL files
1528         
1529         Added:
1530         * idl/Action.idl: Definitions of actionable UI object
1531         * idl/Component.idl: Definitions of UI component geometry, etc.
1532         * idl/Hyperlink.idl: Defs of hyperlink behavior
1533         * idl/Image.idl: Def of accessible image
1534         * idl/Selection.idl: Definition of UI object with selectable children
1535         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1536         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1537         * idl/Text.idl: Interface defs for UI elements with complex textual content
1538         * idl/Value.idl: Definition of UI element that is a value controller or display
1539         
1540 2001-07-27  Michael Meeks  <michael@ximian.com>
1541
1542         * po/Makefile.in.in: remove autogenerated file from CVS.
1543
1544         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1545         type library.
1546
1547         * idl/Registry.idl: include guard.
1548
1549         * idl/Accessibility.idl: Add, and include all the other IDL
1550         files.
1551
1552         * idl/*.idl: remove mass of pragmas etc.
1553
1554 2001-07-26  Michael Meeks  <michael@ximian.com>
1555
1556         * registryd/Makefile.am (registryd_SOURCES): remove
1557         redundant at_.
1558
1559 2001-07-27  Mark McLoughlin <mark@skynet.ie>
1560
1561         * libspi/.cvsignore, registryd/.cvsignore,
1562           test/.cvsignore: updated.
1563
1564         * po/Makefile.in.in: gettext update.
1565
1566 2001-07-25  Bill Haneman <bill.haneman@sun.com>
1567
1568         * initial CVS checkin
1569
1570 2001-06-29  Michael Meeks  <michael@ximian.com>
1571
1572         * configure.in: add AM_CONFIG_HEADER to gen config.h
1573
1574         * acconfig.h: add.
1575