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