2001-11-13 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / ChangeLog
1 2001-11-13  Michael Meeks  <michael@ximian.com>
2
3         * Makefile.am: dist & install at-spi-1.0.pc
4
5         * libspi/Makefile.am: install into at-spi-1.0
6
7         * idl/Makefile.am (idldir): install into at-spi-1.0
8
9         * at-spi-1.0.pc.in: add.
10
11         * configure.in: build it.
12
13 2001-11-12  Bill Haneman <bill.haneman@sun.com>
14
15         * test/keysynth-demo.c:
16         Use a 'realize' signal-handler to set the WM properties for
17         the virtual keyboard, rather than making it a "POPUP" type
18         override-redirect window (thanks to anders carlsson for that
19         tip!)
20
21 2001-11-11  Bill Haneman <bill.haneman@sun.com>
22
23         * test/Makefile.am:
24         * test/keysynth-demo.c:
25         Added new test of key synthesis, which creates a simple
26         (mouse-operated) onscreen keyboard.  It inserts key events into
27         the currently-focused window, thus it does not grab keyboard focus
28         itself.
29
30         * cspi/spi_registry.c:
31         Added C binding for AT-SPI generateKeyEvent.
32
33         * libspi/deviceeventcontroller.c:
34         Added call to XFilterEvent so that key listener works with XIM (we
35         hope).  Added event_synth_type to generateKeyEvent, so that we can
36         produce KEY_PRESS, KEY_RELEASE, KEY_PRESSRELEASE (pair), or
37         synthesize a press/release pair for KeySyms.    
38         
39 2001-11-09  Bill Haneman <bill.haneman@sun.com>
40
41         * libspi/Makefile.am: 
42         * registryd/Makefile.am:
43         (temporary) hack to include libXtst in libspi and registryd.
44         (Needed for keystroke synthesis, see below).
45
46         * idl/Registry.idl:
47         Improved API for registerKeystrokeListener, in accordance with
48         discussions with Gnopernicus team and X server research.
49
50         * libspi/registry.c:
51         * libspi/deviceeventcontroller.c:
52         * libspi/accessible.c:
53         * libspi/keystrokelistener.c:
54         Changes and fixes to support keylisteners for potentially
55         consumed key events (that is, 'passive grabs').
56         Added implementation for generateKeyEvent() [untested].
57
58         * cspi/spi.h:
59         Changes to registerKeystrokeListener() API, as above.
60         Added deregisterGlobalEventListenerAll(), and 
61         deregisterKeystrokeListener(), which are needed for clean exit of
62         clients.
63         Added typedefs for KeyListenerSyncType, KeyEventMask, and KeySet,
64         and a macro ALL_KEYS which may be used in place of a KeySet pointer.
65         
66         * cspi/spi_registry.c:
67         Added implementations of function prototypes mentioned above.
68         
69         * registryd/registryd.c:
70         Added the key listener event source as a g_timeout(), to allow
71         receipt of key events that are not caught by GDK (since GDK
72         doesn't support passive keygrabs, this was necessary).
73
74         * test/simple-at.c:
75         Changed to attach a keylistener to 'Alt' keys, and
76         respond to the following keycommands: Alt-M (toggle magnifier);
77         Alt-F (toggle speech); Alt-Q (quit).
78         Added an exit routine to deregister the listeners, and a key
79         listener that prints some key info to the console when a key
80         matches the listener mask (and is thus received by the listener).
81         
82         * util/idl/Magnifier.idl:
83         Changes to magnifier API to support multiple zoom regions,
84         non-uniform scaling in x and y, markDirty, and a host of other
85         features that would be useful to magnification.
86
87         * util/mag_image.h:
88         * util/mag_client.c:
89         * util/mag_client.h:
90         * util/mag_control.c:
91         * util/magnifier.c:
92         Source code changes to support the above IDL changes.
93         
94         * util/mag_image.c:
95         As above, and also changes to use a (slower) generic conversion
96         path for colormap conversions, since the fast RGB conversions have been
97         reported to fail for 16-bit displays.
98
99 2001-10-26  Michael Meeks  <michael@ximian.com>
100
101         * libspi/Makefile.am (orbittypelibdir): install in orbit-2.0
102
103 <2001-10-26  Laszlo Peter <laca@ireland.sun.com>
104
105         * at-bridge/Makefile.am: fix LDFLAGS.
106
107 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
108
109         * at-bridge/bridge.c:
110         Re-worked listeners for toolkit events, now we have signal
111         and property listeners. Added a private method
112         register_atk_event_listeners(), which registers with the
113         various atk and gtk signals we need to monitor in order to emit
114         our at-spi events.
115         Added emission hook for AtkObject:property-change events, to
116         support the 'property listeners'.
117         Fixed some alloc()s of Accessibility_Event structs to use CORBA
118         allocation.
119
120         * cspi/spi-util.c: added methods spi_warn_ev and spi_check_ev,
121         which emit warnings and exit, respectively, if CORBA errors occur
122         during remote calls, and we now use these methods to check most of
123         our CORBA calls in the C bindings.
124
125         * cspi/spi_accessible.c:
126         Changed AccessibleSelection_refSelectedChild() to
127         AccessibleSelection_getSelectedChild(), since all our cspi 'gets'
128         now increment refcounts.
129
130         * cspi/spi_component.c:
131         Fixed some long pointer casts (dangerous!) to pass pointers to
132         CORBA_longs of the proper type to the CORBA stubs, and copy the
133         data into the longs that were passed into the C bindings code.
134         
135         * at-bridge/bridge.c:
136         
137         * libspi/accessible.c:
138         Removed ATK_IS_HYPERLINK() query, since AtkObjects are never
139         hyperlinks, AtkHyperlink is an object type.     
140
141         * libspi/application.c:
142         Added various conversions to and from "generic" event types and
143         atk-specific types; this is really part of the 'bridge'
144         implementation but is valid for all AtkObject-based accessibility 
145         implementations.
146
147         * libspi/editabletext.c:
148         Fixed nasty bug wherein editable text's finalize method was
149         unref'ing tha AtkObject reference that the text parent class was
150         about to unref _again_.  There was also a nasty inheritance bug
151         that meant that the AccessibleEditableText class was corrupt.
152
153         * libspi/selection.c:
154         Provided implementations for some selection API that was broken.
155         
156         * idl/Application.idl:
157         Added registerObjectEventListener () method.
158
159         * THROUGHOUT:
160         Fixed a number of return values that were Bonobo_Unknowns from
161         bonobo_object_corba_objref(), which I
162         forgot to dup before returning.  Changed instances of 
163         bonobo_object_corba_objref (bonobo_object(o)) to
164         BONOBO_OBJREF(o), for concision and clarity.
165         
166 <2001-10-13  Louise Miller <louise.miller@sun.com>
167
168         * idl/Accessible.idl, idl/Application.idl, idl/Desktop.idl,
169         idl/Event.idl, idl/Registry.idl
170         Changed these files to include Bonobo_Unknown.idl instead
171         of Bonobo.idl
172
173 <2001-09-10  Marc Mulcahy <marc.mulcahy@sun.com
174
175         * libspi/component.c libspi/component.h:
176                 Fixed typo.  Added assertions for object checks in 
177         AccessibleComponent code.
178
179 <2001-10-09  Bill Haneman <bill.haneman@sun.com>
180
181         * idl/Accessible.idl:
182                 Added 'isEqual (Accessible *object)' 
183         method for Accessible. (Not Yet Implemented).
184         
185         * idl/Registry.idl:
186                 Changed signature of registerKeystrokeListener() to
187         take a KeySet and KeyEventSeq so that specific keys and event
188         types could be requested for monitoring, and added a flag
189         is_synchronous so that either synchronous or asynchronous
190         notification could be requested.  (However this is not all
191         implemented yet). This also meant adding two new typedefs,
192         KeyEventSeq and KeySet.
193
194         * idl/Relation.idl: 
195                 Added two new relations, RELATION_TOOLTIP_FOR and
196         RELATION_LEAFNODE_OF.
197
198         * idl/State.idl:
199                 Added new state, STATE_HAS_TOOLTIP.
200         
201         * libspi/text.c, editabletext.c:
202                 Added new assertions to all casts of bonobo-objects from
203         CORBA servants, to prevent Text API calls on non-text objects.
204                 Changed suspect casts of int-pointer types, so that we
205         always send a valid CORBA_long pointer to the CORBA APIs that use
206         in/out long parameters.  We then have to copy from the CORBA_long
207         into the regular long or int for return to the C bindings, or
208         vice-versa when returning parameters from ATK calls to the bonobo wrappers.
209         
210         * cspi/spi_text.c:
211         * libspi/deviceeventcontroller.c:
212                 Cleaned these sources up.
213         * idl/Text.idl:
214                 Changed return type for getCharacterAtOffset to
215         CORBA_unsigned_long, to allow for 32-bit characters.
216         
217                 
218 <2001-10-08  Bill Haneman <bill.haneman@sun.com>
219
220         * util/Makefile.am:
221         * idl/Makefile.am:
222                 Fixed 'make dist' so that distro compiles...
223         * libspi/keymasks.h:
224                 new file.
225         * cspi/spi-listener.c:
226                 KeystrokeListenerCB now returns a boolean.
227         * cspi/spi.h:
228                 Added KeyEventType struct, and KeyStroke.
229                 Also added createKeystrokeListener(),
230         KeystrokeListener_addCallback(),
231         KeystrokeListener_removeCallback(), and added a keymask to
232         registerKeystrokeListener().
233         * cspi/spi_accessible.c:
234                 Changed numerous return types for interfaces from
235         AccessibleComponent to Accessible<InterfaceName>; this was
236         probably a cut-and-paste error.
237         * cspi/spi_event.c:
238                 Implementations of new KeystrokeListener api (from spi.h,
239         above).
240         * idl/Registry.idl:
241                 Changes to key modifier mapping.
242                 Created ControllerEventMask struct.
243                 Made DeviceEventController derive from Bonobo::Unknown.
244         * idl/Text.idl:
245                 Removed TEXT_BOUNDARY_CURSOR_POS boundary type.
246         * libspi/deviceeventcontroller.c:
247                 Added a number of new internal (private) methods.
248         * libspi/editabletext.c:
249         * libspi/editabletext.h:
250                 Fixed a number of bugs related to the fact that
251         editabletext inherits from text.  Fixed the EditableText struct,
252         the init() call, and use correct casts when calling Text methods
253         from an EditableText object.  Removed (duplicate) atko from the
254         EditableText structure, we use the one in the parent Text
255         structure via the casts mentioned above.
256         * libspi/keystrokelistener.[ch]:
257         * libspi/registry.c:
258                 Changes in support of keyboard handling (above).
259         
260         Keyboard handling, though partly functional, is still not
261         recommended for at-spi client use as there is considerable 
262         work yet to be done.
263
264         * libspi/text.c:
265                 Changed some places where pointers to various int types
266         are cast to be pointers to CORBA_long types and vice-versa:
267         pointer casting is not safe so we pass pointers of the correct
268         types and then cast the result before putting it into the target
269         pointers.
270
271         * libspi/text.h: minor typos corrected.
272         * test/simple-at.c: 
273                 We now speak not only the name of a Text element, but the
274         first sentence of its content, when it receives focus.
275                 I also changed the text compression to 75% from 50%.
276         * util/Accessibility_Util.server.in:
277                 Changed the default magnifier type to be a 3x vertical
278         splitscreen magnifier (was previously a 2x horizontal one).
279
280 <2001-10-03  Bill Haneman <bill.haneman@sun.com>
281
282         * libspi/keystrokelistener.h:
283         * libspi/keystrokelistener.c:
284                 Initial functional implementations of KeystrokeListener.
285         * idl/Registry.idl:
286         
287 <2001-10-05  Marc Mulcahy <marc.mulcahy@sun.com>
288
289         Fixed string handling for NULL strings in libspi.
290         Added spi_freeString to free strings returned by C bindings.
291
292 <2001-09-30  Bill Haneman <bill.haneman@sun.com>
293
294         * libspi/keystrokelistener.h:
295         * libspi/keystrokelistener.c:
296                 Began (no-op) implementations of KeystrokeListener
297                         (see below).
298         * libspi/deviceeventcontroller.c:
299         * libspi/deviceeventcontroller.h:
300                 Began creating implementations of DeviceEventController,
301                         to handle keystroke and mouse event listening and
302                         synthesis.
303         * libspi/accessible.c:
304                 Stubbed-in the implementations for
305                         Accessibility_Accessible_getState and
306                         Accessibility_Accessible_getRelationSet.
307         * libspi/registry.c:
308                 Improved de-registration process and fixed some bugs, 
309                         deregistration now works correctly.
310         * libspi/desktop.c:
311                 Added initialization of applications list (to NULL).
312         * util/magnifier.c:
313                 Reduced speech compression from 0.5 to 0.7, for demo.
314                 Changed call to gdk_window_set_decorations()
315                         to gtk_window_set_decorated().
316         * at-bridge/bridge.c:
317                 Bridge now deregisters when app exits, via
318                         registration of a cleanup function
319                         with the g_atexit() call.
320                         Required making 'app' static, renamed 'this_app'.
321                 Fixed broken use of bonobo_init, passing argv wrongly.
322
323 <2001-09-27  Bill Haneman <bill.haneman@sun.com>
324
325         * util:
326         * util/Makefile.am: 
327                 Created a new directory for 
328                         accessibility-related utilities, primarily for
329                         testing and demo purposes, but with possible
330                         end-user utility.
331         
332         * util/magnifier.c:
333         * util/magnifier.h:
334         * util/mag_image.c:
335         * util/mag_image.h:
336                 Onscreen magnifier utility that
337                         is implemented as a bonobo service.
338         
339         * util/mag_client.c:
340         * util/mag_client.h:
341                 Client-side support (simple C bindings) 
342                         for Magnification service
343         
344         * util/mag_control.c:
345                 Client program example for 
346                         Magnification service
347         
348         * util/Accessibility_Magnifier.server.in:
349                 Bonobo-activation file for the 
350                         Magnification service.
351         
352         * util/idl:
353         * util/idl/Magnifier.idl:
354                 IDL defining the bonobo Magnification
355                         service interface.
356
357         * test/simple-at.c:
358                 Modifications to use the bonobo-activated magnifier
359                         above, in place of trying to connect to an existing
360                         magnifier that uses socket-listening IPC.
361
362                 If env variable MAGNIFIER is set, a magnifier service
363                         will be started if one does not exist.
364         
365 <2001-09-25  Bill Haneman <bill.haneman@sun.com>
366         * at-bridge/bridge.c:
367                 applied patch from Marc to build and run 
368                 against new glib and gtk+ (seemed like a change 
369                 to bonobo_init signature was made ?)
370         * test/simple-at.c:
371                 made festival-server support turned off by default.
372                 Added support for a simple magnifier (off by default)
373                 which will be added to a 'util' directory later.
374         * at-bridge/Makefile.am:
375                 Changed "application.h" header from a 'source'
376                 to a 'dependency' of libat-bridge.
377
378 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
379         * cspi/Makefile.am:
380                 Added spi-util.c.
381
382         * cspi/spi-util.c:
383                 Fixed typo
384
385         * cspi/spi.c:
386                 Added interface implementation c files to list of
387                         includes so they are included in libcspi.
388
389         * cspi/spi.h:
390                 Changed prototype of AccessibleAction_doAction to return a
391                         boolean.
392                 Changed prototype of AccessibleTable_getCaption to
393                         return an Accessible.
394                 Changed prototype of AccessibleTable_getSelectedRows
395                         and AccessibleTable_getSelectedColumns to
396                         return a long (returns the number of selected rows
397                         or columns respectively).
398                 Changed name of AccessibleText_refRunAttributes to
399                         AccessibleText_getAttributes.
400                 Changed prototype of AccessibleText_getCharacterExtents to
401                         return a void rather than a boolean. 
402                 Added support for a AccessibleCoordType parameter
403                         specifying what type of coordinates are desired.
404                 Added an AccessibleCordType parameter to
405                         AccessibleText_getPointAtOffset.
406
407         * cspi/spi_accessible.c:
408                 Added code to return the outstanding interfaces from
409                         Accessible_queryInterface.
410
411         * cspi/spi_action.c:
412                 Fixed typos.
413                 Corrected call to getNActions to call the c binding
414                         for an attribute.
415
416         * cspi/spi_editabletext.c:
417                 Fixed typos.
418                 Changed name from setRunAttributes to setAttributes.
419
420         * cspi/spi_hyperlink.c:
421                 Fixed typos.
422                 Changed call to getNAnchors to correctly call the c
423                         binding for an attribute.
424
425         * cspi/spi_hypertext.c:
426                 Fixed typos.
427                 Changed getImageDescription to correctly call the
428                         binding for an attribute.
429
430         * cspi/spi_selection.c:
431                 Changed getNSelectedChildren to correctly call the c
432                         binding for the attribute.
433                 Changed refSelectedChild to getSelectedChild.
434
435         * cspi/spi_table.c:
436                 Fixed typos.
437                 Changed getCaption to return an Accessible.
438                 Fixed calls which retrieve attributes.
439                 Changed refAt to getAccessibleAt.
440                 Changed getNSelectedRows and getNSelectedColumns to
441                         return longs.
442
443         * cspi/spi_text.c:
444                 Changed getCharacterExtents and getPointAtOffset to accept an
445                         AccessibleCoordType.
446                 Fixed typos.
447                 Changed calls which retrieve attributes.
448                 Changed refRunAttributes to getAttributes.
449
450         * cspi/spi_value.c:
451                 Fixed typos.
452
453         * idl/Hyperlink.idl:
454                 Changed n_anchors attribute to nAnchors to keep naming
455                         convention consistent.
456
457         * idl/Table.idl:
458                 Made Table inherit from Bonobo::Unknown.
459                 Added nSelectedColumns and nSelectedRows attributes.
460
461         * idl/Value.idl:
462                 Made Value inherit from Bonobo::Unknown.
463
464         * libspi/hyperlink.c:
465                 Change for nAnchors attributte name change.
466
467 <2001-09-12  Marc Mulcahy <marc.mulcahy@sun.com>
468         * cspi/Makefile.am:
469                 Added spi-util.c.
470
471         * cspi/spi-util.c:
472                 Fixed typo
473
474         * cspi/spi.c:
475                 Added interface implementation c files to list of
476                         includes so they are included in libcspi.
477
478         * cspi/spi.h:
479                 Changed prototype of AccessibleAction_doAction to return a
480                         boolean.
481                 Changed prototype of AccessibleTable_getCaption to
482                         return an Accessible.
483                 Changed prototype of AccessibleTable_getSelectedRows
484                         and AccessibleTable_getSelectedColumns to
485                         return a long (returns the number of selected rows
486                         or columns respectively).
487                 Changed name of AccessibleText_refRunAttributes to
488                         AccessibleText_getAttributes.
489                 Changed prototype of AccessibleText_getCharacterExtents to
490                         return a void rather than a boolean. 
491                 Added support for a AccessibleCoordType parameter
492                         specifying what type of coordinates are desired.
493                 Added an AccessibleCordType parameter to
494                         AccessibleText_getPointAtOffset.
495
496         * cspi/spi_accessible.c:
497                 Added code to return the outstanding interfaces from
498                         Accessible_queryInterface.
499
500         * cspi/spi_action.c:
501                 Fixed typos.
502                 Corrected call to getNActions to call the c binding
503                         for an attribute.
504
505         * cspi/spi_editabletext.c:
506                 Fixed typos.
507                 Changed name from setRunAttributes to setAttributes.
508
509         * cspi/spi_hyperlink.c:
510                 Fixed typos.
511                 Changed call to getNAnchors to correctly call the c
512                         binding for an attribute.
513
514         * cspi/spi_hypertext.c:
515                 Fixed typos.
516                 Changed getImageDescription to correctly call the
517                         binding for an attribute.
518
519         * cspi/spi_selection.c:
520                 Changed getNSelectedChildren to correctly call the c
521                         binding for the attribute.
522                 Changed refSelectedChild to getSelectedChild.
523
524         * cspi/spi_table.c:
525                 Fixed typos.
526                 Changed getCaption to return an Accessible.
527                 Fixed calls which retrieve attributes.
528                 Changed refAt to getAccessibleAt.
529                 Changed getNSelectedRows and getNSelectedColumns to
530                         return longs.
531
532         * cspi/spi_text.c:
533                 Changed getCharacterExtents and getPointAtOffset to accept an
534                         AccessibleCoordType.
535                 Fixed typos.
536                 Changed calls which retrieve attributes.
537                 Changed refRunAttributes to getAttributes.
538
539         * cspi/spi_value.c:
540                 Fixed typos.
541
542         * idl/Hyperlink.idl:
543                 Changed n_anchors attribute to nAnchors to keep naming
544                         convention consistent.
545
546         * idl/Table.idl:
547                 Made Table inherit from Bonobo::Unknown.
548                 Added nSelectedColumns and nSelectedRows attributes.
549
550         * idl/Value.idl:
551                 Made Value inherit from Bonobo::Unknown.
552
553         * libspi/hyperlink.c:
554                 Change for nAnchors attributte name change.
555
556
557 <2001-09-05  Marc Mulcahy <marc.mulcahy@sun.com>
558
559         implementations-- made server implementations own AtkObject pointers
560         rather than their respective AtkInterrface pointers to fix
561         refcounting.  AtkHyperlink is still broken.
562
563 <2001-09-04  Bill Haneman <bill.haneman@sun.com>
564         * cspi/spi_accessible.c:
565                 Added method Accessible_Role_getName(),
566                         and requisite string array (role_names).
567                 Added conversion string_from_corba_strin() call
568                         to Accessible_getName and _getDescription.
569         * libspi/accessible.c:
570                 Added implementation for Accessible_getRole()
571         * test/simple-at.c:
572                 Added festival support, used if environment variable
573                         FESTIVAL is set.
574         
575 2001-09-04  Bill Haneman <bill.haneman@sun.com>
576
577         * at-bridge/bridge.c:
578             Now allocate Accessibility_Event using
579             Accessibility_Event__alloc() instead of g_new0().
580         * libspi/accessibleeventlistener.c:
581             Initialize AccessibleEventListener->callbacks to NULL.
582             Fixed accessible__event_listener_init() param, changed to
583             "AccessibleEventListener *" type.
584             Changed a bonobo_object_release_unref() call to
585             Accessibility_Accessible_unref().
586         * libspi/listener.c:
587             Changed Bonobo_Unknown_unref to (equivalent) 
588             Accessibility_Accessible_unref.
589         * libspi/registry.c:
590             Changed bonobo_object_release_unref to 
591             Accessibility_Accessible_unref.
592         
593 <2001-09-04  Marc Mulcahy <marc.mulcahy@sun.com>
594         
595         * Added files:
596             spi_action.c spi_editabletext.c spi_hyperlink.c spi_hypertext.c
597             spi_image.c spi_selection.c spi_table.c spi_text.c spi_value.c
598             spi-util.c spi-util.h
599             Implementations for C bindings to remaining accessibility 
600             interfaces.
601
602 <2001-09-04 Marc Mulcahy <marc.mulcahy@sun.com>
603         
604         * idl/Action.idl:
605             changed return value of Action from void to boolean to 
606             bring in line with ATK.
607
608         * idl/Text.idl:
609             Changed getText funcions to return "out" start and end offsets.
610             Changed getAttributes to take and offset and return the start 
611             and end offset of the attribute run.
612             Changed getOffsetAtPoint and getCharacterExtents to take an 
613              enum describing whether coordinates are window or screen.
614
615         * Added files:
616             libspi/action.c libspi/action.h libspi/editabletext.c 
617             libspi/editabletext.h libspi/hyperlink.c libspi/hyperlink.h
618             libspi/hypertext.c libspi/hypertext.h libspi/image.c 
619             libspi/image.h libspi/selection.c libspi/selection.h
620             libspi/table.c libspi/table.h libspi/text.c libspi/text.h 
621             libspi/value.c libspi/value.h
622             Added server implementations for outstanding ATK interfaces 
623             not yet implemented.
624  
625 2001-09-04  Bill Haneman <bill.haneman@sun.com>
626
627         * idl/Action.idl:
628                 Added (missing) getName() method. 
629                 Made nActions an attribute.
630         * idl/EditableText.idl:
631                 Changed order of params in setAttributes.
632         * idl/Hyperlink.idl:
633                 Removed getAnchor, added getURI.
634         * idl/Image.idl:
635                 Changed attributes to methods, for efficiency
636                 (so that getting extents can be done in one call)
637         * idl/Selection.idl:
638                 Changed nSelectedChildren to attribute, and re-indented.
639         * idl/Table.idl: changed nrows, ncolumns, caption, summary 
640                 to attributes.
641         * idl/Text.idl: reformatted to match our coding style.
642                 (temporarily?) removed getRowColumnAtOffset().
643                 Changed text selection API to support multi-select and
644                 non-contiguous selections, as in ATK.
645         * idl/Value.idl: changed some methods to attributes.
646
647 2001-08-24  Mark McLoughlin <mark@skynet.ie>
648
649         * libspi/listener.c(impl_notify_event):
650         BonoboUnkown_unref the source instead
651         of bonobo_object_release_unref - the ORB
652         handles the releasing.
653
654         * configure.in: require ORBit-2.3.94 for
655         this behaviour.
656
657 2001-08-21  Bill Haneman <bill.haneman@sun.com>
658
659         Tagged CVS repository 'EA_1_0'.
660         * README.EARLY_ACCESS:
661         Alphabetized acknowledgements list, and
662         added someone.
663         Listed some known dependencies of at-spi.
664
665 2001-08-20  Bill Haneman <bill.haneman@sun.com>
666
667         * docs/at-spi-docs.sgml:
668         * docs/at-spi-sections.txt:
669         * docs/at-spi-overrides.txt: (Added zero-length file)
670         Documentation improvements - gtk-doc should build
671         docs for all implemented C bindings now.
672         * cspi/Makefile.am:
673         * cspi/spi_main.c:
674         * cspi/spi.c: (New file)
675         * cspi/spi_event.c: (New file)
676         * cspi/spi_registry.c: (New file)
677         * cspi/spi_accessible.c: (New file)
678         * cspi/spi_application.c: (New file)
679         * cspi/spi_component.c: (New file)
680         Split spi_main.c into six parts, and included them from
681         "spi.c".  This is a bit of a hack, probably temporary,
682         but required by gtk-doc, apparently.
683         
684 2001-08-20  Bill Haneman <bill.haneman@sun.com>
685
686         * docs/Makefile.am:
687         * docs/at-spi-docs.sgml:
688         * docs/at-spi-sections.txt:
689         * configure.in:
690         Initial checkins/modifications for gtk-doc generation.
691         * cspi/spi.h:
692         * cspi/spi.c:
693         Added (missing) interface query methods to Accessible's C binding.
694         * cspi/spi-impl.h:
695         Added GenericInterface type definition.
696         * test/simple-at.c:
697         Added query for AccessibleComponent interface to focus event handler.
698         Added printout of bounding box for focussed component.
699         * libspi/component.c:
700         Added partial implementation for AccessibleComponent to C binding.
701         * idl/Application.idl:
702         * libspi/registry.c:
703         * libspi/listener.c:
704         * libspi/application.c:
705         * libspi/application.h:
706         Changed "ID" attribute type from string to long.
707
708 2001-08-19  Bill Haneman <bill.haneman@sun.com>
709
710         * cspi/spi.h:
711         * cspi/spi.c:
712         Made method naming consistent: methods taking object args
713         start with uppercase, other methods (except those using
714         acronyms) start with lowercase.  Underscores delimit between
715         object names and method names:
716         SPI_init() - uppercase since it starts with an acronym.
717         getDesktopCount () - lowercase start since no object param0.
718         Accessible_getName() - uppercase object type name, studlyCaps method
719                                name.
720
721         *cspi/spi.h:
722         Added gtk-doc documentation for all currently implemented
723         methods in the C bindings API.
724
725 2001-08-18  Bill Haneman <bill.haneman@sun.com>
726
727         * Makefile.am : changed build order to build test last.
728         * cspi/spi.h :
729         * cspi/spi_main.c :
730         Changed "createEventListener" to "CreateEventListener".
731         * libspi/accessibleeventlistener.c :
732         Bugfix for addition of callbacks.
733         * test/Makefile.am :
734         * test/simple-at.c :
735         Added new test that uses the C bindings API.
736         * idl/Event.idl :
737         * libspi/listener.c :
738         * libspi/registry.c :
739         * libspi/accessibleeventlistener.c :
740         * at-bridge/bridge.c :
741         Renamed member "target" of Accessibility_Event to "source",
742         which is more descriptive.
743         
744
745 2001-08-18  Bill Haneman <bill.haneman@sun.com>
746
747         * Makefile.am: 
748         * configure.in :
749         * cspi/Makefile.am :
750         Added makefile support for at-spi/cspi directory.
751         * cspi/spi.h : 
752         * cspi/spi-impl.h :
753         * cspi/spi-listener.h : (NEW FILE)
754         Added support for/use of spi-listener.h.
755         * cspi/spi_main.c :
756         C bindings now build successfully, with no warnings.
757         * libspi/accessibleeventlistener.h : (NEW FILE)
758         * libspi/accessibleeventlistener.c : (NEW FILE)
759         * libspi/Makefile.am :
760         Added new object type "AccessibleEventListener"
761         which inherits from Listener, and allows attachment
762         of in-process callbacks (so that a client with a listening
763         object instance can add functionality to the local 
764         implementation, dynamically).
765
766 2001-08-18  Bill Haneman <bill.haneman@sun.com>
767
768         * libspi/accessible.c: 
769         Add implementation for get_index_in_parent().
770         * cspi/spi.h : 
771         Added #include of "spi-roletypes.h", and
772         added enumerated type AccessibleCoordType.
773         Added definition for KeystrokeListener (function type).
774
775         ADDED FILES:
776         * cspi/spi-statetypes.h :
777         * cspi/spi-roletypes.h :
778         * cspi/spi-impl.h :
779         Added these headers, used by spi.h.
780         * cspi/spi_main.c : 
781         Added code (NOTE: not yet built by make).
782
783 2001-08-18  Mark McLoughlin <mark@skynet.ie>
784
785         * libspi/Makefile.am: generate imodule
786         at the same time as other idl compiler 
787         generated files. 
788
789 2001-08-17  Bill Haneman <bill.haneman@sun.com>
790         * libspi/registry.c :
791         * libspi/application.c :
792         * idl/Application.idl :
793         Made registration with toolkit an application method,
794         which is required since each app has its own toolkit static
795         environment.  Thus the bridge must register for 
796         notification of toolkit events from each application in turn.
797         Toolkit notifications are now successfully registered for, and
798         sent to the listening at client.
799         * test/at.c :
800         Changed toolkit event string to use hyphens rather than underscores.
801         * libspi/listener.c :
802         listner now gives more info in debug mode - it reports the
803         name of the event received, as well as the name of the source.
804         
805
806 2001-08-16  Bill Haneman <bill.haneman@sun.com>
807
808         * libspi/registry.c :
809         added more implementation for toolkit events.
810         Fixed bug such that toolkit event registrations
811         (via atk) use the whole event name string, not 
812         just minor+detail.
813         Removed a useless call to an ORBit_ method.
814         * at-bridge/bridge.c :
815         Removed unused local sbuf[] variable.
816         * test/at.c :
817         We now register for Gtk:GtkWidget:button_press_event 
818         events as well as "focus:" events.
819         * cspi/spi.h :
820         Add some more API from Registry.idl that was missing,
821         for keystroke listening, keystroke and mouse event
822         synthesis, and enumeration of accessible desktops.
823
824 2001-08-16  Michael Meeks  <michael@ximian.com>
825
826         * configure.in: use AM_GLIB_GNU_GETTEXT.
827
828         * Makefile.am (SUBDIRS): kill intl.
829
830 2001-08-15  Michael Meeks  <michael@ximian.com>
831
832         * registryd/Makefile.am: s/oaf/server/ relocate info file.
833
834         * configure.in: upd.
835
836         * configure.in: depend on a recent bonobo-activation that
837         will find our server files ...
838
839 2001-08-16  Bill Haneman <bill.haneman@sun.com>
840
841         * libspi/accessible.c : accessible_new() :
842         Now we add the Component interface via bonobo_object_add_interface,
843         if the contained AtkObject implements AtkComponent.
844         * libspi/accessible.h : now include "component.h"
845         * libspi/component.h :
846         * libspi/component.c : added files - implementation of
847         bonobo wrapper object for Accessibility/Component
848         * libspi/listener.c :
849         Added test code to check for Accessibility/Component:1.0
850         interface and report whether it is implemented by the
851         event source.
852         * libspi/registry.c :
853         Now we check for not only the hash of the whole event 
854         string before relaying the event, we also check the
855         "minor" event string (without the detail string).
856         This allows event listeners to be registered against
857         all events of a certain major+minor type, or just
858         against a specific major+minor+detail type.
859         * libspi/accessible.c :
860         Added implementations for Accessible:get_parent(),
861         Accessible:getChildCount(), and Accessible:getChildAtIndex().
862         * libspi/registry.c :
863         * libspi/listener.c :
864         Replaced calls to Accessibility_Accessible_ref() and
865         Accessibility_Accessible_unref() with 
866         calls to bonobo_object_dup_ref() and 
867         bonobo_object_release_unref(), so that the CORBA object
868         is dup-ed and released when relayed, as well as the bonobo object.
869
870 2001-08-15  Mark McLoughlin <mark@skynet.ie>
871
872         * libspi/Makefile.am,
873           registryd/Makefile.am,
874           at-bridge/Makefile.am.
875           test/Makefile.am, configure.in:
876         reverse previous changes.
877
878         * /idl/Image.idl: fix typo.
879
880         * test/Makefile.am: put DEBUG_FLAGS
881         in CFLAGS.
882
883 2001-08-15  Mark McLoughlin <mark@skynet.ie>
884
885         * test/app.c: use argv[0] instead of
886         g_type_prgname.
887
888 2001-08-15  Mark McLoughlin <mark@skynet.ie>
889
890         * libspi/Makefile.am,
891           registryd/Makefile.am,
892           at-bridge/Makefile.am.
893           test/Makefile.am, configure.in:
894         cleanup, replace individual LIBS/CFLAGS with
895         AT_COMMON_{LIBS|CFLAGS}.
896
897         * README: format.
898
899 2001-08-15  Mark McLoughlin <mark@skynet.ie>
900         
901         * configure.in, libspi/Makefile.am:
902         Change IDL path checking for bonobo-activation
903         as opposed to oaf.
904
905 2001-08-15  Bill Haneman <bill.haneman@sun.com>
906
907         * registryd/registry.c : separated event listeners to use
908         3 separate lists (focus, window, toolkit).  Began testing
909         event names against hashes before relaying events.
910         * test/at.c : now register for events of type "focus:"
911         * test/app.c : now generate events of type "focus:"
912         * at-bridge/bridge.c : register with ATK for focus events,
913         and we now relay those focus events to any "focus:" listeners.
914         This now works with the bridge as a GTK_MODULE when running test/at.
915         * libspi/registry.c :
916         * libspi/listener.c : 
917         now we ref event sources before propagating, and unref on receipt.
918         * libspi/registry.c : 
919         some changes to internal structs, to support event typestring hashes.
920         * text/app.c : changed the way the appname is generated.
921         * cspi : added directory that will hold the C bindings library for 
922                 non-CORBA/bonobo-savvy clients.
923         * cspi/spi.h : header file that contains the function prototypes for the C binding.
924         * idl/Component.idl : added in parameter to indicate coord system for
925                 geometry-related calls.
926         * idl/Hyperlink.idl : added readonly n_links attribute
927         * idl/Image.idl : changed methods to attributes.
928         
929 2001-08-15  Mark McLoughlin <mark@skynet.ie>
930
931         * at-bridge/Makefile.am: link against
932         ../libspi/libspi.la instead of -lspi.
933
934         * at-spi/test/app.c: include 
935         bonobo-activation.h. Use a default appname
936         if one is not provided.
937
938 2001-08-14  Bill Haneman <bill.haneman@sun.com>
939
940         * idl/Registry.idl : temporarily changed register_Application
941         to oneway, to work around issue with initial registration 
942         re-entrancy.
943         * idl/Application.idl : changed attribute "id" from readonly 
944         to read-write, since it needs to be assigned by Registry.
945         * registryd/registryd.c : added call to set application id 
946         on registration.
947         * registryd/registry.c : changed de-registration procedure to
948         use CORBA_Object_hash() to find matching object ref in application
949         lists and listener lists.
950         * registryd/registry.c : defined EventTypeStruct and EventTypeMajor,
951         began distinguishing between event types (work in progress).
952
953 2001-08-13  Bill Haneman <bill.haneman@sun.com>
954
955         CHANGES:
956         * libspi/application.c:
957         Added implementations for get/set id, get_toolkitName,
958         get_version.
959         * registryd/registryd.c :
960         * test/at.c :
961         * test/app.c :
962         * Makefile.am :
963         Converted from use of OAF to bonobo-activation.
964         * libspi/desktop.h :
965         * libspi/desktop.c :
966         * test/app.c :
967         Removed references to atksimpleobject, since base atkobject
968         implementation now provides functionality we need.
969         * libspi/atksimpleobject.c :
970         * libspi/atksimpleobject.h :
971         Removed.
972         
973         ADDITIONS:
974         * at-bridge
975         * at-bridge/Makefile.am
976         * at-bridge/bridge.c
977         * configure.in
978         * Makefile.am
979         Added directory "bridge" and contents, and added dependencies
980         in Makefile.am/configure.in.  
981         Initial checkin of "at-bridge".
982         This code is a GTK_MODULE which automatically registers
983         GTK+ apps with the accessibility registry, using an object
984         reference to the root ATK object.
985         
986 2001-08-10  Mark McLoughlin <mark@skynet.ie>
987
988         * po/Makefile.in.in: Remove. Again. If this
989         doesn't get autogenerated - you need to update
990         gnome-common.
991
992 2001-08-07  Mark McLoughlin <mark@skynet.ie>
993
994         * po/Makefile.in.in: Add. Again.
995
996 2001-07-31  Bill Haneman <bill.haneman@sun.com>
997
998         * libspi/accessible.c : added support for 'description' property.
999         * libspi/accessible.c
1000         * libspi/desktop.c
1001         * libspi/registry.c : changed to use bonobo_object instead of bonobo_x_object
1002             (since the two are now equivalent in libbonobo)
1003         * idl/Action.idl
1004         * idl/Component.idl
1005         * idl/Hyperlink.idl
1006         * idl/Image.idl
1007         * idl/Selection.idl
1008         * idl/Table.idl
1009         * idl/Text.idl
1010         * idl/Value.idl : changed these 'secondary' interfaces to inherit from
1011              Bonobo::Unknown as does Accessibility::Accessible.
1012         * idl/StreamableContent.idl : as above, and replaced internal InputStream
1013              interface with Bonobo::Stream, since it was redundant with it.
1014              (The Stream returned by a StreamableContext object is expected to
1015              implement only a subset of Bonobo::Stream)
1016
1017 2001-07-28  Anders Carlsson  <andersca@gnome.org>
1018
1019         * libspi/accessible.c (accessible_object_finalize): Change
1020           g_free to g_object_unref since the AtkObject is a GObject.
1021
1022 2001-07-30  Bill Haneman <bill.haneman@sun.com>
1023
1024         * idl/Accessibility.idl: add new IDL files
1025         
1026         Added:
1027         * idl/Action.idl: Definitions of actionable UI object
1028         * idl/Component.idl: Definitions of UI component geometry, etc.
1029         * idl/Hyperlink.idl: Defs of hyperlink behavior
1030         * idl/Image.idl: Def of accessible image
1031         * idl/Selection.idl: Definition of UI object with selectable children
1032         * idl/StreamableContent.idl: Definition of UI object with streamable backing data
1033         * idl/Table.idl: Definitions for access to table ('spreadsheet') elements
1034         * idl/Text.idl: Interface defs for UI elements with complex textual content
1035         * idl/Value.idl: Definition of UI element that is a value controller or display
1036         
1037 2001-07-27  Michael Meeks  <michael@ximian.com>
1038
1039         * po/Makefile.in.in: remove autogenerated file from CVS.
1040
1041         * libspi/Makefile.am: Radicaly re-vamp to simplify & add ORBit2
1042         type library.
1043
1044         * idl/Registry.idl: include guard.
1045
1046         * idl/Accessibility.idl: Add, and include all the other IDL
1047         files.
1048
1049         * idl/*.idl: remove mass of pragmas etc.
1050
1051 2001-07-26  Michael Meeks  <michael@ximian.com>
1052
1053         * registryd/Makefile.am (registryd_SOURCES): remove
1054         redundant at_.
1055
1056 2001-07-27  Mark McLoughlin <mark@skynet.ie>
1057
1058         * libspi/.cvsignore, registryd/.cvsignore,
1059           test/.cvsignore: updated.
1060
1061         * po/Makefile.in.in: gettext update.
1062
1063 2001-07-25  Bill Haneman <bill.haneman@sun.com>
1064
1065         * initial CVS checkin
1066
1067 2001-06-29  Michael Meeks  <michael@ximian.com>
1068
1069         * configure.in: add AM_CONFIG_HEADER to gen config.h
1070
1071         * acconfig.h: add.
1072